supermemory/packages/tools/src
MaheshtheDev e4afc770be
Some checks failed
Publish Tools / publish (push) Has been cancelled
feat(tools): apiKey option, type re-exports, and two reliability fixes (#1594)
Cherry-picks four contributor PRs for `@supermemory/tools` onto one branch, and bumps the package to 2.2.0.

- #1244 (@rajarshidattapy): `withSupermemory` accepts `options.apiKey` instead of only reading `SUPERMEMORY_API_KEY`, matching the Vercel, Mastra and Voltagent integrations. Unblocks secrets managers, edge runtimes and per-request keys.
- #1574 (@Agnik47): re-exports `PromptTemplate`, `MemoryPromptData` and `WithSupermemoryOptions` from `ai-sdk`. `./vercel` is not a published subpath, so the documented custom-template example did not compile.
- #1488 (@abhinav7x94): malformed tool-call JSON returns an error result instead of throwing out of the request.
- #1507 (@abhinav7x94): VoltAgent `onEnd` awaits the conversation save, which was fire-and-forget and could be dropped when a serverless runtime tore down.

Dropped the `middleware.test.ts` added by #1244. Note that editing `packages/tools/package.json` triggers the npm publish workflow on merge.

Co-Authored-By: rajarshidattapy <138959719+rajarshidattapy@users.noreply.github.com>
Co-Authored-By: Agnik47 <140933190+Agnik47@users.noreply.github.com>
Co-Authored-By: abhinav7x94 <204053250+abhinav7x94@users.noreply.github.com>
2026-08-24 22:39:55 +00:00
..
mastra mastra object structure udpates (#881) 2026-04-24 23:47:46 +00:00
openai feat(tools): apiKey option, type re-exports, and two reliability fixes (#1594) 2026-08-24 22:39:55 +00:00
shared fix(tools): bound memory forget requests (#1451) 2026-08-13 19:11:00 +05:30
vercel fix(tools,validation): persist tool-call turns in conversation memory & tidy search thresholds (#1211) 2026-07-10 18:54:56 -07:00
voltagent feat(tools): apiKey option, type re-exports, and two reliability fixes (#1594) 2026-08-24 22:39:55 +00:00
ai-sdk.ts feat(tools): apiKey option, type re-exports, and two reliability fixes (#1594) 2026-08-24 22:39:55 +00:00
claude-memory-simple-example.ts feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
claude-memory.test.ts fix(tools): make claude-memory file operations act on the exact file, literally (#1285) 2026-07-17 18:24:09 +05:30
claude-memory.ts fix(tools): make claude-memory file operations act on the exact file, literally (#1285) 2026-07-17 18:24:09 +05:30
conversations-client.ts voltagent-sdk (#791) 2026-04-14 20:22:46 +00:00
index.ts voltagent-sdk (#791) 2026-04-14 20:22:46 +00:00
mastra.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
tool-operations.test.ts fix(tools): bound memory forget requests (#1451) 2026-08-13 19:11:00 +05:30
tools-shared.test.ts fix(middleware): update deduplication logic for profile memories in query mode (#1243) 2026-07-21 19:25:32 +05:30
tools-shared.ts fix(middleware): update deduplication logic for profile memories in query mode (#1243) 2026-07-21 19:25:32 +05:30
tools.test.ts fix(tools): repair SDK call mismatches that broke five tools (#1186) 2026-07-10 18:30:41 -07:00
types.ts feat: tools package strict mode for openai models (#699) 2026-01-23 03:15:39 +00:00