Changelog
v0.1.0
Initial release.
MCP Tools
ctx_tree_read— file reading with tree-sitter semantic chunking and mtime cachingctx_tree_grep— ripgrep integration with result nodes stored in graphctx_tree_browse— URL fetching with accessibility tree extraction and cachingctx_tree_compose— BFS graph expansion + relevance scoring + budget-bounded context assemblyctx_tree_search— FTS5 keyword search across all stored nodesctx_tree_neighbors— graph walk from a node up to depth 5ctx_tree_path_to_root— spine walk from any node to session rootctx_tree_recent— surface nodes from prior sessions by recencyctx_tree_monitor— shell command execution with output stored as nodectx_tree_note— manual note/observation storage
Hooks (10 total)
session-start.mjs— tool guide injection on SessionStartpretooluse-redirect.mjs— Read/Grep/WebFetch/Bash(grep|cat) interceptionpretooluse-agent-enrich.mjs— Agent prompt enrichment with FTS context hitspretooluse-skill-recall.mjs— Skill cache hit/miss routingpretooluse-proxy.mjs— soft advisory mode (opt-in)posttooluse-agent-capture.mjs— Agent summary node creationposttooluse-skill-capture.mjs— Skill content cachingposttooluse-websearch-capture.mjs— WebSearch result URL browsinguserpromptsubmit-capture.mjs— prompt node capture with follows edgesstop-response-capture.mjs— thinking + response node capture with full edge chain
Infrastructure
- SQLite property graph store at
~/.ctx-tree/<project-hash>/store.db - Git-based project hash (
sha256(gitRoot:firstCommit).slice(0, 16)) - Background walkers: staleness marker, pruner
mcp-execintegration for sandboxed execution- Plugin manifest with
/usr/bin/env bunfor cross-platform hook commands - Sensitive value redaction in
ctx_tree_monitoroutput before storage
Roadmap
v0.1.1 (planned)
- Passive capture via PostToolUse hook (store native Read/Grep/Bash output automatically)
- Embedding indexer walker (Ollama / OpenAI)
- Summarization walker (Haiku 4.5)
- Deduplication walker (cosine ≥ 0.97 merge)
- Hybrid search (RRF over FTS + semantic)
v0.2.0 (planned)
ctx_tree_bash— Bash equivalent routed through mcp-exec for sandboxing- Bundled hook binary (eliminates
jq/socatsystem deps) - EdgeLight backend option (embedded property graph DB)
Future
- VS Code inspector companion extension
- Multi-project store federation