Skip to content

AgUiContextCompactedValue

Defined in: packages/agent/src/modules/apiAgUiModule.ts:383

[[EXT-174]] — the value of an AGUI_CONTEXT_COMPACTED_EVENT event.

cause: "context_overflow"

Defined in: packages/agent/src/modules/apiAgUiModule.ts:385

Why the fold happened. Only the rejected request today; named so a preventive fold could not be mistaken for one.


compaction: ConversationCompaction

Defined in: packages/agent/src/modules/apiAgUiModule.ts:387

What the fold did, in the numbers /compact reports.


notice: SlashCommandNotice

Defined in: packages/agent/src/modules/apiAgUiModule.ts:393

The notice as the other surfaces render it, so a client can show the sentence without inventing wording of its own — the same pairing of fact and prose RUN_FINISHED’s result.termination carries.