Files
opencode-manager/shared/package.json
Chris Scott 20017d2f7d chore(opencode): move the typed OpenCode SDK to the 2.1.2 pin
The runtime pin moved to 2.1.2 while @opencode/client stayed at 2.0.15, so
the shared typed contract no longer matched the server.

- @opencode/client and @opencode/plugin move to 2.1.2
- session projection follows the 2.1 event shape (native replaces
  providerState and state, compaction drops recent)
- worktree error stubs carry the _tag discriminator
- the contract test fails when the SDK version drifts from the pin
2026-10-23 15:45:36 -04:00

38 lines
1021 B
JSON

{
"name": "@opencode-manager/shared",
"version": "1.0.1",
"type": "module",
"private": true,
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./schemas": "./src/schemas/index.ts",
"./types": "./src/types/index.ts",
"./types/errors": "./src/types/errors.ts",
"./config": "./src/config/index.ts",
"./config/defaults": "./src/config/defaults.ts",
"./config/env": "./src/config/env.ts",
"./config/client": "./src/config/client.ts",
"./utils": "./src/utils/index.ts",
"./notifications": "./src/notifications/index.ts",
"./project-id": "./src/project-id-resolver.ts",
"./opencode": "./src/opencode/index.ts",
"./themes": "./src/themes/index.ts"
},
"dependencies": {
"@opencode/client": "2.1.2",
"jsonc-parser": "^3.3.1",
"zod": "^4.1.12"
},
"scripts": {
"typecheck": "tsc --noEmit"
},
"optionalDependencies": {
"dotenv": "^17.2.3"
},
"devDependencies": {
"typescript": "^5"
}
}