More meters from statusLine: rate limits, prompt-cache warm timer, PR badge #25

Closed
opened 2026-10-07 20:04:32 -04:00 by jared · 1 comment
Owner

Source: comparable-tools research, 2026-10-07.

The statusLine JSON also carries:

  • rate_limits.five_hour / seven_day (used_percentage, resets_at)
  • prompt_cache.expires_at, shown as "cache warm 3m" to tell whether resuming an idle session is still cheap
  • pr.number and pr.review_state

Snapshot them in devdesk-statusline and show compact meters. Verify the field names against the current statusLine docs first.

_Source: comparable-tools research, 2026-10-07._ The statusLine JSON also carries: - `rate_limits.five_hour` / `seven_day` (`used_percentage`, `resets_at`) - `prompt_cache.expires_at`, shown as "cache warm 3m" to tell whether resuming an idle session is still cheap - `pr.number` and `pr.review_state` Snapshot them in `devdesk-statusline` and show compact meters. Verify the field names against the current statusLine docs first.
jared added this to the backlog milestone 2026-10-07 20:04:32 -04:00
jared added the featureidea labels 2026-10-07 20:04:32 -04:00
jared closed this issue 2026-10-10 21:45:28 -04:00
Author
Owner

Shipped in v0.9.0: plan-usage meters (5-hour and weekly, from the statusLine rate_limits) in the footer and ⋯ menu, with a warning at 90 % of the 5-hour window, and a PR chip on session rows (from pr, with the review state).

The prompt-cache countdown was dropped: the statusLine payload has no cache-expiry field, and guessing it from timestamps would show a number that may be wrong.

Shipped in v0.9.0: plan-usage meters (5-hour and weekly, from the statusLine `rate_limits`) in the footer and ⋯ menu, with a warning at 90 % of the 5-hour window, and a PR chip on session rows (from `pr`, with the review state). The prompt-cache countdown was dropped: the statusLine payload has no cache-expiry field, and guessing it from timestamps would show a number that may be wrong.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/devdesk#25