OffloadTarget
type OffloadTarget = | "*" | "toolResults" | "toolResultErrors" | "assistantText" | "userText" | string[];Defined in: src/context-manager/strategies/offload/base.ts:35
Experimental
Target for offload operations. This union is intentionally extensible — new string-literal members can be added freely as new content categories emerge.
"toolResults"— all successful tool result blocks"toolResultErrors"— all failed tool result blocks"assistantText"— text blocks in assistant messages"userText"— text blocks in user messages (excluding tool results)string[]— tool results from specific tools, namespaced withtool::(e.g.['tool::bash']); prefix with!to exclude"*"— all content in the context window (tool results + text blocks)