mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-14 11:40:44 +00:00
f106fcd1f5
Add creationflags to _run_git() and _config_names_for_scope() so git child processes don't accumulate hidden cmd.exe/conhost windows on Windows. Uses a local module-level _windows_hide_flags() helper (mirrors the api/updates.py pattern: CREATE_NO_WINDOW on win32, 0 elsewhere) rather than importing from the OPTIONAL hermes_cli package — a standalone/agent-less WebUI (and the repo's own CI runners, which don't pip-install hermes-agent) must keep full workspace-git functionality. windows_hide_flags() is a safe no-op (0) on non-Windows. Scoped to workspace git commands. Adds mutation-checked tests asserting the kwarg is wired on both sites. Co-authored-by: nesquena-hermes <nesquena-hermes@users.noreply.github.com>