Skip to content

⚡ CodeGraphy v2.2.0 Release

Latest

Choose a tag to compare

@Vindettobkb Vindettobkb released this 18 Nov 16:21
374c0fa

CodeGraphy v2.2.0 — Context Intelligence, Quality Scoring & Graphite UI

CodeGraphy v2.2.0 shifts from simple AST compression to verified context quality for AI coding agents (Cursor, Claude Code, Codex, OpenCode, Antigravity).

What's New

  • 3 Context Compression Levels (full / behavioral / structural) + get_symbol_body:
    • behavioral mode keeps control flow (if/match), raise, return, assert, await, function calls, and state mutations (self.x = ...) while stripping logging and local noise.
    • get_symbol_body lets agents fetch a single function, class, or method on demand.
  • Dynamic Blind-Spot Detection ([DYNAMIC_LOOKUP]):
    • Automatically flags files using os.getenv, os.environ, getattr, importlib, globals(), or __getattr__ so agents never blindly trust incomplete static skeletons.
  • Task-Scoped BM25 Context Builder (build_task_context) + ContextQualityReport:
    • Pure-Python BM25 entry-file discovery with strict 0/1/2-hop token budgeting (never exceeds max_tokens).
    • Returns an explicit confidence_score, missing_dependencies (budget_exceeded, dynamic_import, unresolved_alias), and actionable warnings.
  • Typed Dependency Edges & Incremental Freshness:
    • Lazy mtime → sha256 freshness tracking (fresh / stale), tsconfig.json & pyproject.toml alias resolution, and FastAPI ↔ fetch/axios api_link detection.
  • Security Guardrails:
    • Strict workspace path sandbox (safe_path) and automatic secret scrubbing (.env, *.pem, *.key, sk-, ghp_, AKIA) across all 16 STDIO MCP tools.
  • Standalone CI Architecture Linter (ci-lint) & snapshot:
    • Deterministic graph_snapshot.json export, Tarjan SCC cycle detection, and GitHub Actions annotations (::error / ::warning).
  • Graphite UI & Faster Startup:
    • Monochrome Graphite dark theme (Electron + React Flow v12) and Nuitka --standalone backend packaging (~726 ms cold backend start).
  • Offline Ed25519 Licensing:
    • Zero-network license verification.

Benchmark Highlights (httpx, rich, typer)

  • httpx (132,795 base tokens) → 3,655–4,996 tokens (96.2–97.3% reduction)
  • rich (388,659 base tokens) → 3,996–4,871 tokens (98.7–99.0% reduction)
  • typer (146,612 base tokens) → 4,067–5,000 tokens (96.7–97.2% reduction)

Downloads & SHA-256 Checksums

  • CodeGraphy Setup 2.2.0.exe (Recommended for fast startup — Windows Installer, includes bundled backend)
    • SHA-256: 7b3600f33ea0083e1c9f164b105d8fe8f9965d36b2fb7677f00f9cfd1a1c849d
  • CodeGraphy Portable 2.2.0.exe (No installation required — extracts to temp on launch)
    • SHA-256: c1ec345c5373555922455070ab8f4e6f8eb6ed9468e472039bd44e5fe40e9846

Website & Playground: https://codegraphy.software
Open-Source Lite (pip install codegraphy-lite): https://github.com/Vindettobkb/codegraphy-lite