dsh-gitdeck
Manifest validConnects a GitHub account to DSH from the composer button (OAuth device flow or a personal access token) and exposes one github_api tool for REST calls — create repositories, write files, read pull re
dsh-gitdeck
在 DeepSeek Harness 里接上你的 GitHub 账号:对话框左下角点「Git」,授权一次,之后让 AI 以你的身份建仓库、传文件、改代码、提 issue、开 PR、读 Actions 日志。
令牌只存在你这台机器上(~/.dsh/.dsh-gitdeck/auth.json,权限 0600),不会进上下文、不会进仓库、不会出现在任何日志里。
装
dsh plugin --profile desktop add link:/path/to/dsh-gitdeck
或者发到 npm 之后直接 npm i -g 到 profile(市场里搜 dsh-gitdeck)。装完重启 DSH,输入框左下角多一个「Git」按钮。
连
两条路,任选一条:
A. OAuth 设备流(推荐)
- GitHub → Settings → Developer settings → OAuth Apps → New OAuth App
- 名字随便填,回调地址填
http://127.0.0.1/ - 复制 Client ID,粘进面板,点「开始连接」
- 浏览器会自动打开,输入面板上的 8 位码,点 Authorize
- 回到 DSH,面板自己变成「已连接 @你的用户名」
B. 粘贴 Token
fine-grained token 更安全:只勾要用的仓库和权限(Contents 读写、Issues、Pull requests)。
用
连上之后不用记 API,直接说事:
- 「把桌面那个文件夹建成私有仓库」
- 「看看这个 PR 的 CI 为什么挂」
- 「给这个 issue 打上 bug 标签」
- 「把 README 里那段的错字改掉,提个 PR」
AI 通过 github_api 工具发请求,路径、查询串、中文文件名都能处理。
三道保险
| 保险 | 说明 |
|---|---|
| 只读模式 | 面板「设置」里打开,只放行 GET,写操作一律 403 |
| 调用留痕 | 面板「记录」里能看到每次调用的方法、路径、状态码、耗时(重启清空) |
| 随时断开 | 面板「断开连接」立刻作废;也可以去 GitHub → Settings → Applications 撤销授权 |
排障
- 连不上授权页:
github.com的 443 有时被墙,但api.github.com通。设备流需要访问 github.com,先确认浏览器能打开。 - 要走代理:插件配置里设
proxy: "http://127.0.0.1:7890",或设proxy: "direct"强制直连。 - 状态不对:面板关掉再打开,会重新读一次状态;「重新验证」会拿当前令牌打一次
/user。
License
MIT
Comments
Loading…
Similar plugins
by Moon-shiyue
便携式 GitHub 连接插件 for DeepSeek Harness (DSH):composer 左下角一键授权,AI 可通过 github_api 工具操作你的 GitHub。Portable GitHub connection plugin: OAuth device flow / PAT, proxy & system-CA aware.
★ 15
MIT
JavaScript
Oct 27, 2026
dsh plugin --profile web add dsh-github-connectby liufangrui1105
Agent-facing GitHub repository tools: binds an account through a first-run prompt, then clones into the workspace and reads, exact-replaces, commits and pushes files, with writes off by default.
★ 0
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-plugin-githubby ItQianChen
基于 GitHub CLI (gh) 为 DeepSeek Harness (DSH) 打造的现代化原生工作流集成插件。 深度打通本地 Git 仓库开发与远程 GitHub 协作(PR、Issue、Actions CI 诊断与代码审查),兼备 Agent 模型工具、人类 Slash 指令以及原生 Web UI 双重视图。
★ 14
MIT
JavaScript
Oct 22, 2026
dsh plugin --profile web add dsh-github-flowGitHub account management plus a local Git workflow for the web GUI with clone, fast-forward pull, status, commit, push, and host-side push guards.
★ 0
↓ 106/wk
dsh plugin --profile web add dsh-githubby kx121
到点叫醒 DSH 会话,翻你关注的 GitHub 仓库和主题,挑出值得跟的变化,写日报、记判重表。只读。
★ 2
MIT
JavaScript
Oct 23, 2026
dsh plugin --profile web add dsh-github-digestby RaditPasya
Git panel for DeepSeek Harness — branch dropdown, commit graph, and previews in the left rail, plus an always-on footer dock that follows your session
★ 0
MIT
TypeScript
Oct 7, 2026
dsh plugin --profile web add dsh-web-git-sidebar