Skip to content
Français

AgentInput

import type { AgentInput } from "@elie-laloum/outpost";
  • textOptional
    string | undefined
    Prepared prompt passed to the native agent CLI.
  • interactiveOptional
    boolean | undefined
    Run the CLI in an interactive terminal session instead of its headless stream mode.
  • liveInputOptional
    boolean | undefined
    Request the adapter’s liveInput protocol: encode the prompt with it on stdin and keep stdin open for further user messages. Outpost sets it only when the dispatch has steering and the lease supports live input.
  • continuationOptional
    { readonly id: string; readonly fork?: boolean; } | undefined
    Native conversation ID to continue; fork requests a separate conversation derived from it.
export interface AgentInput {
  readonly text?: string;
  readonly interactive?: boolean;
  /** Requests the liveInput protocol: stdin carries the encoded prompt and stays open. */
  readonly liveInput?: boolean;
  readonly continuation?: {
    readonly id: string;
    readonly fork?: boolean;
  };
}