Skip to content

Native Windows notifications that stay in Notification Center and jump to the session when clicked #169

Open

Description

@AThraen

This was generated by AI during triage.

Summary

Replace the tray balloon tips with native Windows notifications that stay in Notification Center and, when clicked, jump to the session and bring CSM forward.

Today

ToastHelper shows tray balloon tips. They disappear after a few seconds, aren't kept in Notification Center, and clicking one doesn't take you to the session that raised it. If you were away from the desk, the alert is gone.

Herdr v0.9.4: "Windows notifications stay in Notification Center. Clicking one jumps to its pane and brings the terminal window forward."

Proposal

  • Toasts. Use the Windows App SDK AppNotificationManager or Microsoft.Toolkit.Uwp.Notifications. Confirm an OSI licence (OSS-only dependency rule) and that it works from a non-packaged WPF app — an AUMID / Start-menu shortcut may be needed, and the MSI already installs one.
  • Content. Title is the session name. Body is the alert ("Approval needed: Bash(npm test)", "Waiting for input", and later "Done" from Show which sessions have an agent actively working, plus an activity timeline across sessions #154). Arguments are session=<id>.
  • Activation. Restore and activate the window, call FocusSession(id) (so keyboard focus moves too), and clear the alert.
  • De-duplication. Group notifications per session, and replace the previous toast for the same session instead of stacking them.
  • Settings. Respect ShowToastNotifications. Remove the session's toasts from Notification Center when its alert clears in-app.

Related: #149 (tray / keep running), #154 ("done" notifications), #5 (notification noise).

Activity

  1. AThraen commented on Nov 10, 2026

    @AThraen
    ContributorAuthor

    This was generated by AI during triage.

    More events to notify on, after #190. OSC 7501 now raises a rate-limited tray toast whenever a record becomes blocked, done or error. These events are precise, unlike the old regex guesses, which makes them worth sending as native, clickable Windows notifications. Keep the existing rate limit when switching from tray balloons to native notifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions