Graphrt

macOS Notifications

Local macOS notifications (title, subtitle, message, system sound) via /usr/bin/osascript with a constant script and the text as separate arguments (no script injection), agent calls rate limited

Stable v0.1.0 Node.js 1 action
Use in Graphrt Desktop

About

A Graphrt plugin that shows local notifications on this Mac, so a workflow or agent can tell you when something finished or needs attention. It runs the system /usr/bin/osascript, there is no network and nothing to install.

What it can do

  • notify: message (required), notification_title (default "Graphrt"), subtitle, and an optional system sound (Basso, Blow, Bottle, Frog, Funk, Glass, Hero, Morse, Ping, Pop, Purr, Sosumi, Submarine, Tink). The title parameter is called notification_title because Graphrt keeps title for a node's own label.

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Post a notification macos-notifications.notify

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • MACOS_NOTIFICATIONS_TOOL_RATE_LIMIT 6
    Most notifications agents may post per minute (1 to 120), workflow nodes are not limited

How to use it

In Graphrt Desktop

  1. Open Plugins and search for macOS Notifications.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install macos-notifications
workflow.yaml
- { id: done, type: macos-notifications.notify, notification_title: "Nightly report", message: "{{#summary.text#}}", sound: Glass }
Plugins in the docs