Package dev.agenor.core.hitl
package dev.agenor.core.hitl
-
ClassDescriptionOutcome of a human approval request.The action is approved; the agent proceeds with the original payload.The action is approved with a modified payload; the agent executes with
ApprovalDecision.Modified.newPayload()instead of the original.The action is rejected; the agent must not execute it.Suspends the calling virtual thread until a human decision is received or the request times out.Receives human decisions from external systems (HTTP handlers, webhooks, tests) for pending HITL approval requests.SPI for notifying an external observer that a human approval request is pending.Immutable description of a human approval request.Thrown when no human decision is submitted before anApprovalRequestexpires.Sentinel class used as the default value ofRequiresApproval.notifier().DefaultApprovalHandleused when no HITL provider (e.g.Marks an agent behavior as requiring human approval before execution.