Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ActivitySnapshotEvent.md

25 lines621 Bytes

1---
2id: ActivitySnapshotEvent
3title: ActivitySnapshotEvent
4---
5​
6Defined in: [packages/ai/src/types.ts:2079](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2079)
7​
8Full activity state for an `ActivityMessage`.
9​
10@ag-ui/core provides: `messageId`, `activityType`, `content`, `replace?`,
11`metadata?`, `subagentRunId?`. When `replace` is omitted it means `true`.
12​
13## Extends
14​
15- `Omit`\<`AGUIActivitySnapshotEvent`, `"type"`\>
16​
17## Properties
18​
19### type
20​
21```ts
22type: "ACTIVITY_SNAPSHOT";
23```
24​
25Defined in: [packages/ai/src/types.ts:2083](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2083)