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

3 statements  

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

1""" 

2Background Task Manager — submit tasks, poll progress, retrieve results. 

3 

4v1.11.0: Long-running task support with persistent state, progress milestones, 

5and agent supervision trees. 

6""" 

7 

8from agentos.background.task_manager import ( 

9 BackgroundTaskManager, 

10 BackgroundTask, 

11 BackgroundTaskStatus, 

12 BackgroundTaskConfig, 

13 TaskProgress, 

14 ProgressPhase, 

15) 

16 

17from agentos.background.supervisor import ( 

18 AgentSupervisor, 

19 SupervisedAgent, 

20 SupervisorConfig, 

21 AgentQuota, 

22 SupervisionEvent, 

23 SupervisionEventType, 

24) 

25 

26__all__ = [ 

27 "BackgroundTaskManager", 

28 "BackgroundTask", 

29 "BackgroundTaskStatus", 

30 "BackgroundTaskConfig", 

31 "TaskProgress", 

32 "ProgressPhase", 

33 "AgentSupervisor", 

34 "SupervisedAgent", 

35 "SupervisorConfig", 

36 "AgentQuota", 

37 "SupervisionEvent", 

38 "SupervisionEventType", 

39]