UNPKG

eve

Version:

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

17 lines (16 loc) • 624 B
import type { SandboxSession } from "#public/definitions/sandbox.js"; import type { SandboxDeleteOptions, SandboxPreparedArtifact } from "#shared/sandbox-provider.js"; export interface SandboxSessionState { readonly providerName: string; readonly state: SandboxPreparedArtifact; readonly stateProtocolVersion: number; } export interface SandboxState { readonly session: SandboxSessionState | null; } export interface SandboxAccess { captureState(): Promise<SandboxState>; delete?(options?: SandboxDeleteOptions): Promise<void>; get(): Promise<SandboxSession | null>; stop(): Promise<void>; }