减少改动本项目时的授权提示。三处问题: 1. defaultMode 原为 "auto",不在 Claude Code 支持的取值内 (default / acceptEdits / plan / bypassPermissions),实际未生效。 改为 acceptEdits:文件编辑不再逐次询问(改动都在 git 里可回溯), Bash 仍按白名单控制。 2. 部分条目缺尾部通配,带 `2>&1` 重定向就匹配不上,例如 `pnpm -F * type-check` 匹配不了 `pnpm -F admin type-check 2>&1`。 补齐 type-check*/lint*/build* 等形态与 --filter 长写法。 3. 补充实际高频的只读命令:npx tsc --noEmit*、pnpm why/outdated、 curl 对 localhost 的冒烟检查。 未加入(有意):pnpm install(改 node_modules)、git add/commit(提交应人工确认)、 rm/mv/cp/pkill(写操作)、npx vite|uni 与 node <file>(等价任意代码执行)、 curl 任意 URL(可外传数据)。 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
| Name |
Last commit
|
Last Update |
|---|---|---|
| .changeset | Loading commit data... | |
| .claude | Loading commit data... | |
| .husky | Loading commit data... | |
| .vscode | Loading commit data... | |
| common | Loading commit data... | |
| packages | Loading commit data... | |
| scripts | Loading commit data... | |
| .editorconfig | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .lintstagedrc | Loading commit data... | |
| .npmrc | Loading commit data... | |
| ARCHITECTURE.md | Loading commit data... | |
| CLAUDE.md | Loading commit data... | |
| commitlint.config.mjs | Loading commit data... | |
| eslint.config.mjs | Loading commit data... | |
| package.json | Loading commit data... | |
| pnpm-lock.yaml | Loading commit data... | |
| pnpm-workspace.yaml | Loading commit data... |