Introduction¶
When using agents to modify code within DeepSeek Harness (DSH), the workspace is often already bound to a Git repository. Switching to a terminal or external GUI for operations like commit, pull, push, branch switching, and viewing diffs can disrupt the flow of the session. The following introduces the community plugin dsh-cool-git: it integrates basic capabilities such as commit, pull, push, branch, and diff into the session tab bar, allowing common Git management tasks to be completed within the current workspace.
What is this¶
dsh-cool-git is a client-side plugin for DSH, published by the maintainer CoolTea001 (CoolTea). The source code is hosted on GitHub, and the directory page can be found at SkillHub. The plugin’s positioning aligns with the official description: adding Git management to the session tab bar, covering basic capabilities such as commit, pull, push, branch, and diff.
The current npm package version is 0.2.3, licensed under MIT. The runtime environment requires Node.js ^22.19.0 or >=24.0.0 (consistent with node: >=22.19 in the README).
Core Features¶
The following capabilities are derived from the Features section of the project README and are available in the bound workspace after installation:
- Workspace Binding: View and manage code changes within the current workspace.
- Branch Switching: Quickly switch between local and remote branches.
- Synchronization: One-click Pull and Push to sync remote and local repositories.
- Diff View: View change diffs by file.
- Commit History: Browse commit history and view the corresponding file diffs.
- Auto-generate Commit Message: Use the current default model in DSH to generate a commit description and fill it into the Commit Message input box.
Installation and Activation¶
The official installation method is not manually running git clone, but rather using the add-plugin feature within DSH and entering the package name:
dsh-cool-git
After adding the plugin, restart or refresh the Web service following the standard DSH procedure (the local development documentation example is executing dsh web). The plugin is injected as a web platform client (dsh.client.platform is web in package.json).
If you wish to modify the plugin source code yourself, the contribution instructions in the README provide the development workflow (clone repository, pnpm install, pnpm run dev); daily users only need to install via the package name and do not need to clone the repository.
Typical Usage¶
After installation and activation, find the Git-related entry in the tab bar of the DSH session interface (specific UI depends on the current DSH and plugin version). Generally, you can complete a common closed loop in the following order:
- With the workspace bound, open the change list to confirm the files pending commit.
- Use the Diff view to check modifications file by file; if necessary, open the commit history to view past commits and diffs.
- Manually write a description in the Commit Message, or use “Auto-generate commit message” to let the current default model generate and fill it in.
- Execute the commit; if alignment with the remote is needed, use one-click Pull / Push or switch branches before synchronizing.
Branch switching, Pull, and Push are all completed within the interface provided by the plugin, without needing to leave the current session for these basic operations.
Use Cases and Notes¶
Who it is for: Developers who frequently modify bound Git workspaces within DSH sessions and wish to minimize tool switching; those whose required basic capabilities are concentrated on committing, syncing, branching, and diffing, rather than replacing all advanced features of a full-featured Git client.
Permissions and Security: The plugin runs under the permissions of the current dsh process. The read and write permissions for the workspace Git repository are consistent with the permission boundaries of running git commands locally on your machine. Before installation, it is recommended to review the source code and the MIT license on the GitHub repository to ensure compliance with your environment policies. The community directory SkillHub is an independent site with no official affiliation with DeepSeek / High-Flyer, and the plugin is not a pre-installed item in the official app store.
Ecosystem Background: DSH adopts an extension approach where “everything is a plugin”; dsh-cool-git is a client-side plugin that integrates with DSH via a Cordis patch (cordis.patch.yml). If you encounter issues, you can provide feedback in the repository’s Issues, and contributions via PR following the README are also welcome.
Conclusion¶
dsh-cool-git integrates basic Git operations into the DSH session tab bar, reducing the need to switch back and forth between the terminal and IDE. To install, simply fill in the package name dsh-cool-git in add-plugin.
- Directory Page: https://www.skillhub.cn/plugins/CoolTea001/dsh-cool-git
- GitHub: https://github.com/CoolTea001/dsh-cool-git