Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Changelog
All notable changes to the TypeScript SDK are documented here. The SDK versions independently of the ai-memory server.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
Fixed
Pinned TypeDoc's transitive
minimatchto 11.0.3, which fixes GHSA-g3hv-75wg-m249 while preserving the generated API documentation on Node 22 and 24.Capability initialization is owned by the client rather than its first caller. Concurrent callers now wait with independent abort signals and deadlines; cancelling one does not fail or delay the others. (#1815)
Initialized the MCP session before the first
callTool, so raw tool calls work with--http-statefulwithout a preceding wrapped call. Raw calls still skiptools/listand schema checks. (#1816)
Added
Decoded optional query-answer context admission receipts as
answerContext(#1684).querytakes the server'smemory_querypage filters:kind,tier,pathPrefixandtag, in every search mode.messages.poptakesagent, the harness claiming harness-addressed mail, andMessagecarriestoAgent(nullfor shared project mail), matching the server's newto_agentaddressing.pages.readtakesmaxChars, andPagecarriestruncatedandtotalChars, matching the server's newmemory_read_pagesize cap. Both areundefinedagainst a server that predates it. The documentedobservationsdefaults are now 20 rows of 1000 characters.
[0.1.0]
Added
- First release (unpublished; build from a checkout).
AiMemoryClientwraps the page, query, status, handoff, recent, message, briefing, explore, session-observation and feedback tools, plus the read-only/api/v1routes with cursor paging andETagrevalidation,GET /identityand capability probing.pages.updateis a read-modify-write helper guarded byexpectedPageId.AdminClient(fromai-memory-ts/admin) lists checkpoints, restores pages and purges sessions or projects, with dry runs by default. Requires ai-memory 3.0.0 or newer and Node 22 or newer. (#1165)