opencode/packages/cli-rs/package.json
Simon Klee 5c873ff272
feat(cli-rs): add the P-CLI and P-PTY parity runners
A fake server serves a scenario's route table and logs requests. P-CLI runs the TS CLI from source and opencode-rs against it in isolated homes and compares exit code, stdout, stderr and requests. P-PTY runs both under a PTY through OpenTUI's embedded terminal and compares the OSC log and screen checkpoints.
2026-11-04 18:47:33 +01:00

29 lines
876 B
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode/cli-rs",
"version": "2.2.5",
"private": true,
"type": "module",
"scripts": {
"cargo": "cargo",
"generate": "bun run script/generate.ts",
"fixtures": "bun run parity/fixtures.ts",
"parity:cli": "bun run parity/cli/run.ts",
"parity:pty": "bun run parity/pty/run.ts",
"live": "sh script/live.sh",
"opentui-lib": "sh script/opentui-lib.sh",
"typecheck": "bun check --no-script",
"typecheck:tsc": "tsc --noEmit"
},
"devDependencies": {
"@opencode/httpapi-codegen": "workspace:*",
"@opencode/protocol": "workspace:*",
"@opentui/core": "catalog:",
"@opentui/solid": "catalog:",
"@tsconfig/bun": "catalog:",
"@types/bun": "catalog:",
"@typescript/native": "catalog:",
"effect": "catalog:",
"solid-js": "catalog:"
}
}