Uh oh!
There was an error while loading. Please reload this page.
feat: install local plugin dependencies from package.json - #6302
Conversation
82c8083 to
75d2a2cCompare75d2a2c to
3d1cff5Comparerekram1-node
commented
Dec 29, 2025
/review |
Suggestion: The new "Dependencies" section in
Since this PR enables local plugin dependencies, this old text should be updated to reflect the new behavior. Consider updating line 50 to remove the statement about dependencies not being installed automatically. |
elithrar
commented
Dec 29, 2025
Fixed — I rebased incorrectly on mobile after #6301. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…6302) Co-authored-by: OpenCode <opencode@example.com>
…6302) Co-authored-by: OpenCode <opencode@example.com>
…6302) Co-authored-by: OpenCode <opencode@example.com>
…6302) Co-authored-by: OpenCode <opencode@example.com>
…6302) Co-authored-by: OpenCode <opencode@example.com>
…6302) Co-authored-by: OpenCode <opencode@example.com>
…6302) Co-authored-by: OpenCode <opencode@example.com>
Co-authored-by: OpenCode <opencode@example.com>
Enables local plugins and custom tools to use external npm dependencies by running
bun installafter adding@opencode-ai/plugin..opencode/plugin/previously could not use external npm packages. If a plugin imported a package likeshescape, it would SILENTLY fail because dependencies were not installed and the tool would throw.bun installto install any additional dependencies defined in the config directory'spackage.json.usage:
Add a
package.jsonto your.opencode/directory:{ "dependencies": { "shescape": "^2.1.0" } }