Plan from the base UI package:
done/total done, counting only steps whose status is done.
The whole plan starts open by default; both the plan and each available detail
use native disclosure buttons, with closed bodies unmounted.
Props
PlanStepStatus is pending | active | done | failed | skipped.
planStepStatus maps those values to the shared status vocabulary used by the
rest of the component library.
Source: packages/ui/src/agentic/Plan.tsx
Tests: packages/ui/tests/plan.test.tsx