ISPO SDK
    Preparing search index...

    Interface AgentSessionSnapshot

    Markdown

    Host-authored, compact metadata stored in an agent.session entity row. Full transcripts, permission decisions, prompt sending, cancellation, and lifecycle remain host-owned surfaces and are not copied into Entities.

    interface AgentSessionSnapshot {
        agentId: string;
        errorDetail?: AgentSessionErrorDetail;
        fidelity: AgentSessionFidelity;
        kind: AgentSessionKind;
        lastReply: string;
        pendingPermission: string;
        plan: readonly AgentSessionPlanEntry[];
        projectId: string;
        projectName?: string;
        status: AgentSessionStatus;
        terminalId: string;
        turnCount: number;
    }
    Index
    agentId: string
    lastReply: string
    pendingPermission: string
    plan: readonly AgentSessionPlanEntry[]

    Current bounded host-reduced plan. Display-only.

    projectId: string
    projectName?: string
    terminalId: string

    Host session/terminal handle carried for navigation and correlation.

    turnCount: number