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>
114 lines
3.6 KiB
JSON
114 lines
3.6 KiB
JSON
{
|
|
"name": "@runfusion/fusion",
|
|
"version": "0.60.0",
|
|
"license": "MIT",
|
|
"description": "Fusion CLI: HTTP API server, daemon, dashboard launcher, and task tooling for the Fusion AI coding agent.",
|
|
"homepage": "https://github.com/Runfusion/Fusion#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/Runfusion/Fusion/issues"
|
|
},
|
|
"type": "module",
|
|
"keywords": [
|
|
"pi-package"
|
|
],
|
|
"bin": {
|
|
"fn": "./bin.mjs",
|
|
"fusion": "./bin.mjs"
|
|
},
|
|
"pi": {
|
|
"extensions": [
|
|
"./dist/extension.js"
|
|
],
|
|
"skills": [
|
|
"./skill"
|
|
],
|
|
"image": "https://raw.githubusercontent.com/Runfusion/Fusion/main/demo/screenshot.png"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"bin.mjs",
|
|
"dist/**/*.js",
|
|
"dist/**/*.d.ts",
|
|
"dist/**/*.d.ts.map",
|
|
"dist/**/*.js.map",
|
|
"dist/client/**",
|
|
"dist/desktop/**",
|
|
"dist/pi-claude-cli/**",
|
|
"dist/droid-cli/**",
|
|
"dist/plugins/**",
|
|
"skill/**",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"dev": "tsx src/bin.ts",
|
|
"prebuild": "node ../../scripts/sync-fusion-skill-tools.mjs",
|
|
"prepack": "node ./scripts/prepare-publish-manifest.mjs prepack",
|
|
"postpack": "node ./scripts/prepare-publish-manifest.mjs postpack",
|
|
"build": "tsup",
|
|
"build:package": "cross-env FUSION_CLI_FULL_PACKAGE=1 tsup",
|
|
"build:exe": "bun run build.ts",
|
|
"build:exe:all": "bun run build.ts --all",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run --silent=passed-only --reporter=dot",
|
|
"test:ci-shape": "vitest run src/__tests__/ci-workflow.test.ts --silent=passed-only --reporter=dot",
|
|
"test:docs-index": "vitest run src/__tests__/docs-readme-index.test.ts --silent=passed-only --reporter=dot",
|
|
"test:slow-cli": "cross-env FUSION_TEST_SLOW_CLI=1 vitest run src/commands/__tests__/agent-export.test.ts --silent=passed-only --reporter=dot",
|
|
"test:extension-integration": "cross-env FUSION_TEST_EXTENSION_INTEGRATION=1 vitest run src/__tests__/extension-integration.test.ts --silent=passed-only --reporter=dot",
|
|
"test:build-exe": "cross-env FUSION_TEST_BUILD_EXE=1 vitest run --config vitest.build-exe.config.ts --silent=passed-only --reporter=dot",
|
|
"test:pre-release": "pnpm test:slow-cli && pnpm test:build-exe"
|
|
},
|
|
"dependencies": {
|
|
"@earendil-works/pi-ai": "0.80.10",
|
|
"@earendil-works/pi-coding-agent": "0.80.10",
|
|
"dockerode": "^4.0.12",
|
|
"electron": "^33.4.11",
|
|
"embedded-postgres": "15.18.0-beta.17",
|
|
"express": "^5.1.0",
|
|
"i18next": "^26.3.1",
|
|
"ink": "^7.0.5",
|
|
"ink-spinner": "^5.0.0",
|
|
"ink-text-input": "^6.0.0",
|
|
"ioredis": "^5.6.0",
|
|
"multer": "^2.1.1",
|
|
"node-pty": "npm:@homebridge/node-pty-prebuilt-multiarch@^0.13.1",
|
|
"react": "^19.2.0",
|
|
"react-i18next": "^17.0.8",
|
|
"ws": "^8.18.0"
|
|
},
|
|
"peerDependencies": {
|
|
"typebox": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"typebox": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@fusion/core": "workspace:*",
|
|
"@fusion/dashboard": "workspace:*",
|
|
"@fusion/engine": "workspace:*",
|
|
"@fusion/i18n": "workspace:*",
|
|
"@fusion/pi-claude-cli": "workspace:*",
|
|
"@fusion/pi-llama-cpp": "workspace:*",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.2.0",
|
|
"@types/ws": "^8.5.0",
|
|
"@vitest/coverage-v8": "^4.1.0",
|
|
"cross-env": "^7.0.0",
|
|
"esbuild": "^0.25.12",
|
|
"ink-testing-library": "^4.0.0",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.19.0",
|
|
"typebox": "^1.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^4.1.0",
|
|
"yaml": "^2.8.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Runfusion/Fusion"
|
|
}
|
|
}
|