# XWUIContextWindowGauge

Context-window utilisation gauge with optional segments and a compaction warning.

## Basic Usage

Half-full window without segments.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Half-full window without segments.
```

## Segments

System / history / working breakdown.

```example
file: examples/Segments.ts
html: examples/Segments.html
title: Segments
description: System / history / working breakdown.
```

## Warning

Near-limit compaction hint.

```example
file: examples/Warning.ts
html: examples/Warning.html
title: Warning
description: Near-limit compaction hint.
```

## Empty

Zero used and limit still renders a meter.

```example
file: examples/Empty.ts
html: examples/Empty.html
title: Empty
description: Zero used and limit still renders a meter.
```

```api
```
