Repository navigation
Highlights
- Add an embedded English / Simplified Chinese WebUI with account status and management, remote OAuth callback login, settings, and a non-streaming Playground. No Node.js or npm is required.
- Add a multi-stage Docker image and hardened Compose configuration with non-root execution, health checks, and persistent storage.
- Persist per-account calls, successful/failed attempts, cumulative call duration, tokens, reported USD costs, and ACP credits. Credits are grouped by unit and assistant-message snapshots are deduplicated.
- Add manual and scheduled official monthly-minute quota synchronization, including remaining allowance, reset time, and retained snapshots on sync failure. Automatic sync defaults to five minutes.
- Improve bounded automatic retries with exponential backoff, account failover, one explicit authentication refresh per account, and reused-session recovery. Requests never retry after SSE output starts.
- Add account statistics to the CLI, retain legacy account-selection counts, and provide separate English and Chinese documentation.
Upgrade Notes
- Back up
config.jsonand the SQLite database before upgrading. New statistics tables are initialized automatically; historical statistics are not reconstructed. - WebUI administrator authentication is independent of inference API keys. Configure the administrator password in the server environment before signing in; use TLS and access controls for remote access.
- Saved settings require a service restart.
server -addroverrides the listener without modifying the configuration file. - Local cumulative duration measures upstream-attempt wall time, excluding token refresh and retry backoff. It is not official billed time and does not reset monthly; monthly usage and reset dates come from the official quota snapshot.
- Missing ACP credit or USD reports remain unknown or partial, not zero. Credits, USD, tokens, and monthly minutes are never converted into one another. Retries may incur additional upstream consumption.
- The official quota transport follows confirmed desktop-client source behavior, but availability across providers and subscription plans has not been validated with live accounts in this change.
- Tool-marker / frame-trimming issues #4 and #5, and the idle-frame issue #8, remain open and are not claimed as fixed by this release.
Downloads
Windows and Linux binaries are available for amd64 and arm64, together with SHA256SUMS. The WebUI is embedded in each binary. Docker and Compose files are included in the source repository; this release does not publish a registry image.
中文摘要
新增中英 WebUI、Docker/Compose、每账号真实调用与累计耗时统计、官方 ACP 积分和月度分钟额度同步,以及限次退避和换号重试。升级前请备份配置与数据库;管理密码与推理 API Key 独立,配置保存后需重启。本地调用耗时不等同官方计费时间,未上报的消耗不伪造为零,额度接口的各账号/方案可用性尚未实测。工具解析、裁剪与 95 秒空闲问题继续在 #4、#5、#8 跟进。
Full Changelog: v0.4.2...v0.4.3