DSH-end-notify
消息通讯 活跃维护

DSH-end-notify

PuLuShen/DSH-end-notify

可在DSH任务执行完成后自动触发提示音提醒,无需手动查看运行进度,支持自定义提示音文件,部署流程极简,开箱即用,匹配日常DSH运行环境

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
None
开源协议
7 KB
仓库大小
3 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:PuLuShen/DSH-end-notify
git clone https://github.com/PuLuShen/DSH-end-notify.git
git clone git@github.com:PuLuShen/DSH-end-notify.git
README.md main

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'