Prerequisites
Bug Description
This issue persists for me even after updating everything. I am using WSL.
#3138
Header 'x-opencode-agent-name' has invalid value: 'Atlas (Plan Executor)'
I tried updating my .config/opencode/opencode.json and switched the plugin from oh-my-openagent to oh-my-opencode and then when I launch opencode i see the newer names with dashes but those fail w/ the same error:
Header 'x-opencode-agent-name' has invalid value: 'Sisyphus - Ultraworker'
Sisyphus works when i dont do this. its Atlas that repeatedly doesnt work.
Steps to Reproduce
Setup omo and opencode on WSL
Connect to providers - OpenAI, Claude, and Gemini
Run opencode
Create a plan with Prometheus (Opus 4.6)
/start-work
Expected Behavior
I expect Atlas to run. Other agents are working.
Actual Behavior
Fails with the following error:
Header 'x-opencode-agent-name' has invalid value: 'Atlas (Plan Executor)'
Doctor Output
(base) <redacted>:~/src/<redacted>$ bunx oh-my-openagent version
oh-my-opencode v3.16.0
(base) <redacted>$ bunx oh-my-openagent doctor --verbose
oMoMoMoMo Doctor
System Information
────────────────────────────────────────
✓ opencode 1.4.1
✓ oh-my-opencode unknown
✓ bun 1.3.11
✓ path /home/<redacted>/.opencode/bin/opencode
Configuration
────────────────────────────────────────
✓ /home/<redacted>/.config/opencode/opencode.json (valid)
Tools
────────────────────────────────────────
⚠ LSP none detected
✓ ast-grep CLI installed
✓ ast-grep napi installed
✗ comment-checker not found
✗ gh CLI not found
MCPs
────────────────────────────────────────
✓ context7
✓ grep_app
+ 1 user MCP(s):
✓ remotion-documentation
System
────────────────────────────────────────
OpenCode: 1.4.1
Plugin expected: unknown
Plugin loaded: unknown
Bun: 1.3.11
Configuration
────────────────────────────────────────
Path: /home/<redacted>/.config/opencode/oh-my-openagent.json
Error Logs
Configuration
Additional Context
No response
Operating System
Linux
OpenCode Version
1.4.1
Prerequisites
Bug Description
This issue persists for me even after updating everything. I am using WSL.
#3138
Header 'x-opencode-agent-name' has invalid value: 'Atlas (Plan Executor)'
I tried updating my .config/opencode/opencode.json and switched the plugin from oh-my-openagent to oh-my-opencode and then when I launch opencode i see the newer names with dashes but those fail w/ the same error:
Header 'x-opencode-agent-name' has invalid value: 'Sisyphus - Ultraworker'
Sisyphus works when i dont do this. its Atlas that repeatedly doesnt work.
Steps to Reproduce
Setup omo and opencode on WSL
Connect to providers - OpenAI, Claude, and Gemini
Run opencode
Create a plan with Prometheus (Opus 4.6)
/start-work
Expected Behavior
I expect Atlas to run. Other agents are working.
Actual Behavior
Fails with the following error:
Header 'x-opencode-agent-name' has invalid value: 'Atlas (Plan Executor)'
Doctor Output
Error Logs
Configuration
Additional Context
No response
Operating System
Linux
OpenCode Version
1.4.1