vigiles API reference
    Preparing search index...

    Interface AgentRunArgs

    The per-trial arguments handed to an AgentRunner.

    interface AgentRunArgs {
        cwd: string;
        env?: Record<string, string>;
        hasSettings: boolean;
        model: string;
        pluginDir: string | undefined;
        replaceEnv?: boolean;
        task: string;
        timeoutMs: number;
        tools: readonly string[];
    }
    Index

    Properties

    cwd: string
    env?: Record<string, string>

    Extra env layered over process.env for this run (e.g. VIGILES_INTERCEPT_TOOLS).

    hasSettings: boolean
    model: string
    pluginDir: string | undefined
    replaceEnv?: boolean

    When true, env is the COMPLETE spawn environment (an ephemeral run env from ephemeralRunEnv) — the runner does NOT prepend process.env, so the real $HOME / secrets are scrubbed. Default false: env is an overlay over process.env (the byte-identical-to-today path). Set only by ephemeralEnv.

    task: string
    timeoutMs: number
    tools: readonly string[]