seref
5d24594ab3
feat(desktop): expose native OS notifications to plugins via ctx.notifyNative
...
Desktop plugins can toast in-app (host.notify) but have no sanctioned way to
reach the OS notification pipeline the app's own approval/turn alerts use, so
a plugin surfacing a genuinely notable background event (e.g. a discovery
plugin finding a match) stays invisible once the user steps away from Hermes.
Add a curated per-plugin door instead of exporting the raw dispatcher:
- ctx.notifyNative({ title, body?, silent? }) on PluginContext — attributed
to the plugin id, routed through dispatchNativeNotification so every
existing gate applies (master + per-kind prefs, post-connect baseline,
away-from-app gating, throttle).
- New 'plugin' native-notification kind with its own Settings ▸ Notifications
toggle (default on), so users silence plugins without losing app alerts.
- New optional `tag` discriminator on the notify payload keys the renderer
throttle and main-process cross-window dedupe per plugin, so two plugins
can't collapse each other's session-less notifications.
Consumer: the Index Network desktop plugin wants background opportunity
alerts; anything in ~/.hermes/desktop-plugins gets the same door.
2026-08-04 11:28:20 -06:00
..
2026-07-27 15:47:57 -05:00
2026-07-27 15:47:57 -05:00
2026-05-31 17:46:56 -05:00
2026-07-28 21:36:23 +00:00
2026-07-28 21:36:23 +00:00
2026-07-20 18:33:14 -05:00
2026-07-16 19:57:39 +00:00
2026-07-15 21:40:56 +00:00
2026-07-27 17:55:27 -05:00
2026-07-27 17:55:27 -05:00
2026-07-14 16:59:57 -04:00
2026-06-25 19:57:45 -05:00
2026-06-25 19:57:45 -05:00
2026-07-22 18:09:08 -05:00
2026-07-23 03:32:32 +00:00
2026-07-20 11:44:41 -04:00
2026-07-27 20:50:32 -05:00
2026-07-27 20:50:32 -05:00
2026-08-03 13:39:33 +05:30
2026-08-03 13:39:33 +05:30
2026-07-30 00:06:52 -05:00
2026-07-27 17:55:46 -05:00
2026-07-27 17:55:46 -05:00
2026-06-14 00:21:40 -05:00
2026-07-28 19:19:52 -05:00
2026-06-26 01:04:33 -05:00
2026-06-26 01:04:33 -05:00
2026-07-28 02:50:02 -05:00
2026-07-28 02:50:02 -05:00
2026-07-30 15:08:31 -04:00
2026-07-28 03:44:31 -05:00
2026-06-25 16:40:27 -05:00
2026-07-26 21:05:55 -05:00
2026-07-28 07:58:01 -07:00
2026-07-28 07:58:01 -07:00
2026-06-06 16:47:46 -05:00
2026-07-28 09:10:21 -04:00
2026-07-28 09:10:21 -04:00
2026-06-26 13:35:01 -05:00
2026-06-25 16:40:27 -05:00
2026-07-26 17:48:05 -07:00
2026-07-26 19:52:57 -05:00
2026-07-28 17:21:58 -05:00
2026-08-03 18:10:30 +05:30
2026-07-26 17:47:38 -07:00
2026-07-26 17:47:38 -07:00
2026-05-31 17:46:56 -05:00
2026-07-28 03:19:51 -05:00
2026-07-20 13:57:41 -05:00
2026-07-20 13:57:41 -05:00
2026-07-16 18:26:21 -04:00
2026-07-30 07:09:40 -05:00
2026-08-01 01:17:45 -05:00
2026-07-29 18:50:09 -05:00
2026-07-19 19:31:34 -04:00
2026-07-20 05:11:36 +00:00
2026-07-28 03:52:33 -05:00
2026-07-28 18:30:19 +00:00
2026-08-04 11:28:20 -06:00
2026-08-04 11:28:20 -06:00
2026-08-01 00:27:17 -05:00
2026-08-01 00:27:17 -05:00
2026-07-27 15:47:45 -05:00
2026-07-23 00:18:21 -05:00
2026-07-23 00:18:21 -05:00
2026-07-22 12:13:01 -05:00
2026-07-22 12:13:01 -05:00
2026-07-13 17:22:17 -04:00
2026-07-13 17:57:54 -04:00
2026-08-04 07:10:23 +00:00
2026-08-04 07:10:23 +00:00
2026-07-03 13:48:44 -05:00
2026-07-15 21:40:56 +00:00
2026-08-04 07:10:23 +00:00
2026-08-03 13:41:12 +05:30
2026-07-31 00:38:11 -05:00
2026-06-25 19:50:25 -05:00
2026-06-22 19:22:11 -05:00
2026-06-22 19:22:11 -05:00
2026-07-27 17:55:27 -05:00
2026-07-27 17:55:27 -05:00
2026-07-18 19:15:57 -04:00
2026-07-18 19:15:57 -04:00
2026-08-01 20:45:40 +00:00
2026-08-01 02:32:28 -05:00
2026-06-26 03:55:34 -05:00
2026-07-15 21:40:56 +00:00
2026-07-20 10:47:15 +00:00
2026-07-26 17:48:19 -07:00
2026-07-26 17:48:19 -07:00
2026-07-30 00:08:28 -05:00
2026-07-30 00:08:28 -05:00
2026-07-30 00:08:28 -05:00
2026-07-30 07:36:23 +00:00
2026-07-30 07:08:19 -05:00
2026-08-01 01:17:45 -05:00
2026-07-13 17:57:54 -04:00
2026-07-19 16:05:16 -05:00
2026-07-23 03:32:32 +00:00
2026-08-01 10:52:21 -07:00
2026-08-01 10:52:21 -07:00
2026-07-30 01:14:11 -05:00
2026-08-03 13:39:33 +05:30
2026-06-09 20:12:46 -05:00
2026-06-26 01:04:33 -05:00
2026-06-15 20:59:57 -05:00
2026-07-20 10:31:58 -04:00
2026-07-30 15:08:31 -04:00
2026-07-30 15:08:31 -04:00
2026-07-15 03:30:25 -04:00
2026-07-03 13:48:44 -05:00
2026-07-31 12:11:23 -05:00
2026-07-27 07:16:27 +00:00
2026-07-26 20:37:37 -07:00
2026-06-19 10:02:54 -05:00
2026-06-13 01:57:30 -05:00
2026-07-02 21:22:45 -05:00
2026-07-02 21:22:45 -05:00
2026-07-18 19:15:57 -04:00
2026-07-18 19:15:57 -04:00
2026-06-12 17:34:48 -05:00
2026-07-27 18:42:46 -05:00
2026-07-29 13:30:06 -05:00
2026-06-12 12:02:38 -05:00
2026-07-29 00:24:45 -05:00
2026-07-29 00:24:45 -05:00
2026-05-31 17:46:56 -05:00
2026-07-29 08:24:00 -07:00
2026-07-29 08:24:00 -07:00
2026-07-29 01:49:23 +00:00
2026-07-29 14:04:21 -06:00
2026-07-20 18:02:48 -05:00
2026-07-20 18:02:48 -05:00
2026-07-26 19:02:46 -05:00
2026-07-19 21:56:57 -05:00
2026-07-28 04:00:55 -05:00