Skip to content

claude: Claude Code CLI shows no Session for plans without a 5-hour limit (VibeTV-shop/vibetv#614) - #25

Merged
DreamyTalesPAN merged 2 commits into
vibetv-on-nesszer-main-0311from
claude/614-weekly-only-cli-session
Nov 12, 2026
Merged

DreamyTalesPAN merged 2 commits into
vibetv-on-nesszer-main-0311from
claude/614-weekly-only-cli-session

Conversation

@DreamyTalesPAN

Copy link
Copy Markdown
Collaborator

Port of steipete#4914 (merged 2026-11-05) to the Claude Code CLI path. Not in nesszer/Win-CodexBar main yet (fd06294, 2026-11-02).

Without a "Current session" row on the /usage panel the first percentage is the weekly one. parse_cli_output no longer reads it as session; Session becomes RateWindow::no_active_session() (same as OAuth and Web). With the row, behaviour is unchanged.

Test: weekly_only_cli_screen_keeps_session_empty is red on the test commit alone, green with the fix. cargo test --lib providers::claude (macOS): 382 passed, 1 failed (cost_account::tests::chosen_directories_must_be_absolute_single_line_paths, a Windows-path test that fails the same way on the base b2d0218).

Draft: no tag, no release, no pin change in VibeTV. Drop this patch as soon as nesszer has the equivalent.

🤖 Generated with Claude Code

DreamyTalesPAN and others added 2 commits November 10, 2026 18:43
… Weekly

Port of steipete#4914 to the Claude Code CLI path: without a
Current session row the first percentage is no longer read as session.
Session becomes the informational no-active-session window, like the OAuth
and Web paths. Refs VibeTV-shop/vibetv#614.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@DreamyTalesPAN
DreamyTalesPAN marked this pull request as ready for review November 10, 2026 17:58
@DreamyTalesPAN

Copy link
Copy Markdown
Collaborator Author

Windows bench check (real laptop, usage --json --provider claude --source cli, Claude Code 2.1.301, plan without 5h window): pinned v0.70.0-vibetv.3 Session used_percent 0, not informational; this branch (CI artifact of 4624340, run 42868576179) Session is_informational: true "No active 5h session`; Weekly 8 % with the same reset in both.

@DreamyTalesPAN
DreamyTalesPAN merged commit 4624340 into vibetv-on-nesszer-main-0311 Nov 12, 2026
2 checks 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