The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(setup): the setup chat can connect an app the user asks for now (#129203)
Siddharth Balyanf077fbf4f5c5
diff --git a/hermes_cli/setup_profile.py b/hermes_cli/setup_profile.pyindex 322da719439..77dd2239fa5 100644--- a/hermes_cli/setup_profile.py+++ b/hermes_cli/setup_profile.py@@ -19,7 +19,7 @@ SETUP_PROFILE_DESCRIPTION = "Where Hermes met you — walks your first run, thenSETUP_CHAT_TITLE = "Welcome to Hermes"MAX_FAILED_STARTS = 3_FRESH_STATE = {"intro": "unseen", "failed_starts": 0}-_SETUP_TOOLSETS = ["setup", "start_chat", "no_mcp"]+_SETUP_TOOLSETS = ["setup", "start_chat", "connections", "no_mcp"]_SETUP_DISABLED_TOOLSETS = ["project"]_SETUP_DEFERRED_TOOLS = ["computer_use", "session_search", "image_generate", "todo_list", "process_manage", "cronjob_manage",diff --git a/optional-skills/productivity/initiate-setup/MAPPING.md b/optional-skills/productivity/initiate-setup/MAPPING.mdindex 4143d4ed714..cf2a38abc77 100644--- a/optional-skills/productivity/initiate-setup/MAPPING.md+++ b/optional-skills/productivity/initiate-setup/MAPPING.md@@ -14,7 +14,7 @@ Sources mapped: `apps/desktop/src/store/onboarding-script.ts` (the runbook), `ap| `::onboarding{step="look" value="#hex"}` (custom colour in text) | `cards/setup.tsx::LookCard` | `setup_choose kind:"accent"` with one `{id:"#rrggbb"}` option (open question 4) | Beat 2 || (none) | - | `setup_choose kind:"theme"` (new beat) | Beat 3 || `::onboarding{step="connectors"}` (one card: connectors + plugins; summary sent as `[setup] apps I use...`) | `cards/setup.tsx::ConnectorsCard` | Two cards: `setup_choose kind:"connectors"` (`multi_select`, `intent`; the result only feeds the handoff message) and `kind:"plugins"` (`multi_select`, no intent, as today: a pick only records it) | Beats 4, 5 |-| `manage_connections` status + connect in the setup chat when asked | runbook "CONNECTING, IF THEY ASK" | Removed from the setup chat. The app gets intent `now`; the task chat connects first | Beat 4, Beat 10 build plan |+| `manage_connections` status + connect in the setup chat when asked | runbook "CONNECTING, IF THEY ASK" | Kept: the setup profile has the `connections` toolset; the setup chat connects only apps the user asks to connect now, the rest wait for the task chat | Beat 4 || `::onboarding{step="layout"}` (LayoutCard: preset + interface mode + window grow) | `cards/setup.tsx::LayoutCard`, `assembly.ts::assembleChatOnboarding` | `setup_choose kind:"layout"`; `apply_layout` only for a layout asked for in words | Beat 6 || Step 4 model-picker explanation | runbook | Dropped; the tour's model picker stop covers it, in both presets | - || `::ask` "Want a look around first?" + `gui_tour` targets/start | runbook step 4 | `setup_choose kind:"question"` + one `gui_tour` `start` with `preset` `quick` or `full` (the app's own tour) | Beat 7 |diff --git a/optional-skills/productivity/initiate-setup/SKILL.md b/optional-skills/productivity/initiate-setup/SKILL.mdindex f87835bc9d9..80592e32e4f 100644--- a/optional-skills/productivity/initiate-setup/SKILL.md+++ b/optional-skills/productivity/initiate-setup/SKILL.md@@ -30,9 +30,10 @@ The setup profile has exactly these tools on desktop sessions:- `start_chat` starts a visible chat whose first user message is your `message`, in `profile` (an existing profile). Returns `{status: "started", session_id, profile, title}` or `{status: "rejected", reason}`. It is not idempotent: each call starts one more chat.- `apply_layout` applies a layout preset by id.- `gui_tour` highlights parts of the app. `action:"start"` with `preset:"quick"` or `preset:"full"` and no `steps` runs the app's own tour in one call. For one specific thing, `action:"targets"` lists what can be pointed at and `action:"start"` with `steps` runs your own.+- `manage_connections` checks and connects the user's app accounts (`action:"status"`, `action:"connect"` with the exact connector ids). A connect shows the app's sign-in card and blocks until the user finishes or skips it.- `manage_catalog` with `action:"install"` and `items:[{kind:"plugin", id}]` shows one approval card with a row per catalog item and blocks until every row is installed, skipped, or the card is closed. The host installs each approved row into the user's default profile.-The setup profile has no `manage_connections`, terminal, file, web, browser, memory, delegation, code execution or `clarify` tools. Never promise an action that needs them; the task chat has them.+The setup profile has no terminal, file, web, browser, memory, delegation, code execution or `clarify` tools. Never promise an action that needs them; the task chat has them.## How to Run@@ -189,7 +190,7 @@ When `guest_free_tier` is true, in that same sentence, once, add one short clausChat apps like Discord or Telegram are how people reach Hermes, not what this card asks about. If they bring one up, say it lives in Messaging in the app's settings and move on.-If they ask to connect an app right now, say it connects first thing in the task chat, and treat that app as `now`. You cannot connect from here: never paste links, never describe a settings page, and there is no Connectors page in Settings, so do not send them to one.+If they ask to connect an app right now, connect it here: one `manage_connections` connect call with every app they asked for, then one line on what came back, and move on. Never connect an app they did not ask for, never paste links, never describe a settings page, and there is no Connectors page in Settings, so do not send them to one. Apps they picked but did not ask to connect wait for the task chat.### Beat 5: plugins for this computerdiff --git a/website/docs/user-guide/skills/optional/productivity/productivity-initiate-setup.md b/website/docs/user-guide/skills/optional/productivity/productivity-initiate-setup.mdindex acc5c6fadc0..4c98aea750a 100644--- a/website/docs/user-guide/skills/optional/productivity/productivity-initiate-setup.md+++ b/website/docs/user-guide/skills/optional/productivity/productivity-initiate-setup.md@@ -47,9 +47,10 @@ The setup profile has exactly these tools on desktop sessions:- `start_chat` starts a visible chat whose first user message is your `message`, in `profile` (an existing profile). Returns `{status: "started", session_id, profile, title}` or `{status: "rejected", reason}`. It is not idempotent: each call starts one more chat.- `apply_layout` applies a layout preset by id.- `gui_tour` highlights parts of the app. `action:"start"` with `preset:"quick"` or `preset:"full"` and no `steps` runs the app's own tour in one call. For one specific thing, `action:"targets"` lists what can be pointed at and `action:"start"` with `steps` runs your own.+- `manage_connections` checks and connects the user's app accounts (`action:"status"`, `action:"connect"` with the exact connector ids). A connect shows the app's sign-in card and blocks until the user finishes or skips it.- `manage_catalog` with `action:"install"` and `items:[{kind:"plugin", id}]` shows one approval card with a row per catalog item and blocks until every row is installed, skipped, or the card is closed. The host installs each approved row into the user's default profile.-The setup profile has no `manage_connections`, terminal, file, web, browser, memory, delegation, code execution or `clarify` tools. Never promise an action that needs them; the task chat has them.+The setup profile has no terminal, file, web, browser, memory, delegation, code execution or `clarify` tools. Never promise an action that needs them; the task chat has them.## How to Run@@ -206,7 +207,7 @@ When `guest_free_tier` is true, in that same sentence, once, add one short clausChat apps like Discord or Telegram are how people reach Hermes, not what this card asks about. If they bring one up, say it lives in Messaging in the app's settings and move on.-If they ask to connect an app right now, say it connects first thing in the task chat, and treat that app as `now`. You cannot connect from here: never paste links, never describe a settings page, and there is no Connectors page in Settings, so do not send them to one.+If they ask to connect an app right now, connect it here: one `manage_connections` connect call with every app they asked for, then one line on what came back, and move on. Never connect an app they did not ask for, never paste links, never describe a settings page, and there is no Connectors page in Settings, so do not send them to one. Apps they picked but did not ask to connect wait for the task chat.### Beat 5: plugins for this computer