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.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”object
activity
Section titled “activity”activity:
SessionActivity|null
snapshot
Section titled “snapshot”snapshot:
ActivitySnapshot|null