Back to directory

dsh-github-connector

Curated pick

kaziii/dsh-github-connector

GitHub Device Flow connect plus an in-conversation PR workflow: a status bar above the composer for create / AI-review / merge, and github_* tools for search, issue and PR read and write.

5

stars

0

forks

MIT

License

2026-08-13

Created

2026-08-14

Last push

README

dsh-github-connector

简体中文 | English

DeepSeek Harness (dsh) 的 GitHub 连接器插件 —— 一键连接 GitHub 账号,不离开 dsh 对话即可创建 PR、AI 审查 PR、合并 PR。

  • 一键连接 —— 在 dsh 设置页走 GitHub Device Flow 授权,无需复制粘贴 token。
  • 输入框上方的 PR 状态条 —— 创建 PR / AI 审查 / 合并,由 git 状态触发。
  • 模型侧工具 —— github_searchgithub_issue_readgithub_pr_readgithub_issue_creategithub_issue_commentgithub_pr_create

检测到当前分支领先默认分支时,输入框上方会出现 PR 状态条,一键创建 PR:

输入框上方的 PR 状态条

文档:索引 · 架构 · ADR

安装

前置条件:Node ≥ 22.19、pnpm、dsh CLI(npm install -g @deepseek-ai/dsh)。

从 npm 一条命令安装:

dsh plugin --profile web add dsh-github dsh-github-rest dsh-tool-github dsh-github-connect dsh-ui-github

(把 web 换成你的 profile 名 —— headlesstui 等。dsh-ui-github 只在 web 客户端渲染,非 web profile 可不装。)

连接 GitHub 账号

打开 dsh 设置 → 插件,点击 连接 GitHub 按钮,按提示完成 Device Flow 授权 —— token 只保存在宿主,不落入任何配置文件:

dsh 设置页中的连接 GitHub 入口

CLI / headless 场景则设置 GITHUB_TOKEN 环境变量(带 repo 权限的 personal access token)。

许可证

MIT

DSH Plugins is an independent community directory of DeepSeek Harness plugins. Not affiliated with or endorsed by DeepSeek. Third-party plugins are not security-audited — review the source before installing.