Skip to main content

Module program_step

Module program_step 

Expand description

ProgramStepView: one step of an agent’s task as everyone who follows it sees it (docs/designs/app-language/agent-ux.md, “Working shows work”): the tilolang program the agent ran, read-only and coloured in a raised well; what it answered, line by line, with the resource each line names as a reference chip that opens it; what it changed, as rows that undo; and what it proposes, as cards the person confirms or declines.

The view holds no authority. Opening, undoing, confirming and declining are the host’s answers, each offered as the control’s own effect or view action; without an answer the view offers no control for it.

Structs§

ProgramStepView
One program step of an agent’s task, with the host’s answer to what the person does with it. Build it with ProgramStepView::new and turn it into a widget with ProgramStepView::into_widget.

Enums§

StepAnswer
What the person does with a step’s controls: open what its answer names, undo what it changed in one resource, or answer what it proposes.