Skills Plugins MCP Prompt Model 导航 博客 资讯 我的中心
趣味 #dsh-plugin#cyber-pet#deepseek-harness#deepseek-harness-plugin#deepseek-harness-plugins#dsh-plugin-pet

dsh-cyber-pet

DeepSeek Harness 的赛博鲸鱼桌宠:悬浮于 shell.overlay,可投喂、可自定义颜色,报告 token 用量、配额、交互与会话数;一个 bundle 同时承载聊天大脑与浏览器界面

borisshaw6 @borisshaw6 ⬇ 2 ★ 2 main

安装

dsh plugin --profile web add github:borisshaw6/dsh-cyber-pet
下载安装清单

需要可复现安装时,可在仓库后追加 #commit 固定提交。

DeepSeek Harness 的赛博鲸鱼桌宠:悬浮于 shell.overlay,可投喂、可自定义颜色,报告 token 用量、配额、交互与会话数;一个 bundle 同时承载聊天大脑与浏览器界面

该插件未提供要点说明,请参考仓库 README。

dsh-plugincyber-petdeepseek-harnessdeepseek-harness-plugindeepseek-harness-pluginsdsh-plugin-pet
  1. 安装并启动 DeepSeek Harness:npx @deepseek-ai/dsh web
  2. 在终端执行上面的安装命令(CLI 会解析插件并核验来源)
  3. 用 dsh plugins list 确认已安装,必要时重启 Harness 生效

插件以当前 dsh 进程的权限运行,安装时可能执行代码。请先通读仓库源码与许可证,确认无破坏性命令与越权访问;本站只做索引,不对第三方插件安全性作担保。

代码仓库github.com/borisshaw6/dsh-cyber-pet
许可证MIT
主要语言main
下载量2
GitHub 星标2
最近推送2026-08-15
收录日期2026-09-19
分类趣味

事实信息来自公开插件目录快照(2026-10-01),介绍文案由本站再加工。

以下为插件仓库 README 全文(原始内容,由公开目录抓取整理)。

# dsh-cyber-pet 🐳

