Repository navigation
Open the plugin connect sheet from every setup card and sign in on the chat's own machine (851-4462) - #1466
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes 851-4462: a bot's plugin setup card for a chat on another machine now works like one on this Mac.
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