住在 DSH Web 界面右下角的坤坤桌宠:随 Agent 状态切换动作,任务完成时播放「你干嘛~哎哟」。
安装
# npm 包(预构建)
dsh plugin --profile web add kunpet-dsh
# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)
dsh plugin --profile web add github:Yang-wudi/dsh-kun-like-pet#path:/packages/kunpet-dsh
装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。
README
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.
链接
同类插件
PC2005-cloud/dsh-pet#dsh-pet★ 6497
DSH Web UI 桌面宠物,Windows / macOS / Linux 三端可用:浏览器浮层或透明置顶桌面窗口,106 个透明动画、带挤压与粒子的甩抛反弹物理、随会话事件实时联动的工作状态气泡、碎碎念与带持久记忆的对话、余额展示、表情包配图、多开同屏,并支持直接放入的自定义动画与宠物种类(pet pack)。
flizzywine/dsh-tavern#dsh-tavern★ 1676
基于 DeepSeek Harness 的 Agent 酒馆,兼容 SillyTavern 生态,人物卡导入即玩,支持多种模型和手机游玩。桌面端从「设置 → 酒馆启动器」安装酒馆。 基于 2NF/dsh-profile-bridge(MIT)改造的启动器:把酒馆下载到独立 DSH 配置并在重启时切换。与上游插件不能同装——两者都占用 /profile-bridge 通道。
Alterssss/dsh-bili-whale★ 1079
一条按自己作息过日子的 B 站插件:宿主里每 60 秒一次心跳,在设定的作息窗口里随机挑一个时刻叫醒专用会话(今天不想看是按概率跳过),再交给自带的 38 个子命令——信息流、字幕、弹幕、评论、ffmpeg 抽帧、两本日记。每天最多发 N 条评论/动态并 @ 主人(默认 3,按配额账本计数,撞到限流或验证码就停手)。同时轮询评论回复、私信和直播间弹幕;除主人以外的回复先入队,等主人在设置页批准。设置 → 养鱼 写 ~/.dsh/bili-whale.config.json;cookie 单独在 ~/.bili-ai/credentials.json,只写不回显。HTTP 路由只认回环地址并过 DSH 信任栅栏。抽帧需要 Node 18+ 与 ffmpeg。
Nagi-ovo/dsh-ads★ 734
2005 年中文站点风格的整活广告插件:侧栏广告/信息流/角落弹窗 + 假关闭叉,素材全虚构。
yyh-001/dsh-meme★ 588
聊天表情包:纯文本斗图、情绪主动发图、像 QQ/微信 一样发图、AI 自动学图、自定义表情包。
vlln/whale-girl★ 412
桌面宠物(QQ 宠物形态):右下角悬浮、可拖拽/投喂/玩耍。
社区评论
评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。