Skip to content

[Bug]: Header 'x-opencode-agent-name' has invalid value: '​Atlas (Plan Executor)' #3281

@nitelitelabs5

Description

@nitelitelabs5

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • I have searched existing issues to avoid duplicates
  • I am using the latest version of oh-my-opencode
  • I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer

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.

Image Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions