插件目录 / Knowledge / dsh-gh-search
dsh-gh-search
已验证 · 实测可装 ggggggggggz
功能简介
GitHub search & view tools (gh_search / gh_view) for DeepSeek Harness, backed by the GitHub CLI. Ported from oh-my-pi gh-search/gh-view; not official.
可用 — 实测通过,早期项目
GitHub search & view tools (gh_search / gh_view) for DeepSeek Harness, backed by the GitHub CLI. Ported from oh-my-pi gh-search/gh-view; not official. 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-gh-search
English · 中文
GitHub issue/PR search and view tools for DeepSeek Harness,
backed by the GitHub CLI (gh).
⚠️ Personal / unofficial. This is a personal plugin ported from
oh-my-pi'sgh-search/gh-view
(via thepi-ghextension). It is not a DeepSeek official plugin and
intentionally does not re-implement the fullghCLI — it only packages
search & view for convenience inside agent sessions.
Registers two tools:
| Tool | Purpose |
|---|---|
gh_search |
Search GitHub issues / PRs / commits / repos / code with GitHub search syntax |
gh_view |
View a single issue or PR in detail (title, state, body, author, labels, comments) |
Dependencies
- No third-party npm runtime dependency. The only
peerDependencies
(@deepseek-ai/dsh-tools,@deepseek-ai/cordis) are resolved from the DSH
environment that already loads this plugin — nothing extra to install. - System dependency: the GitHub CLI (
gh) must be installed and
authenticated:
winget install GitHub.cli
gh auth login
gh authenticates via the GITHUB_TOKEN / GH_TOKEN environment variable.
This plugin drops both from the child process so gh falls back to its stored
login (and honors PI_GH_TOKEN if set).
Tools
gh_search
query(string, required) — GitHub search syntax, e.g.repo:owner/name is:open label:bug.searchType(string) —issues|prs|commits|repos|code(defaultissues).limit(integer) — max results (default 10, max 50).
gh_view
identifier(string, required) — issue/PR number,owner/repo#N, or full URL.objectType(string) —issue|pr(default auto).repo(string) — owner/repo whenidentifieris a bare number.includeComments(boolean) — include comments (default true).
Install
Wired into the web profile as file:./plugins/dsh-gh-search (dsh.profile.bundles
dependencies). To re-install after a fresh profile:
dsh plugin --profile web install
If you add it to an already-running profile, one dsh web restart is needed to
load it (after that, dsh-reload's /reload dsh-gh-search hot-mounts new edits
without a restart).
License
MIT — ported from pi-gh (MIT, © ASUS), itself inspired by oh-my-pi'sgh-search / gh-view (MIT, © Mario Zechner, Can Bölük). Original copyright
notice preserved in LICENSE.
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-gh-search」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:ggggggggggz/dsh-gh-search Headless(CLI)profile:
dsh plugin --profile headless add github:ggggggggggz/dsh-gh-search 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。