Releases: JuliusBrussee/cavemem
v0.2.1
Patch Changes
-
c756051: fix(mcp): boot stdio server when invoked via
cavemem mcpThe CLI's
mcpsubcommand didawait import('@cavemem/mcp-server')expecting the import side-effect to start the server, but the server module guardsmain()behind anisMainEntry()check. When dynamically imported,import.meta.urldoes not matchprocess.argv[1](the CLI), somain()never ran and no MCP tools were exposed to the host IDE. Exportmain()from the server module and have the CLI call it explicitly. TheisMainEntry()guard remains so thecavemem-mcpbin still works when invoked directly.Thanks @LoganBresnahan (#16).
Install / upgrade: npm i -g cavemem@0.2.1
v0.1.3
cavemem 0.1.3
Patch release — bug fixes for first-run reliability and script interop.
Fixes
- CLI no longer crashes with
EPIPEwhen stdout is consumed by a tool that exits early (e.g.cavemem config show | grep -q …). Stdout EPIPE is now handled as a clean exit. @xenova/transformersis now locked inpnpm-lock.yaml. The optional dep was resolvable but not linked intoapps/cli/node_moduleson fresh clones, which caused local-provider semantic search to fall back to BM25 on first run. Confirmed end-to-end with a clean install: 6/6 observations embedded, semantic queries returned correct top-1 on zero-keyword-overlap prompts.- Lint cleanup in
packages/coretests (non-null assertions + formatting).
Verification
- 4 gates green: typecheck, lint, test, build
scripts/e2e-publish.sh15/15 (including MCP server init, hook lifecycle, FTS search, doctor, uninstall)
Install / upgrade
npm install -g cavemem@0.1.3
cavemem install --ide claude-code
No migration required.
cavemem v0.1.1
What's changed
- Tests added across CLI, compress, hooks, installers packages — improves confidence in hook handlers and install flows
- Storage SQL fix — normalize prepare string in
packages/storage - CLI version constant — version is now injected at build time from
package.json; no more manual sync required - Dependency injection for servers and hooks (f6ea090)
- Import and formatting cleanup (7eeab6d)
- Removed
smoke.mjsin favour of proper unit tests
Install / upgrade
npm install -g cavemem@0.1.1Or if already installed:
npm update -g cavememcavemem v0.1.0
First public release of cavemem.
Install
npm install -g cavemem
cavemem install # register with Claude Code (default)
cavemem install --ide gemini-cli | opencode | codex | cursor
cavemem doctor # verifyHighlights
- Cross-agent persistent memory stored compressed at rest via a deterministic, offline grammar.
- Five lifecycle hooks (SessionStart, UserPromptSubmit, PostToolUse, Stop, SessionEnd).
- MCP server with three progressive-disclosure tools:
search,timeline,get_observations. - SQLite + FTS5 storage with a vector slot for future embedding providers.
- Local HTTP viewer at
http://localhost:37777. - Privacy:
<private>…</private>tags stripped at the write boundary; path globs. - Installers for Claude Code, Gemini CLI, OpenCode, Codex, Cursor.
Benchmark corpus shows ~33% token reduction on prose at default intensity, 100% preservation of code / URLs / paths / commands / versions / dates / identifiers.