Parent: #14182
Goal
Move acp_adapter/ into hermes_agent/acp/. This is the canary PR — the smallest possible move (9 files, 1 external prod import) that creates the hermes_agent/ package and proves the workflow.
What moves
| Current Path |
New Path |
acp_adapter/__init__.py |
hermes_agent/acp/__init__.py |
acp_adapter/__main__.py |
hermes_agent/acp/__main__.py |
acp_adapter/server.py |
hermes_agent/acp/server.py |
acp_adapter/session.py |
hermes_agent/acp/session.py |
acp_adapter/tools.py |
hermes_agent/acp/tools.py |
acp_adapter/auth.py |
hermes_agent/acp/auth.py |
acp_adapter/permissions.py |
hermes_agent/acp/permissions.py |
acp_adapter/events.py |
hermes_agent/acp/events.py |
acp_adapter/entry.py |
hermes_agent/acp/entry.py |
New files
hermes_agent/__init__.py (creates the package)
Import rewrites
Internal (within moved files): acp_adapter.* → hermes_agent.acp.*
External callers (1 file):
# hermes_cli/main.py:
from acp_adapter.entry import main as acp_main
→ from hermes_agent.acp.entry import main as acp_main
Test files: ~11 import refs across tests/acp_adapter/
pyproject.toml changes
- ADD
hermes_agent, hermes_agent.* to packages.find include
- REMOVE
acp_adapter from packages.find include
- UPDATE entry point:
hermes-acp = "hermes_agent.acp.entry:main"
What this PR does NOT do
- No logic changes
- No
__init__.py re-exports (deferred to PR 6 when all packages exist)
- No infrastructure changes beyond pyproject.toml
Verification
rg "from acp_adapter[\. ]" --type py # should return 0
rg "import acp_adapter" --type py # should return 0
pytest
hermes-acp --help
Parent: #14182
Goal
Move
acp_adapter/intohermes_agent/acp/. This is the canary PR — the smallest possible move (9 files, 1 external prod import) that creates thehermes_agent/package and proves the workflow.What moves
acp_adapter/__init__.pyhermes_agent/acp/__init__.pyacp_adapter/__main__.pyhermes_agent/acp/__main__.pyacp_adapter/server.pyhermes_agent/acp/server.pyacp_adapter/session.pyhermes_agent/acp/session.pyacp_adapter/tools.pyhermes_agent/acp/tools.pyacp_adapter/auth.pyhermes_agent/acp/auth.pyacp_adapter/permissions.pyhermes_agent/acp/permissions.pyacp_adapter/events.pyhermes_agent/acp/events.pyacp_adapter/entry.pyhermes_agent/acp/entry.pyNew files
hermes_agent/__init__.py(creates the package)Import rewrites
Internal (within moved files):
acp_adapter.*→hermes_agent.acp.*External callers (1 file):
Test files: ~11 import refs across
tests/acp_adapter/pyproject.toml changes
hermes_agent,hermes_agent.*to packages.find includeacp_adapterfrom packages.find includehermes-acp = "hermes_agent.acp.entry:main"What this PR does NOT do
__init__.pyre-exports (deferred to PR 6 when all packages exist)Verification