bookworm
197396c5fe
fix: macOS 补全 {{PWSH_PATH}} 渲染 + GEMINI_API_KEY Keychain 缓存
...
- settings.template.json 渲染补加 {{PWSH_PATH}} → $SHELL (默认 /bin/zsh)
避免 settings.json 留有字面量 "SHELL":"{{PWSH_PATH}}"
- save_secrets_to_cache 增加 GEMINI_API_KEY,与 Windows 版本对齐
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:19:06 +08:00
bookworm
d61b0e451f
fix: macOS Bookworm-Setup.sh 补全 --dangerously-skip-permissions
...
- bw alias (bash): claude --dangerously-skip-permissions
- bw alias (zsh): 同上
- exec claude: exec claude --dangerously-skip-permissions
与 Windows 版本 bat 行为对齐
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 22:06:06 +08:00
bookworm
d11b36f815
fix: DPAPI凭证加密 + pwsh7路径凭证注入 + PS5.1双调用优化 + assets追踪
...
- install.ps1: Save-SecretsToCache 改用真正 DPAPI 加密 (System.Security.ProtectedData)
增加 GEMINI_API_KEY 到缓存键列表
- install.ps1: Get-CachedSecrets DPAPI 解密 + 旧版明文缓存向后兼容
- 启动Bookworm.bat: pwsh7路径启动 claude 前从注册表加载 DPAPI 加密凭证
- 更新并启动Bookworm.bat: 同上 + PS5.1 回退路径从2次调用精简为1次
- assets/: 纳入版本管理 (favicon-32.png / logo-200x200.png / logo-dark.svg)
- HTML: 同步 download/guide-mac/guide-unified/guide 页面更新
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 21:49:50 +08:00
bookworm
2d4dea242b
fix: 去掉 Start-Process, bat 负责窗口/ps1 负责执行
...
根因: Start-Process pwsh 开新窗口但 claude 找不到 PATH,
同时 OneClick.bat 重复调用 install.ps1 导致双启动。
- install.ps1: 新增 -SkipLaunch 参数, step9 改为同步 & claude
- auto-setup.ps1: Phase7 去掉 Start-Process, 同步 & claude
- OneClick.bat: step7 加 -SkipLaunch, 最终块 start pwsh -Command claude
- 启动/更新.bat: 直接 start pwsh -Command claude (不经 install.ps1)
架构: bat 决定窗口类型, ps1 只管同步执行
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:34:00 +08:00
bookworm
c4c09992f6
feat: 默认启动 --dangerously-skip-permissions 模式
...
所有6处 claude 启动点统一添加 --dangerously-skip-permissions,
确保 Portable 用户无需手动确认即可执行 Bash 等工具操作。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:18:30 +08:00
bookworm
dee7742a12
feat: pwsh7默认终端 + Phase1依赖增强 + Phase6 MCP预安装
...
- Phase 1: +PowerShell 7/Python 3.12/uv, pwsh升为核心依赖
- Phase 4: 修复缓存命中后仍弹密码框的逻辑缺陷
- Phase 5: 新增 {{PWSH_PATH}} 占位符渲染
- Phase 6: npm cache add + uv tool install 预缓存(超时保护)
- Phase 7: Start-Process pwsh 独立窗口启动Claude
- install.ps1: Render函数添加 {{PWSH_PATH}} + Start-Process启动
- OneClick.bat: 新增步骤4/8安装PowerShell 7
- 所有.bat: start pwsh新窗口模式 + CRLF修复
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 19:48:48 +08:00
bookworm
53b25253fd
fix: AutoSetup.bat 处理已存在目录 + git pull 更新
2026-04-06 16:23:59 +08:00
bookworm
a565861b31
fix: AutoSetup.bat 独立下载可用 + CRLF 换行修复
...
- 单独下载时自动 clone boot 仓库再运行 auto-setup.ps1
- 已在 boot 仓库内时直接运行
- 修复 LF→CRLF 换行 (Windows CMD 必须 CRLF)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 16:11:21 +08:00
bookworm
5e980b206b
feat: 统一安装手册 guide-unified.html (Windows + macOS)
...
- 合并 guide.html + guide-mac.html 为单页
- JS 自动检测系统 + 手动 Tab 切换
- 7 大章节: 一键安装→依赖→Claude Code→Bookworm→日常使用→密码→卸载
- 14 条 FAQ (7 通用 + 4 Windows + 3 macOS)
- 已部署: portable.bookwormweb.com/ 首页指向统一版
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:16:48 +08:00
bookworm
b4d3f4de24
fix: 凭证解密优先用 node crypto-helper.js (BWENC1 格式)
...
secrets.enc 由 crypto-helper.js 加密(BWENC1 格式),
openssl 命令行无法解密(报 bad magic number)。
三个脚本统一修复: 优先 node crypto-helper.js, 回退 openssl。
影响: auto-setup.ps1 / Bookworm-Setup.sh / Bookworm-OneClick-Mac.sh
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 15:04:02 +08:00
bookworm
67412b871b
feat: 全自动一键安装器 (auto-setup.ps1 + AutoSetup.bat)
...
7 阶段全自动化:
1. 环境检测 + winget 自动安装 (Node.js/Git/Claude Code)
2. 网络诊断 (代理检测 + API/Gitea/中转站连通性测试)
3. 仓库克隆 (GUI 弹窗输入 Gitea 凭证)
4. 凭证解密 (GUI 密码框 + Credential Manager 缓存)
5. 配置渲染 (settings.json 模板替换)
6. MCP 验证 + 自动安装 (Playwright 等)
7. 完整性校验 + 桌面快捷方式 + 启动
目标: 全新电脑双击一个文件即可完成全部配置
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 14:42:51 +08:00
bookworm
d07316f0f9
feat: OneClick Keychain 免密 + sync-version 补 guide.html
...
- Bookworm-OneClick-Mac.sh: 回退路径加 Keychain 缓存(对标 Setup.sh)
- sync-version.js: 补 guide.html 到文件列表
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 14:18:13 +08:00
bookworm
23b369f99b
feat: Keychain 免密 + 版本号同步 + bw-update 修复
...
- Bookworm-Setup.sh: macOS Keychain 本日免密缓存(对标 Windows Credential Manager)
- Bookworm-OneClick-Mac.sh: bw-update 补 config 仓库更新
- sync-version.js: 新建版本号同步脚本(从 stats-compiled.json 自动注入)
- quick-start.html/quick-reference.txt: Hooks 29→34 修正
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 14:05:29 +08:00
bookworm
d499342271
feat: Mac 支持 v1.5 同步 + 模板清理 + 卸载脚本
...
- Bookworm-Setup.sh: 重写为完整 Mac 安装器(依赖检测/代理/配置克隆/凭证解密/别名bw)
- install-mac.sh: 新建重定向脚本,消除文档断链
- uninstall-mac.sh: 新建 Mac 卸载脚本(进程/凭证/历史/别名清理)
- guide-mac.html: 修复所有过时引用(install-mac.sh/start-mac.sh/bookworm→bw)
- settings.template.json: 从 boot 仓库移除(由 build-portable.js 管理)
- prepare-repo.ps1/README/quick-reference: 更新模板引用
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 13:48:05 +08:00
bookworm
83c1e613a1
feat: 纳入拓展工具 + guide.html badges 对齐
...
- 拓展/: MCP配置向导、PowerShell工具、mcp-auto-loader 纳入版本管理
- guide.html: badges 从模糊 "90+" 改为精确 "92 Skills | 18 Agents | 34 Hooks"
2026-04-06 00:26:45 +08:00
bookworm
bec863c5a9
fix: sync Hooks 29→34, Skills 97→92, settings.template.json NDA补全
...
- Bookworm-Setup.sh / guide-mac.html / download*.html Hooks 数更新
- download.html Skills 97→92 修正
- settings.template.json 替换为 portable 版 (含 NDA hooks)
2026-04-06 00:20:09 +08:00
bookworm
5e0ff18aa1
feat: Bookworm Portable v1.5 — 8 fixes (P0 NDA + P1 banners + P2 perf)
...
- P1: Banner v1.3→v1.5, Hooks 29→34
- P1: 卸载脚本补删 更新Bookworm.lnk
- P1: git stash pop 安全检查
- P2: Playwright 检测改用 npm list
- P2: 代理端口扫描 500ms async 超时
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-05 23:34:27 +08:00