Skip to content

Commit b3e553a

Browse files
committed
Pin @opencode-ai/plugin version with comment explaining npm plugin loading
- Changed @opencode-ai/plugin from devDependencies to dependencies - Pinned version to ~1.3.13 (patch updates only) - Added inline comment explaining why: opencode downloads npm plugins without devDependencies, causing module resolution failures - Kept peerDependency for documentation purposes
1 parent 1ca8af3 commit b3e553a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
]
7171
},
7272
"dependencies": {
73-
"@opencode-ai/plugin": "^1.3.13",
73+
"@opencode-ai/plugin": "~1.3.13", // Required for npm plugin loading (opencode downloads plugins without devDependencies)
7474
"chokidar": "^5.0.0",
7575
"ignore": "^7.0.5",
7676
"p-queue": "^9.1.1",
@@ -92,7 +92,7 @@
9292
},
9393
"peerDependencies": {
9494
"@modelcontextprotocol/sdk": "^1.29.0",
95-
"@opencode-ai/plugin": "^1.0.0",
95+
"@opencode-ai/plugin": "^1.0.0", // Bundled in dependencies for npm plugin loading
9696
"zod": "^3.0.0"
9797
},
9898
"peerDependenciesMeta": {

0 commit comments

Comments
 (0)