Skip to main content

Module input

Module input 

Source

Structs§

AgentTurnDeps
The slice of AppState an agent turn needs in order to be started.
ArmedJoinHint 🔒
A held message’s join hint, armed for one dispatch. Dropped without keep (the dispatch failed), it is cleared, so no later message can take it (#4492).

Enums§

TurnGate 🔒
Why run_agent_turn refused to spawn, before any process started.
TurnRegistration
Start one agent turn for block_id with message.

Functions§

agent_input 🔒
agentinput: a message typed into the composer (or a hidden reinjection), started as a turn.
agent_stop 🔒
agentstop: stop the block’s controller, and take its name-keyed side state down.
register_agent_input_handlers
run_agent_turn
run_agent_turn_joining
run_agent_turn for a message the pane held while turn joins_turn ran: if that turn is still settling (or only just ended), the message joins it rather than starting a new one (turn-model spec §4.3, J3). resend: the pane sends the message again, so it is delivered but not recorded a second time.
subprocess_spawn 🔒
subprocessspawn: run the CLI for one turn in the block’s subprocess controller, creating it if needed.