Skip to content

fix(usage): batch reliability and security fixes - #4

Merged
shidevil merged 1 commit into
mainfrom
feat/usage-command
May 3, 2026
Merged

fix(usage): batch reliability and security fixes#4
shidevil merged 1 commit into
mainfrom
feat/usage-command

Conversation

@shidevil

@shidevil shidevil commented May 3, 2026

Copy link
Copy Markdown
Owner
  • Persist OAuth refresh tokens to disk (Claude, Codex, Kimi)
  • Atomic credential writes with 0o600 permissions
  • Fix copilot has_credentials() to properly parse hosts.yml
  • Fix copilot percent_remaining to use f64 not i64
  • Fix minimax epoch_to_ms() heuristic for 2026 timestamps
  • Add is_finite() guards on f64 arithmetic (amp.rs)
  • Make helpers module public for TUI import
  • Remove duplicate helpers from tui/ui/usage.rs
  • Remove eprintln! error spam from worker threads
  • Add provider name header + truncation to light-mode cards
  • Fix README Usage tab shortcut instruction
  • Make TUI tests hermetic (skip real cache in test builds)
  • Remove auto-fetch on tab switch (cache + u key)
  • Clear cache when fetch returns empty results
  • Fix codex CredentialSource Copy derive (PathBuf not Copy)

- Persist OAuth refresh tokens to disk (Claude, Codex, Kimi)
- Atomic credential writes with 0o600 permissions
- Fix copilot has_credentials() to properly parse hosts.yml
- Fix copilot percent_remaining to use f64 not i64
- Fix minimax epoch_to_ms() heuristic for 2026 timestamps
- Add is_finite() guards on f64 arithmetic (amp.rs)
- Make helpers module public for TUI import
- Remove duplicate helpers from tui/ui/usage.rs
- Remove eprintln! error spam from worker threads
- Add provider name header + truncation to light-mode cards
- Fix README Usage tab shortcut instruction
- Make TUI tests hermetic (skip real cache in test builds)
- Remove auto-fetch on tab switch (cache + u key)
- Clear cache when fetch returns empty results
- Fix codex CredentialSource Copy derive (PathBuf not Copy)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@shidevil
shidevil merged commit f849ba3 into main May 3, 2026
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