diff --git a/A2A/Manus/__init__.py b/protocol/a2a/__init__.py similarity index 100% rename from A2A/Manus/__init__.py rename to protocol/a2a/__init__.py diff --git a/A2A/Manus/README.md b/protocol/a2a/app/README.md similarity index 99% rename from A2A/Manus/README.md rename to protocol/a2a/app/README.md index 0dac56a..9520f88 100644 --- a/A2A/Manus/README.md +++ b/protocol/a2a/app/README.md @@ -13,7 +13,7 @@ This is an experimental integration of the A2A protocol (https://google.github.i ```bash cd OpenManus - python -m A2A.Manus.main + python -m protocol.a2a.app.main ``` 2. Clone A2A official repository and run A2A Client,there are two ways to use A2AClient——CLI and Register A2A Agent Server in UI.(details at https://github.com/google/A2A): diff --git a/A2A/Manus/README_zh.md b/protocol/a2a/app/README_zh.md similarity index 99% rename from A2A/Manus/README_zh.md rename to protocol/a2a/app/README_zh.md index d345ccc..1b8f66f 100644 --- a/A2A/Manus/README_zh.md +++ b/protocol/a2a/app/README_zh.md @@ -14,7 +14,7 @@ ```bash cd OpenManus - python -m A2A.Manus.main + python -m protocol.a2a.app.main ``` 2. 拉取A2A官方库并运行A2A Client,有两种使用A2A客户端的方式——CLI以及在前端页面注册Agent服务。(详情参考https://github.com/google/A2A): diff --git a/A2A/__init__.py b/protocol/a2a/app/__init__.py similarity index 100% rename from A2A/__init__.py rename to protocol/a2a/app/__init__.py diff --git a/A2A/Manus/agent.py b/protocol/a2a/app/agent.py similarity index 100% rename from A2A/Manus/agent.py rename to protocol/a2a/app/agent.py diff --git a/A2A/Manus/agent_executor.py b/protocol/a2a/app/agent_executor.py similarity index 98% rename from A2A/Manus/agent_executor.py rename to protocol/a2a/app/agent_executor.py index 857ab05..ea66618 100644 --- a/A2A/Manus/agent_executor.py +++ b/protocol/a2a/app/agent_executor.py @@ -14,7 +14,7 @@ from a2a.utils import ( completed_task, new_artifact, ) -from A2A.Manus.agent import A2AManus +from .agent import A2AManus from a2a.utils.errors import ServerError from typing import Callable, Awaitable diff --git a/A2A/Manus/main.py b/protocol/a2a/app/main.py similarity index 97% rename from A2A/Manus/main.py rename to protocol/a2a/app/main.py index c0eb604..66ca26c 100644 --- a/A2A/Manus/main.py +++ b/protocol/a2a/app/main.py @@ -9,9 +9,9 @@ from a2a.types import ( AgentSkill, ) -from A2A.Manus.agent_executor import ManusExecutor +from .agent_executor import ManusExecutor -from A2A.Manus.agent import A2AManus +from .agent import A2AManus from app.tool.browser_use_tool import _BROWSER_DESCRIPTION from app.tool.str_replace_editor import _STR_REPLACE_EDITOR_DESCRIPTION from app.tool.terminate import _TERMINATE_DESCRIPTION