Preface¶
When handling coding tasks with Agents in DeepSeek Harness Web, Git operations often require switching back to the terminal: checking status, confirming diffs, staging files, committing, switching branches, and then verifying whether the Agent understood correctly. The DSH Git Plugin brings these actions into the Web workspace: view repository status and commit history while executing common Git operations, or review step-by-step command proposals generated by Agents.
What This Is¶
DSH Git Plugin is a visual Git workspace for DeepSeek Harness Web, maintained by IT-coder-Yy, under the repository name IT-coder-Yy/dsh-git-plugin. It is used to view repository status and commit history, quickly execute common Git operations, and safely run natural language-generated step-by-step command proposals.
The verified installation command uses the package name dsh-easygit-plugin, licensed under MIT.
Last verified: 2026-08-20, DeepSeek Harness 0.1.0-rc.8, dsh-easygit-plugin 0.2.3.
Core Features¶
The following verified capabilities are described below.
View Repository Status¶
View the current branch, staged and unstaged files, as well as a formatted review view or raw diff.
View Commit History and Details¶
View the commit graph, messages, authors, timestamps, parents, changed files, statistics, and full diffs.
Execute Common Git Operations¶
Supports staging/unstaging individual or multiple files, creating commits, and creating, searching, switching, and safely deleting local branches.
Remote Sync and Rebase¶
Supports viewing upstream, ahead/behind status, and working tree state; performing fetch, fast-forward pull, push, setting upstream for branches, or safely starting, continuing, and aborting rebases.
View Branches and Tags¶
View local branches, remote branches, and tags.
Natural Language Command Proposal Generation¶
Convert natural language requests into step-by-step Git command proposals that can be executed directly or copied for manual execution.
Failure Handling¶
On failure, preserves the failed command, output, and repository diagnostics; provides safe recovery proposals for recognition failures, or hands off complex failures to the Agent for analysis.
Secure by Default¶
Includes allowlist validation, confirmation for high-risk operations, prevention of proposal replay, and hiding of common credentials from diagnostics.
Installation and Enabling¶
First, add the plugin for the web profile:
dsh plugin --profile web add dsh-easygit-plugin
Then start DSH Web:
dsh web
Prerequisites: Node.js ^22.19.0 || >=24.0.0, Git, and a DeepSeek Harness developer preview release with support for static Cordis plugins.
Typical Usage¶
-
Use the Git button next to the composer in DSH Web to view changes, review commit history, stage files, commit changes, manage branches, or sync with the remote.
-
Make Git operation requests to the Agent. For example:
Commit the documentation update to the current branch with the message "docs: update guide"
This generates step-by-step command proposals that can be executed directly or copied for manual execution.
- When rebasing or force-deleting branches, explicit risk confirmation is required.
Applicable Scenarios and Notes¶
This plugin is suitable for use with trusted repositories and trusted Git configurations, especially when you need to view status, perform routine Git operations, or review Agent proposals within DSH Web.
Notes before use:
- The plugin runs with the current DSH process and follows DeepSeek Harness-provided Shell and sandbox policies when executing Git commands.
- Each step must contain exactly one allowed Git subcommand.
- Shell control characters, command substitution, redirection, executable hooks, and unsafe Git options are rejected.
- High-risk operations, including history rewrites, require explicit confirmation, and proposals can only be executed once.
- Common credentials are hidden from diagnostics.
- Review the source code and
MITlicense before installation; security vulnerabilities should be reported privately perSECURITY.md.
Conclusion¶
The value of DSH Git Plugin lies in bringing “view status, perform operations, review Agent proposals” into the same Web workspace, while adding confirmation and execution limits to natural language-generated Git commands.
GitHub: https://github.com/IT-coder-Yy/dsh-git-plugin
Catalog page: If installing from the community catalog, refer to the actual plugin entry and installation command provided on the catalog page.