settings.local.json 3.51 KB
{
  "permissions": {
    "allow": [
      "Bash(tree:*)",
      "Bash(xargs awk:*)",
      "Bash(find:*)",
      "Bash(grep:*)",
      "Bash(git diff:*)",
      "mcp__web-search-prime__webSearchPrime",
      "mcp__web-reader__webReader",
      "Bash(ls:*)",
      "Bash(for:*)",
      "Bash(do if [ -f \"$dirskill.md\" ])",
      "Bash(fi:*)",
      "Bash(done:*)",
      "Bash(if:*)",
      "Bash(then echo \"找到项目本地技能:\")",
      "Bash(else echo \"当前项目没有本地技能目录\")",
      "Bash(command:*)",
      "Bash(then mv \"$dirskill.md\" \"$dirSKILL.md\")",
      "Bash(do if [ -f \"$dirSKILL.md\" ])",
      "Bash(then rmdir ~/.config/claude-code/skills)",
      "Bash(else echo \"目录不为空或不存在,跳过删除\")",
      "Bash(chmod:*)",
      "Bash(scripts/upload-to-qiniu.sh:*)",
      "Bash(curl:*)",
      "Bash(git add:*)",
      "Bash(git commit:*)",
      "Bash(git push)",
      "Bash(git restore:*)",
      "Bash(pnpm add:*)",
      "Bash(pnpm lint:check:*)",
      "Bash(pnpm format:check:*)",
      "Bash(pnpm list:*)",
      "Bash(npx husky init:*)",
      "Bash(npx lint-staged:*)",
      "Bash(__NEW_LINE_9f2146480c6bc5cf__ echo \"✅ Husky + lint-staged 配置完成!\" echo \"\" echo \"📁 配置文件:\" echo \"  - .husky/pre-commit\" echo \"  - package.json \\(lint-staged 配置\\)\" echo \"\" echo \"🔧 已配置的 Git Hooks:\" ls -la .husky/)",
      "Bash(__NEW_LINE_d9f17a4e47d5be4b__ echo \"╔════════════════════════════════════════════════════════════╗\" echo \"║         ✅ Husky + lint-staged 配置完成!                  ║\" echo \"╚════════════════════════════════════════════════════════════╝\" echo \"\" echo \"📁 配置文件:\" echo \"  • .husky/pre-commit          - Git pre-commit hook\" echo \"  • package.json               - lint-staged 配置\" echo \"  • docs/HUSKY_LINT_STAGED.md  - 使用文档\" echo \"\" echo \"📦 已安装的包:\" pnpm list husky lint-staged --depth 0)",
      "Bash(npx playwright install:*)",
      "Bash(git push:*)",
      "Bash(pnpm test:e2e:*)",
      "mcp__zai-mcp-server__ui_to_artifact",
      "mcp__zai-mcp-server__extract_text_from_screenshot",
      "mcp__zai-mcp-server__analyze_image",
      "Bash(git mv:*)",
      "Bash(yarn api:generate:*)",
      "Bash(./test-mcp.sh:*)",
      "Bash(npx:*)",
      "Bash(APIFOX_ACCESS_TOKEN=\"APS-t3Lm53YUvYMwNWEqb5Y5nnrRSlDz04Mc\" npx -y apifox-mcp-server@latest --project-id=6084040:*)",
      "Bash(git checkout:*)",
      "Bash(python3:*)",
      "Bash(./test-mcp-connection.sh:*)",
      "Bash(timeout:*)",
      "Bash(pnpm lint:*)",
      "Bash(pnpm dev:weapp:*)",
      "Bash(tee:*)",
      "Bash(node:*)",
      "Bash(~/.claude/bin/check-changelog.sh:*)",
      "Bash(pnpm api:generate:*)",
      "Bash(do if [ -d \"/Users/huyirui/program/itomix/git/manulife-weapp/docs/$dir\" ])",
      "Bash(then echo \"=== $dir/ ===\" ls -1 /Users/huyirui/program/itomix/git/manulife-weapp/docs/$dir/*.md)",
      "Bash(bash:*)",
      "Bash(~/.bun/bin/bun --version)",
      "Bash(npm run dev:weapp:*)",
      "Bash(__NEW_LINE_19c6a134b9496225__ echo \"✅ 已删除不再使用的 Apifox 相关脚本\")",
      "Bash(cat:*)",
      "Bash(pkill:*)"
    ]
  },
  "enableAllProjectMcpServers": true,
  "enabledMcpjsonServers": [
    "chrome-devtools"
  ]
}