/**
 * Host run reference and start/inspection types (WP-01).
 */

import type { HostSessionRef } from "./HostSession.ts";

export interface HostRunRef {
  hostId: string;
  externalRunId?: string;
  session: HostSessionRef;
}

export type HostRunInspectionState =
  | "unknown"
  | "queued"
  | "running"
  | "completed"
  | "failed"
  | "cancelled";

export interface StartRunInput {
  runId: string;
  workerId: string;
  prompt: string;
  deliveryAttemptId: string;
  sourceFactRefs?: string[];
  modelHint?: string;
}
