# Interface CliExecutionOptions

Execution options for CLI adapters.

interface CliExecutionOptions {
timeoutMs?: number;
allowRetry?: boolean;
maxRetries?: number;
trackUsage?: boolean;
onProgress?: () => void;
}

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:90

##### Index

### Properties

timeoutMs?
allowRetry?
maxRetries?
trackUsage?
onProgress?

## Properties

### `Optional` `Readonly` timeoutMs

timeoutMs?: number

Timeout in milliseconds

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:92

### `Optional` `Readonly` allowRetry

allowRetry?: boolean

Whether to allow retries

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:94

### `Optional` `Readonly` maxRetries

maxRetries?: number

Maximum retry attempts

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:96

### `Optional` `Readonly` trackUsage

trackUsage?: boolean

Whether to track usage

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:98

### `Optional` `Readonly` onProgress

onProgress?: () => void

Progress callback invoked on subprocess stdout activity (Issue #1087).

- Defined in packages/nexus-agents/src/cli-adapters/types-capability.ts:100