Repository navigation
feat: session resume/copy/delete + quota display options & resilience - #43
Merged
Carl723000 merged 2 commits intoJun 30, 2026
Merged
Carl723000 merged 2 commits into
Carl723000 merged 2 commits into
Conversation
- **Sessions tab actions** — copy the session id / project path, resume (official Claude Code extension for a same-project session, terminal `claude --resume` otherwise), delete (to OS trash, with a modal confirm), and a Current project / All filter. - **Quota display** — `quotaFiveHourOnly` and `showResetInStatusBar` (e.g. `5h:50%:2.3h`) settings; hide cost via the existing `statusBarMetric: tokens`. - **Quota resilience** — last `/usage` cached to disk and shown on startup; 429 exponential back-off; a 30 s floor after a success. - **Dashboard** — 1600 px width, indented sub-projects, status-bar settings apply without a full reload, and the active tab is kept in localStorage across refreshes. Compile clean; 16/16 node:test green.
Contributor
Author
oxsean
force-pushed
the
feat/session-actions-and-quota-options
branch
from
June 29, 2026 03:17
649eb02 to
17076a7
Compare
… clean format Resolves the conflicts from ClaudeCodeUsage#41 (monthly-cost metric) and brings in ClaudeCodeUsage#46 (third-party pricing). Replaces this PR's dense quota text (`5h:50%:2.3h | wk:1%`) with the shared, unit-tested formatter in quotaFormat.ts so the status bar default stays the airy `5h 6% · wk 1%`; `quotaFiveHourOnly` / `showResetInStatusBar` still work, reset detail stays in the tooltip. Keeps oxsean's robust liveWindows()/roll() stale-window handling and the modal-confirm + move-to-trash session delete unchanged. Co-Authored-By: Claude <noreply@anthropic.com>
Collaborator
Carl723000
approved these changes
Jun 30, 2026
Carl723000
left a comment
Collaborator
There was a problem hiding this comment.
LGTM — reconciled the quota format and merged main; shipping in 2.1.1.
Carl723000
added a commit
to henrique-carvalho-dev/ClaudeCodeUsage
that referenced
this pull request
Jun 30, 2026
Brings in ClaudeCodeUsage#43 (session actions + clean quota), ClaudeCodeUsage#46 (pricing), ClaudeCodeUsage#47 (account-switch fix). Adds the pt-BR translations for the session-row action strings ClaudeCodeUsage#43 introduced (copy id / copy path / resume / delete + filters) so the pt-BR locale stays complete. Co-Authored-By: Claude <noreply@anthropic.com>
Carl723000
added a commit
that referenced
this pull request
Jun 30, 2026
- Bump version to 2.1.1. - CHANGELOG: date [2.1.0] as 2026-06-26 (released) and gather the post-2.1.0 work under a new [2.1.1] section — monthly cost (#41), session actions + clean quota + resilience + wider dashboard (#43), pt-BR (#48), account-switch fix (#45), third-party pricing accuracy (#46). - gitignore the whole docs/ tree (local-only planning context pack; synced to a personal repo, never shipped here).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Implements the requests in #40, plus some surrounding hardening.
resume (the official Claude Code extension for a same-project session, or a
terminal
claude --resume <id>for cross-project ones), and delete (movesthe session's
.jsonl+ sub-agent dir to the OS trash, behind a modal confirm).Plus a Current project / All filter (default Current).
quotaFiveHourOnly(5-hour window only)and
showResetInStatusBar(append the reset countdown, e.g.5h:50%:2.3h). Tohide cost, the existing
statusBarMetric: tokensalready covers it./usageresult is cached to disk and painted onstartup before any fetch; on a 429 the fetch backs off exponentially instead of
hammering the endpoint; a 30 s floor after a success avoids an immediate refetch
when a window has just rolled.
indented; status-bar-only setting changes apply without a full reload; the
active tab is remembered in
localStorageacross refreshes.New
sessionResume.tspure helpers (strict id validation, absolute-cwd /under-dir checks, resume-command builder) with node:test coverage.
Compile clean; 16/16 node:test green.
Addresses #40.