Private ReadonlyhistoryPrivate ReadonlyscalePrivatemodePrivateturnPrivateidsPrivateabortPrivate ReadonlywaitingPrivate ReadonlybusThe conversation so far.
Changes the permission mode. auto-edit skips the write approval.
Runs one turn for a user message, and says how it ended.
Stops the running turn.
Answers a waiting tool approval.
PrivatemessagePrivatesleepWaits ms (times the scale), or throws when the turn is cancelled.
PrivatestreamStreams text in small chunks, like a model.
PrivateaskEmits approval_needed (or the plan approval) and waits for the answer.
PrivateusagePrivatescriptRuns the script of one turn and returns the last answer text.
PrivatemarkdownAn answer with headings and a code block, to see the markdown look.
PrivatethinkPrivateverifyPrivateworkflowPrivateproveThe scripted prove_idea run: it finds a wrong sample.
PrivateideasThe scripted find_ideas run, with no approval: it only thinks.
Privatebuild
Implements AgentSessionApi with scripted turns.