Skip to content

feat(statusline): model-aware incidents + maintenance countdown#33

Merged
muloka merged 1 commit intomainfrom
statusline-v2
Mar 18, 2026
Merged

feat(statusline): model-aware incidents + maintenance countdown#33
muloka merged 1 commit intomainfrom
statusline-v2

Conversation

@muloka
Copy link
Copy Markdown
Owner

@muloka muloka commented Mar 18, 2026

Summary

  • Switches to /v2/summary.json — single API fetch for components, incidents, and maintenance
  • Model-specific incidents: matches active model name (e.g. "Opus 4.6") against unresolved incident names
  • Maintenance countdown: ⚙ 3h, ⚙ 2d, ⚙ <1m, ⚙ now
  • Fixes UTC timezone handling for maintenance time parsing

Examples

Scenario Statusline
All clear 2x ✓
Opus incident (major) 2x ✗
Sonnet incident (same session on Opus) 2x ✓
Maintenance in 3h 2x ✓ ⚙ 3h
Opus incident + maintenance 2x ✗ ⚙ 3h

🤖 Generated with Claude Code

- Switch from /v2/components.json to /v2/summary.json (single fetch)
- Model-specific incident detection (matches active model against incident names)
- Maintenance countdown with ⚙ badge (⚙ 3h, ⚙ 2d, etc.)
- Fix UTC timezone handling for maintenance time parsing
@muloka muloka merged commit f7ef147 into main Mar 18, 2026
1 check passed
@muloka muloka deleted the statusline-v2 branch March 18, 2026 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant