-
code-index v0.5.6
StableAll checks were successfulCI / cargo fmt (push) Successful in 16sRelease Build / Generate Version (push) Successful in 15sCI / cargo clippy (push) Successful in 54sCI / cargo test (push) Successful in 3m5sRelease Build / Build linux-x86_64 (push) Successful in 5m6sRelease Build / Build windows-x86_64 (push) Successful in 5m15sRelease Build / Build linux-aarch64 (push) Successful in 5m32sRelease Build / Build linux-x86_64-musl (push) Successful in 5m37sRelease Build / Create Forgejo Release (push) Successful in 1m50sreleased this
2026-07-07 09:29:35 +02:00 | 2568 commits to master since this releasecode-index v0.5.6
The precision release: a rewritten reference resolver, two new MCP tools, a
security + robustness hardening pass, and a broad performance sweep. Schema
advances v6 → v10 (auto-migrated on first run).Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),
code-index-daemon(long-lived watcher + RPC server, auto-spawned), and
code-index(CLI: init, index, watch, doctor, link).Highlights
- Two new MCP tools (10 → 12).
repo_map— a personalized PageRank over the reference graph, token-budgeted, for "what matters here" orientation.changed_symbols— a git-diff-aware report of which symbols a working-tree change touches.
- Three-tier reference resolver. Name resolution now applies a visibility gate, a same-file preference, then an import-based boost — lifting resolution on this repo from 16.2% → 21.4% while eliminating a class of false positives (qualified calls like
Vec::new()no longer take shortcuts). - Visibility-aware indexing across all 6 languages (Rust, TypeScript/JavaScript, Python, C#, PHP, Ruby).
Features
repo_map: personalized PageRank over the ref graph, token-budgeted, with deterministic attribution and target-sensitive edge caching.changed_symbols: git-diff-aware symbol report.- Reference roles v1: a Test role bit, with
exclude_testsonfind_references. response_format=concise|detailed, corrective hints, and pinned pagination on tool responses.- Outline-hash resolve firewall: per-file Skipped / Scoped / Full resolve scopes so edits only re-resolve what changed.
Security & robustness
- Closed a git-config RCE: a hostile repository can no longer inject code via
diff.external/fsmonitor/hooksPath; textconv is disabled. - Fixed a UTF-8 boundary panic and a leaf-symlink path-escape in the MCP server.
- Daemon RPC capability-token auth: a random 128-bit token (0600 file) authenticates every RPC; mismatches are rejected in constant time.
- Integrity-check now tolerates transient FTS5 lock contention (not treated as corruption); idle shutdown keys on activity age.
- Writer-thread death is now surfaced so the daemon exits and is respawned;
--no-daemonalways reconciles so a partial index self-heals.
Performance
search_symbolsrewritten to be index-driven; newm0009search indexes (NOCASE name, file-span) andm0010indexed_atindex.entry_pointscollapsed to a single scan; cross-project fan-out (search/repo_map) now runs concurrently.- Prepared-statement caching on the writer hot path; per-file and per-query allocation cut across indexer/daemon/mcp.
Schema
- Migrations m0006 – m0010 (schema v6 → v10):
symbols.visibility,refs.roles,files.outline_hash, crash-safe persistent resolve-pending tables, qualified-ref flag, and the search /indexed_atindexes. Existing databases auto-migrate on first run (one Full resolve pass after upgrade, by design).
Downloads
Platform Archive Linux x86_64 (glibc) code-index-v0.5.6-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.6-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.6-linux-aarch64.tar.gz Windows x64 code-index-v0.5.6-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.) SHA256 checksums (
.sha256) accompany every archive.Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }Full commit log:
git log v0.5.5..v0.5.6(27 commits).Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Two new MCP tools (10 → 12).
-
code-index v0.5.5
StableAll checks were successfulCI / cargo fmt (push) Successful in 16sRelease Build / Generate Version (push) Successful in 15sCI / cargo clippy (push) Successful in 1m11sCI / cargo test (push) Successful in 2m55sRelease Build / Build linux-x86_64 (push) Successful in 4m33sRelease Build / Build windows-x86_64 (push) Successful in 5m20sRelease Build / Build linux-x86_64-musl (push) Successful in 5m27sRelease Build / Build linux-aarch64 (push) Successful in 5m47sRelease Build / Create Forgejo Release (push) Successful in 1m56sreleased this
2026-06-17 10:24:20 +02:00 | 2595 commits to master since this releasecode-index v0.5.5
Build: v0.5.5+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.5.5-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.5-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.5-linux-aarch64.tar.gz Windows x64 code-index-v0.5.5-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
code-index v0.5.4
StableAll checks were successfulCI / cargo fmt (push) Successful in 16sRelease Build / Generate Version (push) Successful in 16sCI / cargo clippy (push) Successful in 59sCI / cargo test (push) Successful in 2m47sRelease Build / Build linux-x86_64 (push) Successful in 4m26sRelease Build / Build linux-x86_64-musl (push) Successful in 5m8sRelease Build / Build windows-x86_64 (push) Successful in 5m36sRelease Build / Build linux-aarch64 (push) Successful in 5m39sRelease Build / Create Forgejo Release (push) Successful in 1m57sreleased this
2026-06-15 18:21:30 +02:00 | 2597 commits to master since this releasecode-index v0.5.4
Build: v0.5.4+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.5.4-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.4-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.4-linux-aarch64.tar.gz Windows x64 code-index-v0.5.4-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
code-index v0.5.3
StableAll checks were successfulCI / cargo fmt (push) Successful in 38sRelease Build / Generate Version (push) Successful in 46sCI / cargo clippy (push) Successful in 46sCI / cargo test (push) Successful in 2m31sRelease Build / Build linux-x86_64 (push) Successful in 4m20sRelease Build / Build linux-aarch64 (push) Successful in 5m5sRelease Build / Build linux-x86_64-musl (push) Successful in 5m4sRelease Build / Build windows-x86_64 (push) Successful in 5m12sRelease Build / Create Forgejo Release (push) Successful in 2m11sreleased this
2026-06-15 17:26:38 +02:00 | 2599 commits to master since this releasecode-index v0.5.3
Build: v0.5.3+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.5.3-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.3-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.3-linux-aarch64.tar.gz Windows x64 code-index-v0.5.3-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
code-index v0.5.2
StableAll checks were successfulRelease Build / Generate Version (push) Successful in 16sCI / cargo fmt (push) Successful in 18sCI / cargo clippy (push) Successful in 2m44sCI / cargo test (push) Successful in 4m55sRelease Build / Build linux-x86_64 (push) Successful in 8m29sRelease Build / Build linux-x86_64-musl (push) Successful in 8m49sRelease Build / Build linux-aarch64 (push) Successful in 8m51sRelease Build / Build windows-x86_64 (push) Successful in 9m10sRelease Build / Create Forgejo Release (push) Successful in 1m56sreleased this
2026-06-11 22:19:17 +02:00 | 2601 commits to master since this releasecode-index v0.5.2
Build: v0.5.2+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.5.2-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.2-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.2-linux-aarch64.tar.gz Windows x64 code-index-v0.5.2-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
code-index v0.5.1
StableAll checks were successfulCI / cargo fmt (push) Successful in 16sRelease Build / Generate Version (push) Successful in 23sCI / cargo clippy (push) Successful in 1m9sCI / cargo test (push) Successful in 3m51sRelease Build / Build linux-x86_64-musl (push) Successful in 6m23sRelease Build / Build linux-x86_64 (push) Successful in 6m34sRelease Build / Build windows-x86_64 (push) Successful in 7m2sRelease Build / Build linux-aarch64 (push) Successful in 7m4sRelease Build / Create Forgejo Release (push) Successful in 1m57sreleased this
2026-06-11 21:55:28 +02:00 | 2603 commits to master since this releasecode-index v0.5.1
Build: v0.5.1+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.5.1-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.1-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.1-linux-aarch64.tar.gz Windows x64 code-index-v0.5.1-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
code-index v0.5.0
StableAll checks were successfulCI / cargo fmt (push) Successful in 24sRelease Build / Generate Version (push) Successful in 22sCI / cargo clippy (push) Successful in 46sCI / cargo test (push) Successful in 2m55sRelease Build / Build linux-x86_64 (push) Successful in 5m12sRelease Build / Build linux-x86_64-musl (push) Successful in 6m4sRelease Build / Build windows-x86_64 (push) Successful in 6m12sRelease Build / Build linux-aarch64 (push) Successful in 6m23sRelease Build / Create Forgejo Release (push) Successful in 1m54sreleased this
2026-06-08 16:05:53 +02:00 | 2606 commits to master since this releasecode-index v0.5.0
Build: v0.5.0+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.5.0-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.5.0-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.5.0-linux-aarch64.tar.gz Windows x64 code-index-v0.5.0-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
code-index v0.4.2
StableAll checks were successfulCI / cargo fmt (push) Successful in 16sRelease Build / Generate Version (push) Successful in 16sCI / cargo clippy (push) Successful in 51sCI / cargo test (push) Successful in 3m41sRelease Build / Build linux-x86_64 (push) Successful in 6m0sRelease Build / Build linux-aarch64 (push) Successful in 6m32sRelease Build / Build linux-x86_64-musl (push) Successful in 6m43sRelease Build / Build windows-x86_64 (push) Successful in 7m5sRelease Build / Create Forgejo Release (push) Successful in 2m1sreleased this
2026-06-04 16:39:39 +02:00 | 2608 commits to master since this releasecode-index v0.4.2
Build: v0.4.2+local
Three-binary release:
code-index-mcp(MCP stdio bridge — the usual entry),code-index-daemon(long-lived watcher + RPC server, auto-spawned), andcode-index(CLI: init, index, watch, doctor, link).Downloads
Only platforms that built successfully appear as assets below; the table lists all attempted targets.
Platform Archive Linux x86_64 (glibc) code-index-v0.4.2-linux-x86_64.tar.gz Linux x86_64 (static/musl) code-index-v0.4.2-linux-x86_64-musl.tar.gz Linux ARM64 code-index-v0.4.2-linux-aarch64.tar.gz Windows x64 code-index-v0.4.2-windows-x86_64.zip (macOS builds are added once a macOS runner is registered.)
Wire into Claude Code
{ "mcpServers": { "code-index": { "command": "/usr/local/bin/code-index-mcp", "args": ["--root", "/path/to/your/project"] } } }SHA256 checksums (.sha256 files) available for every archive.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.4.1
StableSome checks failedCI / cargo fmt (pull_request) Failing after 15sCI / cargo clippy (pull_request) Has been skippedCI / cargo test (pull_request) Has been skippedCI / cargo fmt (push) Failing after 16sCI / cargo clippy (push) Has been skippedCI / cargo test (push) Has been skippedRelease Build / Generate Version (push) Successful in 15sRelease Build / Build linux-x86_64 (push) Successful in 3m54sRelease Build / Build linux-aarch64 (push) Successful in 4m18sRelease Build / Build windows-x86_64 (push) Successful in 4m39sRelease Build / Create Forgejo Release (push) Failing after 1m1sreleased this
2026-06-04 15:41:06 +02:00 | 2613 commits to master since this releaseSecurity hardening
Completes the parser recursion-depth hardening started in v0.4.0.
v0.4.0 capped every plugin's
walkrecursion, but the self-recursive type-expression helpers in the Python, C#, and TypeScript plugins were still unbounded. A crafted file with a deeply nested type expression (List[List[...]],List<List<...>>,Array<Array<...>>) is reached via a shallow walk but recurses thousands of levels insideemit_type_ref/emit_receiver_type_refs, overflowing the daemon's worker stack — whichcatch_unwindcannot intercept.Each helper now routes through a depth-aware core guarded by
MAX_PARSE_DEPTH. Extraction behavior is unchanged; a deep-nested-type regression test per plugin confirms the guard (verified to SIGABRT with the cap disabled). PHP's type helper is structurally flat and needs no guard.With this, all six language parsers are fully guarded against the deeply-nested-input stack-overflow DoS — closing the last residual from the v0.4.0 ultradeep review.
Changes:
v0.4.0...v0.4.1Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
-
v0.4.0
StableSome checks failedCI / cargo fmt (pull_request) Failing after 18sCI / cargo clippy (pull_request) Has been skippedCI / cargo test (pull_request) Has been skippedCI / cargo fmt (push) Failing after 18sCI / cargo clippy (push) Has been skippedCI / cargo test (push) Has been skippedRelease Build / Generate Version (push) Successful in 21sRelease Build / Build linux-x86_64 (push) Successful in 5m9sRelease Build / Build linux-aarch64 (push) Successful in 5m32sRelease Build / Build windows-x86_64 (push) Successful in 5m40sRelease Build / Create Forgejo Release (push) Failing after 1m3sreleased this
2026-06-04 15:30:50 +02:00 | 2614 commits to master since this releaseHighlights
Ruby is now a fully supported language (sixth indexed language), with Rails-aware extraction — and this release closes a stack-overflow DoS that affected every language parser.
Ruby plugin
- Detects
.rb/.rake/.gemspecand the extensionlessRakefile/Gemfile. - Modules, classes (+ superclass type refs), instance & singleton methods, top-level functions, constants,
attr_*fields,require/require_relativeimports, bare-call vs receivermethod_callrefs, andinclude/extend/prependmixin refs. - Rails-aware associations:
has_many/has_one/belongs_to/has_and_belongs_to_manyemit a type reference to the associated model class — honoringclass_name:and singularizing plural names — sofind_referenceson a model surfaces its association sites.
Security: parser recursion-depth guard
A crafted file of deeply nested literals (well under the 2 MiB size cap) could overflow the worker stack and crash the long-lived daemon — and
catch_unwindcannot intercept stack exhaustion. All six language plugins now cap recursion depth, so a single malicious file can no longer take down the daemon. Verified with a 2 MiB-stack regression test on 20 000-deep input.Parity & tests
Wired Ruby into qualified-name separators, project-root detection (
Gemfile/*.gemspec), entry-point heuristics, ctags cross-validation, and the init template. Ships 25 unit tests, full e2e + Rails-association + parity coverage, and a 5-layercorrectness_rubycross-validation against ripgrep/ctags.Reviewed ultradeep by a multi-agent pass (correctness, security, performance, test coverage, cross-language parity, production readiness) with adversarial verification of every finding.
Changes:
v0.3.3...v0.4.0Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Detects