vigiles API reference
    Preparing search index...

    Interface SessionEvent<N>

    The event an inject hook produces from (no tool — SessionStart/UserPromptSubmit). Generic over its declared needs, exactly like the gate events.

    interface SessionEvent<N extends readonly NeedSpec[] = readonly ProviderName[]> {
        ctx: HookCtx<N>;
        event: string;
        source: string;
    }

    Type Parameters

    Index

    Properties

    Properties

    ctx: HookCtx<N>

    Host-gathered, DECLARED facts — built-ins, inline providers, and state() reads.

    event: string
    source: string