fix(opencode-plugin): drop CJS bundle to fix OpenCode plugin loader (#3883)

Integrated into release/v3.8.26 (scoped to the ESM-only loader fix)
This commit is contained in:
Hernan Javier Ardila Sanchez
2026-06-15 17:39:36 +02:00
committed by GitHub
parent 6c1c055a20
commit a475389b98
3 changed files with 74 additions and 12 deletions

View File

@@ -3,19 +3,16 @@
"version": "0.1.0",
"description": "OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @opencode-ai/plugin contract.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./runtime": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [