Files
hermes-agent/hermes_platform/host/__init__.py
unsupportedpastels 6e74050c53 feat(gateway): report the Windows start context in gateway attach
`hermes gateway attach --json` now always carries
`start_context.windows_service_session`: true when the caller runs
elevated in Windows session 0 (an administrator OpenSSH login), false
everywhere else. A gateway started from such a login refuses the user's
desktop apps with gateway_other_session, so `attach --start` prints a
one-line stderr warning there. It still starts the gateway and exits
with the same code.
2026-11-14 10:40:53 -05:00

9 lines
284 B
Python

"""Cached facts about the machine running this Python process.
Facts use hardware sources without environment-variable input or subprocesses.
"""
from hermes_platform.host.facts import interactive_session, windows_session_id
__all__ = ["interactive_session", "windows_session_id"]