Skip to content

Releases: JuliusBrussee/cavemem

v0.2.1

06 May 12:17

Choose a tag to compare

Patch Changes

  • c756051: fix(mcp): boot stdio server when invoked via cavemem mcp

    The CLI's mcp subcommand did await import('@cavemem/mcp-server') expecting the import side-effect to start the server, but the server module guards main() behind an isMainEntry() check. When dynamically imported, import.meta.url does not match process.argv[1] (the CLI), so main() never ran and no MCP tools were exposed to the host IDE. Export main() from the server module and have the CLI call it explicitly. The isMainEntry() guard remains so the cavemem-mcp bin still works when invoked directly.

    Thanks @LoganBresnahan (#16).

Install / upgrade: npm i -g cavemem@0.2.1

v0.1.3

18 Apr 11:54

Choose a tag to compare

cavemem 0.1.3

Patch release — bug fixes for first-run reliability and script interop.

Fixes

  • CLI no longer crashes with EPIPE when 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/transformers is now locked in pnpm-lock.yaml. The optional dep was resolvable but not linked into apps/cli/node_modules on 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/core tests (non-null assertions + formatting).

Verification

  • 4 gates green: typecheck, lint, test, build
  • scripts/e2e-publish.sh 15/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

18 Apr 01:23

Choose a tag to compare

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.mjs in favour of proper unit tests

Install / upgrade

npm install -g cavemem@0.1.1

Or if already installed:

npm update -g cavemem

npm: https://www.npmjs.com/package/cavemem

cavemem v0.1.0

18 Apr 00:48

Choose a tag to compare

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             # verify

Highlights

  • 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.

npm: https://www.npmjs.com/package/cavemem