Skip to content

readTranscriptSignals

readTranscriptSignals(path): object

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

Read a session JSONL transcript ONCE and derive BOTH the stall snapshot and the activity signal from a SINGLE parse — the per-tick probe for a running agent. Missing/unreadable file → both null. One tail-bounded read, one parseActivity, one latestRecordTs, both builders fed from the result — no duplicate disk read or in-memory parse per tick.

string

object

activity: SessionActivity | null

snapshot: ActivitySnapshot | null