The agent has stopped and needs an answer before it goes on.
"Nothing runs until you answer" is printed, not implied. The distinction between an agent that is waiting and one that is working is the thing a person most needs to know, and it is invisible unless the interface says it.
context exists so the question can be answered on its own. Without it the reader has to reconstruct the run to work out what they are deciding.
import { CheckIn } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
mark |
React.ReactNode |
|
question |
React.ReactNode |
What the agent needs decided, as a question. |
context |
React.ReactNode |
What it has found so far, so the question can be answered without reading the whole run. |
options |
Array<CheckInOption | string> |
|
askedAt |
string |
When it asked. Used to say nothing runs until it is answered. |
className |
string |
|
onAnswer |
(option: CheckInOption | string) => void |