mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-06 08:16:03 +00:00
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> |
||
|---|---|---|
| .. | ||
| chatapp | ||
| mastra | ||
| with-supermemory | ||
| ai-sdk-test.ts | ||
| anthropic-example.ts | ||
| claude-memory-examples.ts | ||
| claude-memory-real-example.ts | ||
| claude-memory.test.ts | ||
| openai-middleware.unit.test.ts | ||
| openai-responses-test.ts | ||
| test-memory-tool.ts | ||
| voltagent.unit.test.ts | ||