跳转至

dsh-bottom-info-bar

⭐ 26 · ✅ 活跃 · 集成

类型 集成 分类 渠道
星数 ⭐ 26 状态 ✅ 活跃
作者 songoao25 更新时间 —

一句话介绍

Bottom Info Bar — an information bar plugin for DeepSeek Harness: provider/model, live balance, peak/off-peak pricing with countdown, and real persisted per-session spend in a single line.

详细介绍

English | 中文 The best-adapted bottom info bar for DeepSeek Harness, and a drop-in replacement for the native stats row under the composer. It shows live balance and subscription quota (ChatGPT & OpenCode Go) at a glance, alongside provider & model, peak/off-peak pricing, and real spend — smart and concise, conflict-free, and native in look and feel: it auto-detects the billing mode, replaces the native row instead of duplicating it, and matches the model switcher exactly. Install once; it activates automatically on every launch.

✨ 核心特性

  • Dual-mode billing bar — Auto-detects whether the active provider is subscription-based (Codex / OpenCode Go) or balance-based. The two modes replace each ot
  • Three-state billing bar — Auto-detects whether the active provider is subscription-based (quota windows: Codex / OpenCode Go / Zhipu / Xiaomi MiMo Token
  • ChatGPT subscription card (pure local) — When the active provider is ChatGPT / Codex, the bar decodes ~/.codex/auth.json locally and shows the **real
  • Subscription quota display (OpenCode Go / Zhipu / Xiaomi MiMo Token Plan) — When the active provider is a subscription service, the bar shows the **subscrip
  • Cloud-billing display (real monthly bill) — When the active provider is Together / Fireworks / AWS Bedrock / Cloudflare, the bar reads the official bill
  • Drop-in replacement — Replaces the native stats row while keeping its core original information (turns/steps, LLM latency, tool calls, cache hit rate, in/ou
  • Provider & model detection — Always shows provider and model separately, exactly as in the DSH LLM catalog (for example, DeepSeek · V4-Flash). The provide
  • Live balance — Fetches real balance from DeepSeek's /user/balance API, auto-refreshes every 60 s, and keeps the last known snapshot on failure so usage is

📦 安装

git clone https://github.com/songoao25/dsh-bottom-info-bar.git
cd dsh-bottom-info-bar
./install.sh                # installs to the "web" profile; use --profile <name> to override

🚀 快速开始

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

📚 更多信息

Configuration

  • ChatGPT (Codex): install the companion plugin dsh-chatgpt-subscription (separate repo) and bind your ChatGPT account once — it maintains the token in ~/.codex/auth.json (mode 0600) and registers the ChatGPT models. This bar only reads that token to fetch quota (chatgpt.com/backend-api/wham/usage); it never refreshes, writes back, or injects crede

🔗 链接