tkwkeven/dsh-tool-github0

dsh-tool-github

DeepSeek Harness 的 GitHub REST API 工具插件:支持仓库、搜索、Issue、PR、评论、账号绑定及工作区集成,并在 Web GUI 中提供浏览器端 GitHub 面板。

AI 分析

核心用途是让 Agent 能够直接操作 GitHub 资源,并在前端提供可视化面板。适合需要频繁与 GitHub 仓库、Issue 和 PR 交互的开发者。需要配置 GitHub Token。

套件
dsh-tool-github
版本
0.1.0
授權
MIT
最近更新
2026年8月22日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:tkwkeven/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