mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-15 16:29:17 +00:00
Direct delegation awaited the child's monologue without assigning a task to its separate context. Child chats therefore appeared idle while working and could not be stopped independently through the normal context controls. Run direct delegation through the child's existing AgentContext.run_task and await its result. Propagate caller cancellation to the child, while treating a child-only Stop as a recoverable error for the parent. Preserve inline execution for legacy shared-context agents and existing parallel job ownership. Add lifecycle coverage for direct and nested completion, failure, parent/child Stop, intervention, and legacy execution. Update profile test doubles and the tool's ownership documentation. Validation: 121 focused checks passed; the nine lifecycle cases also passed in the container framework runtime. Live UI checks verified Working/Paused transitions, child reuse, completion, and parent recovery after child-only Stop. |
||
|---|---|---|
| .. | ||
| a2a_chat.py | ||
| a2a_chat.py.dox.md | ||
| AGENTS.md | ||
| browser._py | ||
| browser_do._py | ||
| browser_open._py | ||
| call_subordinate.py | ||
| call_subordinate.py.dox.md | ||
| document_query.py | ||
| document_query.py.dox.md | ||
| knowledge_tool._py | ||
| notify_user.py | ||
| notify_user.py.dox.md | ||
| parallel.py | ||
| parallel.py.dox.md | ||
| response.py | ||
| response.py.dox.md | ||
| scheduler.py | ||
| scheduler.py.dox.md | ||
| search_engine.py | ||
| search_engine.py.dox.md | ||
| skills_tool.py | ||
| skills_tool.py.dox.md | ||
| unknown.py | ||
| unknown.py.dox.md | ||
| vision_load.py | ||
| vision_load.py.dox.md | ||
| wait.py | ||
| wait.py.dox.md | ||