1 from dataclasses import dataclass

2 from enum import Enum

3 class SubAgentMode(Enum): SYNC='sync'

4@dataclass

5 class SubAgentSpec: name:str=''

6@dataclass

7 class SubAgentResult: ok:bool=True

8 class ChildStatus(Enum): RUNNING='running'

9@dataclass

10 class ChildHeartbeat: ts:float=0.0

11@dataclass

12 class ChildInfo: name:str=''

13@dataclass

14 class SharedState: pass

15@dataclass

16 class ChildContext: pass

17 class ChildHandle: pass

18 class SubAgentManager: pass