Skip to content

v0.14.0 — SSH remote workspaces

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Nov 06:46
c3cf4e8

0.14.0 — Switch branches in an SSH workspace

Thanks to @weijie-5 for PR #53.

使用:启用 DSH Forge,在 SSH 工作区打开尚未开始首轮的会话,点 切换分支。搜索只列分支名,不写入 Git 引用;选中远端分支后才拉取它并建立本地跟踪分支,也可以基于当前 HEAD 新建分支。已有同名本地分支时须明确选本地分支,不会替你覆盖或切换。

Behavior: Search without changing refs; fetch the selected remote head only when switching. After switching, the control attempts a fast-forward-only pull when an upstream exists. If the update fails, the switch is not undone. No force checkout, automatic stash or rebase. Changes run in the SSH session's working directory with its sandbox policy and Agent maintenance; read-only sessions cannot change branches. Local sessions and the official worktree control are unchanged.

Install / 安装: Paste this URL into the official Desktop or Web plugin installer:

https://github.com/CrazyShout/dsh-ssh-remote/releases/download/v0.14.0/dsh-ssh-remote-0.14.0.tgz
dsh plugin --profile web add 'https://github.com/CrazyShout/dsh-ssh-remote/releases/download/v0.14.0/dsh-ssh-remote-0.14.0.tgz'

Desktop and Web use separate profiles. Save work before reloading. Requires remote Git; the new control also needs Forge and the host's working-directory service. The helper remains 0.13.5; no new helper deployment is needed for this release. Roll back with the v0.13.8 installation package.

Enabling the control / 开启入口:In your Desktop or Web profile, enable the official Change requests & worktrees / 变更请求与工作树 plugin under Plugins, then open a blank session in an SSH Git workspace. It is not necessary to change to full access.

macOS → Linux:Forge can fail to probe a Linux checkout by trying to use the Mac's sandbox executable there. In that case SSH Remote verifies the checkout with a read-only helper query before showing its own button. This does not change Forge's native worktree implementation or reduce the session's permissions.

Validation: Final PR checks · Main checks · Release build. Local suite: 713 passed, 13 conditional skips. Release archive tested with isolated Web (0.2.2-rc.1) and Desktop (0.2.2-rc.3) profiles, remote Git/file/terminal operations, local workspace reads and package upgrade/rollback. No model requests. Windows CI covers selected paths, not a manual Windows Desktop session.