supermemory/packages
Agnik47 444b4f1698 fix(tools): keep the forget-memory timeout when a caller passes a signal
`forgetMemoryRequest` combined the caller's signal and the 30s abort with
`??`, making them mutually exclusive. Passing a cancellation signal removed
the timeout, so a hung `DELETE /v4/memories` could wedge the tool call again
— the exact condition #1451 set out to remove. There was also no way for a
caller to ask for both cancellation and a timeout.

Compose the two with `AbortSignal.any` instead of choosing between them.
`AbortSignal.any` is available in Node 20.3+, Bun and workerd.

No production call site passes `options` today (`ai-sdk.ts` and
`openai/tools.ts` both omit it), so this was latent rather than live.

The existing test asserted the buggy behaviour (`init.signal` being the
caller's own signal), so it is replaced by two tests that pin the composed
semantics: aborting the caller aborts the request, and the timeout leg still
aborts the request on its own. Both fail against the previous implementation.

Fixes #1549
2026-10-02 18:35:07 -07:00
..
agent-framework-python feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00
ai-sdk fix(auth): upgrade Better Auth to patched 1.7.6 (#1719) 2026-10-02 17:05:13 -07:00
cartesia-sdk-python feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00
docs-test docs: restructure documentation site and update integration UI (#1331) 2026-07-21 20:19:30 -07:00
hooks fix: add type checks for TypeScript workspaces (#1447) 2026-08-13 17:55:50 +05:30
lib fix(auth): upgrade Better Auth to patched 1.7.6 (#1719) 2026-10-02 17:05:13 -07:00
livekit-sdk-python feat(livekit): add persistent memory for LiveKit Agents (#1702) 2026-10-01 15:26:35 -07:00
memory-graph fix(auth): upgrade Better Auth to patched 1.7.6 (#1719) 2026-10-02 17:05:13 -07:00
openai-sdk-python fix(python-sdk): patch vulnerable async and tooling dependencies (#1720) 2026-09-29 15:26:59 -07:00
pipecat-sdk-python feat(python-sdks): SDK-level cross-source memory deduplication (#1532) 2026-09-01 06:10:36 +00:00
tools fix(tools): keep the forget-memory timeout when a caller passes a signal 2026-10-02 18:35:07 -07:00
ui fix(ui): remove the unused, broken AnonymousAuth component (#1555) 2026-08-19 19:22:17 +05:30
validation fix(mcp): bound tool inputs and scope get_document to the active space (#1593) 2026-08-24 21:36:04 +00:00