VercelSandboxProvider
Persistent named sandboxes on Vercel. Logical IDs are project-scoped sandbox names; filesystem snapshots survive stops while the processes belong to one VM session.
Since v0.1.0
Constructors
Section titled “Constructors”Constructs a Vercel provider with explicit account credentials.
Signature
declare const make: ( options: Options) => Effect.Effect< { readonly create: <E = never>( options?: SandboxProvider.CreateOptions<E> ) => Effect.Effect<Sandbox.Sandbox["Service"], SandboxError.SandboxError | E> readonly createScoped: <E = never>( options?: SandboxProvider.CreateOptions<E> ) => Effect.Effect<Sandbox.Sandbox["Service"], SandboxError.SandboxError | E, Scope> readonly resume: (id: Sandbox.SandboxId) => Effect.Effect<Sandbox.Sandbox["Service"], SandboxError.SandboxError> }, never, Crypto.Crypto>Since v0.1.0
Layers
Section titled “Layers”Signature
declare const layer: (options: Options) => Layer.Layer<SandboxProvider.SandboxProvider, never, Crypto.Crypto>Since v0.1.0
Options
Section titled “Options”Options (interface)
Section titled “Options (interface)”Signature
export interface Options { readonly token: Redacted.Redacted<string> readonly teamId: string readonly projectId: string readonly image?: string readonly timeoutMs?: number /** The SDK transport, for proxies and tests; credentials are still explicit. */ readonly fetch?: typeof globalThis.fetch}Since v0.1.0
ProviderOptions
Section titled “ProviderOptions”Overrides under providerOptions.vercel, validated before allocating.
Signature
declare const ProviderOptions: Schema.Struct<{ readonly image: Schema.optionalKey<Schema.String> readonly timeoutMs: Schema.optionalKey<Schema.Int>}>Since v0.1.0
ProviderOptions (type alias)
Section titled “ProviderOptions (type alias)”Signature
type ProviderOptions = typeof ProviderOptions.TypeSince v0.1.0