supermemory/packages/tools/test/with-supermemory
Dhravya Shah 7fa452b6b8 feat(tools): SDK-level cross-source memory deduplication
Move profile deduplication into the SDK middleware. Facts are normalized
(strip leading date, trim, collapse whitespace, casefold) and deduplicated
in static > dynamic > search priority within each request, then injected as
one owned <supermemory> block that replaces the previous block instead of
accumulating. Dedup is mode-aware so query-mode search results are not
dropped against an omitted profile. No global/browser Set: request-local
only, safe for concurrent requests and Cloudflare Workers.

Covers AI SDK, OpenAI Chat/Responses, Mastra, and VoltAgent.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-24 20:31:15 +05:30
..
conversation-conversion.test.ts fix(tools,validation): persist tool-call turns in conversation memory & tidy search thresholds (#1211) 2026-07-10 18:54:56 -07:00
integration.test.ts custom id implementation (#877) 2026-04-24 23:43:16 +00:00
unit.test.ts feat(tools): SDK-level cross-source memory deduplication 2026-08-24 20:31:15 +05:30