/**
* Common interface for cloud sandbox providers (E2B, Daytona, custom Docker, ...).
*
* Adapter implementations live alongside individual toolkits in
* `packages/core/src/toolkits/` and are exposed to agents as a small set of
* tools (`sandbox.run`, `sandbox.shell`, `sandbox.writeFile`, `sandbox.readFile`).
*/
export interface SandboxRunOptions {
/**
* Language hint for the runtime. Adapters may use this to pick a kernel,
* file extension, or interpreter. Common values: `"python"`, `"node"`,
* `"shell"`. Defaults to `"python"`.
*/
language?: "python" | "node" | "shell";
/** Maximum wall-clock seconds. Default: 30. */
timeoutSeconds?: number;
/** Abort local execution. Remote adapters check before/after calls; see their documented cancellation limits. */
signal?: AbortSignal;
/** Optional environment variables. */
env?: Record<string, string>;
}