Skip to content

fix(mcp): poll for late ChatGPT window.openai delivery (+ temp diagnostic) - #136

Merged
windoze95 merged 1 commit into
mainfrom
debug/mcp-widget-openai-probe
Jul 7, 2026
Merged

fix(mcp): poll for late ChatGPT window.openai delivery (+ temp diagnostic)#136
windoze95 merged 1 commit into
mainfrom
debug/mcp-widget-openai-probe

Conversation

@windoze95

Copy link
Copy Markdown
Owner

Follow-up to #135. The window.openai render path alone didn't clear the stuck-loading widget in ChatGPT. Adds a short poll for window.openai.toolOutput (handles a late delivery with no openai:set_globals event) and a temporary in-widget diagnostic that reports what the host exposes, to see inside the cross-origin sandbox. JS syntax-checked; go build + mcpserver tests pass.

🤖 Generated with Claude Code

…agnostic

The window.openai render path didn't resolve the ChatGPT stuck-loading widget. Add a short poll for window.openai.toolOutput (catches a delivery that lands after mount without an openai:set_globals event), and — if nothing renders after ~6s — replace the loading note with a diagnostic of what the host actually exposes (window.openai presence + keys), so we can see inside the cross-origin sandbox iframe. Diagnostic is temporary.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@windoze95
windoze95 merged commit fe966e6 into main Jul 7, 2026
1 check passed
@windoze95
windoze95 deleted the debug/mcp-widget-openai-probe branch July 7, 2026 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant