The MCP config was generated lazily once and locked, so engine session-scoped tools (fn_review_spec, fn_review_step) never reached the Claude CLI subprocess and triage/executor sessions failed with "unknown tool" errors. Now the config is hashed per call and rewritten when the tool set changes. Also adds scripts/sync-fusion-skill-tools.mjs to regenerate the SKILL.md tool-categories block from extension.ts at build time, with a --check mode wired into skill-sync tests so drift fails CI. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
98 lines
2.5 KiB
JSON
98 lines
2.5 KiB
JSON
{
|
|
"name": "@runfusion/fusion",
|
|
"version": "0.2.7",
|
|
"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": "./dist/bin.js",
|
|
"fusion": "./dist/bin.js"
|
|
},
|
|
"pi": {
|
|
"extensions": [
|
|
"./dist/extension.js"
|
|
],
|
|
"skills": [
|
|
"./skill"
|
|
],
|
|
"image": "https://raw.githubusercontent.com/Runfusion/Fusion/main/demo/screenshot.png"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"files": [
|
|
"dist/**/*.js",
|
|
"dist/**/*.d.ts",
|
|
"dist/**/*.d.ts.map",
|
|
"dist/**/*.js.map",
|
|
"dist/client/**",
|
|
"dist/pi-claude-cli/**",
|
|
"skill/**",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"dev": "tsx src/bin.ts",
|
|
"prebuild": "node ../../scripts/sync-fusion-skill-tools.mjs",
|
|
"build": "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:build-exe": "FUSION_TEST_BUILD_EXE=1 vitest run --config vitest.build-exe.config.ts --silent=passed-only --reporter=dot"
|
|
},
|
|
"dependencies": {
|
|
"@mariozechner/pi-ai": "^0.70.0",
|
|
"@mariozechner/pi-coding-agent": "^0.70.0",
|
|
"express": "^5.1.0",
|
|
"ink": "^6.8.0",
|
|
"ink-spinner": "^5.0.0",
|
|
"ink-text-input": "^6.0.0",
|
|
"ioredis": "^5.6.0",
|
|
"multer": "^2.1.1",
|
|
"react": "^19.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@mariozechner/pi-ai": "*",
|
|
"@mariozechner/pi-coding-agent": "*",
|
|
"typebox": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@mariozechner/pi-ai": {
|
|
"optional": true
|
|
},
|
|
"@mariozechner/pi-coding-agent": {
|
|
"optional": true
|
|
},
|
|
"typebox": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@fusion/core": "workspace:*",
|
|
"@fusion/dashboard": "workspace:*",
|
|
"@fusion/engine": "workspace:*",
|
|
"@fusion/pi-claude-cli": "workspace:*",
|
|
"@types/node": "^22.0.0",
|
|
"@types/react": "^19.0.0",
|
|
"@vitest/coverage-v8": "^3.1.0",
|
|
"ink-testing-library": "^4.0.0",
|
|
"tsup": "^8.5.1",
|
|
"tsx": "^4.19.0",
|
|
"typebox": "^1.0.0",
|
|
"typescript": "^5.7.0",
|
|
"vitest": "^3.1.0",
|
|
"yaml": "^2.8.3"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Runfusion/Fusion"
|
|
}
|
|
}
|