kaziii
dsh-github-connector
DeepSeek Harness (dsh) 的 GitHub 连接器:一键授权,对话内创建/AI 审查/合并 PR | GitHub connector for dsh: one-click connect, create/review/merge PRs from the conversation
- Stars
- 1
- Language
- TypeScript
- Created
- Aug 13, 2026
- Updated
- Aug 14, 2026
Introduction
dsh-github-connector
简体中文 | English
DeepSeek Harness (dsh) 的 GitHub 连接器插件 —— 一键连接 GitHub 账号,不离开 dsh 对话即可创建 PR、AI 审查 PR、合并 PR。
- 一键连接 —— 在 dsh 设置页走 GitHub Device Flow 授权,无需复制粘贴 token。
- 输入框上方的 PR 状态条 —— 创建 PR / AI 审查 / 合并,由 git 状态触发。
- 模型侧工具 ——
github_search、github_issue_read、github_pr_read、github_issue_create、github_issue_comment、github_pr_create。
检测到当前分支领先默认分支时,输入框上方会出现 PR 状态条,一键创建 PR:

安装
前置条件: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 名 —— headless、tui 等。dsh-ui-github 只在 web 客户端渲染,非 web profile 可不装。)
连接 GitHub 账号
打开 dsh 设置 → 插件,点击 连接 GitHub 按钮,按提示完成 Device Flow 授权 —— token 只保存在宿主,不落入任何配置文件:

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