Private ReadonlydepsPrivate ReadonlyhistoryPrivatecontrollerPrivatechatThe conversation so far.
Runs one turn for a user message. Throws when a turn is already
running. Every other failure ends the turn with error, and the session
stays usable.
Stops the running turn. Its provider stream and tool get the signal.
Answers a waiting tool approval.
PrivaterunPrivateshowShows the chat-only notice once per session.
PrivatestreamStreams one model call, forwards its deltas and collects the reply.
PrivaterunRuns one tool call, unless the repeat guard stops it.
Privateappend
Runs the agent loop over one conversation.