The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): onboarding connector picks are real catalog slugs
brooklyn!8ee245cd721c
diff --git a/apps/desktop/src/components/onboarding-chat/options.tsx b/apps/desktop/src/components/onboarding-chat/options.tsxindex 04967388362..12bda65bcb9 100644--- a/apps/desktop/src/components/onboarding-chat/options.tsx+++ b/apps/desktop/src/components/onboarding-chat/options.tsx@@ -3,26 +3,33 @@ import { Tip } from '@/components/ui/tooltip'import { IS_MAC } from '@/lib/keybinds/combo'import { cn } from '@/lib/utils'-// Preferences for the first build’s optional connector offer. The live catalog,-// not this display list, decides which apps are available to connect. Marks-// resolve through the shared ConnectorLogo ladder: curated brand glyph first,-// the product's own favicon, monogram last.+// Preferences for the first build’s optional connector offer. Every id here is+// a real slug from the deployed connector catalog (manage_connections+// action="status"), spelled the way the gateway spells it — the picks are+// matched against that catalog and an app it does not carry cannot be+// offered, so a pretty name with no slug behind it is a promise the build+// chat has to walk back ("Spotify isn't in the connector list"). Marks resolve+// through the shared ConnectorLogo ladder: curated brand glyph first, the+// product's own favicon, monogram last.//// Connectors are the apps Hermes reads and acts on FOR the user. Chat channels// (Discord, Telegram, WhatsApp) are how a user talks TO Hermes — those live on// the Messaging page, and offering them here as if they were data sources-// taught users the wrong thing about what "connect" does.+// taught users the wrong thing about what "connect" does. GitHub is not a+// connector either: the agent already has git and gh in the terminal.export const CONNECTORS: Array<{ homepage?: string; id: string; name: string }> = [{ id: 'gmail', name: 'Gmail' },- { id: 'google-calendar', name: 'Calendar' },- { id: 'google-drive', name: 'Drive' },+ { id: 'googlecalendar', name: 'Calendar' },+ { id: 'googledrive', name: 'Drive' },+ { id: 'googlesheets', name: 'Sheets' },{ id: 'slack', name: 'Slack' },- { id: 'github', name: 'GitHub' },{ id: 'notion', name: 'Notion' },{ id: 'linear', name: 'Linear' },+ { id: 'jira', name: 'Jira' },{ id: 'figma', name: 'Figma' },- { id: 'spotify', name: 'Spotify' },- { id: 'stripe', name: 'Stripe' }+ { homepage: 'https://outlook.live.com', id: 'outlook', name: 'Outlook' },+ { id: 'todoist', name: 'Todoist' },+ { id: 'youtube', name: 'YouTube' }]// Big accent swatches, Dia-style. Each seeds `retintTheme` through the accentdiff --git a/apps/desktop/src/components/onboarding-chat/setup-profile.ts b/apps/desktop/src/components/onboarding-chat/setup-profile.tsindex 1472da8368a..4a4c15d7e07 100644--- a/apps/desktop/src/components/onboarding-chat/setup-profile.ts+++ b/apps/desktop/src/components/onboarding-chat/setup-profile.ts@@ -211,7 +211,7 @@ function connectorRunbook(picks: string[]): string[] {}return [- `The user said they use these apps: ${picks.join(', ')}. Offer to connect the ones useful for this task, but keep the no-auth core moving and never require sign-in to finish it.`,+ `The user said they use these apps: ${picks.join(', ')}. These are real connector slugs. Offer to connect the ones useful for this task BEFORE the build starts, in your first turn, so the work can use them from the beginning — but keep the no-auth core moving and never require sign-in to finish it. If none of them help this task, say so in one line and move on; do not describe the catalog.`,'Before you mention connecting anything, use manage_connections action="status" once. Anything already connected is yours to use for the task, with consent before reading private data. Match the rest against the returned catalog; never invent a connector slug or claim an unavailable app is supported. For the apps they agree to connect, make ONE action="connect" call carrying every slug at once (connectors=["gmail","googlecalendar"]) — the app renders one Connect card per app, side by side, and the user works through them; one call per app strands them clicking through a queue. Do not paste the authorization links into prose. Never call connect a second time for an app that already has a card: a new link cancels the one they are signing in with.','THE CARD IS THE ASK. After a status that shows an app unconnected, or after a connect, write ONE short line and END YOUR TURN — the user answers with the card’s buttons, not with text. Do not start work, do not call other tools, do not decide for them. Their click arrives as a hidden [connectors] message telling you exactly which manage_connections call to make next; follow it. When it says to wait, call action="wait" for that slug and hold: wait blocks until the authorization lands, so you never guess whether they are done. A timeout, declined consent or gateway outage means not connected, never an empty inbox. Say which apps remain unavailable and offer to continue without them. Never describe a gateway error as proof they need another Nous login.','Discover the connected app’s relevant tools with tool_search and use real results for the requested task. Never fabricate sample account data as if it came from a connector. Reading is separate from sending, deleting or scheduling: ask before those actions. No automatic daily brief or recurring job unless that is what the user asked for.'diff --git a/apps/desktop/src/lib/mcp-brands.tsx b/apps/desktop/src/lib/mcp-brands.tsxindex 6e9d83aaf62..6faff57884f 100644--- a/apps/desktop/src/lib/mcp-brands.tsx+++ b/apps/desktop/src/lib/mcp-brands.tsx@@ -21,8 +21,10 @@ import {SiGmail,SiGooglecalendar,SiGoogledrive,+ SiGooglesheets,SiHuggingface,SiIntercom,+ SiJira,SiLinear,SiN8n,SiNetlify,@@ -35,9 +37,11 @@ import {SiStripe,SiSupabase,SiTelegram,+ SiTodoist,SiUnrealengine,SiVercel,SiWebflow,+ SiYoutube,SiZapier} from '@icons-pack/react-simple-icons'import { IconBrandSlack } from '@tabler/icons-react'@@ -62,11 +66,17 @@ export const MCP_BRAND_ICONS: Record<string, McpBrand> = {github: { Icon: SiGithub, color: '#181717', monochrome: true },gitlab: { Icon: SiGitlab, color: '#FC6D26' },gmail: { Icon: SiGmail, color: '#EA4335' },+ // Gateway spelling (connector slugs), plus the hyphenated form MCP server+ // names tend to use.+ googlecalendar: { Icon: SiGooglecalendar, color: '#4285F4' },'google-calendar': { Icon: SiGooglecalendar, color: '#4285F4' },+ googledrive: { Icon: SiGoogledrive, color: '#4285F4' },'google-drive': { Icon: SiGoogledrive, color: '#4285F4' },+ googlesheets: { Icon: SiGooglesheets, color: '#34A853' },hugging_face: { Icon: SiHuggingface, color: '#FFD21E' },huggingface: { Icon: SiHuggingface, color: '#FFD21E' },intercom: { Icon: SiIntercom, color: '#6AFDEF' },+ jira: { Icon: SiJira, color: '#0052CC' },linear: { Icon: SiLinear, color: '#5E6AD2' },n8n: { Icon: SiN8n, color: '#EA4B71' },netlify: { Icon: SiNetlify, color: '#00C7B7' },@@ -84,9 +94,11 @@ export const MCP_BRAND_ICONS: Record<string, McpBrand> = {stripe: { Icon: SiStripe, color: '#635BFF' },supabase: { Icon: SiSupabase, color: '#3FCF8E' },telegram: { Icon: SiTelegram, color: '#26A5E4' },+ todoist: { Icon: SiTodoist, color: '#E44332' },'unreal-engine': { Icon: SiUnrealengine, color: '#0E1128', monochrome: true },vercel: { Icon: SiVercel, color: '#000000', monochrome: true },webflow: { Icon: SiWebflow, color: '#146EF5' },+ youtube: { Icon: SiYoutube, color: '#FF0000' },zapier: { Icon: SiZapier, color: '#FF4A00' }}