Skip to content
Français

RunReportFailure

import type { RunReportFailure } from "@elie-laloum/outpost/core";
  • toolRequired
    string
    Tool name from the matched call, then the result, or unknown when neither identifies it.
  • commandRequired
    string | null
    String input or command/cmd field from the matched tool call, limited to 4096 characters; null when unavailable. It is a description, never executed by report().
  • previewRequired
    string
    Failure preview supplied by the adapter, limited to 4096 characters. May already be an excerpt; no full stdout or stderr is collected.
  • passRequired
    number | null
    One-based observed pass number, or null when the event had no pass scope.
  • subagentIdRequired
    string | null
    Observed subagent identifier, or null for the main agent or an event without subagent scope.
export interface RunReportFailure {
  readonly tool: string;
  readonly command: string | null;
  readonly preview: string;
  readonly pass: number | null;
  readonly subagentId: string | null;
}