Skip to content

The agent that grows with you

Apps and plugins: drop setup_choose intent, manage_catalog out of setup, cards set up later (#129245)

Siddharth Balyan8feae75347bf
diff --git a/agent/inline_tool_executors.py b/agent/inline_tool_executors.py
index d5e75e761f0..8756ac87944 100644
--- a/agent/inline_tool_executors.py
+++ b/agent/inline_tool_executors.py
@@ -277,7 +277,7 @@ _RAW_INLINE_TOOL_EXECUTORS: Dict[str, InlineToolExecutor] = {
"setup_choose": _callback_tool(
"tools.setup_choose_tool", "setup_choose_tool", "setup_choose_callback",
("kind", "kind", ""), ("question", "question", ""), ("options", "options"),
- ("multi_select", "multi_select"), ("intent", "intent"),
+ ("multi_select", "multi_select"),
),
"manage_connections": _manage_connections,
"manage_catalog": _manage_catalog,
diff --git a/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-clarify.ts b/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-clarify.ts
index 21de1ffde7b..120d399b721 100644
--- a/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-clarify.ts
+++ b/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-clarify.ts
@@ -56,7 +56,6 @@ export function pendingClarifyToolPayload(request: ClarifyRequest): GatewayEvent
if (request.setup) {
return {
args: {
- intent: request.setup.intent,
kind: request.setup.kind,
multi_select: request.setup.multiSelect,
options: request.setup.options ?? undefined,
diff --git a/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-connection.ts b/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-connection.ts
index bd6459dfacf..c0bb443a6dc 100644
--- a/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-connection.ts
+++ b/apps/desktop/src/app/session/hooks/use-session-actions/restore-pending-connection.ts
@@ -3,7 +3,7 @@ import {
$connectionRequests,
clearConnectionRequest,
type ConnectionRequest,
- isCatalogKind,
+ isCatalogRequest,
normalizeConnectionRequest,
setConnectionRequest
} from '@/store/connection-request'
@@ -58,7 +58,7 @@ export function restorePendingConnectionFromSnapshot(
/** Tool row for a pending operation whose `tool.start` event was missed. */
export function connectionRequestToolPayload(request: ConnectionRequest): GatewayEventPayload & { name: string } {
- if (request.targets.some(target => isCatalogKind(target.kind))) {
+ if (isCatalogRequest(request)) {
return {
args: { action: 'install', items: request.targets.map(target => ({ id: target.name, kind: target.kind })) },
name: 'manage_catalog',
diff --git a/apps/desktop/src/components/assistant-ui/catalog-install-tool.tsx b/apps/desktop/src/components/assistant-ui/catalog-install-tool.tsx
index 053d0ae4159..4f8f34c378e 100644
--- a/apps/desktop/src/components/assistant-ui/catalog-install-tool.tsx
+++ b/apps/desktop/src/components/assistant-ui/catalog-install-tool.tsx
@@ -22,7 +22,7 @@ import {
type ConnectionTarget,
continueConnectionRequest,
respondToConnectionRequest,
- sessionConnectionRequest
+ toolConnectionRequest
} from '@/store/connection-request'
import { notifyError } from '@/store/notifications'
import { profileLabel } from '@/store/profile'
@@ -62,7 +62,7 @@ export function CatalogInstallTool(props: ToolCallMessagePartProps) {
const { t } = useI18n()
const view = useSessionView()
const runtimeId = useStore(view.$runtimeId)
- const $request = useMemo(() => sessionConnectionRequest(runtimeId), [runtimeId])
+ const $request = useMemo(() => toolConnectionRequest(runtimeId, props.toolCallId), [props.toolCallId, runtimeId])
const request = useStore($request)
if (request && connectionRequestOwnsPart(props, request)) {
diff --git a/apps/desktop/src/components/assistant-ui/clarify/setup-pending.tsx b/apps/desktop/src/components/assistant-ui/clarify/setup-pending.tsx
index a504a477859..ccce4f28163 100644
--- a/apps/desktop/src/components/assistant-ui/clarify/setup-pending.tsx
+++ b/apps/desktop/src/components/assistant-ui/clarify/setup-pending.tsx
@@ -28,14 +28,7 @@ import { ClarifyConfirmBar } from './core/confirm-bar'
import { QuestionBlock } from './core/question-block'
import { CLARIFY_ICON_CLASS, ClarifyShell } from './core/shell'
import { useClarifyKeys } from './core/use-clarify-keys'
-import {
- PICKER_COLUMNS,
- pickerShortcutCount,
- pillQuestion,
- QuestionPills,
- SETUP_PICKERS,
- SetupIntentRows
-} from './setup-pickers'
+import { PICKER_COLUMNS, pickerShortcutCount, pillQuestion, QuestionPills, SETUP_PICKERS } from './setup-pickers'
import { LIVE_LOOK, useSetupRows } from './setup-rows'
import { handleClarifySubmitShortcut } from './submit-shortcut'
import { UndeliveredNotice } from './undelivered-notice'
@@ -78,7 +71,7 @@ export function SetupChoosePending({
const requestId = ready ? (request?.requestId ?? null) : null
const stages = useStore($setupChooseStages)
- const { draft, intents, picked } = (requestId && stages[requestId]) || EMPTY_SETUP_STAGE
+ const { draft, picked } = (requestId && stages[requestId]) || EMPTY_SETUP_STAGE
const question: ClarifyQuestion = useMemo(
() => ({
@@ -151,10 +144,7 @@ export function SetupChoosePending({
return
}
- const ids = picked.filter(id => rows?.some(row => row.id === id))
- const intent = setup?.intent ? Object.fromEntries(ids.map(id => [id, intents[id] ?? 'later'])) : undefined
-
- if (!respondToServerRequest(request.requestId, { intent, picked: answer })) {
+ if (!respondToServerRequest(request.requestId, { picked: answer })) {
notifyError(new Error(copy.notReady), copy.sendFailed)
return
@@ -164,7 +154,7 @@ export function SetupChoosePending({
onAnswered()
commitSetupChoose(request.requestId)
clearClarifyRequest(request.requestId, request.sessionId)
- }, [answer, copy, intents, onAnswered, picked, request, rows, setup?.intent])
+ }, [answer, copy, onAnswered, request])
const skip = useCallback(() => {
if (!request) {
@@ -211,7 +201,6 @@ export function SetupChoosePending({
const cursor = ready ? keys.cursorRow : null
const Picker = pickerKind === null ? null : SETUP_PICKERS[pickerKind]
const Icon = KIND_ICONS[kind]
- const intentRows = setup?.intent && rows ? rows.filter(row => picked.includes(row.id)) : []
return (
<form
@@ -294,14 +283,6 @@ export function SetupChoosePending({
rows={rows}
/>
)}
- <SetupIntentRows
- intents={intents}
- onIntent={(id, intent) =>
- requestId &&
- stageSetupChoose(requestId, { intents: { ...setupChooseStage(requestId).intents, [id]: intent } })
- }
- rows={intentRows}
- />
</fieldset>
)}
</ClarifyShell>
diff --git a/apps/desktop/src/components/assistant-ui/clarify/setup-pickers.tsx b/apps/desktop/src/components/assistant-ui/clarify/setup-pickers.tsx
index 7dc4715b1c1..d15498ad6d6 100644
--- a/apps/desktop/src/components/assistant-ui/clarify/setup-pickers.tsx
+++ b/apps/desktop/src/components/assistant-ui/clarify/setup-pickers.tsx
@@ -1,6 +1,6 @@
'use client'
-import type { SetupChooseIntent, SetupChooseKind } from '@hermes/shared'
+import type { SetupChooseKind } from '@hermes/shared'
import { useStore } from '@nanostores/react'
import { Puzzle } from 'lucide-react'
import { type CSSProperties, type FC, type ReactNode, useState } from 'react'
@@ -11,7 +11,6 @@ import { AccentSwatch, LayoutPreviewCard, LAYOUTS, NOUS_ACCENT } from '@/compone
import { ConnectorLogo } from '@/components/ui/connector-logo'
import { Kbd } from '@/components/ui/kbd'
import { SearchField } from '@/components/ui/search-field'
-import { SegmentedControl } from '@/components/ui/segmented-control'
import { useI18n } from '@/i18n'
import { connectorIconUrl } from '@/lib/connector-tools'
import { cn } from '@/lib/utils'
@@ -50,8 +49,6 @@ export const pillQuestion = (rows: SetupRow[]): boolean =>
rows.length <= PILL_MAX_OPTIONS &&
rows.every(row => !row.detail && row.label.length <= PILL_MAX_LABEL)
-const INTENTS: readonly SetupChooseIntent[] = ['now', 'later', 'save']
-
export function pickerShortcutCount(rows: SetupRow[]): number {
return rows.length > SEARCH_THRESHOLD ? 0 : rows.length
}
@@ -167,7 +164,6 @@ function LayoutPicker({ cursor, onPick, picked, rows }: SetupPickerProps) {
function ChipPicker({
cursor,
dim,
- footnote,
icon,
onPick,
picked,
@@ -175,7 +171,6 @@ function ChipPicker({
sub
}: SetupPickerProps & {
dim?: (row: SetupRow) => boolean
- footnote?: ReactNode
icon: (row: SetupRow) => ReactNode
sub?: string
}) {
@@ -210,7 +205,7 @@ function ChipPicker({
)
)}
</div>
- {footnote}
+ <p className="text-xs text-muted-foreground">{t.assistant.setupChoose.startsLater}</p>
</div>
)
}
@@ -234,7 +229,6 @@ function ConnectorPicker(props: SetupPickerProps) {
function PluginPicker(props: SetupPickerProps) {
const { t } = useI18n()
- const copy = t.assistant.setupChoose
const plugins = useOnboardingPluginList(useStore(useSessionView().$storedId))
const needsApp = (row: SetupRow) => Boolean(plugins?.some(plugin => plugin.name === row.id && pluginNeedsApp(plugin)))
@@ -243,13 +237,8 @@ function PluginPicker(props: SetupPickerProps) {
<ChipPicker
{...props}
dim={needsApp}
- footnote={
- <p className="text-xs text-muted-foreground">
- <strong className="font-medium text-foreground">{copy.nothingYet.lead}</strong> {copy.nothingYet.rest}
- </p>
- }
icon={pluginIcon}
- sub={copy.plugin}
+ sub={t.assistant.setupChoose.plugin}
/>
)
}
@@ -262,38 +251,6 @@ export const SETUP_PICKERS: Record<Exclude<SetupChooseKind, 'question'>, FC<Setu
theme: ThemePicker
}
-export function SetupIntentRows({
- intents,
- onIntent,
- rows
-}: {
- intents: Record<string, SetupChooseIntent>
- onIntent: (id: string, intent: SetupChooseIntent) => void
- rows: SetupRow[]
-}) {
- const { t } = useI18n()
- const options = INTENTS.map(id => ({ id, label: t.assistant.setupChoose.intent[id] }))
-
- if (rows.length === 0) {
- return null
- }
-
- return (
- <div className="grid gap-1.5 border-t border-(--ui-stroke-tertiary) pt-2.5">
- {rows.map(row => (
- <div className="flex items-center justify-between gap-2" key={row.id}>
- <span className="min-w-0 truncate text-(--ui-text-secondary)">{row.label}</span>
- <SegmentedControl
- onChange={intent => onIntent(row.id, intent)}
- options={options}
- value={intents[row.id] ?? 'later'}
- />
- </div>
- ))}
- </div>
- )
-}
-
const PILL_CLASS =
'flex max-w-full shrink-0 items-center gap-1.5 rounded-full border py-1 pr-3 pl-1.5 text-left text-[12px] whitespace-normal wrap-anywhere transition-colors disabled:cursor-not-allowed disabled:opacity-50'
diff --git a/apps/desktop/src/components/assistant-ui/clarify/setup-settled.tsx b/apps/desktop/src/components/assistant-ui/clarify/setup-settled.tsx
index a1d601b96fb..58bf76988e6 100644
--- a/apps/desktop/src/components/assistant-ui/clarify/setup-settled.tsx
+++ b/apps/desktop/src/components/assistant-ui/clarify/setup-settled.tsx
@@ -1,7 +1,6 @@
'use client'
import type { ToolCallMessagePartProps } from '@assistant-ui/react'
-import type { SetupChooseIntent } from '@hermes/shared'
import { useStore } from '@nanostores/react'
import { useSessionView } from '@/app/chat/session-view'
@@ -17,7 +16,6 @@ import { ClarifyLine, ClarifyShell } from './core/shell'
import { useSetupLabel } from './setup-rows'
const OUTCOMES = new Set(['cancelled', 'no_answer', 'submitted'])
-const INTENTS = new Set<unknown>(['later', 'now', 'save'])
function readSetupChooseResult(result: unknown) {
const row = parseMaybeObject(result)
@@ -28,15 +26,7 @@ function readSetupChooseResult(result: unknown) {
const picked = Array.isArray(row.picked) ? row.picked.map(String) : typeof row.picked === 'string' ? [row.picked] : []
- const intent = parseMaybeObject(row.intent)
-
- return {
- intent: Object.fromEntries(
- Object.entries(intent).filter((entry): entry is [string, SetupChooseIntent] => INTENTS.has(entry[1]))
- ),
- outcome: row.outcome,
- picked
- }
+ return { outcome: row.outcome, picked }
}
export function SetupChooseSettled(props: ToolCallMessagePartProps) {
@@ -51,13 +41,7 @@ export function SetupChooseSettled(props: ToolCallMessagePartProps) {
return <ToolFallback {...props} />
}
- const answer = result.picked
- .map(id => {
- const intent = result.intent[id]
-
- return intent ? `${label(id)} · ${t.assistant.setupChoose.intent[intent]}` : label(id)
- })
- .join(', ')
+ const answer = result.picked.map(label).join(', ')
const question = source?.questions[0]?.question
diff --git a/apps/desktop/src/components/assistant-ui/connector-tool.tsx b/apps/desktop/src/components/assistant-ui/connector-tool.tsx
index 68b3dda179c..b347beb539d 100644
--- a/apps/desktop/src/components/assistant-ui/connector-tool.tsx
+++ b/apps/desktop/src/components/assistant-ui/connector-tool.tsx
@@ -26,7 +26,7 @@ import {
connectionRequestOpen,
type ConnectionTarget,
continueConnectionRequest,
- sessionConnectionRequest
+ toolConnectionRequest
} from '@/store/connection-request'
import { requestGatewayForAgent } from '@/store/gateway'
import { notifyError } from '@/store/notifications'
@@ -148,7 +148,7 @@ export function ConnectorTool(props: ToolCallMessagePartProps) {
const view = useSessionView()
const runtimeId = useStore(view.$runtimeId)
const storedId = useStore(view.$storedId)
- const $request = useMemo(() => sessionConnectionRequest(runtimeId), [runtimeId])
+ const $request = useMemo(() => toolConnectionRequest(runtimeId, props.toolCallId), [props.toolCallId, runtimeId])
const request = useStore($request)
const targetNames = requestedConnectorNames(props.args)
diff --git a/apps/desktop/src/components/assistant-ui/mcp-setup-tool.tsx b/apps/desktop/src/components/assistant-ui/mcp-setup-tool.tsx
index 3ef7b724dbd..e3d2875d852 100644
--- a/apps/desktop/src/components/assistant-ui/mcp-setup-tool.tsx
+++ b/apps/desktop/src/components/assistant-ui/mcp-setup-tool.tsx
@@ -30,7 +30,7 @@ import {
type ConnectionTargetState,
continueConnectionRequest,
respondToConnectionRequest,
- sessionConnectionRequest
+ toolConnectionRequest
} from '@/store/connection-request'
import { notifyError } from '@/store/notifications'
import { invalidateMcpSuggestionIndex } from '@/store/suggestion-providers/mcp'
@@ -189,7 +189,7 @@ export function McpSetupPending(props: ToolCallMessagePartProps) {
const sessionId = useStore(view.$runtimeId)
// Owner routes and hints are keyed by the stored id, not the runtime id the events carry.
const storedId = useStore(view.$storedId)
- const $request = useMemo(() => sessionConnectionRequest(sessionId), [sessionId])
+ const $request = useMemo(() => toolConnectionRequest(sessionId, props.toolCallId), [props.toolCallId, sessionId])
const request = useStore($request)
const action = useMemo(() => readSetupAction(props.args), [props.args])
// The session's operation belongs to one tool call; another call's request never paints here.
diff --git a/apps/desktop/src/i18n/ar.ts b/apps/desktop/src/i18n/ar.ts
index d5d8c82e5cf..bfb432f3979 100644
--- a/apps/desktop/src/i18n/ar.ts
+++ b/apps/desktop/src/i18n/ar.ts
@@ -3377,11 +3377,7 @@ export const ar = defineLocale({
findApp: 'ابحث عن تطبيق',
customColor: 'لون مخصص',
plugin: 'إضافة',
- nothingYet: {
- lead: 'لن يتم ربط أو تثبيت أي شيء بعد.',
- rest: 'سيعرض Hermes ربط هذه أو تثبيت إضافة عندما تحتاجها مهمة ما، ويسأل أولًا.'
- },
- intent: { now: 'الآن', later: 'عند الحاجة', save: 'دوّنها فقط' }
+ startsLater: 'سنُعِدّ هذه عندما تبدأ.'
},
startChat: {
starting: title => `جار بدء "${title}"...`,
diff --git a/apps/desktop/src/i18n/de.ts b/apps/desktop/src/i18n/de.ts
index 68d293e0fca..779eb1e68f0 100644
--- a/apps/desktop/src/i18n/de.ts
+++ b/apps/desktop/src/i18n/de.ts
@@ -5730,11 +5730,7 @@ export const deOverrides = {
findApp: 'App suchen',
customColor: 'Eigene Farbe',
plugin: 'Plugin',
- nothingYet: {
- lead: 'Noch wird nichts verbunden oder installiert.',
- rest: 'Hermes bietet an, diese zu verknüpfen oder ein Plugin zu installieren, wenn eine Aufgabe sie braucht, und fragt vorher.'
- },
- intent: { now: 'Jetzt', later: 'Bei Bedarf', save: 'Nur merken' }
+ startsLater: 'Wir richten sie ein, wenn Sie loslegen.'
},
startChat: {
starting: title => `„${title}“ wird gestartet…`,
diff --git a/apps/desktop/src/i18n/en.ts b/apps/desktop/src/i18n/en.ts
index 041c3372942..73b2edb5145 100644
--- a/apps/desktop/src/i18n/en.ts
+++ b/apps/desktop/src/i18n/en.ts
@@ -5343,11 +5343,7 @@ export const en: Translations = {
findApp: 'Find an app',
customColor: 'Custom color',
plugin: 'Plugin',
- nothingYet: {
- lead: 'Nothing connects or installs yet.',
- rest: 'Hermes will offer to link these, or install a plugin, when a task needs them, and asks first.'
- },
- intent: { now: 'Now', later: 'When needed', save: 'Just note it' }
+ startsLater: "We'll set these up when you start."
},
startChat: {
starting: title => `Starting “${title}”…`,
diff --git a/apps/desktop/src/i18n/es.ts b/apps/desktop/src/i18n/es.ts
index cc24d29af3b..a837695e59f 100644
--- a/apps/desktop/src/i18n/es.ts
+++ b/apps/desktop/src/i18n/es.ts
@@ -5723,11 +5723,7 @@ export const esOverrides = {
findApp: 'Buscar una app',
customColor: 'Color personalizado',
plugin: 'Plugin',
- nothingYet: {
- lead: 'Todavía no se conecta ni se instala nada.',
- rest: 'Hermes ofrecerá vincularlos o instalar un plugin cuando una tarea los necesite, y pregunta antes.'
- },
- intent: { now: 'Ahora', later: 'Cuando haga falta', save: 'Solo anotarlo' }
+ startsLater: 'Los configuraremos cuando empieces.'
},
startChat: {
starting: title => `Iniciando «${title}»…`,
diff --git a/apps/desktop/src/i18n/fr.ts b/apps/desktop/src/i18n/fr.ts
index e7171ef6ce9..b8e6ae7ba65 100644
--- a/apps/desktop/src/i18n/fr.ts
+++ b/apps/desktop/src/i18n/fr.ts
@@ -5744,11 +5744,7 @@ export const frOverrides = {
findApp: 'Trouver une app',
customColor: 'Couleur personnalisée',
plugin: 'Plugin',
- nothingYet: {
- lead: 'Rien n’est connecté ni installé pour l’instant.',
- rest: 'Hermes proposera de les relier, ou d’installer un plugin, quand une tâche en aura besoin, et demandera d’abord.'
- },
- intent: { now: 'Maintenant', later: 'Au besoin', save: 'Juste noter' }
+ startsLater: 'Nous les configurerons quand vous commencerez.'
},
startChat: {
starting: title => `Démarrage de « ${title} »…`,
diff --git a/apps/desktop/src/i18n/ja.ts b/apps/desktop/src/i18n/ja.ts
index a87c5cdc5c0..5c95884631c 100644
--- a/apps/desktop/src/i18n/ja.ts
+++ b/apps/desktop/src/i18n/ja.ts
@@ -3950,11 +3950,7 @@ export const ja = defineLocale({
findApp: 'アプリを検索',
customColor: 'カスタムカラー',
plugin: 'プラグイン',
- nothingYet: {
- lead: 'まだ何も接続・インストールされません。',
- rest: 'タスクで必要になったとき、Hermes がこれらの連携やプラグインのインストールを提案し、先に確認します。'
- },
- intent: { now: '今すぐ', later: '必要なときに', save: 'メモだけ' }
+ startsLater: '始めるときに設定します。'
},
startChat: {
starting: title => `「${title}」を開始中…`,
diff --git a/apps/desktop/src/i18n/ru.ts b/apps/desktop/src/i18n/ru.ts
index df082d27658..d06c860fe4e 100644
--- a/apps/desktop/src/i18n/ru.ts
+++ b/apps/desktop/src/i18n/ru.ts
@@ -4072,11 +4072,7 @@ export const ru = defineLocale({
findApp: 'Найти приложение',
customColor: 'Свой цвет',
plugin: 'Плагин',
- nothingYet: {
- lead: 'Пока ничего не подключается и не устанавливается.',
- rest: 'Hermes предложит подключить их или установить плагин, когда это понадобится для задачи, и сначала спросит.'
- },
- intent: { now: 'Сейчас', later: 'Когда понадобится', save: 'Просто запомнить' }
+ startsLater: 'Мы настроим это, когда вы начнёте.'
},
startChat: {
starting: title => `Запускаю «${title}»…`,
diff --git a/apps/desktop/src/i18n/types.ts b/apps/desktop/src/i18n/types.ts
index cde992965ef..658c041871b 100644
--- a/apps/desktop/src/i18n/types.ts
+++ b/apps/desktop/src/i18n/types.ts
@@ -4449,8 +4449,7 @@ export interface Translations {
findApp: string
customColor: string
plugin: string
- nothingYet: { lead: string; rest: string }
- intent: Record<'later' | 'now' | 'save', string>
+ startsLater: string
}
startChat: {
starting: (title: string) => string
diff --git a/apps/desktop/src/i18n/zh-hant.ts b/apps/desktop/src/i18n/zh-hant.ts
index 26b208533e1..c19bb957070 100644
--- a/apps/desktop/src/i18n/zh-hant.ts
+++ b/apps/desktop/src/i18n/zh-hant.ts
@@ -4113,11 +4113,7 @@ export const zhHant = defineLocale({
findApp: '尋找應用程式',
customColor: '自訂顏色',
plugin: '外掛',
- nothingYet: {
- lead: '目前不會連接或安裝任何東西。',
- rest: '當任務需要時,Hermes 會提議連結這些項目或安裝外掛,並先徵求你的同意。'
- },
- intent: { now: '現在', later: '需要時', save: '僅記下' }
+ startsLater: '開始時我們會幫你設定好這些。'
},
startChat: {
starting: title => `正在啟動「${title}」…`,
diff --git a/apps/desktop/src/i18n/zh.ts b/apps/desktop/src/i18n/zh.ts
index 4682ab458d6..59a78bed1e8 100644
--- a/apps/desktop/src/i18n/zh.ts
+++ b/apps/desktop/src/i18n/zh.ts
@@ -4903,11 +4903,7 @@ export const zh = defineLocale({
findApp: '查找应用',
customColor: '自定义颜色',
plugin: '插件',
- nothingYet: {
- lead: '目前不会连接或安装任何东西。',
- rest: '当任务需要时,Hermes 会提议关联这些项目或安装插件,并先征求你的同意。'
- },
- intent: { now: '现在', later: '需要时', save: '仅记下' }
+ startsLater: '开始时我们会帮你设置好这些。'
},
startChat: {
starting: title => `正在启动“${title}”…`,
diff --git a/apps/desktop/src/store/clarify.ts b/apps/desktop/src/store/clarify.ts
index fdddc5e55fb..c401ccb8be8 100644
--- a/apps/desktop/src/store/clarify.ts
+++ b/apps/desktop/src/store/clarify.ts
@@ -1,4 +1,4 @@
-import type { SetupChooseIntent, SetupChooseKind, SetupChooseOption } from '@hermes/shared'
+import type { SetupChooseKind, SetupChooseOption } from '@hermes/shared'
import { atom, computed } from 'nanostores'
import { hasOpenServerRequest, respondToServerRequest } from './server-requests'
@@ -15,7 +15,6 @@ export interface SetupChooseSpec {
kind: SetupChooseKind
options: SetupChooseOption[] | null
multiSelect: boolean
- intent: boolean
}
export interface ClarifyRequest {
@@ -137,7 +136,7 @@ export function normalizeSetupChoose(
question
}
],
- setup: { intent: params.intent === true, kind: params.kind as SetupChooseKind, multiSelect, options }
+ setup: { kind: params.kind as SetupChooseKind, multiSelect, options }
}
}
@@ -207,12 +206,11 @@ export function clearClarifyRequest(requestId?: string, sessionId?: string | nul
export interface SetupChooseStage {
draft: string
- intents: Record<string, SetupChooseIntent>
picked: string[]
revert: (() => void) | null
}
-export const EMPTY_SETUP_STAGE: SetupChooseStage = { draft: '', intents: {}, picked: [], revert: null }
+export const EMPTY_SETUP_STAGE: SetupChooseStage = { draft: '', picked: [], revert: null }
export const $setupChooseStages = atom<Record<string, SetupChooseStage>>({})
diff --git a/apps/desktop/src/store/connection-request.ts b/apps/desktop/src/store/connection-request.ts
index bc28c6022e8..7210effde0d 100644
--- a/apps/desktop/src/store/connection-request.ts
+++ b/apps/desktop/src/store/connection-request.ts
@@ -109,8 +109,19 @@ const keyFor = (sessionId: string | null | undefined): string => sessionId ?? ''
export const $connectionRequests = atom<Record<string, ConnectionRequest>>({})
-export const sessionConnectionRequest = (sessionId: string | null) =>
- computed($connectionRequests, requests => requests[keyFor(sessionId)] ?? null)
+/** The settled operation of the other card kind that the session's current operation replaced. One turn
+ * can ask twice (an install card and a connect card, either order) and both cards stay drawn; a later
+ * operation of the same kind still replaces its card, so consecutive connect calls show one card. */
+const $replacedConnectionRequests = atom<Record<string, ConnectionRequest>>({})
+
+/** The operation a tool row draws: the session's current one when this row opened it, else the replaced
+ * one when this row opened that. */
+export const toolConnectionRequest = (sessionId: string | null, toolCallId: string) =>
+ computed([$connectionRequests, $replacedConnectionRequests], (requests, replaced) => {
+ const key = keyFor(sessionId)
+
+ return [requests[key], replaced[key]].find(request => request?.toolCallId === toolCallId) ?? null
+ })
const TARGET_STATES: readonly ConnectionTargetState[] = [
'connected',
@@ -140,6 +151,10 @@ const settleReason = oneOf(SETTLE_REASONS)
export const isCatalogKind = (kind: ConnectionTargetKind): kind is 'plugin' | 'skill' =>
kind === 'plugin' || kind === 'skill'
+/** A `manage_catalog` install operation, as opposed to a `manage_connections` one. */
+export const isCatalogRequest = (request: ConnectionRequest): boolean =>
+ request.targets.some(target => isCatalogKind(target.kind))
+
function catalogEntry(entry: ConnectionOperationTarget, name: string): CatalogEntry {
return {
appState: entry.app_state ?? null,
@@ -304,7 +319,18 @@ export function applyConnectionUpdate(request: ConnectionRequest, update: Connec
}
export function setConnectionRequest(request: ConnectionRequest): void {
- $connectionRequests.set({ ...$connectionRequests.get(), [keyFor(request.sessionId)]: request })
+ const key = keyFor(request.sessionId)
+ const requests = $connectionRequests.get()
+ const previous = requests[key]
+
+ if (previous && previous.opId !== request.opId && isCatalogRequest(previous) !== isCatalogRequest(request)) {
+ const replaced = { ...$replacedConnectionRequests.get() }
+ delete replaced[key]
+
+ $replacedConnectionRequests.set(previous.settled ? { ...replaced, [key]: previous } : replaced)
+ }
+
+ $connectionRequests.set({ ...requests, [key]: request })
}
export function updateConnectionRequest(sessionId: string | null, update: ConnectionUpdatePayload): void {
@@ -321,28 +347,19 @@ export function updateConnectionRequest(sessionId: string | null, update: Connec
}
}
+/** Drop the session's operation (or, with no session, every one) whose op id matches, from the current
+ * and the replaced caches alike. */
export function clearConnectionRequest(opId?: string, sessionId?: string | null): void {
- const requests = $connectionRequests.get()
+ const cleared = ([key, value]: [string, ConnectionRequest]) =>
+ (sessionId === undefined || key === keyFor(sessionId)) && (!opId || value.opId === opId)
- if (sessionId !== undefined) {
- const key = keyFor(sessionId)
- const current = requests[key]
+ for (const store of [$connectionRequests, $replacedConnectionRequests]) {
+ const entries = Object.entries(store.get())
+ const kept = entries.filter(entry => !cleared(entry))
- if (!current || (opId && current.opId !== opId)) {
- return
+ if (kept.length !== entries.length) {
+ store.set(Object.fromEntries(kept))
}
-
- const next = { ...requests }
- delete next[key]
- $connectionRequests.set(next)
-
- return
- }
-
- const kept = Object.entries(requests).filter(([, value]) => opId && value.opId !== opId)
-
- if (kept.length !== Object.keys(requests).length) {
- $connectionRequests.set(Object.fromEntries(kept))
}
}
diff --git a/apps/shared/src/gateway-contract.generated.ts b/apps/shared/src/gateway-contract.generated.ts
index 109c66c8cb1..5b0af054bf5 100644
--- a/apps/shared/src/gateway-contract.generated.ts
+++ b/apps/shared/src/gateway-contract.generated.ts
@@ -4356,7 +4356,6 @@ export interface SetupChooseRequestParams {
question: string
options?: SetupChooseOption[] | null
multi_select?: boolean
- intent?: boolean
}
export type SetupChooseKind = 'question' | 'accent' | 'theme' | 'layout' | 'connectors' | 'plugins'
export interface SetupChooseOption {
@@ -4366,9 +4365,7 @@ export interface SetupChooseOption {
}
export interface SetupChooseResult {
picked?: string | string[] | null
- intent?: Record<string, SetupChooseIntent> | null
}
-export type SetupChooseIntent = 'now' | 'later' | 'save'
/** ``tui_gateway/server.py::_approval_request_payload`` — the command is redacted server-side. */
export interface ApprovalRequestParams {
session_id: string
diff --git a/apps/shared/src/gateway-contract.openrpc.json b/apps/shared/src/gateway-contract.openrpc.json
index c54dc2da14f..3ffd8bcdd7b 100644
--- a/apps/shared/src/gateway-contract.openrpc.json
+++ b/apps/shared/src/gateway-contract.openrpc.json
@@ -32129,15 +32129,6 @@
"title": "SessionWorkspaceMoveResult",
"type": "object"
},
- "SetupChooseIntent": {
- "enum": [
- "now",
- "later",
- "save"
- ],
- "title": "SetupChooseIntent",
- "type": "string"
- },
"SetupChooseKind": {
"enum": [
"question",
@@ -32214,11 +32205,6 @@
"default": false,
"title": "Multi Select",
"type": "boolean"
- },
- "intent": {
- "default": false,
- "title": "Intent",
- "type": "boolean"
}
},
"required": [
@@ -32249,21 +32235,6 @@
],
"default": null,
"title": "Picked"
- },
- "intent": {
- "anyOf": [
- {
- "additionalProperties": {
- "$ref": "#/components/schemas/SetupChooseIntent"
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Intent"
}
},
"title": "SetupChooseResult",
diff --git a/hermes_cli/setup_profile.py b/hermes_cli/setup_profile.py
index 37711de06f9..a4f425238ef 100644
--- a/hermes_cli/setup_profile.py
+++ b/hermes_cli/setup_profile.py
@@ -10,7 +10,7 @@ from pathlib import Path
from typing import Callable, NamedTuple, Optional
from hermes_cli import profiles as profiles_mod
-from hermes_constants import get_hermes_home
+from hermes_constants import get_hermes_home, profile_name_for_home
logger = logging.getLogger(__name__)
@@ -104,6 +104,14 @@ def reset_setup_profile() -> SetupProfile:
return SetupProfile(name, path, created=False)
+def primary_profile(launch_home: Path) -> str:
+ """The profile setup hands off to: the launch profile from the setup profile's home, else this one."""
+ home = get_hermes_home()
+ if (home / profiles_mod.SETUP_PROFILE_MARKER).is_file():
+ home = launch_home
+ return profile_name_for_home(home) or "default"
+
+
def onboarding_eligible() -> bool:
from hermes_cli.anon_auth import GUEST_ONBOARDING_ENV
return os.environ.get(GUEST_ONBOARDING_ENV, "").strip() == "1"
diff --git a/locales/_keys.desktop.json b/locales/_keys.desktop.json
index 047c22ba7c8..af7704b1f33 100644
--- a/locales/_keys.desktop.json
+++ b/locales/_keys.desktop.json
@@ -40,6 +40,21 @@
"agents.waitingActivity",
"agents.workers",
"agents.workersActive",
+ "appTour.capabilities.text",
+ "appTour.capabilities.title",
+ "appTour.composer.text",
+ "appTour.composer.title",
+ "appTour.messaging.text",
+ "appTour.messaging.title",
+ "appTour.model.text",
+ "appTour.model.title",
+ "appTour.modelLocal",
+ "appTour.newSession.text",
+ "appTour.newSession.title",
+ "appTour.rightPane.text",
+ "appTour.rightPane.title",
+ "appTour.sessions.text",
+ "appTour.sessions.title",
"artifactCard.generating",
"artifactCard.kind.code",
"artifactCard.kind.html",
@@ -159,18 +174,14 @@
"assistant.mcpSetup.toolCount",
"assistant.setupChoose.customColor",
"assistant.setupChoose.findApp",
- "assistant.setupChoose.intent.later",
- "assistant.setupChoose.intent.now",
- "assistant.setupChoose.intent.save",
"assistant.setupChoose.kinds.accent",
"assistant.setupChoose.kinds.connectors",
"assistant.setupChoose.kinds.layout",
"assistant.setupChoose.kinds.plugins",
"assistant.setupChoose.kinds.theme",
"assistant.setupChoose.loading",
- "assistant.setupChoose.nothingYet.lead",
- "assistant.setupChoose.nothingYet.rest",
"assistant.setupChoose.plugin",
+ "assistant.setupChoose.startsLater",
"assistant.setupChoose.unavailable",
"assistant.startChat.inProfile",
"assistant.startChat.notStarted",
@@ -3938,11 +3949,9 @@
"settings.vault.stateField",
"settings.vault.title",
"settings.vault.twoFactorBadge",
- "sharedMetrics.changeLater",
"sharedMetrics.collectDesc",
"sharedMetrics.collectLabel",
"sharedMetrics.collectedActivity",
- "sharedMetrics.collectedIntro",
"sharedMetrics.collectedMachine",
"sharedMetrics.collectedMilestones",
"sharedMetrics.collectedModels",
@@ -3951,14 +3960,14 @@
"sharedMetrics.collectedUsage",
"sharedMetrics.consentBody",
"sharedMetrics.consentTitle",
- "sharedMetrics.consentWindow",
- "sharedMetrics.installId",
+ "sharedMetrics.dialogTitle",
"sharedMetrics.local",
"sharedMetrics.off",
"sharedMetrics.readDocs",
"sharedMetrics.saveFailed",
"sharedMetrics.sendDesc",
"sharedMetrics.sendLabel",
+ "sharedMetrics.sending",
"sharedMetrics.share",
"sharedMetrics.stripBody",
"sharedMetrics.stripChoices.local",
diff --git a/tools/connectors/catalog.py b/tools/connectors/catalog.py
index 655beacb013..8ae124d5722 100644
--- a/tools/connectors/catalog.py
+++ b/tools/connectors/catalog.py
@@ -48,16 +48,6 @@ def _display(identifier: str) -> str:
return " ".join(part.capitalize() for part in re.split(r"[-_]+", leaf) if part) or identifier
-def default_target_profile() -> str:
- from hermes_cli.profiles import SETUP_PROFILE_MARKER
- from tui_gateway import server
-
- home = get_hermes_home()
- if (home / SETUP_PROFILE_MARKER).is_file():
- home = server._hermes_home
- return profile_name_for_home(home) or "default"
-
-
@contextlib.contextmanager
def target_scope(profile: str):
"""Bind the named profile's home, secrets and terminal policy, the way an RPC for that profile
@@ -161,7 +151,7 @@ class _Runner:
def prepare(self, operation: ConnectionOperation) -> None:
_RUNNERS[operation.op_id] = self
self.op_id = operation.op_id
- self.profile = default_target_profile()
+ self.profile = profile_name_for_home(get_hermes_home()) or "default"
for target in operation.targets:
target.extra = {"display": _display(target.name), "target_profile": self.profile}
try:
diff --git a/tools/connectors/catalog_tool.py b/tools/connectors/catalog_tool.py
index e19df90d3c3..a333e5e3639 100644
--- a/tools/connectors/catalog_tool.py
+++ b/tools/connectors/catalog_tool.py
@@ -39,8 +39,8 @@ MANAGE_CATALOG_SCHEMA = {
"Find and install Hermes catalog plugins and hub skills for the user. 'search' lists matches "
"(id, kind, display, tier, platforms, installed) and changes nothing. 'install' shows the user "
"one approval card with a row per item and blocks until every row is installed, skipped, or "
- "the card is closed; the host installs each approved row into this chat's profile (from the setup chat, into "
- "the user's main profile) at the catalog's reviewed version. Pass only catalog ids exactly as 'search' returns them; the "
+ "the card is closed; the host installs each approved row into this chat's profile at "
+ "the catalog's reviewed version. Pass only catalog ids exactly as 'search' returns them; the "
"host decides the source, version, profile and settings, and the user can change them on the "
"card. Offer an install only for something the user asked for or agreed to."
),
@@ -145,9 +145,10 @@ def install(items: List[Dict[str, str]], *, session_id: Optional[str], tool_call
def search(query: str, kind: Optional[str], *, installer: Any = None) -> Dict[str, Any]:
- from tools.connectors.catalog import default_target_profile, target_scope
+ from hermes_constants import get_hermes_home, profile_name_for_home
+ from tools.connectors.catalog import target_scope
- profile = default_target_profile()
+ profile = profile_name_for_home(get_hermes_home()) or "default"
rows: List[Dict[str, Any]] = []
with target_scope(profile):
if kind in (None, "plugin"):
diff --git a/tools/setup_choose_tool.py b/tools/setup_choose_tool.py
index 8fbfbfaf003..e1bcdd04866 100644
--- a/tools/setup_choose_tool.py
+++ b/tools/setup_choose_tool.py
@@ -4,7 +4,6 @@ from typing import Callable, Optional
from tools.registry import registry, tool_error
KINDS = ("question", "accent", "theme", "layout", "connectors", "plugins")
-INTENT_KINDS = ("connectors", "plugins")
MAX_OPTIONS = 12
_NO_ANSWER = ("The card got no answer: it timed out, the turn was interrupted, or no Hermes desktop "
"window answered.")
@@ -43,13 +42,10 @@ def _result(reply: Optional[dict]) -> str:
return json.dumps({"outcome": "no_answer", "picked": None, "notice": _NO_ANSWER})
if reply.get("picked") is None:
return json.dumps({"outcome": "cancelled", "picked": None})
- result = {"outcome": "submitted", "picked": reply["picked"]}
- if reply.get("intent"):
- result["intent"] = reply["intent"]
- return json.dumps(result, ensure_ascii=False)
+ return json.dumps({"outcome": "submitted", "picked": reply["picked"]}, ensure_ascii=False)
-def setup_choose_tool(kind: str = "", question: str = "", options=None, multi_select=None, intent=None,
+def setup_choose_tool(kind: str = "", question: str = "", options=None, multi_select=None,
callback: Optional[Callable] = None) -> str:
if callback is None:
return tool_error("setup_choose is only available in the Hermes desktop app.")
@@ -61,11 +57,8 @@ def setup_choose_tool(kind: str = "", question: str = "", options=None, multi_se
normalized, error = _normalize_options(options)
if error:
return tool_error(error)
- if intent and kind not in INTENT_KINDS:
- return tool_error(f"intent applies only to kind {' or '.join(INTENT_KINDS)}.")
payload = {"kind": kind, "question": text, "options": normalized,
- "multi_select": bool(multi_select) and (normalized is not None or kind != "question"),
- "intent": bool(intent)}
+ "multi_select": bool(multi_select) and (normalized is not None or kind != "question")}
try:
return _result(callback(payload))
except Exception as exc:
@@ -80,12 +73,10 @@ SETUP_CHOOSE_SCHEMA = {
"`question` itself, so your message text must not repeat it. Omit `options` "
"for accent, theme, layout, connectors or plugins to show the app's own list. "
"kind='question' without options asks for free text; with options the user may "
- "still type an answer. multi_select lets the user pick several rows. intent "
- "(connectors and plugins only) adds a now / later / save choice per row. "
- "Result: {outcome, picked, intent?}. outcome is submitted, cancelled or "
+ "still type an answer. multi_select lets the user pick several rows. "
+ "Result: {outcome, picked}. outcome is submitted, cancelled or "
"no_answer (with a notice saying why). picked is the chosen option id (or the "
- "typed text) as a string, or a list of ids with multi_select; intent maps each "
- "picked id to now, later or save."
+ "typed text) as a string, or a list of ids with multi_select."
),
"parameters": {
"type": "object",
@@ -115,10 +106,6 @@ SETUP_CHOOSE_SCHEMA = {
},
},
"multi_select": {"type": "boolean", "description": "Let the user pick several rows."},
- "intent": {
- "type": "boolean",
- "description": "connectors / plugins: ask now, later or save per picked row.",
- },
},
"required": ["kind", "question"],
},
@@ -129,5 +116,5 @@ registry.register(
name="setup_choose", toolset="setup", schema=SETUP_CHOOSE_SCHEMA,
handler=lambda args, **kw: setup_choose_tool(
kind=args.get("kind", ""), question=args.get("question", ""), callback=kw.get("callback"),
- **{k: args.get(k) for k in ("options", "multi_select", "intent")}),
+ **{k: args.get(k) for k in ("options", "multi_select")}),
emoji="🎛")
diff --git a/tui_gateway/contracts/server_requests.py b/tui_gateway/contracts/server_requests.py
index 351859f74b0..e9b15b7d327 100644
--- a/tui_gateway/contracts/server_requests.py
+++ b/tui_gateway/contracts/server_requests.py
@@ -63,12 +63,6 @@ class SetupChooseKind(WireEnum):
plugins = "plugins"
-class SetupChooseIntent(WireEnum):
- now = "now"
- later = "later"
- save = "save"
-
-
class SetupChooseOption(Params):
id: str
label: str
@@ -80,12 +74,10 @@ class SetupChooseRequestParams(ServerRequestParams):
question: str
options: list[SetupChooseOption] | None = None
multi_select: bool = False
- intent: bool = False
class SetupChooseResult(Result):
picked: str | list[str] | None = None
- intent: dict[str, SetupChooseIntent] | None = None
server_request("setup_choose", params=SetupChooseRequestParams, result=SetupChooseResult)
diff --git a/tui_gateway/methods_tools.py b/tui_gateway/methods_tools.py
index 3ea60129525..d876f857ae0 100644
--- a/tui_gateway/methods_tools.py
+++ b/tui_gateway/methods_tools.py
@@ -756,7 +756,7 @@ def _cmd_initiate_setup(rid, params, session, name, arg):
tools = _tools_mod("model_tools").get_tool_definitions(
enabled_toolsets=enabled, disabled_toolsets=disabled, quiet_mode=True, skip_tool_search_assembly=True)
surface = _resolve_agent_platform(_session_source(session))
- primary = _tools_mod("tools.connectors.catalog").default_target_profile()
+ primary = _tools_mod("hermes_cli.setup_profile").primary_profile(_launch_home())
message = _tools_mod("agent.initiate_setup_prompt").build_initiate_setup_prompt(
surface, [tool["function"]["name"] for tool in tools], primary)
return _ok(rid, {"type": "send", "message": message, "display": "/initiate-setup"})
diff --git a/website/docs/reference/tools-reference.md b/website/docs/reference/tools-reference.md
index ef4f1f52dca..4c0140762eb 100644
--- a/website/docs/reference/tools-reference.md
+++ b/website/docs/reference/tools-reference.md
@@ -186,7 +186,7 @@ Enabled for sessions whose source is the desktop app, whichever backend it's con
| Tool | Description | Requires environment |
|------|-------------|----------------------|
-| `manage_catalog` | Desktop sessions only, deferred behind `tool_search` by default. `search` lists catalog plugins and hub skills matching `query` (optionally one `kind`) with `id`, `kind`, `display`, `tier`, `platforms` and `installed` (present in the target profile); it changes nothing. `install` takes `items: [{kind, id}]` and shows one approval card with a row per item (Install, Advanced, Skip); an id the catalog does not know, or a plugin this OS cannot run, is drawn failed with the reason. An approved row installs into this chat's profile, or into the launch profile from the setup profile's chat (or the profile chosen under Advanced) at the catalog's reviewed commit, with the same kill list, security scan and live activation as the Plugins tab, so the plugin's MCP tools and skills are usable in that profile's open chats at once. The result lists each row as `connected` (with `tools` and `skill`), `skipped`, `failed` (with `detail`) or `not_connected`. The model cannot pass a source, commit, profile or setting. Anywhere else the call returns the `hermes plugins install` / `hermes skills install` command to run instead. | — |
+| `manage_catalog` | Desktop sessions only, deferred behind `tool_search` by default. `search` lists catalog plugins and hub skills matching `query` (optionally one `kind`) with `id`, `kind`, `display`, `tier`, `platforms` and `installed` (present in this chat's profile); it changes nothing. `install` takes `items: [{kind, id}]` and shows one approval card with a row per item (Install, Advanced, Skip); an id the catalog does not know, or a plugin this OS cannot run, is drawn failed with the reason. An approved row installs into this chat's profile (or the profile chosen under Advanced) at the catalog's reviewed commit, with the same kill list, security scan and live activation as the Plugins tab, so the plugin's MCP tools and skills are usable in that profile's open chats at once. The result lists each row as `connected` (with `tools` and `skill`), `skipped`, `failed` (with `detail`) or `not_connected`. The model cannot pass a source, commit, profile or setting. Anywhere else the call returns the `hermes plugins install` / `hermes skills install` command to run instead. | — |
## `setup` toolset
@@ -194,7 +194,7 @@ Enabled by the desktop setup profile's own config (`platform_toolsets.cli`). Onl
| Tool | Description | Requires environment |
|------|-------------|----------------------|
-| `setup_choose` | Only through the `setup` toolset, desktop sessions only; never deferred unless a `tools.tool_search.defer` list names it. Shows one card in the setup chat: `kind` is `question`, `accent`, `theme`, `layout`, `connectors` or `plugins`, and `question` is the card's heading. `options` (up to 12 `{id, label, detail?}` rows, unique ids) replaces the app's own list; omitted, the pickers show the app's list and kind `question` asks for free text. A `question` card with options still takes a typed answer. `multi_select` lets the user pick several rows. `intent` (connectors and plugins only) adds a now / later / save choice per row. An accent, theme or layout pick applies in the app as soon as the user picks it. The result has `outcome` (`submitted`, `cancelled` or `no_answer` with a `notice`), `picked` (an option id or typed text, or a list of ids with `multi_select`) and, with `intent`, a map of picked id to `now`, `later` or `save`. It stores nothing. Anywhere else the call returns an error. | — |
+| `setup_choose` | Only through the `setup` toolset, desktop sessions only; never deferred unless a `tools.tool_search.defer` list names it. Shows one card in the setup chat: `kind` is `question`, `accent`, `theme`, `layout`, `connectors` or `plugins`, and `question` is the card's heading. `options` (up to 12 `{id, label, detail?}` rows, unique ids) replaces the app's own list; omitted, the pickers show the app's list and kind `question` asks for free text. A `question` card with options still takes a typed answer. `multi_select` lets the user pick several rows. An accent, theme or layout pick applies in the app as soon as the user picks it. The result has `outcome` (`submitted`, `cancelled` or `no_answer` with a `notice`), and `picked` (an option id or typed text, or a list of ids with `multi_select`). It stores nothing. Anywhere else the call returns an error. | — |
## `start_chat` toolset
diff --git a/website/docs/reference/toolsets-reference.md b/website/docs/reference/toolsets-reference.md
index a9f60580e43..f4ba9589ab3 100644
--- a/website/docs/reference/toolsets-reference.md
+++ b/website/docs/reference/toolsets-reference.md
@@ -74,7 +74,7 @@ Or in-session:
| `memory` | `memory` | Persistent cross-session memory management. |
| `desktop_ui` | `annotate_preview`, `apply_layout`, `close_terminal`, `desktop_preview`, `drive_preview`, `focus_pane`, `gui_tour`, `react_to_message`, `read_terminal`, `read_window_below`, `show_tip` | Affordances that act on the Hermes desktop app itself — read/close the embedded terminal pane, open, read, close, interact with, and annotate the in-app browser, identify the OS window behind the app, reveal a pane, react to a message, run a guided tour (highlight + narrate UI elements in the app or the preview pane), and apply a layout preset. Enabled for sessions whose source is the desktop app, whichever backend it's connected to (local, SSH, URL, or Hermes Cloud). Never present on CLI, TUI, messaging, or cron sessions. |
| `project` | `desktop_project` | Create and switch desktop [Projects](../user-guide/cli.md) (named, multi-folder workspaces) via one `create`/`switch`/`list` action enum. GUI / desktop sessions only. |
-| `catalog` | `manage_catalog` | Search the plugin catalog and skills hub, and install items through the approval card into this chat's profile (the launch profile from the setup profile's chat). Enabled for sessions whose source is the desktop app, whichever backend it's connected to (local, SSH, URL, or Hermes Cloud). Never present on CLI, TUI, messaging, or cron sessions. `all` does not include it. Deferred behind `tool_search` by default. Remove it with `agent.disabled_toolsets: [catalog]`. |
+| `catalog` | `manage_catalog` | Search the plugin catalog and skills hub, and install items through the approval card into this chat's profile. Enabled for sessions whose source is the desktop app, whichever backend it's connected to (local, SSH, URL, or Hermes Cloud). Never present on CLI, TUI, messaging, or cron sessions. `all` does not include it. Deferred behind `tool_search` by default. Remove it with `agent.disabled_toolsets: [catalog]`. |
| `safe` | `image_generate`, `vision_analyze`, `web_extract`, `web_search` (via `includes`) | Read-only research + media generation. No file writes, no terminal, no code execution. |
| `search` | `web_search` | Web search only (without extract). |
| `session_search` | `session_search` | Search past conversation sessions. |