fix(test): Resolve visual orchestration test and prepare hook env injection

This commit is contained in:
2026-03-06 11:27:16 -05:00
parent 3ec8ef8e05
commit 5066e98240
4 changed files with 16 additions and 7 deletions

View File

@@ -352,9 +352,9 @@ class AppController:
'btn_approve_spawn': lambda: self._handle_mma_respond(approved=True),
}
self._predefined_callbacks: dict[str, Callable[..., Any]] = {
'_test_callback_func_write_to_file': self._test_callback_func_write_to_file
'_test_callback_func_write_to_file': self._test_callback_func_write_to_file,
'_set_env_var': lambda k, v: os.environ.update({k: v})
}
def _update_gcli_adapter(self, path: str) -> None:
sys.stderr.write(f"[DEBUG] _update_gcli_adapter called with: {path}\n")
sys.stderr.flush()