Repository navigation
Releases
v0.2.15
v0.2.15 fixes Claude Code hook paths on Windows and adds self-hosted System One decision provider support to the Memory Agent backend.
Changes
mnemon setup --target claude-codeon Windows now writes hook commands as quoted forward-slash paths (for example"C:/Users/x/.claude/hooks/mnemon/prime.sh") so Git Bash does not strip backslashes and silently skip hooks. Other platforms are unchanged. #182- Added a
"systemone"provider kind ininternal/memoryagentalongside"jev"so AML deployments can use self-hosted or custom System One decision servers (such as Karpo Decision 31B or local Ollama) overPOST /v1/systemonewithout JEV model pinning, paid budget requirements, or mandatory API keys. #184
Install or update
npm install --global @mnemon-dev/mnemon@0.2.15
mnemon --versionExisting npm users can run mnemon update. Homebrew users can upgrade the mnemon-dev/tap/mnemon cask. Native archives below cover macOS, Linux, and Windows on amd64 and arm64 and include SHA-256 checksums.
For an existing Windows Claude Code setup, rerun mnemon setup --target claude-code in the scope where you installed the hooks.
Validation
- Linux and Windows CI passed on the release commit. CI run
- The release test, GoReleaser, and npm publish jobs passed. All six archive digests and four Homebrew cask checksums match
checksums.txt. The macOS arm64 archive reports version0.2.15. Release workflow - npm's
latesttag points to0.2.15and all seven tarballs are live. A fresh macOS arm64 npm install and the GitHub archive contain the same native binary.
v0.2.14
v0.2.14 adds Chinese localization to the Web knowledge workspace, introduces Alma setup, and fixes Pi and Windows Kimi Code hooks. It also ships the public snapshot of the optional Memory Agent and AML backend.
Changes
- Switch the Web knowledge workspace between English and Simplified Chinese. The workspace saves the selected language across reloads and tabs. #176
- Run
mnemon setup --target almato install the Alma integration. Itsapp.readyhook keeps the Mnemon section in Alma'sMEMORY.mdcurrent. #175 - Pi receives the Mnemon guide as a hidden context message once per session. Windows Kimi Code runs its hooks through Git Bash. #181 · #180
- Try the optional Memory Agent, records, and local service commands, which include the v0.3.4 AML evaluation engine snapshot. Memory service guide · #174
- The English and Chinese READMEs link to Mnemon's Cycle 2 Textual Memory result. #183
Install or update
npm install --global @mnemon-dev/mnemon@0.2.14
mnemon --versionExisting npm users can run mnemon update. Homebrew users can upgrade the mnemon-dev/tap/mnemon cask. Native archives below cover macOS, Linux, and Windows on amd64 and arm64 and include SHA-256 checksums.
For an existing Pi or Windows Kimi Code setup, rerun mnemon setup --target pi or mnemon setup --target kimi in the scope where you installed the hooks.
Validation
- Linux and Windows CI passed on the release commit. CI run
- The release test and GoReleaser jobs passed. The six archive digests and four Homebrew cask checksums match
checksums.txt. The macOS arm64 archive reports version0.2.14. Release workflow - npm's
latesttag points to0.2.14. A fresh macOS arm64 npm install and the GitHub archive contain the same native binary.
v0.2.13
v0.2.13 improves memory entity quality, Unicode display, and embedding diagnostics. Memory and the local Agency authority remain available in one mnemon executable.
Fixes
- Stop treating numeric versions, numeric addresses, dotted abbreviations, and ordinary emphasis words such as
NEVER,ONLY, andNOTEas entities. This reduces unrelated entity links while preserving technical names, domains, and file paths. Existing stored entities are not rewritten automatically. - Preserve UTF-8 characters when truncating CLI previews, including Chinese text and emoji.
- Read and emit the ZCode SessionStart guide as UTF-8 on Windows PowerShell, preventing corrupted non-ASCII context.
- Make
mnemon embed --statusverify that the selected model can produce a nonempty embedding. The legacyollama_availablefield continues to report provider reachability, whileembedding_availablereports model usability. - Print an actionable warning to stderr when query embedding fails and continue recall without vector similarity. JSON results remain on stdout.
- Label npm and GitHub downloads separately in both READMEs. The GitHub badge uses the native total across all release assets, including checksums, without a custom data branch or scheduled statistics workflow.
See PR #169, PR #171, PR #173, and PR #168.
Install or update
npm install --global @mnemon-dev/mnemon@0.2.13
mnemon --versionExisting npm-managed installations can also run mnemon update. Native archives are available for macOS, Linux, and Windows on amd64 and arm64, with SHA-256 checksums. Homebrew users can upgrade through the mnemon-dev/tap tap.
Windows ZCode users should refresh their installed user-level hooks after upgrading:
mnemon setup --target zcode --global --yesKeep any existing MNEMON_DATA_DIR override when rerunning setup. mnemon embed --status now performs a small synthetic embedding request to verify the selected model; it sends no stored memories and follows the configured provider's normal billing and timeout behavior.
Validation
- Product build and
make test, includinggo vet ./..., on the release source. - All 258 CLI end-to-end checks and 13 npm distribution tests passed.
- Fourteen actual CLI commands with an isolated store and a deterministic local embedding provider verified memory write/search/recall, entity filtering, Unicode output, healthy versus missing-model status, JSON-safe recall fallback, and Agency/Web command availability.
- Linux and native Windows CI passed on the release commit.
- All six GitHub archive digests match
checksums.txt; the Homebrew cask version and all four supported archive checksums match this release. - Downloaded macOS arm64 archive and freshly installed npm package contain identical native binaries. Both passed the actual CLI checks above; the downloaded binary also served the embedded Web workspace, its assets, and memory API successfully.
The release workflow completed successfully, including frontend checks, deterministic tests, six-platform builds, Homebrew publication, and npm publication.
v0.2.12
v0.2.12 fixes Pi memory guidance and Windows installation compatibility. Memory and the local Agency authority remain available in one mnemon executable.
Fixes
- Give Pi its own memory guide, allowing direct
mnemon rememberandmnemon linkcalls instead of injecting Claude-only delegation instructions. Pi and Claude setup, reinstall, and scoped removal preserve each other's guides. - Resolve Pi resources from the system home directory when Windows does not define
HOME, and honorPI_CODING_AGENT_DIRfor setup, detection, and removal. - Run status checks through native binaries and standard npm installation layouts on Windows without spawning a
.cmdshim. Preserve ordinary executable lookup and bound child-process runtime and output. - Discover only Mnemon's installed skill, avoiding missing-skill warnings for project-local installations.
- Update the README Star History chart with light/dark themes and a bottom-right legend.
See issue #164, PR #165, and PR #166.
Install or update
npm install --global @mnemon-dev/mnemon@0.2.12
mnemon --versionExisting npm-managed installations can also run mnemon update. Native archives are available for macOS, Linux, and Windows on amd64 and arm64, with SHA-256 checksums. Homebrew users can upgrade through the mnemon-dev/tap tap.
Pi users must refresh the installed integration after upgrading, using the same scope as the original installation:
# Project-local installation: run from the project directory.
mnemon setup --target pi --yes
# User-global installation:
mnemon setup --target pi --global --yesThen restart Pi or use /reload. Keep any existing PI_CODING_AGENT_DIR and MNEMON_DATA_DIR overrides when rerunning setup.
Validation
- Product build,
make test(includinggo vet ./...), 33 Pi callback/process regressions, and 13 npm distribution tooling tests on the merged release source. - Linux and native Windows CI on the merged release source.
- Before merging: actual Pi 1.3.0 sessions with isolated stores and a deterministic local provider verified global, project-local, and custom-directory installations, injected guidance, and real recall/remember commands. These checks do not evaluate an LLM's compliance with the guide and use no paid model calls.
- Native Windows Pi integration: 27 passing tests; six Unix-only cases skipped on Windows and passing locally. Coverage includes
HOMEunset, native and npm layouts, and original-asset controls. - Published macOS arm64 archive and npm package: verified archive checksum and identical native binaries; exercised version reporting, memory write/search/recall, Agency help, and the embedded Web workspace. The published binary also passed an actual Pi 1.3.0 session, and the installed npm launcher passed eight mixed Pi/Claude setup, reinstall, and scoped-removal scenarios.
The release workflow completed successfully, including frontend checks, deterministic tests, six-platform builds, Homebrew publication, and npm publication.
v0.2.11
v0.2.11 adds a local, read-only WebUI for exploring Mnemon memories and reduces false recall matches caused by common words accumulating as entities. Memory and the local Agency authority remain available in one mnemon executable.
New: local memory workspace
- Run
mnemon webto browse an overview, searchable and filterable memory library, Markdown reader, interactive relationship graph, entity explorer, and activity history. Store-scoped URLs preserve navigation and filters; views support manual refresh and visible-tab polling. - Use the official Mnemon logo, locally bundled Space Grotesk typography, and graphite/silver themes. Appearance follows the system or persists a light/dark choice across tabs.
- Read committed SQLite WAL updates through dedicated read-only connections without changing memory content, access counters, retention scores, operation logs, or the CLI's active store. Request-owned snapshots keep each response consistent.
- Bundle frontend scripts, fonts, and production assets in the existing executable. Browsing requires no separate frontend service or model calls. The server binds to loopback and enforces same-origin, read-only API access, bounded queries, and safe Markdown rendering.
See the workspace guide and PR #163.
Recall and compatibility fixes
- Exclude entities attached to more than
max(20, 1% of active memories)memories from the known-entity expansion filter. This reduces automatic propagation of ordinary words and unrelated matches through entity overlap. Strict regex and dictionary extraction, and explicit entity handling, retain their existing behavior. Historical entities and relationship edges are preserved. See PR #160. - Correct Windows drive-letter handling in the live read-only SQLite URI and use portable path-escaping test fixtures.
Install or update
npm install --global @mnemon-dev/mnemon@0.2.11
mnemon --version
mnemon webOpen http://127.0.0.1:8484. Keep the WebUI local; this release does not add remote/team authentication or memory editing.
Existing npm-managed installations can also run mnemon update. Native archives are available below for macOS, Linux, and Windows on amd64 and arm64, with SHA-256 checksums. Homebrew users can upgrade through the mnemon-dev/tap tap.
Validation
- Frontend typechecking, 49 frontend tests, production rebuild, and committed asset parity.
go build -o mnemon .,make test(includinggo vet ./...), and the Web server lifecycle integration test.- 13 npm distribution tooling tests, plus Linux and native Windows CI on the merged release source.
v0.2.10
v0.2.10 improves Memory retrieval performance, storage efficiency, and OpenCode/Windows integrations. Memory and the local Agency authority remain available in one mnemon binary.
Changes
- Speed up ordered Memory queries and bounded graph neighborhoods with targeted indexes and local traversal. Reduce keyword/vector recall allocations, reuse exact cosine scores and vector decode buffers, bound semantic candidate selection, and reuse insert statements within transactions.
- Rank graph transitions by intent and similarity before applying the visit budget, preserving high-relevance neighbors. Reuse caller-loaded records and ranked neighborhoods during recall, with covering edge indexes and candidate-scoped supersession lookups.
- Keep Ollama embedding models loaded for 30 minutes by default; configure the duration with
MNEMON_EMBED_KEEP_ALIVE. - Add
mnemon gc --compactfor database compaction, including explicit handling of busy checkpoints. - Support the OpenCode v2 plugin lifecycle and OpenCode v1.18.29 or newer.
- Fix UTF-8 input handling in ZCode's Windows hooks and suppress extra native CLI console windows in npm-managed Windows installations.
Performance
The committed benchmark compares the optimized Memory implementation with the preceding master revision, using five alternating runs at N=1/10/100/1,000/10,000. At N=10,000, median hybrid-recall CPU time improved from 93.06 ms to 66.53 ms and cumulative allocation fell by 37.7%; atomic batch-insert CPU time improved from 524.33 ms to 431.60 ms. These are synthetic local measurements, with small-input tradeoffs documented alongside the gains. Exact vector search remains exact.
See the full analysis and raw samples and 中文报告.
Install or update
npm install --global @mnemon-dev/mnemon@0.2.10
mnemon --versionExisting npm-managed installations can also run mnemon update. Native archives are available below for macOS, Linux, and Windows on amd64 and arm64, with SHA-256 checksums. Homebrew users can upgrade through the mnemon-dev/tap tap.
To refresh existing OpenCode or ZCode integrations, rerun mnemon setup for that target with the original project/global scope, then restart the host application. Updating the binary alone does not replace previously installed hooks.
v0.2.9
v0.2.9 improves memory corrections, multilingual recall, and installation reliability. Memory and the local Agency authority remain available in one mnemon binary.
Changes
- Add directed
supersedeslinks so a correction can demote an older insight during recall while preserving its history. Support the relation in import, related queries, and brief recall output. - Preserve distinct facts during writes and imports. Diagnose negated restatements as conflicts instead of silently treating them as duplicates.
- Recognize recall intent across additional languages.
- Honor proxy environment variables for remote embedding endpoints while keeping loopback connections direct.
- Generate Homebrew casks with
postflight_stepsto eliminate the deprecatedpostflightwarning.
Install or update
npm install --global @mnemon-dev/mnemon@0.2.9
mnemon --versionExisting npm-managed installations can also run mnemon update.
Native archives are available below for macOS, Linux, and Windows on amd64 and arm64, with SHA-256 checksums. Homebrew users can upgrade through the mnemon-dev/tap tap.
v0.2.8
v0.2.7
v0.2.7 fixes --readonly recall on Windows and when using a relative --data-dir path.
Fixed
- Resolve and encode SQLite file URI paths correctly, including Windows drive letters, spaces, Unicode,
#, and%. This resolves the misleadingSQL logic error: out of memory (1)failure in #123. - Preserve the readonly snapshot contract: database writes remain rejected, recall counters and oplog stay unchanged, and no WAL/SHM sidecars are created. There is no fallback to a writable connection and no database schema or file-format change.
The fix is included in PR #125, with native Windows and Linux CI coverage.
--readonly still assumes an immutable, static snapshot. It should not be used to follow a database that another process is actively changing.
Downloads
Archives are available below for macOS, Linux, and Windows, each on amd64 and arm64. Verify the download against checksums.txt. Existing Homebrew Cask users can update with brew upgrade --cask mnemon.
Verification
- Linux and native Windows CI passed for release commit
aab97af8002bf0c8ac18d88da64293e41c9eb121. - The release workflow passed, publishing all six platform archives and updating Homebrew.
- All archive SHA-256 values and binary CPU architectures were checked. The published macOS arm64 binary passed readonly query, rejected-write, and readonly-permission smoke tests without changing database bytes or creating sidecars.
Changelog
v0.2.6
v0.2.6 ships Mnemon Memory and the local Agency authority in one mnemon binary.
Changelog
- ad4def1 feat(embed): support OpenAI-compatible embedding servers
- f4bf7c3 fix(embed): finish provider-neutral embedding support
- 25b69f9 fix(memory): enforce readonly mode across writes
- 71c067a fix(memory): make auto-prune observable and age-safe
- fc531d9 fix(package): align Apache license metadata
- 76f8399 fix: emit structured JSON from Codex context hooks
- 8aa1553 test(embed): cover OpenAI dimension override