Commit Graph

9 Commits

Author SHA1 Message Date
bookworm
fa287ae27d fix(v3.2.0): profile 注入 null 崩溃 (全新机器 profile.ps1 不存在)
Get-Content -Raw 对空文件返回 $null 而非空字符串,
导致 [regex]::Replace($null, ...) 抛 ArgumentNull。
加 null-coalesce 兜底为空字符串。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 23:15:01 +08:00
bookworm
5ca772ebbe fix(v3.2.0): git proxy bypass + clone 完整性验证加固
1. git http.proxy="" 强制 code.letcareme.com 直连 (VPN 环境 clone 失败根因)
2. clone 验证从只检查 CLAUDE.md 升级为 CLAUDE.md + skills/ + hooks/ 三项
3. remote URL 自动修正 (旧仓库 → bookworm-smart-assistant)

确保 VPN 用户一键安装体验完整

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 22:57:47 +08:00
bookworm
1f90b933c2 fix(v3.2.0): auto-detect and fix stale git remote in .claude/
When .claude/ was previously cloned from bookworm-portable-config (deleted),
re-running the installer would git pull against the wrong remote.
Now auto-detects stale remote and switches to bookworm-smart-assistant,
then fetches + resets to get the correct content (including skills/).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 22:51:03 +08:00
bookworm
47079cb8b1 fix(v3.2.0): 移除 Bun crash 降级逻辑 (根因: 安装后 claude 被降到 v2.0.1)
- 删除 claude --version 自检 → 自动降级到 2.0.1 的逻辑
- Claude Code 2.1.x+ 已不使用 Bun, 降级完全不必要
- 此逻辑导致对方机器 claude 被降到 v2.0.1 (远古版本)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 21:56:56 +08:00
bookworm
697b58ef15 fix(v3.2.0): 取消安装后自动弹终端 + wt.exe 参数修复
- 安装完毕不再自动启动终端窗口 (避免 wt.exe 参数拼接错误)
- 用户通过桌面快捷方式启动 Bookworm
- 受限模式也改为提示而非自动启动

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 21:07:27 +08:00
bookworm
7a9a5b8dfa fix(v3.2.0): GitUrl 指向已删仓库 → bookworm-smart-assistant
- $GitUrl bookworm-portable-config.git → bookworm-smart-assistant.git
- 旧仓已删除导致用户安装 [3/7] clone 失败
- EXE 重新打包含此修复

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 20:46:27 +08:00
bookworm
aa662d8744 feat(v3.2.0): Phase 8 OTA 自动更新基础设施
- auto-setup.ps1 v3.2.0: Phase 8 pubkey/DPAPI凭证/bw-ota.ps1 部署
- bw-ota.ps1: OTA 升级脚本 (Ed25519签名验证+SHA256+原子替换+DryRun)
- 启动Bookworm.bat: 启动时 fail-open 调用 OTA 检查
- Bookworm-Setup.exe: 重建含以上变更

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-27 18:22:37 +08:00
leesu
2d36862f38 chore: sync Bookworm-Setup.exe v3.1.3 2026-04-26 17:04:59 +08:00
leesu
3beb79af7a chore: sync Bookworm-Setup.exe v3.1.2 2026-04-26 15:09:01 +08:00