DeepSeek Harness Plugin

Yang-wudi/dsh-kun-like-pet#kunpet-dsh

Stars ★ 1 Downloads (30d) 365 Category Just for Fun Added 2026-08-21 npm kunpet-dsh

A Kun-Like desktop pet living in the corner of the DSH web UI; switches animations with agent state and plays a voice line on task completion.

Install

# from npm (prebuilt)

dsh plugin --profile web add kunpet-dsh

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:Yang-wudi/dsh-kun-like-pet#path:/packages/kunpet-dsh

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

README

This plugin publishes its README in Chinese only.

Kun Like 桌宠 · DeepSeek Harness (DSH) 桌面宠物插件 —— 一只住在 Web 界面右下角的小坤宠。 它盯着 Agent 干活:你搓代码它努力搬砖,你思考它托腮,等你回复它翘首以盼,任务完成时它挥手跳跃、大喊 「你干嘛~哎哟」 🏀

A Kun-Like desktop pet for DeepSeek Harness: lives in the bottom-right corner of the Web UI, reacts to agent activity, and plays a voice line when a task completes.

🙏 This package is a derivative of liyupi/dsh-kun-like-pet (original author liyupi, MIT). It repackages the pet as a self-contained DSH profile plugin and fixes Windows MP3 playback. Source: github.com/Yang-wudi/dsh-kun-like-pet.

✨ Features

  • 9 种状态动画:完全沿用 Codex 桌宠精灵图契约(8 列 × 9 行、每格 192×208),素材零重绘
  • 所有会话共享:作为 profile 插件挂载到宿主组合,每个会话页面右下角都有桌宠
  • 重启仍在:随 DSH 启动自动装载,无需 cordis 会话、无需授权
  • 任务完成全机可闻:宿主进程用系统命令播放「你干嘛~哎哟」(Windows/Mac/Linux 自动选择播放命令)
  • 可互动:拖动桌宠满屏跑(跑步动画跟方向),点击它挥手打招呼
  • 调试工具:每个会话都有 kun_pet_debug,随时查看状态机内部计数

📦 Install

dsh plugin --profile web add kunpet-dsh

Then restart DSH. The pet appears in the bottom-right corner of every session page.

Local install from source:

git clone https://github.com/Yang-wudi/dsh-kun-like-pet.git
dsh plugin --profile web add -w <clone-path>/packages/kunpet-dsh
# restart DSH

On Windows, pass the plain directory path (no file: prefix) when the target is on another drive.

🔧 Config

The plugin is self-contained (assets embedded). To override assets or behavior, add config to the loader entry in your profile's cordis.patch.yml:

- id: kun-pet
  config:
    spritePath: /your/path/spritesheet.webp
    voicePath:  /your/path/voice.mp3

All options live in lib/index.js DEFAULTS (pollMs, celebrateMs, failedMs, playCommand…).

🔍 Verify

curl http://127.0.0.1:3080/kun-pet/state

Should return JSON like {"mode":"idle","seq":…,"spriteUrl":"/kun-pet/spritesheet.webp",…}. /kun-pet/spritesheet.webp should return image/webp.

⚠️ Assets copyright

assets/voice.mp3 is a meme voice clip (contains a public figure's voice) and assets/spritesheet.webp is fan-made pixel art — personal study use only. Replace the files under assets/ with your own if you plan commercial use or redistribution.

📄 License

Code: MIT. Assets: personal study use only, per the notice above.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.