supermemory/packages/tools/test
rajashidattapy 5db9ceaba2 fix(tools): clear every type error under packages/tools/test
`claude-memory.ts` moved to src/ and five files in test/ kept importing
`./claude-memory`; the Mastra and AI-SDK fixtures drifted behind their
installed types. Together these left `bunx tsc --noEmit` unusable for the
package.

- repoint the five `./claude-memory` imports at `../src/claude-memory`
- add the `state` property Mastra now requires on ProcessInputArgs and
  ProcessOutputResultArgs (35 fixtures)
- add `totalTokens` to the two LanguageModelV2Usage fixtures and drop the
  `rawCall` property the type no longer has
- iterate with `.entries()` instead of indexing, which was tripping
  noUncheckedIndexedAccess once the files started resolving
- pass containerTag/customId through options in test-supermemory.ts, matching
  the current `withSupermemory` signature
- exclude test/chatapp: a standalone Next.js demo with its own package.json,
  lockfile and tsconfig that has no business in this package's program

Repointing the import also made test/claude-memory.test.ts loadable again, and
it turned out to be a live-API suite: gate it behind SUPERMEMORY_API_KEY the
same way the other integration suites are, so `vitest run` no longer collects
a dozen 401s.
2026-10-14 14:43:59 +05:30
..
ai-sdk-compat fix(tools): save AI SDK 7 images and keep provider peer optional (3.1.1) (#1796) 2026-10-12 13:39:50 -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 fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
with-supermemory fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
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 fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
claude-memory-commands.test.ts fix(tools): community fixes for 3.1.2 (#1798) 2026-10-12 16:23:11 -07:00
claude-memory-examples.ts fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
claude-memory-real-example.ts fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
claude-memory.test.ts fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
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 fix(tools): clear every type error under packages/tools/test 2026-10-14 14:43:59 +05:30
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