AI Agent Hub
Back to plugins
🖥️

dsh-git-manager

Client Updated 2026.09.06

Run the following command in DeepSeek Harness:

dsh plugin install MoonlitDropOfBlood/dsh-git-manager

Paste the following prompt into your AI chat to install this plugin:

Install the plugin by running dsh plugin install MoonlitDropOfBlood/dsh-git-manager in DeepSeek Harness; the full source is available at https://github.com/MoonlitDropOfBlood/dsh-git-manager.

About this plugin

Working with an AI assistant inside DeepSeek Harness means one persistent annoyance: after the agent touches your files, you still have to leave the interface, open a terminal, and run git status, inspect diffs, resolve conflicts, and switch branches. dsh-git-manager folds all of that into the composer. When your current directory is a Git repository, a branch-icon button with the branch name appears in the tool row; one click opens a centered panel—same visual spec as the Settings dialog, frosted-glass overlay, Esc to dismiss—without breaking your conversation flow.

The panel covers five everyday scenarios. Changes: stage / unstage / discard with full CJK filename support, a hand-rolled unified diff renderer, and commit (including amend and stage-all-and-commit). Branches: local and remote lists with upstream and ahead/behind badges, create, switch, rename, delete, merge, and a side-by-side diff against the current branch. History: a full-branch SVG graph built from git log --all --date-order, ref badges, paginated loading, per-commit file diff on click, and one-click cherry-pick straight into the current branch. Conflicts: a merge-in-progress banner plus per-file resolution via ours, theirs, or a three-pane manual editor (base / ours / theirs). Worktrees: list, add (optionally with a new branch), delete, and prune—on success a new worktree is automatically registered as a DSH workspace the agent can read and write immediately. Every git call uses an argv array with no shell injection, force push is limited to --force-with-lease, and all destructive actions require a confirmation step.

It is built for engineers who do day-to-day development inside the DSH Web UI and want to avoid window-switching, and for teams that juggle multiple worktrees so different AI agents can work in parallel on separate branches—adding a worktree instantly becomes a writable workspace with zero extra configuration.

Use Cases

  • Check repo status, diffs, and branch state in a panel next to the composer without opening an external terminal.
  • Resolve merge conflicts inline by picking ours or theirs per file, then continue the merge without leaving the UI.
  • Add a worktree with a new branch and let the agent read and write in the sandbox immediately.

Best For

  • Engineers doing day-to-day development in the DSH Web UI who want to avoid constant window-switching.
  • Teams managing multiple worktrees where AI agents work in parallel on separate branches.
  • Developers who finish commit, push, and cherry-pick without leaving the conversation context.