Repository navigation
v1.0.0 — dashboard UI with live usage & quota
First stable release — the desktop app becomes a five-tab dashboard with live usage and quota.
What's new in v1.0.0
- Five-tab desktop UI — the single window is now organized as
概览 / 账号 / 用量与额度 / 模型型号 / 实时日志, so status, accounts, quota,
models and logs each get their own space. - 概览 — status cards (proxy state, listen address, accounts, models),
uptime, current account, app + CLI versions, and the start/stop, OAuth,
tray and web-panel controls. - 用量与额度 — live quota pulled from the official CLI-channel endpoints
(/alpha/usage/summary,/alpha/billing/credits, 30s cache):
5-hour and weekly windows as percentages with used/cap and reset countdowns;
the monthly allowance shown as 已用 / 上限 / 剩余 (the cap is derived from
used + remaining, matching the official usage page); totals for requests,
success rate, input/output tokens and cost; plus locally accumulated
per-account totals. Auto-refreshes every 60s, or click 刷新. - 模型型号 — searchable catalog with context-window badges (
200K,1M);
click a model id (or its row) to copy it. - 实时日志 — the log view now uses the system UI font so mixed
Chinese/ASCII lines render consistently; includes a clear button and the
rotated log file path (%APPDATA%\cmdgo-provider\logs\app.log). - 账号 — pool management with per-account usage, one-click health test
(diagnostic only, never touches cooldown or stats), click the name for full
details, plus passphrase-encrypted export/import. - Fixes — monthly quota had the wrong field semantics (remaining was shown
as the cap, overstating usage); the build script now fails loudly instead of
reporting success with a stale binary when the exe is in use.
Carried over from 0.5 / 0.6: autostart toggle, update banner, DPAPI-encrypted
credentials, upgrade_required surfacing, General-cmdgo-provider.exe naming,
and CI building the release binary on every tag.
Usage
Double-click General-cmdgo-provider.exe. Click OAuth 登录 once per account to add
accounts; requests spread across them automatically and fail over within
a single request when one account is rate-limited.
Point your OpenAI-compatible client at:
| Item | Value |
|---|---|
| Base URL | http://127.0.0.1:8787/v1 |
| API key | cmdgo |
| Protocol | OpenAI Chat Completions |
Build from source
python -m pip install pyinstaller customtkinter pystray pillow cryptography
windows\build_gui.cmdToken/accounts are stored per-user (DPAPI-encrypted on Windows) at
%APPDATA%\cmdgo-provider\. The server binds to 127.0.0.1 only.