mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-11 03:37:56 +00:00
`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. |
||
|---|---|---|
| .. | ||
| chatapp | ||
| mastra | ||
| with-supermemory | ||
| ai-sdk-test.ts | ||
| anthropic-example.ts | ||
| claude-memory-commands.test.ts | ||
| claude-memory-examples.ts | ||
| claude-memory-real-example.ts | ||
| claude-memory.test.ts | ||
| openai-middleware.unit.test.ts | ||
| openai-responses-test.ts | ||
| test-memory-tool.ts | ||
| voltagent.unit.test.ts | ||