Preface¶
When running agents in DeepSeek Harness (DSH), commits, branches, and uncommitted changes in the workspace are often scattered between terminal commands and external Git clients. To browse the commit graph, compare versions, view staged/unstaged diffs, and perform selected Git operations after confirmation—all without leaving the Web interface—the capabilities need to be attached to DSH’s client sidebar. dsh-git-graph is a client-side plugin published by maintainer yoggu, targeting the right sidebar of DSH Web, centrally displaying Git history and working tree changes in graph and diff forms.
What Is This¶
dsh-git-graph provides a Git graph in the right sidebar of DSH Web: you can browse commits, branches, tags, and stashes; inspect staged/unstaged changes and diffs; compare revisions; and execute selected Git operations through a confirmation dialog. When the panel is open, changes in the Git directory automatically refresh the view. The plugin requires no API key; the browser-side bundle (client.js) is already included in the installation package.
- Repository: yoggu/dsh-git-graph
- Community directory: SkillHub plugin page
- License: MIT (see the repository
LICENSE) - Released version in the current materials:
v0.1.3(versioninpackage.jsonis0.1.3)
Core Features¶
The following capabilities are all taken from the project README and the package.json descriptions; features not present in the materials are not included in the main text.
- Commit graph and metadata: View the Git history graph in the sidebar and inspect the details of a single commit.
- Workspace and diff: View staged/unstaged changes; the diff view works for both historical commits and changes not yet committed by the agent.
- Branches, tags, stashes: Browse branches, tags, and stashes within the panel.
- Version comparison: Compare different revisions.
- Git operations: Write operations (such as commit, checkout, reset, stash, push, pull) are initiated by the user and confirmed in a confirmation dialog; Fetch reads configured remotes and does not require confirmation. When a force push is requested,
--force-with-leaseis used. - Syntax highlighting: Diffs are rendered as escaped text; syntax highlighting is bundled locally and not loaded from a CDN.
Installation and Activation¶
The installation command must use the original text from the materials. To install a tagged GitHub release into the DSH Web profile:
dsh plugin --profile web add 'https://github.com/yoggu/dsh-git-graph.git#v0.1.3'
If the actually running profile is not web, replace --profile web in the command with the profile you are using. If necessary, restart DSH Web; after refreshing the page, select Git graph from the tab menu in the right sidebar.
Uninstallation:
dsh plugin --profile web remove dsh-git-graph
Or download the source code and link a local checkout (the browser bundle client.js is included, so no build is needed for installation; the directory must be kept during linking):
git clone --branch v0.1.3 --depth 1 https://github.com/yoggu/dsh-git-graph.git
cd dsh-git-graph
npm install --omit=dev --ignore-scripts
dsh plugin --profile web add "link:$(pwd)"
Runtime environment (from engines in package.json):
- Node:
>=22.19.0 - DSH:
^0.1.7-rc.2 || ^0.2.0-rc.1
Typical Usage¶
1. Open the Git Panel¶
After installation is complete and DSH Web is refreshed, select Git graph from the tab menu in the right sidebar. The currently selected repository name is displayed above the graph and appears in operation confirmation text.
2. Select a Repository¶
The Git panel initially lists only registered DSH workspace folders, with the current workspace at the top. You can:
- Directly select a Git repository under a workspace;
- Click the arrow next to a folder to expand subfolders layer by layer until reaching nested repositories, worktrees, or initialized submodules.
There is no recursive background scan; the search only filters already-loaded folders. Switching repositories affects only the Git panel; Files, terminal, the current DSH workspace, and the session directory remain unchanged; the Diff and comparison tabs retain the repository open at the time. The selected repository is remembered within the same session but not retained after a full browser page refresh.
Folder browsing skips dependency directories and sub-symlinks; subdirectories are only read when the parent directory is expanded. Use the refresh button to reload the workspace root and opened branches. Bare repositories are not supported.
3. View Diffs and Execute Operations¶
Browse the commit graph and changes within the panel, and open diffs or revision comparisons as needed. Operations requiring Git writes are executed after confirmation; Fetch directly reads remote configuration.
Use Cases and Notes¶
Who it is for: Developers who primarily develop in DSH Web and want to complete “view history + view uncommitted diffs + a few confirmed Git operations” within the sidebar; users who have registered multiple workspaces into DSH and need to view repositories in other workspaces without switching session directories.
Security and permissions (must read):
- The plugin runs with the permissions of the current DSH process; access to authenticated APIs of the plugin is, according to the materials, equivalent to being able to exert Git control over “all registered DSH workspaces, session directories and their subdirectories, and repositories containing the session”. Before installation, read the source code and the MIT license, and understand the behavior of the Cordis patch and the client bundle.
- Even ordinary status-type reads read the repository’s local Git configuration;
core.fsmonitor, hooks, filters, etc. may execute external programs. Fetch, push, and pull use configured transport methods and may connect to external hosts. Do not open or operate the graph on repositories with untrusted Git configurations. - Destructive operations may discard work; write operations all have confirmations, but you should still back up or confirm the workspace state yourself before operating.
The DSH ecosystem emphasizes “everything is a plugin”; SkillHub is a community directory site and has no official affiliation with DeepSeek / High-Flyer.
Conclusion¶
dsh-git-graph brings Git history graphs, commit details, and workspace diffs into the right sidebar of DSH Web, and supports some Git write operations under a confirmation flow, making it suitable for quickly checking agent changes and repository status alongside a Harness session. Installation uses the tagged release dsh plugin --profile web add command as the standard; for details and security notes, see the repository README.
- Directory page: https://www.skillhub.cn/plugins/yoggu/dsh-git-graph
- GitHub: https://github.com/yoggu/dsh-git-graph