wangziyi863/tokbal-pkg-of-ds-harness ↗★ 0

@local/tokbal

Token & balance monitor for DeepSeek Harness: process-wide llm/stream usage counter plus DeepSeek account balance, rendered in the web UI over a same-origin JSON route. 适合需在 Web 界面监控用量与余额的用户,需配置账户凭据。

Package
@local/tokbal
Compatibility
Unverified
Version
1.0.0
License
MIT
Last updated
Aug 16, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

Usage

  • Badge — ⚡ 1.2k · ¥23.45. Hover for a full tooltip (this run's totals + balance + click hint); click to refresh the balance immediately.
  • Stats row (above the input box) — per-session ↑input ↓output 💾cache 🧠reasoning · cumulative total · balance, polling every 3 s.
  • Balance freshness — auto-refreshes when stale: ≥ 45 s when the UI is watching, plus a 60 s host-side fallback poll.