vigiles API reference
    Preparing search index...

    Interface ModelRequest

    One model request the scripted mock received, flattened to text for assertions — the seam that lets a harness test prove what reached the model (a SessionStart hook's injected context, a slash command's expansion), not just that a hook fired.

    interface ModelRequest {
        messages: readonly { role: string; text: string }[];
        system: string;
    }
    Index

    Properties

    Properties

    messages: readonly { role: string; text: string }[]

    The conversation messages, each flattened to { role, text }.

    system: string

    The system prompt, flattened to text (string or text-block array).