Introduction¶
When developing agents or projects in DeepSeek Harness (DSH), the workspace is often a Git repository. To view branches, commit history, and change previews in a browser, the common practice is to switch to the terminal or open the Source Control view in an IDE, causing your focus and session context to jump back and forth. The DSH community breaks capabilities into plugins; dsh-web-git-sidebar targets the Web profile, placing a VS Code-style Git panel into the left sidebar and providing quick access entries at the bottom that follow the current session, reducing the number of times you need to “leave the Harness to check Git.”
What is this?¶
DSH Web Git Sidebar (npm package name dsh-web-git-sidebar, maintained by RaditPasya) is a Web client plugin for DSH: it provides a Git icon and a full panel in the left sidebar, along with a persistent Footer dock above the Settings. The README emphasizes that operations are performed locally—No telemetry. No cloud. Just git. The plugin requires DSH >=0.2.0-rc.2, targets the web platform, and is categorized as a client in the community directory. The license is MIT.
Core Features¶
The following capabilities listed in the README are available directly in the Web UI after installation.
Branch & Sync Status¶
The Branch switcher supports searching, switching, and creating branches. The list uses symbols to indicate the relationship with the remote, such as ↑N ↓M for ahead/behind, ✓ for synced, and ● for local-only.
Commit Graph & Preview¶
The Commit graph uses SVG to draw branch lines and merge curves, with loop markers at merge points; clicking a row expands details. Commit preview displays the files involved in the commit (added/modified/deleted), lines added/deleted, full commit message, author, and time; hovering over lines allows for a quick summary browse. Who’s who assigns different colors to different authors, facilitating scanning contributors in long histories.
Footer dock¶
There is an always visible branch dropdown and recent commit bar at the bottom of the sidebar, above Settings. It follows the currently open session and auto-hides in non-Git workspaces. It can be collapsed by clicking the title; drag the top edge (or use arrow keys after focusing) to adjust the height, and the size will be remembered.
Pull / fetch & Performance¶
Pull / fetch is merged into a single button: it performs a fetch when synced with the remote; when behind, it attempts a fast-forward and reports the result. Status, branch, and graph data are fetched via a single batched host call and cached, combined with skeleton screens to avoid blank panel flickering. Every host-side Git command has a timeout; if the repository hangs, it reports an error rather than hanging the panel indefinitely.
Installation & Activation¶
The installation command comes from the project README and requires the web profile:
dsh plugin --profile web add dsh-web-git-sidebar
After installation, restart the Web UI once (to load the new host routes), then refresh the page; the Git icon will appear in the left sidebar.
To modify the plugin source code locally for debugging, the README provides a link method (you need to clone the repository yourself and then link; clone steps are not expanded here; for full commands, see the GitHub README).
Typical Usage¶
- In a Web session bound to a Git workspace, click the Git icon on the left to open the full panel: switch or create branches, and click a commit in the graph to view file-level previews.
- When the full panel is not needed, use the branch dropdown and recent commit list in the bottom Footer dock; the dock will not appear in non-Git directories.
- When needing to align with the remote, use the Pull / fetch button in the panel to perform a fetch or fast-forward based on the current sync status.
When developing the plugin locally, the build and verification workflow provided by the README is as follows (for maintainers or contributors):
pnpm install
node scripts/build.mjs
For development builds with readable output, use MINIFY=0 node scripts/build.mjs. After link: installation, changes to the client bundle only require a refresh; changes to src/host/ or src/index.ts require restarting DSH.
Use Cases & Notes¶
Who it is for: Developers who primarily work in the DSH Web UI and want branch, commit graph, and change previews on the same screen as their conversations/sessions; scenarios that prefer local Git and do not want the panel to rely on cloud sync or telemetry.
Environment & Permissions: The plugin executes Git commands in the workspace via the DSH host, with the same permissions as the current DSH process. Before installation, it is recommended to review the source code and MIT license on the GitHub repository to ensure it meets your security and compliance requirements. Node engine requirements are listed in package.json (^22.19.0 || >=24.0.0).
Ecosystem Note: DSH adopts an “everything is a plugin” extension approach; the SkillHub plugin directory is a community site and has no official affiliation with DeepSeek / High-Flyer. The installation and feature descriptions in this article are based on the repository README.
Conclusion¶
dsh-web-git-sidebar packs branch switching, colored commit graphs, per-commit previews, and Pull/fetch into the Web left sidebar and bottom dock, keeping Git status inside the Harness interface you are already using. To learn more, visit the community directory page and source repository:
- Directory Page: https://www.skillhub.cn/plugins/RaditPasya/dsh-web-git-sidebar
- GitHub: https://github.com/RaditPasya/dsh-web-git-sidebar