- Move headless configuration to beginning of swarmCommand function
- Fix issue where headless mode was falling back to basic executor
- Ensure stream-json format is used for Claude compatibility
- Clean up debug console.log statements
- Support CI/CD and Docker environments with proper non-interactive flags