# Interface PipelineExecuteOptions

Pipeline execution options.

interface PipelineExecuteOptions {
signal?: AbortSignal;
maxSteps?: number;
timeout?: number;
onStageComplete?: (stageId: string) => void;
continueOnFailure?: boolean;
eventBus?: IEventBus;
runsDir?: string;
}

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:71

##### Index

### Properties

signal?
maxSteps?
timeout?
onStageComplete?
continueOnFailure?
eventBus?
runsDir?

## Properties

### `Optional` `Readonly` signal

signal?: AbortSignal

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:72

### `Optional` `Readonly` maxSteps

maxSteps?: number

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:73

### `Optional` `Readonly` timeout

timeout?: number

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:74

### `Optional` `Readonly` onStageComplete

onStageComplete?: (stageId: string) => void

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:75

### `Optional` `Readonly` continueOnFailure

continueOnFailure?: boolean

When true, continue executing independent steps after a failure.

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:77

### `Optional` `Readonly` eventBus

eventBus?: IEventBus

EventBus for trace persistence. When provided, creates a TraceWriter.

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:79

### `Optional` `Readonly` runsDir

runsDir?: string

Override base directory for trace output (default: `<getNexusDataDir()>/runs`).

- Defined in packages/nexus-agents/src/pipeline/pipeline-runner.ts:81