ThreadNode
One thread in a channel's session registry (wire protocol §3.4). Mirrors
ThreadNodeWire in the api's src/types.ts.
- createdType: integer
At requiredEpoch milliseconds (coordinator clock).
- depthType: integermin:1max:8required
Root threads are depth 1. Replies that would sit deeper than 8 are refused at publish (
thread_depth_exceeded). - idType: stringrequired
The thread id — the id of the message that started it.
- latestType: integer
Seq requiredChannel
seqof the thread's most recent message. - rootType: string
Thread Id requiredThe top of the chain. A root thread's is itself.
- spawnType: integer
Seq requiredChannel
seqof the message that started the thread. - threadType: integer
Seq requiredThe thread's own dense counter — its message count.
- parentType: string
Thread Id The enclosing thread's id. Absent on a root thread.
- spawnedType: object
By Properties: 1Author of the spawn message. Absent when that message was evicted before the registry saw it.