Variable agentComputerSchemaConst
agentComputerSchema: ZodObject<
{
agent: ZodOptional<ZodNullable<ZodString>>;
app: ZodOptional<ZodString>;
bootstrap: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
config: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
created_at: ZodOptional<ZodString>;
error_message: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
key: ZodOptional<ZodNullable<ZodString>>;
last_active_at: ZodOptional<ZodNullable<ZodString>>;
lookup_key: ZodOptional<ZodNullable<ZodString>>;
metadata: ZodOptional<
ZodRecord<ZodString, ZodType<{} | null, ZodTypeDef, {} | null>>,
>;
name: ZodOptional<ZodString>;
provider: ZodOptional<ZodString>;
region: ZodOptional<ZodNullable<ZodString>>;
repositories: ZodOptional<
ZodArray<
ZodObject<
{
app_access: ZodOptional<
ZodObject<
{
reason: ZodOptional<ZodEnum<(...)>>;
type: ZodEnum<[(...), (...), (...)]>;
},
"strip",
ZodTypeAny,
{
reason?: "refused"
| "unavailable";
type: "granted" | "not_granted" | "not_installed";
},
{
reason?: "refused"
| "unavailable";
type: "granted" | "not_granted" | "not_installed";
},
>,
>;
ref: ZodOptional<ZodNullable<ZodString>>;
repository: ZodString;
},
"strip",
ZodTypeAny,
{
app_access?: {
reason?: "refused"
| "unavailable";
type: "granted" | "not_granted" | "not_installed";
};
ref?: string
| null;
repository: string;
},
{
app_access?: {
reason?: "refused"
| "unavailable";
type: "granted" | "not_granted" | "not_installed";
};
ref?: string
| null;
repository: string;
},
>,
"many",
>,
>;
sprite_url: ZodOptional<ZodNullable<ZodString>>;
status: ZodOptional<ZodNullable<ZodString>>;
thread_id: ZodOptional<ZodNullable<ZodString>>;
updated_at: ZodOptional<ZodString>;
},
"strip",
ZodTypeAny,
{
agent?: string
| null;
app?: string;
bootstrap?: Record<string, {} | null>;
config?: Record<string, {} | null>;
created_at?: string;
error_message?: string | null;
id: string;
key?: string | null;
last_active_at?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
provider?: string;
region?: string | null;
repositories?: {
app_access?: {
reason?: "refused" | "unavailable";
type: "granted" | "not_granted" | "not_installed";
};
ref?: string
| null;
repository: string;
}[];
sprite_url?: string
| null;
status?: string | null;
thread_id?: string | null;
updated_at?: string;
},
{
agent?: string
| null;
app?: string;
bootstrap?: Record<string, {} | null>;
config?: Record<string, {} | null>;
created_at?: string;
error_message?: string | null;
id: string;
key?: string | null;
last_active_at?: string | null;
lookup_key?: string | null;
metadata?: Record<string, {} | null>;
name?: string;
provider?: string;
region?: string | null;
repositories?: {
app_access?: {
reason?: "refused" | "unavailable";
type: "granted" | "not_granted" | "not_installed";
};
ref?: string
| null;
repository: string;
}[];
sprite_url?: string
| null;
status?: string | null;
thread_id?: string | null;
updated_at?: string;
},
> = ...
Runtime validator for AgentComputer.