dsh-git-ui 0.0.2 — Git center (changes management)
This release adds the Git center management panel — the first step
toward an IDE-style Git hub inside the dsh Web UI.
New
- Git center panel (open from the status popup): IDE-style changes view
- Grouped lists: staged / unstaged / untracked
- Per-file and bulk stage / unstage / discard (discard is two-step
confirmed, auto-disarms after 3s) - Commit with a message — commit only the selected files
(git commit -- <paths>semantics) or everything staged;Cmd/Ctrl+Enter
to submit - Every operation refreshes the status instantly (host returns a fresh
snapshot; no waiting for the next poll)
- Platform-aligned UI: buttons use the dsh
Buttonatom, success
feedback is a transient systemToast(auto-dismisses), errors show a
dismissible in-panel banner
Host
- New
gitInfo/runRemote endpoint with a discriminatedGitActionunion - Repo-relative path validation (absolute paths /
..escapes rejected),
---separated argv, no shell discard-allresets the index then the work tree
Install
dsh plugin --profile web add dsh-git-ui@0.0.2Restart dsh web after installing.