rex-harness
DeepSeek Harness plugin authoring workspace. First plugin: UI design workflow (@rex-harness/ui-workflow).
- Stars
- 0
- Language
- TypeScript
- Created
- Sep 1, 2026
- Updated
- Sep 1, 2026
Introduction
Rex Harness
给 DeepSeek Harness 写插件的工作区。日常宿主用 dsh web 或 dsh-desktop。这里负责写出、调试、装卸可嵌套 bundle,再按官方协议发到插件市场。
当前固定调试 CLI:@deepseek-ai/dsh@0.1.1-rc.2。
要求
- 能跑
dsh的开发机 - Node.js 24+
- pnpm 10+
开发
pnpm install
pnpm plugin:add ui-workflow
pnpm dev
pnpm dev 用仓库内 work/dsh-home 作为 DSH_HOME,不会改你的 ~/.dsh。
在 Web UI 里执行:
/ui-workflow 做一个独立开发者用的极简时间记录工具
质量检查:
pnpm typecheck
pnpm test
pnpm build
命令
| 命令 | 作用 |
|---|---|
pnpm new-plugin <name> | 从 templates/plugin 生成 packages/<name> |
pnpm plugin:add <name> | 构建并把本地包装进隔离 web profile |
pnpm plugin:remove <name> | 从隔离 profile 卸掉 |
pnpm dev | 在隔离 home 里启动 dsh web |
<name> 是 packages/ 下的目录名。
这个工作区里的包
| 包 | 用途 |
|---|---|
@rex-harness/ui-workflow | 要发布的 UI 设计编排插件 |
@rex-harness/example-greet | 脚手架示例,不上市场 |
发布渠道是 GitHub topic dsh-plugin 和 awesome-dsh-plugin(dsh-market 收录该列表)。包内保留 dsh.bundle。example-greet 不上市场。
装进 dsh-desktop
桌面端读真实 DSH home(通常是 ~/.dsh):
dsh plugin --profile web add ./packages/ui-workflow
市场安装(预构建 tarball,无需 allowBuilds):
dsh plugin --profile web add https://github.com/RexYoung000/rex-harness/releases/latest/download/rex-harness-ui-workflow.tgz
装完重启 Desktop。
文档
- PROJECT.md:作者仓范围、发布目标、不做清单。
- 官方:Your first plugin、Package and install a plugin