Просмотр исходного кода

chore: 添加 git 权限到 allowlist

新增权限:
- git status
- git reset
- git checkout
- git diff
- git log

支持 /webnovel-resume 的回滚和恢复功能。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
lingfengQAQ 5 месяцев назад
Родитель
Сommit
2db33a2302
1 измененных файлов с 17 добавлено и 0 удалено
  1. 17 0
      .claude/settings.local.json

+ 17 - 0
.claude/settings.local.json

@@ -0,0 +1,17 @@
+{
+  "permissions": {
+    "allow": [
+      "Bash(git add:*)",
+      "Bash(git commit:*)",
+      "Bash(git push:*)",
+      "Bash(git status:*)",
+      "Bash(git reset:*)",
+      "Bash(git checkout:*)",
+      "Bash(git diff:*)",
+      "Bash(git log:*)",
+      "Bash(python:*)",
+      "Bash(dir:*)",
+      "Bash(mkdir:*)"
+    ]
+  }
+}