Variable: DEFAULT_SUMMARY_MESSAGE_ID
ts
const DEFAULT_SUMMARY_MESSAGE_ID: "__compact-summary" = "__compact-summary";Defined in: src/batteries/context/compact/summarizer.ts:54
The default id assigned to the synthetic summary message assembleCompactedTurns emits.
Remarks
This exact string is the cross-battery contract with Token Thrift: thrift's @nhtio/adk/batteries/context/thrift/contracts!IsSummaryMessageFn default predicate is id === '__compact-summary' — a caller running compact upstream of thrift in the same pipeline gets, for free, thrift's protection of this message from being shed like an ordinary old turn. If a caller overrides summaryMessageId here, they must also override thrift's isSummaryMessage option to match, or thrift will treat the running summary as just another shed-able message.