Task 系统与任务调度

解析 Claude Code 的任务系统:LocalAgentTask、RemoteAgentTask、InProcessTeammateTask、DreamTask 的实现,以及任务调度、状态管理和生命周期控制。