chore: 更新 Claude Code 权限设置

- 将 WebSearch 从 allow 列表移到 deny 列表
This commit is contained in:
2026-03-09 14:39:44 +08:00
parent d860e17b2c
commit 6e75c99d5b

View File

@@ -1,7 +1,6 @@
{ {
"permissions": { "permissions": {
"allow": [ "allow": [
"WebSearch",
"WebFetch(*)", "WebFetch(*)",
"Bash(openspec:*)", "Bash(openspec:*)",
"Bash(git:*)", "Bash(git:*)",
@@ -12,6 +11,9 @@
"mcp__context7__query-docs", "mcp__context7__query-docs",
"mcp__exa__web_search_exa", "mcp__exa__web_search_exa",
"mcp__exa__get_code_context_exa" "mcp__exa__get_code_context_exa"
],
"deny": [
"WebSearch"
] ]
} }
} }