yuan-source-666/dsh-github-manager ↗★ 1
dsh-github-manager
AI auto-management channel for GitHub repositories - a DeepSeek Harness community plugin (bundle) that lets an agent manage repos, issues, pull requests, branches, files, labels, and search through the GitHub REST API, with a Web settings card and a live master switch.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yuan-source-666/dsh-github-manager说明文档
阅读完整 README ↗配置(无头部署)
CLI/无 Web 部署也可以在 profile 的 cordis.patch.yml 中直接覆盖默认值(无需改动插件包):
- id: dsh-github-manager
name: dsh-github-manager
config:
enabled: true # 主开关:false 时不注册任何工具
# token 不要写进文件——用设置卡片或环境变量
baseUrl: 'https://api.github.com'
webUrl: 'https://github.com'
timeoutMs: 30000
dryRun: false
| 字段 | 默认值 | 说明 |
|---|---|---|
enabled | true | 主开关;关闭即从模型工具面注销全部 20 个工具 |
token | (无) | 个人访问令牌;设置界面写入为持久首选,留空则读 GH_TOKEN / GITHUB_TOKEN |
baseUrl | https://api.github.com | REST API 根(GitHub Enterprise 改这里) |
webUrl | https://github.com | 面向人类的链接根 |
timeoutMs | 30000 | 单次请求超时(毫秒) |
dryRun | false | 为 true 时,变更型工具只描述动作而不执行 |
所需 GitHub 权限
如果是 fine-grained token,按需授权下列权限:
- 仓库元数据:
Contents: read(所有读取工具) - 仓库:
Administration: write(github_create_repo) - Issue:
Issues: write(github_create_issue、github_update_issue、github_comment_issue) - PR:
Pull requests: write(github_create_pull、github_merge_pull) - 文件:
Contents: write(github_write_file、github_delete_file) - 标签:
Issues: write或Metadata: read+ 仓库管理员(github_create_label)