import * as z from "zod/v4"; import { ContainerNetworkPolicy, ContainerNetworkPolicy$Outbound } from "./containernetworkpolicy.js"; /** * An OpenRouter-managed, auto-provisioned ephemeral container. */ export type ContainerAutoEnvironment = { /** * Workspace file ids (or_file_…) to attach into the container before the first command runs. Each file is copied to the container home as a writable copy named {last 8 characters of the file id}-{base filename} (a file stored as data/report.csv with id or_file_…NR6q4V8w attaches to ~/NR6q4V8w-report.csv), so same-named files never collide; the source document is never modified. Unknown, foreign, or malformed ids fail the request with a 400 before any command executes. Max 20 ids. */ fileIds?: Array | undefined; /** * Network egress policy for the container. "disabled" blocks all outbound internet; "allowlist" permits only hosts matching the listed hostnames or * glob patterns (ports 80/443, DNS via Cloudflare resolvers). The policy is fixed when a container starts: sending a different policy to a warm container fails the request with a 409. Omitted: defaults to "disabled" (no outbound internet). For unrestricted egress, use an allowlist of ["*"]. */ networkPolicy?: ContainerNetworkPolicy | undefined; type: "container_auto"; }; /** @internal */ export type ContainerAutoEnvironment$Outbound = { file_ids?: Array | undefined; network_policy?: ContainerNetworkPolicy$Outbound | undefined; type: "container_auto"; }; /** @internal */ export declare const ContainerAutoEnvironment$outboundSchema: z.ZodType; export declare function containerAutoEnvironmentToJSON(containerAutoEnvironment: ContainerAutoEnvironment): string; //# sourceMappingURL=containerautoenvironment.d.ts.map