Skip to content

Releases: mojiexuan/dsh-git

v0.2.1

Choose a tag to compare

@mojiexuan mojiexuan released this 17 Aug 16:17

v0.2.1

Adds a self-update check, expands the commit-history graph by default, and fixes several lane-connection and text-alignment issues.

新增自更新检测功能,提交历史图默认展开,并修复多处泳道连线与文字对齐问题。

New / Improved 新增 / 改进

  • Self-update — on first open the panel silently checks the npm registry for a newer version; when one exists, an update badge appears on the sidebar entry and a one-click "update now" link shows in the panel header, followed by a restart prompt. The check is non-fatal (a network/proxy failure stays silent), results are cached for 10 minutes, and the registry base can be overridden via registryUrl.
    自更新检测:面板首次打开时静默检查 npm registry 是否有新版本;有新版时,侧边栏入口显示更新徽章,面板头部出现一键「立即更新」链接,更新后提示重启。检查失败(网络/代理问题)保持静默,结果缓存 10 分钟,可通过 registryUrl 覆盖 registry 地址。

  • History expanded by default — the commit graph opens automatically instead of starting collapsed.
    历史图默认展开:提交图默认自动展开,不再默认收起。

Fixes 修复

  • Fixed extra dangling vertical lines in the lane graph with many branches (octopus merges).
    修复多分支(octopus merge)时泳道图出现多余悬空竖线的问题。
  • Fixed broken/dangling slanted lines in criss-cross merges.
    修复交叉合并(criss-cross)时斜线断线、悬空的问题。
  • Fixed commit messages being pushed apart and misaligned when many branches are open — text now hugs the rightmost lane crossing each row.
    修复分支多时提交消息间距被拉大、不统一的问题——文字现在紧跟经过该行的最右泳道。

Upgrade 升级

dsh plugin --profile web update @mojiexuan/dsh-git

Fully restart dsh web (host bundle) and refresh the browser (client bundle).

完全重启 dsh web(host bundle),并刷新浏览器(client bundle)。

v0.2.0

Choose a tag to compare

@mojiexuan mojiexuan released this 16 Aug 15:54

v0.2.0

Commit-history graph fully rewritten: lane topology is now computed client-side, with paged loading and virtual scrolling for long histories, a cleaner look, and several connection/refresh fixes.

提交历史图全面重写:车道拓扑改在前端计算,支持分页加载虚拟滚动,长历史性能更好、图形更美观,并修复了多处连线与刷新问题。

New / Improved 新增 / 改进

  • Paged commit history — scroll to the bottom to load the next page instead of truncating long histories (500 commits per page by default).
    提交历史分页加载:滚动到底自动加载下一页,不再一次性截断长历史(默认每页 500 条)。
  • Client-side lane topology — no longer parses git --graph ANSI output; handles merges, branches, and even criss-cross merges correctly.
    前端自绘 lane 拓扑:不再依赖 git --graph 的 ANSI 解析,能正确处理合并、分支,甚至交叉合并(criss-cross)等复杂场景。
  • Cleaner graph — rounded bezier bends plus a soft palette; lane pitch shrinks as the branch count grows, so commit text is never pushed off the edge.
    更美观的图:圆角贝塞尔曲线 + 柔和调色板;车道间距随分支数量自适应收缩,分支再多也不会把提交文字挤出屏幕。
  • Viewport-clamped hover card — the commit detail popover stays inside the viewport instead of overflowing at the top/bottom.
    悬停卡片防越界:悬停提交时弹出的详情卡片自动夹紧在视口内,不再上下溢出。
  • Smarter auto-refresh — incremental updates while the graph is expanded: new commits appear smoothly, remote refs (e.g. origin/main) move correctly after push, and the swap is atomic so it never flickers.
    自动刷新增强:历史图展开后定时增量更新——新提交平滑出现、push 后远程分支引用(origin/main 等)正确移动,且原子替换不闪烁。

Fixes 修复

  • Fixed the trunk line breaking at merge bends.
    修复合并拐弯处主干线断线的问题。
  • Fixed the dangling vertical line above a branch's latest commit.
    修复分支最新提交上方多余悬空竖线的问题。
  • Fixed wrong slanted-line colors at merge joins and the extra "tail" dragged by merged branches.
    修复合并汇合处斜线颜色错误、以及被合并分支拖出多余「尾巴」的问题。
  • Fixed slanted/vertical line overlap causing visual confusion in criss-cross merges.
    修复交叉合并时斜线与竖线重叠导致视觉错乱的问题。
  • Fixed the hover card overflowing at the viewport top/bottom.
    修复悬停卡片在视口顶部/底部越界的问题。

Upgrade 升级

dsh plugin --profile web update @mojiexuan/dsh-git

Fully restart dsh web (host bundle) and refresh the browser (client bundle).

完全重启 dsh web(host bundle),并刷新浏览器(client bundle)。

v0.1.0

Choose a tag to compare

@mojiexuan mojiexuan released this 16 Aug 09:19

v0.1.0

一个为 DeepSeek Harness 打造的、类似 VS Code 的 Git 源代码管理面板插件。

A VS Code–like Git source-control panel plugin for DeepSeek Harness.

安装 · Install

dsh plugin --profile web add @mojiexuan/dsh-git

文档 · Docs