Repository navigation
Conversation
…d or did On macOS, Better Alerts now posts through HerdrAlerts.app, a small Swift app that helper/build.sh compiles and signs on the person's Mac. Its notifications carry Herdr's name and icon, and a click (even after the app quit) shows the agent and brings Herdr forward. Until it's built, or when macOS refuses it, alerts go through osascript. Every notification now reads "<program> / <space> - NEEDS YOU|DONE", then the tab, then the agent's question or how its last reply began, read from its screen with hc read. Linux escapes the body for markup daemons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… a new preview GNOME shows a banner's body on one line, with a newline as a plain space, so "Fix the login form Do you want…" read as one sentence. The preview is now GNOME's own banners with the new wording, and its bullets say macOS and Linux, and that the alert shows the question or reply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Better Alerts now works on macOS, and every alert says what the agent asked or did.
sequenceDiagram participant Mod as Better Alerts (main.js) participant App as HerdrAlerts.app participant MacOS as macOS participant Herdr Mod->>Mod: hc read <agent> → words.js Mod->>App: open -g -n … --args post title tab message target App->>MacOS: UNUserNotificationCenter (Herdr's name + icon) App-->>App: quits MacOS->>App: click relaunches it App->>Herdr: herdr-app do agent.focus <target>, then bring Herdr forwardThe wording:
?(needs you), or how the last reply began (done): from Claude Code's⏺or Codex's•, with the prompt, status bar and timing lines skipped. It's cut to 140 characters.·, because GNOME shows a banner's body on one line and turns a newline into a plain space. The body is escaped for markup daemons.osascriptinstead and says to allow Herdr in System Settings → Notifications.Evidence
window().platform !== "linux"→ no timer, no alerts.After: checked by hand on macOS 27. The helper was built by
build.shand postedClaude Code / herdr-app - DONE/Fix the login form/ the reply. The banner had Herdr's icon, and a click from another app showed the agent with Herdr in front. Note: this was the real helper and the real words posted by hand, not the installed mod reacting to a status change.preview.pngis now GNOME Shell 43's own banners, rendered headless from the mod's exactnotify-sendcall with the new wording. Its bullets say "macOS and Linux" and "Shows its question or reply". That render is also how I found the newline problem: GNOME showed "Fix the login form Do you want…" as one run-on line.node --test */tests/*.test.cjs site/tests/*.cjs: 415 pass, 0 fail. New Better Alerts tests:herdr-app check mods/better-alertspasses,helper/build.shbuilds a signed app, and the site builds.Merge Danger
Door: two-way
Nothing is migrated. Reverting brings back the old wording and Linux-only behaviour. A helper that was already built just stays unused in
bin/.Blast Radius: Alerts
hc readruns per alert.alerts.blockedandalerts.donesettings are unchanged.🤖 Generated with Claude Code