Skip to content

Releases: mengshi02/axons

v1.1.0

09 Jun 13:10

Choose a tag to compare

v1.1.0 (2026-06-09)

Highlights

Desktop Runtime Migration: Migrated from Wails v3 to Electron, bringing native desktop integration with splash screen, external link handling, and macOS universal binary support.

IDE-Grade Terminal: Overhauled terminal experience with xterm 6 built-in scrollbar, pixel-precise resize, drag-resize jitter elimination, and content-jump prevention.

UI Performance: React.memo wrapping across all panels, virtualized lists for large datasets, and CSS containment for layout performance optimization.

File Preview: Image and video file preview support, with binary file content detection to prevent garbled text display.

Features

Desktop:

  • Migrate desktop runtime from Wails v3 to Electron
  • Add splash window (Axons logo + spinner) for instant visual feedback on startup
  • Parallelize daemon start and BrowserWindow creation for faster startup
  • Add desktop external link handling (open in system browser)
  • Publish using the axons-{product}-{os}-{arch}.{ext} format specification
  • Support macOS universal binary and single-arch builds (x64/arm64)
  • Optimize daemon port detection: event-driven resolve instead of polling

Terminal:

  • Adopt xterm 6 built-in scrollbar and fix drag-resize jitter
  • IDE-grade terminal resize with pixel-precise dimensions (replacing fitAddon.proposeDimensions)
  • Prevent content jump and bottom grey strip on resize
  • Save scroll position before fitAddon.fit(); scrollToBottom() after if user was at bottom
  • Make xterm-viewport background transparent to remove grey strip in light theme

UI:

  • Improve graph toolbar layout and context menu portal
  • Improve diff modal display
  • Add video file preview support
  • Preview image files instead of showing garbled binary text
  • Filter binary files in code panel using content detection
  • Add desktop external link handling and refactor dead code/hotspot analysis
  • Adopt IDE-style neutral menus
  • Prevent WKWebView elastic bounce when scrolling past the edge

Performance

  • Wrap all panel components with React.memo to prevent unnecessary re-renders
  • Stabilize callback props via useCallback/useRef cache to ensure React.memo works correctly
  • Wrap AppProvider context value in useMemo with explicit deps to avoid re-rendering all consumers
  • Add @tanstack/react-virtual virtualized lists to CodeHealthPanel, GraphAnalyticsPanel, and ImpactAnalysisPanel for large dataset performance
  • Add CSS containment to center column for layout performance
  • Optimize terminal resize performance with requestAnimationFrame batching
  • Scrollbar global boundary optimization

Bug Fixes

  • Fix terminal panel flash on resize
  • Fix terminal drag-resize jitter caused by Y-axis resize over-frequency
  • Fix terminal content jump and bottom grey strip on resize
  • Fix FileTree expand race conditions
  • Fix single-arch build always producing universal binary
  • Fix missing afterPack.js hook for Electron universal build
  • Fix scrollbar UX issues

Breaking Changes

  • Desktop runtime changed from Wails v3 to Electron. Build system and packaging commands have been updated accordingly.

v1.0.0

01 Jun 09:43

Choose a tag to compare

Highlights

Code Graph Engine: Tree-sitter based multi-language code parsing with automatic relationship graph building for functions, classes, interfaces, and dependencies.

AI-Powered Analysis: Deep code understanding with MCP (Model Context Protocol) server support, providing tools for semantic search, dependency tracking, and impact analysis for AI assistants.

Comprehensive Tooling: 20+ CLI commands for building, querying, auditing, and analyzing codebases with incremental indexing for efficient large-scale code handling.

Multi-Language Support: First-class support for Go, TypeScript, JavaScript, Python, Java, Rust, C/C++, and C# with extensible parser architecture, uses gotreesitter lib.

Visual Interface: React 19 + Sigma.js web UI with interactive graph visualization, code browsing, and AI assistant integration.

Advanced Analytics: Code complexity metrics, circular dependency detection, co-change analysis, data flow tracking, and control flow graph generation.

Features

Core Analysis Capabilities:

  • Code graph building with automatic node and edge extraction
  • Incremental indexing for efficient updates on large codebases
  • Multiple search modes: keyword, semantic (embedding-based), regex, and hybrid
  • Path finding and call chain analysis between symbols
  • Impact analysis for change propagation understanding

Code Quality & Metrics:

  • Circular dependency detection and reporting
  • Code complexity analysis with cyclomatic complexity metrics
  • Dead code identification
  • Code ownership mapping from git history
  • Co-change analysis to identify files that frequently change together

Advanced Analysis Tools:

  • Control Flow Graph (CFG) generation for functions
  • Data flow analysis to track variable usage
  • Branch comparison for understanding changes across git branches
  • Snapshot creation for temporal code analysis
  • Diff impact analysis for pull request review
  • Process detection and tracing for execution flows
  • Community detection using Louvain algorithm
  • PageRank for code importance ranking
  • Architecture rule checking with deny rules

MCP Server Integration:

  • 30+ tools for AI assistants via Model Context Protocol
  • Keyword search, semantic search, and hybrid search capabilities
  • Symbol lookup, callers/callees analysis, and path finding
  • Impact analysis and call chain discovery
  • Complexity metrics, co-change information, and PageRank
  • Architecture compliance checking and community detection
  • Process tracing for execution flow understanding
  • Cognitive context engine (bimodal embedding + scenario templates)
  • File system tools: read_file, write_file, run_command
  • Agent delegation for multi-agent collaboration

