Introduction¶
In DeepSeek Harness (DSH) chat sessions, we often need to monitor both the conversation content and the repository state at the same time. If you need to check the current branch, changed files, or switch branches, you typically have to jump to a terminal or an external tool. This interrupts the conversational context and adds cognitive overhead. The dsh-git-status plugin provides Git status information and branch switching directly within the DSH chat interface, so you never have to leave the chat window.
What Is This¶
dsh-git-status is a Host plugin developed by maintainer IAWWW. It lets users see the current repository’s branch, upstream divergence, working tree status, and a list of changed files directly in the DSH chat, and provides a safe entry point for branch switching.
Core Features¶
After installation, a compact chip appears below the chat input box, displaying the current branch, ahead/behind counts relative to upstream, a working tree status dot, and the number of changed files. Clicking the chip opens a panel that lists local branches and remote-tracking branches without a local counterpart, shows the current branch’s divergence and latest commit time, and lists changed files with their porcelain status codes. Clicking a branch and confirming performs the switch; before switching, the plugin prompts about whether uncommitted changes will move along or block the switch, and whether a remote branch will become the new local tracking branch. If you are outside a Git working tree, the chip remains hidden.
Installation & Enabling¶
Make sure you have DeepSeek Harness 0.2.2-rc.5 installed and that the git command is available in your system PATH. The plugin requires a Web UI (Desktop or dsh web) environment. To install, run:
dsh plugin --profile desktop add github:IAWWW/dsh-git-status
For Web/CLI profiles, use:
dsh plugin --profile web add github:IAWWW/dsh-git-status
You can also install from a local checkout:
dsh plugin --profile desktop add /absolute/path/to/dsh-git-status
After installation, fully quit and restart DSH so the Host plugin is loaded at startup.
Typical Usage¶
In a DSH chat session, open a session in a Git repository directory and you’ll see the branch chip below the input box. The chip shows the current branch, upstream divergence counts, working tree status, and the number of changed files. Click the chip to expand the branch panel, where you can browse local branches and remote-tracking branches, view divergence and latest commit times, and see porcelain status for changed files. Click the target branch and confirm Switch—the plugin will handle uncommitted changes and remote-tracking branch setup according to Git’s rules. If the switch is rejected by Git, the panel will display the reason.
Use Cases & Caveats¶
This plugin is suited for developers who manage Git repository branches and status within DSH conversational sessions. It runs Git commands with the user privileges of the current DSH process, and performs no network requests, telemetry, or push operations. Before use, review the plugin source code and license. Note: each chat session’s working directory is limited to one repository, and nested repositories are not auto-discovered; remote-tracking branches are listed only when no local branch of the same name exists; there are list limits (300 local branches, 150 remote candidates, 300 changed files); and the plugin does not support fetch/pull/push/stash/worktree management or a commit UI.
Summary¶
dsh-git-status embeds Git status and branch switching capabilities into the DSH conversational interface, reducing the overhead of switching between tools and providing a more coherent session experience. The plugin implements its features through Host routing and process invocation, with no network requests, and includes caching and refresh mechanisms for results. For more details and source code, refer to the project directory page and the GitHub repository.