Huasfan/dsh-tool-git

Huasfan★ 2TypeScriptLast synced: 2026-08-14

Open on GitHub

Git tools for DeepSeek Harness agent

README excerpt

dsh-tool-git English 中文 Git tools for DeepSeek Harness agents — nine structured, model-facing tools that replace "shelling out to git and parsing text": Tool Purpose Key parameters Canonical value highlights git status Working-tree status workdir? Structured branch/head/clean/staged/unstaged/untracked/conflicts git diff Diff (unstaged by default) staged? stat? paths? diff text or stat numeric summary; UI diff card git log Commit history count? paths? commits[] ( hash/shortHash/author/date/subject ) git add Stage files paths? or all? stagedFiles[] read back from the index git commit Create a commit message (required) body? amend? stageAll? New hash/shortHash/branch ; empty index returns reason: 'nothing-to-commit' git branch List/create/checkout/delete branches action? name? startPoint? force? branches[] ( name/current/upstream ) or action result git show Show a commit or a file at a revision rev path? stat? Commit metadata + patch (UI diff card) or file content (UI read card) git restore Discard working-tree changes / unstage paths staged? source? restored[] — the files actually changed git merge Merge a branch/commit rev noFF? abort? message? New HEAD, or conflicts[] on a merge co…

View full README on GitHub →
Agentsagentdeepseek-harnessdshdsh-plugindsh-pluginsgit

Category