Skip to content

Releases: moazbuilds/CodeMachine-CLI

v0.7.0 - Bun Migration & OpenTUI

22 Nov 21:59

Choose a tag to compare

🚀 Release v0.7.0 - Bun Migration & OpenTUI

🚀 Major Transformations:

Complete Bun Runtime Migration: Revolutionary shift from Node.js/pnpm to Bun runtime with massive performance improvements

  • 98% faster builds (114ms vs several seconds)
  • 60% faster startup time (~200ms vs ~500ms)
  • 50% less memory usage (~40MB vs ~80MB)
  • 78% faster test execution (3s vs 14s)
  • Unified runtime for development, testing, and production

Modern OpenTUI Interface: Complete terminal UI overhaul using OpenTUI/SolidJS

  • Beautiful, responsive TUI with custom CodeMachine theme
  • Toast notifications and dialog system
  • Dual-binary architecture to prevent JSX runtime conflicts
  • Fade-in animations and terminal background detection
  • Improved authentication flow with TUI restart and feedback

SQLite Database Migration: Replaced JSON-based agent registry with SQLite

  • Native concurrency handling (no more file locks)
  • Better performance and ACID compliance
  • 487 lines removed, 377 added (net simplification)
  • New export command for JSON compatibility

🎉 New Features:

  • Auggie CLI Engine Support: Added Auggie as a new engine provider
    • Full integration with 726 lines of new code
    • Auth, execution, and telemetry support
  • Embedded Resources System: Standalone binaries with compressed embedded resources and smart caching
  • Cross-Platform Binary Distribution: Automated GitHub Actions builds for Linux, macOS, and Windows
  • MkDocs Documentation: Professional documentation site with CI/CD
  • Abort Signal Support: Workflows can now be gracefully interrupted during execution
  • Cache Token Telemetry: Better visibility into prompt caching usage

🐛 Critical Bug Fixes:

  • Windows Authentication: Fixed all 5 engine providers failing on Windows by using Bun.which() to resolve .cmd files
  • OpenCode Multi-Provider Auth: Fixed authentication for non-OpenCode providers (Anthropic, OpenAI, etc.) in OpenCode engine
  • Stdin Data Loss: Pre-encode stdin input to prevent data loss in Bun
  • Process Resolution: Proper Bun executable path resolution in child processes
  • Empty Stdout Storage: Skip memory storage when stdout is empty
  • Version Flag: Fixed --version flag in compiled binaries
  • Windows Path Normalization: Proper path handling on Windows in dev mode
  • Windows Binary Path: Fixed binary not found error due to npm hoisting optional dependencies
  • Windows Package Installation: Fixed os field (windows -> win32) so npm installs the package on Windows

🔧 Improvements:

  • Removed execa, cross-spawn, tsx, tsup, vitest, and node dependencies
  • Native Bun.spawn() for all process operations
  • Removed legacy presentation layer (simplified architecture)
  • Better Ctrl+C handling with proper state management
  • Improved terminal dimension handling with safety checks
  • Enhanced debug logging throughout the system
  • Binary auto-installation and global linking
  • Update notifier system
  • Dependency fixes and improvements

Thanks to all contributors who helped make this release possible: @AlexFigures, @LegendEvent, @hadywalied, and @TheMightyDman

📦 Installation:

npm install -g [email protected]

or using Bun:

bun install -g [email protected]

Release v0.5.0 - OpenCode Integration & Type Safety

08 Nov 17:13

Choose a tag to compare

🎉 New Features

  • OpenCode CLI Integration: Added OpenCode as a first-class engine provider alongside Claude, Codex, Cursor, and CCR
    • Full registry-based provider pattern with JSON event streaming
    • Non-interactive execution via environment guardrails
    • XDG-compliant paths under OPENCODE_HOME (~/.codemachine/opencode)
    • Support for multiple authentication providers
    • Run with: codemachine opencode run or --engine opencode in workflows

🔧 Improvements

  • Type Safety: Replaced 'any' types with 'unknown' and proper type guards throughout telemetry system
  • Telemetry Refactoring: Implemented provider-specific telemetry parsers for better maintainability
  • CCR Auth Simplification: Streamlined authentication using simple .enable marker instead of .credentials.json
  • Engine Naming: Updated display names to be more descriptive (CCR → Claude Code Router, Claude → Claude Code)
  • ESLint Configuration: Updated to use tseslint.config for better type safety

🐛 Fixes

  • Process Cleanup: Improved child process termination with process group killing for Unix systems
  • Environment Variables: Fixed OpenCode runner to properly merge process.env with provided env
  • Race Conditions: Better handling of abort signals and process events

📚 Documentation

  • Comprehensive updates across README, CLI reference, and workflow guides
  • Added contributor credits for OpenCode integration

v0.4.3 - Enhanced UI Feedback & Loop Progress

06 Nov 00:13

Choose a tag to compare

✨ Features

  • Analyzing Status Message: Added analyzing status message on Claude session initialization for better user feedback
  • Loop Progress Display: Implemented loop progress with task completion status in UI for improved workflow visibility

🔧 Improvements

  • Workflow Engine Configuration: Updated engine configurations in CodeMachine workflow for better performance

📦 Installation

npm install -g [email protected]

Full Changelog: v0.4.2...v0.4.3

v0.4.2 - Bug Fixes & Model Support

05 Nov 22:23

Choose a tag to compare

✨ Features

No new features in this release

🔧 Improvements

Workflow Configuration: Updated step engines and models for better workflow execution
Agent Configuration: Removed redundant engine field from agent configs for cleaner setup
Code Organization: Removed unused imports and improved code structure
Documentation: Updated git-commit-workflow.md with additional gitignore rules

🐛 Bug Fixes

Registry Operations: Prevented race conditions in registry file handling
Registry Lock: Ensured file exists before locking to prevent corruption
Monitoring Cleanup: Fixed incorrect type usage in process.emit during cleanup

📦 Installation

npm install -g [email protected]

v0.4.1 - Bug Fixes & Model Support

05 Nov 16:53

Choose a tag to compare

✨ Features

  • Grok Model Support: Added Grok model support with improved cursor status handling
  • Enhanced Monitoring: Implemented async registry operations with file locking for better process management
  • Cursor Updates Check: Added support for checking cursor CLI updates

🔧 Improvements

  • Agent Configuration: Removed redundant engine field from agent configs for cleaner setup
  • Code Organization: Removed unused imports and improved code structure
  • Documentation: Updated contextual information in runtime preparation agent for better clarity

🐛 Bug Fixes

  • CCR Engine: Fixed critical bug in CCR (Claude Code Router) engine
  • Monitoring Cleanup: Fixed incorrect type usage in process.emit during cleanup
  • Foundation File Search: Improved foundation file search functionality

📦 Installation

npm install -g [email protected]

Full Changelog: v0.4.0...v0.4.1

🚀 CodeMachine v0.4.0 - Smart Connected Workflows & CLI UI Revolution

04 Nov 20:44

Choose a tag to compare

🚀 CodeMachine v0.4.0 Release Notes

🌟 Major Highlights

Revolutionary UI/UX Transformation: Complete overhaul from basic CLI to an interactive, real-time monitoring dashboard with Ink-powered interface, smooth scrolling, and dynamic terminal sizing.

Smart Connected Workflows: Next-generation workflow system with intelligent agent coordination, user-centered design, and seamless UI integration throughout the execution pipeline.

Advanced Architecture Agents: Enhanced architecture system with dedicated UI/UX Designer agent and improved agent orchestration for more cohesive and intelligent project planning.

Production-Ready Monitoring: Real-time agent orchestration system with PID tracking, telemetry capture, execution history, and multi-process safety features.


✨ Key Features

🎯 Interactive Dashboard & Real-time Monitoring

  • Live workflow execution visualization with agent status tracking
  • Ink-powered terminal interface with smooth scrolling and dynamic sizing
  • Timeline navigation with keyboard controls and progress indicators

🧠 Smart Connected Workflows

  • User-centered workflow design with adaptive decision points
  • Intelligent agent coordination with shared context and collaboration
  • Connected architecture pipeline with seamless information flow

🏗️ Advanced Architecture System

  • NEW: UI/UX Designer Agent for dedicated interface design
  • Enhanced architecture orchestration with improved agent protocols
  • Comprehensive blueprint structure with enhanced validation

🔄 Advanced Workflow Features

  • Resume workflows from interruptions
  • Checkpoint system for manual review stages
  • Intelligent loops with iteration tracking
  • UI elements integration for interactive workflows
  • Fallback agents for improved reliability

🚀 CCR Engine Integration

  • Complete Claude Code Router support
  • Enhanced authentication handling and user guidance
  • Comprehensive test suite coverage

🔧 Major Improvements

  • UI Performance Revolution: Shared spinners, optimized polling, batch updates
  • Smart Agent Communication: Improved inter-agent messaging and context sharing
  • Enhanced System Architecture: Standardized engine configuration across all components
  • Better Documentation: Comprehensive guides and enhanced templates

🐛 Bug Fixes

  • Fixed UI viewport and layout issues
  • Resolved agent ID mapping race conditions
  • Improved process cleanup and signal handling
  • Enhanced error messages and template variables
  • Fixed workflow performance issues

📦 Installation

