Skip to content
Français

IntegrationOptions

import type { IntegrationOptions } from "@elie-laloum/outpost/workspaces";
  • onConflictOptional
    ConflictResolver | undefined
    Opt-in strategy invoked once for an actual Git merge conflict, before touching the host checkout. Requires integrate mode and a workspace with no open sandbox. Dirty or changed host branches, guard refusals and other Git failures never invoke it. Without it, integration keeps its existing direct-merge behavior.
  • signalOptional
    AbortSignal | undefined
    Cancels integration before it starts and, with onConflict, propagates through sandbox preparation, agent resolution and verification. A refused or cancelled resolution retains both workspaces.
  • deadlineMsOptional
    number | undefined
    Positive total deadline in milliseconds for opt-in conflict integration, default 600000. Includes preflight, allocation, resolution and verification; custom strategies must observe the supplied signal. Has no effect without onConflict.
export interface IntegrationOptions {
  readonly onConflict?: ConflictResolver;
  readonly signal?: AbortSignal;
  readonly deadlineMs?: number;
}