LJH-snow/dsh-tool-github1

dsh-tool-github

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

AI 분석

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

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

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 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 写入版本库。