Skip to content
Français

createLocalSandboxProvider

import { createLocalSandboxProvider } from "@elie-laloum/outpost/providers/local";

Create an unisolated provider that runs commands as host processes in the worktree, with your home, environment, files and credentials. No container or VM is allocated. An egress option fails with code configuration.

Complete example and detailed rules.

  • optionsOptional
    LocalOptions | undefined
    Explicit environment variables for unisolated host execution.
  • options.variablesOptional
    Readonly<Record<string, string>> | undefined
    Environment variables added to host commands, as literal values. A key the agent also declares fails with code configuration.

SandboxProvider

export declare function createLocalSandboxProvider(
  options?: LocalOptions,
): SandboxProvider;