Agent Maturity Compass API - v1.2.0
    Preparing search index...

    Interface OrderedAgentSession

    Native in-process and capability-negotiated subprocess image input.

    interface OrderedAgentSession {
        sessionId: string;
        cancel(cause: TurnCancelCause, by: string): void;
        close(): void | Promise<void>;
        prompt(
            text: string,
            images?: readonly NativeImageInput[],
        ): Promise<AgentPromptResult>;
        promptAudioParts(
            parts: readonly NativeAudioPart[],
        ): Promise<AgentPromptResult>;
        promptParts(parts: readonly NativeInputPart[]): Promise<AgentPromptResult>;
        readEvents(): readonly EvidenceEvent[];
        release?(): void | Promise<void>;
    }

    Hierarchy

    Index
    sessionId: string
    • This session's committed rows.

      Exposed because the log is the only signed record of what a prompt did, so a caller that must report progress reads rows rather than being handed a second, unsigned narration of the same events.

      Returns readonly EvidenceEvent[]