npm install -g [email protected]

🔐 Compatibility

No breaking changes - Fully compatible with existing workflows, configurations, and templates.


🚀 What's New in v0.4.0

This release represents a major leap forward in intelligent workflow automation:

  • User-Revolved Design: Workflows that truly understand and adapt to user needs
  • Connected Intelligence: Seamless agent collaboration for coherent project execution
  • UI/UX Excellence: Dedicated design agent ensuring exceptional user experience

🙏 Acknowledgments

Special thanks to all contributors who made this release possible:

  • Adinda Praditya for CCR engine implementation and comprehensive testing
  • Sohayb for gitignore improvements and workflow fixes
  • bahyali for development tooling and UI fixes

v0.3.0 - Enhanced Workflow Management

13 Oct 19:14

Choose a tag to compare

✨ Features

  • Workflow Resume Capability: Resume workflows from the last incomplete step, allowing you to pick up where you left off after interruptions
  • Fallback Agent Support: Automatically handle incomplete workflow steps with fallback agents for improved reliability (30-minute timeout)
  • Update Notifier: Get notified when a new version of CodeMachine is available
  • Flexible Loop Triggers: Configure loop behavior with optional triggers via config file for more control over workflow execution
  • Improved Workflow Execution: Enhanced workflow execution with better step tracking and progress management

🔧 Improvements

  • Simplified Agent Configuration: Streamlined agent config and workflow engine settings for easier setup
  • Async Loop Handling: Made loop handling asynchronous with improved error logging for better performance
  • Reorganized Agent Prompts: Updated and reorganized agent prompts and workflow configuration for clarity
  • Better Documentation:
    • Added comprehensive CONTRIBUTING.md with contribution guidelines
    • Improved README readability and structure
    • Added workflow and agent templates for easier customization
    • Clearer task validation output format templates
    • Added LICENSE file

🐛 Bug Fixes

  • Loop Trigger: Fixed issues with loop trigger not working correctly
  • Workflow Performance: Resolved very slow workflow execution
  • Placeholder Error Messages: Improved error messages for placeholders to be more helpful and informative
  • Template Variables: Fixed incorrect task_fallback path and template variable names

📦 Installation

npm install -g [email protected]

v0.2.3 - Fix Profile Parameter

10 Oct 08:27

Choose a tag to compare

🐛 Bug Fixes

Fixed: Profile parameter removed from all engines

Issue: The profile parameter (e.g., --profile git-commit) was being passed through the engine system but was never actually used by any CLI commands. This was causing confusion and potential errors.

Solution: Completely removed the unused profile parameter from:

  • ✅ Codex engine (commands, runner, executor)
  • ✅ Claude engine (commands, runner, executor)
  • ✅ Cursor engine (commands, runner, executor)
  • ✅ Core engine types
  • ✅ Agent execution runner
  • ✅ Workflow step execution
  • ✅ CLI commands
  • ✅ Tests

Impact:

  • Cleaner, more maintainable codebase
  • Removed dead code across all engine providers
  • Fixed potential configuration errors related to profile usage
  • All engines now work consistently without profile parameter

Full Changelog: v0.2.2...v0.2.3

v0.2.2 - Better Engine CLI Detection

09 Oct 19:07

Choose a tag to compare

v0.2.2 - Better Engine CLI Detection
65ebc65

🐛 Bug Fixes

  • Handle missing engine CLIs with clear guidance on Windows and Unix
    • Auth flows: cursor-agent login, codex login, claude setup-token
    • Execution runners: Cursor, Codex, Claude
  • Detect platform-specific errors ("not recognized...", "command not found", ENOENT)
  • Avoid confusing generic "exit code 1" errors when CLIs are absent

🔧 Improvements

  • Consistent install hints pulled from engine metadata
  • No behavior change when CLIs are installed and available

📦 Installation
npm install -g [email protected]

v0.2.1 - Engines Revamp, Cursor Integration

09 Oct 18:33

Choose a tag to compare

v0.2.1 - Engines Revamp, Cursor Integration
da4ffb5

✨ Features

  • Cursor engine integration with CLI-config-based auth
  • Engine auth fallback: use first authenticated engine if override not authed
  • Spinner shows model and reasoning effort
  • Dynamic engine registration with sensible defaults
  • Support for CLAUDE_CODE_OAUTH_TOKEN environment variable

🔧 Improvements

  • Reorganize engine providers into core/providers structure
  • Remove unneeded model validation
  • Improve type safety and test reliability
  • Workflow template validation and engine config updates

🐛 Bug Fixes

  • Ensure step engine is set without any-cast
  • Remove unused import in template loader to satisfy lint

📦 Installation
npm install -g [email protected]