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

4 statements  

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

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

2 

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

4from .parent_child import ( 

5 ChildStatus, 

6 ChildHeartbeat, 

7 ChildInfo, 

8 SharedState, 

9 ChildContext, 

10 ChildHandle, 

11) 

12from .collaboration import ( 

13 AgentCollaboration, 

14 CollaborationMode, 

15 CollaborationResult, 

16 DebateRound, 

17 VoteBallot, 

18 VoteStrategy, 

19 ReviewPass, 

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]