Skip to content

Releases: techcraze00/CodeGraphX

v1.0.5

03 May 16:21

Choose a tag to compare

v1.0.5 Pre-release
Pre-release

CodeGraphX v1.0.5 — Release Notes

New Features & Capabilities

  • Codebase Doctor Utility: Introduced a new diagnostic tool designed to assess codebase health. The doctor utility aggregates and reports parse failures, syntax errors, unresolvable local imports, and dead or external call targets.
  • Advanced Syntax Error Detection: Enhanced the internal parser to accurately identify and report ERROR and MISSING nodes utilizing Tree-sitter.
  • Diagnostic Visual Reports: Implemented clean, color-coded console output to improve the readability of codebase health checks.

MCP Server Enhancements

  • Self-Healing Initialization: The MCP server now automatically detects if a code graph is missing or empty and seamlessly triggers a codegraphx scan upon startup.
  • Fast-Startup Mode: Introduced mcpMode for scanning operations. This mode bypasses the generation of heavy visual artifacts (such as HTML dashboards, D3 JSON, and TOON files) to ensure rapid startup and prevent agent timeouts.
  • Stdio Stream Isolation: Strengthened logging architecture to route all internal warnings and logs strictly to stderr. This ensures stdout remains clean, preventing JSON-RPC communication corruption.

Architecture & Refactoring

  • Scanner Consolidation: Centralized the core scanning logic into a reusable src/scanner.js module, unifying operations across both the CLI and the MCP server.
  • Enhanced Entity Extraction: Integrated a collectSyntaxErrors mechanism into the extraction pipeline to provide highly granular error localization (line and column numbers) alongside contextual code snippets.

Bug Fixes & Stability Improvements

  • Resolved file discovery failures caused by missing or broken symlinks.
  • Fixed path resolution issues that occurred when running the MCP server from nested project subdirectories.
  • Updated the verify-mcp test suite to improve execution reliability across varied local environments.