从上游 badlogic/pi-mono 同步 386 个提交,手动解决所有冲突: 保留 SproutClaw 独有功能: - RPC: reload 命令、bash 流式输出、get_extensions 命令 - settings-manager: showChangelogOnStartup 设置 - agent-session: turnIndex getter - 移除 pi 版本检查通知(interactive-mode) - skills 系统、启动脚本、自定义工具脚本 直接采用上游版本: - packages/ai 模型列表及测试文件 - packages/coding-agent 文档 - 其余未冲突的全部上游代码 升级 @mistralai/mistralai 至 2.2.6(修复 promptCacheKey 类型错误) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
65 lines
2.8 KiB
JSON
65 lines
2.8 KiB
JSON
{
|
|
"name": "pi-monorepo",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"packages/*",
|
|
"packages/coding-agent/examples/extensions/with-deps",
|
|
"packages/coding-agent/examples/extensions/custom-provider-anthropic",
|
|
"packages/coding-agent/examples/extensions/custom-provider-gitlab-duo",
|
|
"packages/coding-agent/examples/extensions/sandbox",
|
|
"packages/coding-agent/examples/extensions/gondolin"
|
|
],
|
|
"scripts": {
|
|
"clean": "npm run clean --workspaces",
|
|
"build": "cd packages/tui && npm run build && cd ../ai && npm run build && cd ../agent && npm run build && cd ../coding-agent && npm run build",
|
|
"check": "biome check --write --error-on-warnings . && npm run check:pinned-deps && npm run check:ts-imports && npm run check:shrinkwrap && tsgo --noEmit && npm run check:browser-smoke",
|
|
"check:browser-smoke": "node scripts/check-browser-smoke.mjs",
|
|
"check:pinned-deps": "node scripts/check-pinned-deps.mjs",
|
|
"check:shrinkwrap": "node scripts/generate-coding-agent-shrinkwrap.mjs --check",
|
|
"check:ts-imports": "node scripts/check-ts-relative-imports.mjs",
|
|
"profile:tui": "node scripts/profile-coding-agent-node.mjs --mode tui",
|
|
"profile:rpc": "node scripts/profile-coding-agent-node.mjs --mode rpc",
|
|
"test": "npm run test --workspaces --if-present",
|
|
"version:patch": "npm version patch -ws --no-git-tag-version && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts",
|
|
"version:minor": "npm version minor -ws --no-git-tag-version && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts",
|
|
"version:major": "npm version major -ws --no-git-tag-version && node scripts/sync-versions.js && npm install --package-lock-only --ignore-scripts",
|
|
"version:set": "npm version -ws",
|
|
"prepublishOnly": "npm run clean && npm run build && npm run check",
|
|
"publish": "npm run prepublishOnly && node scripts/publish.mjs",
|
|
"publish:dry": "npm run prepublishOnly && node scripts/publish.mjs --dry-run",
|
|
"release:local": "node scripts/local-release.mjs",
|
|
"shrinkwrap:coding-agent": "node scripts/generate-coding-agent-shrinkwrap.mjs",
|
|
"release:patch": "node scripts/release.mjs patch",
|
|
"release:minor": "node scripts/release.mjs minor",
|
|
"release:major": "node scripts/release.mjs major",
|
|
"release:fix-links": "node scripts/release-notes.mjs fix-github-releases",
|
|
"prepare": "husky"
|
|
},
|
|
"devDependencies": {
|
|
"@anthropic-ai/sandbox-runtime": "0.0.26",
|
|
"@biomejs/biome": "2.3.5",
|
|
"@types/node": "22.19.19",
|
|
"@typescript/native-preview": "7.0.0-dev.20260120.1",
|
|
"esbuild": "0.28.1",
|
|
"husky": "9.1.7",
|
|
"jiti": "2.7.0",
|
|
"shx": "0.4.0",
|
|
"tsx": "4.22.1",
|
|
"typescript": "5.9.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=22.19.0"
|
|
},
|
|
"version": "0.0.3",
|
|
"overrides": {
|
|
"rimraf": "6.1.2",
|
|
"gaxios": {
|
|
"rimraf": "6.1.2"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@mistralai/mistralai": "2.2.6"
|
|
}
|
|
}
|