jacujay/dsh-model-balance
自动识别当前模型厂商(内置 7 家),在输入框内显示余额或配额,未内置厂商可配置自定义接口。
关于此插件
- 自动识别厂商——从 DSH 配置读取当前默认模型的 provider,先按 provider id 匹配、再按 baseURL 域名兜底;自定义 id(如 minimax-cn)也能命中。 - 内置厂商——DeepSeek、Moonshot/Kimi、MiniMax、阶跃星辰、智谱(仅配额)、硅基流动、OpenRouter。 - 两类结果——金额余额(接口提供时含现金/赠金明细)与配额(MiniMax / 智谱只给用量计划,不给钱)。 - 输入框按钮——原生输入行里、模型名称左侧的小 ◈ 图标。悬停弹出浮层,点击刷新;错误 / 无接口 / 配额态各有颜色。 - 设置页——设置 → 余额查询:列出内置厂商,并可为任意 provider 添加自定义余额接口(URL + 响应字段路径 + Bearer/裸 Key 鉴权 + 显示名)。 - Key 安全——API Key 全程在 Host 侧通过 DSH 凭据库解析,绝不到达浏览器;自定义接口配置持久化到 /.dsh/dsh-model-balance.json,不含任何密钥。 - 秒级生效——Host 通过同源 HTTP 路由应答,刷新
$ dsh plugin --profile web add dsh-model-balance$ dsh plugin --profile web add github:jacujay/dsh-model-balance健康评分构成
57 / 100评分综合许可证、社区信号、文档与分发情况,并非代码审计。安装前请审阅源码与 manifest。
安全信息
关键指标
Related
相关插件
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
A dual workbench for DSH: native right sidebar + self-drawn bottom panel, with the ctx.betterSidebar service open to every plugin
纯前端 vanilla DOM 实现,零依赖,localStorage 持久化。 三张卡片均为毛玻璃质感(明暗主题自动跟随桌面壁纸),可拖动、任意缩放、自动记忆位置。
在 DSH Web 中同时处理多个项目和会话时,DSH Codex UI 帮你整理左侧导航、快速找到任务,并在长对话中跳回之前的提问。它提供 Codex 风格的界面,支持浅色和深色主题。
DSH Web 聊天背景壁纸。Windows:直接读取你的 Wallpaper Engine(Steam)库,把视频/网页壁纸渲染到聊天界面背后。macOS:自动扫描 WaifuX 下载目录和媒体文件夹——在 WaifuX 里保存的壁纸零配置即可成为 DSH 背景,支持视频与图片。带毛玻璃模糊、压暗、边框调节滑块。
前置要求:DeepSeek Harness 0.1.5-rc.1+(DSH Desktop ≥ 2.0.7)且 dsh-better-sidebar ≥ 0.19.0,安装或更新本插件前请先更新两者。把本机 Wallpaper Engine 的 Video/Web 壁纸实时播放到聊天界面后方,Scene 壁纸由内置渲染器输出完整场景帧,支持内容分级/类型过滤、自定义壁纸上传与 iOS 液态玻璃设置窗口。