Skip to content

feat: enrich native macOS notifications with subtitle and session grouping#466

Merged
garysheng merged 1 commit intoPeonPing:mainfrom
smurfy92:feat/native-macos-notifications
Apr 14, 2026
Merged

feat: enrich native macOS notifications with subtitle and session grouping#466
garysheng merged 1 commit intoPeonPing:mainfrom
smurfy92:feat/native-macos-notifications

Conversation

@smurfy92
Copy link
Copy Markdown
Contributor

Summary

When users choose `notification_style: "standard"`, they get native macOS Notification Center popups instead of the overlay themes. This PR makes those native notifications richer:

  • Subtitle support — tool name, question preview, etc. (via `terminal-notifier -subtitle` and `display notification ... subtitle`)
  • Session grouping — consecutive notifications from the same session replace each other in Notification Center (via `-group peon-ping-<session_id>`) instead of piling up

Test plan

  • Set `notification_style: "standard"` in config
  • Trigger a notification → verify subtitle appears
  • Trigger 3 notifications from same session → verify Notification Center shows one grouped item

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 14, 2026

@smurfy92 is attempting to deploy a commit to the Gary Sheng's projects Team on Vercel.

A member of the Team first needs to authorize it.

…uping

Standard-style notifications (when notification_style: "standard") now:
- Include the subtitle (tool name, question preview) via terminal-notifier
  and osascript display notification
- Group notifications by session_id so consecutive notifications from
  the same Claude session replace each other in Notification Center
  instead of accumulating

This makes native macOS notifications a viable alternative to the
overlay themes for users who prefer the system notification center.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@garysheng garysheng force-pushed the feat/native-macos-notifications branch from 4a18243 to d661707 Compare April 14, 2026 22:10
@garysheng garysheng merged commit 85c4890 into PeonPing:main Apr 14, 2026
0 of 3 checks passed
garysheng added a commit that referenced this pull request Apr 14, 2026
- native macOS notifications with subtitle + session grouping (#466)
- peon packs rotation add --install flag (#468)
- inline shell var to os.environ.get() refactor (#469)
- peon setup wizard docs (#467)
- homebrew formula delegates to pack-download.sh (homebrew-tap #15)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants