[Bug] Computer-use MCP system warnings leak into TUI rendering on macOS

Resolved 💬 3 comments Opened Apr 7, 2026 by RobertJLora Closed Apr 10, 2026

Bug Description
Title: Computer-use MCP leaks internal system text into TUI rendering

Description:

When using the computer-use MCP tools (screenshot/display capture), internal system-level warning text renders as visible content in the Claude Code TUI instead of being suppressed or routed to stderr.

What appears on screen:

The following raw text leaks into the terminal output area, breaking the TUI layout:

displayId:width:height:allowedBundleIds:jpegQuality:) leaked its continuation without resuming it. This may cause tasks waiting on it to remain suspended

This appears to be a macOS continuation/coroutine warning from the display capture subsystem (likely CGDisplayStream or a ScreenCaptureKit API) that should be caught internally but is instead rendered as visible text in the conversation area. The text overwrites/overlaps the normal TUI elements (status bar, task labels).

Environment:

  • macOS (Darwin 25.3.0)
  • Claude Code CLI with CLAUDE_CODE_NO_FLICKER=1 enabled (fullscreen rendering mode)
  • Using mcp__computer-use__screenshot and related tools

Expected: System-level warnings from the screenshot capture pipeline should be suppressed or logged internally, not rendered in the TUI output.

Actual: The warning text renders inline, corrupting the TUI layout.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.92
  • Feedback ID: 804afb1b-2f9a-429d-b445-c1318c046a5d

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/RobertLora/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T08:25:52.126Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T08:28:49.542Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3447)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T12:57:50.995Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T16:47:29.764Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: ECONNREFUSED\n    at Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T16:47:29.765Z"},{"error":"Error: 1P event logging: 3 events failed to export (code=ECONNREFUSED, ECONNREFUSED)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T16:47:39.278Z"},{"error":"Error: {\"message\":\"Failed to export 3 events (code=ECONNREFUSED, ECONNREFUSED)\",\"originalLine\":\"422\",\"originalColumn\":\"1668\",\"line\":\"422\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 3 events (code=ECONNREFUSED, ECONNREFUSED)\\n    at doExport (/$bunfs/root/src/entrypoints/cli.js:422:1668)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n    at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:418:19103)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T16:47:39.279Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=FailedToOpenSocket, Was there a typo in the url or port?)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:422:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-06T17:01:53.450Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\",\"originalLine\":\"422\",\"originalColumn\":\"1668\",\"line\":\"422\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 1 events (code=FailedToOpenSocket, Was there a typo in the url or port?)\\n    at doExport (/$bunfs/root/src/entrypoints/cli.js:422:1668)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n    at…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