"CLI-Anything: Making ALL Software Agent-Native" -- CLI-Hub: https://clianything.cc/
Python
fix: tighten unreal insights e2e discovery
aimidi41d400c5c78b
diff --git a/README.md b/README.mdindex 8f603666c..109e34adb 100644--- a/README.md+++ b/README.md@@ -15,7 +15,7 @@ CLI-Anything: Bridging the Gap Between AI Agents and the World's Software</stron<a href="#-quick-start"><img src="https://img.shields.io/badge/Quick_Start-5_min-blue?style=for-the-badge" alt="Quick Start"></a><a href="https://hkuds.github.io/CLI-Anything/"><img src="https://img.shields.io/badge/CLI_Hub-Browse_%26_Install-ff69b4?style=for-the-badge" alt="CLI Hub"></a><a href="#-demonstrations"><img src="https://img.shields.io/badge/Demos-16_Apps-green?style=for-the-badge" alt="Demos"></a>- <a href="#-test-results"><img src="https://img.shields.io/badge/Tests-2%2C130_Passing-brightgreen?style=for-the-badge" alt="Tests"></a>+ <a href="#-test-results"><img src="https://img.shields.io/badge/Tests-2%2C202_Passing-brightgreen?style=for-the-badge" alt="Tests"></a><a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow?style=for-the-badge" alt="License"></a></p>@@ -588,7 +588,7 @@ AI agents are great at reasoning but terrible at using real professional softwar| πΈ "UI automation breaks constantly" | No screenshots, no clicking, no RPA fragility. Pure command-line reliability with structured interfaces || π "Agents need structured data" | Built-in JSON output for seamless agent consumption + human-readable formats for debugging || π§ "Custom integrations are expensive" | One Claude plugin auto-generates CLIs for ANY codebase through proven 7-phase pipeline |-| β‘ "Prototype vs Production gap" | 1,839+ tests with real software validation. Battle-tested across 16 major applications |+| β‘ "Prototype vs Production gap" | 2,202+ tests with real software validation. Battle-tested across 16 major applications |---@@ -1340,7 +1340,7 @@ MIT License β free to use, modify, and distribute.**CLI-Anything** β *Make any software with a codebase Agent-native.*-<sub>A methodology for the age of AI agents | 16 professional software demos | 1,839 passing tests</sub>+<sub>A methodology for the age of AI agents | 16 professional software demos | 2,202 passing tests</sub><br>diff --git a/unrealinsights/agent-harness/cli_anything/unrealinsights/tests/test_full_e2e.py b/unrealinsights/agent-harness/cli_anything/unrealinsights/tests/test_full_e2e.pyindex 52b61e4e1..a852a64d6 100644--- a/unrealinsights/agent-harness/cli_anything/unrealinsights/tests/test_full_e2e.py+++ b/unrealinsights/agent-harness/cli_anything/unrealinsights/tests/test_full_e2e.py@@ -13,15 +13,23 @@ from pathlib import Pathimport pytest+from cli_anything.unrealinsights.utils.unrealinsights_backend import resolve_unrealinsights_exe+HARNESS_ROOT = str(Path(__file__).resolve().parents[3])TEST_TRACE = os.environ.get("UNREALINSIGHTS_TEST_TRACE", "")TEST_TARGET_EXE = os.environ.get("UNREALINSIGHTS_TEST_TARGET_EXE", "")++def _has_local_insights() -> bool:+ try:+ return bool(resolve_unrealinsights_exe(required=False).get("available"))+ except RuntimeError:+ return False++HAS_TRACE = os.path.isfile(TEST_TRACE) if TEST_TRACE else FalseHAS_TARGET = os.path.isfile(TEST_TARGET_EXE) if TEST_TARGET_EXE else False-HAS_LOCAL_INSIGHTS = os.path.isfile(- r"D:\Program Files\Epic Games\UE_5.5\Engine\Binaries\Win64\UnrealInsights.exe"-) or bool(os.environ.get("UNREALINSIGHTS_EXE"))+HAS_LOCAL_INSIGHTS = _has_local_insights()skip_no_trace = pytest.mark.skipif(not HAS_TRACE, reason="UNREALINSIGHTS_TEST_TRACE not set or missing")skip_no_target = pytest.mark.skipif(not HAS_TARGET, reason="UNREALINSIGHTS_TEST_TARGET_EXE not set or missing")diff --git a/unrealinsights/agent-harness/cli_anything/unrealinsights/utils/unrealinsights_backend.py b/unrealinsights/agent-harness/cli_anything/unrealinsights/utils/unrealinsights_backend.pyindex ede607e2b..84176af11 100644--- a/unrealinsights/agent-harness/cli_anything/unrealinsights/utils/unrealinsights_backend.py+++ b/unrealinsights/agent-harness/cli_anything/unrealinsights/utils/unrealinsights_backend.py@@ -455,10 +455,11 @@ def terminate_process(pid: int, force: bool = False, timeout: float | None = Nonresult = run_process(command, timeout=timeout, wait=True)else:sig = signal.SIGKILL if force else signal.SIGTERM+ signal_arg = f"-{sig.name}"try:os.kill(pid, sig)result = {- "command": ["kill", str(sig), str(pid)],+ "command": ["kill", signal_arg, str(pid)],"waited": True,"timed_out": False,"exit_code": 0,@@ -468,7 +469,7 @@ def terminate_process(pid: int, force: bool = False, timeout: float | None = Non}except OSError as exc:result = {- "command": ["kill", str(sig), str(pid)],+ "command": ["kill", signal_arg, str(pid)],"waited": True,"timed_out": False,"exit_code": 1,