UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

878 lines (877 loc) 34.7 kB
import { z } from "#compiled/zod/index.js"; //#region src/api-client/validators.d.ts type SessionMetaData = z.infer<typeof Session>; declare const Session: z.ZodObject<{ id: z.ZodString; memory: z.ZodNumber; vcpus: z.ZodNumber; region: z.ZodString; runtime: z.ZodString; timeout: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; aborted: "aborted"; pending: "pending"; running: "running"; stopping: "stopping"; stopped: "stopped"; snapshotting: "snapshotting"; }>; requestedAt: z.ZodNumber; startedAt: z.ZodOptional<z.ZodNumber>; requestedStopAt: z.ZodOptional<z.ZodNumber>; stoppedAt: z.ZodOptional<z.ZodNumber>; abortedAt: z.ZodOptional<z.ZodNumber>; duration: z.ZodOptional<z.ZodNumber>; sourceSnapshotId: z.ZodOptional<z.ZodString>; snapshottedAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; cwd: z.ZodString; updatedAt: z.ZodNumber; interactivePort: z.ZodOptional<z.ZodNumber>; networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{ mode: z.ZodLiteral<"allow-all">; }, z.core.$loose>, z.ZodObject<{ mode: z.ZodLiteral<"deny-all">; }, z.core.$loose>]>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>; allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; forwardURL: z.ZodString; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$loose>]>>; activeCpuDurationMs: z.ZodOptional<z.ZodNumber>; networkTransfer: z.ZodOptional<z.ZodObject<{ ingress: z.ZodNumber; egress: z.ZodNumber; }, z.core.$strip>>; }, z.core.$strip>; type SandboxRouteData = z.infer<typeof SandboxRoute>; declare const SandboxRoute: z.ZodObject<{ url: z.ZodString; subdomain: z.ZodString; port: z.ZodNumber; }, z.core.$strip>; type SnapshotMetadata = z.infer<typeof Snapshot>; declare const Snapshot: z.ZodObject<{ id: z.ZodString; sourceSessionId: z.ZodString; region: z.ZodString; status: z.ZodEnum<{ created: "created"; deleted: "deleted"; failed: "failed"; }>; sizeBytes: z.ZodNumber; expiresAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; lastUsedAt: z.ZodOptional<z.ZodNumber>; creationMethod: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; type CommandData = z.infer<typeof Command>; declare const Command: z.ZodObject<{ id: z.ZodString; name: z.ZodString; args: z.ZodArray<z.ZodString>; cwd: z.ZodString; sessionId: z.ZodString; exitCode: z.ZodNullable<z.ZodNumber>; startedAt: z.ZodNumber; }, z.core.$strip>; declare const SessionResponse: z.ZodObject<{ session: z.ZodObject<{ id: z.ZodString; memory: z.ZodNumber; vcpus: z.ZodNumber; region: z.ZodString; runtime: z.ZodString; timeout: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; aborted: "aborted"; pending: "pending"; running: "running"; stopping: "stopping"; stopped: "stopped"; snapshotting: "snapshotting"; }>; requestedAt: z.ZodNumber; startedAt: z.ZodOptional<z.ZodNumber>; requestedStopAt: z.ZodOptional<z.ZodNumber>; stoppedAt: z.ZodOptional<z.ZodNumber>; abortedAt: z.ZodOptional<z.ZodNumber>; duration: z.ZodOptional<z.ZodNumber>; sourceSnapshotId: z.ZodOptional<z.ZodString>; snapshottedAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; cwd: z.ZodString; updatedAt: z.ZodNumber; interactivePort: z.ZodOptional<z.ZodNumber>; networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{ mode: z.ZodLiteral<"allow-all">; }, z.core.$loose>, z.ZodObject<{ mode: z.ZodLiteral<"deny-all">; }, z.core.$loose>]>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>; allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; forwardURL: z.ZodString; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$loose>]>>; activeCpuDurationMs: z.ZodOptional<z.ZodNumber>; networkTransfer: z.ZodOptional<z.ZodObject<{ ingress: z.ZodNumber; egress: z.ZodNumber; }, z.core.$strip>>; }, z.core.$loose>; }, z.core.$strip>; declare const InteractiveSessionResponse: z.ZodObject<{ url: z.ZodString; token: z.ZodString; }, z.core.$strip>; declare const CommandResponse: z.ZodObject<{ command: z.ZodObject<{ id: z.ZodString; name: z.ZodString; args: z.ZodArray<z.ZodString>; cwd: z.ZodString; sessionId: z.ZodString; exitCode: z.ZodNullable<z.ZodNumber>; startedAt: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; type CommandFinishedData = z.infer<typeof CommandFinishedResponse>["command"]; declare const CommandFinishedResponse: z.ZodObject<{ command: z.ZodObject<{ id: z.ZodString; name: z.ZodString; args: z.ZodArray<z.ZodString>; cwd: z.ZodString; sessionId: z.ZodString; startedAt: z.ZodNumber; exitCode: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; declare const LogLineStdout: z.ZodObject<{ data: z.ZodString; stream: z.ZodLiteral<"stdout">; }, z.core.$strip>; declare const LogLineStderr: z.ZodObject<{ data: z.ZodString; stream: z.ZodLiteral<"stderr">; }, z.core.$strip>; declare const SnapshotTreeNode: z.ZodObject<{ snapshot: z.ZodObject<{ id: z.ZodString; sourceSessionId: z.ZodString; region: z.ZodString; status: z.ZodEnum<{ created: "created"; deleted: "deleted"; failed: "failed"; }>; sizeBytes: z.ZodNumber; expiresAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; lastUsedAt: z.ZodOptional<z.ZodNumber>; creationMethod: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; siblings: z.ZodArray<z.ZodObject<{ id: z.ZodString; sourceSessionId: z.ZodString; region: z.ZodString; status: z.ZodEnum<{ created: "created"; deleted: "deleted"; failed: "failed"; }>; sizeBytes: z.ZodNumber; expiresAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; lastUsedAt: z.ZodOptional<z.ZodNumber>; creationMethod: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; count: z.ZodString; }, z.core.$strip>; type SnapshotTreeNodeData = z.infer<typeof SnapshotTreeNode>; declare const CreateSnapshotResponse: z.ZodObject<{ snapshot: z.ZodObject<{ id: z.ZodString; sourceSessionId: z.ZodString; region: z.ZodString; status: z.ZodEnum<{ created: "created"; deleted: "deleted"; failed: "failed"; }>; sizeBytes: z.ZodNumber; expiresAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; lastUsedAt: z.ZodOptional<z.ZodNumber>; creationMethod: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; session: z.ZodObject<{ id: z.ZodString; memory: z.ZodNumber; vcpus: z.ZodNumber; region: z.ZodString; runtime: z.ZodString; timeout: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; aborted: "aborted"; pending: "pending"; running: "running"; stopping: "stopping"; stopped: "stopped"; snapshotting: "snapshotting"; }>; requestedAt: z.ZodNumber; startedAt: z.ZodOptional<z.ZodNumber>; requestedStopAt: z.ZodOptional<z.ZodNumber>; stoppedAt: z.ZodOptional<z.ZodNumber>; abortedAt: z.ZodOptional<z.ZodNumber>; duration: z.ZodOptional<z.ZodNumber>; sourceSnapshotId: z.ZodOptional<z.ZodString>; snapshottedAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; cwd: z.ZodString; updatedAt: z.ZodNumber; interactivePort: z.ZodOptional<z.ZodNumber>; networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{ mode: z.ZodLiteral<"allow-all">; }, z.core.$loose>, z.ZodObject<{ mode: z.ZodLiteral<"deny-all">; }, z.core.$loose>]>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>; allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; forwardURL: z.ZodString; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$loose>]>>; activeCpuDurationMs: z.ZodOptional<z.ZodNumber>; networkTransfer: z.ZodOptional<z.ZodObject<{ ingress: z.ZodNumber; egress: z.ZodNumber; }, z.core.$strip>>; }, z.core.$loose>; }, z.core.$strip>; declare const SnapshotResponse: z.ZodObject<{ snapshot: z.ZodObject<{ id: z.ZodString; sourceSessionId: z.ZodString; region: z.ZodString; status: z.ZodEnum<{ created: "created"; deleted: "deleted"; failed: "failed"; }>; sizeBytes: z.ZodNumber; expiresAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; lastUsedAt: z.ZodOptional<z.ZodNumber>; creationMethod: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodString>; }, z.core.$strip>; }, z.core.$strip>; declare const Sandbox: z.ZodObject<{ name: z.ZodString; persistent: z.ZodBoolean; region: z.ZodOptional<z.ZodString>; vcpus: z.ZodOptional<z.ZodNumber>; memory: z.ZodOptional<z.ZodNumber>; runtime: z.ZodOptional<z.ZodString>; timeout: z.ZodOptional<z.ZodNumber>; networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{ mode: z.ZodLiteral<"allow-all">; }, z.core.$loose>, z.ZodObject<{ mode: z.ZodLiteral<"deny-all">; }, z.core.$loose>]>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>; allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; forwardURL: z.ZodString; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$loose>]>>; totalEgressBytes: z.ZodOptional<z.ZodNumber>; totalIngressBytes: z.ZodOptional<z.ZodNumber>; totalActiveCpuDurationMs: z.ZodOptional<z.ZodNumber>; totalDurationMs: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; currentSessionId: z.ZodString; currentSnapshotId: z.ZodOptional<z.ZodString>; status: z.ZodEnum<{ failed: "failed"; aborted: "aborted"; pending: "pending"; running: "running"; stopping: "stopping"; stopped: "stopped"; snapshotting: "snapshotting"; }>; statusUpdatedAt: z.ZodOptional<z.ZodNumber>; cwd: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; snapshotExpiration: z.ZodOptional<z.ZodNumber>; keepLastSnapshots: z.ZodOptional<z.ZodObject<{ count: z.ZodNumber; expiration: z.ZodOptional<z.ZodNumber>; deleteEvicted: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>>; }, z.core.$strip>; type SandboxMetaData = z.infer<typeof Sandbox>; declare const StopSessionResponse: z.ZodObject<{ session: z.ZodObject<{ id: z.ZodString; memory: z.ZodNumber; vcpus: z.ZodNumber; region: z.ZodString; runtime: z.ZodString; timeout: z.ZodNumber; status: z.ZodEnum<{ failed: "failed"; aborted: "aborted"; pending: "pending"; running: "running"; stopping: "stopping"; stopped: "stopped"; snapshotting: "snapshotting"; }>; requestedAt: z.ZodNumber; startedAt: z.ZodOptional<z.ZodNumber>; requestedStopAt: z.ZodOptional<z.ZodNumber>; stoppedAt: z.ZodOptional<z.ZodNumber>; abortedAt: z.ZodOptional<z.ZodNumber>; duration: z.ZodOptional<z.ZodNumber>; sourceSnapshotId: z.ZodOptional<z.ZodString>; snapshottedAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; cwd: z.ZodString; updatedAt: z.ZodNumber; interactivePort: z.ZodOptional<z.ZodNumber>; networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{ mode: z.ZodLiteral<"allow-all">; }, z.core.$loose>, z.ZodObject<{ mode: z.ZodLiteral<"deny-all">; }, z.core.$loose>]>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>; allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; forwardURL: z.ZodString; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$loose>]>>; activeCpuDurationMs: z.ZodOptional<z.ZodNumber>; networkTransfer: z.ZodOptional<z.ZodObject<{ ingress: z.ZodNumber; egress: z.ZodNumber; }, z.core.$strip>>; }, z.core.$loose>; sandbox: z.ZodOptional<z.ZodObject<{ name: z.ZodString; persistent: z.ZodBoolean; region: z.ZodOptional<z.ZodString>; vcpus: z.ZodOptional<z.ZodNumber>; memory: z.ZodOptional<z.ZodNumber>; runtime: z.ZodOptional<z.ZodString>; timeout: z.ZodOptional<z.ZodNumber>; networkPolicy: z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{ mode: z.ZodLiteral<"allow-all">; }, z.core.$loose>, z.ZodObject<{ mode: z.ZodLiteral<"deny-all">; }, z.core.$loose>]>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>; allowedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; deniedCIDRs: z.ZodOptional<z.ZodArray<z.ZodString>>; injectionRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; headerNames: z.ZodOptional<z.ZodArray<z.ZodString>>; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; forwardRules: z.ZodOptional<z.ZodArray<z.ZodObject<{ domain: z.ZodString; forwardURL: z.ZodString; match: z.ZodOptional<z.ZodObject<{ path: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; method: z.ZodOptional<z.ZodArray<z.ZodString>>; queryString: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; headers: z.ZodOptional<z.ZodArray<z.ZodObject<{ key: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; value: z.ZodOptional<z.ZodObject<{ exact: z.ZodOptional<z.ZodString>; startsWith: z.ZodOptional<z.ZodString>; regex: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$loose>]>>; totalEgressBytes: z.ZodOptional<z.ZodNumber>; totalIngressBytes: z.ZodOptional<z.ZodNumber>; totalActiveCpuDurationMs: z.ZodOptional<z.ZodNumber>; totalDurationMs: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; currentSessionId: z.ZodString; currentSnapshotId: z.ZodOptional<z.ZodString>; status: z.ZodEnum<{ failed: "failed"; aborted: "aborted"; pending: "pending"; running: "running"; stopping: "stopping"; stopped: "stopped"; snapshotting: "snapshotting"; }>; statusUpdatedAt: z.ZodOptional<z.ZodNumber>; cwd: z.ZodOptional<z.ZodString>; tags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>; snapshotExpiration: z.ZodOptional<z.ZodNumber>; keepLastSnapshots: z.ZodOptional<z.ZodObject<{ count: z.ZodNumber; expiration: z.ZodOptional<z.ZodNumber>; deleteEvicted: z.ZodOptional<z.ZodBoolean>; }, z.core.$strip>>; }, z.core.$strip>>; snapshot: z.ZodOptional<z.ZodObject<{ id: z.ZodString; sourceSessionId: z.ZodString; region: z.ZodString; status: z.ZodEnum<{ created: "created"; deleted: "deleted"; failed: "failed"; }>; sizeBytes: z.ZodNumber; expiresAt: z.ZodOptional<z.ZodNumber>; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; lastUsedAt: z.ZodOptional<z.ZodNumber>; creationMethod: z.ZodOptional<z.ZodString>; parentId: z.ZodOptional<z.ZodString>; }, z.core.$strip>>; }, z.core.$strip>; //#endregion export { Command, CommandData, CommandFinishedData, CommandFinishedResponse, CommandResponse, CreateSnapshotResponse, InteractiveSessionResponse, LogLineStderr, LogLineStdout, Sandbox, SandboxMetaData, SandboxRoute, SandboxRouteData, Session, SessionMetaData, SessionResponse, Snapshot, SnapshotMetadata, SnapshotResponse, SnapshotTreeNode, SnapshotTreeNodeData, StopSessionResponse }; //# sourceMappingURL=validators.d.ts.map