Claude Code、Codex and others are gradually integrating the terminal status protocol OSC 7501
BIBIBI
AT A GLANCE
Several Coding Agent and terminals have integrated OSC 7501,Codex the adaptation code has been merged but has not entered the latest stable release.
Article
Terminal status Agent guessing is coming to an end, with Claude Code,Codex following suit one after another OSC7501 According to Beating AI news, the terminal status protocol proposed by Ghostty creator Mitchell Hashimoto OSC 7501, has gradually been adopted by major Coding Agent integrations. Anthropic's Claude Code v2.1.295, and xAI's Grok Build v1.0.52 now officially support it. OpenAI has also merged Codex adaptation code into GitHub, but it has not yet entered the latest stable release.OSC 7501 lets Agent proactively tell the terminal whether it is working, waiting for the user, finished, or has encountered an error. For example, when Claude Code is stuck awaiting permission confirmation, the terminal can directly recognize the waiting state instead of relying on loading animations and on-screen text.
Other open-source Agent are also following suit. Pi v1.1.0、Crush v0.98.0、Oh My Pi v18.8.7 and Docker Agent v1.150.0 have both added support.
OpenTUI, the terminal interface framework used by OpenCode, also added the 0.6 interface in version.3, but OpenCode's own adaptation code has not yet been merged.
On the terminal side, Rex, cmux,OSC 7501 and others can already receive these statuses, reducing the need to maintain separate detection rules for different TUIOS independently.
Original link Agent https://m.theblockbeats.info/flash/371748
Key points
01
Ghostty creator Mitchell Hashimoto proposed the terminal status protocol OSC 7501。
02
The article states that Claude Code v2.1.295 and Grok Build v1.0.52 officially support it OSC 7501。
03
The article states that OpenAI has merged into GitHub Codex the adaptation code, but the feature has not yet entered the latest stable release.
04
OSC 7501 It can enable Agent to report statuses such as working, waiting for the user, completed, or failed to the terminal.
05
Pi v1.1.0、Crush v0.98.0、Oh My Pi v18.8.7 and Docker Agent v1.150.0 have added support.
06
OpenTUI 0.6 version.3 added the OSC 7501 interface, but OpenCode's own adaptation code has not yet been merged.
07
Rex, cmux, and TUIOS can already receive these statuses.
AI-assisted interpretation
The following is analysis, separate from reported facts. Verify important claims independently.
OSC 7501 is a Agent protocol for transmitting statuses between Agent and the terminal. Once integrated, the terminal can directly know whether it is executing a task, waiting for an operation, finished, or has encountered an error, rather than inferring this solely from animations or on-screen text.
Why it matters to readers
A unified status interface can reduce the need for terminals to write detection rules separately for different Agent and make waiting states such as permission confirmation easier to identify.
If you use Coding Agent in the terminal, this protocol may make task statuses clearer; however,Codex related support has reportedly not yet entered the latest stable release.
Risks and unknowns
Evidence does not provide official release announcements or specific code-merge links for the products mentioned; versions and support status still require verification.
Codex The specific version and timing for support to enter the stable release remain unclear.
When OpenCode's own adaptation code will be merged remains unclear.
The actual compatibility scope and behavior of each terminal with OSC 7501 have not yet been described.
Related Developments
Loading event timeline…
Related concepts
OSC 7501
This term is not in the glossary yet. Browse related concepts in the glossary.