SlidingWindowRecord
Interface: SlidingWindowRecord
Defined in: src/core/agent/window/types.ts:162
What one visit to slidingWindow put in the ledger.
Extends
Properties
iteration
readonlyiteration:number
Defined in: src/core/agent/window/types.ts:121
ReAct iteration this visit belongs to.
Inherited from
keepRecentTurns
readonlykeepRecentTurns:number
Defined in: src/core/agent/window/types.ts:165
The configured keep depth this visit measured against.
refusals
readonlyrefusals: readonlyWindowRefusal[]
Defined in: src/core/agent/window/types.ts:130
Every turn that refused to leave, named.
Inherited from
removedMessageCount
readonlyremovedMessageCount:number
Defined in: src/core/agent/window/types.ts:125
How many messages left the window.
Inherited from
WindowRecord.removedMessageCount
removedStageIds
readonlyremovedStageIds: readonlystring[]
Defined in: src/core/agent/window/types.ts:123
runtimeStageIds of the stages that appended the messages that left.
Inherited from
strategy
readonlystrategy:"sliding-window"
Defined in: src/core/agent/window/types.ts:163
WindowStrategy.name of the strategy that decided — 'summarize-oldest',
'sliding-window', 'token-budget', or your own. Narrow on it.
Overrides
turnsAfter
readonlyturnsAfter:number
Defined in: src/core/agent/window/types.ts:168
turnsBefore
readonlyturnsBefore:number
Defined in: src/core/agent/window/types.ts:167
Turns in the window before / after this visit. Counted, not estimated.
windowCharsAfter
readonlywindowCharsAfter:number
Defined in: src/core/agent/window/types.ts:128
Inherited from
windowCharsBefore
readonlywindowCharsBefore:number
Defined in: src/core/agent/window/types.ts:127
Window size in chars before / after this visit. Exact, and not tokens.
