Skip to content
Français

HarnessHookInput

import type { HarnessHookInput } from "@elie-laloum/outpost";
  • sandboxRequired
    SandboxLease
    Borrowed sandbox of the turn; hooks may inspect the repository through it.
  • signalRequired
    AbortSignal
    Turn cancellation signal; asynchronous hooks should honor it.
  • modelRequired
    AgentModel
    Normalized model of the agent running the turn.
  • stepRequired
    number
    Current step number; 0 during session-start.
export type HarnessHookInput<Phase extends HarnessHookPhase> =
  HarnessHookEvents[Phase] & HarnessHookContext;