From c52ba2fd30e19986522420ff02fae224a075b4f6 Mon Sep 17 00:00:00 2001 From: hugocasa Date: Thu, 8 Oct 2026 23:24:00 +0200 Subject: [PATCH] feat: agent nits: multi-select, memory-off notice, agent step label (#11622) * feat: agent nits: multi-select, memory-off notice, agent step label Co-Authored-By: Claude Opus 5.5 * fix: say saved, not renamed, on a new agent's first deploy Co-Authored-By: Claude Opus 5.5 * fix: run the agent page form on cmd+enter, select agents by keyboard Co-Authored-By: Claude Opus 5.5 * test: pin the agent step label Co-Authored-By: Claude Opus 5.5 --------- Co-authored-by: Claude Opus 5.5 --- .../components/FlowStatusViewerInner.svelte | 6 +++- .../src/lib/components/FlowTimeline.svelte | 4 +-- .../components/common/table/AgentRow.svelte | 14 ++++++--- .../lib/components/flows/agentDraft.svelte.ts | 7 ++++- .../flows/content/AgentEditorHost.svelte | 5 ++-- .../conversations/agentEditorChat.test.ts | 10 ++++++- .../flows/conversations/agentEditorChat.ts | 9 ++++++ .../map/FlowModuleSchemaItemViewer.svelte | 4 ++- frontend/src/lib/components/home/Item.svelte | 6 ++-- .../src/lib/components/home/ItemsList.svelte | 3 +- .../lib/components/home/bulkActions.test.ts | 9 ++++++ .../src/lib/components/home/bulkActions.ts | 20 +++++++++---- .../components/home/homeSelection.svelte.ts | 2 +- .../agents/get/[...path]/+page.svelte | 29 +++++++++++++++++++ .../(root)/(logged)/run/[...run]/+page.svelte | 4 ++- 15 files changed, 107 insertions(+), 25 deletions(-) diff --git a/frontend/src/lib/components/FlowStatusViewerInner.svelte b/frontend/src/lib/components/FlowStatusViewerInner.svelte index 1d56c20b38..638956add2 100644 --- a/frontend/src/lib/components/FlowStatusViewerInner.svelte +++ b/frontend/src/lib/components/FlowStatusViewerInner.svelte @@ -69,6 +69,7 @@ retainLinkedToolsScope } from './flows/linkedAgentToolsStore.svelte' import { useOperatingWorkspace } from '$lib/components/operatingWorkspace.svelte' + import { AGENT_STEP_ID, agentStepLabel } from './flows/conversations/agentEditorChat' const operatingWorkspace = useOperatingWorkspace() @@ -1238,6 +1239,8 @@ id: string type: FlowModuleValue['type'] suspend?: boolean + /** Shown in place of the id. */ + label?: string } function allModulesForTimeline( @@ -1250,7 +1253,8 @@ ({ id: x.id, type: x.value.type, - suspend: x.suspend != undefined + suspend: x.suspend != undefined, + label: x.id === AGENT_STEP_ID ? agentStepLabel(job?.script_path) : undefined }) as FlowModuleForTimeline, { skipToolNodes: true diff --git a/frontend/src/lib/components/FlowTimeline.svelte b/frontend/src/lib/components/FlowTimeline.svelte index 4ed13c1df1..640c8728ce 100644 --- a/frontend/src/lib/components/FlowTimeline.svelte +++ b/frontend/src/lib/components/FlowTimeline.svelte @@ -179,12 +179,12 @@ /> {/if} - {#each flowModules as { id: k, type: typ, suspend: isSuspend } (k)} + {#each flowModules as { id: k, type: typ, suspend: isSuspend, label } (k)} {@const subItems = items?.[k]?.filter((x) => x.created_at && x.started_at)}
{k.startsWith('subflow:') ? k.substring(8) : k} + >{label ?? (k.startsWith('subflow:') ? k.substring(8) : k)} {#if localModuleStates[k]?.selectedForloop && (typ == 'forloopflow' || typ == 'whileloopflow')}