From 65037708982605b67e04ad8c963cb0d7329769df Mon Sep 17 00:00:00 2001 From: Antigravity Date: Sun, 10 May 2026 01:17:13 -0300 Subject: [PATCH] Add -l to chroot bash to source environment variables --- core_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core_tools.py b/core_tools.py index 1d2148d..5316b99 100644 --- a/core_tools.py +++ b/core_tools.py @@ -521,7 +521,7 @@ def delegate_to_hermes(task: str) -> str: # Tentativa 3: Fallback para o CLI antigo do host (Antigravity original via chroot) if os.path.exists("/host_root"): - return run_bash(f"chroot /host_root /bin/bash -c \"hermes -z {safe_task}\"", timeout=300) + return run_bash(f"chroot /host_root /bin/bash -l -c \"hermes -z {safe_task}\"", timeout=300) else: return run_bash(f"hermes -z {safe_task}", timeout=300)