gpui-kit GitHub

Components

StepList builder

An ordered run of steps with a summary of how far it has got.

A builder is RenderOnce. Construct and mount it in one expression.

use gpui_kit::agent::StepList;

Construct

new(ident: impl Into<Ident>) -> Self

Options

Chain onto the value.

step(step: Step) -> Self
steps(steps: impl IntoIterator<Item = Step>) -> Self
length(length: RunLength) -> Self

Rendered by

Each of these compiles and is captured by the gate, so the code behind them is verified rather than written.

Source: crates/gpui-kit/src/agent/step_list.rs