dsh-pixel-whale

by yoke233

娱乐github收录于 08-23

在 DeepSeek Harness Web 的「深入思考…」状态前加一只紧凑的点云鲸鱼动画:随轮次运行出现、跟随进度

dsh-pixel-whale adds a compact, animated point-cloud whale immediately before the Deep diving... status in DeepSeek Harness Web. It appears with a running turn, follows the…

安装

dsh plugin --profile web add github:yoke233/dsh-pixel-whale

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

目录

dsh-pixel-whale adds a compact, animated point-cloud whale immediately before the Deep diving... status in DeepSeek Harness Web. It appears with a running turn, follows the status across UI remounts, and leaves when the turn ends.

See it in DSH Web

This screenshot is rendered from the production browser bundle. In motion, the whale's large head stays weighty while the body bends, the tail and fin rebound, and small bubble scenes rotate between loops. Its pixels use a restrained blue palette with stable colors—movement comes from the body, not flashing points.

Install

dsh plugin --profile web add github:yoke233/dsh-pixel-whale

Restart DSH Web after the first installation. The whale appears automatically while a turn is running; there are no commands or settings to configure.

The installer may report peer-dependency warnings for DSH and React packages. Those packages are supplied by the DSH Web host; a completed install ending with Done is expected.

How it works

  1. The plugin mounts through DSH's session-scoped conversation.input.dock lifecycle.
  2. useSession provides the authoritative running state.
  3. A scoped MutationObserver follows the current conversation's status row.
  4. A React portal places the whale before Deep diving... and cleans it up when the turn stops or the plugin unloads.

DSH does not currently expose a public Slot inside its private turn-status component, so the small DOM adapter is intentionally isolated to one selector and one current-conversation observer. It does not replace the status text or write session data.

Design details

  • Compact: renders at 36 × 26px and stays on the status line.
  • State-aware: visible only while the current session is running.
  • Calm motion: stable pixel colors, restrained breathing, larger body and tail movement.
  • Accessible: respects prefers-reduced-motion.
  • Web-only: no prompt, tool, model-request, or host behavior changes.

Development

pnpm install
pnpm check

pnpm check runs TypeScript validation, motion and DOM-lifecycle tests, then builds the host and browser entries. Release packages are built entirely from published npm dependencies and include only the generated lib output, bundle patch, README, and license.

Compatibility

  • DeepSeek Harness packages: ^0.1.0-rc.6
  • Node.js: ^22.19.0 || >=24
  • Surface: DSH Web

The status-row selector follows the current DSH Web markup. If DSH later exposes a dedicated turn-status Slot, the adapter can move to that Slot without changing the animation engine.

License

MIT

原始 README: https://github.com/yoke233/dsh-pixel-whale/blob/main/README.md ↗