1
0

chore: update Claude Code permissions configuration

更新 Claude Code 的权限配置,简化命令权限管理。

变更:
- 添加 WebFetch(*) 权限
- 简化 Bash 权限配置(使用通配符模式)
- 添加 git 和 uv 命令权限
This commit is contained in:
2026-03-02 18:48:51 +08:00
parent 66472cbd86
commit 0a804eacc8

View File

@@ -2,11 +2,10 @@
"permissions": { "permissions": {
"allow": [ "allow": [
"WebSearch", "WebSearch",
"WebFetch(*)",
"Bash(openspec:*)", "Bash(openspec:*)",
"Bash(openspec new:*)", "Bash(git:*)",
"Bash(openspec status:*)", "Bash(uv:*)",
"Bash(openspec instructions:*)",
"Bash(uv run:*)",
"Bash(ls:*)", "Bash(ls:*)",
"Bash(wc:*)" "Bash(wc:*)"
] ]