From 0a804eacc8fce6410c9923edd2858ecca807b9f1 Mon Sep 17 00:00:00 2001 From: lanyuanxiaoyao Date: Mon, 2 Mar 2026 18:48:51 +0800 Subject: [PATCH] chore: update Claude Code permissions configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 Claude Code 的权限配置,简化命令权限管理。 变更: - 添加 WebFetch(*) 权限 - 简化 Bash 权限配置(使用通配符模式) - 添加 git 和 uv 命令权限 --- .claude/settings.local.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 9d40e38..bc0754b 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -2,11 +2,10 @@ "permissions": { "allow": [ "WebSearch", + "WebFetch(*)", "Bash(openspec:*)", - "Bash(openspec new:*)", - "Bash(openspec status:*)", - "Bash(openspec instructions:*)", - "Bash(uv run:*)", + "Bash(git:*)", + "Bash(uv:*)", "Bash(ls:*)", "Bash(wc:*)" ]