DeepSeek Harness plugin

dsh-yierpet-sentinel

Forwards dsh lifecycle events to the YierPet desktop-pet sentinel (fire-and-forget, never blocks dsh).

Jump to install

Source facts

Repository
wusai2333/dsh-yierpet-sentinel
Latest update
Aug 20, 2026
Category
Just for Fun
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/wusai2333/dsh-yierpet-sentinel
Plugin: dsh-yierpet-sentinel
Author: wusai2333

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-yierpet-sentinel

dsh(DeepSeek Harness)的 生命周期事件推给桌宠哨兵 YierPet(macOS 桌宠,监听本地 agent CLI 状态): 等确认 / 完成 / 报错时气泡+动画+提示音提醒。

零依赖、纯 host 侧的 Cordis 插件。监听 dsh 的 session/event 事件流 (dsh 内置宠物消费的同一条缝),fire-and-forget 转发到 YierPet 的 loopback HTTP 端点:

dsh 事件YierPet hookbody
turn/startUserPromptSubmit
tool/resultPostToolUse(心跳)/ PostToolUseFailure{error}
approval/askedPermissionRequest{message}
llm/retryPostToolUseFailure(限流/模型报错,重试中){error}
turn/end completedStop{text: 最后一条回复}
turn/end errorPostToolUseFailure{error}
session/disposedSessionEnd

铁律:1 秒超时、所有错误静默、绝不阻塞 dsh;~/.yierpet/endpoint 不存在 (YierPet 没运行)时直接跳过。子 agent 会话不打扰(其审批除外)——主回合的 Stop 已覆盖用户可见的完成时刻。

前置

运行中的 YierPet(它会把监听 URL 写入 ~/.yierpet/endpoint)。

安装

dsh plugin --profile web add github:wusai2333/dsh-yierpet-sentinel

装完重启 dsh 生效。用 TUI 的话同样装进 dsh-tui profile (--profile dsh-tui)。验证已组合:

dsh --profile web --dump-config | grep yierpet

自检

node --test test.js                                          # 映射逻辑
printf '{"text":"dsh 接入测试"}' | ~/.yierpet/hook.sh dsh Stop  # YierPet 侧(运行时)

卸载:dsh plugin --profile web remove dsh-yierpet-sentinel