dsh-done
已验证 · 实测可装 mba1398
功能简介
Developer 类别的 DeepSeek Harness 插件。
可用 — 实测通过,早期项目
Developer 类别的 DeepSeek Harness 插件。 实测能干净安装、正常启动。早期项目,但功能可用。
「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。
README
dsh-done
Task completion celebration popup with sound for DeepSeek Harness.
When an agent finishes a task (status goes running → idle), a celebratory
popup appears in the page (confetti + fanfare), then auto-dismisses.
Features
- 🎉 Popup overlay in the
shell.overlayslot when a task completes - 🎊 Confetti animation + bounce-in
- 🔊 Web Audio fanfare (ascending C5-E5-G5-C6), no external audio file
- ⏳ Auto-closes after ~3.2 s
- 🎲 Random encouraging message on each completion
Install
dsh plugin --profile web add dsh-done
or from a local checkout:
dsh plugin --profile web add /path/to/dsh-done
Then restart the profile.
Build (for contributors)
pnpm install
pnpm run build # tsc (host) + tsdown (client bundle)
pnpm publish
- Host entry:
src/index.ts→lib/index.js - Client bundle:
src/client/index.tsx→lib/client.js
Publish / distribute
- Publish to npm, then tag the GitHub repo with the
dsh-plugintopic so
DSH users can discover it. - To appear in the marketplace lists, open a PR in the relevant community
curated list (e.g. awesome-dsh-plugin-series repositories).
How it works
- Host (
src/index.ts): listens toagent/status; when status isidle,
records the completion timestamp. Exposescelebration/checkRPC. - Client (
src/client/index.tsx): pollscelebration/checkevery 500 ms;
on a fresh completion, shows the popup inshell.overlay.
Runtime adaptation (important)
This plugin installs as a static bundle (loaded by the Loader via{id, name}), so it uses the webServer route scheme for Host↔Client
communication — the harness/host bridge only exists inside the dynamic
Cordis plugin sandbox and is not present on a static bundle's ctx:
- Host (
src/index.ts):inject: ['webServer'], registers theGET /dsh-done/checkroute viactx.effect(() => ctx.webServer.register({ kind: 'exact', path: '/dsh-done/check', handler })). - Client (
src/client/index.tsx): pollsfetch('/dsh-done/check?since=…')
every 500 ms; on a fresh completion, shows the popup inshell.overlay, and
also registers asidebar.footer.actionentry (🎉 manual trigger button).
Restart the profile after installing so the host route registers; the client
bundle is served dynamically by dsh-client-modules, so a page refresh picks
it up.
License
MIT
安装
装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:
dsh plugin add dshbase-catalog 然后对 agent 说「帮我装 dsh-done」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。
该插件是 GitHub 源码(未发 npm)——直接从仓库装:
Web profile:
dsh plugin --profile web add github:mba1398/dsh-done Headless(CLI)profile:
dsh plugin --profile headless add github:mba1398/dsh-done 实测报告
验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。