docs: state where an agent trail may be passed on the header prop

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
hugocasa
2026-09-17 15:07:37 +02:00
co-authored by Claude Opus 5
parent 6649f1c520
commit c2beda70df
2 changed files with 3 additions and 2 deletions
@@ -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<FlowModule, 'id' | 'summary'>[]
isAgentTool?: boolean
siblingToolNames?: string[]
@@ -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<FlowModule, 'id' | 'summary'>[]
toolDescription?: string | undefined
siblingToolNames?: string[]