byh819-png/dsh-client-ui-notify

byh819-png★ 3TypeScriptLast synced: 2026-08-20

Open on GitHub

Ringtone notifications for DeepSeek Harness: alerts are triggered when the conversation ends and when authorization is required (either with a built-in tone, TTS voice, or custom audio). **DeepSeek Harness 网页端铃声提醒插件:回答完成或需要授权时响铃提醒,支持内置铃声 / 文字转语音 / 自定义音频。

README excerpt

@deepseek-ai/dsh-client-ui-notify English 中文 Sound-alert plugin for the web client: rings when a session's answer completes and when a session needs authorization, so a background conversation cannot finish unnoticed. The browser half provides ctx.notify (a NotifyRuntime ) and registers a preference row into the settings General section; the Host half exposes the durable ui-notify settings namespace the row reads and writes through ctx.settingsScope , stored in the user-settings document ( $DSH HOME/settings.yaml by default). Alert events The runtime observes ctx.sessions.list and rings in two situations, both gated by the master switch and their own toggle: - Answer complete — a session's running bit flips true → false (the sidebar's green "done" reminder, current session included). - Authorization needed — a session's pendingInteraction appears (approval, plan review, or ask-user question). The first list snapshot only records observed state (a session already idle at load rings nothing), and connection/reset re-baselines so reconnect status replay cannot ring. Alert methods - Built-in ringtone — a two-tone chime synthesized at build time, embedded as a base64 data URI in the cli…

View full README on GitHub →
Terminal / TUIai-agentcordisdeepseek-harnessdshdsh-pluginnotificationringtonesound

Category