# Interface CliCacheStats

Cache statistics for observability.

interface CliCacheStats {
size: number;
hits: number;
misses: number;
hitRate: number;
lastReset: Date;
}

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

##### Index

### Properties

size
hits
misses
hitRate
lastReset

## Properties

### `Readonly` size

size: number

Number of cached entries

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

### `Readonly` hits

hits: number

Cache hits since last reset

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

### `Readonly` misses

misses: number

Cache misses since last reset

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

### `Readonly` hitRate

hitRate: number

Hit rate (0-1)

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

### `Readonly` lastReset

lastReset: Date

When stats were last reset

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