v13.4.0
thedotmack/claude-memv13.4.0May 29, 2026by thedotmack
AI Summary
This release clears a large defect backlog including plans 01-11 and adds provider configurability with a configurable OpenAI-compatible base URL for OpenRouter. Test suite improved from 46 failing to 0.
Key Highlights
- Configurable OpenAI-compatible base URL for OpenRouter provider
- Spawn contract fixes with canonical CLAUDE_PLUGIN_ROOT resolution and Windows fixes
- Worker lifecycle fixes with Windows PID-reuse start-token guard
- Output fidelity fixes with commit-hash verification before persist
- SQLite self-healing via sqlite3 .recover and schema repair
New Features
- CLAUDE_MEM_OPENROUTER_BASE_URL environment variable for custom endpoints
- DeepSeek and LM Studio compatibility
- Custom OpenAI-compatible endpoint support
Full Release Notes
## v13.4.0 — Defect backlog clearance + provider extensibility
Clears a large defect backlog (plans 01–11 plus standalone fixes) and adds provider configurability. Test suite moved 46 → 0 failing and typecheck 24 → 0 errors over the branch.
### Features
- **Configurable OpenAI-compatible base URL** for the OpenRouter provider (`CLAUDE_MEM_OPENROUTER_BASE_URL`) — point claude-mem at DeepSeek, LM Studio, or any custom OpenAI-compatible endpoint.
### Fixes (highlights)
- **Spawn contract (plan-02):** canonical `${CLAUDE_PLUGIN_ROOT}` resolution + Windows spawn fixes (codex.cmd, chroma-mcp cmd.exe quoting).
- **Worker lifecycle (plan-03):** Windows PID-reuse start-token guard.
- **Output fidelity (plan-11):** commit-hash verification before persist; null-`cwd` no longer strips every hex string from summaries.
- **SQLite self-healing:** schema repair via `sqlite3 .recover`; close DB handle on repair error paths (no leaked write lock).
- **SessionMessageBuffer:** `clear()` now also resets the dedup set, so a previously-seen toolUseId can re-enter.
- **Standalone:** project name, dot-path encoding, path-match, CLAUDE.md denylist.
### CI / tests
- New CI workflow (typecheck · build · test · bundle-size + docker pg+valkey e2e) made green; removed npm-lockfile dependency to match the repo's no-committed-lockfile convention.
- Fixed `mock.module` logger leakage across test files and guarded sqlite3 `.recover` capability so CI runs cleanly.
Full diff: https://github.com/thedotmack/claude-mem/pull/2701