Package com.tnsai.hooks.events
package com.tnsai.hooks.events
-
ClassDescriptionGeneric action-dispatch hook events (issue #59).Agent lifecycle hook events (issue #60).Fires once when
AgentBuilder.build()completes, before the firstchat()call (issue #60).Fires once when an agent is about to handle its first chat (issue #60).Lifecycle state of anAgent.Fires when an agent is shutting down (issue #60).@Capability-dispatch hook events (issue #60).Conversation-boundary hook events (issue #60).Root of the hook event hierarchy (issue #58).Suggested action carried byOnSessionIdle(issue #63).Type of user-attention event carried byOnNotification(issue #60).Fires when an action throws during execution (issue #59).Fires whenActionExecutordispatches a method that originated from a@Capabilityinterface (issue #60).Fires for eachChatChunkduring streaming (issue #60).Fires when an agent needs user attention (issue #60): a confirmation prompt, a long-running status update, an error the user should see asynchronously, or an idle re-engagement signal.Fires when a session has been idle past the configured threshold (issue #63).Fires when aServiceLoader-discovered provider is loaded (issue #63).Fires on an agent FSM state change (issue #60).Plugin / SPI discovery hook events (issue #63).Fires after an action returns successfully (issue #59).Fires after the final assistant response for a user turn is ready (issue #60).Fires beforeActionExecutorroutes any action (issue #59).Fires when a user message is submitted, before prompt assembly (issue #60).Why a session is closing, carried bySessionEnd(issue #63).Fires when a client session closes for any reason (issue #63).Server session lifecycle hook events (issue #63).Transport protocol used by a client session, carried bySessionStart(issue #63).Fires when a new client session opens on the server (issue #63).Why an agent is shutting down, carried byAgentStop(issue #60).