Coverage for agentos/subagent/__init__.py: 100%

4 statements  

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

1"""Sub-agent management: spec, mode, lifecycle, parent-child communication, collaboration.""" 

2 

3from .collaboration import ( 

4 AgentCollaboration, 

5 CollaborationMode, 

6 CollaborationResult, 

7 DebateRound, 

8 ReviewPass, 

9 VoteBallot, 

10 VoteStrategy, 

11) 

12from .manager import SubAgentManager, SubAgentMode, SubAgentResult, SubAgentSpec 

13from .parent_child import ( 

14 ChildContext, 

15 ChildHandle, 

16 ChildHeartbeat, 

17 ChildInfo, 

18 ChildStatus, 

19 SharedState, 

20) 

21 

22__all__ = [ 

23 # Manager 

24 "SubAgentManager", 

25 "SubAgentMode", 

26 "SubAgentSpec", 

27 "SubAgentResult", 

28 # Parent-Child 

29 "ChildStatus", 

30 "ChildHeartbeat", 

31 "ChildInfo", 

32 "SharedState", 

33 "ChildContext", 

34 "ChildHandle", 

35 # Collaboration 

36 "AgentCollaboration", 

37 "CollaborationMode", 

38 "CollaborationResult", 

39 "DebateRound", 

40 "VoteBallot", 

41 "VoteStrategy", 

42 "ReviewPass", 

43]