code-kb v1.0.0
Release Notes: code-kb v1.0.0
code-kb v1.0.0 is the foundational milestone release of the lightweight, agent-facing code-intelligence engine and Model Context Protocol (MCP) server.
Designed specifically for AI coding agents (such as Claude Code, Codex, Antigravity, Gemini, and Cursor), code-kb provides progressive disclosure, semantic symbol search, and surgical context slicing with minimal token consumption, zero background daemon bloat, and sub-15 MB retained memory.
Highlights & Key Capabilities
1. Zero-Workspace MCP Architecture (Invariant 1)
- MCP tool schemas never expose
workspace,repo_path, orroot_dirparameters. - Workspaces bind automatically via IDE handshake roots, per-project
.mcp.jsonCWD, or path inspection on tool calls. - Eliminates context-token burn, slash-separator mismatches, and agent path hallucination.
2. Dual-Distribution & Pinned Extractor Bundling (Invariant 7)
- Ships standalone precompiled archives bundling
code-kband the pinnedjulie-extract(v2.42.3) binary side-by-side. - Zero-dependency installation: users download a single archive and execute immediately without installing external AST parsers or runtimes.
- Supported targets:
- Linux x86_64 (
x86_64-unknown-linux-gnu) - macOS Apple Silicon (
aarch64-apple-darwin) - macOS Intel (
x86_64-apple-darwin) - Windows x86_64 (
x86_64-pc-windows-msvc)
- Linux x86_64 (
3. Complete 11-Tool Agent Catalog with Exact 1:1 CLI Parity
Every MCP capability has an exact 1:1 CLI command for direct terminal verification:
codebase_outline: Hierarchical directory & architecture outline without listing ignored files.file_skeleton: Stripped symbol outline with types and signatures (bodies removed to save context tokens).lookup_symbol: Exact or prefix symbol lookup with optional path scoping.search_symbols: Natural-language concept and keyword search backed by SQLite FTS5 BM25.get_symbol_body: Surgical extraction of a specific symbol body without reading entire source files.get_symbol_context: Surgical context slice returning the target body, immediate callee signatures, parameter types, and test locations in a single turn.find_references: Callers and callees reference analysis with workspace-symbol filtering.find_structural_facts: Framework and architectural facts (routes, queries, models, configurations).blast_radius: Multi-hop reverse reachability analysis using recursive SQLite CTEs with automated test target prediction.replace_symbol_body: Single-turn atomic AST-validated code replacement with tree-sitter pre-flight syntax checks and concurrency body hashing.telemetry_summary: Session tool usage, token savings, and efficiency diagnostics.
4. Worktree Isolation & Index Retargeting
- Automatic index retargeting (
retarget_artifact_root) when cloning or using git worktrees. - Isolated SQLite database at
<root>/.code-kb/artifact.dbper workspace and worktree; self-cleans on workspace removal.
5. Windows NTFS First-Class Support
- Full normalization of Windows verbatim paths (
\\?\C:\...) viadunce::simplified. - Strict forward-slash (
/) output contracts across all JSON and terminal outputs. - Comprehensive lock release discipline and verified compatibility on Windows 11 NTFS.
6. Cross-Platform Agent Hooks
code-kb hook [SessionStart|SubagentStart|PreInvocation]provides native routing directives for agent harnesses without requiring Node.js, Python, or bash wrappers.
7. Centralized Telemetry
- Durable, anonymous tool performance and token efficiency history tracked locally at
~/.code-kb/telemetry.db.
Assets & Checksums
| Archive | Platform | SHA256 Checksum |
|---|---|---|
code-kb-v1.0.0-x86_64-unknown-linux-gnu.tar.gz |
Linux x86_64 | 0898320f63a0265ee16b33e160e1d51a6db1bc79a77e5c94d03e3a4794e63f96 |
code-kb-v1.0.0-aarch64-apple-darwin.tar.gz |
macOS Apple Silicon | a80f3220ace2dc19b1884e03f5ceb873dd9cbbfa77884d46c8b9d6288647c087 |
code-kb-v1.0.0-x86_64-apple-darwin.tar.gz |
macOS Intel | 9491e8dc29da8b258b019463c2c199859f518e380295171a0670d30ec0c85b59 |
code-kb-v1.0.0-x86_64-pc-windows-msvc.zip |
Windows x86_64 | efd7b20cb6c475969a03395d985aee5c93e4bf43f550bc78d5914a84e27f9999 |