rebase #4569 onto master (v0.51.547) for ship-gate — extension status diagnostics (#4561 follow-up)

santastabber: authenticated /api/extensions/status endpoint reporting WHY an extension didn't load
(stable codes + coarse sources only, no path/env/URL leak). Co-authored-by: santastabber <santastabber@users.noreply.github.com>
This commit is contained in:
nesquena-hermes committed 2026-06-21 04:08:44 +00:00
1 parent 075b579a9c
commit 1b7c1fe619
5 files changed
+564 -22

No files matched your search

+2
View File
@@ -353,6 +353,8 @@ Full list of environment variables:
| `HERMES_WEBUI_AGENT_CACHE_MAX` | `25` | Max live agent instances kept warm in the in-memory LRU. Each pins a full conversation transcript, so this is the dominant lever on resident memory — lower it on installs with many long sessions to cap RAM (at the cost of more cold reloads) |
| `HERMES_WEBUI_SESSIONS_MAX` | `100` | Max compact `Session` objects held in the in-memory LRU. Lighter than the agent cache; lower it on installs with hundreds of sessions |
Extension deployments can inspect sanitized, authenticated diagnostics at `GET /api/extensions/status`; see [WebUI Extensions](docs/EXTENSIONS.md#diagnostics).
---
### Remote access (SSH tunnel, Tailscale, phone)