Files
opencode-manager/ocm-cli/package.json
T
Chris Scott a9220e8604 chore(opencode): move the OpenCode pin to 2.2.3 and ocm-cli to OpenTUI 0.8 (OM-169)
OpenCode 2.2.3 requires TUI plugins built for OpenTUI 0.8. Move the single
OpenCode pin, the typed client and schema, the Docker default and the CI
download to 2.2.3, so the supported range becomes >=2.2.3 <3.0.0, and
regenerate the theme palettes from the v2.2.3 tag.

Move ocm-cli to @opencode/plugin and @opencode/theme 2.2.3 and OpenTUI 0.8.0,
raise the solid-js dev pin and peer floor to 1.9.16, and teach the
package-compat test to read the floor of a range peer, keeping a patch-level
0.x floor and normalizing prefixed versions.

Guard the CI workflow's download against the pin in the contract test, take
the binary test fixture from the pin, and document the ocm 0.5.x requirement
of a local OpenCode >= 2.2.3.
2026-10-30 21:33:54 -04:00

77 lines
1.8 KiB
JSON

{
"name": "@opencode-manager/ocm-cli",
"version": "0.5.0",
"description": "OpenCode Manager CLI: attach a local OpenCode TUI to a Manager-hosted repo.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chriswritescode-dev/opencode-manager.git",
"directory": "ocm-cli"
},
"type": "module",
"oc-plugin": [
"tui"
],
"exports": {
"./tui": {
"import": "./dist/tui.js"
}
},
"peerDependencies": {
"@opencode/theme": ">=2.2.3 <3.0.0",
"@opentui/core": ">=0.8.0 <0.9.0",
"@opentui/solid": ">=0.8.0 <0.9.0",
"solid-js": ">=1.9.16"
},
"peerDependenciesMeta": {
"@opencode/theme": {
"optional": true
},
"@opentui/core": {
"optional": true
},
"@opentui/solid": {
"optional": true
},
"solid-js": {
"optional": true
}
},
"bin": {
"ocm": "./dist/ocm.js"
},
"files": [
"dist",
"README.md",
"scripts/install.sh",
"scripts/postinstall.mjs"
],
"scripts": {
"build": "bun scripts/build.ts",
"postinstall": "node scripts/postinstall.mjs || true",
"typecheck": "tsc --noEmit",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "eslint . --ext .ts,.tsx --fix",
"test": "bun scripts/build.ts && vitest run",
"test:watch": "vitest",
"prepublishOnly": "bun scripts/build.ts"
},
"devDependencies": {
"@eslint/js": "^9.36.0",
"@opencode/plugin": "2.2.3",
"@opencode/theme": "2.2.3",
"@opencode-manager/shared": "workspace:*",
"@opentui/core": "0.8.0",
"@opentui/solid": "0.8.0",
"@types/bun": "^1.3.14",
"@types/node": "^22.0.0",
"eslint": "^9.39.1",
"jsonc-parser": "^3.3.1",
"solid-js": "1.9.16",
"typescript": "^5.5.0",
"typescript-eslint": "^8.45.0",
"uqr": "^0.1.3",
"vitest": "^3.1.0"
}
}