EventMeta
Defined in: react/src/agents.ts:127
Where an agent event sits in the host’s log, and when the host recorded it.
Extends
Section titled “Extends”Pick<ChatEnvelope,"seq"|"segment">
Properties
Section titled “Properties”optional at?: number;Defined in: react/src/agents.ts:131
Epoch milliseconds, from the host’s log. A thinking row takes when it started and how long it ran from these times, so a replay of the log draws the same numbers the live stream did. Without them the row says only that the model thought.
segment?
Section titled “segment?”optional segment?: string;Defined in: react/src/protocol.ts:322
One numbering space for seq: a host run, or the continuation after an approval. A new
segment starts the count again. It means nothing without a seq.
Inherited from
Section titled “Inherited from”optional seq?: number;Defined in: react/src/protocol.ts:319
The event’s position inside segment: a whole number, 0 or more, that only goes up. A
client drops any number it has already reached and resumes after the last one.
Give every numbered event a number of its own. Two events with one number are one event
sent twice, and the second is dropped. When one thing on the host becomes several events,
number the last and leave the others without. An event without a number always applies, so
leave it out only where applying twice is harmless: a settled part, a message, a run. A
text delta is never that.