Open ContextBar
ContextBar appears in the Mac menu bar and does not show a Dock icon. Look for a reading such as C3 · 80%.
Support
ContextBar is designed to be quiet once connected. This guide covers first-time folder access, common menu states, and the quickest way to recover.
使用支持
ContextBar 完成连接后会安静地留在菜单栏。本指南介绍首次目录授权、常见状态和最快的恢复方式。
ContextBar appears in the Mac menu bar and does not show a Dock icon. Look for a reading such as C3 · 80%.
On first launch, choose Connect Codex. ContextBar will open the two required folders one at a time.
Confirm the .codex folder, then the com.openai.codex logs folder. macOS stores read-only access for later launches.
Bring a Codex desktop task to the front. ContextBar automatically follows the most recently focused Codex main window.
Common questions
C3 means the active task has been compacted three times. 80% means the latest valid input context uses 80% of the model context window.
A new task may not have produced a valid context reading yet. ContextBar also clears the old percentage after a compaction and waits for the next valid reading, rather than showing stale data.
The Dock is the app launcher usually shown along an edge of the Mac screen. ContextBar lives in the menu bar by design, so it does not take up a Dock position.
Bring the intended Codex desktop task to the front, then choose Detect Now in ContextBar. Background task updates should not replace the task currently in view.
Open the ContextBar menu and choose Change Codex Data Access…. Complete both folder selections. If either selection is cancelled, ContextBar keeps the previous pair of permissions.
Version 1.0 supports the Codex desktop app on macOS. Pure Codex CLI sessions, Claude Code, and other terminal agents are not supported yet. Support for more agent data sources is planned for future updates—stay tuned.
ContextBar 只显示在 Mac 菜单栏,不会在程序坞(Dock,通常位于屏幕边缘的应用图标栏)中占用位置。请在菜单栏寻找类似 C3 · 80% 的读数。
首次启动时选择连接 Codex。ContextBar 会依次打开需要授权的两个文件夹。
先确认 .codex 文件夹,再确认 com.openai.codex 日志文件夹。macOS 会在本机保存只读访问权限。
把一个 Codex 桌面任务切到前台。ContextBar 会自动跟随最近获得焦点的 Codex 主窗口。
常见问题
C3 表示当前任务累计压缩了三次;80% 表示最近一次有效输入上下文占模型上下文窗口的 80%。
新任务可能还没有产生有效的上下文统计。发生压缩后,ContextBar 也会清除旧百分比,等待下一条有效统计,而不是继续展示过期数据。
程序坞(Dock)是 Mac 屏幕边缘常见的应用图标栏。ContextBar 按设计只驻留在菜单栏,因此不会占用程序坞位置。
先把目标 Codex 桌面任务切到前台,再在 ContextBar 菜单中选择重新检测。后台任务的数据更新不应抢占当前任务。
打开 ContextBar 菜单,选择重新授权 Codex 数据…,并完成两个文件夹的选择。如果中途取消任意一步,ContextBar 会继续使用原来的成组授权。
1.0 版本支持 macOS 上的 Codex 桌面 App,暂不支持纯 Codex CLI、Claude Code 和其他终端 Agent。后续将逐步增加对更多 Agent 数据源的支持,敬请期待。