Skip to content

parseActivity

parseActivity(text, limit?): ActivityEntry[]

Defined in: src/activity.ts:186

Parse a JSONL transcript into a chronological list of tool-use activity entries, pairing each tool_use with its tool_result for status. Returns the most-recent limit entries (oldest→newest). Malformed lines are skipped.

string

number = DEFAULT_LIMIT

ActivityEntry[]