github thedotmack/claude-mem v17.1.1

one hour ago

Critical fixes

  • Pro, trial and TeamBrain seat accounts can finish setup on a Cloud Sync pairing (#6531, thanks @Screddyice). On a computer with no Pro settings yet, setup offers only the Cloud Sync plans. When cmem.ai answered with a Pro account (paid, trial or complimentary) or a TeamBrain seat, the installer refused it with "The account did not return the selected Cloud Sync connection", so the checkout never finished. A complimentary Pro account hit this on every new machine. The installer now accepts that account's Cloud Sync connection and keeps your current memory provider. Hosted memory credentials are still never written or turned on by a Cloud Sync pairing.
  • On Windows, the Pro checkout link opens whole (#6536, thanks @DeryFerd). The installer opened links with cmd /c start, and cmd.exe cuts a URL at &, so the checkout page opened without its query string. Links now open through explorer.exe as one argument, and only http: and https: links are opened at all.

Fixes

  • Authored instructions survive a failed context write (#6540, thanks @Afloat16). The Aider, MCP and Antigravity installers rewrote instruction files in place, so a full disk mid-write could cut a file down to its first line. The file is now written to a temporary copy and swapped in only when complete. Symbolic links and file permissions are kept.
  • Advisor and deliverable capture read the whole transcript window (#6541, thanks @Afloat16). A short read left zero bytes at the end of the window, so later advisor results and confirmed file writes were dropped. The reader now keeps reading until the window is full or the file ends.
  • Pi no longer sends the same summary twice after a failed handoff (#6545, thanks @Afloat16). A refused or lost summary request left the turn eligible again, so a later compaction, shutdown or agent end sent it again once the worker came back. The turn is now marked as handed off before the request, as the observer lifecycle contract requires.
  • iMessage (thanks @Afloat16):
    • A conversation whose summary handoff fails still gets its end-of-session record (#6543). No summary is retried.
    • A withdrawn tapback is removed from the open observation window instead of reaching memory as a reaction (#6560).
    • Messages keep their arrival order across Photon subscriptions, so a group rename is no longer overtaken by a later message (#6542).
    • A chat-to-project mapping that failed to save is saved again on the next observation, so a renamed group no longer splits into a second project after a restart (#6561).
    • Importing a full contact book no longer slows down with each entry, and name changes to existing contacts still apply once the 20,000-contact cap is reached (#6546).
    • The Mac chat picker reads all chat members in one query instead of one query per chat (#6544).
  • Claude Code's own notices stay out of standalone replies (#6520, thanks @harpreetkbadhan). Messages Claude Code writes as the <synthetic> model, such as an API error, were treated as model text. They are no longer stored as condensed field text or sent as the Telegram wrap-up.
  • JSON import and export use CLAUDE_MEM_WORKER_URL (#6529, thanks @ZedingZhang). Both scripts built the address from host and port even when the worker URL pointed elsewhere, so an import could land in the wrong database. An invalid URL now stops the command before the first request.
  • A failed keyword search no longer replaces a good export (#6533, thanks @ZedingZhang). A read error during a keyword export produced exit code 0 and overwrote the existing archive with empty or partial results. The export now fails and leaves the old archive as it was. A search with zero matches still produces an empty archive.
  • Server Beta: the SQLite API-key prefix lookup is capped at 8 keys, like Postgres (#6535, thanks @DeryFerd), so a known prefix cannot trigger unbounded key-derivation work.
  • Unreadable JSON columns are no longer copied into the log (#6534, thanks @DeryFerd). A corrupt row logged its raw value, which can hold observation text and tool input, to ~/.claude-mem/claude-mem.log. The warning now logs only the value's length.
  • Agent cost report (thanks @vinirib):
    • Sessions that started before the report window but worked inside it are counted, with their observations, summaries and cost (#6580).
    • Codex transcripts join their claude-mem session by the Codex session id, so their cost comes from the transcript instead of an estimate, and --session <codex id> finds them (#6582).
  • Tests and CI: a npm run test:coverage script on the fast lane (#6537, thanks @DeryFerd); the doctor, cleanup-v12_4_3 and hosted-intent suites pass on Windows (#6549, #6550, thanks @Lupin133).

Features

  • Muse Code support (#6585, thanks @rochafialvin). npx claude-mem install --ide muse-code adds hooks and MCP recall to Muse Code. It captures prompts, tool calls, subagent work and turn summaries, injects context at session start and after compaction, and adds a file's memory timeline before a read. Tested on Muse Code 1.4.25 on macOS.
  • Grouped work-state writes (#6548, thanks @maxmad64bis). With CLAUDE_MEM_WORK_STATE_BATCH_ENABLED=true, work_state_write takes an items array of up to 25 entries in one call. Every entry is checked before the first write. It is off by default, so nothing changes unless you set it.

Contributors

Thank you to @Screddyice, @DeryFerd, @Afloat16, @harpreetkbadhan, @ZedingZhang, @vinirib, @Lupin133, @rochafialvin and @maxmad64bis for the work in this release.

Full changelog: v17.1.0...v17.1.1

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.