Back to home

PuLuShen

DSH-end-notify

DSH任务结束提示音

Stars
0
Language
TypeScript
Created
Aug 16, 2026
Updated
Aug 16, 2026

Introduction

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):

- insert:
    - id: ui-session-end-notify
      name: '@deepseek-ai/dsh-client-ui-session-end-notify'