supermemory/packages/tools/test
rajashidattapy 81f1f5ccf1 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-02 18:35:07 -07:00
..
chatapp fix(chatapp): patch high severity transitive dependencies (#1723) 2026-09-29 15:28:16 -07:00
mastra fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
with-supermemory fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
ai-sdk-test.ts custom id implementation (#877) 2026-04-24 23:43:16 +00:00
anthropic-example.ts fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
claude-memory-commands.test.ts fix(tools): handle the memory tool commands Claude actually sends 2026-10-02 18:35:07 -07:00
claude-memory-examples.ts fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
claude-memory-real-example.ts fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
claude-memory.test.ts fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
openai-middleware.unit.test.ts feat(tools): SDK-level cross-source memory deduplication (#1531) 2026-09-01 06:10:36 +00:00
openai-responses-test.ts updated typescript and python sdk (#878) 2026-04-25 01:43:13 +00:00
test-memory-tool.ts fix(tools): clear every type error under packages/tools/test 2026-10-02 18:35:07 -07:00
voltagent.unit.test.ts feat(tools): SDK-level cross-source memory deduplication (#1531) 2026-09-01 06:10:36 +00:00