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