Skip to content

Open the plugin connect sheet from every setup card and sign in on the chat's own machine (851-4462) - #1466

Merged
dylanplayer merged 3 commits into
mainfrom
codevisor/tamarillo
Nov 23, 2026
Merged

dylanplayer merged 3 commits into
mainfrom
codevisor/tamarillo

Conversation

@dylanplayer

Copy link
Copy Markdown
Member

Fixes 851-4462: a bot's plugin setup card for a chat on another machine now works like one on this Mac.

  • Every setup card opens the new connect sheet: one button installs (recording consent) and starts sign-in. The old Install sheet is gone.
  • Sign-in starts on the chat's own machine when it is this Mac or signed in to Codevisor Cloud, relying on the Cloud callback relay from Relay plugin OAuth callbacks through Codevisor Cloud to the machine that started sign-in (851-4452) #1462. Otherwise it falls back to this Mac's copy on macOS, or says to sign in from the Mac on iOS.
  • The card flips to Connected live after a reconnect. A reload no longer leaves a stale pending copy of the card in an older item. This bug is in the shared session model, so main has it too.
  • Starting sign-in retries when the relay connection drops, as it does right after a machine restarts, instead of showing "The Codevisor Relay connection was interrupted."
  • The macOS connect sheet has a small x close button at the top right instead of a Cancel link. Escape still closes it, and iOS is unchanged.

Tested on a macOS app showing a bot chat on Dev Cloud, a Linux machine signed in to the dev Cloud: Test Events (no sign-in), Linear, and fake OAuth MCP plugins (required and optional sign-in) through the Cloud-relayed callback.

🤖 Generated with Claude Code

dylanplayer and others added 3 commits November 23, 2026 14:52
…he chat's own machine (851-4462)

A bot's plugin setup card for a chat on another machine used the old flow:
the old Install sheet, which skipped the consent step and closed after
installing, so you had to press Connect again to start sign-in. That route
existed because sign-in callbacks only worked on the machine that started
them. Since #1462 relays every plugin sign-in callback through Codevisor
Cloud to that machine, the card now:

- Always opens the connect sheet. One button installs (recording consent)
  and starts sign-in. The old Install sheet is gone.
- Starts sign-in on the chat's own machine when it is this Mac or is
  signed in to Codevisor Cloud.
- Otherwise falls back: on macOS it signs in through this Mac's copy of
  the plugin, as before; on iOS it says to sign in from the Mac.
- Decides the route when you press the button, so a machine whose status
  loads late isn't stuck on the fallback.
- Opens the sign-in browser against the machine that starts the sign-in,
  so the fallback's handoff page no longer waits on the wrong machine.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…, and retry sign-in starts cut off by a dropped relay (851-4462)

A setup card shown outside a running turn lands in a new chat item on the
machine, while the app puts it in its own latest assistant item. When the
chat reloads after a reconnect (right after a machine restarts), the
reload brought the card in its server item and also carried the app's copy
back into the older item. The "connected" update then reached only the
newer copy, so the card on screen stayed on a disabled Connect until the
chat was reopened. A reload now leaves a live card where the server puts
it. This is in the shared session model, so main does the same.

Starting sign-in from the card now retries when the relay connection drops
(as it does right after a machine restarts), instead of showing "The
Codevisor Relay connection was interrupted."

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ad of a Cancel link (851-4462)

The connect sheet on macOS drops the Cancel text button under its actions
and gets a small round close button in its top-right corner. Escape still
closes it. iOS keeps its toolbar Cancel.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@dylanplayer
dylanplayer merged commit fb017e7 into main Nov 23, 2026
@dylanplayer
dylanplayer deleted the codevisor/tamarillo branch November 23, 2026 22:53
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