# @windy070916-tech/dsh-client-ui-pet

[English](README.md) | 中文

蜗蜗 —— 一只角落生物风格的蜗牛，作为 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness) Web UI 的桌面宠物。

它带着 8 方向精灵图在页面上缓慢爬行、留下渐隐的黏液足迹，会吃掉拖到它身上的图片（图片进入当前会话的输入框），闲置时会睡觉，并对对话活动做出反应。

## 安装

需要 `dsh` CLI（`npm i -g @deepseek-ai/dsh`，或源码 checkout）。把插件装进你的 Web profile：

```sh
dsh plugin --profile web add @windy070916-tech/dsh-client-ui-pet
```

重启 `dsh web` —— 新客户端插件在重启后才会进入浏览器花名册：

```sh
dsh web
```

搞定：宠物会出现在右下角并开始爬行。

卸载：

```sh
dsh plugin --profile web remove @windy070916-tech/dsh-client-ui-pet
```

## 兼容性

基于 DeepSeek Harness `0.1.0-rc.x` 系列构建（`npx @deepseek-ai/dsh web`）。DeepSeek Harness 尚处开发者预览阶段——未来版本可能破坏本包所依赖的客户端插件 API；如有需要请固定你的 `dsh` 版本。

## 开发

源码位于 [`windy070916-tech/deepseek-harness`](https://github.com/windy070916-tech/deepseek-harness) 的 `packages/client/ui-pet`。bundle 的修改会通过客户端插件 HMR 链路热更新（`pnpm --filter @windy070916-tech/dsh-client-ui-pet bundle`），而花名册/依赖的修改需要重启 `dsh web`。精灵图再生成脚本（单张精灵模块、OpenAI 八方向生成、视角标签 OCR）随该仓库的 `scripts/` 目录发布。

## 许可证

[MIT](./LICENSE)
