`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.
9 lines
284 B
Python
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"]
|