simplify(compat): interrupt — drop _ThreadAwareEventProxy/_interrupt_event legacy alias, repoint 2 test files
No runtime consumer read the proxy (terminal_tool/environments call is_interrupted()/set_interrupt() directly); its only users were tests patching tools.interrupt._interrupt_event, which had no effect on the code under test. tools/terminal_tool.py's own re-export of the name is owned by another worker.
This commit is contained in:
@@ -18,8 +18,7 @@ from fastapi.responses import FileResponse, HTMLResponse, JSONResponse, Response
|
||||
from fastapi.staticfiles import StaticFiles
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, List, Optional
|
||||
from hermes_cli.config import cfg_get
|
||||
from hermes_constants import get_process_hermes_home
|
||||
from hermes_cli.config import cfg_get, get_process_hermes_home
|
||||
from utils import env_var_enabled
|
||||
|
||||
# Same logger the code used before extraction (record parity).
|
||||
|
||||
Reference in New Issue
Block a user