dsh
OpenPetsHQ/openpets将 DeepSeek Harness 的生命周期状态、错误与审批请求,桥接到本地运行的 OpenPets 桌面伙伴。
为 DeepSeek Harness 复刻 opencode 的任务完成提示音,完成、提问、计划待审、出错四种场景播放原始音效,零外部依赖。
Independently built with the dsh creation mode + Deepseek-V4-Flash0731
Replicates opencode's task-completion chime inside DeepSeek Harness: a crisp notification sound when a turn finishes, when the agent asks you a question, when a plan is submitted for review, or when a turn ends in error. All three sources are the original mp3 files from the opencode repository, embedded losslessly (base64 inside the client bundle). The plugin is fully self-contained with zero external dependencies.
agent/status (a running → idle transition means a turn finished; error-marked turns play the error
sound) and tools/execute (queues the question sound the moment the
ask_user_question question tool or the exit_plan_mode plan tool
starts), enqueueing sounds as needed;/chime/poll serves the pending queue,
/chime/debug exposes status and a listen-through entry;/chime/poll every 250 ms and plays the
embedded base64 sources via Audio.| Sound | Trigger | Source (original opencode) |
|---|---|---|
| done | a turn finishes | bip-bop-01.mp3 |
| question | the question dialog appears / a plan is submitted for review | yup-01.mp3 |
| error | a turn ends in error | nope-03.mp3 |
dsh plugin --profile web add dsh-chime
Or install from the GitHub source (identical content):
dsh plugin --profile web add github:xiaxingtianxia2-glitch/dsh-chime
Restart dsh web after install (the client channel is scanned at startup). This plugin listens at host level — every agent/session (including subagents) triggers it on completion.
Nothing to do — it just works. Listen and debug:
curl http://127.0.0.1:3080/chime/debug
{"pendingCount":0,"recent":["done","question"],"runningCount":1}
recent = recent enqueue history; pendingCount = queue length (consumed by
the client every 250 ms); runningCount = live agent count.
Listen to a specific sound:
curl http://127.0.0.1:3080/chime/debug?play=done # done | question | error
/chime/debug?play=done to test. If it enqueues but does not
play, refresh the page to reload the client player.dsh plugin --profile web remove dsh-chime.exit_plan_mode tool starts. Non-standard question/plan
channels that do not go through these tools will not trigger it.