Pre-flight plugin-library index for DSH agents: injects per-step trigger-table hints into the runtime context so suitable installed plugins get used predictably instead of opportunistically.
Install
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:777-Zen/dsh-capability-index
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
⚠️ Archived / 已归档 — 本项目不再维护。最后版本:v0.2.0(2026-08-27)。
这是什么
dsh-capability-index 是一个为 DeepSeek Harness (DSH) 开发的元插件(meta-plugin),目标是提高 AI agent 对已有插件库 的利用率。
核心思路:在 agent 处理任务前,自动扫描已启用的插件库,将"可能适用的插件"以提示块的形式注入上下文,让 agent 从"凭直觉 选工具"变成"系统性地预审插件库"。
核心设计
- 三层触发判定:规则词表(硬层)→ 语义向量召回(语义层)→
not_for守门闸(负向过滤) - 零侵入:通过 DSH 原生 runtime-context 通道注入,不改写其他插件的工具定义
- 模型自主决策:只提示、不强制调用,最终决策权仍在模型
为什么停止维护
- DSH 正式版持续延期,生态用户基数过小,无法获得真实使用反馈
- 16 条样本的评估不足以证明核心价值,缺乏用户数据就无法验证效果
- 官方大概率会自行实现同类功能,第三方插件的护城河接近于零
继续投入的 ROI 不合理,遂于 v0.2.0 及时止损归档。
项目结构(v0.2.0)
lib/ # 核心代码(~1100 行 JS)
core.js 三层判定主逻辑
embed.js 进程内语义召回(bge-small-zh-v1.5)
semantic.js 语义合议决策
adapter.js DSH 运行时适配
trigger-table.js 规则词表与配置
declarations.js 能力声明解析
eval-results/ # 评估框架
samples.json 16 条评估样本
verify.mjs 回归验证脚本
simulate.mjs 判定模拟器
calibrate.mjs 阈值校准工具
docs/ # 设计文档
capability-contract.md 能力声明契约 v1.1
许可证
MIT
如有兴趣了解技术细节或设计思路,可查看仓库内的文档与代码注释。
———
Links
More in this category
yjh051108/dsh-routing-suite★ 6991
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3674
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
hust-open-atom-club/oh-dsh★ 326
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
weijiafu14/pi2dsh★ 211
Pi Host ABI compatibility engine: after one install, unmodified Pi extensions from npm mount as native DSH plugins with `dsh plugin add <pi-package>`. Verified end to end on stock DSH with pi-mcp-adapter (full MCP manager: OAuth, resources, prompts, MCP Apps, elicitation, sampling), @tintinweb/pi-subagents, pi-code, pi-hermes-memory and pi-background-tasks; `pi2dsh inspect` reports a package's compatibility before installing.
Fishquito7/dsh-skill-mcp-panel★ 172
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
lire1131/dsh-undo-savepoint★ 170
Undo/redo & rollback system for DSH: every config change is auto-snapshotted; undo/redo/restore to any version from the WebUI or the offline CLI/GUI tools (works even when DSH fails to boot).
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.