Commit graph

2 commits

Author SHA1 Message Date
Aiden Cline
77f7642d09 fix(plugin): serve bundled SDK to loose plugin files on Bun
Loose plugin files under .opencode/plugins or configured by path have no
node_modules, so the compiled Bun executable failed to resolve
@opencode/plugin. Register the host's own SDK modules as Bun virtual modules
when a plugin loads, matching the module hooks the Node executable already
registers in its bundle prelude.
2026-09-14 22:02:14 -05:00
Dax
ed3259a9b7
refactor(plugin): centralize host resolution (#46901) 2026-09-02 17:04:15 -04:00