Skip to content

v0.28.0 — Git 工作台与提交图 / Git Workbench & Commit Graph

Choose a tag to compare

@Menghuan1918 Menghuan1918 released this 17 Oct 06:23
· 94 commits to main since this release

安装 / Installation

要求 DSH 0.2.1-rc.1 或更新的兼容 0.2.x 版本。 / Requires DSH 0.2.1-rc.1 or a newer compatible 0.2.x release.

dsh plugin --profile web add dsh-better-sidebar@0.28.0

将 web 换成你实际使用的 profile 名。安装或更新后,按 Cmd/Ctrl + Shift + R 硬刷新浏览器。
Replace web with your profile name. After installing or updating, hard-refresh the browser with Cmd/Ctrl + Shift + R.

升级前请确认宿主版本 / Check your DSH version before upgrading

本插件 latest 已是 0.28.0,但 DSH 自身的 latest 目前仍是 0.2.0-rc.2,二者不兼容。请先升级 DSH 到所需版本;仍用旧宿主的用户按下表固定插件版本,不要直接装插件 latest。

The plugin's latest is now 0.28.0, but DSH's own latest currently remains 0.2.0-rc.2 and is not compatible. Upgrade DSH first, or pin the matching plugin version below instead of installing plugin latest.

DSH 版本 / DSH version 插件版本 / Plugin version
0.2.1-rc.1+(兼容 0.2.x / compatible 0.2.x) 0.28.0
0.2.1-alpha.5 0.28.0-alpha.0
0.2.0-rc.2 0.26.1
0.2.0-rc.1 0.24.1
0.1.7-rc.1 至 / through 0.1.7 0.22.1

中文|相比上一正式版 v0.26.1

以下以上一正式插件版本 v0.26.1为基准。v0.27.0 未单独发布,其功能与后续新增功能、修复一并包含在本版。

🌿 Git 工作台与只读提交图

  • Git 页面采用更清晰的 Source Control 布局:冲突、已暂存、未暂存文件分组展示,支持折叠、提交消息草稿和消息生成。
  • 新增只读提交图,可查看分支与合并关系、筛选分支,并查看提交详情和差异;浏览提交图不会切换分支或拉取远端。
  • 提交图填满侧栏可用高度,长历史在图内滚动;分支、同步状态和操作保留在底栏,打开差异预览或调整窗口时布局会跟随变化。

🧭 可选 Context 诊断快捷入口

安装并启用 dsh-context 的 Context 侧栏后,可从会话标题栏、代理详情、后台任务输出窗直达对应会话的上下文视图。跨会话跳转会定位正确目标并复用已有标签;未安装或不可用时不显示入口。

📂 更准确的文件记录与仓库发现

  • 「本轮文件」补齐 PTC 模式下的文件操作,修正路径识别,并将操作按时间倒序平铺,便于回看代理刚做了什么。
  • 同一文件的已暂存与未暂存行数分别显示,不再重复相加。
  • 工作区根目录本身是 Git 仓库时,仍可发现内部的独立仓库;Git 所有权警告不再导致整个页面不可用。

💬 更轻量的侧边对话

新侧边对话从父会话最近一次压缩摘要继承上下文,减少重复复制长历史。

🛠️ 体验修复

修复 Git 选中文件行错位和异常边框;「本轮文件」在没有新操作时减少重复请求。

🔄 DSH 版本支持

适配 DSH 0.2.1-rc.1 版本。


English|Changes since the previous stable release, v0.26.1

The comparison below is against v0.26.1, the previous stable plugin release. It includes the features prepared for v0.27.0, which was not released separately, plus subsequent improvements and fixes.

🌿 Git workbench and read-only commit graph

  • A clearer Source Control layout separates conflicts, staged files and unstaged files, with collapsible groups, commit-message drafts and message generation.
  • A new read-only commit graph shows branches and merges, supports branch filtering, and opens commit details and diffs. Browsing it does not check out branches or fetch from remotes.
  • The graph fills the available sidebar height and scrolls long histories internally. Branch and sync controls stay in the footer, while the layout adapts to window resizing and the diff preview.

🧭 Optional Context diagnostics shortcuts

When dsh-context provides its Context sidebar view, open the relevant session's context from the session header, agent details or a background-job output window. Cross-session navigation selects the correct target and reuses existing tabs. Shortcuts stay hidden when the integration is unavailable.

📂 More accurate file activity and repository discovery

  • Session file activity now includes PTC file operations, resolves paths more reliably, and presents operations newest-first so you can quickly see what the agent just did.
  • Staged and unstaged line counts remain separate instead of being added together.
  • Nested independent repositories are discovered even when the workspace root is itself a Git repository. Git ownership warnings no longer make the whole page unusable.

💬 Lighter Side Chats

New Side Chats inherit context from the parent's latest compaction summary, reducing duplication of long histories.

🛠️ Usability fixes

Fix misplaced selected Git rows and stray borders, and reduce repeated session-file requests when nothing changes.

🔄 DSH version support

Support DSH 0.2.1-rc.1.


贡献者与致谢 / Contributors & thanks

感谢本次正式版范围内提交功能、修复并参与集成验证的贡献者!
Thank you to everyone who contributed features, fixes and integration work included in this release!

贡献者 / Contributor 本版贡献 / Contribution PR
@hairyf Git 工作台重做、页签样式与文件操作列表 / Git workbench redesign, tab styling and file-activity list #944, #939, #940
@vlln 只读提交图与 Git 页签命名 / Read-only commit graph and Git tab naming #969, #968
@wang-kaopu 文件记录路径修正、PTC 支持与空闲请求优化 / File-activity path fixes, PTC support and fewer idle requests #886, #921, #885
@UNscientific-9 暂存与未暂存行数修正 / Separate staged and unstaged line counts #909
@yanzhaohui1999 Git 仓库所有权警告处理 / Git repository ownership-warning handling #827
@iasiv5 嵌套独立仓库发现 / Nested repository discovery #607
@NolanHo 从最近压缩摘要创建侧边对话 / Side Chats starting from the latest compaction summary #964

维护者 @Menghuan1918 完成 Context 诊断联动、提交图高度改善及本版集成发布。也感谢所有提交问题、反馈和参与试用的用户。
Maintainer @Menghuan1918 added Context diagnostics integration, improved graph height and integrated this release. Thanks also to everyone who reported issues, shared feedback or tested the release.

完整变更 / Full changelog: v0.26.1 → v0.28.0