dsh-bili-scroll
c1overzz
DSH 插件:每天替你刷一轮 B站,读字幕挑出值得的、写一份日报,值得的 @ 你
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:mba1398/dsh-done
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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.
shell.overlay slot when a task completesdsh plugin --profile web add dsh-done
or from a local checkout:
dsh plugin --profile web add /path/to/dsh-done
Then restart the profile.
pnpm install
pnpm run build # tsc (host) + tsdown (client bundle)
pnpm publish
src/index.ts → lib/index.jssrc/client/index.tsx → lib/client.jsdsh-plugin topic so
DSH users can discover it.src/index.ts): listens to agent/status; when status is idle,
records the completion timestamp. Exposes celebration/check RPC.src/client/index.tsx): polls celebration/check every 500 ms;
on a fresh completion, shows the popup in shell.overlay.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:
src/index.ts): inject: ['webServer'], registers the
GET /dsh-done/check route via
ctx.effect(() => ctx.webServer.register({ kind: 'exact', path: '/dsh-done/check', handler })).src/client/index.tsx): polls fetch('/dsh-done/check?since=…')
every 500 ms; on a fresh completion, shows the popup in shell.overlay, and
also registers a sidebar.footer.action entry (🎉 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.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。