Repository navigation
Releases
Releases · konnga/codex-hud
Codex HUD v0.9.9
Fixed
- Discover app-server sessions through descendant processes and refuse ambiguous bindings, so the HUD cannot attach to the wrong Codex session.
修复
- 沿后代进程发现 app-server 会话,并拒绝有歧义的绑定,避免 HUD 错误连接到其他 Codex 会话。
Codex HUD v0.9.8
Fixed
- Keep discovering first-message rollouts beyond the startup window without borrowing later launches; bind explicit resume UUIDs directly.
- Disable plugin loading in the quota-only app-server reader and close it with bounded process-tree cleanup.
- Resolve Codex 0.159.3+ daemon-hosted sessions from the thread registry when TUI logs carry no thread id, and reopen WAL state databases writable when a read-only connection fails.
修复
- 启动窗口过后继续发现首条消息产生的记录,且不误借后续启动的会话;显式 UUID 恢复会话直接绑定。
- 额度查询专用 app-server 禁用插件加载,并按进程树有界关闭。
- 适配 Codex 0.159.3+ 共享守护进程托管的会话:TUI 日志无 thread id 时改由 Codex 状态库绑定;WAL 数据库只读打开失败时可写重开。
Codex HUD v0.9.7
Fixed
- Wait up to ten seconds for a new Codex session's rollout so delayed shared app-server startup does not leave the Warp/tmux HUD showing only the project and elapsed time.
修复
- 新 Codex 会话的记录发现等待时间恢复为十秒,避免共享 app-server 延迟启动时,Warp/tmux HUD 只显示项目和计时。
Codex HUD v0.9.6
Fixed
- Match paths on WSL Windows drive mounts case-insensitively while discovering and binding sessions, resolving process-owned rollouts, and deduplicating workspace roots. A casing difference between the launch directory and Codex state no longer leaves the HUD without session data.
修复
- 在 WSL Windows 盘挂载路径上以不区分大小写的方式发现并绑定会话、解析进程所属 rollout,以及去重工作区根目录。启动目录与 Codex 状态中的路径大小写不一致时,HUD 不再丢失会话数据。
Codex HUD v0.9.5
Fixed
- Keep an already identified API-key relay name visible when CC Switch rewrites
config.tomlduring a session. Retain only a session-scoped origin in HUD memory; newer official endpoint evidence supersedes it. Credential reads, relay-query authorization, and ChatGPT subscription quota trust remain unchanged.
修复
- 会话运行期间 CC Switch 改写
config.toml后,保留已识别的 API Key 中转站名称。仅在 HUD 内存中按会话保留 origin,新的官方 endpoint 证据会取代旧身份;凭据读取、中转查询授权与 ChatGPT 订阅额度信任规则保持不变。
Codex HUD v0.9.4
Fixed
- Recognize an API-key credential that Codex reads inline from
config.toml, either as anexperimental_bearer_tokenor through anenv_keynaming the variable. Sessions configured this way resolved to no authentication, so the first line omitted the provider name and the relay balance query never ran. - Reuse that credential for relay balance queries, so a provider that keeps its key inline is no longer treated as having nothing to query with.
- Keep the existing evidence guards unchanged: a
config.tomlrewritten after the session started is never attributed to it, a credential is never rendered, and a cache key stores only its hash.
修复
- 识别 Codex 从
config.toml内联读取的 API-key 凭据,包括experimental_bearer_token与指向环境变量的env_key两种写法。此前这类会话会被判为“无凭据”,导致首行缺少中转站名称,余额查询也不会发起。 - 让中转站余额查询复用同一凭据,使以内联方式保存密钥的中转站不再被当作无从查询。
- 原有证据守卫保持不变:会话开始后被重写过的
config.toml不归属该会话,凭据不参与渲染,缓存键仅保存其哈希。
Codex HUD v0.9.3
Fixed
- Restore conversation turn counts and history navigation for current Codex rollout logs by parsing
response_item.messageanditem_completeduser/assistant records without double-counting mirrored events. - Handle case-insensitive completed-message text blocks and multimodal user inputs such as image-only prompts, while continuing to exclude injected environment and developer context.
- Count current
ContextCompactioncompletion items as well as legacy compaction events, with duplicate item IDs ignored.
修复
- 解析当前 Codex rollout 日志中的
response_item.message和item_completed用户/助手记录,并去除镜像事件重复计数,恢复会话轮次和历史导航。 - 兼容大小写不同的完成消息文本块及仅包含图片的多模态用户输入,同时继续排除注入的环境上下文和 developer 指令。
- 同时统计新版
ContextCompaction完成项和旧版压缩事件,并忽略重复的完成项 ID。
Codex HUD v0.9.2
Fixed
- Refresh ChatGPT account quota every minute even when session logs stop updating. Concurrent HUD panes share an account-scoped read through Codex app-server, with bounded requests and no separate credential storage.
- Preserve the last successful quota and its observation time after a failed refresh, and label failed or stale values as cached. Older observations cannot overwrite newer values; quota resets and complete account snapshots can clear previous limits.
- Resolve the managed Codex executable and reuse the HUD's Node runtime when cmux launches a pane with a minimal PATH or a Codex forwarding wrapper.
修复
- 即使会话日志停止更新,也每分钟主动刷新 ChatGPT 账户额度。多个 HUD 面板按账户共用 Codex app-server 查询,限制请求时长,不另行保存凭据。
- 查询失败后保留最近成功额度及其观测时间,并为失败或陈旧的记录标注缓存状态。旧观测不再覆盖新值,额度重置和完整账户快照可清除原有限制。
- cmux 以精简 PATH 或 Codex 转发脚本启动面板时,使用受管理的 Codex 程序与 HUD 自身的 Node 运行时完成额度查询。
Codex HUD v0.9.1
Added
- Right-aligned the current HUD version on the last visible line when the terminal has spare width, while keeping narrow layouts focused on existing telemetry.
Fixed
- Kept every live HUD session on the newest account-wide quota observation, so an expired in-memory cache or an older tracing-log event can no longer freeze usage or move it backward after another session publishes an update.
新增
- 终端宽度充足时,在最后一条可见行的右侧显示当前 HUD 版本;窄布局仍优先保留既有遥测内容。
修复
- 所有存活 HUD 会话现在都会采用最新的账户级额度观测;其他会话发布更新后,过期的进程内缓存或更旧的 tracing 日志事件不再导致用量停滞或倒退。
Codex HUD v0.9.0
Added
- Expanded
doctor --jsonwith usage provenance, trust decisions, freshness, hidden reasons, parsed windows, context and prompt-cache provenance, live Codex log schema targets, plugin/runtime version matching, and managed-install checksum validation. Addedcodex-hud hud-versionfor a direct runtime version check. - Added a Presentation preset plus independent controls for tool-target and image details, with localized setup/configure prompts and render fallbacks in Simplified Chinese.
- Added all-source coverage gates and artifacts to CI, a macOS/cmux compatibility job, and a captured Codex 0.153 rollout fixture for schema regression coverage.
Changed
- Essential and Expanded layouts now keep trusted subscription usage visible, including low weekly usage that was previously omitted. ChatGPT authentication can recover official usage without relying on a stale endpoint only when verified ChatGPT credentials and provider settings agree.
- Reduced idle work by migrating the default refresh interval from 300 ms to 1 second and loading conversation bodies only when the navigator is opened.
- Hardened Codex log discovery to follow live rate-limit event shapes and bounded payloads instead of matching diagnostic command text or fixed source targets.
Fixed
- Kept account-wide ChatGPT quota windows separate from named model-specific limits, and shared fresh rollout observations across official-endpoint HUD sessions when Codex writes no account limit event to its tracing log.
- Persisted the last confirmed origin for each active session, with bounded atomic state and schema-aware fallback, so log rotation or compaction no longer makes valid 5-hour and weekly usage disappear.
- Redacted sensitive command text from HUD output and restricted relay credentials to HTTPS endpoints, while retaining explicit localhost development support.
- Recorded managed runtime versions and checksums during setup so stale or partially replaced installations can be identified reliably.
新增
- 扩展
doctor --json:现在会报告用量来源、可信判定、新鲜度、隐藏原因、解析后的窗口、上下文与 prompt cache 来源、Codex 实时日志 schema/目标、插件与 runtime 版本匹配,以及托管安装 checksum 校验;新增codex-hud hud-version,可直接核对当前 runtime 版本。 - 新增演示预设,并可分别控制工具目标和图片详情;setup/configure 提示、渲染降级文案与图片回退均补齐简体中文。
- CI 新增全源码覆盖率门禁与产物、macOS/cmux 兼容性任务,并加入 Codex 0.153 rollout 夹具,持续覆盖日志 schema 兼容性。
调整
- Essential 与 Expanded 布局会持续显示可信的订阅用量,包括此前可能被省略的低占用周额度;只有 ChatGPT 凭据与 provider 配置均通过核验时,才允许在端点暂时缺失时恢复官方 ChatGPT 用量。
- 默认刷新间隔由 300 毫秒迁移为 1 秒,会话正文改为仅在打开导航器时加载,降低空闲开销。
- Codex 日志发现改为跟随真实 rate-limit 事件结构并限制负载大小,不再因诊断命令文本或固定 source target 产生误判。
修复
- 将 ChatGPT 账户级额度窗口与具名模型专属额度分开处理;当 Codex 未把账户额度事件写入 tracing 日志时,在同一官方端点的 HUD 会话之间共享 rollout 中的新鲜账户额度。
- 按活动会话持久化最近一次已确认的 origin,并使用有界、原子和 schema 感知的状态回退;日志轮换或压缩后,有效的 5 小时与周额度不再消失。
- HUD 输出会遮蔽敏感命令文本;中转凭据仅允许发送到 HTTPS 端点,同时保留显式的 localhost 本地开发支持。
- setup 会记录托管 runtime 版本与 checksum,能够可靠识别陈旧或替换不完整的安装。