anomalyco / anomalyco/opencode
Error: ConfigInvalidError
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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