claude-code - 💡(How to fix) Fix [BUG] New claude code version breaks Warp plugin integration (and other plugins) by blocking plugin terminal access

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

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.

Error Message

Error Messages/Logs

Root Cause

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.

Fix Action

Fix / Workaround

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.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • 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

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING