Releases: moazbuilds/CodeMachine-CLI
Releases · moazbuilds/CodeMachine-CLI
v0.3.0 - Enhanced Workflow Management
✨ 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 codemachine@0.3.0
v0.2.3 - Fix Profile Parameter
🐛 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
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
- Auth flows:
- 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 codemachine@0.2.2
v0.2.1 - Engines Revamp, Cursor Integration
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 codemachine@0.2.1
v0.1.7 - Enhanced Logging & Error Handling
✨ Features
- JSON output formatting with real-time streaming display for Codex execution
- Enhanced spinner with smart line clearing and terminal width truncation
- Improved stdin handling for both Codex and Claude CLI interactions
- Real-time workflow runtime display during agent execution
🔧 Improvements
- Refactored prompt delivery: Now uses stdin instead of command-line arguments for better security and compatibility
- Structured error logging: Both Codex and Claude now log detailed errors with exit codes, commands, and full error output
- Removed unused file output handling code for cleaner codebase
- Better terminal output normalization handling carriage returns and ANSI sequences
🐛 Bug Fixes
- Fixed rapid spinner flashing by adding 1-second cooldown after clearing
- Improved error visibility: Full error context now logged instead of just first line
- Fixed trigger matching logic in loop evaluator to handle formatted output correctly
- Better handling of JSON streaming events to prevent UI flickering
📦 Installation
npm install -g codemachine@0.1.7
v0.1.5 - Multi-Engine Support (Experimental)
🧪 Experimental Features
- Added Claude AI CLI support as a new execution engine (experimental)
- Multi-engine orchestration: Run Codex and Claude agents together seamlessly
- Achieve unprecedented results by combining multiple AI engines in a single workflow
- Interactive authentication selection for Claude and Codex providers
🔧 Improvements
- Refactored session shell with clean separation of concerns
- Created reusable interactive selector component for better UX
- Reduced session-shell.ts size by 30% with dedicated handlers
- Better stdin handling during authentication flows
- Improved code maintainability and reusability
✨ Highlights
- Seamlessly switch between AI engines within your workflow (experimental)
- Leverage the strengths of both Codex and Claude for optimal performance
- Unified authentication and configuration management
🐛 Bug Fixes
- Fixed readline interference with auth input
- Improved raw mode cleanup and stdin listener management
📦 Installation
npm install -g codemachine@0.1.5