Introduction¶
DeepSeek Harness (DSH) places code and conversation side by side, yet developers still need to switch to the GitHub web interface to check PRs, Issues, and discussions. Frequent window switching breaks your flow, especially during code reviews. dsh-github-pane adds a GitHub tab to DSH’s right panel, allowing you to read and review PRs, Issues, and discussions for the current session’s repository—all within the same interface.
Plugin Overview¶
dsh-github-pane is a client-side plugin for DeepSeek Harness, maintained by Lucien. It leverages the GitHub CLI to fetch repository data corresponding to the current session’s working directory, presenting PRs, Issues, and discussions as tabs in the right panel. It supports reading, reviewing, and submitting reviews. Beyond that, all mutation operations must still be performed on GitHub directly.
Core Capabilities¶
- Automatic repository detection: Automatically identifies the github.com repository from the git remote of the session’s working directory—no per-repo configuration needed.
- PR review: Browse the PR list (filter by open/closed status), view an overview (title, labels, branch, check status, review decision, and merge status), rendered description, and activity timeline. The changes view offers unified/split diff, per-file collapse/expand all, sticky file headers, and inline review threads.
- Issues & Discussions: Display body content, labels, assignees, answered status, replies, and activity timeline.
- GitHub-level rendering: Uses GitHub’s server-rendered
bodyHTML,github-markdown-css, and theme tokens. Supports alerts, task lists, tables,<details>, footnotes, emoji, syntax highlighting, and Mermaid diagrams. - Review actions: Submit a review (approve / request changes / comment) from the panel’s top bar—this is the plugin’s only write operation.
- Activity controls: Timeline can be filtered to all activity / unresolved review threads / current user’s activity; filter by event type and author; sort by time.
- Content safety: The client-side applies a whitelist filter for tags, attributes, and class names on HTML returned by GitHub, stripping scripts, inline event handlers, inline styles, and unsafe URLs. External links open with
noopener noreferrer. - Multilingual UI: Ships with English and Chinese interfaces, and includes Latin subsets of Inter (UI) and JetBrains Mono (code) to ensure consistent styling across devices.
Installation & Activation¶
- In DSH, open Settings → Plugins (the plugin manager).
- Install the plugin:
github:daftpunkwave/dsh-github-pane(it’s recommended to pin to a specific commit for reproducible updates). - Enable the plugin and open a session whose working directory is a Git checkout with a github.com remote.
- Open the panel from the GitHub icon at the top of the session, or click + in the right panel and select GitHub.
For local development, you can install the checkout directory as a linked directory—changes made after enabling the plugin will be reflected directly in the source tree.
Typical Workflow¶
- Open a session for a checked-out GitHub repository; the GitHub tab appears in the right panel.
- Switch between PRs / Issues / Discussions tabs and use status filters to view lists.
- On the PR page, review the overview and diff, then open inline review threads.
- Click the review button at the top to submit a review as the currently logged-in
ghaccount. - In the activity timeline, filter for unresolved threads or view only the current user’s activity.
- Click a comment in the timeline to quote it into the chat editor, or open the original GitHub link.
Use Cases & Caveats¶
- Suited for developers who need to continuously interact with a repository and perform code reviews within DSH.
- The plugin accesses GitHub via the local
ghCLI; session permissions are identical to theghaccount. Ensure the read scope aligns with yourghsetup. - Only github.com remotes are supported; other platforms are not.
- Lists show at most 40 entries; diffs are capped at 100 files and 400 lines per file. When exceeded, the panel will notify you and link to GitHub.
- Data is sourced from the local
ghCLI. The panel is unavailable whenghis not installed, not authenticated, or rate-limited. - The plugin is MIT-licensed; font subsets are under SIL OFL 1.1. We recommend reviewing the source code and licenses before installation.
Conclusion¶
dsh-github-pane integrates GitHub’s review and discussion capabilities into DSH’s right panel, reducing window switching and improving code review and collaboration efficiency. See the links below for the plugin directory and source repository.
- Plugin directory: https://www.skillhub.cn/plugins/daftpunkwave/dsh-github-pane
- GitHub: https://github.com/daftpunkwave/dsh-github-pane