deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:pbwheel/dsh-workbuddy-expert
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
DSH WorkBuddy Expert 是社区维护的 DeepSeek Harness(DSH)插件,并非 DeepSeek AI 官方产品。
一个 DSH Web 插件,让你把 WorkBuddy 专家中心的专家带进 DSH 工作流:
插件不联网下载专家——市场页读取的是 WorkBuddy 桌面端落盘的本地专家目录(默认 ~/.workbuddy/plugins/marketplaces/experts/plugins)。专家必须先在 WorkBuddy 的专家中心点击召唤,WorkBuddy 才会把该专家下载落盘,之后本插件才能扫描到它:
一个都没召唤过,市场页就是空列表——回专家中心召唤几个,卡片会自动出现。下文提到的"默认源目录"均指此路径。
~/.dsh/experts/<id>/(expert.yml、清洗后 role.md、skills 整树,源卡有 PNG 时含头像),指纹清单落 .expert-source.json;
选中专家后,其能力即挂载到当前会话:
tools.allow,可选)挂载作用域工具限制,切换时自动解除;前置条件:
dsh web。两者使用不同的 profile(桌面端 desktop、CLI web),安装入口也不同——见下节,别装错边;两种宿主用不同的 profile(桌面端 ~/.dsh/profiles/desktop,CLI ~/.dsh/profiles/web),互不相通,装错宿主读不到。桌面端的 desktop profile 由 Electron 独占——终端执行 dsh --profile desktop ... 会报 managed exclusively by the Electron application——所以桌面端用户不要照抄下面的 --profile web 命令。
桌面端(DeepSeek Harness App)——用应用内插件面板安装:
dsh-workbuddy-expert(即官方插件下载说明中"dsh plugin add 之后的部分";也接受 Git 地址 github:pbwheel/dsh-workbuddy-expert、tarball 或本地 clone 的绝对路径);终端(dsh web)——一行安装,npm 包名与 Git 地址均可(始终取最新版,无需手动 clone):
dsh plugin --profile web add dsh-workbuddy-expert
# 或从 GitHub 安装:
dsh plugin --profile web add github:pbwheel/dsh-workbuddy-expert
或手动 clone 后从目录安装:
git clone --depth 1 https://github.com/pbwheel/dsh-workbuddy-expert.git
cd dsh-workbuddy-expert
dsh plugin --profile web add .
dsh --profile web --dump-config
两种方式都装主分支最新版;配置输出应出现 dsh-workbuddy-expert。然后重启 dsh web(bundles 列表只在启动时读)并强刷浏览器。零构建;运行时仅依赖宿主自己的 schema 工厂 @deepseek-ai/schemastery(精确固定)。
桌面端里,把这段话发给任意 Agent(它会走当前 profile 的应用内插件管理,无需终端):
请把 DSH 插件 dsh-workbuddy-expert(来源 github:pbwheel/dsh-workbuddy-expert)安装到当前 profile,完成后告诉我如何重启生效并开始使用。
终端用户把这段发给能执行本机终端命令的 Agent:
请将 DSH 插件 dsh-workbuddy-expert 从本仓库安装到 web profile:git clone --depth 1 https://github.com/pbwheel/dsh-workbuddy-expert.git 后执行 dsh plugin --profile web add <目录>。安装后执行 dsh --profile web --dump-config,确认配置包含 dsh-workbuddy-expert,并告诉我如何重启 dsh web 和开始使用。
~/.dsh/experts/;命令行也可以:/expert 列出全部专家,/expert <name> 切换。
| 配置项 | 默认值 | 作用 |
|---|---|---|
sourcePath |
~/.workbuddy/plugins/marketplaces/experts/plugins |
WorkBuddy 源目录;~ 使用时展开;允许保存暂不存在的路径(页面提示,路径就绪自动恢复) |
roots |
— | 可选追加发现根,必须显式 trust: user |
dshHome |
$DSH_HOME 或 ~/.dsh |
覆盖 DSH home 解析 |
配置走 DSH 0.2 的 Config 表单模型:sourcePath 保存后经宿主 volatile 链路热生效(不重挂插件);roots/dshHome 修改后按 Loader 语义重挂。表单投影与保存链路细节见设计文档。
sourcePath 有两个编辑入口,同一份数据,经宿主 volatile 链路自动同步:
追加根示例:
- name: 'dsh-workbuddy-expert'
config:
roots:
- path: ~/company-experts
trust: user
平时靠逐文件指纹自动重扫,「刷新」按钮强制重扫。
node scripts/smoke.mjs # 契约/清洗/注册表/切换冒烟
node scripts/smoke-client.mjs # client 侧
node scripts/smoke-importer.mjs # importer/市场路由
node scripts/smoke-install.mjs # 安装=导出链路
node scripts/verify-host-contract.mjs # 对照真实宿主包验证 Config/volatile 契约
依赖仅 @deepseek-ai/schemastery(精确固定 3.18.4,宿主自己的 schema 工厂)。兼容 DSH >=0.2.0-rc.2 <0.3.0(engines.dsh 与 peerDependencies 同此范围),安装期与启动期均做版本校验;插件清单含本地化文案与图标(locale/、icon.svg)。
改完 host(src/)或 package.json 需重启宿主(桌面端重启 App,CLI 重启 dsh web);只改 client/client.js 刷新页面即可。
| 模块 | 职责 |
|---|---|
src/registry.js |
专家文件夹扫描、校验、清洗、watcher |
src/compose.js |
会话组装:角色段 + skills + 工具白名单 |
src/switch.js |
切换事务 |
src/importer/ |
WorkBuddy scanner/指纹/导出/市场路由 |
client/client.js |
选择器 + 市场页 UI |
设计与决策记录见 docs/design.md。
MIT © 2026 dsh-workbuddy-expert contributors
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。