Skip to content

ActivitySnapshot

Defined in: src/stall.ts:4

A minimal read of a session’s most-recent tool activity, for stall detection.

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: boolean

Defined in: src/stall.ts:9

the newest tool_use has no tool_result yet → a tool is still running.