Skip to content

Improve smart mode to be model-aware - #7

Merged
tylergraydev merged 3 commits into
mainfrom
feature/model-aware-smart-mode
Dec 17, 2025
Merged

Improve smart mode to be model-aware#7
tylergraydev merged 3 commits into
mainfrom
feature/model-aware-smart-mode

Conversation

@tylergraydev

Copy link
Copy Markdown
Owner

Summary

  • Smart mode now detects which model is being used (Opus, Sonnet, Haiku)
  • Opus/Haiku: Displays only overall weekly usage (○47% (wk 85%))
  • Sonnet: Displays Sonnet | Overall format (◇7% | ○47% (wk 85%))
  • Adds demo script (demo-modes.mjs) to showcase all three view modes

Rationale

The previous "bottleneck" approach didn't make intuitive sense when combined with week progress. This change shows usage data relevant to the currently selected model - when using Sonnet with a model-specific limit, you see both your Sonnet usage and overall usage. When using Opus (which doesn't have a separate limit), you just see overall.

Example Output

Smart mode with Opus:

 ○47% (wk 85%)

Smart mode with Sonnet:

 ◇7% | ○47% (wk 85%)

Test plan

  • Run npm test - all 166 tests pass
  • Run node demo-modes.mjs - shows correct output for all modes

🤖 Generated with Claude Code

Tyler Gray and others added 3 commits December 17, 2025 17:46
Smart mode now detects the currently selected model and adjusts the display:
- Opus/Haiku: Shows only overall weekly usage (○47% (wk 85%))
- Sonnet: Shows Sonnet | Overall format (◇7% | ○47% (wk 85%))

This provides more relevant information based on which model is being used.

Also updates the demo script to showcase the new behavior.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Simplify weekly view modes to just simple and smart:
- Simple: Shows overall usage (default)
- Smart: Model-aware - shows Sonnet | Overall when using Sonnet

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add mode preview image
- Remove detailed mode from documentation
- Update smart mode description to reflect model-aware behavior
- Update test counts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@tylergraydev
tylergraydev merged commit b8e9609 into main Dec 17, 2025
3 checks passed
@tylergraydev
tylergraydev deleted the feature/model-aware-smart-mode branch December 17, 2025 22:57
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