Enter to send·Shift+Enter new line
before_agent( self, state: AgentState, runtime: Runtime[ContextT] ) -> None
Register this invocation alongside any approval-resume siblings.