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
feat(panel): show staleness hint on Codex card when local data is old
Codex has no live status-line hook (unlike Claude Code), so its rate-limit
numbers come from session logs it only writes intermittently and can lag the
live account. When the local snapshot is older than 15 minutes, the classic
panel's Codex card now shows an "about N minutes ago" tag plus an info tooltip
explaining why (and that staying offline avoids burning tokens). No network/API.
- menubar.py: compute codex staleness from rate_limits.updated_at into PopoverState
- panels/web_panel.py: pass codex.stale into the web payload
- assets/panels/classic.html: hidden tag + hover tooltip, dynamic text via textContent
- i18n.json: codex_stale_minutes/hours/tooltip across all 5 languages
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
"codex_stale_tooltip": "Claude is accurate because it reports in real time; Codex does not, so usage can only read the local records it leaves occasionally, which may be slightly older than reality. We intentionally do not go online to fill the gap (that would burn more of your tokens) — keep running Codex in the terminal and it will update automatically.",
"codex_stale_tooltip": "Claude는 실시간으로 보고하므로 정확합니다. Codex는 그렇지 않아 usage가 Codex가 로컬에 가끔 남기는 기록만 읽을 수 있고, 실제보다 조금 오래된 값일 수 있습니다. 우리는 이를 보완하려고 일부러 온라인 연결을 하지 않습니다(연결하면 당신의 token을 더 쓰게 됩니다)——터미널에서 Codex를 계속 실행하면 자동으로 업데이트됩니다.",
0 commit comments