diff --git a/README.txt b/README.txt index 90ece2c..3740988 100644 --- a/README.txt +++ b/README.txt @@ -1,4 +1,4 @@ -Bookworm Portable v1.1 - 纯云端便携部署工具包 +Bookworm Portable v1.4 - 纯云端便携部署工具包 ================================================ === 文件说明 === diff --git a/guide.html b/guide.html index acd2359..7a2aa5a 100644 --- a/guide.html +++ b/guide.html @@ -199,9 +199,9 @@

Bookworm Portable 保姆式安装手册

从零开始,一步步教你在任意 Windows 电脑上激活 Bookworm

- 97 Skills + 92 Skills 18 Agents - 28 Hooks + 29 Hooks AES-256 加密 HTTPS 传输
@@ -430,7 +430,7 @@ Start-Process msiexec.exe -ArgumentList "/i $env:TEMP\node-install.msi" -Wait[1/6] 前置检查 (Claude Code / Node.js / Git)
  • [2/6] 自动检测代理 (无需手动操作)
  • [3/6] 解密凭证 (输入主密码)
  • -
  • [4/6] 同步配置 (下载 97 个 Skills)
  • +
  • [4/6] 同步配置 (下载 92 个 Skills)
  • [5/6] 渲染模板 + 初始化 + 系统验证
  • [6/6] 启动 Claude Code
  • @@ -716,7 +716,7 @@ Start-Process msiexec.exe -ArgumentList "/i $env:TEMP\node-install.msi" -Wait diff --git a/install.ps1 b/install.ps1 index f08f8a6..505e9b1 100644 --- a/install.ps1 +++ b/install.ps1 @@ -49,8 +49,8 @@ if (-not $opensslCmd) { function Write-Banner { Write-Host "" Write-Host " +------------------------------------------+" -ForegroundColor Cyan - Write-Host " | Bookworm Portable Installer v1.3 |" -ForegroundColor Cyan - Write-Host " | 97 Skills / 18 Agents / 28 Hooks |" -ForegroundColor Cyan + Write-Host " | Bookworm Portable Installer v1.4 |" -ForegroundColor Cyan + Write-Host " | 92 Skills / 18 Agents / 28 Hooks |" -ForegroundColor Cyan Write-Host " +------------------------------------------+" -ForegroundColor Cyan Write-Host "" } diff --git a/quick-reference.txt b/quick-reference.txt index ec32b0a..0ff9b08 100644 --- a/quick-reference.txt +++ b/quick-reference.txt @@ -1,6 +1,6 @@ ================================================================================ - Bookworm Portable v1.3 — 快速参考手册 + Bookworm Portable v1.4 — 快速参考手册 所有命令可直接复制粘贴执行 ================================================================================ @@ -47,7 +47,7 @@ # [1/6] 前置检查 (缺依赖自动提示 winget 安装) # [2/6] 代理自动检测 (无需手动找端口) # [3/6] 解密凭证 (输入主密码, 最多3次重试, 可选本日免密) - # [4/6] 同步配置 (git clone 97 Skills / 18 Agents / 28 Hooks) + # [4/6] 同步配置 (git clone 92 Skills / 18 Agents / 29 Hooks) # [5/6] 渲染模板 + 初始化 + Bookworm 完整性验证 + MCP 检查 # [6/6] 启动 Claude Code @@ -296,5 +296,5 @@ └── /app → "下载" Tab 内嵌下载页 + Bookworm-Setup.bat 直链 ================================================================================ - Bookworm Portable v1.3 | 2026-04-01 | code.letcareme.com + Bookworm Portable v1.4 | 2026-04-02 | code.letcareme.com ================================================================================ diff --git a/settings.template.json b/settings.template.json new file mode 100644 index 0000000..73d9817 --- /dev/null +++ b/settings.template.json @@ -0,0 +1,163 @@ +{ + "env": { + "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1", + "HOME": "{{HOME}}", + "SUPABASE_ACCESS_TOKEN": "${SUPABASE_ACCESS_TOKEN}" + }, + "permissions": { + "allow": [ + "Read", + "Glob", + "Grep", + "WebSearch", + "WebFetch", + "Skill", + "Task", + "TaskCreate", + "TaskUpdate", + "TaskList", + "TaskGet", + "AskUserQuestion" + ] + }, + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/prompt-dispatcher.js", + "timeout": 3000 + } + ] + }, + { + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/clipboard-image-hook.js", + "timeout": 5000 + } + ] + } + ], + "PreToolUse": [ + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/bash-precheck-dispatcher.js", + "timeout": 5000 + } + ] + }, + { + "matcher": "Skill", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/route-compliance-gate.js", + "timeout": 2000 + } + ] + }, + { + "matcher": "mcp__", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/mcp-safety-gate.js", + "timeout": 3000 + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "Edit|Write|NotebookEdit", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/post-edit-dispatcher.js", + "timeout": 8000 + } + ] + }, + { + "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": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/activity-logger.js", + "timeout": 2000 + } + ] + }, + { + "matcher": "Edit|Write|Skill|Agent|Bash|mcp__.*", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/session-heartbeat.js", + "timeout": 2000 + } + ] + }, + { + "matcher": "Bash", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/build-outcome-tracker.js", + "timeout": 3000 + } + ] + }, + { + "matcher": "Edit|Write", + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/constitution-delivery-reminder.js", + "timeout": 3000 + } + ] + } + ], + "SubagentStart": [ + { + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/subagent-route-injector.js", + "timeout": 2000 + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": "node {{CLAUDE_ROOT}}/hooks/stop-dispatcher.js 2>>{{CLAUDE_ROOT}}/debug/hook-errors.log || true", + "timeout": 5000 + } + ] + } + ] + }, + "effortLevel": "high", + "skipDangerousModePermissionPrompt": false +}