ISPO SDK
    Preparing search index...

    Interface AgentSessionState

    Markdown
    interface AgentSessionState {
        agent: "claude" | "codex" | "opencode" | "pi" | "cursor" | "ispo";
        controllerProjectId?: string;
        controlState: "revoked" | "irrecoverable" | "resumable" | "readable-only";
        effort?: string;
        executionClass: AgentExecutionClass;
        model: string;
        parentSessionId?: string;
        projectId: string;
        projectName?: string;
        sessionId: string;
        stateRevision: number;
        status: AgentSessionStatus;
        turnCount: number;
        updatedAt: string;
        workload: AgentSessionWorkload;
    }
    Index
    agent: "claude" | "codex" | "opencode" | "pi" | "cursor" | "ispo"
    controllerProjectId?: string

    Authenticated project that owns the protected controller binding. Absent only for a host-user-controlled session outside the project RPC surface.

    controlState: "revoked" | "irrecoverable" | "resumable" | "readable-only"

    Durable controller restoration state. Only resumable accepts control.

    effort?: string
    executionClass: AgentExecutionClass
    model: string
    parentSessionId?: string
    projectId: string

    Target project whose root, policy, grants, and agent authority apply.

    projectName?: string

    Bounded host-resolved target label. Absent after target removal.

    sessionId: string
    stateRevision: number
    turnCount: number
    updatedAt: string