dsh-project-summary: DeepSeek Harness Git Project Floating Overview

In DeepSeek Harness (DSH) development or code review scenarios, frequently checking branch status, uncommitted changes, and PR details can interrupt the conversation flow. The dsh-project-summary plugin solves this by providing a floating summary in the top-right corner of the conversation window. It does not occupy a full column or replace the existing right sidebar; instead, it serves as a lightweight panel displaying branch, change, commit, and PR information.

Plugin Overview

  • Plugin Name: dsh-project-summary
  • Owner: callqh
  • Category: Client
  • License: MIT

Core Features

The plugin provides the following information display and interaction capabilities:

  1. Project & Branch Information
    Displays the repository name, current branch, detached HEAD status, and the number of commits ahead/behind relative to the local upstream.

  2. Workspace Changes
    Displays the number of modified files and lines added/deleted. Clicking “Changes” opens a read-only diff preview.

  3. GitHub Pull Requests
    Displays the PR title, number, status, target branch, and external link associated with the current branch. Open PRs are prioritized among multiple matches.

  4. Recent Commits
    Displays the short hash, description, author, and date of the three most recent commits.

  5. Floating & Layout
    Expands to approximately 296px wide and can be collapsed. The plugin remembers the collapsed state and defaults to collapsed on first open in narrow screens. The summary is positioned within the conversation area, does not cover the right-side toolbar, and automatically follows the DSH light/dark theme.

  6. Auto-Refresh
    Queries local Git every 15 seconds when expanded; PRs are cached for 60 seconds; reading pauses when the page is not visible.

  7. Read-Only & Graceful Degradation
    The plugin does not perform commits, pushes, branch switching, or repository initialization. It displays corresponding prompts when there is no Git repository, no PRs, or if the GitHub CLI (gh) is unavailable.

Installation & Activation

The plugin is installed via a tarball from a GitHub Release. Please send the following command to the Agent in DSH:

Please use plugin_manager to install and enable this plugin bundle:
https://github.com/callqh/dsh-project-summary/releases/download/v0.1.1/dsh-project-summary-0.1.1.tgz

After installation, open a main session in a Git repository directory to see the summary.

Prerequisites & Dependencies

  • DSH Version: The initial compatible version is DSH 0.2.0-rc.2.
  • GitHub CLI: To display PR information, GitHub CLI (gh) must be installed and logged in within the DSH Host environment. The plugin only queries GitHub.com repositories pointed to by origin.

Security & Notes

  • Read-Only Operations: The plugin performs only read-only Git queries and does not execute any write operations.
  • Credential Usage: Installation implies trusting the Host plugin to read the project and use existing gh credentials for network queries, but this does not constitute sandbox isolation for untrusted repositories.
  • Privacy: No telemetry, independent databases, or credential storage; the browser only passes the session ID.
  • Compatibility: Not yet published on the npm registry; please use the GitHub Release tarball.

This plugin provides a way to monitor Git status in DSH without switching windows. For more details, please check the GitHub Repository or the Community Directory.

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

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

Xiaoye