Skip to content

kaziii/dsh-github-connector

50Last commit Aug 14, 2026

dsh-github-connector DSH plugin

dsh-github-connector is a plugin for DeepSeek Harness that integrates GitHub operations into the dsh interface. It allows users to connect their GitHub account via Device Flow, monitor PR status, and perform actions like creating, reviewing, and merging PRs without leaving the chat.

How to install the dsh-github-connector DSH plugin

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

Copying does not run this command. Review the repository and version before installing the dsh-github-connector DSH plugin.

dsh-github-connector DSH plugin data source

dsh-github-connector DSH plugin snapshot date: Aug 16, 2026

discovered

What the dsh-github-connector DSH plugin can do

  • One-click GitHub account connection via Device Flow in dsh settings page
  • PR status bar above the input field triggered by git branch status
  • Model-side tools: github_search, github_issue_read, github_pr_read, github_issue_create, github_issue_comment, github_pr_create
  • Create PR, AI review PR, and merge PR directly from dsh

Where the dsh-github-connector DSH plugin fits

  • Create a pull request when the current branch is ahead of the default branch
  • Review a PR using AI without switching to GitHub web interface
  • Search for GitHub issues and read their details within dsh
  • Create new issues and add comments to existing issues or PRs

Who the dsh-github-connector DSH plugin is for

  • Developers who use dsh as their primary AI assistant
  • Teams that want to streamline GitHub workflows without leaving the chat environment

dsh-github-connector DSH plugin limitations

  • Requires Node.js ≥ 22.19, pnpm, and dsh CLI installed
  • Only supports GitHub (not GitLab, Bitbucket, etc.)
  • UI components (dsh-ui-github) only render in dsh web profile
  • Users need to have a GitHub account and complete Device Flow authorization

dsh-github-connector DSH plugin: from the repository README

Quoted from the kaziii/dsh-github-connector README, the upstream source of the dsh-github-connector DSH plugin. Copyright remains with the original authors.

**简体中文** | [English](README.en.md) [DeepSeek Harness (dsh)](https://github.com/deepseek-ai/deepseek-harness) 的 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: ![输入框上方的 PR 状态条](docs/assets/pr-bar.png) 文档:[索引](docs/README.md) · [架构](docs/design/design.md) · [ADR](docs/adr/README.md) ## 安装 前置条件:Node ≥ 22.19、pnpm、dsh CLI(`npm install -g @deepseek-ai/dsh`)。 从 npm 一条命令安装: ```bash 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 只保存在宿主,不落入任何配置文件: ![dsh 设置页中的连接 GitHub 入口](docs/assets/connect-github.png) CLI / headless 场景则设置 `GITHUB_TOKEN` 环境变量(带 `repo` 权限的 personal access token)。 ## 许可证 [MIT](LICENSE)

Read the full READMERepository license: MIT

dsh-github-connector DSH plugin questions

How do I install the dsh-github-connector plugin?

Run the command `dsh plugin --profile web add dsh-github dsh-github-rest dsh-tool-github dsh-github-connect dsh-ui-github`. Make sure you have Node.js ≥ 22.19, pnpm, and the dsh CLI installed globally. Replace `web` with your actual profile name (e.g., headless, tui).

How do I connect my GitHub account?

Open the dsh settings page, go to the Plugins section, and click the 'Connect GitHub' button. This will start a GitHub Device Flow authorization. Follow the on-screen instructions to complete the authorization. Your token is stored only locally and never written to any configuration file.

Can I use this plugin in headless or CLI mode?

Yes, for headless or CLI environments, you can set the `GITHUB_TOKEN` environment variable with a personal access token that has the `repo` scope. The UI components (dsh-ui-github) will not be available in non-web profiles, but the model-side tools still work.

What are the prerequisites for using dsh-github-connector?

You need Node.js version 22.19 or higher, pnpm, and the dsh CLI installed globally via `npm install -g @deepseek-ai/dsh`. You also need a GitHub account with appropriate permissions to create PRs and issues.

How does the PR status bar work?

The PR status bar appears above the input field when the current git branch is ahead of the default branch. It provides buttons to create a PR, trigger an AI review, or merge the PR directly from dsh. The bar is triggered by git status detection.