Interface SubagentStopHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Handler invoked after a subagent's turn.
-
Method Summary
Modifier and TypeMethodDescriptionhandle(SubagentStopHookInput input, HookInvocation invocation) Handles a subagent-stop hook invocation.
-
Method Details
-
handle
CompletableFuture<SubagentStopHookOutput> handle(SubagentStopHookInput input, HookInvocation invocation) Handles a subagent-stop hook invocation.- Parameters:
input- the hook inputinvocation- context about the invocation- Returns:
- a block decision or replacement response, or
nullto allow the stop
-