Introduction¶
DeepSeek Harness (DSH) is mainly used for agent development and debugging. Staring at interfaces for long periods can cause visual fatigue. The dsh-desktop-pet plugin floats an orange kitten in the bottom-right corner of the DSH Web interface. The kitten features pure CSS animation effects such as blinking, tail-wagging, and purring, and supports dragging and click interactions, serving as a lightweight companion tool during development.
What It Is¶
This plugin is maintained by Ares-song-RD and belongs to the fun dress-up category. It does not rely on any image resources; it is implemented using inline SVG and pure CSS animations only. The browser side depends on React, and the server side depends on Cordis. After installation, the DSH application must be restarted for the plugin to take effect.
Core Features¶
- Dragging and position memory: Supports dragging the kitten to any position with the mouse. Position information is automatically saved to
localStorage, and the position automatically converges when the window is resized. - Interactive behavior:
- Single click: The kitten jumps and displays a random voice bubble (the bubble language follows the interface language).
- Double click: Cyclically switches the mood state (daydreaming → sleeping → excited).
- Right click: Opens a mini menu that supports hiding the desktop pet, changing the mood, and viewing about information.
- Themes and settings: Supports light and dark themes. Provides a settings page where display toggles, animation toggles, and direct mood selection are available.
Installation and Activation¶
Before installation, make sure the Node version is >= 20.
# 1. 克隆仓库
git clone https://github.com/Ares-song-RD/dsh-desktop-pet.git
# 2. 安装依赖并构建
cd dsh-desktop-pet && npm install && npm run build
# 3. 将构建产物复制到 DSH profile 的 vendor 目录
# 示例路径:~/.dsh/profiles/desktop/vendor/dsh-desktop-pet
cp -r . ~/.dsh/profiles/desktop/vendor/dsh-desktop-pet
# 4. 在 profile 的 package.json 中注册依赖
# dependencies 增加: "dsh-desktop-pet": "file:./vendor/dsh-desktop-pet"
# dsh.profile.bundles 增加: "dsh-desktop-pet"
# 5. 安装 profile 依赖并重启 DSH
cd ~/.dsh/profiles/desktop && pnpm install
# 重启 DeepSeek Harness 桌面应用,小猫会出现
Typical Usage¶
- After starting the DSH application, the kitten automatically appears in the bottom-right corner and begins blinking and wagging its tail.
- Hold the kitten with the mouse and drag it to any position. The position remains unchanged on the next startup.
- Single click the kitten: the kitten jumps and displays a random voice bubble (for example, “Pat it, energy +1”).
- Double click the kitten: switch the mood state (for example, from daydreaming to sleeping).
- Right click the kitten: choose to hide it, change the mood, or view about information.
- In DSH’s Settings page → Desktop Pet, enable or disable the display, toggle animations, or manually select a mood.
Notes¶
- The browser side depends on React.
- The DSH application must be restarted after installation.
- The plugin uses the MIT License and can be freely used and modified.
Conclusion¶
This plugin provides visual companionship through a minimal code structure (zero images, zero extra dependencies). For more details, refer to the GitHub repository.