PuLuShen/DSH-end-notify
PuLuShen★ 0TypeScriptLast synced: 2026-08-16
DSH任务结束提示音
README excerpt
dsh-client-ui-session-end-notify Browser-half-only UI plugin for the DeepSeek Harness web client: whenever a session turn finishes (the host host/session-status running bit flips true → false), it pops a toast card in the bottom-right corner of the window and plays a short two-note chime. Behavior - Listens to the sessions list store ( ctx.sessions.list ) — no RPC, no per-session state beyond the last-observed running bit. - One toast per finished session: session display title + finish time; auto dismisses after 6s (waits while the tab is hidden), click to dismiss. - Chime synthesized with the Web Audio API (no asset file); coalesced within a 500ms window so simultaneous endings play once. The AudioContext is unlocked on the first user gesture to satisfy the browser autoplay policy. Mounting The node half is an empty apply so the row can appear in a cordis.yml / Loader; the browser half ships via exports["./client"] and is discovered through the dsh.client package.json declaration. Mount it in a profile's cordis.patch.yml (or a bundle patch):
View full README on GitHub →