Skip to content
Français

AgentHookContext

import type { AgentHookContext } from "@elie-laloum/outpost/core";
  • sandboxRequired
    SandboxLease
    Borrowed execution sandbox. Operations inherit the callback deadline; releasing the lease is refused.
  • signalRequired
    AbortSignal
    Cancellation signal for this callback, aborted when it finishes or its deadline expires.
export interface AgentHookContext {
  readonly sandbox: SandboxLease;
  readonly signal: AbortSignal;
}