fn quit_self(
state: &AppState,
block_id: &str,
agent: &str,
via: &str,
reason: &str,
user_instruction: &str,
) -> ResponseExpand description
An agent ending its own session — QuitSelf, or ClosePane with no
arguments (§7), which has no quote and so always asks the user. A
user-started, untainted turn with the user’s quote quits when the turn
ends; anything else waits 15 s for the user to keep it (§6.5).