You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto-update
- electron-updater checks sooua/TokenWatch on GitHub Releases at startup
(15s delay) and every 4 hours; active only in packaged builds
- autoDownload=false: user confirms before the download begins
- autoInstallOnAppQuit=true: installs silently on next graceful exit
- UpdateBanner shows four states (available / downloading / downloaded /
error) above the main window header with Download / Install & restart
buttons and a dismiss X
- Settings: toggle for automatic checking + "Check for updates now" btn
- electron-builder.json gains a github publish provider (owner=sooua)
Codex CLI monitoring (opt-in, off by default)
- New CodexService tails ~/.codex/sessions/YYYY/MM/DD/rollout-*.jsonl,
extracts the latest event_msg.type=token_count event, and surfaces
the primary (5h) + secondary (7d) rate-limit windows that Codex itself
records — no estimation needed
- New CodexCard renders two progress bars (used_percent + reset-in),
last session tokens, context window %, total sessions, last event
timestamp; warm palette consistent with the Claude sections
- Auto-hides when ~/.codex/sessions is missing, so enabling without
Codex installed is a no-op instead of a broken card
- Settings: "Show Codex CLI card" switch — off by default so Claude
stays the hero of the dashboard
- Tail-read implementation (64 KB from file end) to avoid loading
multi-MB session transcripts just to see the latest token counts
UI polish
- Dashboard hero title renamed to "Claude Code — usage overview" /
"Claude Code — 用量概览" so the page's provider context is explicit
- i18n keys added under `codex.*` and `update.*`; both en and zh
0 commit comments