Skip to content

v0.1.7 - Enhanced Logging & Error Handling

Choose a tag to compare

@moazbuilds moazbuilds released this 08 Oct 13:50
· 765 commits to main since this release

✨ 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