Critical fixes
- macOS: the observer finds your Claude login again (#6598, thanks @AlkaidSTART). The macOS keychain can hold two "Claude Code-credentials" items, one under your user name and one under
claude-code-user, and only one of them may carry the live login. claude-mem read a single account, so the observer reported "Not logged in" and capture stopped. It now checks$USERfirst (as Claude Code does), falls back to the other account when the first one has no usable login, and treatssecurityexit code 44 as "not found" on every macOS language. - Hooks work right after a
/pluginupdate (#6597, thanks @AlkaidSTART). After updating through/pluginand/reload-plugins, every hook could fail withExecutable not found in $PATH: "claude-mem"until Claude Code was restarted, because the launcher self-heal ran only on a fresh start. It now also runs on resume,/clearand/compact. When the launcher is already in place it does nothing. - A backup restore can no longer lose a write made during the restore (#6609, thanks @ZedingZhang). On macOS and Linux, a commit from another process between the safety copy and the database swap was lost. The restore now holds an exclusive SQLite lock from the checkpoint until the swap is done.
- A restore stops when its checkpoint helper fails unexpectedly (#6611, thanks @ZedingZhang). An unexpected exit from the checkpoint helper was reported as a successful restore, which could reuse observation IDs. The restore is now refused, the live rows are kept and the staging files are removed. Busy, locked and damaged-database results still follow their existing paths.
Fixes
- Auto-update:
- Open sessions no longer tell you to run
npx claude-mem restartwhile an automatic update is restarting the worker (#6599, thanks @AlkaidSTART). - When the update supervisor never starts,
doctorshows the manual update command for the promoted version (#6632, thanks @Golden007-prog). - A leftover
CAPTURE_BROKENmarker is cleared once the worker passes its readiness check (#6639, thanks @zhangkom).
- Open sessions no longer tell you to run
- Cloud Sync and setup:
- A TeamBrain seat can run
claude-mem sync setupand import its workspace prompts (#6621, thanks @Screddyice). - Setup records the account's plan when it connects through Cloud Sync, so complimentary Pro and TeamBrain seat installs are no longer treated as free (#6620, thanks @Screddyice).
- Setup no longer sits at 98% for up to 20 minutes. It waits at most three minutes, then moves on while My Work keeps refreshing in the background (#6618, thanks @Screddyice).
- A 402 or 403 from cmem.ai during "Bring your existing memory" now shows the server's reason and a link to your account instead of "try again" (#6617, thanks @AlkaidSTART).
- A TeamBrain seat can run
- Search finds exact matches again with Chroma on (#6602, thanks @shaojunying). Relevance search ranked by Chroma alone, so an observation holding the exact identifier you searched for could fall off the page. Chroma and keyword results are now merged by reciprocal rank fusion, as the server runtime already does.
- Observer cost and output:
- Field condensing on the Claude provider can be capped with
CLAUDE_MEM_FIELD_CONDENSE_MAX_THINKING_TOKENSandCLAUDE_MEM_FIELD_CONDENSE_MAX_REPLY_CHARS(both off by default). A capped reply falls back to head and tail trimming without a CLI retry (#6600, thanks @AlkaidSTART). - Observer sessions have a fixed title, so Claude Code no longer makes an extra request to name each one (#6624, thanks @harpreetkbadhan).
- Small observer models no longer copy
**title**:-style labels into stored titles, subtitles and narratives (#6638, thanks @SajjadPSavoji). - A summary model the endpoint refused is reported instead of silently dropped (#6612, thanks @shuhuNB515).
- Field condensing on the Claude provider can be capped with
- Privacy: a fully private turn's tool output no longer reaches the observer (#6563, thanks @shuhuNB515). Such a turn saved no prompt row, so its tool uses were checked against the previous public prompt. Private turns now have their own marker, outside the prompts table.
- Token totals are no longer double counted when one turn stores several observations; the turn's tokens are now split across them (#6567, thanks @vinirib).
- Worker port (thanks @shuhuNB515 unless noted):
- An invalid
CLAUDE_MEM_WORKER_PORTis refused with a clear error instead of producing127.0.0.1:NaN(#6557). - The worker port can no longer be changed from the viewer, which used to start a second worker on the same database. Set it in
settings.json(#6564). - The OpenClaw installer (#6562), the sync recovery CLI (#6556, thanks @KhadeerBasha1232) and the Cowork links (#6527, thanks @zhangkom; #6575) use the configured port instead of 37777 or 37700.
- An invalid
- Queue: a parked batch no longer takes live-buffer space, so later events in that session are not dropped (#6554, thanks @shuhuNB515).
- Backup settings edited by hand keep the same limits the settings screen enforces (#6565, thanks @shuhuNB515).
- My Work:
- A review answer with an empty "landed" entry, or a first review the retry left out, no longer fails the refresh (#6570, thanks @0xABCD01; #6596, thanks @AlkaidSTART).
- A story with more than 30 preferences keeps the strongest 30 on retry instead of failing (#6569, thanks @seonwooj0810).
- One unreadable conversation key no longer blanks the whole page (#6606, thanks @shuhuNB515).
- Dates: a few hundred older rows stored in seconds no longer show as January 1970 in the viewer, the knowledge corpus and other readers (#6577, #6578, thanks @shuhuNB515).
- Faster worker start on large stores: worktree adoption no longer re-reads every adopted document from Chroma at each start (#6466, thanks @JuanRdBO).
- Windows: transcript watching finds existing tailers and avoids full rescans (#6574, thanks @Mengzeovo);
doctorskips quoted npx PATH entries (#6636, thanks @Boulea7); smart-read checks that a tree-sitter binary exists (#6614, thanks @shuhuNB515). - OpenCode: the host model is read from every OpenCode config location with the usual precedence, and an unreadable file is named (#6523, thanks @maxmad64bis); invalid claude-mem tool calls get schema hints (#6547, thanks @maxmad64bis).
- Smaller fixes (thanks @shuhuNB515): AGENTS.md is written through the shared atomic writer (#6555); a work-product title cut at 140 characters keeps a whole emoji (#6613); the installer prints
1Minstead of1000K(#6605); MiniMax Code install refuses a malformedhooks.jsonevent instead of rewriting it (#6603), and its status reports a missing hook or MCP server (#6604). - Agent cost report leaves claude-mem's own observer sessions out of agent usage (#6584, thanks @vinirib).
- Server Beta: retrying a job that a worker still holds no longer leaves it queued forever (#6607, thanks @HEOJUNFO).
Features
- MiniMax Code support (#6525, thanks @SaladDay).
npx claude-mem mcode install(orinstall --ide mcode) adds hooks and MCP recall to MiniMax Code. - Choose or turn off the observer's implicit default model (#6526, thanks @maxmad64bis) with
CLAUDE_MEM_OPENAI_COMPAT_DEFAULT_MODEL. Empty keeps today's behavior;noneuses no implicit default. - LLMTR preset for the OpenAI-compatible provider (#6551, thanks @knowhycodata).
- Cloud Sync from your current workspace (#6553).
claude-mem sync setupreuses your worker and account and imports the last 30 days of prompts for the open project. Testers wanted. - Import recent chats as dated observations (#6552).
claude-mem import chatspreviews local Claude Code and Codex sessions or a ChatGPT or Claude export, and with--applyuses your local Ollama model to save exact, dated excerpts. Testers wanted.
Docs and tests
- Recovery docs point at the live processing endpoints (#6538, thanks @DeryFerd); the Cursor Gemini page uses the setting the worker reads (#6559, thanks @cvas22; #6573, thanks @shuhuNB515);
CLAUDE_MEM_WELCOME_HINT_ENABLEDis documented (#6589); README fixes and a Turkish README update (#6637, #6640, thanks @stickno). - Local test runs no longer open Chrome unless
CLAUDE_MEM_BROWSER_TESTS=1(#6626); a slow-runner timeout for the iMessage Mac app test (#6522).
Contributors
Thank you to @AlkaidSTART, @ZedingZhang, @Screddyice, @shuhuNB515, @zhangkom, @Golden007-prog, @shaojunying, @harpreetkbadhan, @SajjadPSavoji, @vinirib, @KhadeerBasha1232, @0xABCD01, @seonwooj0810, @JuanRdBO, @Mengzeovo, @Boulea7, @maxmad64bis, @HEOJUNFO, @SaladDay, @knowhycodata, @DeryFerd, @cvas22 and @stickno for the work in this release.
Full changelog: v17.1.1...v17.1.2