Skip to content

Releases: lovetree128/dsh-git-gui

Release list

v0.1.3

Choose a tag to compare

@lovetree128 lovetree128 released this 18 Aug 16:17

Release Notes — v0.1.3

dsh-git-gui · Git GUI panel for DeepSeek Harness Web


概述 / Overview

v0.1.3 is a maintenance & hardening release: no new user-facing features, but the codebase is leaner (‑379 lines), faster (fewer git subprocess calls, throttled polling), and free of dead code and stray build artifacts. Behavior for end users is unchanged — install and usage stay exactly as in v0.1.2.

v0.1.3 是维护与加固版本:不包含新功能,但代码更精简(净删 379 行)、更快(减少 git 子进程调用、轮询降频),并清理了死代码与误提交的构建产物。对最终用户而言行为完全不变 —— 安装与使用方式与 v0.1.2 一致。


性能优化 / Performance

EN 中文
File-tree endpoint now runs 2 git subprocesses instead of 3 (untracked files are derived from the porcelain status ? records, which are equivalent to ls-files --others --exclude-standard) — the Files tab loads faster. 文件树端点从 3 次 git 调用降为 2 次(未跟踪文件直接从 porcelain status 的 ? 记录推导,与 ls-files --others --exclude-standard 语义等价)——「文件」标签页加载更快。
Polling throttled: workspace status refreshes every 2 s while the panel is open (was 1 s) and every 5 s for the sidebar badge. 轮询降频:面板打开时工作区状态 2 秒刷新一次(原 1 秒),侧栏徽标 5 秒一次。
Busy indicator now shows the actual operation name (e.g. “Push”) instead of a generic message. 忙碌指示现在显示具体操作名(如 "Push"),而非通用文案。

清理与精简 / Cleanup & Simplification

EN 中文
Removed dead code in lib/parse.js (stripAnsi, statusMeaning, XY_MEANING). 删除 lib/parse.js 中的死代码(stripAnsistatusMeaningXY_MEANING)。
Removed redundant client state: duplicated remotes field and unused statusAt / version in the store; unused imports (cx, refreshStatus, selected); getStateSel / setStateLog indirection helpers; a full-tree remount hack in the file-tree view. 移除冗余客户端状态:store 中重复的 remotes 字段与未使用的 statusAt/version;未使用的导入(cxrefreshStatusselected);getStateSel/setStateLog 间接层;文件树视图的整树重挂载技巧。
Deleted legacy install scripts scripts/auto-patch.mjs and scripts/install.ps1 (plus their tests). Installation is now purely dsh plugin --profile web add @amorligno/dsh-git-gui — the bundle reconciliation registers the plugin automatically. 删除遗留安装脚本 scripts/auto-patch.mjsscripts/install.ps1(及其测试)。安装现在完全走 dsh plugin --profile web add @amorligno/dsh-git-gui —— bundle 对账自动注册插件。
Removed a stray committed npm tarball (carlgao-dsh-git-gui-0.1.0.tgz) and added *.tgz to .gitignore (found by a security audit of the repository). 移除误提交进仓库的 npm 打包产物(carlgao-dsh-git-gui-0.1.0.tgz),并在 .gitignore 中加入 *.tgz(由仓库安全审查发现)。
Typo fix: MAX_UNTRAKED_PREVIEWMAX_UNTRACKED_PREVIEW. 拼写修正:MAX_UNTRAKED_PREVIEWMAX_UNTRACKED_PREVIEW

更新 / Update

dsh plugin --profile web update @amorligno/dsh-git-gui

Then restart dsh web. No configuration changes are required. No migration steps.

升级后重启 dsh web 即可,无需任何配置变更或迁移步骤。


Repository: github.com/lovetree128/dsh-git-gui · npm: @amorligno/dsh-git-gui