Skip to content

RedirectPanel

stable

Mid-execution goal redirect — shows agent progress, struck-through original goal, and preview of new goal before confirming

Human-in-the-Loop/Storybook ↗
import { RedirectPanel } from "@danagraph/design-system/patterns"
Loading demo…

Props

agentrequired
Type stringDefault —

Agent name.

originalGoalrequired
Type stringDefault —

Current goal being replaced.

completedStepsrequired
Type RedirectStep[]Default —

Steps with status: "completed" | "in_progress" | "pending".

onRedirect
Type (newGoal: string) => voidDefault —

Called with new goal on confirm.

onCancel
Type () => voidDefault —

Called on cancel.

semantictypebordersurface
Design Rationale

This component was designed to express:

Explore Related

Was this helpful?