Rust
0
24 commits
updated Jun 13, 2026
cli-memory-bridge is a local-first memory bridge for terminal coding agents and MCP-enabled CLIs. It imports conversation history from supported providers on your machine, stores canonical transcripts and embeddings locally, and serves that memory back through cmb commands and an MCP-compatible stdio server.
The current Rust build supports transcript import and retrieval for:
It also ships an npm package surface so MCP configs can launch it through:
npx -y @aminovsky/cli-memory serve
cmb init to detect providers and import local conversationscmb refresh to incrementally import only new or changed sourcescmb resume <hash-id> to restore a conversation transcript by stable hashcmb conv-search <query> to search imported conversation contentcmb forget <provider> <hash-id> to soft-ban a conversation from future retrievalcmb serve to expose the stdio MCP tool surfacecmb doctor and cmb stats for diagnosticscmb install <provider> to render provider install/config bundlescmb unlink <provider> and cmb unlink --all to render provider cleanup bundlescmb uninstall to render full package removal guidanceFor MCP usage and command execution through npm:
npx -y @aminovsky/cli-memory --help
On first install, the npm package downloads a platform-specific cmb binary from the matching GitHub release for this package version and stores it under npm/vendor/<platform>/.
If you install the package globally:
npm install -g @aminovsky/cli-memory
cmb --help
cargo build --release
./target/release/cmb --help
Import local transcripts and start using retrieval:
cmb init
cmb doctor
cmb stats
cmb conv-search "run the app"
Run the MCP server through npx:
npx -y @aminovsky/cli-memory serve
The npm package is designed for MCP configs that accept command plus args. The preferred launcher shape is:
{
"command": "npx",
"args": ["-y", "@aminovsky/cli-memory", "serve"]
}
Render a provider-specific install bundle:
cmb install gemini
cmb install zed
cmb install codex
Current install behavior is render-only. It prints the config/assets you should apply for that provider.
Render cleanup instructions for one provider:
cmb unlink gemini
cmb unlink zed
cmb unlink codex
Render cleanup bundles for every supported provider:
cmb unlink --all
unlink removes provider wiring only. It does not remove the cli-memory package or the local memory database.
Render full uninstall guidance:
cmb uninstall
The intended order is:
cmb unlink --all
npm uninstall -g @aminovsky/cli-memory
If you only use npx -y @aminovsky/cli-memory ..., there may be no global npm package to remove.
~/.codex/sessions, ~/.codex/session_index.jsonl~/.claude/projects~/.gemini/tmp/*/chats/session-*~/.copilot/session-state/*/events.jsonl~/.config/zed/conversations/*.zed.json~/.local/share/opencode/storage/session_diff/*.json with opencode.db fallback~/.hermes/sessions / ~/.hermes/history~/.gemini/antigravity/brain/*For npm release prep, this repo now includes:
Before publishing to npm:
v<package.json version>cmb-<version>-<platform-arch> and cmb.exe-<version>-<platform-arch> for Windowsnpm pack --dry-run and a clean npx -y @aminovsky/cli-memory --help install testThis build is production-oriented but still evolving:
This project takes reference and inspiration from:
24 commits
Rust
97.2%
JavaScript
2.8%
Rust
0
24 commits
updated Jun 13, 2026
cli-memory-bridge is a local-first memory bridge for terminal coding agents and MCP-enabled CLIs. It imports conversation history from supported providers on your machine, stores canonical transcripts and embeddings locally, and serves that memory back through cmb commands and an MCP-compatible stdio server.
The current Rust build supports transcript import and retrieval for:
It also ships an npm package surface so MCP configs can launch it through:
npx -y @aminovsky/cli-memory serve
cmb init to detect providers and import local conversationscmb refresh to incrementally import only new or changed sourcescmb resume <hash-id> to restore a conversation transcript by stable hashcmb conv-search <query> to search imported conversation contentcmb forget <provider> <hash-id> to soft-ban a conversation from future retrievalcmb serve to expose the stdio MCP tool surfacecmb doctor and cmb stats for diagnosticscmb install <provider> to render provider install/config bundlescmb unlink <provider> and cmb unlink --all to render provider cleanup bundlescmb uninstall to render full package removal guidanceFor MCP usage and command execution through npm:
npx -y @aminovsky/cli-memory --help
On first install, the npm package downloads a platform-specific cmb binary from the matching GitHub release for this package version and stores it under npm/vendor/<platform>/.
If you install the package globally:
npm install -g @aminovsky/cli-memory
cmb --help
cargo build --release
./target/release/cmb --help
Import local transcripts and start using retrieval:
cmb init
cmb doctor
cmb stats
cmb conv-search "run the app"
Run the MCP server through npx:
npx -y @aminovsky/cli-memory serve
The npm package is designed for MCP configs that accept command plus args. The preferred launcher shape is:
{
"command": "npx",
"args": ["-y", "@aminovsky/cli-memory", "serve"]
}
Render a provider-specific install bundle:
cmb install gemini
cmb install zed
cmb install codex
Current install behavior is render-only. It prints the config/assets you should apply for that provider.
Render cleanup instructions for one provider:
cmb unlink gemini
cmb unlink zed
cmb unlink codex
Render cleanup bundles for every supported provider:
cmb unlink --all
unlink removes provider wiring only. It does not remove the cli-memory package or the local memory database.
Render full uninstall guidance:
cmb uninstall
The intended order is:
cmb unlink --all
npm uninstall -g @aminovsky/cli-memory
If you only use npx -y @aminovsky/cli-memory ..., there may be no global npm package to remove.
~/.codex/sessions, ~/.codex/session_index.jsonl~/.claude/projects~/.gemini/tmp/*/chats/session-*~/.copilot/session-state/*/events.jsonl~/.config/zed/conversations/*.zed.json~/.local/share/opencode/storage/session_diff/*.json with opencode.db fallback~/.hermes/sessions / ~/.hermes/history~/.gemini/antigravity/brain/*For npm release prep, this repo now includes:
Before publishing to npm:
v<package.json version>cmb-<version>-<platform-arch> and cmb.exe-<version>-<platform-arch> for Windowsnpm pack --dry-run and a clean npx -y @aminovsky/cli-memory --help install testThis build is production-oriented but still evolving:
This project takes reference and inspiration from:
24 commits
Rust
97.2%
JavaScript
2.8%