Files
danghuangshang/package.json
chairman's chair ac4b1e1d3f fix: 全面审查修复 — 安装脚本/JSON配置/Docker/CI
P0 修复:
- install-mac.sh: 修复 create_agent_workspaces() 函数被错误粘贴的注入人设代码块破坏,
  提取为独立步骤;删除重复的 skill 安装块;移除 set -e 下的 $? 死代码
- gui/keepalive.sh: SERVER_DIR 路径从 gui/server 改为 server
- gui/server/keepalive.sh: SERVER_DIR 路径从 gui/server 改为当前目录
- package.json: 合并两个重复的 scripts 块,恢复 jest 为主 test 命令
- .dockerignore: 添加 !**/package-lock.json 例外,修复 npm ci 构建失败
- 删除 docker.yml(与 docker-build.yml 重复,tag push 会触发两次构建)

P1 修复:
- docker-build.yml: 升级 build-push-action v5->v6,启用 provenance/sbom,
  Trivy 锁定到 0.28.0(不用 @master),添加 build step id,workflow 级 permissions
- install.ps1: 配置路径从 ~/clawd/ 改为 ~/.openclaw/(与 Bash 脚本一致),
  MSI 路径引号防空格,添加 ErrorActionPreference,下载失败生成最小配置兜底
- configs/modern-ceo/openclaw.json: CMO agent id 从 cmk 改为 cmo(4处 typo)
- docker/entrypoint.sh: Python 代码改用环境变量传递路径,消除注入风险
- install-lite.sh: 移除 set -e 下的 $? 死代码
- ci.yml + duchayuan-review.yml: 添加 permissions: contents: read

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-26 23:25:27 +08:00

47 lines
1.2 KiB
JSON

{
"name": "clawd",
"version": "3.6.0",
"description": "AI 朝廷 - 多 Agent 协作框架",
"main": "index.js",
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:manual": "node tests/test-task-store.js && node tests/test-context-compressor.js",
"lint": "bash -n scripts/*.sh && node -c scripts/*.js 2>/dev/null || true",
"health": "bash scripts/health-check.sh",
"cleanup": "bash scripts/cleanup-repo.sh"
},
"bin": {
"task-store": "./scripts/task-store.js",
"context-compressor": "./scripts/context-compressor.js"
},
"keywords": [
"ai",
"multi-agent",
"openclaw",
"automation"
],
"author": "菠萝菠菠",
"license": "MIT",
"dependencies": {
"@notionhq/client": "^5.9.0",
"winston": "^3.19.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"jest": "^30.3.0"
},
"engines": {
"node": ">=18.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/wanikua/danghuangshang.git"
},
"bugs": {
"url": "https://github.com/wanikua/danghuangshang/issues"
},
"homepage": "https://github.com/wanikua/danghuangshang#readme"
}