Enter to send·Shift+Enter new line
after_agent( self, state: ShellToolState[ResponseT], runtime: Runtime[ContextT] )
Run shutdown commands and release resources when an agent completes.