2025-07-31 13:00:29 +08:00
|
|
|
{
|
|
|
|
|
"$schema": "https://json.schemastore.org/package.json",
|
|
|
|
|
"name": "@opencode-ai/sdk",
|
2026-06-21 08:03:08 +08:00
|
|
|
"version": "1.17.9",
|
2025-07-31 13:00:29 +08:00
|
|
|
"type": "module",
|
2026-01-03 06:29:09 +08:00
|
|
|
"license": "MIT",
|
2025-08-03 06:50:19 +08:00
|
|
|
"scripts": {
|
2025-10-15 06:30:32 +08:00
|
|
|
"typecheck": "tsgo --noEmit",
|
2026-02-24 07:15:25 +08:00
|
|
|
"build": "bun ./script/build.ts"
|
2025-08-03 06:50:19 +08:00
|
|
|
},
|
2025-07-31 13:00:29 +08:00
|
|
|
"exports": {
|
2025-09-27 16:10:56 +08:00
|
|
|
".": "./src/index.ts",
|
|
|
|
|
"./client": "./src/client.ts",
|
2025-12-08 08:04:14 +08:00
|
|
|
"./server": "./src/server.ts",
|
2026-03-05 22:38:43 +08:00
|
|
|
"./v2": "./src/v2/index.ts",
|
|
|
|
|
"./v2/client": "./src/v2/client.ts",
|
|
|
|
|
"./v2/gen/client": "./src/v2/gen/client/index.ts",
|
2026-06-21 20:05:49 +08:00
|
|
|
"./v2/server": "./src/v2/server.ts",
|
|
|
|
|
"./v2/types": "./src/v2/gen/types.gen.ts"
|
2025-07-31 13:00:29 +08:00
|
|
|
},
|
|
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
|
|
|
|
"devDependencies": {
|
2026-01-25 12:00:40 +08:00
|
|
|
"@hey-api/openapi-ts": "0.90.10",
|
2025-10-11 05:56:33 +08:00
|
|
|
"@tsconfig/node22": "catalog:",
|
2026-04-03 11:18:50 +08:00
|
|
|
"@types/cross-spawn": "catalog:",
|
2025-10-14 13:23:46 +08:00
|
|
|
"@types/node": "catalog:",
|
2026-04-03 11:18:50 +08:00
|
|
|
"@typescript/native-preview": "catalog:",
|
|
|
|
|
"typescript": "catalog:"
|
2025-08-23 06:30:25 +08:00
|
|
|
},
|
2026-04-03 11:18:50 +08:00
|
|
|
"dependencies": {
|
|
|
|
|
"cross-spawn": "catalog:"
|
|
|
|
|
}
|
2026-01-29 15:10:34 +08:00
|
|
|
}
|