Plugin System:

  • Full plugin lifecycle management: install, activate, deactivate, uninstall
  • Plugin manifest protocol with permissions, activation events, and platform overrides
  • Frontend plugin SDK with iframe isolation, component library, and theme support
  • Backend plugin support with health check, environment variables, and CORS handling
  • Plugin data directory isolation per plugin with configurable uninstall modes
  • Shared state and event bus for inter-plugin communication
  • Lazy loading via activation events — zero resource usage when not enabled
  • Official extension repository: axons-extension-packages

Web Interface:

  • Interactive graph visualization using Sigma.js
  • Code browser with syntax highlighting (Prism.js)
  • Project management dashboard
  • AI-powered chat interface
  • Settings panel for embedding providers and LLM configuration
  • Real-time build progress and event streaming

CLI Tools:

  • build - Build code graph from source with incremental updates
  • query - Query nodes, edges, and relationships
  • search - Multi-mode search (keyword/semantic/regex)
  • audit - Comprehensive code quality audit with cycle detection
  • complexity - Analyze code complexity metrics
  • owners - Map code ownership from git history
  • path - Find paths between symbols
  • sequence - Generate call sequence diagrams
  • cfg - Generate control flow graphs
  • dataflow - Analyze data flow relationships
  • cochange - Identify co-changing files
  • diff-impact - Analyze impact of git diffs
  • branch-compare - Compare branches for differences
  • snapshot - Create and manage code snapshots
  • triage - Triage issues and identify affected code
  • embed - Generate embeddings for semantic search
  • export - Export graph data in various formats
  • watch - Real-time file monitoring and graph updates
  • registry - Manage multiple projects
  • stats - Get comprehensive project statistics

Storage & Performance:

  • SQLite-based persistent storage with project isolation
  • Global database for projects, settings, and agent profiles
  • Per-project databases for nodes, edges, files, and embeddings
  • Embedding cache for reuse until code changes
  • Lazy loading of project databases on demand

Embedding Providers:

  • OpenAI (text-embedding-3-small/large)
  • Ollama (nomic-embed-text, etc.)
  • Jina AI embeddings
  • Custom embedding endpoints
  • Multi-provider support with configurable defaults

AI Agent System:

  • ReAct Agent: Reasoning and Acting pattern with iterative tool execution
  • Multi-Agent Orchestration: Master orchestrator delegates tasks to specialized sub-agents
  • 5 Built-in Agent Profiles:
    • Orchestrator (default): Task decomposition and agent delegation
    • Architect: Module boundaries, dependency analysis, architecture compliance
    • Code Quality Analyst: Complexity, dead code, hotspots, coupling detection
    • Impact Analyst: Change impact scope, call chains, blast radius assessment
    • Code Engineer: Read/write files, execute commands, complete coding tasks
  • 30+ Agent Tools: Search, graph analysis, architecture, quality metrics, file operations, command execution
  • Agent Delegation: Orchestrator can delegate subtasks to specialized agents via delegate_to_agent tool
  • Conversation Memory: SQLite-based session management with context persistence
  • Streaming Events: Real-time thinking, tool execution, and token streaming

LLM Integration:

  • OpenAI (GPT-4, GPT-3.5, etc.)
  • Anthropic (Claude)
  • Ollama (local models)
  • Custom LLM endpoints
  • Tool calling support for function execution
  • Multi-round conversation with context management

Technical Details

Architecture:

  • CLI and Web UI share core business logic (internal/core)
  • HTTP API server for web interface with REST endpoints
  • WebSocket/SSE for real-time event streaming
  • MCP server for AI assistant integration
  • ReAct agent with reasoning and tool execution

Requirements:

  • Go 1.25+ for backend services
  • Node.js 22+ for frontend development
  • Tree-sitter for code parsing
  • SQLite for storage

Build & Deploy:

  • Cross-platform compilation (Linux, macOS, Windows)
  • Docker containerization with embedded frontend
  • Systemd service support
  • Makefile-based build automation

Dependencies:

  • github.com/modelcontextprotocol/go-sdk for MCP
  • gonum.org/v1/gonum for graph algorithms
  • modernc.org/sqlite for pure Go SQLite
  • github.com/spf13/cobra for CLI
  • github.com/odvcencio/gotreesitter for Tree-sitter bindings

Agent Skills

Three skills following the Agent Skills Specification:

Skill Description
code-graph-analyzer Architecture analysis, code quality metrics, and comprehensive audit reports
dependency-tracker Dependency mapping, circular dependency detection, and impact analysis
code-search-assistant Multi-mode search (keyword, semantic, regex, embedding) with context-aware results

All skills:

  • Follow the Agent Skills standard specification
  • Include YAML frontmatter with name, description, license, and metadata
  • Provide CLI-based workflows with axons commands
  • Can be used with any Agent Skills compatible AI assistant

Breaking Changes

Initial release - no breaking changes from previous versions.

Maintenance

Language Support:

  • Go, TypeScript, JavaScript (production-ready)
  • Python, Java, Rust, C/C++, C# (supported)
  • Extensible architecture for adding new languages

Testing:

  • Unit tests for extractors (Go, TypeScript, Python, Java, Rust)
  • Integration tests for graph operations
  • Test data fixtures for parser validation