@dsh-external/ds-whale-send-button
Manifest validReplace the main send button icon in the conversation input bar with the official DeepSeek whale logo (CSS mask override, auto-adapts to light/dark themes, without altering the send behavior)
ds-whale-send-button 🐋
把 DeepSeek Harness Web 对话输入栏的主发送按钮图标替换为 DeepSeek 官方鲸鱼 logo。
- 不改发送行为,只换图标外观
- CSS
mask叠加官方鲸鱼图形,颜色跟随按钮文字色(currentColor),亮色/暗色主题自适应 - 不误伤停止按钮、队列按钮等其它图标
- 纯浏览器端样式覆盖,零依赖
效果
| 状态 | 图标 |
|---|---|
| 输入内容(激活态) | 🐋 白色/亮色鲸鱼 |
| 空输入(禁用态) | 灰色鲸鱼 |
| 运行中(停止按钮) | 保持原方块图标(不受影响) |
安装
方式一:本地包安装(当前环境已用)
# 在 web profile 下安装(本质 pnpm add,会写进 dsh.profile.bundles)
dsh plugin --profile web add <路径>/dsh-external-ds-whale-send-button-0.1.0.tgz
# 验证配置可组合
dsh --profile web --dump-config
# 重启服务生效
方式二:动态插件(临时,重启即丢)
在「创造模式」会话中用 cordis_define 定义 lib/client.js 的插件对象并 cordis_run。
卸载
dsh plugin --profile web remove @dsh-external/ds-whale-send-button
工作原理
插件注册为 browser roster 的 client 包(dsh.client 字段 + exports ./client),
apply(ctx) 时向 document.head 注入一段 <style>(带 data-plugin-css 标签,幂等):
- 用
[data-composer-card]+ 发送箭头 path 的唯一d前缀精确定位主发送按钮; - 隐藏原上传箭头 SVG;
- 用 CSS
mask叠加 DeepSeek 官方鲸鱼(取自 dsh 自带favicon.svg的官方路径),background-color: currentColor让鲸鱼颜色随按钮文字色变化。
文件结构
ds-whale-send-button/
├── package.json # dsh.client + dsh.bundle.patch 声明
├── cordis.patch.yml # roster 注册行(bundle patch 自动叠加)
├── lib/
│ ├── client.js # 浏览器端插件(样式注入)
│ └── index.js # host 半端占位
└── dsh-external-ds-whale-send-button-0.1.0.tgz # npm pack 产物
自定义
改 lib/client.js 里的:
width/height: 16px→ 图标大小background-color: currentColor→ 固定颜色(如 DeepSeek 蓝#4D6BFE)mask ... contain→ 图标缩放方式
改完重新 npm pack 并用 dsh plugin --profile web add 升级。
License
Comments
Loading…
From the same category
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
★ 4.3k
↓ 10.9k/wk
MIT
TypeScript
Oct 11, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tuiby strukto-ai
The World's First Virtual Terminal for AI Agents
★ 3.7k
↓ 355/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile agent add @struktoai/mirage-dshby bowenliang123
The best DeepSeek Harness plugin for context insight and management, with context dashboard / browser / sidebar and context command, for context statistics, composition, breakdown, evolution details,
★ 2k
↓ 34.4k/wk
Apache-2.0
TypeScript
Oct 11, 2026
dsh plugin --profile web add dsh-contextby huiliyi37
官方 DeepSeek Harness 的交互式终端 UI 插件:自研 ANSI 极简交互渲染、流式 Markdown/工具卡、16+ 主题、slash 命令与选择器、输入历史与本地偏好持久化、LSP 诊断、memory记忆,很丝滑的开发体验。
★ 287
↓ 462/wk
Apache-2.0
TypeScript
Sep 30, 2026
dsh plugin --profile terminal add @huiliyi37/dsh-tianshu-tuiby Hilbert-beinghappy
面向 DeepSeek Harness 的 Claude Code 风格终端界面,支持 Windows、macOS 与 Linux,兼容透明终端、VS Code 主题和自定义配色。
★ 197
↓ 108/wk
MIT
TypeScript
Oct 1, 2026
dsh plugin --profile web add seekttyby T-Auto
deepseek-harness Plugin Access and Implementation Standards / deepseek-harness交互生态插件规范与实施标准
★ 83
MIT
JavaScript
Oct 10, 2026