simplify(compat): hermes_cli small facades — drop 7 re-exports/aliases (+relay_runtime alias module), repoint 12 callers/tests
This commit is contained in:
@@ -749,7 +749,7 @@ class TestGitBashPathNormalization:
|
||||
|
||||
def test_posix_noop(self):
|
||||
"""Must NOT mutate paths on Linux/macOS."""
|
||||
from cli import _normalize_git_bash_path
|
||||
from hermes_cli.worktree_ops import _normalize_git_bash_path
|
||||
if sys.platform != "win32":
|
||||
assert _normalize_git_bash_path("/home/teknium/foo") == "/home/teknium/foo"
|
||||
assert _normalize_git_bash_path("/c/Users/foo") == "/c/Users/foo"
|
||||
|
||||
@@ -370,7 +370,7 @@ class TestDelegationCleanup:
|
||||
reset_hermes_home_override,
|
||||
set_hermes_home_override,
|
||||
)
|
||||
from hermes_cli.observability import relay_runtime
|
||||
from agent import relay_runtime
|
||||
from tools.delegate_tool import _run_single_child
|
||||
|
||||
parent = MagicMock()
|
||||
@@ -415,7 +415,7 @@ class TestDelegationCleanup:
|
||||
def test_active_child_turn_owns_relay_scope_cleanup(self, monkeypatch):
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from hermes_cli.observability import relay_runtime
|
||||
from agent import relay_runtime
|
||||
from tools.delegate_tool import _run_single_child
|
||||
|
||||
parent = MagicMock()
|
||||
|
||||
Reference in New Issue
Block a user