mirror of
https://github.com/anomalyco/opencode.git
synced 2026-09-28 13:33:35 +08:00
73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
"name": "@opencode/plugin",
|
|
"version": "2.0.16",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"test": "bun test --only-failures",
|
|
"typecheck": "tsgo --noEmit",
|
|
"build": "tsc -p tsconfig.build.json"
|
|
},
|
|
"exports": {
|
|
".": "./src/promise/index.ts",
|
|
"./effect": "./src/effect/index.ts",
|
|
"./host": "./src/host.ts",
|
|
"./tui": "./src/tui/index.ts",
|
|
"./*": "./src/*.ts"
|
|
},
|
|
"imports": {
|
|
"#plugin-source": {
|
|
"bun": "./src/source.bun.ts",
|
|
"node": "./src/source.node.ts",
|
|
"default": "./src/source.node.ts"
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"@ai-sdk/provider": "3.0.8",
|
|
"@opencode/ai": "workspace:*",
|
|
"@opencode/client": "workspace:*",
|
|
"@opencode/protocol": "workspace:*",
|
|
"@opencode/schema": "workspace:*",
|
|
"@opencode/util": "workspace:*",
|
|
"@standard-schema/spec": "catalog:",
|
|
"effect": "catalog:",
|
|
"zod": "catalog:"
|
|
},
|
|
"peerDependencies": {
|
|
"@opencode/theme": "workspace:*",
|
|
"@opentui/core": ">=0.5.10",
|
|
"@opentui/solid": ">=0.5.10",
|
|
"solid-js": ">=1.9.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@opencode/theme": {
|
|
"optional": true
|
|
},
|
|
"@opentui/core": {
|
|
"optional": true
|
|
},
|
|
"@opentui/solid": {
|
|
"optional": true
|
|
},
|
|
"solid-js": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@opencode/theme": "workspace:*",
|
|
"@opentui/core": "catalog:",
|
|
"@opentui/solid": "catalog:",
|
|
"@tsconfig/bun": "catalog:",
|
|
"@tsconfig/node22": "catalog:",
|
|
"@types/bun": "catalog:",
|
|
"@types/node": "catalog:",
|
|
"solid-js": "catalog:",
|
|
"typescript": "catalog:",
|
|
"@typescript/native-preview": "catalog:"
|
|
}
|
|
}
|