Skip to content

2.17.0: faster reply alerts, in-app Hermes restart, secure input - #62

Merged
promptclickrun merged 4 commits into
mainfrom
fix/faster-reply-alerts
Sep 27, 2026
Merged

promptclickrun merged 4 commits into
mainfrom
fix/faster-reply-alerts

Conversation

@promptclickrun

Copy link
Copy Markdown
Owner

What's in 2.17.0

  • Faster reply alerts. Notifications are queued when the reply is saved (post_llm_call) instead of after Hermes finishes its post-turn memory sync and reviews (on_session_end), which delayed them 10–20 s. The sender polls every 1 s. A turn that ends without a reply still alerts at turn end.
  • In-app restart after an update (native-host-restart-v1). POST /api/plugins/loopdy/native/host/restart re-executes the serving Hermes process in place (same PID and flags, so launchd/systemd/Hermes Desktop keep supervising it). The bighelp app uses it after updating the plugin, then checks the new version is running. A test restarts a real process and checks it serves again.
  • Secure input for agents (bighelp_request_secure_input). An agent can ask for a password or key through Hermes' own secret-capture pathway (the app's masked pop-up, same as the TUI). Hermes saves the value to the profile's .env; the agent may use it only as $NAME in commands. The value never reaches the model. System variables and Hermes provider keys are refused.

Compatibility

Current app builds accept the new feature flag and already handle Hermes' secret request, so hosts that update early keep working.

Tests

New: test_host_restart (including a real in-place restart), test_secure_input, reply-alert timing tests. Startup-logging tests expect the new feature. test_native_device_tools middleware test is flaky on main as well (30 s hang), unrelated.

🤖 Generated with Claude Code

promptclickrun and others added 4 commits September 27, 2026 00:35
Reply alerts were queued at on_session_end, which Hermes fires only after
post-turn work such as external memory sync and background reviews, adding
seconds to every alert. post_llm_call fires once per finished, uninterrupted
turn right after the reply is saved (0.21.1 through 0.21.5), so the alert is
queued there; the later turn end sends nothing more for that turn. The sender
now checks every second, since an alert queued by another Hermes process
doesn't wake it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… update

POST /native/host/restart (native-host-restart-v1, POSIX only) re-executes
the process with its original command line after the response is written.
The PID is unchanged, so supervisors keep working. The bighelp app uses it
after updating the plugin so the new version actually loads, then verifies
the running version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bighelp_request_secure_input asks the person for a password or key through
Hermes' own secret-capture pathway (the app's masked pop-up). Hermes saves it
to the profile's .env; the agent may use it only as $NAME in commands. The
value never reaches the model. System names and Hermes provider keys are
refused. Startup-logging tests now expect native-host-restart-v1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@promptclickrun
promptclickrun merged commit fa8c1ee into main Sep 27, 2026
2 checks passed
@promptclickrun
promptclickrun deleted the fix/faster-reply-alerts branch September 27, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant