Claude Code v2.1.295 Officially supports OSC 7501 terminal status protocol
BIBIBI
AT A GLANCE
The report states that Claude Code v2.1.295 supports OSC 7501, enabling it to directly report its operating status to compatible terminals.
Article
OSC7501 Less than 2 days,Claude Code officially integrated
Beating AI News Flash,Claude Code v2.1.295 officially supports OSC 7501. This terminal status protocol, just proposed by Ghostty author Mitchell Hashimoto, allows Claude Code to actively tell the terminal whether it is working, waiting for user input, or finished, without external tools having to guess from screen content. From the protocol's announcement to the release of Claude Code took approximately 48 hours in total.Claude Code was also precisely the example Mitchell originally used to illustrate the problem. Herdr maintained Claude Code recognition rules to determine the status of 16; over the past 3 months, approximately 10 changes were made. Even changing one character in the Claude Code loading animation could require re-adaptation.
The status is now reported by Claude Code itself. As long as the terminal supports OSC 7501, it can directly know whether Claude Code is working, waiting for user input, or finished. Mitchell said that the Anthropic team has already used Rex to validate the implementation; Rex currently has preliminary support.
Original link https://m.theblockbeats.info/flash/371012
Key points
01
Beating AI News Flash reported that Claude Code v2.1.295 officially supports OSC 7501。
02
The original article describes OSC 7501 as a terminal status protocol proposed by Ghostty author Mitchell Hashimoto.
03
According to the original article, the protocol allows Claude Code to actively tell the terminal that it is working, waiting for user input, or finished.
04
The original article states that from the protocol's announcement to Claude Code the release took approximately 48 hours.
05
The original article states that Herdr once maintained Claude Code recognition rules to determine the status of 16; over the past 3 months, approximately 10 changes were made.
06
Mitchell said that the Anthropic team has used Rex to validate the implementation, and that Rex currently has preliminary support.
AI-assisted interpretation
The following is analysis, separate from reported facts. Verify important claims independently.
In the past, external tools might have needed to observe Claude Code's screen content to guess what state it was in. According to the report, after integrating OSC 7501,Claude Code can independently tell terminals that support the protocol statuses such as “working,” “waiting for user input,” and “completed,” thereby reducing reliance on screen-recognition rules.
Why it matters to readers
If the implementation and compatibility described in the report are accurate, terminal tools can obtain the Claude Code status more directly, reducing the possibility that changes to loading animations or interface characters will require re-adaptation.
For beginners using terminals that support OSC 7501, it may be easier to understand whether Claude Code is running, waiting for input, or finished; however, the actual experience depends on whether the terminal being used supports the protocol.
Risks and unknowns
The provided material contains no original release statement from Anthropic or Claude Code; it is therefore impossible to independently confirm v2.1.295's scope of support.
It is not yet clear which terminals fully support OSC 7501。
Mitchell's statement that the Anthropic team used Rex to validate the implementation is only reported secondhand in the provided material; no original source is provided.
The specific features and limitations of Rex's “preliminary support” are not described.
Related Developments
Loading event timeline…
Related concepts
OSC 7501
This term is not in the glossary yet. Browse related concepts in the glossary.