vigiles API reference
    Preparing search index...

    Interface RawHookEvent

    The raw event fields the decode functions read (the union across roles).

    interface RawHookEvent {
        prompt?: string;
        source?: string;
        stop_hook_active?: boolean;
        tool_input?: { command?: unknown; file_path?: unknown };
        tool_name?: string;
        tool_response?: unknown;
    }
    Index

    Properties

    prompt?: string

    UserPromptSubmit (prompt-gate).

    source?: string

    SessionStart / UserPromptSubmit (inject).

    stop_hook_active?: boolean

    Stop / SubagentStop (stop-gate) — the prior-block loop guard.

    tool_input?: { command?: unknown; file_path?: unknown }
    tool_name?: string
    tool_response?: unknown

    PostToolUse response (react).