supermemory/packages/tools/test
Dhravya Shah 2fa2e0d85c 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-18 08:13:47 -07:00
..
chatapp updated typescript and python sdk (#878) 2026-04-25 01:43:13 +00:00
mastra feat(tools): SDK-level cross-source memory deduplication 2026-08-18 08:13:47 -07:00
with-supermemory feat(tools): SDK-level cross-source memory deduplication 2026-08-18 08:13:47 -07:00
ai-sdk-test.ts custom id implementation (#877) 2026-04-24 23:43:16 +00:00
anthropic-example.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
claude-memory-examples.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
claude-memory-real-example.ts create lobbyside (#874) 2026-04-21 20:06:51 +00:00
claude-memory.test.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
openai-middleware.unit.test.ts feat(tools): SDK-level cross-source memory deduplication 2026-08-18 08:13:47 -07:00
openai-responses-test.ts updated typescript and python sdk (#878) 2026-04-25 01:43:13 +00:00
test-memory-tool.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
voltagent.unit.test.ts feat(tools): SDK-level cross-source memory deduplication 2026-08-18 08:13:47 -07:00