Skip to content
Français

inspectFileWorkspace

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

Reads the current versioned workspace record and revision without acquiring a sandbox or changing materialized files.

Complete example and detailed rules.

  • optionsRequired
    FileWorkspaceInspectionOptions
    Runtime location and snapshot transport used to inspect the saved workspace without starting it.
  • options.runtimeRequired
    WorkspaceRuntime
    Control directory and logical namespace, separate from the workspace files.
  • options.idRequired
    string
    Stable identifier of this resource, independent of its materialization path.
  • options.transporterOptional
    Transport | undefined
    Caller-owned Transport used for conservation; no implicit cloud SDK or credential loading.

Promise<FileWorkspaceInspection>

export declare function inspectFileWorkspace(
  options: FileWorkspaceInspectionOptions,
): Promise<FileWorkspaceInspection>;