# Interface CliCircuitBreakerConfig

Configuration for CLI circuit breaker integration.

interface CliCircuitBreakerConfig {
perCliConfig?: Partial<
Record<
"claude"
| "gemini"
| "codex"
| "opencode",
Partial<CircuitBreakerConfig>,
>,
>;
fallbackChain?: readonly ("claude" | "gemini" | "codex" | "opencode")[];
enableFallback?: boolean;
maxFallbackAttempts?: number;
}

- Defined in packages/nexus-agents/src/cli-adapters/cli-circuit-breaker.ts:40

##### Index

### Properties

perCliConfig?
fallbackChain?
enableFallback?
maxFallbackAttempts?

## Properties

### `Optional` `Readonly` perCliConfig

perCliConfig?: Partial<
Record<
"claude"
| "gemini"
| "codex"
| "opencode",
Partial<CircuitBreakerConfig>,
>,
>

- Defined in packages/nexus-agents/src/cli-adapters/cli-circuit-breaker.ts:41

### `Optional` `Readonly` fallbackChain

fallbackChain?: readonly ("claude" | "gemini" | "codex" | "opencode")[]

- Defined in packages/nexus-agents/src/cli-adapters/cli-circuit-breaker.ts:42

### `Optional` `Readonly` enableFallback

enableFallback?: boolean

- Defined in packages/nexus-agents/src/cli-adapters/cli-circuit-breaker.ts:43

### `Optional` `Readonly` maxFallbackAttempts

maxFallbackAttempts?: number

- Defined in packages/nexus-agents/src/cli-adapters/cli-circuit-breaker.ts:44