Unverified 提交 560edd71 authored 作者: Will Chen's avatar Will Chen 提交者: GitHub

Add Claude settings.json with good defaults (#2277)

## Summary - Add `.claude/settings.json` to allow `Bash(npm:*)` permission for Claude Code workflows This is a smaller PR split out from the IPC contracts branch. #skip-bugbot 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Add project-wide .claude/settings.json with an expanded allowlist for Bash commands (npm run/install, git, gh, and read-only file/list/search tools), and remove settings.local.json. This enables npm scripts and common read-only shell commands to run without prompts, reducing friction in dev workflows. <sup>Written for commit 84d601708a5d36d1b248189e4aa1ab1a8222f6f9. Summary will update on new commits.</sup> <!-- End of auto-generated description by cubic. --> --------- Co-authored-by: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
上级 23b45a9b
{
"permissions": {
"allow": [
"Edit",
"Write",
"Bash(npm run:*)",
"Bash(npm install:*)",
"Bash(git:*)",
"Bash(gh pr:*)",
"Bash(gh issue:*)",
"Bash(gh repo view:*)",
"Bash(ls:*)",
"Bash(find:*)",
"Bash(tree:*)",
"Bash(du:*)",
"Bash(df:*)",
"Bash(wc:*)",
"Bash(head:*)",
"Bash(tail:*)",
"Bash(cat:*)",
"Bash(less:*)",
"Bash(file:*)",
"Bash(stat:*)",
"Bash(grep:*)",
"Bash(rg:*)",
"Bash(ag:*)",
"Bash(awk:*)",
"Bash(sed:*)",
"Bash(sort:*)",
"Bash(uniq:*)",
"Bash(cut:*)",
"Bash(diff:*)"
]
}
}
{
"permissions": {
"allow": [
"Edit",
"Write",
"Bash(npm run:*)",
"Bash(npm install:*)",
"Bash(git:*)",
"Bash(gh pr:*)",
"Bash(gh issue:*)",
"Bash(gh repo view:*)"
]
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论