@ai-galaxy/dsh-sound
为任务状态和审批事件提供自定义音效提示 适合希望通过声音反馈实时掌握任务进度和异常状态的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AI-Galaxy-GPU/dsh-sound說明文件
閱讀完整 README ↗Configuration storage
- The browser half persists its configuration in localStorage (key
dsh-sound:config), sanitizing every read and filling defaults. Uploaded local music files are stored in IndexedDB (dsh-sound-audio) instead — no localStorage quota limits. - Config keys:
enabled,quietCurrent,ignoreSubagent, and six main sound + six main volume fields —completionSound/approvalSound/questionSound/planReviewSound/goalBlockedSound/failureSound(builtin key,none,local,data:URL, oraudio:) andcompletionVolume…failureVolume(0–1) — plus the matchingsubagentCompletionSound…subagentFailureSound/subagentCompletionVolume…subagentFailureVolumepairs for the subagent channel (all sounds default tonone).localFileskeeps the last chosen local file per event (completion, … andsubagent-completion, …) so switching to a built-in sound and back does not drop it. - 0.2.0 migration: older configs are upgraded automatically —
defaultSoundbecomescompletionSound, voice/TTS values degrade to the per-event default, andworkspaces/debounceMs/ globalvolume/ voice settings are dropped. - Export / import: the settings panel downloads the full config as JSON (IndexedDB audio references are inlined as data URLs) and restores it from a JSON file — moving browsers or machines does not require reconfiguration.
- The host half also registers the
dsh-soundsettings namespace: on rc.6 the settings API allowlist (WEB_SETTINGS_NAMESPACESindsh-host-apiproxy) does not expose third-party namespaces to browsers, so the client does not depend onsettingsScopetoday; the registration keeps the migration path open for future releases.