MorGogh/widget-dock
DSH 插件:可拖拽小组件面板(余额、代币、统计、命令、目标、成本),适用于 DeepSeek Harness
Project Overview项目介绍
This is a native plugin built exclusively for the DeepSeek Harness (DSH) web client. It adds a grid-aligned card-based workbench to the empty space on either side of the DSH conversation interface. It includes 27 different widgets that cover a wide range of utility functions, from API balance checking, token usage counting, conversation cost estimation, context status monitoring to task management and quick tool access. Widgets support spanning multiple columns based on their size and align strictly across rows, giving a clean and organized experience similar to iOS home screen widgets.
The plugin saves layouts independently for each conversation, so when you switch between conversations, your current card combination, size, and position are automatically retained, and all configurations remain intact even after restarting the DSH client. To add a new widget, click the "+ Add" button at the bottom of the workbench to open the sidebar, you can search or filter by category to find the widget you want, then click to add it quickly or drag it directly to any spot on the workbench. To reorder widgets, just hold the drag handle on the widget header and move it whenever you want, no need to enter a dedicated editing mode.
The plugin currently only supports the DSH web client and does not work with TUI or other DSH client variants at this time. You can install it directly via DSH's npm plugin command, or manually clone the repository and link it to your DSH profile. It is released under the open source MIT license, does not include a built-in API key, and all your configuration is stored only in your local browser's localStorage. For first-time use of the balance and cost estimation widgets, you will need to manually enter your DeepSeek API key.
这是一款专为 DeepSeek Harness (DSH) Web 客户端开发的原生插件,会在对话界面两侧空白区域添加一个网格对齐的卡片式工作台。目前内置了 27 款不同功能的小组件,覆盖 API 余额查询、Token 用量统计、对话成本估算、上下文状态监控、任务管理、工具快捷调用等多种实用功能。卡片支持按尺寸跨列排列,整体严格对齐,带来类似 iOS 系统桌面小组件的整洁使用体验。
插件支持每段对话独立保存布局,切换会话会自动保留当前的卡片组合、尺寸和位置,重启客户端后所有配置也不会丢失。用户可以点击工作台底部的「+ 添加」按钮打开侧栏,通过搜索或分类找到需要的卡片,点击快速添加,也可以直接拖动卡片放到工作台任意位置。日常使用时,按住卡片头部的拖动标识即可随时调整排序和位置,不需要进入专门的编辑排序模式。
插件目前仅支持 DSH Web 客户端,暂不支持 TUI 等其他客户端形态。安装可通过 DSH 的 npm 插件命令一键完成,也可手动克隆仓库链接配置。它采用 MIT 开源许可,不内置 API 密钥,首次使用余额卡和成本估算卡需要用户手动填入 DeepSeek API 密钥,所有配置仅保存在本地浏览器 localStorage 中。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:widget-dock(MorGogh/widget-dock)
仓库:https://github.com/MorGogh/widget-dock
本站详情页:https://www.yhbd.top/plugins/morgogh-widget-dock/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 4 · 最近提交 2026-08-15 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- Only 4 stars - very few users, little community feedback星标只有 4,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项
Compatibility兼容性
- DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
- External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
- Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册
Security安全性
- Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
- Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
- curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
- Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
- Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
- Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式
Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add widget-dock
把 MorGogh/widget-dock 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
🐋 widget-dock · DSH 小组件面板
DeepSeek Harness (dsh) 客户端插件:在对话两侧空白区提供网格对齐的卡片工作台——余额、Token、成本、上下文、热度图、GitHub、推理强度、图片转述等 27 张卡片一眼掌握。
Widget dock plugin for DeepSeek Harness — a grid-aligned workbench of 27 mini-cards beside the conversation.
✨ 功能 / Features
- 网格对齐工作台:卡片按尺寸档位跨列(S=1 / M·L=2 / XL=3 列),任何组合的行都严格列对齐(iOS 小组件式)
- 27 张卡片:余额、Token、成本、上下文压力/构成/水位/沙漏、会话统计、待办、目标、权限、计划、热度图、GitHub 仓库、推理强度、图片转述、便签、声音、彩蛋……(见下表)
- 每对话独立布局:切换会话各自记住卡片组合、尺寸、位置
- 添加面板重设计:搜索 + 分类标签 + 拖到任意位置添加(新卡霓虹高亮)+ 尺寸/换侧快捷操作
- 随时拖动:按住卡片头部(
⠿)拖动排序 / 跨侧换位,无需进入排序模式 - 推理强度卡:拖动滑轨切换 reasoningEffort(带拖尾粒子、拉到顶紫色粒子渐散),内置模型选择框
- 图片转述卡:贴图自动转视觉模型 → 文字描述注入输入框 → DeepSeek 纯文本理解(默认接本地 LM Studio)
- 用量热力图:GitHub 风格 13 周每日用量(每会话分基线自记账,跨会话不丢不重)
- 官方定价成本估算:DeepSeek 官方峰谷价,flash/pro 一键切换,单价可手动调整 / 一键恢复官方价
- 估算诚实标注:估算值带
≈,精确数据(余额/token/上下文)不混标 - 持久化:布局、配置存入 localStorage(每对话分区),重启保留
🧩 内置小组件 / Widgets(27)
| 分类 | 卡片 |
|---|---|
| 数据 | API 余额 · Token 用量 · 会话统计 · 成本估算 · 会话账单 · 双模对比 · 响应仪表 · 用量热力图 |
| 上下文 | 上下文压力 · 上下文构成 · 上下文水位 · 上下文沙漏 |
| 任务 | 目标进度 · 目标冲刺 · 计划模式 · 推理强度 |
| 图片 | 图片转述 · 图像限制 |
| 工具 | 工作区罗盘 · 会话时光机 · 权限模式 · GitHub 仓库 |
| 命令 | 快捷命令 · 自定义命令 |
| 趣味 | 声音提示 · 灵感速记 · 轮次彩蛋 |
🚀 快速开始 / Quick Start
推荐(npm 安装):
dsh plugin --profile web add widget-dock
或手动链接:
mkdir -p ~/.dsh/profiles/web/node_modules
ln -sfn "$(pwd)" ~/.dsh/profiles/web/node_modules/widget-dock
# 在 ~/.dsh/profiles/web/cordis.patch.yml 追加:
# - insert:
# - id: widget-dock
# name: 'widget-dock'
dsh web
重启后:对话两侧出现工作台。点击工作台底部「+ 添加」打开侧栏——搜索或按分类找卡片,点击快速添加,或拖到工作台任意位置(侧栏会变淡让位)。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
MeteorNOX/DeepSeek-Balance-Whale-Widget
Lxiayu/DshCockpit
feiyang-dev/dsh-usage-plugin
zhu168/dsh-save-money
Make0209/dsh-usage-stats
Witherwithwinter/DeepSeek-Balance-Whale-Widget-Bowl
133563825as-ai/dsh-api-dashboard
wenzetan/dsh-quota-panel