Skip to content
Français

createRemoteSandboxProvider

import { createRemoteSandboxProvider } from "@elie-laloum/outpost";

Build a SandboxProvider with placement remote from a name, variables and acquire(). Outpost uploads the repository history to the lease root, installs a missing agent CLI and synchronizes changes back without overwriting concurrent host edits. A blank name fails with code configuration.

Complete example and detailed rules.

  • definitionRequired
    ProviderDefinition
    Name, optional variables and acquire() of your provider; the factory adds placement remote.

SandboxProvider

export declare const createRemoteSandboxProvider: (
  definition: ProviderDefinition,
) => SandboxProvider;