pub async fn run_agent_turn_joining(
deps: &AgentTurnDeps,
block_id: String,
message: String,
message_id: Option<String>,
registration: TurnRegistration,
from: MessageOrigin,
attachments: Vec<AttachmentRef>,
joins_turn: Option<u64>,
resend: bool,
) -> Result<(), String>Expand description
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.