|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## v0.12.0 — 2026-07-02 — quota bump flash (+N when 5h/7d usage climbs) |
| 3 | +## v0.12.1 — 2026-07-02 — bump flash: reverse-video ▲N outside brackets |
| 4 | + |
| 5 | +### Changed |
| 6 | + |
| 7 | +- **Bump flash visual**: the quota-climb indicator moved from bold `+N` |
| 8 | + inside the badge to a **reverse-video `▲N`** outside the brackets: |
| 9 | + `5h[44%@1h18m] ▲2` / `7d[10%] ▲1`. Spatially distinct + reverse video |
| 10 | + (inverted bg/fg) makes it unmissable without adding a fourth color lane. |
| 11 | + Bold-only was too subtle in most terminals, and cramming `+N` between |
| 12 | + `%` and `@` inside the brackets made it read as noise. |
| 13 | +- `REVERSE`/`NO_REVERSE` (`ESC[7m`/`ESC[27m`) replaces `BOLD`/`NO_BOLD`. |
| 14 | + |
| 15 | +218 tests, shellcheck warning count unchanged. |
| 16 | + |
| 17 | +## v0.12.0 — 2026-07-02 — quota bump flash (▲N when 5h/7d usage climbs) |
4 | 18 |
|
5 | 19 | ### Added |
6 | 20 |
|
7 | | -- **Bump flash**: when the 5h or 7d utilization climbs between renders, the |
8 | | - badge shows the increment in bold at its current color for ~60s: |
9 | | - `5h[44%+2@1h18m]` / `7d[10%+1]` — "you just burned 2%". Vivid without a |
10 | | - new hue, so the three color lanes stay unambiguous (bold is emphasis, not |
11 | | - a fourth status color). |
| 21 | +- **Bump flash**: when the 5h or 7d utilization climbs between renders, a |
| 22 | + reverse-video `▲N` glyph appears outside the badge for ~60s: |
| 23 | + `5h[44%@1h18m] ▲2` / `7d[10%] ▲1` — "you just burned 2%". Vivid without |
| 24 | + a new hue, so the three color lanes stay unambiguous. |
12 | 25 | - `quota_bump_notice()` + per-session state file |
13 | 26 | (`sessions/<session_id>_quota_seen`, same lifecycle as `_cache_health`). |
14 | 27 | Per-session on purpose: the flash compares against what THIS statusline |
15 | 28 | last rendered, so concurrent sessions each get their own notice instead |
16 | 29 | of racing over shared account state. |
17 | 30 | - Semantics: first sighting is quiet; a climb records the increment; an |
18 | 31 | unchanged value keeps a still-fresh notice alive; a second climb |
19 | | - overwrites (latest increment, not a running sum — "+N" answers "what just |
| 32 | + overwrites (latest increment, not a running sum — "▲N" answers "what just |
20 | 33 | happened"); a drop (window reset) clears silently, the fresh low number |
21 | 34 | being its own signal. |
22 | | -- `QUOTA_BUMP_NOTICE_SECS` (60) constant; `BOLD`/`NO_BOLD` attribute |
23 | | - toggles (`ESC[22;1m` / `ESC[22m` — 22-first so bold applies cleanly even |
24 | | - inside recovery-dimmed text). |
| 35 | +- `QUOTA_BUMP_NOTICE_SECS` (60) constant. |
25 | 36 |
|
26 | 37 | ### Fixed |
27 | 38 |
|
|
0 commit comments