**English** | [中文](README.zh.md) · **[🎮 Live Demo](https://borisshaw6.github.io/dsh-cyber-pet/demo/)**

---

A cyber whale pet for [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness): a floating, feedable, color-customizable whale that lives inside the Web UI and reports your token usage, quota, context occupancy, interactions, and conversation counts — with three chat backends, growth levels, moods, milestone celebrations, and a one-click PNG report card.

> 🎮 **Try it without installing anything**: [Live Demo](https://borisshaw6.github.io/dsh-cyber-pet/demo/) — swap skins, recolor the whale, simulate turns, and feed it, right in your browser.

## Gallery

**Two skins** — pixel-art and skeuomorphic (the animated tiles are live SVG recreations of the in-app skins; the photos are real screenshots):

| Pixel-art | Skeuomorphic |
|:---:|:---:|
| ![pixel whale demo](docs/demo-pixel.svg) | ![skeuo whale demo](docs/demo-skeuo.svg) |
| ![pixel whale in app](docs/whale-pixel.png) | ![skeuo whale in app](docs/whale-skeuo.png) |

**The dashboard in both UI languages** (Chinese / English):

| Chinese UI | English UI |
|:---:|:---:|
| ![dashboard zh](docs/whale-panel-zh.png) | ![dashboard en](docs/whale-panel-en.png) |

**It talks** — the whale reports every completed turn (cost + remaining quota) in a speech bubble:

[图片: speech bubble]

## Install

### Option A — one-line install (recommended, zero source code)

All you need is [Node.js](https://nodejs.org) (≥ 22.19, LTS recommended) and pnpm — the plugin command delegates to it, one-time setup: `npm install -g pnpm`. No Git, no source checkout, no build.

**1. Add the whale to your harness web profile — one line:**

```sh
npx @deepseek-ai/dsh plugin --profile web add @borisshaw6/dsh-cyber-pet
```

The first run asks `y` to confirm downloading the harness; when you see `+ @borisshaw6/dsh-cyber-pet`, it is installed.

**2. Start (or restart) the web UI:**

```sh
npx @deepseek-ai/dsh web
```

> The whale loads at profile startup. If a web session is already running, stop it and run the command again — a bare browser refresh is not enough.

**3. Open http://127.0.0.1:3080** — a yellow whale appears and starts swimming; click it to open the dashboard panel.

Optional — confirm the plugin layer is mounted:

```sh
npx @deepseek-ai/dsh --profile web --dump-config | grep pet-chat
```

Update / uninstall:

```sh
npx @deepseek-ai/dsh plugin --profile web update @borisshaw6/dsh-cyber-pet
npx @deepseek-ai/dsh plugin --profile web remove @borisshaw6/dsh-cyber-pet
```

Under the hood, the [bundle package](dsh-cyber-pet-bundle/) carries both halves (host-side `petChat` Remote + browser surface) and mounts through the profile's `cordis.patch.yml` layer plus the `dsh.client` declaration. Building it from source is described in [dsh-cyber-pet-bundle/README.md](dsh-cyber-pet-bundle/README.md).

**Troubleshooting**

| Symptom | Fix |
|---|---|
| No whale after install | Restart the web profile (step 2) — the browser half loads at startup — then hard-refresh the page. |
| `pnpm not found on PATH` | `npm install -g pnpm` (or `corepack enable`), then re-run step 1. |
| Port 3080 already in use | `npx @deepseek-ai/dsh web --port 3099`, or stop whatever is holding 3080. |
| Harness older than `0.1.0-rc.6` | Upgrade the harness, or use Option B below. |

### Option B — source checkout install (developers)

Requirements: Node.js ≥ 22.19, Git, and pnpm (`corepack enable`). Tested against harness `0.1.0-rc.5`.

```sh
git clone https://github.com/deepseek-ai/deepseek-harness.git
git clone https://github.com/BorisShaw6/dsh-cyber-pet.git
cd dsh-cyber-pet && ./install.sh ../deepseek-harness
cd ../deepseek-harness && pnpm dsh web     # open http://127.0.0.1:3080
```

Or let the installer fetch the harness for you:

```sh
git clone https://github.com/BorisShaw6/dsh-cyber-pet.git && cd dsh-cyber-pet && ./install.sh --quick
```

The installer clones harness `0.1.0-rc.5` (pinned tag) when no checkout is given, copies both packages, wires the 4 registration files, installs, and builds. It is idempotent and safe to re-run; options: `--force` (replace existing plugin files), `--skip-deps`, `--skip-build`.

For the fully manual procedure (copy the two packages, edit the four files, build), the usage guide, and troubleshooting, see [ui-pet/README.md](ui-pet/README.md).

Uninstall:

```sh
./uninstall.sh /path/to/deepseek-harness --purge
```

## What you get

- 🐋 **Two skins** — pixel-art and skeuomorphic; **seven preset colors + free picker** (default Sunny Yellow)
- 🧭 **Behavior modes** — Active / Standby / Sleep, via right-click quick menu or Settings
- 🏊 **Autonomous roaming** — swim speed follows the live token burn rate × your speed ratio, inside your chosen roam area
- 📊 **Glass dashboard** — Overview / Chat / Settings tabs; user-composed stat cards (visibility / size / order), quota bar, context occupancy, last-turn cost, burn rate
- 🎛️ **Under-whale badge** — click to cycle Quota → Context → Turns
- 💬 **Chat with the whale** — Local Pet (rule-based, zero requests), Online Pet (any OpenAI-compatible endpoint you configure), Harness Pet (host-side `petChat` Remote, credentials stay on the host — needs `DEEPSEEK_API_KEY`)
- 🌱 **Growth system** — Calf → Junior → Adult → Golden (crown at max level)
- 😊 **Mood engine** — happy / focused / anxious (<10% quota) / sleepy
- 🎉 **Milestones & digest** — celebration every 10k tokens; "yesterday you burned X tokens" on first load
- 🍱 **Feeding** — drag the 🪙 snack onto the whale
- ⏸️ **Rest reminder** — naps for 3 minutes after N consecutive turns
- 📸 **Report card** — one-click PNG export with the whale and your numbers
- 🔊 **Soft sound effects** (toggleable), 🌍 Chinese / English UI switch

All counters and preferences persist in browser `localStorage` (`dsh.cyber-pet.v3`).

## Repository layout

```
dsh-cyber-pet/
├── install.sh            # one-click source installer (Option B)
├── uninstall.sh          # one-click uninstaller
├── scripts/
│   └── patch-files.mjs   # idempotent registration engine (apply/revert)
├── dsh-cyber-pet-bundle/ # dsh-plugin bundle package (Option A, npm-publishable)
├── docs/                 # gallery assets (screenshots + animated SVG demos)
├── ui-pet/               # → packages/client/ui-pet   (browser whale surface)
└── pet-chat/             # → packages/feedback/pet-chat (host chat Remote)
```

The installer copies `ui-pet/` and `pet-chat/` into the harness workspace and adds four registration lines (`tsconfig.host.json`, `tsconfig.client.json`, `packages/bundle/web-app/package.json`, `packages/bundle/web-app/cordis.patch.yml`). See [ui-pet/README.md](ui-pet/README.md) for the full manual procedure, usage guide, and troubleshooting.

## Notes

- DeepSeek Harness is in developer preview and breaks APIs between releases — Option A pins peers at `0.1.0-rc.6`; Option B pins the harness checkout at `0.1.0-rc.5` (`--quick` clones that exact tag).
- Option A and Option B must not be mixed on the same harness install — pick one. `dsh plugin add` targets harness ≥ `0.1.0-rc.6`; the source installer targets `0.1.0-rc.5`.
- The Online Pet backend keeps your API key in browser `localStorage`; prefer Harness Pet when the host credentials are configured.

## Why this little whale exists

Amid great anticipation and excitement, DeepSeek Harness has finally been officially launched. Riding the surging wave of AI, each of us developers is a firsthand witness to this era. As backend engineers, our daily work involves either implementing requirements based on spec documents or refining business logic within the framework of various driving specifications and development standards; while the rapid iteration of AI tools boosts efficiency, it also subtly adds pressure to keep up — as if the slightest delay would leave us trailing behind the times.

Technology is constantly evolving, yet the passion for coding deep within my heart remains unchanged — a thought that is both poignant and wondrous. I usually handle business requirements on GitLab. Although I log into GitHub frequently, I rarely have the chance to let my guard down and play around there, tinkering with personal projects purely out of passion.

Early Saturday morning, I was casually browsing and came across a data structures practice assignment I'd uploaded years ago — which included a simple maze game implemented using a binary tree. Looking back with today's perspective, the code is a bit rough around the edges, but it's brimming with the pure joy of coding I felt back then. Inspired by the launch of DeepSeek Harness, an idea took root in my mind: I wanted to contribute my own small part to the Harness ecosystem.

As a pure backend developer with no prior experience in frontend technologies, I relied entirely on Qoder to complete the development of this little project. It's very small in scope, and the code is far from perfect — it might even hide some undiscovered bugs — so it's hardly a technically substantial project. Still, I hope this little thing can play its own small role within the Harness ecosystem and offer a bit of relaxation beyond technology to my peers who are constantly juggling business demands and standards.

In an era where everyone is being pushed to run faster and faster, regulations and pressure are ever-present. But I've always believed that amidst the grind of coding, we should carve out a few fragmented moments of leisure. May this little cyber pet add a moment of pure joy — free from KPIs and regulations — to your hectic development routine.

**Hello, friends.**

## License

MIT — same as DeepSeek Harness.

数据来源:公开的 DeepSeek Harness 插件目录与各插件 GitHub 仓库。本站为独立第三方目录,与 DeepSeek、幻方(High-Flyer)及插件作者均无隶属或背书关系。

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。