# DevtoolsSnapshot
Source: https://docs.maelstrom-ai.co/dev/reference/devtools/interfaces/devtoolssnapshot/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/devtools/src/types.ts:58](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L58)

Immutable external-store view of diagnostic state.

## Properties

### activity

> `readonly` **activity**: readonly `DiagnosticEvent`\[\]

Defined in: [packages/devtools/src/types.ts:62](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L62)

Recent metadata observations; application content is absent.

* * *

### droppedActivityEvents

> `readonly` **droppedActivityEvents**: `number`

Defined in: [packages/devtools/src/types.ts:64](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L64)

Number of older metadata events evicted from the recent-event buffer.

* * *

### droppedRequestEvents

> `readonly` **droppedRequestEvents**: `number`

Defined in: [packages/devtools/src/types.ts:68](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L68)

Number of request metadata events evicted from request history.

* * *

### droppedRunEvents

> `readonly` **droppedRunEvents**: `number`

Defined in: [packages/devtools/src/types.ts:76](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L76)

Number of agent metadata events evicted from run history.

* * *

### imported

> `readonly` **imported**: `unknown`

Defined in: [packages/devtools/src/types.ts:80](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L80)

Capture opened for read-only inspection.

* * *

### requestActivity

> `readonly` **requestActivity**: readonly `DiagnosticEvent`\[\]

Defined in: [packages/devtools/src/types.ts:66](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L66)

Request metadata retained independently of recent activity; application content is absent.

* * *

### runActivity

> `readonly` **runActivity**: readonly `DiagnosticEvent`\[\]

Defined in: [packages/devtools/src/types.ts:74](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L74)

Agent Run metadata and session-level agent metadata, retained independently of recent activity and request history. Events that report a requestId are absent, and so is application content.

* * *

### sessions

> `readonly` **sessions**: readonly [`DevtoolsSession`](https://docs.maelstrom-ai.co/dev/reference/devtools/interfaces/devtoolssession/)\[\]

Defined in: [packages/devtools/src/types.ts:60](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L60)

Isolated Provider lifetimes.

* * *

### transportHistory

> `readonly` **transportHistory**: readonly `DiagnosticEvent`\[\]

Defined in: [packages/devtools/src/types.ts:78](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/devtools/src/types.ts#L78)

Latest terminal transport summaries, retained independently of recent activity.
