# claude-mem v13.29.0 - Product: claude-mem (https://whatsnew.fyi/product/claude-mem) - Vendor: claude-mem - Date: 2026-10-03 - Version: v13.29.0 - Original notes: https://github.com/thedotmack/claude-mem/releases/tag/v13.29.0 - Permalink: https://whatsnew.fyi/product/claude-mem/releases/v13.29.0 What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- Changes to check: - **Behavior changed:** `CLAUDE_MEM_LLM_TIMEOUT_MS` → `180000` (inferred by a model) - **Behavior changed:** `CLAUDE_MEM_OPENROUTER_MODEL` → `cohere/north-mini-code:free` (inferred by a model) - **Behavior changed:** `CLAUDE_MEM_CONTEXT_MAIN_AGENT_ONLY` (inferred by a model) - **Behavior changed:** `hooks exit 2` (inferred by a model) - **Behavior changed:** `CLAUDE_MEM_SESSION_INIT_TIMEOUT_MS` (inferred by a model) - **Behavior changed:** `Host` → `CLAUDE_MEM_ALLOWED_ORIGINS` (inferred by a model) - **Configuration changed:** `~/.gemini/config/hooks.json` → `agy's named-hook schema` (inferred by a model) - **Behavior changed:** `keyword matching` (inferred by a model) - **Behavior changed:** `rebuild_corpus` (inferred by a model) - **Behavior changed:** `POST /api/settings` (inferred by a model) - **Behavior changed:** `/api/import` (inferred by a model) - **Behavior changed:** `DELETE` → `CLAUDE_MEM_ALLOWED_ORIGINS` (inferred by a model) - **Behavior changed:** `cm_pro_` (from the vendor's security section) - **added** — Work state tools `work_state_write` and `work_state_read` allow agents to maintain a canonical to-do list across sessions - **added** — SessionStart context now opens with work state rule and every open item with timestamp of last change - **added** — New `openai-compatible` provider enables observer to run against any OpenAI `/chat/completions` endpoint - **added** — Provider presets for nvidia-nim, deepseek, groq, together, ollama, lmstudio, vllm, orcarouter, opencode-go, opencode-zen, minimax, minimax-cn, api-route and opper - **added** — Codex subscription provider support - **added** — Kimi Code and Oh My Pi support - **added** — Opt-in quota fallback for providers - **added** — `CLAUDE_MEM_ALLOWED_ORIGINS` configuration for allowing additional host names to access the worker - **added** — Work state entries stored in new append-only `work_state_entries` database table - **changed** — `CLAUDE_MEM_LLM_TIMEOUT_MS` default increased from 30000 to 180000 milliseconds - **changed** — `CLAUDE_MEM_FIELD_OPTIMIZE_TIMEOUT_MS` now defaults to 180000 milliseconds instead of fixed 30 seconds - **changed** — OpenRouter default model changed from `xiaomi/mimo-v2-flash:free` to `cohere/north-mini-code:free` - **changed** — Subagent observations excluded from SessionStart by default with new `CLAUDE_MEM_CONTEXT_MAIN_AGENT_ONLY` setting - **changed** — UserPromptSubmit hook timeout in Claude Code reduced from 60 to 15 seconds - **changed** — Claude-mem hooks no longer exit with code 2 on error, allowing sessions to continue without memory instead of failing - **changed** — Work state lists scoped to primary project key and visible across worktrees like memory - **fixed** — Antigravity hook configuration now writes in correct named-hook schema format - **fixed** — Worker now rejects requests with unknown host names as DNS-rebinding guard - **fixed** — Various fixes across capture, search, worker and Windows - **deprecated** — Retired OpenRouter model `xiaomi/mimo-v2-flash:free` now fails with `model_unavailable` error ##### The agent keeps its to-do list in claude-mem Every session now opens with a work-state section ahead of memory: a rule telling the agent to use claude-mem's `work_state_write` and `work_state_read` tools as its canonical to-do list, then whatever is still open in the project. Claude Code gives Claude 5 models no native to-do tool, so until now nothing recorded what was in progress or what was left when a session ended. The rest of the release adds an `openai-compatible` provider with presets, a Codex subscription provider, Kimi Code and Oh My Pi support, an opt-in quota fallback, and fixes across capture, search, the worker and Windows. Several defaults changed; see **Upgrade notes**. ###### Work state - **Two MCP tools.** `work_state_write` appends one entry to a named list (fields capped at 2,000 characters as JSON) and replies with what is still open in that list. `work_state_read` returns every open item, or one list, and adds done and dropped items when `includeClosed` is true. (#4340) - **Lists, items and state.** An entry with a `task` field is a to-do item with a `status` of `todo`, `doing`, `done` or `dropped`; any other field is state on the list. The latest value of each key wins, `null` clears a key, and `"status": "done"` closes the list. (#4340) - **SessionStart leads with it.** Context opens with the rule and every open item, each with how long ago it last changed, capped at 3,000 characters (806 when nothing is open); memory is fitted into what remains of the 10,000-character limit. The welcome hint for a project with no observations gets the same lead; the colored terminal preview does not. (#4340) - **Scoped like memory.** Writes land under the checkout's primary project key and reads cover every key the checkout reads, so a list started in the main checkout also shows in its worktrees. Writes from projects matched by `CLAUDE_MEM_EXCLUDED_PROJECTS` are not saved. (#4340) - **Kept in the database, not the repo.** Entries go to a new append-only `work_state_entries` table (schema v61), so lists never conflict on merge but are not in git, and reads and writes need the worker. The server runtime's SessionStart does not read this table yet. (#4340) ###### Upgrade notes - **Observer deadline raised to 3 minutes.** `CLAUDE_MEM_LLM_TIMEOUT_MS` now defaults to `180000` (was `30000`), and the new `CLAUDE_MEM_FIELD_OPTIMIZE_TIMEOUT_MS` for oversized-field condensation (a fixed 30 seconds before) defaults to the same. A `settings.json` holding exactly the old `30000` is moved once; any other value is kept. (#4278, #4287, #4136) - **New OpenRouter default model.** OpenRouter retired `xiaomi/mimo-v2-flash:free`, so the default is now `cohere/north-mini-code:free`, and a stored `CLAUDE_MEM_OPENROUTER_MODEL` equal to the retired id is rewritten once when the base URL is blank or openrouter.ai. A retired or unknown model now fails with a `model_unavailable` error that names the setting. (#3662) - **Subagent observations stay out of SessionStart.** `CLAUDE_MEM_CONTEXT_MAIN_AGENT_ONLY` (default `true`) leaves rows that carry both an agent id and an agent type out of the SessionStart window, in the worker and the server runtime. Search, timeline and `get_observations` still return them; set it to `false` for the old behavior. (#3310, #4290) - **Hooks never block a session.** No claude-mem hook exits 2 any more, so an unexpected error or a worker outage no longer drops your prompt, denies a tool call or re-wakes Stop; the session continues without memory. After `CLAUDE_MEM_HOOK_FAIL_LOUD_THRESHOLD` (default `3`) unreachable-worker hooks in a row you get one notice per session to run `npx claude-mem restart`, and Claude Code hooks other than Setup exit 0 even when the plugin scripts are missing. (#2892, #3168, #3431) - **UserPromptSubmit gets 15 seconds in Claude Code.** The hook timeout drops from 60 to 15 seconds, and session init spends one budget, `CLAUDE_MEM_SESSION_INIT_TIMEOUT_MS` (10 seconds; 7 on Windows, where _[Truncated at 4000 characters — full notes: https://github.com/thedotmack/claude-mem/releases/tag/v13.29.0]_