RedirectPanel
stableMid-execution goal redirect — shows agent progress, struck-through original goal, and preview of new goal before confirming
import { RedirectPanel } from "@nodus/design-system/patterns"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
agentreq | string | — | Agent name. |
originalGoalreq | string | — | Current goal being replaced. |
completedStepsreq | RedirectStep[] | — | Steps with status: "completed" | "in_progress" | "pending". |
onRedirect | (newGoal: string) => void | — | Called with new goal on confirm. |
onCancel | () => void | — | Called on cancel. |
agentrequiredType
stringDefault —Agent name.
originalGoalrequiredType
stringDefault —Current goal being replaced.
completedStepsrequiredType
RedirectStep[]Default —Steps with status: "completed" | "in_progress" | "pending".
onRedirectType
(newGoal: string) => voidDefault —Called with new goal on confirm.
onCancelType
() => voidDefault —Called on cancel.
Design Rationale
This component was designed to express:
Explore Related
AgentPauseControl→
Pause/resume control for in-flight agents with execution state preservation — shows step count and last completed action when paused
OverrideConfirmation→
High-stakes override with consequence preview and mandatory acknowledgment — no blind overrides, consequences always shown first
PartialSuccessPanel→
Partial completion panel — agent did N of M steps, human needed on step K
Was this helpful?