Skip to content

v0.5.0 — new identity, encrypted credentials, usage stats

Choose a tag to compare

@lin-414 lin-414 released this 30 Aug 11:41
· 16 commits to main since this release

Feature release: new app identity, encrypted credentials, usage stats — plus a hardening pass across the board.

What's new in v0.5.0

  • New name & unified icon — the app is now General-cmdgo-provider everywhere (window title, tray, web panel), with one icon design (green circle "G") shared by the tray, title bar, taskbar and the .exe itself. The icon previously kept getting swapped to the framework's default blue by CustomTkinter 200ms after startup; that override is now properly blocked.
  • Credentials encrypted at rest — token.json and accounts.json are encrypted with Windows DPAPI (per-user, zero dependencies). Old plaintext files keep working and are upgraded to encrypted on the next write. On non-Windows platforms files stay plaintext.
  • Per-account usage stats — the GUI account panel (and /account/list) now shows cumulative successful/failed requests and token usage per account, so multi-account users can see the quota actually spreading.
  • Single desktop app — the redundant pywebview GUI runtime was removed; cmdgo_gui.py (customtkinter) is the one desktop entry, cmdgo_provider.py runs console mode with the browser panel at http://127.0.0.1:8787/.
  • Model metadata — /v1/models now forwards the upstream context_length (e.g. MiniMax M2.5 = 200k), so clients like ZCode can configure context windows automatically.
  • Clearer gateway errors — when Command Code starts requiring a newer CLI version (upgrade_required), the adapter returns explicit instructions instead of a misleading auth failure; /healthz exposes the running ccVersion.
  • Quality/CI — test suite ported to pytest (30 tests), ruff lint job added, release exe built automatically by CI on tagged pushes.

Usage

Double-click cmdgo-gui.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
windows\build_gui.cmd

Token/accounts are stored per-user (DPAPI-encrypted on Windows) at %APPDATA%\cmdgo-provider\. The server binds to 127.0.0.1 only.