chore: update opencode api to v2
Release / release (push) Failing after 5s

This commit is contained in:
2026-09-12 10:29:24 +02:00
parent 411cdd13ff
commit c48fe99b96
13 changed files with 740 additions and 37 deletions
+6 -5
View File
@@ -33,12 +33,13 @@
"lint": "oxlint --deny-warnings .",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"test": "bun test",
"build": "bun build src/index.ts src/quota-rpc.ts --outdir dist --target bun --format esm && bun build src/tui.tsx --outdir dist --target bun --format esm --external @opencode/plugin/tui --external @opentui/solid --external solid-js && tsc --project tsconfig.build.json --emitDeclarationOnly"
"test": "bun test --conditions=browser",
"build": "bun scripts/build.ts && tsc --project tsconfig.build.json --emitDeclarationOnly"
},
"devDependencies": {
"@opencode/client": "0.0.0-beta-19378",
"@opencode/plugin": "0.0.0-beta-19378",
"@opencode/client": "2.0.2",
"@opencode/plugin": "2.0.2",
"@opencode/schema": "2.0.2",
"@opentui/core": "0.5.10",
"@opentui/solid": "0.5.10",
"@oxlint/plugins": "1.82.0",
@@ -49,7 +50,7 @@
"typescript": "7.0.2"
},
"peerDependencies": {
"@opencode/plugin": "0.0.0-beta-19378",
"@opencode/plugin": "2.0.2",
"@opentui/core": ">=0.5.10",
"@opentui/solid": ">=0.5.10",
"solid-js": ">=1.9.0"