DSH Plugins Marketplace

DSH Plugins

Plugins

/

ds-whale-ui

J

ds-whale-ui

Manifest valid2

🐳 DeepSeek brand whale progress indicator for DSH Web GUI — swims above the composer while the agent works, with spout animation and todo-progress tracking

UI (client)hasBundlePatch

ds-whale-ui 🐳

一只会在 DeepSeek Harness Web UI 里游动的鲸鱼运行指示器:会话思考/执行工具时,DeepSeek 同款品牌鲸鱼(官方 logo 矢量形状,品牌蓝 #4D6BFE)出现在输入框上方(取代内置的 "Deep diving..." 状态行),沿一条细水线左右巡游;任务结束时它跃出水面再潜入水下。

A swimming whale running indicator for the DeepSeek Harness Web UI: 🐳 appears above the composer (replacing the built-in "Deep diving..." status line) while the agent is thinking or running tools.

特性

  • 位置:注册进官方 conversation.input.dock 插槽——输入框正上方的整宽行,随会话存在/消失;内置 "Deep diving..." 状态行被插件隐藏,位置与无障碍语义(role="status" + aria-live="polite")由鲸鱼接管
  • 游动 + 喷水:运行期间 🐳 沿水线左右巡游(始终面朝前进方向、上下轻浮),头顶持续喷出三颗错峰上升的水滴;执行工具时泳速加快、身后拖出尾迹气泡
  • 阶段感知动画:思考时慢速巡游;执行工具时提速+尾迹气泡+水线流光;成功结束跃出水面、出错下潜告别,随后整行淡出收起
  • 进度联动:当 Agent 发布了任务清单(todos projection,即 todo_write 的计划面板数据)时,鲸鱼的巡游区间随完成度向右扩展(18% 起步 → 100%),水线同步点亮为进度条——鲸鱼游多远 = Agent 干到哪了;hover chip 里也会显示 已完成/总数。没有清单时巡游全宽,不受影响
  • 零打扰:空闲时不渲染、不占任何高度;出现/消失带高度过渡动画;整行 pointer-events: none(仅 🐳 本体可悬停/点击),绝不遮挡阅读或输入
  • hover 气泡 chip:悬停 🐳 显示阶段(思考中/执行工具/…)、运行时长(mm:ss)与运行中的工具数;运行 15 秒后右侧出现内联计时(与原状态行一致)
  • 点击彩蛋:点一下 🐳,它会即兴跃起
  • 设置面板(设置 → 鲸鱼指示器):启用开关、动画强度(完整/节能——节能模式鲸鱼停靠左侧仅轻浮,无游动/喷水)、显示运行时长、强调色(蓝/粉/橙,作用于水线、水滴与 chip),设置持久化
  • 纯 CSS 动画(transform/opacity/left),无运行时依赖

安装(本地开发)

# 1. 构建客户端 bundle
npm run build

# 2. 安装进 web profile(本地 link 安装)
dsh plugin --profile web add /absolute/path/to/ds-whale-ui

# 3. 重启 dsh web 生效

修改 src/ 后重新 npm run build,浏览器刷新即可看到效果(bundle 以 no-cache 服务,HMR 自动 rehash)。

发布

DSH 插件使用 pnpm / npm 包 的方式分发,用户通过 dsh plugin CLI 安装。

方式一:发布到 npm(推荐正式发布)

# 确保 package.json 里的 name / version / files 正确
npm publish          # 公开包
# 或
npm publish --access public   # scope 包首次发布需要 --access public

用户安装:

dsh plugin --profile web add ds-whale-ui
# 重启 dsh web

方式二:GitHub 仓库(适合开发阶段/内部分享)

# 推送到 GitHub 仓库(确保有 build 产物或配置了 prepare script)
git init && git add -A && git commit -m "initial"
git remote add origin git@github.com:yourname/ds-whale-ui.git
git push -u origin main

用户安装:

dsh plugin --profile web add github:yourname/ds-whale-ui
# 重启 dsh web

注意:GitHub 方式安装时 pnpm 不自动运行 prepare / build 脚本(安全限制)。需要在 profile 目录的 pnpm-workspace.yaml 里加 allowBuilds: ["ds-whale-ui"],或直接把构建产物 (client/ 目录)提交到仓库。

方式三:本地路径(当前使用)

dsh plugin --profile web add /absolute/path/to/ds-whale-ui
# 或使用相对路径
dsh plugin --profile web add ./ds-whale-ui

卸载

dsh plugin --profile web remove ds-whale-ui
# 重启 dsh web

发布检查清单

  • package.jsonname 字段是你想要的包名
  • "dsh": { "bundle": { "patch": "./cordis.patch.yml" } } — 声明自己是 DSH bundle
  • "files" 字段包含 index.jsclient/cordis.patch.ymlREADME.md
  • "exports" 映射了 .(host)、./client(browser)、./cordis.patch.yml(patch layer)
  • npm run build 能成功生成 client/client.js
  • host 依赖(@deepseek-ai/dsh-settings@deepseek-ai/schemastery)声明在 dependencies

实现

  • Host 半(index.js):注册持久化设置命名空间 ds-whale-ui(Schemastery schema:enabled / intensity / showElapsed / color / customLogo
  • 浏览器半(client/client.js):注册进官方 conversation.input.docksettings.section 插槽;运行状态全部取自标准 useSession selector(running / partial / runningCalls / turnTimings / nodes)+ useProjection('todos')(进度联动),不直接绑定任何内部 store
  • 自定义形象:设置面板支持上传 PNG/JPEG/WebP/GIF/SVG(≤512KB),客户端缩放到 52px data URL 持久化到 settings.yaml,渲染时替换 SVG 品牌鲸鱼

License

MIT

Comments

Loading…

From the same category

DSH-better-sidebar

by omdsh-dev

开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,

Terminal & ClientsUI & ExperienceWorkflow & AutomationManifest valid

3.7k

49.5k/wk

MIT

TypeScript

Sep 21, 2026

dsh plugin --profile web add dsh-better-sidebar

by ccch1mneyyy

DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol

Terminal & ClientsUI & ExperienceManifest valid

3.1k

6.2k/wk

MIT

TypeScript

Sep 22, 2026

dsh plugin --profile web add @deepseek-harness-tui/dsh-tui

by MeteorNOX

DeepSeek Harness(DSH)一只住在 DSH 界面右下角的小鲸鱼娘,帮你盯着DeepSeek账户余额。QQ弹弹,支持拖拽吸附、左吸附翻转、数字滚动动画,随界面自动启用,建议直接喊来你的dsh安装

Tools & CapabilitiesUI & ExperienceModels & ProvidersDevelopment & InfrastructureManifest valid

2.9k

19.1k/wk

MIT

JavaScript

Sep 20, 2026

dsh plugin --profile web add dsh-whale-widget

by Devin-AXIS

DeepSeek Harness 可编辑设计系统:AI 生成、可视化编辑、模板市场与 PPT|Native Design & PPT Studio for DeepSeek Harness.

Tools & CapabilitiesUI & ExperienceManifest valid

1.4k

440/wk

NOASSERTION

JavaScript

Sep 4, 2026

dsh plugin --profile web add deepseek-idesign

by omdsh-dev

GenUI for DeepSeek Harness: interactive UI components rendered inline in assistant replies via the dsh-ui fence — layout, charts, plots, forms, quizzes, mermaid, 3D scenes, and an action event loop ba

Tools & CapabilitiesUI & ExperienceTerminal & ClientsManifest valid

471

5.1k/wk

MIT

TypeScript

Sep 22, 2026

dsh plugin --profile web add @changfenhuang/dsh-genui

by chenxiachan

Your thinking deserves a map: an infinite canvas where LLM conversations grow into an editable thought graph. Wires are the context.

UI & Experience

471

MIT

TypeScript

Sep 21, 2026

Index only — not installable