# Interface CliDetectionCacheConfig

Configuration for the CLI detection cache.

interface CliDetectionCacheConfig {
ttlMs: number;
adaptiveTtl?: boolean;
logger?: ILogger;
}

- Defined in packages/nexus-agents/src/cli-adapters/cli-detection-cache.ts:36

##### Index

### Properties

ttlMs
adaptiveTtl?
logger?

## Properties

### `Readonly` ttlMs

ttlMs: number

Base time-to-live in milliseconds (default: 5 minutes)

- Defined in packages/nexus-agents/src/cli-adapters/cli-detection-cache.ts:38

### `Optional` `Readonly` adaptiveTtl

adaptiveTtl?: boolean

Enable adaptive TTL based on health history (default: true)

- Defined in packages/nexus-agents/src/cli-adapters/cli-detection-cache.ts:40

### `Optional` `Readonly` logger

logger?: ILogger

Logger instance

- Defined in packages/nexus-agents/src/cli-adapters/cli-detection-cache.ts:42