Skip to content

Releases: optave/ops-codegraph-tool

v1.3.0

22 Feb 03:01

Choose a tag to compare

Rust Core (napi-rs dual-engine)

This release introduces an optional Rust native core via napi-rs, running alongside the existing WASM engine with automatic fallback.

Features

  • Rust core via napi-rs with dual-engine support — native parsing engine that runs in parallel with WASM; automatically falls back to WASM if the native binary is unavailable (Phase 1)
  • Unified parser entry point — refactored parser.js as the single entry point for all parsing, routing to native or WASM transparently (Phase 1.2)
  • Incremental parsing via native ParseTreeCache — reuses previous parse trees for faster re-parses on file changes (Phase 1.3)
  • Native import resolution with batch optimization — resolves imports through the Rust core with batched processing for better throughput (Phase 1.4)
  • Graceful degradation & diagnostics — detailed engine status reporting and smooth fallback when native binaries are missing (Phase 1.5)
  • New embedding models — added jina-code, nomic-v1.5, and bge-large as embedding model options

Docs & Community

  • Added CONTRIBUTING.md and guide for adding new language support
  • Added project roadmap covering 6 evolution phases

CI/CD

  • Switched npm publish to Trusted Publishing (OIDC) — no more NPM_TOKEN secret needed
  • Added native build workflow for napi-rs
  • Added Claude Code Review workflow

Fixes

  • Fixed tree-sitter-hcl crate version compatibility
  • Removed non-existent php feature from tree-sitter-php dependency

Full Changelog: v1.2.0...v1.3.0

v1.2.0 — Multi-Query Search & 6 New Languages

21 Feb 23:37

Choose a tag to compare

Codegraph v1.2.0

New Features

  • Multi-query semantic search with RRF ranking — pass multiple queries to codegraph search and results are fused using Reciprocal Rank Fusion for better relevance. Includes duplicate query detection.

  • 6 new language parsers — codegraph now supports 10 languages:

    New Existing
    Go JavaScript/TypeScript/TSX
    Rust Python
    Java Terraform/HCL
    C#
    PHP
    Ruby

Other Changes

  • Added integration tests for build and all core query commands
  • Added manual npm publish workflow with provenance and environment gates
  • Documentation updates for new languages and multi-query search

Install / Upgrade

npm install -g @optave/codegraph@latest

v1.1.0 — Initial Public Release

21 Feb 23:37

Choose a tag to compare

Codegraph v1.1.0

First public release of @optave/codegraph — a fully local code dependency graph CLI.

Highlights

  • Function-level dependency graphs — traces calls across files, not just file-level imports
  • 5 languages supported: JavaScript, TypeScript, TSX, Python, Terraform/HCL
  • Semantic search with local embeddings (@huggingface/transformers) — no API keys, no cloud
  • Git diff impact analysiscodegraph diff-impact shows changed functions and their full blast radius
  • MCP server — AI agents query your graph directly via the Model Context Protocol
  • Cycle detection — find circular dependencies in your codebase
  • Graph export — DOT, Mermaid, and JSON output formats
  • Watch mode — incremental rebuilds on file changes
  • Zero cloud, zero telemetry — everything runs locally with tree-sitter WASM grammars

Install

npm install -g @optave/codegraph
codegraph build
codegraph query <symbol>