Skip to content
Français

FileSandboxSettings

import type { FileSandboxSettings } from "@elie-laloum/outpost/core";
  • hooksOptional
    LifecycleHooks | undefined
    Declared workspaceReady, hostReady and sandboxReady preparation commands.
  • limitsOptional
    Pick<StageLimits, "copyMs" | "collectMs"> | undefined
    Copy and collection deadlines for file execution; Git preparation and integration limits are refused.
  • observationOptional
    ObservationHub | undefined
    Explicit observation hub preserving scoped delivery and synchronous usage accounting.
  • loggingOptional
    Logging | undefined
    Declared execution journal; replayable file effects are refused when reproduction is unsupported.
  • activityTransportOptional
    Transport | undefined
    Transport for bounded resource activity observations; liveness does not authorize recovery.
  • recoveryTransportOptional
    Transport | undefined
    Explicit Transport retaining sandbox recovery evidence independently of file snapshots.
  • sandboxProviderRequired
    SandboxProvider
    Execution provider with the required file binding capability; legacy providers remain usable for Git.
  • agentOptional
    DispatchAgent | undefined
    Explicitly composed agent compatible with the selected file execution and conversation capabilities.
  • signalOptional
    AbortSignal | undefined
    Cancellation signal propagated to the operation and its process group; reusable sandboxes remain usable.
  • variablesOptional
    Readonly<Record<string, string>> | undefined
    Only explicitly declared environment variables reach the sandbox; no implicit .env loading.
export interface FileSandboxSettings {
  readonly hooks?: LifecycleHooks;
  readonly limits?: Pick<StageLimits, "copyMs" | "collectMs">;
  readonly observation?: ObservationHub;
  readonly logging?: Logging;
  readonly activityTransport?: Transport;
  readonly recoveryTransport?: Transport;
  readonly sandboxProvider: SandboxProvider;
  readonly agent?: DispatchAgent;
  readonly signal?: AbortSignal;
  readonly variables?: Variables;
}