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

SandboxFileDiffEvent.md

93 lines1.5 KB

Defined in: packages/ai/src/types.ts:1519

Custom event for extensibility.

@ag-ui/core provides: name, value, subagentRunId?

Extends

Properties

metadata?

optional metadata?: Record<string, any>;

Defined in: packages/ai/src/types.ts:1416

Extra information attached to this event.

Inherited from

CustomEvent.metadata


name

name: "sandbox.file.diff";

Defined in: packages/ai/src/types.ts:1520

What this custom event is. Required: without it a consumer cannot route the value.

Overrides

CustomEvent.name

type

type: "CUSTOM";

Defined in: packages/ai/src/types.ts:1415

Inherited from

CustomEvent.type


value

value: object;

Defined in: packages/ai/src/types.ts:1521

The payload. Any JSON value, and required.

diff

diff: string;

path

path: string;

Overrides

CustomEvent.value