anomalyco / anomalyco/opencode

Error: ConfigInvalidError

Open
#49,844 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Error: ConfigInvalidError
at wrapClientError (oc://renderer/assets/main-mfFBJ4oT.js:57544:12)
at request (oc://renderer/assets/main-mfFBJ4oT.js:52460:28)
at async Object.get (oc://renderer/assets/main-mfFBJ4oT.js:66240:24)

────────────────────────────────────────
بسبب:
{
"body": {
"name": "ConfigInvalidError",
"data": {
"path": "C:\Users\Lenovo\.config\opencode\agent\scaffolder.agent.md",
"issues": [
{
"path": [
"tools"
],
"message": "Expected object | undefined, got ["read","edit","search","execute"]"
}
]
}
},
"status": 400
}

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.

Research direction

Start by reproducing the ConfigInvalidError with C:\Users\Lenovo.config\opencode\agent\scaffolder.agent.md and inspect the reported tools field. The stack trace points to the bundled renderer assets, including main-mfFBJ4oT.js. Done is not defined by the report; the expected configuration shape and a corrective outcome need to be established.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.