Tags: moazbuilds/CodeMachine-CLI
Tags
🚀 Release v0.7.0 - Bun Migration & Modern TUI 🚀 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 codemachine@0.7.0 or using Bun: bun install -g codemachine@0.7.0
Release v0.5.0 - OpenCode Integration & Type Safety 🎉 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
Release v0.4.3 - Loop Progress Display: UI now shows task completion status in cycle iterations - Claude Session Status: Added analyzing status message on session initialization - Task Progress Reporting: Task verification workflow reports progress as Task X/Y format - UI State Management: Improved loop state persistence - Debug Logging: Added debug output for loop state tracking - Workflow Transparency: Better visibility into task completion progress - Loop Reason Display: Fixed bug where loopReason was cleared during agent reset - State Synchronization: Loop round and reason properly preserved across resets
✨ 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 codemachine@0.4.2
Release v0.4.1 Features: - Add Grok model support and improve cursor status handling - Add monitoring with async registry operations and file locking - Check for cursor updates support Fixes: - Fix CCR engine bug - Fix monitoring cleanup with correct process.emit type - Search for foundation file improvements Refactoring: - Remove redundant engine field from agent configs - Remove unused fs import from registryLock - Update contextual information in runtime preparation agent Starting from commit d3e666b
**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. --- - **Real-time Agent Monitoring Dashboard**: Live visualization of workflow execution with agent status, progress tracking, and detailed log streaming - **Interactive Session Shell UI**: Ink-powered terminal interface with smooth scrolling, dynamic panel sizing, and responsive navigation - **Timeline Navigation**: Intuitive workflow timeline with keyboard navigation, scroll position persistence, and visual progress indicators - **Two-Stage Ctrl+C Handling**: Graceful workflow exit with proper cleanup and status management - **Text Wrapping & Layout**: Smart text wrapping, width calculations, and optimized terminal layout for better readability - **User-Revolved Workflow Design**: Workflows now intelligently adapt to user needs with contextual decision points and interactive elements - **Intelligent Agent Coordination**: Enhanced agent-to-agent communication with shared context and collaborative decision-making - **Connected Architecture Pipeline**: Seamless flow between planning, architecture, and execution phases with improved information sharing - **Dynamic Workflow Adaptation**: Workflows that respond to user input and project requirements in real-time - **UI/UX Designer Agent**: New specialized agent dedicated to user interface and experience design within the architecture pipeline - **Enhanced Architecture Sub-Agents**: Improved agent coordination with specialized roles for UI/UX, specifications, and blueprint design - **Intelligent Architecture Orchestration**: Better connected architecture workflow with improved agent protocols and information flow - **Comprehensive Blueprint Structure**: Detailed architectural planning with enhanced template systems and validation - **Workflow Resume Capability**: Resume workflows from the last incomplete step, allowing you to pick up where you left off after interruptions - **Checkpoint System**: Manual review checkpoints with pause/resume functionality for critical workflow stages - **Intelligent Loop System**: Advanced loop behavior with iteration tracking, runtime monitoring, and configurable triggers via config file - **UI Elements Integration**: Seamlessly integrate UI steps within workflows for interactive user input and confirmation - **Fallback Agent Support**: Automatically handle incomplete workflow steps with fallback agents for improved reliability (30-minute timeout) - **Workflow Abort Functionality**: Graceful abort capability with proper cleanup and status reporting - **Complete CCR Integration**: Full support for Claude Code Router engine with authentication, permission management, and bypass flags - **Enhanced Authentication Handling**: Improved user guidance and error handling for CCR authentication flows - **Comprehensive Test Suite**: Extensive test coverage for CCR engine functionality and edge cases - **Telemetry Capture System**: Comprehensive logging and metrics collection for engine executions with cached token calculations - **Execution History Tracking**: Complete workflow execution history with search, navigation, and detailed analytics - **PID Tracking & Validation**: Real-time process monitoring with PID tracking and agent validation for system safety - **Structured Output Formatting**: Consistent, structured logging system with improved readability and debugging capabilities - **Global CLI Support**: Enhanced CLI with --spec flag for global usage and dynamic path management - **Update Notifier**: Get notified when a new version of CodeMachine is available - **Comprehensive Terminal Utilities**: Advanced terminal clearing, resizing hooks, and utility functions - **React DevTools Integration**: Enhanced development experience with integrated debugging tools - **UI Performance Revolution**: Shared spinner context, optimized polling, batch updates, and cached rendering - **Memory Management**: Write-only memory system, removed in-memory buffering, switch to log file streaming - **Process Management**: Improved process cleanup, signal handling, and async loop operations - **Execution Pipeline**: Enhanced prompt formatting, output display, and command execution markers - **Standardized Engine Configuration**: Unified engine settings across all sub-agents and components - **Simplified Configuration**: Streamlined agent config and workflow engine settings for easier setup - **Enhanced Protocols**: Updated agent protocols with improved task extraction and coordination - **Flexible Loop Triggers**: Configure loop behavior with optional triggers via config file for more control - **Smart Agent Communication**: Improved inter-agent messaging and context sharing for more intelligent workflows - **Comprehensive Documentation**: Restructured docs, contributing guidelines, and project scale classification - **Enhanced Templates**: Improved workflow templates, agent prompts, and configuration examples - **Better Examples**: Clearer task validation output format templates and usage examples - **Viewport & Layout Issues**: Fixed terminal viewport sizing errors and layout inconsistencies - **Race Conditions**: Resolved agent ID mapping conflicts with version counter system - **Navigation Issues**: Fixed keyboard input handling when history/log viewer is open - **Duplicate Prevention**: Eliminated duplicate agent entries in workflow execution - **Auto-scroll Control**: Prevented unwanted auto-scroll when updating visible items - **Process Management**: Improved process cleanup, signal handling, and workflow start behavior - **Timeout Handling**: Increased retry timeouts from 10 to 30 seconds for better reliability - **Memory Issues**: Fixed total input tokens calculation to properly include cached tokens - **Workflow Performance**: Resolved very slow workflow execution issues - **Loop Trigger Functionality**: Fixed issues with loop triggers not working correctly - **Template Variables**: Fixed incorrect task_fallback path and template variable names - **Error Messages**: Improved placeholder error messages to be more helpful and informative - **Path Handling**: Simplified agent prompt paths by removing unnecessary path module usage - **Step Tracking**: Fixed workflow step tracking for agents in execution pipeline \`\`\`bash npm install -g codemachine@0.4.0 \`\`\` This release includes **no breaking changes**. All existing workflows, configurations, and templates remain fully compatible. 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 This release represents a major leap forward in intelligent workflow automation, combining powerful UI capabilities with smart, user-centered workflow design. **Key innovations in v0.4.0:** - **User-Revolved Design**: Workflows that truly understand and adapt to user needs - **Connected Intelligence**: Seamless agent collaboration for more coherent project execution - **UI/UX Excellence**: Dedicated design agent ensuring exceptional user experience in all projects
PreviousNext