The OpenCode 2.x compatibility bridge, `opencode2.mjs`, is an unmodified copy of `scripts/opencode2.mjs` from magpie-community/plugins, distributed under that repository's MIT license. Keep it byte-identical to that copy. Upstream: https://github.com/magpie-community/plugins The implementation follows the public provider/auth/decision contracts. No third-party provider application logic is bundled here.