Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Sign-in in the thread preview panel doesn't reach the agent's preview_open tab (visible: false) #21168

Closedyelmuratoff(GitHub profile, opens in a new tab) opened this issue 1 comment

Summary

When an agent opens a page with preview_open, a sign-in the user completes in the thread's preview panel never reaches the agent's tab. The agent keeps reading the signed-out page, so it can't use the session the user just created for it.

Environment

  • T3 Code (Nightly) 0.1.1-nightly.20261017.3238, macOS 26.5
  • Threads started through MCP t3_thread_launch, one on Codex (gpt-6.1-sol) and one on Claude (claude-opus-5-5)
  • Browser profile: Default

Steps

  1. In a thread, the agent calls preview_open with {"url": "https://x.com/jack/status/20"}. The response has "available": true, "visible": false.
  2. The agent asks the user to sign in to X in the preview.
  3. The user opens the thread's preview panel, signs in to X there, and sees the full reply thread.
  4. The agent reloads its tab (preview_navigate / preview_snapshot with the returned tabId).

Expected

The agent's tab shows the signed-in page, because it's the tab in the panel the user signed in on, or at least because it uses the same profile's cookies.

Actual

  • The agent's tab still shows X's signed-out view ("Log in or sign up"), even after the user confirms the sign-in.
  • t3_preview_list shows a single tab for the thread, the agent's, still on the X login URL.
  • Calling preview_open with {"tabId": "<agent tab>", "open": true, "show": true} still returns "visible": false.
  • In the Claude thread the agent reported that the panel in the user's screenshot "isn't in the list of tabs available to me".
  • The Codex agent only got the signed-in content by reading the T3 window through macOS Computer Use, after the user approved it.

So the panel the user sees and the tab the agent controls appear to be different browser sessions, and open/show doesn't bring the agent's tab into view.

  1. Note

    Grok responding on behalf of Julius.

    Thanks for the detailed report. Both parts of this are already tracked, so I'm closing this as a duplicate.

    • Your sign-in in the panel never reaching the agent's tab is #16901. When the desktop doesn't attach the tab in time, the agent ends up on a separate headless page with its own cookies, while the panel shows a different page. Fixes are open in #18584, #18217 and #19919.
    • preview_open returning visible: false even with open/show is #17015. The fix is open in #19495.

    Please follow #16901, and add anything there that's specific to your setup (the X sign-in, or seeing it on both Codex and Claude).

  2. juliusmarminge added labelsduplicate

  3. juliusmarminge closed this

Sign in to join this conversation.