dsh-git-composer: Persistent Git Branch and PR Bar Above the DSH Input Box

Preface

When using agents to modify code in DeepSeek Harness (DSH), you often need to switch to a terminal or browser to verify which branch you are on, what changes have been made to the workspace, or whether you should commit or open a PR. If you are accustomed to the Git status bar above the input box in Claude Desktop, the default DSH interface does not offer an equivalent experience.

Below is an introduction to the community-maintained client plugin dsh-git-composer (repository ls-open/dsh-git-composer): it mounts a persistent action bar into the composer:header slot of the DSH Desktop and Web UI, consolidating branch switching, line-level diff previews, and commit/PR creation right near the conversation input area. DSH itself follows the philosophy of “everything is a plugin”; directory sites like SkillHub are community listing channels and have no official affiliation with DeepSeek or High-Flyer.

What is this?

dsh-git-composer is maintained by ls-open and categorized as a client plugin on SkillHub. The official one-line description is: Claude-style Git branch & PR composer bar for DeepSeek Harness (DSH)—essentially replicating a “Claude-style” Git branch and PR composer bar within DSH.

In Discussion #9863 of the deepseek-harness repository, the author positions it as an out-of-tree Cordis UI plugin targeting Desktop and Web UI. It does not alter the core conversation flow but only adds Git-related UI elements to the header of the input box.

The SkillHub directory page indicates that the currently installable version is v0.1.5 (the page update time is subject to the directory).

Core Features

The following capabilities are based on the maintainer’s description in Discussion #9863, consistent with the public self-description available when the README scraping failed.

Persistent Header Bar

The plugin mounts to the layout slot composer:header, displaying current repository context (branch, change count, etc.) above the input box without embedding into the main chat stream.

Zero-Token Branch Switching

It provides a dropdown menu for local branch checkout. The author claims this completes in approximately 15ms without sending instructions to the model or consuming conversation turns.

Line-level Diff Integration

Clicking the line change count in the format +X -Y opens the DSH built-in diff review drawer, facilitating a quick glance at changes within the UI.

Adaptive Commit and PR Workflow

  • Local Git repository: Displays operations like Commit changes.
  • If a GitHub remote is configured: Can switch to Create PR ▾ (with options like Ready, Draft, Web, etc., depending on the interface).
  • Non-Git directory: Silently hidden to avoid interfering with normal folder sessions.
  • If GitHub CLI (gh) is not installed: Falls back to local commit mode without throwing errors or interrupting usage due to missing gh.

Active PR and CI Status

Tracks associated PRs (the #PR on the interface) and aggregates GitHub Actions CI status (success / in progress / failure), making it easy to confirm if the pipeline has passed alongside the conversation.

The maintainer notes that this is currently in Alpha / Early Public Beta (the discussion post mentions v0.1 initial release; SkillHub marks v0.1.5). There may still be styling or edge case issues across macOS, Windows, Linux, and various Git configurations. Feedback via GitHub Issues is welcome.

Installation and Activation

The installation commands are based on those published by the maintainer in Discussion #9863; do not construct your own dsh plugin add parameters.

Web profile (Command Line):

dsh plugin --profile web add github:ls-open/dsh-git-composer

DSH Desktop:

Paste the following in Settings → Plugins → Install from URL:

https://github.com/ls-open/dsh-git-composer

Before installing, please open the repository yourself to read the source code and license; the plugin runs with the current dsh process permissions and can access your local Git and (if configured) GitHub-related capabilities. Whether a restart of the Web-side service is required after installing bundle-type community plugins depends on the plugin documentation for your specific DSH version; you can use dsh --profile web --dump-config to confirm if the bundle appears in the composition tree.

Typical Usage

The discussion post and Chinese summary describe the interface-side workflow rather than additional configuration files:

  1. Open DSH Web or Desktop in a Git repository root directory (or a path recognized by DSH as a Git workspace).
  2. View the persistent bar above the input box: current branch, line-level +X -Y counts; the bar will not appear in non-Git directories.
  3. When you need to switch branches, use the header bar dropdown for local checkout without asking the model to execute git checkout.
  4. Click +X -Y to open the DSH native diff drawer to review agent changes.
  5. Use Commit changes for local uncommitted changes; if connected to GitHub and the environment has gh, you can select Ready, Draft, or Web from the Create PR menu to create a PR.
  6. If there is an active PR, view the PR number and Actions CI status on the bar to decide whether to let the agent continue modifying code or to merge.

Questions and suggestions can be submitted to the Issues address provided by the maintainer: https://github.com/ls-open/dsh-git-composer/issues.

Use Cases and Precautions

Better suited for:

  • Daily use of coding agents in DSH, wanting Git status and commit/PR actions right next to the input box to reduce terminal switching.
  • Using GitHub remotes and willing to configure gh locally to utilize full PR and CI rollup capabilities.
  • Migrating from Claude Desktop to DSH and wanting to retain a similar “capsule bar” experience.

Things to note:

  • This plugin is a third-party community client extension, not built into the DSH kernel; review the ls-open/dsh-git-composer source code and license terms before installing.
  • Executes Git / gh related operations with current dsh user permissions; only enable in trusted repositories and environments.
  • Features and UI may change during the Alpha stage; if the GitHub repository page is temporarily unreachable, verify versions and links via the SkillHub directory page first.
  • Star counts and version numbers on the directory page and discussion post may not be synchronized; the SkillHub clue is 1 star (subject to directory display), while the discussion post emphasizes that real-world feedback is still insufficient.

Conclusion

dsh-git-composer brings branch switching, diff previews, commits, and GitHub PR/CI status into a Cordis UI bar above the DSH input box. It is suitable for developers who want to maintain a short path of “modify code — view diff — commit/open PR” within the Harness. Installation commands and feature descriptions are subject to the maintainer’s public posts; please verify the repository and permission boundaries yourself before use.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye