Introduction¶
When managing Git repositories in DeepSeek Harness (DSH), common needs include viewing workspace changes, browsing commit history, switching branches, pushing/pulling, and staging/unstaging files. These operations are scattered across the terminal, the file panel, and external tools, requiring frequent context switching and making it easy to lose track of state.
The DSH plugin ecosystem embraces a “everything is a plugin” philosophy—adding functionality to DSH simply requires installing the corresponding plugin. miorin-chan/dsh-vcs-panel is a version-control panel plugin designed specifically to address the issues described above.
What It Is¶
dsh-vcs-panel is a VCS panel that runs in the DSH right sidebar, providing a unified version-control view for both Git and Jujutsu repositories. It integrates workspace changes, syntax-highlighted diff views, and lane-graph-based commit history into a single interface, where you can perform operations on branches, remote branches, tags, and commits—including checkout, rename, delete, merge, rebase, push, pull, tag, stage, and stash recovery.
Maintainer: miorin-chan. Category: Client.
Core Features¶
-
Adds a VCS tab to the sidebar. The panel sits alongside the Files and Terminal tabs, with a card in the sidebar guide. The tab title pairs a branch icon with the current branch, working copy, repository, or layout view, and shows details on hover. Both the VCS banner that appears after switching to a new file or editing a file, and the keyboard shortcut, open the same tab. A toggle in the header can display the timeline and changes side by side or in separate columns, so diffs are fully visible in a wider sidebar.
-
Timeline and lane graph. Browse workspace changes and topological commit history simultaneously, with branches, bookmarks, and tags displayed. The timeline shows one repository at a time; the title button on the left displays the repository name.
-
Repository overview and switching. Click the repository button to see branches, detached HEADs, and stashes across all repositories. Each repository is tracked by its respective trunk and color-coded by status: unsaved changes, local-only commits, diverged, behind, merged, staged, in-progress operations, and more. Click a repository to view its timeline (even if the pointer is still loading); click the pointer to jump to it. The gear button in the overview header opens “Manage Repositories,” where you can preview and add a set of repositories, register nested repositories, and choose the type for repositories that carry both Git and Jujutsu markers. Discovery rules are stored in
.dsh/vcs-panel.jsonunder the session directory. Use “Scan for unlisted repositories” in Manage Repositories to find additional repositories under the session directory, add the results to the draft, and save to update the discovery list. -
Create and delete working copies. Use “+ New” in the Worktrees menu header to create a Git worktree or a Jujutsu workspace. A target path (e.g.,
../topic) creates a checkout next to the current repository. Git can create a new branch, check out an available local branch, or detach HEAD. Jujutsu creates a working-copy commit on the specified parent revision. Click the menu on the right side of a row to delete a qualifying Git worktree while preserving the branch. Jujutsu supports detaching from the workspace while keeping working files (on versions that supportjj workspace remove), or deleting the directory entirely. -
Inline change tree. Changed files are displayed as a collapsible list; expanding any file lets you read the diff in place, with support for sticky headers, unified or split-column views, and word wrapping (enabled by default).
-
Native Git and Jujutsu support. Git shows staged and unstaged groups (untracked items marked as U, new files marked as A) along with ahead/behind status; Jujutsu shows change IDs and bookmarks. Refresh takes a snapshot of the checked-out workspace, useful for updating state after external file edits.
-
Git staging. Hover or focus a row to reveal staging commands in the left gutter: + stages the row into the unstaged set, − removes it from the staged set. A half-dot marker indicates files present in both groups; its commands stage the remaining changes from unstaged or remove them from staged. Folder and group rows can stage/unstage all files beneath them at once, including untracked folders, and a single undo restores the prior state. Press s to stage the row under the cursor, u to unstage. After expanding a supported text diff, you can stage/unstage individual additions or deletions via checkboxes in the layout; you can also use the checkbox in the diff hunk header to operate on the entire hunk—mixed-hunk checkboxes stage the remaining changes. Staging is only available when the repository’s default Git worktree is selected; it updates the index while preserving working-file contents. In the Git worktree toolbar, use the list icon to toggle between the default merged view (one line per file) and separate staged/unstaged groups. In the merged view, a blank box means unstaged, a checked box means staged, and a dash means partially staged; clicking the dash stages the remaining changes, and the file menu can unstage everything.
-
Undo and redo staging. In the worktree detail toolbar, use the curved arrows to undo or redo whole-file and selected-line staging operations; hover or focus an arrow to see the affected file and range. If the affected index entries or HEAD have changed, the panel preserves the current changes and reports a conflict. A new staging operation clears the redo history. Restarting DSH clears all history.
-
VCS banner and keyboard shortcut. At the end of a file change, a VCS banner appears at the end of the turn, showing the current branch (or @), the number of changed files, and the + / − line counts, replacing the Chat’s changed-files card. Clicking the banner opens the graph for the changed repository, or selects the matching repository in the overview. The keyboard shortcut to open the sidebar tab from anywhere is ⌘⇧G / Ctrl+Shift+G; pressing it again slides back to the conversation.
-
One-click sync. The button next to a Git branch shows the ahead/behind counts; clicking it fetches from upstream, then performs a fast-forward push. For branches that are diverged, where a fast-forward would overwrite local edits, or that have no upstream, the state is left unchanged and a hint for the next action is provided.
Installation and Activation¶
The plugin is available on GitHub: https://github.com/miorin-chan/dsh-vcs-panel. Download the plugin directory from the repository and place it in the DSH plugins directory. The plugin requires DSH version >=0.2.2-rc.3 (see package.json engines.dsh). A detailed description is available on the plugin directory page: https://www.skillhub.cn/plugins/miorin-chan/dsh-vcs-panel.
Typical Usage¶
- After installing the plugin, click the VCS tab in the DSH right sidebar.
- In the overview, click the repository button to see a status summary of all repositories, then click a specific repository to enter its timeline.
- Browse the commit history in the timeline; click a commit to view its inline diff.
- In the change list, press s to stage the current row, or u to unstage.
- Use “+ New” in the Worktrees menu header to create a new Git worktree or Jujutsu workspace.
- Click the sync button next to a branch to perform a fetch + fast-forward/push.
- From any conversation window, press ⌘⇧G / Ctrl+Shift+G to open the VCS sidebar; press again to return to the conversation.
Use Cases and Notes¶
This plugin is suitable for developers and agent developers who need to manage Git and Jujutsu repositories directly within DSH. It consolidates the ability to view changes, browse history, and perform version-control operations in a single sidebar panel, reducing the need to switch between the terminal and file panel.
The plugin runs with the permissions of the current DSH process. Review the source code and license before installing. Community directories (such as SkillHub) are independent sites with no official affiliation to DeepSeek / High-Flyer.
Conclusion¶
dsh-vcs-panel integrates Git and Jujutsu version-control views into the DSH right sidebar, providing a one-stop entry point for workspace changes, diff comparison, commit history, and common operations. For details or to download, visit the plugin directory page or the GitHub repository.