github thedotmack/claude-mem v15.18.1

58 minutes ago

Critical fixes

  • The worker no longer fails to start when the database is busy at startup (#6041). If the My Work refresh record was left as "running" by a restart and the database was locked at that moment, the repair write threw and took down the worker's whole startup, so memory stayed off until the next restart. The repair failure is now logged, and the next scheduled check tries again (whether or not scheduled refresh is on).
  • npx claude-mem update and the daily auto-update keep your setup (#6045). Before this, an unattended update reset a server or server-beta runtime back to the local worker, so capture moved off your server. A legacy install with no saved provider could also have its cloud sync turned off and its Anthropic env keys cleared. Updates now reuse your saved runtime, provider, model and agents. They don't reopen the browser setup or ask the setup questions again, and only ask for a Gemini or OpenRouter key if one is missing. npx claude-mem install is unchanged.
  • My Work summaries stop retrying unusable model answers forever (#6039, thanks @mohitdixit02, reported by @adminwat in #6037). When the model's answer failed validation, wasn't JSON or came back empty, the same unchanged request was resent every minute with no end. One report measured 104,869 calls, and the constant load starved a local Ollama runner. Each request version now gets at most 3 tries with a growing wait, then waits until its input or settings change. The card shows the actual reason. Thanks @balabommablock-cpu for testing and finding the empty-answer case.

Fixes

  • Lower observer cost by default (#6031, thanks @kartik70, closes #5023). The observer's conversation budget drops from 400,000 to 100,000 characters (about 100K to about 26K tokens per turn in the issue's measurement). Installs that still hold the old shipped default move once; a value you set yourself is kept.
  • Redaction: Heroku API keys and Atlassian API tokens are now removed before storage (#6046, thanks @kevin9327).
  • TeamBrain: relayed text can no longer pass as claude-mem's own headings, fences or rules (~~~, ***, ___, setext ===) (#6048, thanks @kevin9327).
  • Work state: GET /api/work-state/export returns the complete history of a list when it is too long for an MCP reply, and shortened MCP reads now say so and point to it (#6049, thanks @Jeremy891102, closes #6043).
  • My Work (thanks @Afloat16):
    • A checked request is unchecked again when a new deliverable revision or published PR changes its result (#5891).
    • The first goals map of a long prompt history runs in checkpointed batches instead of one oversized question that fails and repeats (#6001).
    • Resolving original requests no longer rescans the whole prompt window per conversation (#6022).
  • Smart file read: function signatures end at the real body boundary in every supported language, so destructured parameters and default objects stay in the outline and are searchable (#6029, thanks @Afloat16).
  • Gemini CLI: npx claude-mem gemini install finds a worker installed only in the plugin cache instead of reporting it missing (#6032, thanks @Kirat0201).
  • Memory: replaying an older native memory note uses an index instead of scanning project history inside the write transaction (#6016, thanks @Afloat16).

New examples and docs

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.