ActivitySnapshot
Defined in: src/stall.ts:4
A minimal read of a session’s most-recent tool activity, for stall detection.
Properties
Section titled “Properties”lastTs
Section titled “lastTs”lastTs:
number
Defined in: src/stall.ts:7
ms epoch of the newest transcript record — tool completions and resumed output included, not just a new tool_use’s start. 0 if none yet.
pending
Section titled “pending”pending:
boolean
Defined in: src/stall.ts:9
the newest tool_use has no tool_result yet → a tool is still running.