All plugins

hermes-pushover-deliverables

Pushover deliverables for Hermes Agent (send-only). Registers four severity-tiered cron delivery platforms — pushover-quiet, pushover-normal, pushover-high and pushover-critical (emergency: repeats until acknowledged), so a cron job picks an intent with a plain deliver=pushover-<severity> — and a pushover_send_file agent tool that delivers an image as a real Pushover attachment (png/jpeg/gif, 5 MB, magic-byte verified against the 5,242,880-byte limit), returning the Pushover request id and, at emergency priority, the receipt id needed to cancel the repeating alert. Disclosure — sends HTTPS requests only to api.pushover.net carrying your Pushover app token, user key, message text and, through pushover_send_file, the bytes of the one png/jpeg/gif file the agent points it at (up to 5 MB); the pushover-critical target and priority 2 send emergency alerts that repeat on your devices until acknowledged or expired (default one hour); credentials are read only through Hermes's scoped secret route; writes nothing to disk and runs no background processes or telemetry.

Jessy-BooPlatformv1.0.0Updated 13 days ago

About

Pushover deliverables for Hermes Agent (send-only). Registers four severity-tiered cron delivery platforms — pushover-quiet, pushover-normal, pushover-high and pushover-critical (emergency: repeats until acknowledged), so a cron job picks an intent with a plain deliver=pushover-<severity> — and a pushover_send_file agent tool that delivers an image as a real Pushover attachment (png/jpeg/gif, 5 MB, magic-byte verified against the 5,242,880-byte limit), returning the Pushover request id and, at emergency priority, the receipt id needed to cancel the repeating alert. Disclosure — sends HTTPS requests only to api.pushover.net carrying your Pushover app token, user key, message text and, through pushover_send_file, the bytes of the one png/jpeg/gif file the agent points it at (up to 5 MB); the pushover-critical target and priority 2 send emergency alerts that repeat on your devices until acknowledged or expired (default one hour); credentials are read only through Hermes's scoped secret route; writes nothing to disk and runs no background processes or telemetry.

hermes-pushover-deliverables

Pushover deliverables for Hermes Agent — severity-tiered push delivery plus real file attachments, send-only.

Two halves:

  • Four severity-tiered cron delivery platforms. The cron editor's delivery selector shows one entry per severity, so a job picks an intent by name:

    PlatformPrioritySoundUse
    pushover-quiet-1silentverification sends, low-signal updates
    pushover-normal0account defaultnormal reports (deliver=pushover-normal)
    pushover-high1account defaulthigh-priority alerts
    pushover-critical2sirenemergency paging — repeats every 60 s until acknowledged or expired
  • pushover_send_file agent tool. Delivers a finished image (generated art, chart, report render) to the phone as an actual attachment — not a URL the device must fetch. Pushover accepts one image per message: png, jpeg or gif, at most 5,242,880 bytes (5.0 MB). The file type is verified by magic bytes, and an oversized or non-image file is rejected with a specific error before any network call.

Outbound-only: Pushover has no inbound message surface, so the plugin never receives anything and needs no authorization policy.

Install

hermes plugins install Jessy-Boo/hermes-pushover-deliverables --no-enable
hermes plugins enable hermes-pushover-deliverables

PUSHOVER_USER_KEY and PUSHOVER_APP_TOKEN (both from pushover.net — the user key is on your dashboard, the app token comes from registering an application) are prompted at enablement or set afterwards:

hermes config set plugins.entries.hermes-pushover-deliverables.requires_env.PUSHOVER_USER_KEY <key>

Credentials are read exclusively through Hermes's profile-scoped secret route (agent.secret_scope.get_secret). The plugin never reads .env files or os.environ directly, so under a multiplexed gateway each profile resolves its own configured key.

Enable the tool for a session platform with hermes tools enable pushover_deliverables --platform <platform>, or list pushover_deliverables under platform_toolsets in config.yaml.

Cron delivery

With the plugin enabled, cron jobs deliver by platform name:

hermes cron add --name nightly-report --schedule "0 7 * * *" --deliver pushover-normal "Summarize overnight events"

Each variant's home target defaults to itself; override per variant via the PUSHOVER_<SEVERITY>_HOME_CHANNEL environment variables.

Emergency pushes repeat. A pushover-critical delivery repeats every critical_retry_seconds until critical_expire_seconds elapses or it is acknowledged in the Pushover app. Deleting the cron job does not stop the repeats — acknowledge in the app, or cancel remotely with the receipt id from the delivery journal:

POST https://api.pushover.net/1/receipts/<receipt>/cancel.json
Content-Type: application/x-www-form-urlencoded

token=<app token>

Configuration

Settings (Desktop → Plugins → Pushover Deliverables, or hermes config set plugins.entries.hermes-pushover-deliverables.settings.<key> <value>):

KeyDefaultPurpose
send_timeout_seconds30HTTP timeout for tool sends
critical_retry_seconds60emergency push repeat interval (Pushover allows 30–10800)
critical_expire_seconds3600emergency push expiry (Pushover allows up to 10800)
default_device(empty)restrict deliveries to one named device
sound_quiet / sound_normal / sound_high / sound_critical(empty)per-severity sound override; empty keeps the built-in default

Per-platform overrides (win over the settings above) live in config.yaml:

gateway:
  platforms:
    pushover-critical:
      enabled: true
      extra:
        sound: bike            # sound override for this variant only
        device: phone-1        # this variant targets one device
        critical_retry_seconds: 120
        critical_expire_seconds: 7200

Priorities are not configurable — the fixed per-severity mapping is the point of the four-platform design.

Developing

Maintainability gate (unit tests + the same validation catalog CI runs) — this must pass before any code commit counts:

./scripts/check.sh

Tests are stdlib unittest (no pytest dependency); they run with the Hermes venv against the Hermes checkout on PYTHONPATH. HERMES_CHECKOUT overrides the checkout location. Media-kit production notes live outside this repository — see assets/ for the published bytes only.

What this plugin does on your machine

  • Network: sends HTTPS POST requests to https://api.pushover.net/1/messages.json only, carrying your app token, user key, message text and, when the pushover_send_file tool is used, the image bytes of the file you point it at. No other network calls, no telemetry.
  • Files read: the one file passed to pushover_send_file (read to sniff its type and attach it). Nothing else on disk is touched.
  • Files written: none. The plugin keeps no state, writes no logs of its own, and runs no background processes.
  • Credentials: read through Hermes's scoped secret route at send time; never written, logged or echoed by the plugin.

License

MIT — provided as-is, no warranty. Independent implementation; not affiliated with or endorsed by Pushover LLC. Pushover is a product of Pushover LLC.

README from the reviewed commit 91327e7; it updates when the author re-pins.

More by Jessy-Boo

2 plugins by Jessy-Boo in the catalog.

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section