Skip to content
Français

ConversationContext

import type { ConversationContext } from "@elie-laloum/outpost";
  • repositoryRequired
    string
    Host repository of the task; capture rewrites recorded cwd values to this path.
  • sandboxRequired
    SandboxLease
    Execution lease used to transfer transcripts into or out of the agent home.
  • stagingRequired
    string
    Host scratch directory for files in transit; temporary copies are removed after each transfer.
  • homeOptional
    string | undefined
    Host root of captured conversations, from the conversationHome option. Transcript stores default to the user’s home directory and session bundle stores to the repository.
  • localOptional
    boolean | undefined
    True when the sandbox runs on the host. Transcript stores then read the transcript from disk instead of running find, and skip a restore into the original checkout unless the record has a transport reference.
  • warnOptional
    ((message: string) => void) | undefined
    Receives nonfatal warnings, such as a child transcript that could not be captured.
export interface ConversationContext {
  readonly repository: string;
  readonly sandbox: SandboxLease;
  readonly staging: string;
  readonly home?: string;
  readonly local?: boolean;
  readonly warn?: (message: string) => void;
}