Skip to content

feat(statusline): add 2x promo badge and Claude Code status indicator#32

Merged
muloka merged 1 commit intomainfrom
statusline-extras
Mar 17, 2026
Merged

feat(statusline): add 2x promo badge and Claude Code status indicator#32
muloka merged 1 commit intomainfrom
statusline-extras

Conversation

@muloka
Copy link
Copy Markdown
Owner

@muloka muloka commented Mar 17, 2026

Summary

  • Adds 2x badge to statusline during the March 2026 Claude usage promotion window
  • Adds live Claude Code component status from status.claude.com (//)
  • Status is cached for 5 minutes to avoid excessive API calls
  • Layout: [Model] jj-info | N% 2x ✓

Test plan

  • Smoke tested — output: [Claude Opus 4.6] zuzurmzu (no intent) +1 | 12% 2x ✓
  • Verified status fetches from /api/v2/components.json and matches "Claude Code" component
  • Cache invalidation works (cleared /tmp/statusline-claude-status and re-ran)

🤖 Generated with Claude Code

- 2x badge shows during March 2026 usage promotion window
- Claude Code component status from status.claude.com (cached 5 min)
- Status indicators: ✓ operational, ⚠ degraded/partial, ✗ major outage
@muloka muloka merged commit 2751894 into main Mar 17, 2026
1 check passed
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