Table of Contents

Namespace Oscova.Agents.Hooks

Classes

HookDeniedException

Thrown when a blocking hook denies execution and the active run should stop cleanly.

HookDispatchRequest

Requests dispatch of one hook event through the configured external handlers.

HookDispatchResult

Normalized hook result returned to the caller that requested dispatch.

HookEnvelope

JSON payload sent to command stdin and outbound HTTP hook handlers.

Interfaces

IAgentHookDispatcher

Dispatches configured external hooks for an agent lifecycle event.

IRunAbortException

Marks an exception that must escape the function retry loop and abort the current agent run.

Enums

HookDecision

Normalized decision returned by an external hook.

HookEventKind

Identifies lifecycle events that external hooks can observe or block.

HookFailureMode

Determines how transport or handler failures affect blocking hooks.

HookHandlerType

Selects how a hook definition is executed.