wawo77/dsh-opencode-go-usage
dsh的桌宠插件,爱吃白饭的可爱大肥鱼
Project Overview项目介绍
This is a native plugin built exclusively for the DeepSeek Harness (DSH) web GUI. It adds a persistent desktop pet widget called "Blue Big Fat Fish" to the corner of your DSH interface that displays real-time API usage data. You can install it directly via the DSH CLI by running dsh plugin --profile web add "github:wawo77/dsh-opencode-go-usage", then restart your dsh web process to activate it. No local Git installation is required, as DSH’s package manager pulls the tarball directly from GitHub. The full package size is around 19MB, including all assets and development tooling.
After activation, the pet widget stays in the corner of your DSH interface and updates your API usage automatically. It detects what provider you have configured in DSH: for quota-based plans like OpenCode Go or Command Code, it displays the percentage of your quota used; for pay-as-you-go plans like DeepSeek official API, it shows your remaining account balance. You can drag the widget to reposition it, scroll your mouse wheel to resize it between 90 and 260 pixels, and click it to pull up a detailed usage card with more data. All user data stays local, and API keys never leave the host side.
The plugin is released under the open-source MIT license. If you see a placeholder instead of the pet after installation, you most likely just need to restart your dsh web process to fix the asset loading issue. If the widget shows "--" instead of a usage number, you should check that your provider API key is correctly configured in your DSH instance. Uninstalling the plugin only requires running the DSH CLI remove command, deleting the entry from your web profile bundles, and restarting DSH. You can also run the provided verification script to confirm your installation is working correctly.
这是一款专门为DSH网页界面开发的原生插件,会在界面角落常驻一只名为「蓝色大肥鱼」的桌宠小窗,实时显示用户当前的API套餐用量,不用打开任何面板就能一眼看到当日消耗。它会自动适配DSH中配置的套餐提供商,配额制显示使用百分比,按量计费显示剩余余额,支持拖动缩放,自带骨骼动画和音效,所有数据都在本地处理,不会流出用户设备。
用户安装后重启DSH网页服务即可使用,蓝色大肥鱼会默认显示在界面角落,悬停会抬起,点击弹出详情卡片,再次点击更换台词,滚轮可以缩放大小,拖动可以调整位置。用量超过阈值时,它会主动弹出提醒,台词语气会随剩余用量变化,用量充足时会夸赞,快超限的时候会发出警示,帮助用户及时把控API消耗成本。
安装可通过DSH插件命令直接拉取GitHub压缩包,不需要本地安装Git,若拉取失败可手动下载解压后用本地路径安装,卸载也只需通过DSH插件命令操作再重启服务。项目基于MIT许可证开源,整体包体积约19MB,若加载失败只显示占位符,重启DSH网页服务一般即可解决问题。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-opencode-go-usage(wawo77/dsh-opencode-go-usage)
仓库:https://github.com/wawo77/dsh-opencode-go-usage
本站详情页:https://www.yhbd.top/plugins/wawo77-dsh-opencode-go-usage/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 3 · 最近提交 2026-09-16 · 主语言 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 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
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 "github:wawo77/dsh-opencode-go-usage"
把 wawo77/dsh-opencode-go-usage 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-opencode-go-usage
DSH Web GUI 的桌宠用量小窗。角色叫 蓝色大肥鱼。

在 DSH 网页界面角落里常驻一只角色,头顶气泡实时显示你的套餐用量—— 不点开任何面板就能一眼看到今天烧了多少。
- 自动适配你用的套餐:OpenCode Go、Command Code、DeepSeek 官方, 按 DSH 里配置的 provider 自动匹配,不用手选
- 套餐制看百分比,按量计费看余额——不会给钱包硬算一个假的"本期用了百分之多少"
- 骨骼动画:呼吸起伏、每 6 秒蹦一下、耳朵抖、尾巴摆,循环首尾帧逐字节相同
- 音效是现场合成的(点击"吱"、缩放"啵"),零音频文件、零版权问题
- 会转头:贴屏幕左半边朝右看,贴右半边朝左看
- 可拖动、滚轮缩放(90–260px),偏好存在宿主侧
- 纯本地:账号数据不出本机,所有 HTTP 路由都有 loopback 围栏
安装
dsh plugin --profile web add "github:wawo77/dsh-opencode-go-usage"
装完确认 ~/.dsh/profiles/web/package.json 的 dsh.profile.bundles 里有
"dsh-opencode-go-usage",然后重启 dsh web。
取不到?不需要装 git,但有两个备用办法
不需要本机装 git。 pnpm 会直接取 GitHub 的 tarball——实测在没装 git 的 Windows 上,
github: 形式的依赖能正常装成。安装会把整个仓库拉下来(约 19 MB,含素材与开发工具链)。
万一 github: 取不到:点 Code → Download ZIP,解压到路径不含空格的目录,然后
dsh plugin --profile web add "link:C:/path/to/dsh-opencode-go-usage"
路径含空格会让 pnpm 把 link: 协议拆断(ERR_PNPM_PACKAGE_MANAGER_ADD_RESOLVE_LATEST)。
卸载:
dsh plugin --profile web remove dsh-opencode-go-usage
再从 dsh.profile.bundles 里删掉对应项,重启。
它显示什么
| 你用的套餐 | 气泡第一行 | 卡片里还有什么 |
|---|---|---|
| OpenCode Go | 5 小时配额百分比 | 1 周 / 1 个月进度条、重置倒计时、本地估算金额 |
| Command Code(GOAT / Go / Pro / Max…) | 本期用量百分比 | 剩余额度(月度 / 加购 / 赠送)、windowLimits 各窗口 |
| DeepSeek 官方 API | 账户余额 | 充值 / 赠送拆分、今日 token 与花费 |
| 其它 / 没配 | 今日 token | 今日 token 与花费明细 |
气泡第二行永远是今日 token。
按量计费的钱包没有"本期用了百分之多少"这回事,硬算一个只会误导,所以那一档直接显示余额: 余额为负或账户不可用时数字染红,余额偏低染琥珀,其余跟随正文色。
交互
| 操作 | 反应 |
|---|---|
| 什么都不做 | 缓慢呼吸起伏;气泡持续显示用量 |
| 鼠标悬停 | 角色轻轻抬起 |
| 点一下角色 | Q 弹压缩→回弹,响起小黄鸭的"吱"声,说一句话,展开详情卡片 |
| 卡片开着时再点 | 换一句吐槽(「别戳啦,痒!」) |
| 点卡片外空白 | 收起卡片,气泡说句告别语 |
| 按住拖动 | 角色跟随并转向,松手记住位置;拖动中不会误触发点击 |
| 在角色上滚轮 | 缩放(90–260px),每变一档响一声"啵";卡片底部也有 −/+ |
| 卡片上的 🔊 | 静音 / 开启音效(默认开,偏好存在宿主侧) |
| 跨过 50% / 80% 阈值 | 角色主动说一句提醒,不打断你刚触发的台词 |
| 键盘 | Tab 聚焦后 Enter / 空格 = 点一下,Esc = 收起卡片 |
台词的语气跟着用量走,不是纯随机:宽裕时夸自己省、过半时提醒你悠着点、快超限时喊救命。 每句都配一个颜文字。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
mengyun233/dsh-codex-pet
sky-unicorn/dsh-enhanced-plugins
MemTensor/memmy-agent
OpenPetsHQ/openpets
PC2005-cloud/dsh-pet
zenstory-ai/oh-story-dsh
QCYTSN/dsh-dafeiyu
vlln/whale-girl