wangziyi863/tokbal-pkg-of-ds-harness
wangziyi863★ 0JavaScript最后同步: 2026-08-16
—
README 摘要
dsh-token-balance A tiny token-usage & account-balance monitor for DeepSeek Harness (DSH), rendered right inside the web UI. tokbal shows you live LLM token consumption and your DeepSeek account balance without leaving the conversation: - A sidebar badge — compact ⚡ 1.2k · ¥23.45 ; click it to force a balance refresh. - A stats row above the input box — per-session ↑input ↓output 💾cache 🧠reasoning tokens, cumulative totals, and the current balance, refreshed every 3 seconds. - Works across all sessions : counting is process-wide, with a per-session breakdown kept separately. How it works Two halves, both tiny: Half File What it does Host lib/index.js Subscribes to llm/stream events and accumulates usage chunks (input / output / cache-read / reasoning tokens) per session and globally; queries the official DeepSeek balance endpoint from the host process; exposes two same-origin JSON routes. Client lib/client.js A handwritten browser bundle served as-is by client-modules ; polls /tokbal/state and renders the badge + stats row into sidebar/composer slots. The API key never leaves the host process, and the only outbound call is to your configured DeepSeek API base URL. Requirements - …
在 GitHub 查看完整 README →分类
DeepSeek Harness: Everything is a Plugin.
★ 182,325
amruthpillai/reactive-resumeA one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
★ 41,477
anywhere-labs/deepseek-harness-desktop为 DeepSeek Harness (DSH) 插件生态打造的现代化桌面端解决方案。万物皆「插件」,桌面本身也是「插件」。
★ 17,784