mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-11 03:37:56 +00:00
Every integration (AI SDK, OpenAI, Mastra, VoltAgent, Claude memory) now calls v5 through `supermemory@5`. The config takes one `namespace` instead of `containerTags` or `projectId`, and `withSupermemory` takes `namespace` and `id` instead of `containerTag` and `customId`. No aliases. With no config the tools still use `sm_project_default`. Conversations are stored as one document per conversation keyed by `id` instead of `/v4/conversations`. `memoryForget` drops `reason`; forgetting by text previews with `forgetMatching` and then forgets exact matches by id. Claude memory marks its files with `metadata.source` instead of a second tag. Search keeps the 2.x defaults so results do not shift. `packages/ai-sdk` is removed: npm already deprecates it in favor of `@supermemory/tools/ai-sdk`, so its CI steps and playground wiring go too. `apps/sdk-playground` moves to the new tools API and v5 routes, including its Python server. Tested against production: add, search, profile, list and delete. 112 unit tests pass; type errors drop from 148 to 141, none new. The `supermemory` dependency pins the rc until 5.0.0 is published.
38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"name": "sdk-playground",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"portless": { "name": "sdk.dev.supermemory", "script": "dev:app" },
|
|
"scripts": {
|
|
"dev": "portless",
|
|
"dev:app": "bun run build:dependencies && concurrently -k -n tools,next,py -c yellow,blue,green \"bun run --cwd ../../packages/tools dev\" \"next dev --hostname 127.0.0.1 --port ${PORT:-3005}\" \"bun run dev:python\"",
|
|
"dev:next": "bun run build:dependencies && next dev --hostname 127.0.0.1 --port ${PORT:-3005}",
|
|
"dev:python": "cd python && uv run server.py",
|
|
"build:dependencies": "bun run --cwd ../../packages/tools build",
|
|
"build:app": "next build",
|
|
"build": "bun run build:dependencies && bun run build:app",
|
|
"start": "concurrently -k -n next,py -c blue,green \"next start --hostname 127.0.0.1 --port ${PORT:-3005}\" \"bun run dev:python\"",
|
|
"typegen": "next typegen",
|
|
"check-types:app": "bun run typegen && tsc --noEmit --incremental false",
|
|
"check-types": "bun run build:dependencies && bun run check-types:app"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai": "^2.0.22",
|
|
"@supermemory/tools": "workspace:*",
|
|
"ai": "^5.0.113",
|
|
"next": "^16.3.3",
|
|
"openai": "^4.104.0",
|
|
"react": "19.2.0",
|
|
"react-dom": "19.2.0",
|
|
"supermemory": "^5.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/postcss": "^4",
|
|
"@types/node": "^20",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"concurrently": "^9.1.2",
|
|
"tailwindcss": "^4",
|
|
"typescript": "^5"
|
|
}
|
|
}
|