Skip to content

ContextManagerStrategy

type ContextManagerStrategy =
| ContextManagerPreset
| ContextManagerConfig
| false;

Defined in: src/context-manager/context-manager.ts:41

Supported values for the contextManager parameter.

  • "auto": Managed context with proactive compression + offloading.
  • "agentic": Model-driven context management via injected tools.
  • ContextManagerConfig: Custom strategy pipeline and stash configuration.
  • false: Explicitly disable all context management (no compression, no offloading).