Skip to content
Français

SandboxDiagnosticReport

import type { SandboxDiagnosticReport } from "@elie-laloum/outpost";
  • scopeRequired
    "owned-sandbox"
    Always owned-sandbox: checks concern the supplied execution resource.
  • ownershipRequired
    "caller"
    Always caller: diagnosis does not acquire ownership of resource disposal.
  • sandboxProviderOptional
    Pick<SandboxProvider, "name" | "placement"> | undefined
    Provider name and placement taken from the options; absent when none was given.
  • capabilitiesRequired
    readonly DiagnosticCapability[]
    Advertised and observed support for commands, transfers, batch transfers and interactive terminals.
  • checksRequired
    readonly DiagnosticCheck[]
    Checks in the order they ran. Failure messages state the reason, often with a remedy, never the command output.
  • modelCompatibilityRequired
    "unverified"
    Always unverified: these diagnostics do not call a live model.
  • hasFailuresRequired
    boolean
    true when at least one check has status fail; warn and skipped checks leave it false.
export interface SandboxDiagnosticReport {
  readonly scope: "owned-sandbox";
  readonly ownership: "caller";
  readonly sandboxProvider?: Pick<SandboxProvider, "name" | "placement">;
  readonly capabilities: readonly DiagnosticCapability[];
  readonly checks: readonly DiagnosticCheck[];
  readonly modelCompatibility: "unverified";
  readonly hasFailures: boolean;
}