Skip to content
Français

DiagnosticCheck

import type { DiagnosticCheck } from "@elie-laloum/outpost";
  • idRequired
    string
    Stable dotted identifier, such as sandbox.node, agent.cli.resume or model.
  • statusRequired
    DiagnosticStatus
    pass, warn, fail or skipped. Only fail sets hasFailures; warn marks a differing or unconfirmed result, such as an agent version other than the pinned one.
  • messageRequired
    string
    Explanation of the result; most failures end with a remedy.
  • versionOptional
    string | undefined
    Version read from the output of a —version probe; present on version checks only.
  • referenceVersionOptional
    string | undefined
    Agent CLI version pinned by Outpost that the detected version was compared with; present on agent version checks only. A different version gives status warn.
export interface DiagnosticCheck {
  readonly id: string;
  readonly status: DiagnosticStatus;
  readonly message: string;
  readonly version?: string;
  readonly referenceVersion?: string;
}