Codex 0.142 stopped writing rate limits to disk — so codex-hud's 5h / Weekly bars vanished. This release reads them directly from codex app-server (JSON-RPC account/rateLimits/read), caches the result (5-min TTL), and refreshes in a detached background process so the statusline stays fast.
- Maps the new 0.142 camelCase fields; model + reasoning effort fall back to
~/.codex/config.toml. - Newest-wins across rollout logs /
logs_2.sqlite(0.140–0.141) / app-server RPC (0.142+) — works across Codex versions. - Needs the
codexCLI on PATH for the 0.142+ source.