Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

feat: treat unauthenticated OAuth connectors as awaiting sign-in

3 months ago

658f7ae
Authored
mweinbach7/5/2026, 9:54:20 PM
An OAuth connector that has not been signed in yet is a to-do, not a
failure. The collapsed row now shows a clickable amber Authenticate pill
that starts the OAuth flow instead of a red failed-validation icon, the
expanded panel promotes Sign in to the primary action with the
paste-a-code fallback tucked behind a more menu, and a failed
connection check reads "Waiting for sign-in" until authentication
completes. Genuine failures on authenticated servers still show as
failures. Dropdown menus portal to an explicit document.body container
so they mount under the Bun test harness, matching the dialog pattern.

Co-authored-by: Cursor <cursoragent@cursor.com>

Parent03265ae

3 files changed
  • apps/desktop/src/components/ui/dropdown-menu.tsx+8−1
  • apps/desktop/src/ui/settings/pages/McpServersPage.tsx+164−76
  • apps/desktop/test/mcp-servers-page.test.tsx+275−0