yuan-source-666/dsh-github-manager1

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.

包名
dsh-github-manager
版本
1.0.1
许可证
MIT
最近更新
2026年8月27日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yuan-source-666/dsh-github-manager

配置(无头部署)

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
字段默认值说明
enabledtrue主开关;关闭即从模型工具面注销全部 20 个工具
token(无)个人访问令牌;设置界面写入为持久首选,留空则读 GH_TOKEN / GITHUB_TOKEN
baseUrlhttps://api.github.comREST API 根(GitHub Enterprise 改这里)
webUrlhttps://github.com面向人类的链接根
timeoutMs30000单次请求超时(毫秒)
dryRunfalse为 true 时,变更型工具只描述动作而不执行

所需 GitHub 权限

如果是 fine-grained token,按需授权下列权限:

  • 仓库元数据:Contents: read(所有读取工具)
  • 仓库:Administration: writegithub_create_repo
  • Issue:Issues: writegithub_create_issuegithub_update_issuegithub_comment_issue
  • PR:Pull requests: writegithub_create_pullgithub_merge_pull
  • 文件:Contents: writegithub_write_filegithub_delete_file
  • 标签:Issues: writeMetadata: read + 仓库管理员(github_create_label