deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Zhanxueyou/dsh-plugin-manager
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH Web 客户端插件目录,包含一个 DSH Web 客户端插件 dsh-plugin-manager-panel,
在 Web 侧边栏底部新增「插件管理」入口,解决宿主端插件清单"杂乱、无介绍、不知道为何启停"的问题。

~/.dsh/profiles/web/cordis.patch.yml 里插入的插件
(或本地源码目录中的插件)—— 可删除。cordis.patch.yml),被 DSH 的 HMR 监听,热重载即时生效,无需重启,重启后依然生效。pnpm remove 卸载依赖与文件;
本地源码插件删除补丁行 + node_modules 软链 + 源码目录。topic:dsh-plugin 仓库列表(★ 排序、疑似 DSH 插件绿标),
非 JS/TS 主语言的仓库会校验 npm 上是否存在同名包并标记「可安装性」
(避免出现注定失败的白点安装按钮),
每个仓库带「安装」按钮——执行官方默认动作 dsh plugin --profile web add <pkg>
(等价于在 profile 目录运行 pnpm add,pnpm 不在 PATH 时回退 corepack pnpm),
声明了 dsh.bundle 的包加入 bundle 层(重启生效),
声明了 dsh 字段的包自动注册补丁行(HMR 即时挂载)。pnpm add github:<owner>/dsh-plugin-manager 安装)dsh-plugin-manager/
├── package.json # name: dsh-plugin-manager-panel, dsh.client.platform: web
├── lib/
│ ├── index.js # 宿主端:/dsh-plugin-manager-api/* 路由(清单/启停/删除/远程/安装/搜索)
│ └── client.js # 浏览器端:sidebar.footer.action 槽位面板(面板 UI)
└── README.md
软链到 web profile 的 node_modules:
ln -sfn "<你的插件源码目录>" \
"$HOME/.dsh/profiles/node_modules/dsh-plugin-manager-panel"
在 ~/.dsh/profiles/web/cordis.patch.yml 增加一行(HMR 会自动挂载,无需重启):
- insert:
- id: dsh-plugin-manager-panel
name: dsh-plugin-manager-panel
刷新浏览器页面,侧边栏底部出现「插件管理」按钮。
| 方法 | 路径 | 说明 |
|---|---|---|
| GET | /dsh-plugin-manager-api/plugins |
全量清单(描述/状态/来源/必装/停用原因) |
| POST | /dsh-plugin-manager-api/plugins/toggle |
{entryId} 启用/停用(写补丁层,HMR 生效) |
| POST | /dsh-plugin-manager-api/plugins/delete |
{entryId} 删除本地自定义插件 |
| GET | /dsh-plugin-manager-api/remote |
远程仓库列表(GitHub topic:dsh-plugin,5 分钟缓存) |
| POST | /dsh-plugin-manager-api/plugins/install |
{spec} 安装远程插件(pnpm add,失败自动回滚) |
| GET | /dsh-plugin-manager-api/remote/search |
?q= 搜索远程插件(先 topic,无命中再搜全 GitHub) |
~/.dsh/profiles/web/cordis.patch.yml(用户补丁层),不要手改 cordis.yml
(该文件每次启动会被重置)。DSH_LOCAL_PLUGIN_DIRS 指定(多个目录用 : 分隔),如 DSH_LOCAL_PLUGIN_DIRS=/path/to/my-plugins。include:agent-presets:*)由 agent 预设管理,面板上只读展示、不可切换。CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。