From e2d034c551bd009255084e17eeb1d9d2ea8dc492 Mon Sep 17 00:00:00 2001 From: CleverThis Date: Wed, 22 Apr 2026 06:08:20 +0000 Subject: [PATCH] fix(context): export SlidingWindowStrategy from services __init__.py The SlidingWindowStrategy class was implemented but not exported from the services package __init__.py, making it inaccessible to consumers. This fix adds the necessary import and lazy-load entry to make the strategy available for use in the ACMS pipeline. --- src/cleveragents/application/services/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cleveragents/application/services/__init__.py b/src/cleveragents/application/services/__init__.py index 9f62b640f..d3684bc34 100644 --- a/src/cleveragents/application/services/__init__.py +++ b/src/cleveragents/application/services/__init__.py @@ -261,6 +261,9 @@ if TYPE_CHECKING: from cleveragents.application.services.skill_registry_service import ( SkillRegistryService as SkillRegistryService, ) + from cleveragents.application.services.sliding_window_strategy import ( + SlidingWindowStrategy as SlidingWindowStrategy, + ) from cleveragents.application.services.strategy_coordinator import ( CoordinationResult as CoordinationResult, ) @@ -515,6 +518,7 @@ _LAZY_IMPORTS: dict[str, tuple[str, str]] = { "PersistentSessionService": ("session_service", "PersistentSessionService"), "SkeletonCompressorService": ("skeleton_compressor", "SkeletonCompressorService"), "SkillRegistryService": ("skill_registry_service", "SkillRegistryService"), + "SlidingWindowStrategy": ("sliding_window_strategy", "SlidingWindowStrategy"), "CoordinationResult": ("strategy_coordinator", "CoordinationResult"), "CoordinatorConfig": ("strategy_coordinator", "CoordinatorConfig"), "StrategyCoordinator": ("strategy_coordinator", "StrategyCoordinator"),