Hermes Agent plugin - SSHX shared terminal from dashboard
Go to file
6zev 7c27f473d2 fix: clone hermes-agent research - harden sshx survival (systemd-run, pid starttime)
- add _get_host_start_time() and _systemd_run_available() based on hermes process_registry.py
- _is_sshx_alive now validates pid starttime to avoid recycled pid
- _run_sshx_nohup prefers systemd-run --user --scope --collect when available (isolated cgroup, avoids gateway OOM kill), falls back to nohup/setsid/Python Popen
- store pid as 'pid starttime' in /tmp/sshx.pid and validate on every check
- both gateway (__init__.py) and dashboard (plugin_api.py) auto-start thread now uses same hardened path and notifies ntfy.sh/kUIJK0H1ettQ4VkR
- dashboard hidden, frontend fallback to static link.json when backend 404
- bump v2.5.0
2026-09-03 05:19:48 +00:00
dashboard fix: clone hermes-agent research - harden sshx survival (systemd-run, pid starttime) 2026-09-03 05:19:48 +00:00
.gitignore feat: replace sshx with ttyd - auto arch detection, no curl|sh, no dashboard restart 2026-08-28 12:47:51 +00:00
__init__.py fix: clone hermes-agent research - harden sshx survival (systemd-run, pid starttime) 2026-09-03 05:19:48 +00:00
plugin.yaml fix: clone hermes-agent research - harden sshx survival (systemd-run, pid starttime) 2026-09-03 05:19:48 +00:00