@archastro/sdk
    Preparing search index...

    Variable agentRequestListResponseSchemaConst

    agentRequestListResponseSchema: ZodObject<
        {
            data: ZodArray<
                ZodObject<
                    {
                        agent: ZodOptional<
                            ZodObject<
                                { id: ZodString; name: ZodOptional<ZodNullable<ZodString>> },
                                "strip",
                                ZodTypeAny,
                                { id: string; name?: string | null },
                                { id: string; name?: string | null },
                            >,
                        >;
                        agent_owner: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        id: ZodString;
                                        name: ZodOptional<ZodNullable<(...)>>;
                                        type: ZodString;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { id: string; name?: string
                                    | null; type: string },
                                    { id: string; name?: string | null; type: string },
                                >,
                            >,
                        >;
                        approver_reason: ZodOptional<ZodNullable<ZodString>>;
                        approvers: ZodOptional<
                            ZodObject<
                                { mode: ZodString },
                                "strip",
                                ZodTypeAny,
                                { mode: string },
                                { mode: string },
                            >,
                        >;
                        expires_at: ZodOptional<ZodString>;
                        id: ZodString;
                        inserted_at: ZodOptional<ZodString>;
                        is_approver: ZodOptional<ZodBoolean>;
                        kind: ZodOptional<ZodString>;
                        origin: ZodOptional<
                            ZodObject<
                                {
                                    routine_id: ZodOptional<ZodNullable<ZodString>>;
                                    session_id: ZodOptional<ZodNullable<ZodString>>;
                                    thread_id: ZodOptional<ZodNullable<ZodString>>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    routine_id?: string
                                    | null;
                                    session_id?: string | null;
                                    thread_id?: string | null;
                                },
                                {
                                    routine_id?: string
                                    | null;
                                    session_id?: string | null;
                                    thread_id?: string | null;
                                },
                            >,
                        >;
                        origin_thread: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        id: ZodString;
                                        shared: ZodBoolean;
                                        title: ZodOptional<ZodNullable<(...)>>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    { id: string; shared: boolean; title?: string
                                    | null },
                                    { id: string; shared: boolean; title?: string | null },
                                >,
                            >,
                        >;
                        payload: ZodOptional<
                            ZodObject<
                                {
                                    changes: ZodOptional<
                                        ZodArray<ZodObject<(...), (...), (...), (...), (...)>, "many">,
                                    >;
                                    from_version: ZodOptional<ZodString>;
                                    instructions_md: ZodOptional<ZodString>;
                                    key: ZodOptional<ZodString>;
                                    options: ZodOptional<ZodArray<ZodString, "many">>;
                                    overwrite: ZodOptional<ZodBoolean>;
                                    prompt: ZodOptional<ZodString>;
                                    proposal_id: ZodOptional<ZodString>;
                                    question: ZodOptional<ZodString>;
                                    rationale: ZodOptional<ZodString>;
                                    recommended: ZodOptional<ZodString>;
                                    to_version: ZodOptional<ZodString>;
                                    validate_script: ZodOptional<ZodString>;
                                },
                                "strip",
                                ZodTypeAny,
                                {
                                    changes?: { action?: ...; class?: ...; path?: ...; tier?: ... }[];
                                    from_version?: string;
                                    instructions_md?: string;
                                    key?: string;
                                    options?: string[];
                                    overwrite?: boolean;
                                    prompt?: string;
                                    proposal_id?: string;
                                    question?: string;
                                    rationale?: string;
                                    recommended?: string;
                                    to_version?: string;
                                    validate_script?: string;
                                },
                                {
                                    changes?: { action?: ...; class?: ...; path?: ...; tier?: ... }[];
                                    from_version?: string;
                                    instructions_md?: string;
                                    key?: string;
                                    options?: string[];
                                    overwrite?: boolean;
                                    prompt?: string;
                                    proposal_id?: string;
                                    question?: string;
                                    rationale?: string;
                                    recommended?: string;
                                    to_version?: string;
                                    validate_script?: string;
                                },
                            >,
                        >;
                        resolution: ZodOptional<
                            ZodNullable<
                                ZodObject<
                                    {
                                        answer: ZodOptional<ZodString>;
                                        choice_label: ZodOptional<ZodString>;
                                        key: ZodOptional<ZodString>;
                                        message_id: ZodOptional<ZodNullable<(...)>>;
                                        reason: ZodOptional<ZodString>;
                                        set: ZodOptional<ZodBoolean>;
                                        source: ZodOptional<ZodString>;
                                        status: ZodOptional<ZodString>;
                                        to_version: ZodOptional<ZodString>;
                                    },
                                    "strip",
                                    ZodTypeAny,
                                    {
                                        answer?: string;
                                        choice_label?: string;
                                        key?: string;
                                        message_id?: string
                                        | null;
                                        reason?: string;
                                        set?: boolean;
                                        source?: string;
                                        status?: string;
                                        to_version?: string;
                                    },
                                    {
                                        answer?: string;
                                        choice_label?: string;
                                        key?: string;
                                        message_id?: string
                                        | null;
                                        reason?: string;
                                        set?: boolean;
                                        source?: string;
                                        status?: string;
                                        to_version?: string;
                                    },
                                >,
                            >,
                        >;
                        resolved_at: ZodOptional<ZodString>;
                        resolved_by: ZodOptional<ZodString>;
                        status: ZodOptional<ZodString>;
                        summary: ZodOptional<
                            ZodObject<
                                { lines: ZodArray<ZodString, "many">; title: ZodString },
                                "strip",
                                ZodTypeAny,
                                { lines: string[]; title: string },
                                { lines: string[]; title: string },
                            >,
                        >;
                    },
                    "strip",
                    ZodTypeAny,
                    {
                        agent?: { id: string; name?: string
                        | null };
                        agent_owner?: { id: string; name?: string | null; type: string } | null;
                        approver_reason?: string | null;
                        approvers?: { mode: string };
                        expires_at?: string;
                        id: string;
                        inserted_at?: string;
                        is_approver?: boolean;
                        kind?: string;
                        origin?: {
                            routine_id?: string | null;
                            session_id?: string | null;
                            thread_id?: string | null;
                        };
                        origin_thread?: | {
                            id: string;
                            shared: boolean;
                            title?: string
                            | null;
                        }
                        | null;
                        payload?: {
                            changes?: {
                                action?: (...)
                                | (...);
                                class?: (...) | (...);
                                path?: (...) | (...);
                                tier?: (...) | (...);
                            }[];
                            from_version?: string;
                            instructions_md?: string;
                            key?: string;
                            options?: string[];
                            overwrite?: boolean;
                            prompt?: string;
                            proposal_id?: string;
                            question?: string;
                            rationale?: string;
                            recommended?: string;
                            to_version?: string;
                            validate_script?: string;
                        };
                        resolution?: | {
                            answer?: string;
                            choice_label?: string;
                            key?: string;
                            message_id?: string
                            | null;
                            reason?: string;
                            set?: boolean;
                            source?: string;
                            status?: string;
                            to_version?: string;
                        }
                        | null;
                        resolved_at?: string;
                        resolved_by?: string;
                        status?: string;
                        summary?: { lines: string[]; title: string };
                    },
                    {
                        agent?: { id: string; name?: string
                        | null };
                        agent_owner?: { id: string; name?: string | null; type: string } | null;
                        approver_reason?: string | null;
                        approvers?: { mode: string };
                        expires_at?: string;
                        id: string;
                        inserted_at?: string;
                        is_approver?: boolean;
                        kind?: string;
                        origin?: {
                            routine_id?: string | null;
                            session_id?: string | null;
                            thread_id?: string | null;
                        };
                        origin_thread?: | {
                            id: string;
                            shared: boolean;
                            title?: string
                            | null;
                        }
                        | null;
                        payload?: {
                            changes?: {
                                action?: (...)
                                | (...);
                                class?: (...) | (...);
                                path?: (...) | (...);
                                tier?: (...) | (...);
                            }[];
                            from_version?: string;
                            instructions_md?: string;
                            key?: string;
                            options?: string[];
                            overwrite?: boolean;
                            prompt?: string;
                            proposal_id?: string;
                            question?: string;
                            rationale?: string;
                            recommended?: string;
                            to_version?: string;
                            validate_script?: string;
                        };
                        resolution?: | {
                            answer?: string;
                            choice_label?: string;
                            key?: string;
                            message_id?: string
                            | null;
                            reason?: string;
                            set?: boolean;
                            source?: string;
                            status?: string;
                            to_version?: string;
                        }
                        | null;
                        resolved_at?: string;
                        resolved_by?: string;
                        status?: string;
                        summary?: { lines: string[]; title: string };
                    },
                >,
                "many",
            >;
            next_cursor: ZodOptional<ZodString>;
        },
        "strip",
        ZodTypeAny,
        {
            data: {
                agent?: { id: string; name?: string
                | null };
                agent_owner?: { id: string; name?: string | null; type: string } | null;
                approver_reason?: string | null;
                approvers?: { mode: string };
                expires_at?: string;
                id: string;
                inserted_at?: string;
                is_approver?: boolean;
                kind?: string;
                origin?: {
                    routine_id?: string | null;
                    session_id?: string | null;
                    thread_id?: string | null;
                };
                origin_thread?: | { id: string; shared: boolean; title?: string
                | null }
                | null;
                payload?: {
                    changes?: {
                        action?: string;
                        class?: string;
                        path?: string;
                        tier?: string;
                    }[];
                    from_version?: string;
                    instructions_md?: string;
                    key?: string;
                    options?: string[];
                    overwrite?: boolean;
                    prompt?: string;
                    proposal_id?: string;
                    question?: string;
                    rationale?: string;
                    recommended?: string;
                    to_version?: string;
                    validate_script?: string;
                };
                resolution?: | {
                    answer?: string;
                    choice_label?: string;
                    key?: string;
                    message_id?: string
                    | null;
                    reason?: string;
                    set?: boolean;
                    source?: string;
                    status?: string;
                    to_version?: string;
                }
                | null;
                resolved_at?: string;
                resolved_by?: string;
                status?: string;
                summary?: { lines: string[]; title: string };
            }[];
            next_cursor?: string;
        },
        {
            data: {
                agent?: { id: string; name?: string
                | null };
                agent_owner?: { id: string; name?: string | null; type: string } | null;
                approver_reason?: string | null;
                approvers?: { mode: string };
                expires_at?: string;
                id: string;
                inserted_at?: string;
                is_approver?: boolean;
                kind?: string;
                origin?: {
                    routine_id?: string | null;
                    session_id?: string | null;
                    thread_id?: string | null;
                };
                origin_thread?: | { id: string; shared: boolean; title?: string
                | null }
                | null;
                payload?: {
                    changes?: {
                        action?: string;
                        class?: string;
                        path?: string;
                        tier?: string;
                    }[];
                    from_version?: string;
                    instructions_md?: string;
                    key?: string;
                    options?: string[];
                    overwrite?: boolean;
                    prompt?: string;
                    proposal_id?: string;
                    question?: string;
                    rationale?: string;
                    recommended?: string;
                    to_version?: string;
                    validate_script?: string;
                };
                resolution?: | {
                    answer?: string;
                    choice_label?: string;
                    key?: string;
                    message_id?: string
                    | null;
                    reason?: string;
                    set?: boolean;
                    source?: string;
                    status?: string;
                    to_version?: string;
                }
                | null;
                resolved_at?: string;
                resolved_by?: string;
                status?: string;
                summary?: { lines: string[]; title: string };
            }[];
            next_cursor?: string;
        },
    > = ...

    Runtime validator for AgentRequestListResponse.