From c2beda70dfd94ff2e1a7d547dc1cf5700e415d43 Mon Sep 17 00:00:00 2001 From: hugocasa Date: Thu, 17 Sep 2026 15:07:37 +0200 Subject: [PATCH] docs: state where an agent trail may be passed on the header prop Co-Authored-By: Claude Opus 5 --- frontend/src/lib/components/flows/common/FlowCardHeader.svelte | 3 ++- .../lib/components/flows/content/FlowModuleComponent.svelte | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/lib/components/flows/common/FlowCardHeader.svelte b/frontend/src/lib/components/flows/common/FlowCardHeader.svelte index 335d17f2e0..d42a0e532c 100644 --- a/frontend/src/lib/components/flows/common/FlowCardHeader.svelte +++ b/frontend/src/lib/components/flows/common/FlowCardHeader.svelte @@ -41,7 +41,8 @@ children?: import('svelte').Snippet action?: import('svelte').Snippet /** For an agent tool, the agents it sits under, shown above the header as the way back up: - * a nested agent's tools have no graph node to reach them from. */ + * a nested agent's tools have no graph node to reach them from. Each crumb selects its agent, + * so pass it only where selecting an agent opens it (not in the saved-agent editor). */ agentTrail?: Pick[] isAgentTool?: boolean siblingToolNames?: string[] diff --git a/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte b/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte index a81a297b79..e1282ed77d 100644 --- a/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte +++ b/frontend/src/lib/components/flows/content/FlowModuleComponent.svelte @@ -130,7 +130,7 @@ * surface without a graph — the agent editor, which addresses one tool at a time — would * offer a row whose click lands nowhere. */ noToolNavigation?: boolean - /** See `FlowCardHeader`. Only passed where selecting an agent opens it. */ + /** See `FlowCardHeader`. */ agentTrail?: Pick[] toolDescription?: string | undefined siblingToolNames?: string[]