TanStack

FileChangedEvent

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

Custom event for extensibility.

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

Extends

Properties

metadata?

ts
optional metadata?: Record<string, any>;

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

Extra information attached to this event.

Inherited from

CustomEvent.metadata


name

ts
name: "file.changed";

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

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

Overrides

ts
CustomEvent.name

type

ts
type: "CUSTOM";

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

Inherited from

CustomEvent.type


value

ts
value: object;

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

The payload. Any JSON value, and required.

diff

ts
diff: string;

path

ts
path: string;

Overrides

ts
CustomEvent.value