github thedotmack/claude-mem v17.2.1

53 minutes ago

Critical fixes

  • Observers are no longer revoked by a login close to expiry (#6697, thanks @KhadeerBasha1232; reported by @ChunkyTortoise in #6650). An observer received the stored Claude login as an environment token, which it cannot refresh. Claude Code refreshes the stored login in its last few minutes and revokes the old token, so an observer spawned shortly before expiry failed with OAuth token revoked and its batch was lost. A stored login that expires within 15 minutes is now left to the CLI, which reads and refreshes it itself.
  • Linux: closing one session no longer kills the shared worker (#6698, thanks @KhadeerBasha1232; reported by @luidpivetta in #6686). When Claude Code runs in a transient systemd user scope (for example T3 Code), stopping that scope at session end also stopped the worker it had spawned, and every other session lost it. The worker now starts in its own scope through systemd-run --user --scope --collect. Windows, macOS, containers, login sessions and cgroup v1 hosts launch exactly as before.

New, off by default

  • Cap injected observations per session (#6699, thanks @Boulea7; asked for by @maxmad64bis in #6630). Set CLAUDE_MEM_SEMANTIC_INJECT_MAX_PER_SESSION to a positive number so per-prompt context shows at most that many observations from any one session. The default 0 keeps today's output.

Fixes

  • Backup restore recovers observations this device synced after the snapshot (#6654, thanks @ZedingZhang; #6653). They were skipped by the same-device echo guard. A bounded catch-up now applies them with their original IDs.
  • Imported observations stay eligible for Chroma backfill while their first write is queued (#6734, thanks @ZedingZhang; #6733).
  • Per-session OpenAI-compatible endpoints (#6689, thanks @maxmad64bis): the summary model is translated through the endpoint's model map, a provider is stored only with the model it arrived with, an error that merely names a deprecated parameter is no longer read as a model retirement, and modelMap entries are validated.
  • Telemetry opt-out applies on the next check (#6735, thanks @mertkayacs). A running worker no longer keeps sending for up to 30 seconds after claude-mem telemetry disable.
  • Setup at 98% names the refresh step it is waiting on, and Continue ends the wait right away while the refresh keeps running (#6700, thanks @Zhong-fan).
  • Setup excludes shortened observer transcript directories (#6729, thanks @Afloat16).
  • By-file search honors an explicit isFolder=false (#6702, thanks @ZedingZhang; #6701).
  • CLAUDE_MEM_EXCLUDED_PROJECTS matches a pattern written with a trailing slash (#6694, thanks @kevincommits).
  • Zed JSONC edits keep inline comments on literal values and trailing members (#6693, thanks @kevincommits).
  • Server job listings reject an unknown status or source_type instead of dropping the filter, and server jobs failed rejects an invalid --limit (#6692, #6695, thanks @kevincommits).
  • Cowork strips a UTF-8 BOM before parsing config.json (#6742, thanks @DeryFerd).
  • Docker (self-hosted server): the Postgres image builds with pg_textsearch 1.6 after 1.5 was removed upstream, and existing databases upgrade the extension in place (#6718).

Performance

  • Privacy tag stripping no longer allocates per character (#6728), and history-import excerpts no longer build grapheme arrays (#6713) (thanks @Afloat16).

Docs and tests

  • Configuration defaults corrected (#6707), Docker health check uses the composed port (#6745) and the Turkish version badge is synced (#6746) (thanks @DeryFerd); Codex migration from bundled hooks documented (#6688, thanks @Puipipi); Work View review-retry coverage (#6663, thanks @0xABCD01).

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.