- npx claude-mem install and update compile a local claude-mem launcher and add its folder to PATH if needed, and npx claude-mem uninstall removes the launcher
- Marketplace-only installs self-repair by placing or refreshing the launcher at startup and notifying the user when a Claude Code restart is needed
- CLAUDE_MEM_OBSERVER_THINKING environment variable is documented
- CLAUDE_MEM_LLM_STREAM_IDLE_TIMEOUT_MS sets a configurable streamed-request idle window, defaulting to 90 seconds
- CLAUDE_MEM_DISABLE_SUMMARY=1 skips the end-of-session summary for headless or read-only runs
- The launcher fails open, printing one line and letting the session continue without memory when a problem occurs
- Environment opt-outs CLAUDE_MEM_DISABLE_TOOL_HOOKS, CLAUDE_MEM_DISABLE_OBSERVATION, and CLAUDE_MEM_DISABLE_FILE_CONTEXT take effect before heavy startup work
- Hooks in exec form require Claude Code 2.1.139 or newer, and install and doctor warn on older versions requirement raised · inferred, marked in the notes below
- Mode prompts are validated and a user mode file can no longer shadow a bundled mode behavior changed · inferred, marked in the notes below
- Claude app (cowork) plugin runs session-init in the background and its hooks stand down when a local claude-mem install is present behavior changed · inferred, marked in the notes below
- Console window no longer flashes on Windows because Claude Code hooks call claude-mem directly in exec form instead of through a shell
- Observer retries once without the thinking parameter when a gateway rejects it, instead of stalling
- Worker no longer blocks the event loop on git commands during worktree adoption, preventing multi-hour wedges on large repositories
- Manual sessions keep their platform value
- An error-shaped response is no longer mistaken for a host observer
- Grok agents added after install are now watched
- Codex installer drops a dead local marketplace registration and fails when Codex does not list the plugin afterwards
- Semantic search no longer breaks on empty filters or malformed stored concept or file data and now matches keyword search
- Sessions list matches project names regardless of case
- Feed rows with the same timestamp return in a stable newest-first order
- Repeated prompts with their own native turn ids are no longer merged into one
- Restoring an export keeps each prompt's native turn id
- Deleting a project's last memories brings the welcome hint back immediately
- A corpus built without a limit gets the documented 500 observations, and limits above 100 are no longer capped at 100
- Chroma writes for the same memory are serialized and re-read the current row, preventing stale bodies or projects from being indexed
- Self-hosted server prevents a reclaimed generation attempt from completing or failing its replacement
- Self-hosted sync server brackets IPv6 hosts in its advertised URL
- Viewer NOTES section icon is sized correctly instead of rendering about 20 times too large
4 changes to check, marked in the notes below
From claude-mem
No more console window flashing on Windows. Every Claude Code hook now calls claude-mem directly instead of going through bash, and this release also carries 16 community fixes from five contributors.
Hooks call claude-mem directly (#4345)
Every Claude Code runtime hook now runs a small claude-mem launcher in exec form ("command": "claude-mem", "args": [...]), with no shell in between. On Windows that ends the console window that used to flash and steal focus on every tool call (#3605, #3559, #3521, #3396, #3248). behavior changed · inferred
npx claude-mem install/updatecompile the launcher on your machine. It goes to~/.local/bin/claude-memon macOS and Linux, or%LOCALAPPDATA%\claude-mem\bin\claude-mem.exeon Windows, and that folder is added to your PATH if it isn't there already.npx claude-mem uninstallremoves the launcher.- Marketplace-only installs repair themselves. A startup step places or refreshes the launcher and tells you when Claude Code needs a restart.
- The launcher fails open. On any problem it prints one line,
claude-mem: <reason>, continuing without memory, and your session carries on. - The environment opt-outs (
CLAUDE_MEM_DISABLE_TOOL_HOOKS,CLAUDE_MEM_DISABLE_OBSERVATION,CLAUDE_MEM_DISABLE_FILE_CONTEXT) still take effect before anything heavy starts.
Before you upgrade:
- Hooks in exec form need Claude Code 2.1.139 or newer.
installanddoctorwarn on older versions. requirement raised · inferred - If the launcher's folder wasn't on your PATH yet, the first session after updating will tell you to restart Claude Code from a new terminal. After that, everything works as before.
Thanks @bagr001 for testing it on Windows 11.
Observer and worker
- Gateways that reject the
thinkingparameter no longer stall the observer (#4735, @akushonkamen). The observer retries once without the parameter. The token-saving default is unchanged, andCLAUDE_MEM_OBSERVER_THINKINGis now documented. - The worker no longer wedges for hours on big repos (#4753, @akushonkamen). Git commands during worktree adoption now run without blocking the event loop.
- The streamed-request idle window is configurable (#4752, @akushonkamen) with
CLAUDE_MEM_LLM_STREAM_IDLE_TIMEOUT_MS, for self-hosted backends with long queue waits. The default is still 90 seconds. CLAUDE_MEM_DISABLE_SUMMARY=1skips the end-of-session summary for headless or read-only runs (#4736, @akushonkamen).- Mode prompts are validated, and a user mode file can no longer shadow a bundled mode (#4326). behavior changed · inferred
- Three platform fixes (#3851):
- manual sessions keep their platform;
- an error-shaped response is no longer taken for a host observer;
- Grok agents added after install are watched.
- The Codex installer drops a dead local marketplace registration, and install fails when Codex doesn't list the plugin afterwards (#3494).
Search, viewer and data, thank you @rudycelekli
- Semantic search no longer breaks on empty filters (#4754) or on malformed stored concept or file data (#4750). It now matches keyword search.
- The Sessions list matches project names regardless of case (#4749).
- Feed rows with the same timestamp come back in a stable newest-first order (#4747).
- Repeated prompts with their own native turn ids are no longer merged into one (#4748).
- Restoring an export keeps each prompt's native turn id (#4751).
- Deleting a project's last memories brings the welcome hint back right away (#4742).
- A corpus built without a limit gets the documented 500 observations, and limits above 100 are no longer capped at 100 (#4746). behavior changed · inferred
Sync and server
- Chroma writes for the same memory are serialized and re-read the current row (#4731, @junnhwan). A startup backfill or a delayed cloud forward can no longer index an old body or old project.
- On the self-hosted server, a reclaimed generation attempt can't complete or fail its replacement (#4739, @junnhwan). Postgres regression tests now run in CI.
- The self-hosted sync server puts brackets around IPv6 hosts in its advertised URL (#4723, @DeryFerd).
Viewer
- The NOTES section icon is sized like its siblings (#4744, @phant0um, first contribution). It used to render about 20× too large.
Claude app (cowork) plugin
- Session-init now runs in the background, and the plugin's hooks stand down when a local claude-mem install is present (#4755).
Docs and skills
- The make-plan skill has a Primary Goal section and a fixed short chat summary (#3600).
- The wowerpoint skill stops once the deck has started and no longer uploads (#4342).
- Docs no longer mention workers.dev for the sync hub (#4366).
Thanks to everyone who reported and fixed things this round: @rudycelekli, @junnhwan, @akushonkamen, @DeryFerd, @phant0um, @valerianbbragi, @smashingtags, @wuding129, @chris-yyau, @bagr001.
Full diff: https://github.com/thedotmack/claude-mem/compare/v13.37.0...v13.38.0