mirror of
https://github.com/Heretek-AI/opencode.git
synced 2026-11-21 11:19:27 -10:00
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.