Pin the pi runtime packages to a single exact version so global npm installs resolve a compatible set. - Pin pi-ai and pi-coding-agent declarations across workspace manifests - Add a guard and tests that reject ranged or mismatched pi versions - Document the source-install fallback and add a patch changeset Files changed: .changeset/fn-8201-pin-pi-versions.md | 7 ++ docs/getting-started.md | 3 + package.json | 6 +- packages/cli/package.json | 4 +- packages/cli/src/__tests__/package-config.test.ts | 18 +++- packages/core/package.json | 2 +- packages/dashboard/package.json | 2 +- packages/engine/package.json | 4 +- packages/pi-claude-cli/package.json | 8 +- .../__tests__/check-pi-versions-pinned.test.mjs | 45 ++++++++ scripts/check-pi-versions-pinned.mjs | 120 +++++++++++++++++++++ 11 files changed, 205 insertions(+), 14 deletions(-) Fusion-Task-Id: FN-8201 Fusion-Task-Lineage: bf0ac363-df5f-4445-835b-cfd2d4909659 Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"name": "@fusion/pi-claude-cli",
|
|
"version": "0.60.0",
|
|
"description": "Fusion vendored fork: pi coding-agent extension that routes LLM calls through the Claude Code CLI. Forked from rchern/pi-claude-cli (MIT). See UPSTREAM.md.",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "index.ts",
|
|
"keywords": [
|
|
"pi-package"
|
|
],
|
|
"pi": {
|
|
"extensions": [
|
|
"index.ts"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Runfusion/Fusion",
|
|
"directory": "packages/pi-claude-cli"
|
|
},
|
|
"dependencies": {
|
|
"@agentclientprotocol/sdk": "0.24.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@earendil-works/pi-ai": "0.80.10",
|
|
"@earendil-works/pi-coding-agent": "0.80.10"
|
|
},
|
|
"devDependencies": {
|
|
"@earendil-works/pi-ai": "0.80.10",
|
|
"@earendil-works/pi-coding-agent": "0.80.10",
|
|
"@types/node": "^22.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.1.0"
|
|
},
|
|
"scripts": {
|
|
"test": "vitest run --reporter=dot",
|
|
"typecheck": "tsc --noEmit"
|
|
}
|
|
}
|