Skip to content

Commit e21276e

Browse files
committed
fix(opencode): migrate opencode.json to 'plugin' singular schema
The 'plugins' array-of-objects shape was the legacy schema; current opencode-web3 requires 'plugin' as a flat array of paths/specs and rejects the old shape with: Error: Configuration is invalid at packages/opencode/opencode.json Unrecognized key: 'plugins' Migrate to the current schema so the plugin loads in fresh sessions.
1 parent 34c74a0 commit e21276e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

packages/opencode/opencode.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"$schema": "https://opencode.ai/schemas/opencode.json",
3-
"plugins": [
4-
{
5-
"name": "vigilo",
6-
"module": "./dist/index.js"
7-
}
3+
"plugin": [
4+
"./dist/index.js"
85
]
96
}

0 commit comments

Comments
 (0)