> ## Documentation Index
> Fetch the complete documentation index at: https://cognitio-agent.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Interface: PostCompactHookData

> Generated from the public TypeScript API.

Outcome supplied after compaction, including the boundary ID and preserved message metadata.

## Properties

### auto

```ts theme={null}
auto: boolean;
```

***

### compactionId?

```ts theme={null}
optional compactionId?: string;
```

***

### overflow?

```ts theme={null}
optional overflow?: boolean;
```

***

### preCompactTokenCount?

```ts theme={null}
optional preCompactTokenCount?: number;
```

***

### preservedMessageIds?

```ts theme={null}
optional preservedMessageIds?: string[];
```

***

### result

```ts theme={null}
result: "continue" | "stop";
```

***

### trigger

```ts theme={null}
trigger: "manual" | "auto";
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.