English | 中文
Birdman 的 DeepSeek Harness (DSH) 插件集合。
| 插件 | 类型 | 作用 |
|---|---|---|
| model-autofill | host | 模型信息自动补全:在 llm-pi-ai 设置命名空间中自动补全缺失的模型显示名、上下文窗口和最大输出 token(数据来自 pi-ai 内置模型目录) |
| workspace-artifacts | host + client | 产物视图:在 Web 会话视图中添加「产物」标签,浏览当前工作区文件树并查看文件内容(代码高亮 / Markdown 渲染) |
两个插件都已发布到 npm,推荐直接通过 npm 安装:
# 安装 model-autofill(模型信息自动补全)
dsh plugin --profile web add @birdman1992/model-autofill
# 安装 workspace-artifacts(产物视图)
dsh plugin --profile web add @birdman1992/workspace-artifacts安装后重启 profile 生效:
dsh --profile web本仓库是 pnpm workspace monorepo,两个插件位于 plugins/ 子目录。DSH 的
dsh plugin 命令会转发给 profile 目录里的 pnpm,因此也可以直接从 git 仓库的
子目录安装:
# 安装 model-autofill(模型信息自动补全)
dsh plugin --profile web add github:birdman1992/dsh-birdman-plugins#path:plugins/model-autofill
# 安装 workspace-artifacts(产物视图)
dsh plugin --profile web add github:birdman1992/dsh-birdman-plugins#path:plugins/workspace-artifactsgit 安装拉取的是源码而非构建产物。这两个插件都是纯 JS、无
build步骤, 因此不需要prepare脚本;若 pnpm ≥10 要求allowBuilds白名单(仅当包 声明了prepare脚本时),在 profile 的pnpm-workspace.yaml中放行对应 包名即可。
# 从本地目录安装(调试)
dsh plugin --profile web add ./plugins/model-autofill
# 卸载
dsh plugin --profile web remove @birdman1992/model-autofill
dsh plugin --profile web remove @birdman1992/workspace-artifacts每个插件都是标准的 npm 包(bundle),需要:
package.json声明dsh.bundle.patch(指向cordis.patch.yml), 有浏览器面的还要声明dsh.client与exports["./client"];cordis.patch.yml把插件行插入组合树(insert+name: <包名>)。
详见官方文档: Package and install a plugin。