Description
When running opencode in a directory containing an opencode.json file with a skills array, the tool errors with: Invalid input: expected object, received array skills
Steps to reproduce:
Plugins
No response
OpenCode version
1.4.0
Steps to reproduce
- Open a project directory
- Ask Opnecode to create skills
- Opencode creates a opencode.json file containing a skills array
- Exit Opencode
- Run opencode in that directory Expected behavior: Skills should be loaded and available for useActual behavior: Error: Invalid input: expected object, received array skills
Sample minimal opencode.json that triggers the issue:
{
"skills": [
{
"name": "test",
"description": "Test skill",
"command": "echo test"
}
]
}
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
Description
When running opencode in a directory containing an opencode.json file with a skills array, the tool errors with: Invalid input: expected object, received array skills
Steps to reproduce:
Plugins
No response
OpenCode version
1.4.0
Steps to reproduce
Sample minimal opencode.json that triggers the issue:
{
"skills": [
{
"name": "test",
"description": "Test skill",
"command": "echo test"
}
]
}
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response