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

3 statements  

« prev     ^ index     » next       coverage.py v7.14.3, created at 2026-07-06 12:29 +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.supervisor import ( 

9 AgentQuota, 

10 AgentSupervisor, 

11 SupervisedAgent, 

12 SupervisionEvent, 

13 SupervisionEventType, 

14 SupervisorConfig, 

15) 

16from agentos.background.task_manager import ( 

17 BackgroundTask, 

18 BackgroundTaskConfig, 

19 BackgroundTaskManager, 

20 BackgroundTaskStatus, 

21 ProgressPhase, 

22 TaskProgress, 

23) 

24 

25__all__ = [ 

26 "BackgroundTaskManager", 

27 "BackgroundTask", 

28 "BackgroundTaskStatus", 

29 "BackgroundTaskConfig", 

30 "TaskProgress", 

31 "ProgressPhase", 

32 "AgentSupervisor", 

33 "SupervisedAgent", 

34 "SupervisorConfig", 

35 "AgentQuota", 

36 "SupervisionEvent", 

37 "SupervisionEventType", 

38]