Skip to content

Documentation / @agentick/core / compactEntries

Function: compactEntries() ​

compactEntries(entries, options): CompactResult

Defined in: core/src/jsx/components/token-budget.ts:186

Apply token budget compaction to a set of entries.

Pure function — no side effects, no React, no hooks.

Parameters ​

entries ​

COMTimelineEntry[]

options ​

CompactOptions

Returns ​

CompactResult

Released under the ISC License.