Interfaces

SlidingWindowRecord

Interface: SlidingWindowRecord

Defined in: src/core/agent/window/types.ts:162

What one visit to slidingWindow put in the ledger.

Extends

Properties

iteration

readonly iteration: number

Defined in: src/core/agent/window/types.ts:121

ReAct iteration this visit belongs to.

Inherited from

WindowRecord.iteration


keepRecentTurns

readonly keepRecentTurns: number

Defined in: src/core/agent/window/types.ts:165

The configured keep depth this visit measured against.


refusals

readonly refusals: readonly WindowRefusal[]

Defined in: src/core/agent/window/types.ts:130

Every turn that refused to leave, named.

Inherited from

WindowRecord.refusals


removedMessageCount

readonly removedMessageCount: number

Defined in: src/core/agent/window/types.ts:125

How many messages left the window.

Inherited from

WindowRecord.removedMessageCount


removedStageIds

readonly removedStageIds: readonly string[]

Defined in: src/core/agent/window/types.ts:123

runtimeStageIds of the stages that appended the messages that left.

Inherited from

WindowRecord.removedStageIds


strategy

readonly strategy: "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

WindowRecord.strategy


turnsAfter

readonly turnsAfter: number

Defined in: src/core/agent/window/types.ts:168


turnsBefore

readonly turnsBefore: number

Defined in: src/core/agent/window/types.ts:167

Turns in the window before / after this visit. Counted, not estimated.


windowCharsAfter

readonly windowCharsAfter: number

Defined in: src/core/agent/window/types.ts:128

Inherited from

WindowRecord.windowCharsAfter


windowCharsBefore

readonly windowCharsBefore: number

Defined in: src/core/agent/window/types.ts:127

Window size in chars before / after this visit. Exact, and not tokens.

Inherited from

WindowRecord.windowCharsBefore

On this page