DeepSeek Harness 插件

dsh-gh-plugin

DeepSeek Harness plugin wrapping the GitHub CLI (gh) with a browser settings UI.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
king-bcolor/dsh-gh-plugin
最近更新
2026年8月16日
分类
工具与能力
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/king-bcolor/dsh-gh-plugin
插件名:dsh-gh-plugin
作者:king-bcolor

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器3 个文件
README.md来源说明 · 只读预览
README 语言

dsh-gh-plugin

> 中文文档README.zh-CN.md

A DeepSeek Harness plugin that wraps the GitHub CLI (gh) as model-callable tools.

What it is

dsh-gh-plugin exposes GitHub operations to DSH agents: repositories, issues, pull requests, search, Actions, releases, and the GitHub API — all through structured JSON-backed tools.

Features

  • Browser settings page GitHub: auth status, generic forms for every gh_* tool, confirmations, and JSON/text results.
  • Session GitHub view tab: profile, contribution heatmap, repository list with actions, inbox, and local/remote Git branches.
  • Auth status and login guidance.
  • Repository create/view/list/edit/delete with topic management.
  • Issue create/list/view/close/reopen/comment/edit.
  • Pull request create/list/view/merge/checkout/review.
  • Search repos/issues/prs/code.
  • Actions workflow/run views; release create/list/view.
  • Raw gh api tool for advanced use.
  • Dangerous operations require explicit confirmation.

Use cases

  • Ask the agent to list open issues and summarize them.
  • Create an issue or PR from a conversation.
  • Search GitHub for repositories matching a topic.
  • Check CI run status and logs.
  • Create a release with generated notes.

See [docs/用例目录/README.md](./docs/用例目录/README.md) for the full command/use-case/parameter catalog (Chinese).

Installation

Preconditions

  • Node.js 22+, dsh CLI installed.
  • gh installed and authenticated (gh auth login).

Install from GitHub

dsh plugin --profile default add github:<owner>/dsh-gh-plugin
# allowlist build in $DSH_HOME/profiles/default/pnpm-workspace.yaml if requested

Install locally

git clone https://github.com/<owner>/dsh-gh-plugin.git
cd dsh-gh-plugin
dsh plugin --profile default add .

Usage

dsh --profile default
# or: dsh web

Open the GitHub tab in a session for heatmap/repositories/inbox/branches, or Settings → GitHub to run every gh tool.

Example prompts:

  • Use gh_issue_list to list open issues in this repo.
  • Search GitHub for dsh-plugin repositories sorted by stars.

Configuration

- id: gh
  name: dsh-gh-plugin
  config:
    ghBin: /usr/local/bin/gh
    timeoutMs: 30000
    confirmDangerous: true

Development

TDD is mandatory:

pnpm install
npm test

License

MIT