Skip to content

v0.7.6

Choose a tag to compare

@agegr agegr released this 03 Jul 15:02
· 319 commits to main since this release

中文

基于 v0.7.5..v0.7.6 的提交整理。

新增

  • 新增 Git worktree 支持(6802793):在侧边栏按 project root 聚合同一仓库的 main checkout 和 linked worktrees,支持切换 worktree、新建 worktree、删除非 main worktree。
  • 新增 /api/worktrees 服务端接口和 worktree 解析逻辑(6802793),用于列出、创建和移除 Git worktrees。
  • 新增 Worktree 用户指南,中英文文档分别位于 docs/worktrees.mddocs/worktrees.zh-CN.md6802793)。
  • 新增发布检查清单 docs/release.md,记录 npm 和 GitHub Release 发布步骤(8f70f8d)。

修复

  • 过滤 Git 返回的 prunable 或路径已消失的 worktree,避免侧边栏展示不可用 checkout(6802793)。
  • 让已有 worktree 在没有历史 session 时也能被文件 Explorer 访问,避免切换到已有 worktree 后文件浏览失败(6802793)。

改进

  • 优化 worktree selector 的用户提示:非 Git 目录或 Git 子目录会复用禁用态 selector 展示短提示,而不是额外说明块(6802793)。
  • 优化 cwd 切换体验:worktree selector 在加载期间保持稳定占位,并固定 active/disabled 状态高度,减少闪烁和布局跳动(6802793)。
  • README / README.zh-CN 增加 worktree 功能入口和文档链接(6802793)。

内部调整

  • 发布 npm 包 @agegr/pi-web@0.7.68dab053)。

English

Prepared from commits in v0.7.5..v0.7.6.

Added

  • Added Git worktree support (6802793): the sidebar now groups the main checkout and linked worktrees under one project root, with controls to switch, create, and remove non-main worktrees.
  • Added /api/worktrees and server-side worktree resolution utilities (6802793) for listing, creating, and removing Git worktrees.
  • Added user-facing Worktree guides in docs/worktrees.md and docs/worktrees.zh-CN.md (6802793).
  • Added docs/release.md with the npm and GitHub Release checklist (8f70f8d).

Fixed

  • Filtered prunable or missing worktrees returned by Git so unavailable checkouts do not appear in the sidebar (6802793).
  • Allowed file Explorer access for existing worktrees even before they have session history, avoiding browse failures after switching to an existing worktree (6802793).

Improved

  • Improved worktree selector guidance: non-Git directories and Git subdirectories now reuse a disabled selector state with short labels instead of a separate help block (6802793).
  • Smoothed cwd switching by keeping a stable worktree selector placeholder while worktree data loads and matching active/disabled selector heights (6802793).
  • Added README / README.zh-CN entries for worktree support and the new guide (6802793).

Internal

  • Published npm package @agegr/pi-web@0.7.6 (8dab053).