buildTranscriptDigest
buildTranscriptDigest(
entries,maxChars?):string
Defined in: src/recap-core.ts:75
Build a bounded digest of what the agent did from parsed transcript entries (tool-use summaries, oldest→newest), capped to ~maxChars (default RECAP_DIGEST_MAX_CHARS). If the very first entry exceeds the cap, a truncated version of it is included so a single large entry always contributes something rather than returning "".
Parameters
Section titled “Parameters”entries
Section titled “entries”maxChars?
Section titled “maxChars?”number = RECAP_DIGEST_MAX_CHARS
Returns
Section titled “Returns”string