hermes-agent/apps/desktop/src
Brooklyn Nicholson b8a2b9b93e feat(desktop): native OS credit alerts + billing-page nudge (#69808)
Round out the credit-notice handling from the previous commit with the two
optional pieces from the issue:

- Native OS notification for the urgent pair. `credits.depleted` /
  `credits.restored` also fire an Electron notification when Hermes is
  backgrounded, via a new `credits` NativeNotificationKind (the existing
  five didn't fit) with its own toggle in Settings → Notifications (the
  panel is data-driven off NATIVE_NOTIFICATION_KINDS, so the toggle and
  i18n are the only additions). The escalating usage line and grant-spent
  notice stay in-app toasts only. Dispatch is `global` (account-wide, not
  session-bound) and gated by the user's prefs + backgrounded check.
- Billing-page nudge. A `credits.*` crossing invalidates the
  `['billing','state']` query so Settings → Billing reflects the change
  immediately instead of waiting up to 30s for its poll.

`nativeNoticeInput()` is a pure mapping (urgent-key gate → native input),
unit-tested directly; the gateway-event branch does the localized-title
lookup and gated dispatch. i18n added for all four locales.
2026-07-23 01:25:58 -05:00
..
app feat(desktop): native OS credit alerts + billing-page nudge (#69808) 2026-07-23 01:25:58 -05:00
assets/tiers
…
components feat(desktop): improve tool call detail views (#69868) 2026-07-23 01:27:38 -04:00
contrib
…
fonts
…
hooks
…
i18n feat(desktop): native OS credit alerts + billing-page nudge (#69808) 2026-07-23 01:25:58 -05:00
lib Merge pull request #69884 from NousResearch/bb/salvage-55707-onboarding 2026-07-23 00:28:29 -05:00
plugins
…
sdk
…
store feat(desktop): native OS credit alerts + billing-page nudge (#69808) 2026-07-23 01:25:58 -05:00
themes
…
types
…
global.d.ts
…
hermes-cron-scope.test.ts
…
hermes-parity.test.ts
…
hermes-profile-scope.test.ts
…
hermes.test.ts
…
hermes.ts
…
main.tsx
…
styles.css
…
vite-env.d.ts
…