github thedotmack/claude-mem v17.1.3

one hour ago

Critical fix

  • Images are captured again after install, repair and Setup (#6667, thanks @Afloat16; #6685; reported by @vladasru-alt in #6657). Install and repair ran bun install --omit=optional, and that flag also dropped sharp's native platform packages (@img/sharp-<os>-<cpu> and libvips). sharp's JavaScript still resolved, so the install check passed, but every image observation was then skipped with decoder_unavailable. The server embedder now lives in its own server-runtime workspace, and install, repair and the Setup hook install only the claude-mem-plugin workspace, so sharp's platform packages are kept and the ~300 MB embedder still stays out for plugin-only users. Install now loads sharp during its critical-module check, so a missing decoder fails visibly. The Setup hook warns and names npx claude-mem@latest repair if the decoder can't load. If your images were being skipped, run npx claude-mem@latest repair once after updating.

New, off by default

  • Semantic distance cutoff for search (#6649, thanks @Afloat16; asked for by @abt16v in #6642). CLAUDE_MEM_SEARCH_MAX_DISTANCE drops semantic matches above that distance before fusion, so unrelated nearest neighbours stop reaching per-prompt context. Exact keyword matches are always kept.
  • Choose which observation types and concepts per-prompt context injects (#6651, thanks @Afloat16; asked for by @maxmad64bis in #6629). CLAUDE_MEM_SEMANTIC_INJECT_OBSERVATION_TYPES and CLAUDE_MEM_SEMANTIC_INJECT_OBSERVATION_CONCEPTS. Empty keeps today's output.
  • Synap preset for the OpenAI-compatible provider (#6666, thanks @weare-linkrra).
  • Route each OpenCode session to its provider's OpenAI-compatible endpoint (#6659, thanks @maxmad64bis). OpenCode now sends the host provider beside the model, and CLAUDE_MEM_OPENAI_COMPAT_SESSION_ENDPOINTS maps a provider id to a base URL and model map. Empty by default; only used when the session model opt-in is on. A 410 that says a model is retired is now treated as a model refusal.

Fixes

  • Folder context refreshes without Chroma (#6656, thanks @ZedingZhang). Folder CLAUDE.md refresh no longer fails with HTTP 500 when Chroma is down.
  • claude-mem restore refuses extra arguments before it stages anything (#6660, thanks @ZedingZhang).
  • Transcript watcher memory stays bounded: sessions that never reach session_end are evicted after 4096, oldest idle first (#6678, thanks @DeryFerd).
  • Sync edge: forward mode now enforces the same 8 MB push-body limit as hub mode (#6677, thanks @DeryFerd).
  • A UTF-8 BOM in a settings or state file no longer breaks parsing in the launcher (#6673, thanks @shuhuNB515), Cowork (#6679, thanks @DeryFerd) and the iMessage observer (#6680, thanks @DeryFerd).
  • Hook installers for Devin (#6668), Z Code (#6669) and Windsurf (#6670, #6671) refuse a hooks file they can't read and keep keys they don't own (thanks @shuhuNB515).
  • Emoji-safe text: the Windsurf rules file (#6674), the AGENTS.md context block (#6675) and the observer audit input (#6672) are cut on a code point boundary (thanks @shuhuNB515).
  • OpenAI-compatible observer logs provider prompt-cache usage (#6648, thanks @JasonOA888).
  • JSONL parser skips non-object lines instead of failing (#6643, thanks @wanghao-SunSky).
  • My Work review retry drops a bad level, a non-list review list or a move on a closed request instead of failing the refresh (#6647, thanks @seonwooj0810; reported by @raka08 in #6645).
  • Auto-update logs the detached updater hop before it starts the supervisor, to diagnose stalls (#6641, thanks @Golden007-prog).
  • iMessage (macOS) commands complete after exit and pipe EOF (#6652, thanks @Afloat16).
  • Messages chat list shows names, supports hiding and sorts newest first (#6633); usage telemetry covers Corpus, Messages and the remaining features (#6634).

Tests

  • Server auth HTTP boundary coverage (#6683, thanks @DeryFerd); each Bun test run is isolated from the real application data root (#6662, thanks @ZedingZhang).

Don't miss a new claude-mem release

NewReleases is sending notifications on new releases.