dshbase

插件目录 / Storage / dsh-bottom-info-bar

dsh-bottom-info-bar

已验证 · 实测可装 songoao25

✓ 持续维护 2 位贡献者

查看 GitHub ↗ ← 返回插件目录

39Stars
4Forks
0未关闭 issue
JavaScript语言
2026-09-26最近推送
跨平台平台

功能简介

底部信息栏:显示提供商/模型、余额、峰谷定价倒计时及会话花费

✅
我们的评价
可用 — 实测通过,社区增长中

底部信息栏:显示提供商/模型、余额、峰谷定价倒计时及会话花费 实测能干净安装、正常启动。社区在增长,是个稳妥选择。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

Bottom Info Bar

English | 中文

npm version
License: MIT

A DeepSeek Harness plugin that replaces the stats row under the composer with one line: provider and model, real balance or subscription quota, peak/off-peak pricing, and what this session has cost.

Bottom Info Bar in full mode

What it shows

The bar follows the active session and picks one of three readings per provider (mutually exclusive, nothing to switch by hand): balance shows the real balance from the provider's own API, subscription quota shows each quota window's remaining allowance with its reset countdown, and cloud billing shows this month's real spend from the official billing API. On top of that come four spend tallies — this session, today, last 30 days, all time — plus extras such as time and custom text.

Click the bar to switch between Full and Compact. They differ in exactly one way: Full keeps DSH's native stats row, Compact collapses it. Whether a field appears is decided by that field's own switch alone, so the main row reads identically in both.

Install

dsh plugin --profile web add dsh-bottom-info-bar

Then restart dsh web — plugins are composed when the host starts, so a page refresh is not enough. Other install methods and troubleshooting: docs/INSTALL.md.

Settings

Everything lives on the plugin page (Plugins → bottom-info-bar) and saves as you change it, in three groups, all collapsed by default: native information (DSH's own stats row, Full mode only), plugin information (everything this bar adds, both modes), and notices (one-off update and failure reminders, shown only when there is really something to say).

Plugin information grouped by billing mode

Plugin information is further grouped by billing mode — read only the block that matches your provider; each block's heading says which items carry data for it. Time zones, custom text, quota percentage direction and billing data are separate sections:

Time and date: time zones only

API keys go in DSH under Settings → Models; subscriptions (Codex, OpenCode, Xiaomi Token Plan, Command Code, MiniMax) read the local sign-in, and MiniMax requires a Subscription Key. Anything off the list gets a not-supported hint instead of borrowed numbers.

Spend and updates

Every model response records one entry (usage × unit price, locked the moment the response completes) and survives restarts. The plugin checks npm once per DSH start: automatic updates (default) download in the background and take effect after you restart, manual updates only notify; a bad release can be rolled back from settings. The ledger stores tokens and amounts, never conversation content; data stays in ~/.dsh/dsh-bottom-info-bar/ and survives uninstall — export or clear it from Billing data if you want a clean slate.

Development

  • Build: npm run build
  • Test: node tests/run-all.mjs
  • Contributing: CONTRIBUTING.md

License

MIT © 2026 songoao25

💬 Questions or ideas? Join our WeChat group DeepThinking — QR code.

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-bottom-info-bar」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:songoao25/dsh-bottom-info-bar

Headless(CLI)profile:

dsh plugin --profile headless add github:songoao25/dsh-bottom-info-bar

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

使用场景

给 agent 持久存储——数据库、文件存储或持久层——让状态跨会话留存。

适合谁

任务需要读写结构化数据并跨运行保留的人。

二次开发建议

存储后端和数据模型是缝——插新数据库、加 schema 或暴露查询工具。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Storage 里更多

浏览全部 7797 个插件 →