diff --git a/Bookworm-Setup.sh b/Bookworm-Setup.sh
index 683f84d..899aeae 100644
--- a/Bookworm-Setup.sh
+++ b/Bookworm-Setup.sh
@@ -28,7 +28,7 @@ banner() {
echo " |____/ \\___/ \\___/|_|\\_\\ \\_/\\_/ \\___/|_| |_| |_| |_|"
echo ""
echo -e " ${BOLD}Portable macOS Setup v1.5${NC}"
- echo -e " ${BLUE}92 Skills | 18 Agents | 29 Hooks${NC}"
+ echo -e " ${BLUE}92 Skills | 18 Agents | 34 Hooks${NC}"
echo -e "${NC}"
}
diff --git a/download-panel.html b/download-panel.html
index 3fdf398..d5de565 100644
--- a/download-panel.html
+++ b/download-panel.html
@@ -11,7 +11,7 @@
92 Skills
18 Agents
- 29 Hooks
+ 34 Hooks
AES-256 加密
diff --git a/download.html b/download.html
index f53c185..3008eff 100644
--- a/download.html
+++ b/download.html
@@ -96,9 +96,9 @@
Bookworm Portable
AI 编程助手 — 一键安装,即刻使用
- 97 Skills
+ 92 Skills
18 Agents
- 28 Hooks
+ 34 Hooks
AES-256 加密
diff --git a/guide-mac.html b/guide-mac.html
index ead969a..695c820 100644
--- a/guide-mac.html
+++ b/guide-mac.html
@@ -226,7 +226,7 @@
92 Skills
18 Agents
- 29 Hooks
+ 34 Hooks
AES-256 加密
HTTPS 传输
diff --git a/settings.template.json b/settings.template.json
index 73d9817..ce2a4f2 100644
--- a/settings.template.json
+++ b/settings.template.json
@@ -1,12 +1,12 @@
-{
+{
"env": {
- "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1",
- "HOME": "{{HOME}}",
- "SUPABASE_ACCESS_TOKEN": "${SUPABASE_ACCESS_TOKEN}"
+ "HOME": "{{HOME}}"
},
"permissions": {
"allow": [
"Read",
+ "Write",
+ "Edit",
"Glob",
"Grep",
"WebSearch",
@@ -17,11 +17,21 @@
"TaskUpdate",
"TaskList",
"TaskGet",
+ "Agent",
"AskUserQuestion"
]
},
"hooks": {
"UserPromptSubmit": [
+ {
+ "hooks": [
+ {
+ "type": "command",
+ "command": "node {{CLAUDE_ROOT}}/hooks/nda-probe-detector.js",
+ "timeout": 2000
+ }
+ ]
+ },
{
"hooks": [
{
@@ -42,6 +52,16 @@
}
],
"PreToolUse": [
+ {
+ "matcher": "Read|Glob|Grep",
+ "hooks": [
+ {
+ "type": "command",
+ "command": "node {{CLAUDE_ROOT}}/hooks/nda-read-guard.js",
+ "timeout": 2000
+ }
+ ]
+ },
{
"matcher": "Bash",
"hooks": [
@@ -84,16 +104,6 @@
}
]
},
- {
- "matcher": "Skill|Agent",
- "hooks": [
- {
- "type": "command",
- "command": "node {{CLAUDE_ROOT}}/hooks/memory-persistence-trigger.js",
- "timeout": 2000
- }
- ]
- },
{
"matcher": "Edit|Write|Skill|Agent|Bash|mcp__.*",
"hooks": [
@@ -123,16 +133,6 @@
"timeout": 3000
}
]
- },
- {
- "matcher": "Edit|Write",
- "hooks": [
- {
- "type": "command",
- "command": "node {{CLAUDE_ROOT}}/hooks/constitution-delivery-reminder.js",
- "timeout": 3000
- }
- ]
}
],
"SubagentStart": [
@@ -159,5 +159,5 @@
]
},
"effortLevel": "high",
- "skipDangerousModePermissionPrompt": false
+ "skipDangerousModePermissionPrompt": true
}