The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(hermes_cli): merge simp/r3-19-A1 (round 3) — systemd/launchd docstring compaction, _positive_pid/_launchd_ok helpers
Tekniumb72baecf6907
diff --cc hermes_cli/gateway.pyindex d0a8e630dee,607b815c415..d7059cbc3de--- a/hermes_cli/gateway.py+++ b/hermes_cli/gateway.py@@@ -1749,9 -1744,10 +1715,10 @@@ _WINDOWS_TASK_SUPERVISOR_STATES = frozedef _windows_scheduled_task_state(task_name: str) -> str | None:"""English ``Get-ScheduledTask`` State, or None on failure. PowerShell, not ``schtasks``: schtasks- localizes its output in the local codepage; the ``State`` enum is stable across locales."""+ localizes its output in the local codepage (utf-8 decoding mangles it); the State enum is stable."""if not is_windows():return None+ ps_cmd = f"$t = Get-ScheduledTask -TaskName '{task_name}' -ErrorAction SilentlyContinue; if ($t) {{ $t.State }} else {{ 'MISSING' }}"try:powershell = shutil.which("powershell") or shutil.which("pwsh")if powershell is None: