- Home
- Plugins
- UI Enhancements
- dsh-sidebar-pet
dsh-sidebar-pet
wanhang95/dsh-sidebar-pet
DeepSeek Harness plugin: a big fish companion that swims across the UI, reacts to agent workload (RunCat style) and eats the fish food you drop.
Install
dsh plugin --profile web add github:wanhang95/dsh-sidebar-petREADME
dsh-sidebar-pet
一只会在整个界面里游动的大肥鱼,装进 DeepSeek Harness 当桌面宠物。 A big fish companion for DeepSeek Harness — it swims across the whole UI, gets livelier when the agent gets busier, and eats the fish food you drop.
🐟 一条在 DSH 界面里自由游动的大肥鱼:会随 agent 工作量加速,会吃你投的鱼食。
真实录屏:鱼在界面里自己游,尾巴一直在摆。 Live capture: the fish cruising the UI on its own.
安装 / Install
DSH 插件由 DSH 的插件管理器安装,不是全局 CLI 工具。以下三种方式任选其一。 DSH plugins are installed by the DSH plugin manager, not as a global CLI package. Pick any one of the three options below.
方式一:让 agent 帮你装 / Option 1 — ask the agent
在 DSH 里对 agent 说「安装插件 dsh-sidebar-pet」,等价于调用 plugin_manager 的 install_bundle,target 传 dsh-sidebar-pet@0.8.0(已发布,也可以只写包名 dsh-sidebar-pet)。
Tell the agent in DSH: "install the plugin dsh-sidebar-pet". This maps to plugin_manager → install_bundle with target set to dsh-sidebar-pet@0.8.0 (once published, the bare package name dsh-sidebar-pet is enough).
{ "target": "dsh-sidebar-pet@0.8.0" }
方式二:桌面版界面 / Option 2 — desktop UI
DSH 桌面版 → 设置 → 插件 → 添加插件 → 填 dsh-sidebar-pet。
DSH desktop → Settings → Plugins → Add plugin → enter dsh-sidebar-pet.
方式三:从源码本地安装 / Option 3 — install from a local checkout
install_bundle 的 target 传本地目录的绝对路径。
Pass the absolute path of the local directory as the target of install_bundle.
{ "target": "C:/path/to/dsh-sidebar-pet" }
安装完成后重载 DSH,插件会自动挂载 / reload DSH after installing and the plugin mounts itself.
交互 / Interactions
| 动作 | Action | 结果 | Result |
|---|---|---|---|
| 单击 | Poke | 鱼会缩一下、脸红、冒一句台词 | Squash, blush, and a one-liner |
| 拖拽 | Drag | 抓起来甩,松手后带着惯性游走 | Grab, throw, and it swims off with momentum |
| 双击 | Double-click | 原地转一圈,然后晕一会儿 | One full spin, then a short dizzy spell |
| 点空白处 | Click empty space | 掉一颗鱼食,沉底,鱼游过去吃掉 | Drops fish food that sinks and gets eaten |
尾巴摆幅、游速和拖尾密度跟着 agent 负载走(RunCat 风格):会话越多、主区域变动越频繁,鱼就越兴奋;闲下来就慢慢摸鱼。
Tail amplitude, cruise speed and trail density follow the agent workload (RunCat style): the more sessions running and the busier the main area, the livelier the fish. Idle time makes it lazy again.
显示 / 隐藏 · Show / Hide
单击侧栏里的鱼缸图标,把大肥鱼收进缸里或放出来。状态记在浏览器里(localStorage),刷新页面后保持上次的选择。
- 收进缸里:鱼先在缸口压一下蓄力,再沿抛物线跃起、落回水面;水花是在落水那一刻才溅出来的,不是起跳时就溅。
- 放出来:鱼从缸里先往上窜、再横向滑出,缸口随即溅一次水花。
- 两个方向都是固定时长(收回 800ms / 放出 1400ms),跟鱼当时离缸多远无关,所以收回去的节奏永远一致。
Click the tank icon in the sidebar to send the fish home or call it back. The state lives in localStorage and survives a reload.
- Going home: the fish coils at the rim, hops along a parabola and lands back in the water; the splash fires on the landing, not at take-off.
- Coming out: it bursts up out of the tank first, then sweeps across, splashing at the water line.
- Both flights are fixed-duration (800ms home / 1400ms out), independent of how far away the fish happened to be.
兼容版本 / Compatibility
- DSH >= 0.2.0 (
engines.dsh) - 浏览器端 / browser half: 通过
dsh.client注入shell.overlay与sidebar.brand.mark两个 slot - 宿主端 / host half: 空实现,不注册路由、不读本地文件
License
MIT
仓库 / Repository: https://github.com/Wanhang95/dsh-sidebar-pet 国内镜像 / China mirror: https://gitee.com/hang2345/dsh-sidebar-pet npm 包 / Package: https://www.npmjs.com/package/dsh-sidebar-pet 插件市场索引 / Market index: https://cdn.jsdelivr.net/gh/Wanhang95/dsh-sidebar-pet@main/plugin-index.json
Related plugins
dsh-web (dsh-task-board)
zhu1090093659/dsh-web
dsh-web (dsh-web-all)
zhu1090093659/dsh-web
dsh-TUI
ccch1mneyyy/dsh-tui
dsh-web-ui (dsh-task-board)
zhu1090093659/dsh-web-ui