Files
vibe-foreman/scripts
2a12a1611c feat: .app 真·开箱即用 + 终端派发修复 Keychain 登录态 (#3)
让 .app 不再依赖 hub 项目仓库存在,在新电脑上装上就能用。

## 自包含改造
- scripts/sounds 嵌入 .app Resources,启动自动同步到
  ~/Library/Application Support/claude-hub/(覆盖式)
- projects.yaml 迁到 ~/Library/Application Support/claude-hub/,
  首次启动自建空模板
- scripts 改自定位($(dirname $0) 推断 HUB_DIR),
  不再硬编码 ~/Documents/code/claude-hub
- 启动时 ensure_path() 跑 zsh -l -i 继承 user shell PATH,
  解决 launchd 启动只有 /usr/bin:/bin 找不到 brew/bun 的问题

## 依赖检查
- 新增 deps.rs 启动时 which tmux/iTerm/claude/git/terminal-notifier
- UI 红卡片显示缺失依赖 + 一键复制 brew install 命令

## 终端派发(修复 Claude 非登录状态)
- 新增 term.rs:检测 iTerm > Warp > WezTerm > Terminal.app
  优先级,第一版只支持 iTerm + Terminal.app
- 第一次 tmux new-session 改由终端跑,server 父进程是终端,
  claude 继承终端 Keychain ACL 解决登录态读不到的问题
- UI deps panel 显示当前终端 + 检测到旧版 server 时提示
  tmux kill-server

## UI 增强
- 空项目时显示扫描引导卡片
- 顶部加「⟳ 扫描」按钮,Rust 实现 git 仓库自动发现
- 缺失依赖卡片支持点击复制安装命令

Co-authored-by: wuguangan <anjaihd0206@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-08 14:52:41 +08:00
..