Execute the sequence once and return the next sequence (may be itself).
Replace the underlying state (e.g., after external persistence).
Run until this sequence yields halted.kind === 'done' | 'stopped'
.
Politely ask the model to stop streaming (awaits completion).
Encapsulates a single sequence of agent steps.