rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:ttb-eng/dsh-github-search
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
English overview — full 中文说明 below.
A GitHub console plugin for the DeepSeek Harness Web sidebar. It closes the loop — search → browse README → judge fit → clone → hand to the agent → keep history — inside one panel.
Features — repository & code search · inline README (sandboxed iframe) · one-click clone (git → zip fallback) · feed the agent (analyze / run / summarize / integrate / custom) · agent verdict against your workspace + the repo's README · post-judge clone (global vs per-project, path picker) · history (downloaded / browsed / judged) · Star / Fork · my stars · discover page · token config.
Install
dsh plugin --profile web add <this-directory>
dsh web
Architecture — host (lib/index.js, ESM bundle: slash commands + a host-side model call for the judge) ↔ client (lib/client.js, browser bundle: UI injected into sidebar.footer.action + shell.overlay). The client drives the host through remote.commands.execute. See PITFALLS.md for the integration gotchas.
DeepSeek Harness(DSH)Web 侧边栏的 GitHub 操作台插件。把「搜仓库 → 看 README → 判断合不合适 → 拉取到本地 → 交给 agent 干活 → 记一笔」这条链闭合在一个面板里。
定位:这是给人用的操作台,不是给 agent 加搜索能力(agent 自己本来就能搜 GitHub)。它的价值在于把散落在浏览器、终端、对话框里的动作收敛成一条顺手的闭环。
tar --strip-components=1)。# 在 DSH 中把本插件链接进 web 配置文件(symlink,改源码只需重启)
dsh plugin --profile web add <本目录路径>
# 重启 web 后生效
dsh web
依赖:Node 22+、系统 git 与 tar(zip 降级用)、可选 curl。
GH)。dsh-github-search/
├── package.json # bundle 元信息 + dsh.bundle.patch + dsh.client(web)
├── cordis.patch.yml # 插入插件行
└── lib/
├── index.js # 宿主端:命令 + 判断用的模型调用
└── client.js # 浏览器端:全部 UI 与交互
lib/index.js)ESM,导出 { name, inject, apply(ctx) }。注册了这些斜杠命令,供客户端通过命令通道调用:
| 命令 | 入参(JSON) | 作用 |
|---|---|---|
ghclone |
{url, dir} |
克隆(git → zip 降级),返回摘要 |
ghrm |
{dir} |
删除本地仓库目录(带安全校验) |
ghcodesearch |
{query, page, token} |
代码搜索(绕 CORS) |
ghstar / ghfork |
{full_name, token} |
收藏 / Fork |
ghworkspace |
{dir} |
判断目录是否代码项目 |
ghopen |
{dir} |
系统文件管理器打开目录 |
ghjudge |
{full_name, description, language, stars, cwd, token} |
跑模型做仓库判断 |
ghstarred |
{token} |
列出当前 token 的 Star |
判断(ghjudge)直接调用会话自己的模型:通过 ctx.get('llm') 拿 LLM 运行时,用 invocation.agent.options.provider/model 确定模型,流式收集正文,不写入会话日志(所以不会在聊天里出现一条用户消息 + 长篇回复)。
lib/client.js)通过 window.__ModuleLoader__.load({ id, factory }) 注册,exports.inject + exports.apply。注入两个槽:
sidebar.footer.action → 侧边栏入口按钮shell.overlay → 面板本体与宿主通信走 ctx.get('remote.commands').execute(sessionId, '/cmd ' + JSON.stringify(args))。
localStorage(key:dsh-github-search-history / dsh-github-search-token)。踩过的坑见 PITFALLS.md。
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek、deepseek-harness。