refactor(acp): rewrite imports and update infra for hermes_agent.acp

Rewrite all acp_adapter imports to hermes_agent.acp in source, tests,
and pyproject.toml. Convert relative imports to absolute per manifest
convention. Strip sys.path hack from entry.py (redundant with editable
install). Update pyproject.toml entry point and packages.find.

Part of #14586, #14182
This commit is contained in:
alt-glitch 2026-04-23 20:52:20 +05:30
parent 193f3b8339
commit 420c4d02e2
16 changed files with 61 additions and 67 deletions

2
cli.py
View file

@ -8454,7 +8454,7 @@ class HermesCLI:
# in terminal_tool is populated for this thread. The main thread
# registration (run() line ~9046) is invisible here because
# _callback_tls is threading.local(). Matches the pattern used
# by acp_adapter/server.py for ACP sessions.
# by hermes_agent/acp/server.py for ACP sessions.
set_sudo_password_callback(self._sudo_password_callback)
set_approval_callback(self._approval_callback)
try: