Changelog

What's New?

Selected releases and updates from the ZenSation ecosystem.

Complete list of every ZenBrain version: CHANGELOG on GitHub ↗

ZenBrainv0.7.0

Recall reports a storage it cannot read

  • All six @zensation packages updated: core 0.7.0, algorithms 0.6.2, adapter-postgres 0.2.10, adapter-sqlite 0.2.9, mcp 0.3.3, ai-sdk 0.4.1
  • Breaking in core 0.7.0: recall() throws an AggregateError when a layer cannot read the storage. Up to 0.6.1 a store that could not be read looked like one in which nothing matched. A failing embedding provider is still tolerated
  • adapter-sqlite, adapter-postgres and ai-sdk admit core 0.7 in their peer ranges and move with it; ai-sdk catches the new error (its onError sees it), and the MCP server returns it as the tool's error
  • core: two different core memories whose labels collide no longer overwrite each other; on SQLite, Episode.metadata comes back as an object
  • adapter-sqlite: transaction() makes queries from elsewhere wait until the transaction has ended; new option busyTimeoutMs; needs Node 22.14 or newer (23.6 on Node 23) and stops with a message below that
  • adapter-postgres: a connection that dies while in use no longer ends the Node process
  • ai-sdk: in a call with tool steps the user's turn is stored once instead of after every step
  • mcp 0.3.3: zenbrain_recall reports a locked store as an error; Node 23.0 to 23.5 is refused like 22.0 to 22.13
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.6.3

The MCP server creates no file without a store

  • Only @zensation/mcp gets a new version (0.3.2); the other packages stay at the versions of earlier releases
  • Without a store, starting the server and the read-only tools create no file
  • New: createZenBrainServer takes an optional checkStorage callback that runs before each tool; the server uses it to report a store it cannot open
  • New CI jobs: mcp-windows-macos builds and tests the package on Windows and macOS with Node 22, 24 and 26; node-floor checks the Node 22.14 floor
  • mcp 0.3.2 requires Node 22.14 or newer
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.6.2

New READMEs and type declarations, the code stays the same

  • Only @zensation/algorithms and @zensation/core get a new version, both 0.6.1; `src`, every JavaScript file and every source map are byte-identical to 0.6.0
  • tsup 9 instead of tsup 8 builds the type declarations; all 42 entry points of algorithms and all 18 of core export the same names as before
  • The READMEs name Node.js 22 as a requirement and say what npm installs on Node 20 (core 0.2.2 with algorithms 0.3.4); the core Quick Start finds a match without an embedding provider
  • README and FAQ count the architecture as version 9 of the paper does: seven memory layers, a MemoryCoordinator and nine foundational algorithms, plus six PMA components
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.6.1

Tool titles and a store path that holds

  • Only @zensation/mcp is new, at 0.3.1; algorithms and core stay at 0.6.0, adapter-postgres 0.2.9, adapter-sqlite 0.2.8, ai-sdk 0.4.0
  • Each of the five tools now carries its title in the MCP annotations as well, so clients that show annotations see a readable name
  • When ZENBRAIN_DB arrives as an unfilled placeholder such as ${user_config.db_path}, the server uses ~/.zenbrain/memory.db and says so on stderr; 0.3.0 created a file of that name in the start directory
  • The package README says which tools only read and which delete, and shows the route through the Claude Code plugin
  • 948 tests (as of v0.6.1); README and FAQ name the version with every test count, and CI checks it
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.6.0

Forgetting follows consolidation

  • All six @zensation packages updated: algorithms and core 0.6.0, adapter-postgres 0.2.9, adapter-sqlite 0.2.8, mcp 0.3.0, ai-sdk 0.4.0
  • forget() now also deletes what consolidation linked to a memory: forgetting an episode deletes the fact made from it, forgetting such a fact deletes the episodes it was made from. In 0.5.x the fact outlived its episode and the content stayed retrievable. { cascade: false } keeps the old behaviour; zenbrain_forget lists what went with it
  • One score from 0 to 1 in every layer: a procedure that matches nothing now scores 0 instead of its success rate, and recall({ minScore }) leaves such fallbacks out
  • ai-sdk 0.4.0 injects only memories that score above 0, and a stream aborted through abortSignal keeps the user's turn but not the half answer
  • An emotional weight given for a fact stretches its first review interval; hopfieldRecall defaults to β = 16, set after a measurement
  • 945 tests; each change comes with a test that fails without it, the memory changes on SQLite and on PostgreSQL
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.5.2

414 claims checked against the code

  • All six @zensation packages updated: algorithms and core 0.5.2, adapter-postgres 0.2.8, adapter-sqlite 0.2.7, mcp 0.2.2, ai-sdk 0.3.1
  • 414 claims made by the packages and their documentation checked against the code. Where the code did something else, it is fixed, each bug with a test that fails on 0.5.1: working memory, recall deduplication, eight algorithms, the PostgreSQL adapter's connection retries, the cross-context layer. Where a text promised more, it now says what the code does
  • Inputs outside their documented range now throw a RangeError in Hebbian learning, working memory, store(), initFromSM2, the ib-budget functions and recordReview(), instead of being stored or computed on silently
  • Three new CI checks keep the documentation's code blocks, the examples and the test counts true (902 tests)
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.5.1

Five MCP tools, described as five

  • Corrections only, no code changed: @zensation/mcp 0.2.1 names forget in its npm description; @zensation/core and @zensation/algorithms 0.5.1 list all five MCP tools in their READMEs
  • Security policy: 0.5.x is the current line; 0.4.x and 0.3.x receive security fixes until 31 December 2026
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.5.0

Forgetting by id and an honest README

  • Forgetting by id: every recall result carries its id, forget(id, layer) deletes exactly that memory; new MCP tool zenbrain_forget
  • includeContext and taskType withdrawn: no store path ever wrote a context, so the options could not do anything
  • RecallOptions.core: 'matching' admits only core blocks that share a content word with the query
  • ai-sdk: shouldStore decides per turn whether to store, role sets the role memories reach the model with
  • PostgreSQL with pgvector now runs in CI; its first run found that procedures could not be stored on PostgreSQL, fixed
  • The README separates what the coordinator does on its own from what the algorithm library offers as functions
ZenBrainv0.4.10

The 0.4 line: MCP server, AI SDK middleware, two review rounds

  • Late August, two integration packages: @zensation/mcp (an MCP server for any MCP client) and @zensation/ai-sdk (middleware for the AI SDK)
  • v0.4.8: recall without an embedding provider ranks lexically instead of answering every query with the same rows; every consolidation pass promoted the same episodes again, now once per episode; core memory now writable on SQLite
  • v0.4.9: findings of a package audit fixed; InMemoryStorage withdrawn from the public API, FSRS-style functions reject invalid input, types and require() across all packages
  • v0.4.10: security fix in the Postgres adapter (schema name in search_path)
  • Every version is in the CHANGELOG on GitHub
ZenBrainv0.4.0

Node 22 as an honest minimum

  • No runtime code changed: the packages now require Node.js 22 or newer; the previous >=18 was never accurate, the effective floor was already Node 20
  • @zensation/adapter-sqlite moves to better-sqlite3 13 (N-API, prebuilt binaries across Node versions)
  • Adapter peer ranges widened so that @zensation/core 0.3 fits
  • Addendum of 23 November 2026: With better-sqlite3 13, that is from adapter-sqlite 0.2.0 on, the effective floor for adapter-sqlite is Node 22.14 (23.6 on Node 23). Its engines have stated it since adapter-sqlite 0.2.9 (release v0.7.0).
ZenBrainv0.3.5

Storage adapters on npm

  • @zensation/adapter-sqlite and @zensation/adapter-postgres now published to npm (0.1.0); the README had listed them as ready while they could not be installed
  • SQLite path through the MemoryCoordinator repaired: five defects that no integration check had caught, each reproduced on realistic data and fixed
  • New coordinator↔adapter integration tests, one for each of those defects
ZenBrainv0.3.0

Benchmarks & Hardening — the 0.3 line

  • @zensation/algorithms expanded and hardened (npm 0.3.x); @zensation/core updated to 0.2.2
  • Benchmark suite completed: LoCoMo and LongMemEval vs. Mem0, Letta, and A-Mem
  • Results documented in the open-access preprint (arXiv 2604.23878, Zenodo DOI)
  • Zero dependencies and Apache 2.0 license unchanged
ZenBrainv0.2.1

Patch Release — Stability & Compatibility

  • Improved TypeScript strict-mode compatibility across all algorithm exports
  • Minor fixes to numeric edge cases in Hebbian weight normalization
  • Updated peer dependency ranges for broader ecosystem compatibility
  • All 276 tests passing, zero regressions
ZenBrainv0.2.0

MemoryCoordinator + Sleep Consolidation

  • MemoryCoordinator orchestrates all 7 layers (store, recall, consolidate, decay, review)
  • Sleep Consolidation: Memory replay simulation (Stickgold & Walker 2013)
  • 95% confidence intervals for all probabilistic outputs
  • Retention curve visualization for Ebbinghaus curves
  • Tests: 153 to 276 (+80%)
  • Numeric stability: epsilon guards in Hebbian, logger parameters
  • 7 new docs: CONTRIBUTING, CoC, SECURITY, ROADMAP, FAQ, Benchmarks, API Reference
ZenBrainv0.1.0

ZenBrain Open Source Launch

  • @zensation/algorithms@0.1.0: 9 foundational algorithms, zero dependencies
  • @zensation/core@0.1.0: 7 memory layer implementations
  • @zensation/adapter-postgres: PostgreSQL + pgvector (Preview)
  • @zensation/adapter-sqlite: SQLite zero-config (Preview)
  • Apache 2.0 license — free forever
  • GitHub repository: github.com/zensation-ai/zenbrain
  • Zenodo DOI: 10.5281/zenodo.19353663 (technical paper)
  • HuggingFace Model Card: zensation-ai/zenbrain
  • 153 tests, TypeScript, zero dependencies