2025-08-02 18:50:19 -04:00
|
|
|
{
|
|
|
|
|
"$schema": "https://json.schemastore.org/package.json",
|
2026-09-07 17:19:33 -04:00
|
|
|
"name": "@opencode/plugin",
|
2026-11-29 20:56:02 +00:00
|
|
|
"version": "2.4.3",
|
2025-08-02 18:50:19 -04:00
|
|
|
"type": "module",
|
2026-01-02 17:29:09 -05:00
|
|
|
"license": "MIT",
|
2025-08-02 18:50:19 -04:00
|
|
|
"scripts": {
|
2026-09-02 17:04:15 -04:00
|
|
|
"test": "bun test --only-failures",
|
2026-10-23 09:23:31 +10:00
|
|
|
"typecheck": "bun check --no-script",
|
|
|
|
|
"typecheck:tsc": "tsc --noEmit",
|
2026-10-26 14:21:29 -04:00
|
|
|
"build": "tsc -p tsconfig.build.json",
|
2026-10-27 10:54:50 +10:00
|
|
|
"pack": "bun run script/pack.ts",
|
|
|
|
|
"generate": "bun script/icon-name.ts"
|
2025-08-02 18:50:19 -04:00
|
|
|
},
|
|
|
|
|
"exports": {
|
2026-07-26 20:08:55 -04:00
|
|
|
".": "./src/promise/index.ts",
|
|
|
|
|
"./effect": "./src/effect/index.ts",
|
2026-09-02 17:04:15 -04:00
|
|
|
"./host": "./src/host.ts",
|
2026-10-07 16:57:24 -07:00
|
|
|
"./runtime": "./src/runtime.ts",
|
2026-07-26 20:08:55 -04:00
|
|
|
"./tui": "./src/tui/index.ts",
|
2026-10-27 10:54:50 +10:00
|
|
|
"./gui": "./src/gui/index.ts",
|
|
|
|
|
"./gui/main": "./src/gui/main.ts",
|
|
|
|
|
"./gui/host": "./src/gui/host.ts",
|
|
|
|
|
"./gui/builtin": "./src/gui/builtin.ts",
|
|
|
|
|
"./gui/file": "./src/gui/file.ts",
|
|
|
|
|
"./gui/review": "./src/gui/review.ts",
|
|
|
|
|
"./gui/browser": "./src/gui/browser.ts",
|
|
|
|
|
"./gui/updater": "./src/gui/updater.ts",
|
|
|
|
|
"./gui/vite": "./src/gui/vite.ts",
|
|
|
|
|
"./gui/*": null,
|
2026-07-26 20:08:55 -04:00
|
|
|
"./*": "./src/*.ts"
|
2025-08-02 18:50:19 -04:00
|
|
|
},
|
2026-09-05 17:00:41 -04:00
|
|
|
"imports": {
|
|
|
|
|
"#plugin-source": {
|
|
|
|
|
"bun": "./src/source.bun.ts",
|
|
|
|
|
"node": "./src/source.node.ts",
|
|
|
|
|
"default": "./src/source.node.ts"
|
|
|
|
|
}
|
|
|
|
|
},
|
2025-08-02 18:50:19 -04:00
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
2025-08-04 21:12:18 -04:00
|
|
|
"dependencies": {
|
2026-06-21 14:05:49 +02:00
|
|
|
"@ai-sdk/provider": "3.0.8",
|
2026-09-07 17:19:33 -04:00
|
|
|
"@opencode/ai": "workspace:*",
|
|
|
|
|
"@opencode/client": "workspace:*",
|
|
|
|
|
"@opencode/protocol": "workspace:*",
|
|
|
|
|
"@opencode/schema": "workspace:*",
|
|
|
|
|
"@opencode/util": "workspace:*",
|
2026-10-05 22:51:11 -07:00
|
|
|
"effect": "catalog:"
|
2025-08-04 21:12:18 -04:00
|
|
|
},
|
2026-03-27 15:00:26 +01:00
|
|
|
"peerDependencies": {
|
2026-09-07 17:19:33 -04:00
|
|
|
"@opencode/theme": "workspace:*",
|
2026-11-23 08:44:53 -06:00
|
|
|
"@opentui/core": ">=0.8.0",
|
|
|
|
|
"@opentui/solid": ">=0.8.0",
|
2026-10-27 10:54:50 +10:00
|
|
|
"electron": "*",
|
|
|
|
|
"solid-js": ">=1.9.0",
|
|
|
|
|
"vite": ">=6",
|
|
|
|
|
"vite-plugin-solid": ">=2.11"
|
2026-03-27 15:00:26 +01:00
|
|
|
},
|
|
|
|
|
"peerDependenciesMeta": {
|
2026-09-07 17:19:33 -04:00
|
|
|
"@opencode/theme": {
|
2026-07-29 12:51:55 -04:00
|
|
|
"optional": true
|
|
|
|
|
},
|
2026-03-27 15:00:26 +01:00
|
|
|
"@opentui/core": {
|
|
|
|
|
"optional": true
|
|
|
|
|
},
|
|
|
|
|
"@opentui/solid": {
|
|
|
|
|
"optional": true
|
2026-07-28 14:57:28 -04:00
|
|
|
},
|
2026-10-27 10:54:50 +10:00
|
|
|
"electron": {
|
|
|
|
|
"optional": true
|
|
|
|
|
},
|
2026-07-28 14:57:28 -04:00
|
|
|
"solid-js": {
|
|
|
|
|
"optional": true
|
2026-10-27 10:54:50 +10:00
|
|
|
},
|
|
|
|
|
"vite": {
|
|
|
|
|
"optional": true
|
|
|
|
|
},
|
|
|
|
|
"vite-plugin-solid": {
|
|
|
|
|
"optional": true
|
2026-03-27 15:00:26 +01:00
|
|
|
}
|
|
|
|
|
},
|
2025-08-02 18:50:19 -04:00
|
|
|
"devDependencies": {
|
2026-09-07 17:19:33 -04:00
|
|
|
"@opencode/theme": "workspace:*",
|
2026-04-25 09:41:30 -04:00
|
|
|
"@opentui/core": "catalog:",
|
|
|
|
|
"@opentui/solid": "catalog:",
|
2026-06-30 13:18:56 -04:00
|
|
|
"@tsconfig/bun": "catalog:",
|
2026-09-02 17:04:15 -04:00
|
|
|
"@types/bun": "catalog:",
|
2025-10-14 01:23:46 -04:00
|
|
|
"@types/node": "catalog:",
|
2026-10-27 10:54:50 +10:00
|
|
|
"electron": "44.9.1",
|
2026-07-28 14:57:28 -04:00
|
|
|
"solid-js": "catalog:",
|
2025-10-14 18:30:32 -04:00
|
|
|
"typescript": "catalog:",
|
2026-10-27 10:54:50 +10:00
|
|
|
"vite": "catalog:",
|
|
|
|
|
"vite-plugin-solid": "catalog:",
|
2026-10-17 13:26:46 -07:00
|
|
|
"@typescript/native": "catalog:"
|
2026-10-26 18:28:26 -04:00
|
|
|
},
|
|
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "git+https://github.com/anomalyco/opencode.git",
|
|
|
|
|
"directory": "packages/plugin"
|
2025-08-02 18:50:19 -04:00
|
|
|
}
|
2026-01-29 07:10:34 +00:00
|
|
|
}
|