Teknium
b711fd0513
feat(desktop): carry remote gateway headers through the connections registry, test probes, and Settings UI
...
Completes PR #74468 (remote gateway headers for Cloudflare Access, #74466 )
against the v2 multi-connection registry that landed after the PR was
authored, and closes the review blockers:
- connection-registry: additive optional `headers` field on remote/cloud
entries (normalized through the same forbidden-name filter, secret
envelopes like `token`); inherited on edit, treated as dial material by
connectionDialFieldsChanged, preserved by normalizeRegistry, and carried
through migrateV1ToRegistry. v2 registries without the field load
unchanged — no version bump.
- main.ts registry paths: connectRegistryBackend dials with the entry's
headers (readiness probe, ticket mint, descriptor REST via
getJsonForBackend/fetchJsonForBackend, registry ws-url minting with
rememberRemoteWsHeaders so renderer upgrades get them injected).
- saveRegistryConnection encrypts incoming plaintext header values with the
same safeStorage/allowPlainText seam as tokens; sanitizeRegistryConnection
exposes only header NAMES to the renderer — values never cross IPC.
- Connection tests exercise the leg they validate: both
hermes:connection-config:test and hermes:connections:test now send the
configured headers on the HTTP status call, the ws-ticket mint, AND the
live WebSocket probe (probeGatewayWebSocket grew an injectable `headers`
option passed as the undici WebSocket constructor's second argument).
- Settings → Connections gains an "Extra gateway headers" editor for
remote/cloud entries (name + secret value rows, stored values shown as
saved-but-hidden, clearable), with i18n keys (en + zh; other locales fall
back through defineLocale).
2026-08-16 19:58:49 -07:00
..
2026-08-15 02:20:23 -07:00
2026-07-26 16:12:14 -05:00
2026-07-26 16:12:14 -05:00
2026-08-10 17:02:56 -07:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-16 10:59:19 -07:00
2026-08-16 10:59:19 -07:00
2026-08-02 03:33:09 +00:00
2026-08-01 20:09:35 -04:00
2026-07-26 04:11:26 +00:00
2026-07-25 21:52:26 -05:00
2026-08-16 01:57:34 -07:00
2026-08-16 01:57:34 -07:00
2026-07-29 13:59:11 +05:30
2026-07-29 16:52:53 +05:30
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-16 19:58:37 -07:00
2026-08-16 19:58:37 -07:00
2026-08-13 03:33:45 +00:00
2026-07-14 10:24:15 -04:00
2026-07-31 22:33:53 -07:00
2026-08-01 20:45:40 +00:00
2026-07-19 23:42:14 +00:00
2026-07-19 23:42:14 +00:00
2026-07-20 23:01:49 +02:00
2026-07-24 12:55:06 -05:00
2026-08-16 19:58:49 -07:00
2026-08-16 19:58:49 -07:00
2026-08-16 19:58:49 -07:00
2026-08-16 19:58:49 -07:00
2026-07-27 13:41:59 -05:00
2026-07-27 13:41:59 -05:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-07-16 19:57:39 +00:00
2026-07-20 23:01:49 +02:00
2026-07-20 23:01:49 +02:00
2026-08-15 01:04:19 -07:00
2026-08-15 01:04:19 -07:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-07-27 23:52:33 -05:00
2026-07-27 23:52:33 -05:00
2026-07-08 16:24:16 -07:00
2026-07-28 13:40:44 -05:00
2026-07-28 13:40:44 -05:00
2026-07-20 18:33:14 -05:00
2026-07-20 18:36:05 -05:00
2026-08-14 21:44:50 +00:00
2026-08-14 16:27:01 -05:00
2026-07-23 17:59:58 -07:00
2026-07-23 17:59:58 -07:00
2026-08-15 02:20:23 -07:00
2026-08-15 09:33:47 +00:00
2026-08-15 09:33:47 +00:00
2026-07-24 12:55:06 -05:00
2026-07-24 12:55:06 -05:00
2026-07-24 12:55:06 -05:00
2026-07-13 17:22:17 -04:00
2026-07-12 05:32:54 -04:00
2026-08-15 00:37:00 -07:00
2026-08-15 00:37:00 -07:00
2026-08-15 00:37:00 -07:00
2026-08-16 19:58:49 -07:00
2026-08-16 19:58:49 -07:00
2026-08-14 16:51:00 -05:00
2026-07-21 14:28:28 +00:00
2026-07-21 14:28:28 +00:00
2026-08-03 00:08:30 +05:30
2026-08-12 22:48:00 -05:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-15 00:33:11 -07:00
2026-08-15 00:33:11 -07:00
2026-08-15 11:39:10 +00:00
2026-08-15 11:39:10 +00:00
2026-08-12 01:41:34 +00:00
2026-08-11 17:03:00 -05:00
2026-08-12 22:38:17 -07:00
2026-08-12 22:38:17 -07:00
2026-08-08 22:15:24 -05:00
2026-08-08 22:15:24 -05:00
2026-08-10 05:21:05 -05:00
2026-08-10 10:44:00 +00:00
2026-08-10 05:21:05 -05:00
2026-08-10 10:44:00 +00:00
2026-08-09 09:10:59 +00:00
2026-08-09 09:10:59 +00:00
2026-08-09 09:51:41 +00:00
2026-08-09 04:43:10 -05:00
2026-08-15 07:46:57 +00:00
2026-08-15 00:36:15 -07:00
2026-07-13 17:22:17 -04:00
2026-07-31 00:38:11 -05:00
2026-07-16 19:57:39 +00:00
2026-07-16 15:33:38 -04:00
2026-08-16 19:58:49 -07:00
2026-08-15 09:33:47 +00:00
2026-08-15 01:53:34 -07:00
2026-07-25 21:52:40 -05:00
2026-07-25 21:52:40 -05:00
2026-07-22 16:30:14 +00:00
2026-07-22 16:30:14 +00:00
2026-07-31 16:22:58 +00:00
2026-07-31 10:16:21 -04:00
2026-07-31 10:16:21 -04:00
2026-07-31 10:16:21 -04:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-16 09:32:26 +00:00
2026-08-16 09:32:26 +00:00
2026-08-16 23:33:14 +00:00
2026-08-16 23:33:14 +00:00
2026-08-16 03:17:39 -07:00
2026-08-16 03:17:39 -07:00
2026-08-16 16:26:50 -07:00
2026-08-16 16:26:50 -07:00
2026-07-20 11:50:22 -05:00
2026-07-20 11:50:22 -05:00
2026-08-16 16:26:50 -07:00
2026-07-24 12:55:06 -05:00
2026-07-31 18:54:27 +00:00
2026-07-24 12:55:06 -05:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-16 02:44:08 -07:00
2026-08-16 02:44:08 -07:00
2026-07-26 17:48:19 -07:00
2026-07-31 18:54:27 +00:00
2026-07-27 15:47:57 -05:00
2026-07-27 15:47:57 -05:00
2026-08-10 18:04:59 -07:00
2026-08-10 18:04:59 -07:00
2026-07-27 13:41:59 -05:00
2026-07-27 13:41:59 -05:00
2026-08-14 22:16:25 +00:00
2026-08-14 02:21:20 -05:00
2026-08-11 00:20:02 +00:00
2026-08-11 00:20:02 +00:00
2026-08-14 20:22:56 -07:00
2026-08-14 20:22:56 -07:00
2026-07-25 15:19:29 -04:00
2026-07-25 15:19:29 -04:00
2026-08-16 16:26:50 -07:00
2026-08-16 16:26:50 -07:00
2026-07-20 23:01:49 +02:00
2026-07-20 23:01:49 +02:00
2026-08-16 16:26:50 -07:00
2026-08-16 16:26:50 -07:00
2026-07-31 00:38:11 -05:00
2026-07-31 00:38:11 -05:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-14 21:44:50 +00:00
2026-08-14 13:09:44 -07:00
2026-07-28 23:53:25 -07:00
2026-07-28 23:53:25 -07:00
2026-08-01 10:47:45 -07:00
2026-08-01 10:47:45 -07:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-08-14 21:59:29 -07:00
2026-08-15 06:22:02 +00:00
2026-08-16 09:32:26 +00:00
2026-08-16 09:32:26 +00:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-08-10 19:00:19 -07:00
2026-08-10 19:00:19 -07:00
2026-08-01 14:30:11 -07:00
2026-08-09 04:43:10 -05:00
2026-08-14 16:51:00 -05:00
2026-08-11 02:09:04 +00:00
2026-08-11 02:09:04 +00:00
2026-08-08 16:51:44 -05:00
2026-08-08 16:51:44 -05:00
2026-08-08 22:13:08 -05:00
2026-08-08 22:17:38 -05:00
2026-08-10 17:02:56 -07:00
2026-07-13 17:22:17 -04:00
2026-07-15 21:40:56 +00:00
2026-07-15 21:40:56 +00:00
2026-08-01 14:30:16 -07:00
2026-08-01 14:30:16 -07:00
2026-07-20 23:01:49 +02:00
2026-07-18 02:26:19 -07:00
2026-07-18 02:26:19 -07:00
2026-07-17 18:55:34 -04:00
2026-07-18 04:56:56 +00:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-07-13 17:22:17 -04:00
2026-07-08 16:24:16 -07:00
2026-07-15 21:40:56 +00:00
2026-07-15 21:40:56 +00:00
2026-08-14 14:50:45 -07:00
2026-08-14 22:16:25 +00:00