Skip to content
Français

HarnessInstructionContext

import type { HarnessInstructionContext } from "@elie-laloum/outpost";
  • sandboxRequired
    SandboxLease
    Borrowed sandbox of the turn, for example to read project guidance before the first request.
  • signalRequired
    AbortSignal
    Turn cancellation signal; honor it in asynchronous resolvers.
  • modelRequired
    AgentModel
    Normalized model of the agent running the turn.
  • mcpOptional
    HarnessMcpContext | undefined
    Access to the MCP servers started for this turn, present when the harness declares mcpServers. Skill instruction resolvers do not receive it.
export interface HarnessInstructionContext {
  readonly sandbox: SandboxLease;
  readonly signal: AbortSignal;
  readonly model: AgentModel;
  readonly mcp?: HarnessMcpContext;
}