Package com.tnsai.hooks.events
Interface AgentHookEvent
- All Superinterfaces:
HookEvent
- All Known Implementing Classes:
AgentInit,AgentStart,AgentStop,OnStateTransition
public sealed interface AgentHookEvent
extends HookEvent
permits AgentInit, AgentStart, AgentStop, OnStateTransition
Agent lifecycle hook events (issue #60). Fire once per major
lifecycle transition — construction, first activation, shutdown,
internal state change.
AgentInit—AgentBuilder.build()completedAgentStart— firstchat()beginsAgentStop— agent shutting downOnStateTransition— FSM state change (currently fires on the synthetictransition; full FSM lands in #21)invalid reference
AgentState#READY
- Since:
- 0.5.0 (issue #60)
-
Method Summary