NEAZ71eve/dsh-tool-github0

@dsh-external/dsh-tool-github

适用于 DeepSeek Harness 的 GitHub REST API 工具,支持仓库、搜索、议题、拉取请求、评论、账号绑定及工作区集成,并在 Web 界面提供浏览器端 GitHub 面板。

AI 分析

核心用于在 DeepSeek Harness 中集成 GitHub 操作。适合需要频繁管理仓库、搜索代码、处理 Issue 和 PR 的开发者。使用时建议通过绑定个人 Token 以获取完整权限。

包名
@dsh-external/dsh-tool-github
版本
0.1.0
许可证
MIT
最近更新
2026年8月15日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:NEAZ71eve/dsh-tool-github

Usage examples

"帮我绑定 GitHub 账号"                       → github_bind (输入 token)
"当前登录的 GitHub 账号是谁"                 → github_whoami
"把 deepseek-ai/DeepSeek-Harness 加为工作区" → github_workspace_add
"有哪些 GitHub 仓库可以作为工作区"           → github_workspace_list
"deepseek-harness 有多少 star"               → github_repo
"搜 python 的 PDF 解析库 stars:>3000"        → github_search

Configuration

The plugin accepts a Config with:

  • token — GitHub personal access token (default: ""). Prefer github_bind (credential store) or the GITHUB_TOKEN environment variable; resolution order is credential store → plugin config → environment.
  • baseUrl — API base URL (default https://api.github.com; set to your GitHub Enterprise URL, e.g. https://github.example.com/api/v3).
  • timeoutMs — per-call timeout (default 30000).
  • maxResults — list/search result cap (default 10).
  • workspaceRoot — where github_workspace_add clones repositories (default ~/.dsh/github-workspaces).

Example profile patch (~/.dsh/cordis.patch.yml or profiles//cordis.patch.yml):

- id: tool-github
  config:
    maxResults: 20
    workspaceRoot: D:\github-workspaces