← 返回列表
D

dsh-need-finder

v0.2.0 · 1 天前发布

Requirement-driven dsh plugin discovery and environment recipes ('点菜, not 逛超市' / 插件界的 dotfiles): plugin_guide matches natural-language needs to a curated directory; recipe installs whole environments from bundled community bundles with ordered plans

deepseek-harnessdshdsh-plugincordispluginplugin-findersemantic-searchguideneed-finder

README

dsh-need-finder — 需求型插件导购

"点菜,不是逛超市。" 现有 DSH 插件市场都是按名称/分类浏览;本插件让 agent 直接听懂你的需求,从精选目录里语义匹配最合适的插件,给出匹配理由和安装命令。

为什么需要它

  • 用户说"任务完成通知我"、"手机上看 DSH"、"抓取网页内容"——是需求,不是插件名。

  • plugin_guide 本地语义评分(英文词 + 中文子串 + 分类词典),在 84 个精选插件(14 分类)中匹配,零网络、零 LLM 调用、零依赖

  • 输出即"点菜单":插件名、分类、双语描述、匹配理由、dsh plugin add 命令。
  • 安装

    bash
    dsh plugin --profile <profile名> add dsh-need-finder

    用法

    | 参数 | 说明 |
    | --- | --- |
    | need(必填) | 自然语言需求,中英文皆可 |
    | limit(可选) | 返回条数 1-10,默认 5 |

    示例:"任务完成时通知我"→notify;"记不住上下文"→memory;"手机远程看 DSH"→ui/usage;"抓取网页截图"→vision;"检查插件安全"→dev

    设计

  • lib/match.js 纯逻辑零依赖;lib/guide-data.json 纯数据(84 个真实插件,从 awesome-dsh-plugin 1019 条按分类采样);lib/index.js Cordis 插件。

  • 评分:名称 +3 / 标签 +2 / 描述 +1;中文 2-gram;分类词典兜底。

  • 安全:无网络、无写入、无 secrets。
  • 配方 —— 插件界的

    版本兼容矩阵

    DSH 版本状态说明
    dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
    dsh@0.1.0 ✅ 兼容 标准 patch ✅
    dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
    dsh@0.3.0+ ❓ 未知 尚未发布

    💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

    元数据

    License
    MIT
    npm
    dsh-need-finder
    Repo
    Engines
    {}
    Weekly DL
    0
    Monthly DL
    0
    dsh.bundle
    {"bundle":{"patch":"./cordis.patch.yml"}}