dsh-whale-pet
其他 活跃维护

dsh-whale-pet

Gorkaseto/dsh-whale-pet

轻量级像素风插件,新会话开启时在输入框上方显示一只游动的鲸鱼宠物。动画细腻生动,自然融入编辑器界面,不挡视野不打扰输入,即插即用,赋予界面一丝趣味。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
JavaScript
主要语言
Apache-2.0
开源协议
15 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:Gorkaseto/dsh-whale-pet
git clone https://github.com/Gorkaseto/dsh-whale-pet.git
git clone git@github.com:Gorkaseto/dsh-whale-pet.git
README.md main

DSH Whale Pet

A lightweight, pixel-art companion plugin for DeepSeek Harness (DSH) (dsh-whale-pet) that adds an animated whale pet above the input composer during new sessions.

Drawn in the style of the DeepSeek whale logo, this little companion keeps you company when opening a fresh conversation and automatically tucks away once you start chatting.

Features

  • Animated Pixel Art: Handcrafted inline SVG sprite that bobs, blinks, flaps its tail, and spouts water every few seconds.
  • Interactive: Click or tap the whale anytime to make it perform an instant hop and water spout.
  • Unobtrusive: Appears exclusively on empty new sessions and gracefully disappears the moment you send a message or start a run.
  • Lightweight & Crisp: Rendered with crisp pixel rendering (shape-rendering: crispEdges) and stepped CSS keyframes without heavy external asset dependencies.
  • Accessible: Automatically halts animations when prefers-reduced-motion is enabled in system settings.
  • Localization: Supports English (en) and Chinese (zh) accessibility descriptions.

How It Works

  • Hooks into the conversation.input.dock slot directly above the composer card.
  • Evaluates session activity (blank && !running && !promptAttempted) so it stays completely out of the way during active conversations.
  • Renders as a self-contained inline SVG using CSS step-timing functions to emulate classic retro sprite sheets.

Installation

Install the plugin into your DSH web profile:

# From a local folder
dsh plugin --profile web add file:path/to/dsh-whale-pet

# Or directly from a Git repository
dsh plugin --profile web add https://github.com/Gorkaseto/dsh-whale-pet.git

Project Structure

├── client.js          # Client module: pixel-art sprite SVG, animations, and dock integration
├── index.js           # Host service entry point
├── cordis.patch.yml   # Cordis plugin manifest definition
├── icon.svg           # Plugin icon
├── locale/            # Internationalization metadata files (en.json, zh.json)
├── package.json       # Plugin manifest and dependencies
├── LICENSE            # Apache-2.0 License
└── NOTICE             # Copyright and attribution notices

License

Licensed under the Apache License, Version 2.0. See NOTICE for details.