LJH-snow/dsh-tool-github1

dsh-tool-github

GitHub tools for DeepSeek Harness: repo lookup, issue listing, code search, and PR drafts

AI Analysis

为 DSH 提供 GitHub 平台集成工具。适合需要让 Agent 辅助管理 GitHub 仓库、搜索代码或创建 PR 的开发者,部分写入操作需要配置 GitHub PAT。

Package
dsh-tool-github
Version
0.1.0
License
MIT
Last updated
Aug 13, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

配置

在 dsh 的组合配置(cordis.yml)中加载插件:

- name: 'dsh-tool-github'
  config:
    token: 'ghp_xxx'        # GitHub PAT(可选;代码搜索与创建 PR 需要)
    baseUrl: 'https://api.github.com'   # 可选,GitHub Enterprise 可覆盖
    timeoutMs: 15000        # 可选,请求超时(毫秒),默认 15000

完整示例见 examples/cordis.yml

安全建议:查询类工具无需 token;代码搜索(github_search_code)与创建 PR(github_create_pr_draft)需要 token。建议使用最小权限的 fine-grained token,避免把 token 写入版本库。