ihuajiu/dsh-plugin-finder ↗★ 1
dsh-plugin-finder
从 dsh.so 注册表查找 DeepSeek Harness 插件的 Agent 工具。
AI 分析
核心用途是为 Agent 提供一个 `find_plugin` 工具,使其能根据用户自然语言需求自动检索并推荐合适的 DSH 插件。适合希望让 AI 助手自主寻找并推荐功能扩展插件的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ihuajiu/dsh-plugin-finder说明文档
阅读完整 README ↗3. Usage / 使用方法
find_plugin is an agent tool — no manual command; just tell the agent what you need and it calls the tool automatically / find_plugin 是模型工具,不需要手动输入命令——直接对助手说需求,它会自动调用:
- "帮我找支持 OCR / 截图转文字的 dsh 插件"
- "有没有终端 TUI 插件?"
- "我想做 RAG 记忆,有什么插件"
- "Find me a plugin for price tracking"
Tool parameters / 工具参数
| Parameter / 参数 | Required / 必填 | Type / 类型 | Description / 说明 |
|---|---|---|---|
query | ✅ | string | The need, e.g. "vision OCR screenshots", "memory rag". Chinese and English both work; English matches better / 需求描述,如 "vision OCR screenshots"、"memory rag"。中英文均可,英文命中率更高 |
limit | ❌ | number | Max results; defaults to the maxResults config (5), clamped to 1–10 / 返回条数,默认取插件配置 maxResults(默认 5),范围 1–10 |
6. Configuration / 配置
Configure in the host composition or an agent preset's cordis.yml (defaults are fine, usually no change needed) / 在宿主 composition 或 agent preset 的 cordis.yml 中配置(默认值即可,通常无需修改):
- insert:
- id: dsh-plugin-finder
name: dsh-plugin-finder
config:
indexUrl: https://www.dsh.so/plugins-index.json # 索引地址,自建/测试时覆盖
maxResults: 5 # 默认返回条数
cacheTtlMs: 600000 # 索引缓存 10 分钟
timeoutMs: 15000 # 抓取超时(毫秒)
| Config / 配置项 | Default / 默认值 | Description / 说明 |
|---|---|---|
indexUrl | https://www.dsh.so/plugins-index.json | Machine-readable dsh.so plugin index URL / dsh.so 机器可读插件索引地址 |
maxResults | 5 | Default result count when limit is not passed / 未传 limit 时的默认返回条数 |
cacheTtlMs | 600000 (10 min / 10 分钟) | How long to reuse the fetched index before refetching / 索引缓存时长,避免每次调用都重新抓取 |
timeoutMs | 15000 | Fetch timeout in milliseconds / 抓取索引的超时时间(毫秒) |