Skip to content

Interface: FrameLogEntry

Defined in: packages/aiui-claude-channel/src/frame-log.ts:24

One logged protocol message, as the server saw it.

Properties

at

at: string

Defined in: packages/aiui-claude-channel/src/frame-log.ts:31

When the entry was recorded (ISO timestamp).


bytes?

optional bytes?: number

Defined in: packages/aiui-claude-channel/src/frame-log.ts:41

Payload byte count, for binary payloads (the bytes live in the trace store).


data?

optional data?: unknown

Defined in: packages/aiui-claude-channel/src/frame-log.ts:39

Parsed JSON content, for text-shaped payloads (envelopes, acks, pushes).


dir

dir: "in" | "out"

Defined in: packages/aiui-claude-channel/src/frame-log.ts:33

Direction: in = client → server frame, out = server → client message.


label

label: string

Defined in: packages/aiui-claude-channel/src/frame-log.ts:37

Short human label, e.g. "hello", "chunk events", "push lowered-prompt".


seq

seq: number

Defined in: packages/aiui-claude-channel/src/frame-log.ts:29

Monotonically increasing, 1-based. Survives ring eviction (it never resets), so a poller's since cursor stays valid across overflow.


threadId?

optional threadId?: string

Defined in: packages/aiui-claude-channel/src/frame-log.ts:35

The thread the message belonged to, when it named one.