mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-04 09:28:56 +00:00
Move the a2a_chat tool, its FastA2A client helper, prompts, and DOX into a _a2a_chat plugin so agent-to-agent chat ships as a standard plugin. Invalid reset arguments return a repairable message, concurrent session updates merge instead of overwriting each other, and agent-facing failure and repair messages render from plugin prompt files instead of Python literals. The tool logs its message as its own `a2a_chat` type with an `icon://hub Chatting: <agent_url>` headline rendered through an A2A badge handler with lilac accent styles, joined later by the computer use badge in the remote family. Validation: pytest tests/test_tool_action_contracts.py tests/test_a2a_chat_tool.py