praisonaiagents.hooks.types
Core SDK Hook Types for PraisonAI Agents. Defines the core types, enums, and dataclasses for the hook system.Overview
This module provides components for types.Classes
HookEvent
Event names for the hook system.
HookInput
Base hook input - common fields for all events.
HookOutput
Base hook output - common fields for all events.
HookResult
Result from a hook execution.
HookDefinition
Hook definition with matcher and configuration.
CommandHook
Hook that executes a shell command.
FunctionHook
Hook that executes a Python function.
HookExecutionResult
Result of executing a single hook.

