etony668/dsh-balance
侧边栏底部「设置」旁常驻显示 DeepSeek API 余额——读取 DSH 已保存的密钥,悬停查看赠送/充值明细,余额低于 ¥2 变红告警,每 60 秒自动刷新或点击刷新。
关于此插件
- 位置:注册官方 sidebar.footer.action 槽位(侧边栏底部、设置行旁), 自动适配 56px 折叠轨道(只显示圆点),始终保持在侧边栏内部。 - 实时余额:读取 DSH 已保存在 /.dsh/.credentials.yaml 的 DEEPSEEKAPIKEY,调用官方 api.deepseek.com/user/balance,结果缓存 60 秒。 - 低余额提醒:可用余额低于阈值(默认 ¥2,可在代码中调整)时变红并显示 ⚠。 - 悬停看明细:赠送 / 充值 / 币种 / 上次更新时间;点击即可刷新。 - 中英双语 + 深浅主题:跟随系统语言,配色走 DSH 主题 token,深色模式自动适配。 - 本地优先:密钥只在本机读取,余额仅在 DSH 后端与浏览器之间传递, 不写盘、不上报任何第三方。
$ dsh plugin --profile web add @etony668/dsh-balance$ dsh plugin --profile web add github:etony668/dsh-balance健康评分构成
55 / 100评分综合许可证、社区信号、文档与分发情况,并非代码审计。安装前请审阅源码与 manifest。
安全信息
关键指标
Related
相关插件
[!IMPORTANT] v0.19.0 起接入 DSH 原生侧边栏:右列就是 DSH 自己的右侧栏,插件把每个 tab 类型注册为原生 tab(不再自绘右侧面板),只保留自绘的底部工作台与开放给所有插件的 ctx.betterSidebar 服务。 v0.24.1 起要求 DSH 0.2.0-rc.1+(peer 下限 ^0.2.0-rc.1)。0.2.0 对本插件所用的全部宿主 API 是纯增量(零导出删除、会话格式仍 v4、CLI 与客户端运行时未变),所以这一版没有运行时兼容分支,只把支持线整体前移。DSH 0.1.7 线的用户请固定 dsh-better-sidebar@0.22.1——caret 范围跨 minor 不成立,^0.1.7-rc.1 在 0.2.0 宿主上会被启动预检静默禁用;按 DSH 版本选插件版本的对照表见安装。
纯前端 vanilla DOM 实现,零依赖,localStorage 持久化。 三张卡片均为毛玻璃质感(明暗主题自动跟随桌面壁纸),可拖动、任意缩放、自动记忆位置。
在 DSH Web 中同时处理多个项目和会话时,DSH Codex UI 帮你整理左侧导航、快速找到任务,并在长对话中跳回之前的提问。它提供 Codex 风格的界面,支持浅色和深色主题。
dsh-context provides full context lifecycle management features. - Context Dashboard — the cross-session overview above Settings on the sidebar foot: KPI band, activity heatmap, aggregate composition ring, and filterable session cards that jump straight into any session. - Context tab — an UI context dashboard for DeepSeek Harness's context stats, composition, trend, events, and messages. - Context panel — the same dashboard as a right-sidebar tab (dsh 0.1.5-rc.1+): pick Context on the sidebar's
DeepSeek Harness(DSH)Web 界面右下角的常驻挂件:小鲸鱼气泡图 + DeepSeek API 余额 + 今日已用 + 每轮对话消耗,并且泡泡内容可以完全自定义(点击序列、模块化排版、并列加权出泡、随机语句/随机图片)。标准 DSH bundle 插件,dsh plugin 一键安装,无需任何会话令牌。
一个面向 DeepSeek Harness 的交互式终端界面插件:提供像素鲸鱼顶栏、实时工作状态行、流式思考展示、双击 Esc 时间回溯、上下文进度条与 TPS 仪表。 零核心改动,纯插件挂载。安装插件即可启用,卸载后不会留下核心补丁。 An interactive terminal UI plugin for DeepSeek Harness: pixel-whale header, live work status, streaming thinking display, double-Esc time rewind, a context progress bar, and a TPS gauge. Zero core changes, pure plugin mounting. Install to enable; uninstall leaves no core patches.