Skip to content

SessionActivity

Defined in: src/activity-signal.ts:5

Per-agent liveness + current-activity signal pushed to UI clients.

lastActivityTs: number

Defined in: src/activity-signal.ts:7

ms epoch of the newest transcript record — the heartbeat. 0 if none yet.


recentErrTs: number[]

Defined in: src/activity-signal.ts:15

Subset of recentTs whose tool-use errored; the client tints those slices red.


recentTs: number[]

Defined in: src/activity-signal.ts:13

ms-epoch timestamps of in-window tool-use events (oldest→newest) for the row heat-strip. Empty when no recent activity.


summary: string | null

Defined in: src/activity-signal.ts:10

Latest meaningful tool-use summary, verbatim (e.g. “edited poller.ts”, ”$ bun test”); null when the agent has produced no tool-use yet.