ui/client/components/CommandResult
Cockpit client (shared), next. Source: ui/client/components/CommandResult.jsx.
Functions#
CommandResult()#
CommandResult(
__namedParameters):Element|null
Defined in: ui/client/components/CommandResult.jsx:15
Renders one command's result: the deterministic output lines it
printed, then — distinct from that output — what was tool-work vs
llm-work, or an error if the command failed. null while nothing has
run yet.
result.output already carries any per-step timing the command itself
printed" / "Total: 8.4s" lines) —
that shows up for free in the
below, no extra handling needed.result.durationSecondsis the whole-command wall-clock total ui/server measured itself, a floor guarantee for commands that never print their own "Total:" line (research, refactor, a single non-slice create/generate).Props#
No documented props.
Returns#
Element|null