notf0und/dsh-opencode-sounds ↗★ 0

dsh-opencode-sounds

为各类事件及子代理提供自定义通知音效包。 适合希望在任务完成、审批、失败等节点获得不同声音反馈的Web UI用户。

套件
dsh-opencode-sounds
相容性
待驗證
Cordis 依賴範圍
^4.0.1
版本
0.2.2
授權
MIT
最近更新
2026年9月26日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:notf0und/dsh-opencode-sounds

Configuration storage

  • Client config: localStorage, key dsh-opencode-sounds:config, sanitized on every read.
  • Local audio files: IndexedDB, dsh-opencode-sounds-audio.
  • Sound values: an opencode pack id, none, local, a data: URL, or an audio: ref.
  • Fields: enabled, quietCurrent, ignoreSubagent, the six main sound + volume pairs (completionSound … failureSound, completionVolume … failureVolume) and the six subagent pairs (subagentCompletionSound … subagentFailureVolume). localFiles keeps the last chosen local file per event so switching away and back does not drop it.
  • The host also registers the dsh-opencode-sounds settings namespace. The rc.6 settings API allowlist (WEB_SETTINGS_NAMESPACES) does not expose third-party namespaces to browsers, so the client uses localStorage today; the registration keeps the migration path open.