• v0.5.6 cc8b2c2bb4

    code-index v0.5.6
    All checks were successful
    CI / cargo fmt (push) Successful in 16s
    Release Build / Generate Version (push) Successful in 15s
    CI / cargo clippy (push) Successful in 54s
    CI / cargo test (push) Successful in 3m5s
    Release Build / Build linux-x86_64 (push) Successful in 5m6s
    Release Build / Build windows-x86_64 (push) Successful in 5m15s
    Release Build / Build linux-aarch64 (push) Successful in 5m32s
    Release Build / Build linux-x86_64-musl (push) Successful in 5m37s
    Release Build / Create Forgejo Release (push) Successful in 1m50s
    Stable

    buildagent released this 2026-07-07 09:29:35 +02:00 | 2568 commits to master since this release

    code-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_tests on find_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-daemon always reconciles so a partial index self-heals.

    Performance

    • search_symbols rewritten to be index-driven; new m0009 search indexes (NOCASE name, file-span) and m0010 indexed_at index.
    • entry_points collapsed 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_at indexes. 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
  • v0.5.5 2a1bae77c9

    code-index v0.5.5
    All checks were successful
    CI / cargo fmt (push) Successful in 16s
    Release Build / Generate Version (push) Successful in 15s
    CI / cargo clippy (push) Successful in 1m11s
    CI / cargo test (push) Successful in 2m55s
    Release Build / Build linux-x86_64 (push) Successful in 4m33s
    Release Build / Build windows-x86_64 (push) Successful in 5m20s
    Release Build / Build linux-x86_64-musl (push) Successful in 5m27s
    Release Build / Build linux-aarch64 (push) Successful in 5m47s
    Release Build / Create Forgejo Release (push) Successful in 1m56s
    Stable

    buildagent released this 2026-06-17 10:24:20 +02:00 | 2595 commits to master since this release

    code-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), and code-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
  • v0.5.4 8aa2304d6b

    code-index v0.5.4
    All checks were successful
    CI / cargo fmt (push) Successful in 16s
    Release Build / Generate Version (push) Successful in 16s
    CI / cargo clippy (push) Successful in 59s
    CI / cargo test (push) Successful in 2m47s
    Release Build / Build linux-x86_64 (push) Successful in 4m26s
    Release Build / Build linux-x86_64-musl (push) Successful in 5m8s
    Release Build / Build windows-x86_64 (push) Successful in 5m36s
    Release Build / Build linux-aarch64 (push) Successful in 5m39s
    Release Build / Create Forgejo Release (push) Successful in 1m57s
    Stable

    buildagent released this 2026-06-15 18:21:30 +02:00 | 2597 commits to master since this release

    code-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), and code-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
  • v0.5.3 3cc82d1854

    code-index v0.5.3
    All checks were successful
    CI / cargo fmt (push) Successful in 38s
    Release Build / Generate Version (push) Successful in 46s
    CI / cargo clippy (push) Successful in 46s
    CI / cargo test (push) Successful in 2m31s
    Release Build / Build linux-x86_64 (push) Successful in 4m20s
    Release Build / Build linux-aarch64 (push) Successful in 5m5s
    Release Build / Build linux-x86_64-musl (push) Successful in 5m4s
    Release Build / Build windows-x86_64 (push) Successful in 5m12s
    Release Build / Create Forgejo Release (push) Successful in 2m11s
    Stable

    buildagent released this 2026-06-15 17:26:38 +02:00 | 2599 commits to master since this release

    code-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), and code-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
  • v0.5.2 33da9dec99

    code-index v0.5.2
    All checks were successful
    Release Build / Generate Version (push) Successful in 16s
    CI / cargo fmt (push) Successful in 18s
    CI / cargo clippy (push) Successful in 2m44s
    CI / cargo test (push) Successful in 4m55s
    Release Build / Build linux-x86_64 (push) Successful in 8m29s
    Release Build / Build linux-x86_64-musl (push) Successful in 8m49s
    Release Build / Build linux-aarch64 (push) Successful in 8m51s
    Release Build / Build windows-x86_64 (push) Successful in 9m10s
    Release Build / Create Forgejo Release (push) Successful in 1m56s
    Stable

    buildagent released this 2026-06-11 22:19:17 +02:00 | 2601 commits to master since this release

    code-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), and code-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
  • v0.5.1 37714172e3

    code-index v0.5.1
    All checks were successful
    CI / cargo fmt (push) Successful in 16s
    Release Build / Generate Version (push) Successful in 23s
    CI / cargo clippy (push) Successful in 1m9s
    CI / cargo test (push) Successful in 3m51s
    Release Build / Build linux-x86_64-musl (push) Successful in 6m23s
    Release Build / Build linux-x86_64 (push) Successful in 6m34s
    Release Build / Build windows-x86_64 (push) Successful in 7m2s
    Release Build / Build linux-aarch64 (push) Successful in 7m4s
    Release Build / Create Forgejo Release (push) Successful in 1m57s
    Stable

    buildagent released this 2026-06-11 21:55:28 +02:00 | 2603 commits to master since this release

    code-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), and code-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
  • v0.5.0 96811c17fc

    code-index v0.5.0
    All checks were successful
    CI / cargo fmt (push) Successful in 24s
    Release Build / Generate Version (push) Successful in 22s
    CI / cargo clippy (push) Successful in 46s
    CI / cargo test (push) Successful in 2m55s
    Release Build / Build linux-x86_64 (push) Successful in 5m12s
    Release Build / Build linux-x86_64-musl (push) Successful in 6m4s
    Release Build / Build windows-x86_64 (push) Successful in 6m12s
    Release Build / Build linux-aarch64 (push) Successful in 6m23s
    Release Build / Create Forgejo Release (push) Successful in 1m54s
    Stable

    buildagent released this 2026-06-08 16:05:53 +02:00 | 2606 commits to master since this release

    code-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), and code-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
  • v0.4.2 dc5eb0f9c3

    code-index v0.4.2
    All checks were successful
    CI / cargo fmt (push) Successful in 16s
    Release Build / Generate Version (push) Successful in 16s
    CI / cargo clippy (push) Successful in 51s
    CI / cargo test (push) Successful in 3m41s
    Release Build / Build linux-x86_64 (push) Successful in 6m0s
    Release Build / Build linux-aarch64 (push) Successful in 6m32s
    Release Build / Build linux-x86_64-musl (push) Successful in 6m43s
    Release Build / Build windows-x86_64 (push) Successful in 7m5s
    Release Build / Create Forgejo Release (push) Successful in 2m1s
    Stable

    buildagent released this 2026-06-04 16:39:39 +02:00 | 2608 commits to master since this release

    code-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), and code-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
  • v0.4.1 5669573a04

    v0.4.1
    Some checks failed
    CI / cargo fmt (pull_request) Failing after 15s
    CI / cargo clippy (pull_request) Has been skipped
    CI / cargo test (pull_request) Has been skipped
    CI / cargo fmt (push) Failing after 16s
    CI / cargo clippy (push) Has been skipped
    CI / cargo test (push) Has been skipped
    Release Build / Generate Version (push) Successful in 15s
    Release Build / Build linux-x86_64 (push) Successful in 3m54s
    Release Build / Build linux-aarch64 (push) Successful in 4m18s
    Release Build / Build windows-x86_64 (push) Successful in 4m39s
    Release Build / Create Forgejo Release (push) Failing after 1m1s
    Stable

    buildagent released this 2026-06-04 15:41:06 +02:00 | 2613 commits to master since this release

    Security hardening

    Completes the parser recursion-depth hardening started in v0.4.0.

    v0.4.0 capped every plugin's walk recursion, 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 inside emit_type_ref / emit_receiver_type_refs, overflowing the daemon's worker stack — which catch_unwind cannot 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.1

    Downloads
  • v0.4.0 8b245d1a48

    v0.4.0
    Some checks failed
    CI / cargo fmt (pull_request) Failing after 18s
    CI / cargo clippy (pull_request) Has been skipped
    CI / cargo test (pull_request) Has been skipped
    CI / cargo fmt (push) Failing after 18s
    CI / cargo clippy (push) Has been skipped
    CI / cargo test (push) Has been skipped
    Release Build / Generate Version (push) Successful in 21s
    Release Build / Build linux-x86_64 (push) Successful in 5m9s
    Release Build / Build linux-aarch64 (push) Successful in 5m32s
    Release Build / Build windows-x86_64 (push) Successful in 5m40s
    Release Build / Create Forgejo Release (push) Failing after 1m3s
    Stable

    buildagent released this 2026-06-04 15:30:50 +02:00 | 2614 commits to master since this release

    Highlights

    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 / .gemspec and the extensionless Rakefile / Gemfile.
    • Modules, classes (+ superclass type refs), instance & singleton methods, top-level functions, constants, attr_* fields, require/require_relative imports, bare-call vs receiver method_call refs, and include/extend/prepend mixin refs.
    • Rails-aware associations: has_many / has_one / belongs_to / has_and_belongs_to_many emit a type reference to the associated model class — honoring class_name: and singularizing plural names — so find_references on 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_unwind cannot 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-layer correctness_ruby cross-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.0

    Downloads