FileSandboxContext
Parameters and properties
Section titled “Parameters and properties”workspaceRequiredFileWorkspaceRecordOpen workspace borrowed for this operation; its caller remains responsible for closing it.runtimeRequiredWorkspaceRuntimeControl directory and logical namespace, separate from the workspace files.variablesRequiredReadonly<Record<string, string>>Only explicitly declared environment variables reach the sandbox; no implicit .env loading.signalOptionalAbortSignal | undefinedCancellation signal propagated to the operation and its process group; reusable sandboxes remain usable.registerRecoveryOptional((resourceId: string) => Promise<void>) | undefinedRegister the provider resource identity before acquisition finishes, so interrupted allocation remains inspectable.

