Skip to content
Français

Logging

import type { Logging } from "@elie-laloum/outpost";

The fields below cover all variants; the signature specifies their allowed combinations.

  • transporterVariant-dependent
    Transport | undefined
    Persist immutable event segments and a versioned index through this transport. Defaults to createLocalTransport rooted at <repository>/.outpost/storage; read the returned logReference with readJournal.
  • verboseVariant-dependent
    boolean | undefined
    Also keep high-volume and sensitive events in the journal: raw protocol lines, text deltas, stderr, reasoning, model requests and responses, tool and command output. Off by default.
  • replayableVariant-dependent
    boolean | undefined
    Also record each sandbox dispatch’s commits as verified binary patches so createReplayAgent can rebuild them. Opt-in because the journal then contains repository content; failures to record become warnings.
export type Logging =
  | false
  | "stdout"
  | {
      readonly transporter?: Transport;
      readonly verbose?: boolean;
      readonly replayable?: boolean;
    };