dsh-tool-git: Git tools for DeepSeek Harness
dsh-tool-git is a Git operation plugin designed for DeepSeek Harness (DSH) agents, maintained by Huasfan and licensed under the MIT license. The plugin offers 9 core tools, including viewing status, diff, and log, as well as staging, committing, branch management, file restoration, and merging; all operations are performed by default based on the session workspace. The plugin supports installation from GitHub or loading via local patches, and configuration requires specifying the Git path and timeout duration. It is applicable to developers who need to handle Git tasks within DSH sessions. Usage requires a Git version of no less than 2.23 and has been tested on DSH 0.1.0-rc.6. In terms of security, the plugin avoids shell injection via parameter arrays, fixes specific environment variables, and distinguishes domain boundaries.
Read Moredsh-tool-git: Structured Git Tools with Destructive Command Protection for DeepSeek Harness
dsh-tool-git is a Git tool plugin developed specifically for DeepSeek Harness (DSH), designed to address the risks of Shell injection and the difficulty of parsing outputs when executing Git commands through bare Bash. This plugin runs Git operations via a shell-free subprocess runner, avoiding the risk of model inputs being interpreted by the Shell, and parses outputs such as status, diff, and log into structured JSON for stable processing by agents. Its core capabilities cover common Git operations including status, diff, commit, and checkout, and it introduces a destructive command protection strategy. The destructivePolicy option is set to deny by default to reject dangerous operations.
Read More