@supermemory/tools 3.0 moves every integration (Vercel AI SDK, OpenAI, Mastra, VoltAgent, Claude memory) to the v5 API through supermemory@5. The names changed to match: a namespace is what 2.x called a container tag.
One namespace per config
containerTags and projectId are gone. Pass one namespace, and every tool reads and writes only that namespace.
sm_project_default, so existing data is where it was. If you passed several tags, pick one: a v5 document lives in exactly one namespace.
v5 option names in withSupermemory
Behaviour changes
- Conversations are documents. The middlewares no longer call
/v4/conversations. Each conversation is one document whoseidis theidyou pass, so the same conversation keeps updating the same document. memoryForgetdropsreason. Forgetting bymemoryContentpreviews matching memories with a dry run, then forgets only exact text matches.getProfilereturns v5 entries,{ id, memory }instead of strings. Those ids work withmemoryForget.documentListreturns v5 documents; the status issystem.status.- No per-call scope.
getProfile,documentList,documentDeleteandmemoryForgetno longer accept acontainerTagargument. - VoltAgent search options use v5 shapes:
filtersbecomes typedfilter,rerankis"none" | "order" | "aggregate",searchMode: "documents"is"chunks", andentityContextissupportingContext. - Claude memory files written by 2.x under two tags are not migrated.
@supermemory/ai-sdk is retired
It was a re-export of @supermemory/tools/ai-sdk. Import from there instead.