ContextUsage
The snapshot contextUsage block: the latest
(windowTokens, usedTokens, pressure) triple; the snapshot member is
null until the fold’s generation chain holds a tracked anchor AND the
current basis is present (absent is never fabricated).
Fields and variants
Section titled “Fields and variants”pressureusedTokenswindowTokens
Source
schema/msp/experimental/msp.schema.json#/types/ContextUsage
{ "description": "The snapshot `contextUsage` block: the latest\n`(windowTokens, usedTokens, pressure)` triple; the snapshot member is\n`null` until the fold's generation chain holds a tracked anchor AND the\ncurrent basis is present (absent is never fabricated).", "properties": { "pressure": { "$ref": "#/$defs/ContextPressureLevel", "description": "Server-computed pressure level." }, "usedTokens": { "description": "Counted-once occupancy at the latest provider-reported fact.", "type": "integer" }, "windowTokens": { "description": "The effective context-window size; absent when the basis has no limit.", "type": "integer" } }, "required": [ "pressure", "usedTokens" ], "type": "object"}