SisyphusSQ/dsh-plugins--packages-dsh-agent-plugins ↗★ 0
dsh-agent-plugins
Agent Plugins 1.0.0 adapter for DeepSeek Harness: discovers skills/ and mcp.json from agent-plugin stores, registers skills and MCP servers, and manages them through a CLI and the settings panel.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:SisyphusSQ/dsh-plugins#0ee6b6081fca6f4ed36d2208eef0f965775dcb36&path:packages/dsh-agent-plugins说明文档
阅读完整 README ↗dsh-agent-plugins
Agent Plugins 1.0.0 适配插件:让 DeepSeek Harness (DSH) 直接消费
Agent Plugins 标准插件包(plugin.json + skills/ + mcp.json)。
状态:实验性(M0–M5 全部完成,待真实 profile 装机验收)。 一个 npm 包三合一:host 半(bundle patch)+ client 半(设置面板 tab)+ CLI(agent-plugins)。
已验证环境
@deepseek-ai/dsh@0.1.0-rc.6(本机 sqmc04,web profile)- 挂载点:设置 → 插件分区的
settings.plugins.tabslot - 数据通道:host 半
TypertRemoteService+@Remote;client 半connection.rpc.call('/api', 'agentPlugins/', { args }) - 热重载:launcher 无条件提供 HMR 服务并监听
$DSH_HOME/cordis.patch.yml(机制已核实,E2E 见 M3)
里程碑状态
| 阶段 | 状态 |
|---|---|
| M0 挂载点 + 数据通道 + 热重载机制核实 | ✅ |
| M1 CLI + store + 台账 + manifest/mcp.json 校验 | ✅(规范 fixture 39/39 通过) |
| M2 skills provider(含组件级启停) | 计划中 |
| M3 MCP 映射 + patch 同步 + 热重载 E2E | ✅(真实 stdio server 注册/启停/卸载全通) |
| M4 护栏 / doctor / 文档 | 计划中 |
| M5 client 面板(列表 + 两级 toggle + MCP 同列) | ✅(设计稿对齐 + 侧栏入口:sidebar.footer.action "插件"按钮 + 浮层面板,照 cordis-panel 模式;浏览器实测全通) |
设计文档见 docs/design/dsh-agent-plugins.md。
CLI(M1 已实现)
agent-plugins install # 校验通过才入 store;同 name 替换(PLUGIN_DATA 保留)
agent-plugins uninstall # 删文件与台账,PLUGIN_DATA 保留
agent-plugins update [name...|--all] # 按台账来源重取(git/dir/zip)
agent-plugins enable|disable # 插件级启停
agent-plugins enable|disable --skill | --mcp # 组件级启停(--mcp 用限定名
__,list 可查)
agent-plugins list [--json]
agent-plugins doctor
store 位于 $DSH_HOME/agent-plugins/,台账 installed.json(插件级 enabled + 组件级 / ,两级均默认 true)。CLI 与 host adapter / 面板共享同一 lib 函数。