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

CodeModeExecutionStartedEvent.md

93 lines1.5 KB

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

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:1789

Extra information attached to this event.

Inherited from

CustomEvent.metadata


name

name: "code_mode:execution_started";

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

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:1788

Inherited from

CustomEvent.type


value

value: object;

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

The payload. Any JSON value, and required.

codeLength

codeLength: number;

timestamp

timestamp: number;

Overrides

CustomEvent.value