Package com.tnsai.hooks.events


package com.tnsai.hooks.events
  • Class
    Description
    Generic action-dispatch hook events (issue #59).
    Agent lifecycle hook events (issue #60).
    Fires once when AgentBuilder.build() completes, before the first chat() call (issue #60).
    Fires once when an agent is about to handle its first chat (issue #60).
    Lifecycle state of an Agent.
    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 by OnSessionIdle (issue #63).
    Type of user-attention event carried by OnNotification (issue #60).
    Fires when an action throws during execution (issue #59).
    Fires when ActionExecutor dispatches a method that originated from a @Capability interface (issue #60).
    Fires for each ChatChunk during 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 a ServiceLoader-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 before ActionExecutor routes any action (issue #59).
    Fires when a user message is submitted, before prompt assembly (issue #60).
    Why a session is closing, carried by SessionEnd (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 by SessionStart (issue #63).
    Fires when a new client session opens on the server (issue #63).
    Why an agent is shutting down, carried by AgentStop (issue #60).