[BUG] New claude code version breaks Warp plugin integration (and other plugins) by blocking plugin terminal access
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Summary
The recent change "Fixed a bug where a hook writing to the terminal could corrupt an on-screen interactive prompt; hooks now run without terminal access" breaks all plugins that communicate with their host terminal via OSC escape sequences written to /dev/tty. This is the only mechanism available today for plugins to send structured data back to their host terminal emulator.
For Warp specifically, this is how the Warp plugin communicated claude code's status back to Warp. Without this emission, the plugin effectively does nothing.
Affected plugin
warpdotdev/claude-code-warp — the official Warp terminal plugin for Claude Code, installed via claude plugins install warp@claude-code-warp.
This plugin uses OSC 777 escape sequences (\033]777;notify;<title>;<body>\007) written to /dev/tty from hook scripts to send structured JSON notifications to the Warp terminal. This powers real-time session status tracking (running/blocked/complete), permission request forwarding, and native desktop notifications for all 6 hook events: SessionStart, Stop, Notification, PermissionRequest, UserPromptSubmit, and PostToolUse.
What Should Happen?
In an ideal world, the change that caused this would be rolled back in favor of a tighter-scoped fix for the original issue. Pending that, some workaround to continue emitting OSC escape sequences would be greatly appreciated.
Error Messages/Logs
Steps to Reproduce
Open claude code in Warp, install the warp plugin (there should be a chip that prompts you to do this), and then run some commands. Rich status tracking, notifications, etc. worked on version 2.1.138 of claude code, but they do not work on version 2.1.139.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.138
Claude Code Version
2.1.139 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Warp
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