ChenYiming-aaa/dsh-github1

dsh-github

GitHub 集成插件 for DeepSeek Harness:一次认证(GITHUB_TOKEN 或 OAuth Device Flow)后模型可直接调用 GitHub REST API 完成建仓、推送、提 PR、管 issue、搜索等 45 个工具;常规读写直接放行,删除/force push/合并 PR/关 issue 等危险操作保留审批门;token 存于 DSH credentials 服务,不落日志。 / GitHub integration plugin for DeepSeek Harness: authenticate once (PAT or OAuth device flow), then the model drives 45 github_* tools over the GitHub REST API. Routine reads/writes pass through; destructive operations (delete, force push, merge PR, close issue) keep an approval gate. Tokens live in the DSH credentials service and never appear in logs.

AI 분석

核心用途是赋予 DSH 智能体直接管理 GitHub 仓库的能力(建仓、提 PR、管 issue 等)。适合需要 AI 深度协同托管代码的开发者,危险操作审批门保障了代码安全。

패키지
dsh-github
버전
1.0.0
라이선스
MIT
최근 업데이트
2026. 8. 19.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ChenYiming-aaa/dsh-github

2. 配置认证(二选一,均持久生效)

方式 A — Personal Access Token(推荐先试这个)


## 配置项

| 配置 | 默认 | 说明 |
|---|---|---|
| `tokenRef` | `GITHUB_TOKEN` | PAT 凭据引用名(env / credentials 键名) |
| `oauthClientId` | — | GitHub OAuth App Client ID(Device Flow) |
| `oauthClientSecret` | — | Client Secret(直接内联,不推荐) |
| `oauthClientSecretRef` | `GITHUB_OAUTH_CLIENT_SECRET` | Client Secret 凭据引用(推荐) |
| `oauthScope` | `repo,read:org,user` | Device Flow 申请的 scope |
| `approvalGate` | `true` | 危险操作审批门开关 |
| `timeoutMs` | `30000` | GitHub 请求超时 |