Codex Quota Widget v0.2.2
v0.2.2
This release adds a learned dynamic pace reference for the 7-day and 5-hour quota windows.
What's new
- Added the cyan
近速需留reference line beside the existing ideal reference line. - Added a lightweight learned usage model using recent burn windows plus local 168-hour usage buckets.
- The 5-hour window stays sensitive to short bursts; the 7-day window is damped by confidence so short samples do not overreact.
- Cross-reset history feeds the learned profile, but reset-boundary percentages are not subtracted directly.
- Added tray settings for the
近期偏快breathing cycle,接近耗尽blinking cycle, and visible quota refresh interval. - Updated README with the algorithm, all advice states, and signal light behavior.
Advice states and lights
加速蹬!: white steady signal.余量充足: green steady signal.节奏正常: blue steady signal.近期偏快: yellow breathing signal, default 4 seconds.继续放缓: yellow steady signal.建议减速: red steady signal.接近耗尽: red blinking signal, default 3 seconds.无法判断: gray steady signal.
Validation
node --checkon changed JavaScript files.npm.cmd test.npm.cmd run build.- Local-history simulation showed the new 7-day dynamic line avoids the previous short-sample overreaction case.
SHA256 for CodexQuota.exe:
37B75323673E554E0A207C5EAC0C561ABD88E2FCC70C131061739D7B0F45E7FF