Repository navigation
Releases: holotherapper/claude-chron
Releases · holotherapper/claude-chron
Release list
v0.1.1
Fixed
- Runaway CPU from hook indexing. Three compounding causes, all fixed:
- Chunk-level incremental indexing: re-indexing a grown transcript now embeds only new chunks (diffed by
chunk_uid) and removes stale ones, instead of re-embedding the entire transcript on everyStophook - Per-session single-flight lock (
~/.claude-chron/locks/<session_id>.lock, advisory flock): overlapping hook invocations exit immediately instead of indexing the same session concurrently - ONNX Runtime intra-op threads bounded to 4 by default (was: all cores); configurable via
embedding.intra_threads(0 = all cores)
- Chunk-level incremental indexing: re-indexing a grown transcript now embeds only new chunks (diffed by
SessionEndhook no longer force-re-embeds the whole session; it indexes incrementally likeStop
Changed
- MSRV raised to 1.89 (std file locking)
v0.1.0
Local RAG search over Claude Code session history. Verbatim (no LLM
summarization), nothing injected into sessions, secrets redacted before storage.
Added
- Hybrid search: ONNX bge-m3 semantic embedding + FTS5 trigram keyword search fused with RRF
- MCP server with
search,expand,read_session, andlist_sessionstools - Claude Code
Stop/SessionEndhooks that only index sessions silently — nothing is summarized or injected back into any session - Verbatim recall: indexes cleaned transcript turns (no LLM summarization step);
read_session/expandserve the stored, redacted turns so recall works even after the original transcript is pruned or moved - Secret redaction before storage across all content (user/assistant text, tool-call summaries, chunk text and titles): API keys/tokens (incl. Anthropic
sk-ant-), compound secret keys (client_secret,aws_secret_access_key, …),Bearertokens, PEM private keys, JWT, env-var assignments, home-path normalization. Redaction is mandatory (not configurable) redact-dbcommand: re-applies redaction to all stored turns and chunks (incl. titles and the FTS shadow) in place, idempotently- Project filtering for scoped searches;
migratecommand for project path renames - Incremental indexing keyed on session id, SHA-256, mtime, and an index signature (embedding model, dimension, chunk size, redaction version) so changing any of them re-indexes affected sessions instead of skipping them
- Atomic session indexing (single transaction, rollback on failure); the database directory and file are created owner-only (
0700/0600); MCP server loads the embedding model once per process - Configurable embedding model, database path, and chunking via TOML