supermemory/packages/tools/test
Mahesh Sanikommu 157203ff18 fix(tools): save AI SDK 7 images and keep provider peer optional (3.1.1)
AI SDK 7 wraps file data as { type: "data" | "url" } and allows a bare "image" media type. The middleware only read the old shape, so image-only turns were not saved and mixed turns lost their images.

@ai-sdk/provider was a required peer, so npm installed provider 4 (Node 22 only) in AI SDK 5 and 6 apps. It is now optional, so apps keep the provider their ai version uses.

test:compat now checks that both image turns are saved and that the installed provider major matches the one ai depends on.
2026-10-12 08:58:39 -07:00
..
ai-sdk-compat fix(tools): save AI SDK 7 images and keep provider peer optional (3.1.1) 2026-10-12 08:58:39 -07:00
chatapp feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
mastra feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
with-supermemory feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
ai-sdk-test.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
anthropic-example.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
claude-memory-examples.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
claude-memory-real-example.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
claude-memory.test.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
openai-middleware.unit.test.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
openai-responses-test.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
test-memory-tool.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
v5-fetch.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00
voltagent.unit.test.ts feat(tools)!: @supermemory/tools 3.0 on the v5 API, retire @supermemory/ai-sdk (#1773) 2026-10-06 17:03:47 +00:00