Coverage for agentos/orchestration/swarm_coordinator.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-07-06 10:59 +0800

1""" 

2Deprecation shim — migrated to agentos.swarm.coordinator (v1.16.2). 

3 

4This file remains for backward compatibility only. 

5All classes now live in swarm/coordinator.py. 

6""" 

7 

8import warnings 

9 

10warnings.warn( 

11 "agentos.orchestration.swarm_coordinator is deprecated; " 

12 "import from agentos.swarm.coordinator instead.", 

13 DeprecationWarning, 

14 stacklevel=2, 

15) 

16 

17from agentos.swarm.coordinator import ( 

18 # Core coordinator 

19 SwarmCoordinator, 

20 # Topology 

21 SwarmTopology, 

22 # Message types 

23 SwarmMessage, 

24 MessageBus, 

25 # Enums 

26 SwarmAgentRole as AgentRole, 

27 TaskPriority, 

28 TaskStatus, 

29 ConflictType, 

30 # Dataclasses 

31 SwarmAgentInfo as AgentInfo, 

32 SwarmTask, 

33 # Classes 

34 TaskAllocator, 

35 ConflictResolver, 

36) 

37 

38__all__ = [ 

39 "SwarmCoordinator", 

40 "SwarmTopology", 

41 "SwarmMessage", 

42 "MessageBus", 

43 "AgentRole", 

44 "TaskPriority", 

45 "TaskStatus", 

46 "AgentInfo", 

47 "SwarmTask", 

48 "TaskAllocator", 

49 "ConflictResolver", 

50 "ConflictType", 

51]