anomalyco / anomalyco/opencode

V2 config rejects named agent color tokens

Open
#38,796 0 comments 0 reactions 1 assignee View on GitHub

@kitlangton is already working on this.

Since Jul 25, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

V2 config validation rejects documented named agent color tokens like primary, secondary, and warning in agents.*.color

Plugins

No response

OpenCode version

v2 branch

Steps to reproduce
  1. Create an opencode.json with:
      {
        "agents": {
          "reviewer": {
            "color": "warning"
          }
        }
      }
    
  2. Start OpenCode from the v2 branch.
  3. Observe that the config is rejected during decode.
Screenshot and/or share link

No response

Operating System

NixOS Unstable

Terminal

Ghostty

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.