Skip to content

fix: buffer initial MCP app tool events - #89

Open
CLAY-bug wants to merge 1 commit into
excalidraw:mainfrom
CLAY-bug:fix/codex-initial-tool-events
Open

CLAY-bug wants to merge 1 commit into
excalidraw:mainfrom
CLAY-bug:fix/codex-initial-tool-events

Conversation

@CLAY-bug

Copy link
Copy Markdown

Summary

Fix blank Excalidraw views in ChatGPT/Codex Desktop.

Problem

Initial MCP tool events may arrive before the React handlers are installed, causing create_view to render an empty canvas.

Fix

Buffer the initial tool input and result events, then replay them after ExcalidrawAppCore registers its handlers.

Screenshots

Before

before-empty-canvas

After

after-rendered-canvas
@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

@CLAY-bug is attempting to deploy a commit to the Excalidraw Team on Vercel.

A member of the Team first needs to authorize it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant