The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(webapp): list clipboard reads and the wake word among what plain HTTP loses
unsupportedpastels86fa3afdf433
diff --git a/hermes_cli/webapp_launcher.py b/hermes_cli/webapp_launcher.pyindex d0146e23442..f5428019019 100644--- a/hermes_cli/webapp_launcher.py+++ b/hermes_cli/webapp_launcher.py@@ -32,11 +32,12 @@ STARTED_BEFORE_ON = f"The gateway started before the Webapp was turned on. Resta# socket answers, so the gateway running predates them (an upgrade it has not restarted onto).OLDER_GATEWAY = ("The running gateway is older than the Webapp and does not know its commands. Restart it "f"onto this version of Hermes: {RESTART_COMMAND}")-# Browsers keep secure-context APIs (crypto.subtle, mediaDevices, Notification) from a plain-HTTP origin-# that is not loopback.+# Browsers keep secure-context APIs (crypto.subtle, mediaDevices, navigator.clipboard, Notification) from a+# plain-HTTP origin that is not loopback.PLAIN_HTTP_NOTE = ("This address is plain HTTP, so the browser turns off what needs a secure connection: the bot "- "screen, the microphone (dictation and live voice) and system notifications. Open the Webapp "- "over HTTPS (webapp.public_url) or through an SSH tunnel to 127.0.0.1 to use them.")+ "screen, the microphone (dictation, live voice and the remote wake word), reading the clipboard "+ "(terminal paste, pasting an image) and system notifications. Open the Webapp over HTTPS "+ "(webapp.public_url) or through an SSH tunnel to 127.0.0.1 to use them.")# How long --sign-out waits for a gateway that is still starting to answer (30 s)._START_WAIT_ATTEMPTS, _START_WAIT_INTERVAL = 60, 0.5diff --git a/tests/hermes_cli/test_webapp_launcher.py b/tests/hermes_cli/test_webapp_launcher.pyindex 0ba0aaceb60..5118ad19644 100644--- a/tests/hermes_cli/test_webapp_launcher.py+++ b/tests/hermes_cli/test_webapp_launcher.py@@ -431,7 +431,8 @@ def test_a_link_for_the_user_to_open_by_hand_is_printed_and_never_handed_to_a_brdef _says_what_plain_http_loses(out: str) -> bool:lowered = out.lower()- return all(part in lowered for part in ("plain http", "bot screen", "microphone", "notifications", "https"))+ return all(part in lowered for part in ("plain http", "bot screen", "microphone", "wake word",+ "reading the clipboard", "notifications", "https"))@pytest.mark.parametrize("no_open", [False, True])diff --git a/website/docs/user-guide/desktop.md b/website/docs/user-guide/desktop.mdindex 9fca2edd581..c5905fd0cfd 100644--- a/website/docs/user-guide/desktop.md+++ b/website/docs/user-guide/desktop.md@@ -83,7 +83,8 @@ links serve only a Webapp that needs no sign-in. HTTPS is strongly recommended r**What plain HTTP loses.** Browsers turn off features that need a secure context on a plain-HTTPaddress other than loopback (`http://localhost` and `http://127.0.0.1` count as secure): the bot-screen viewer, the microphone (dictation and live voice) and system notifications. The bot screen and+screen viewer, the microphone (dictation, live voice and the remote wake word), reading the clipboard+(terminal paste, pasting an image) and system notifications. The bot screen andlive voice say so instead of opening. `hermes webapp` and `hermes webapp --status` print a note whenthe address a browser opens (`webapp.public_url`, else the LAN address **Start** registered sign-infor) is plain HTTP on another host. To keep these features, open the Webapp over