All plugins

bark

One-way push notifications to an iPhone through Bark, as a first-class Hermes delivery platform: cron jobs with --deliver bark, hermes send --to bark[:device], the bark_notify tool, and optional turn-end/subagent-stop hooks. Multi-device aliases (BARK_KEY_<ALIAS>), per-push level, sound, group, TTL, badge, icon, url and image (http(s) URL only — Bark fetches it), plus a Desktop settings page with a live probe, a test push and a local delivery log. Disclosure — outbound requests go only to the configured Bark server (default https://api.day.app; self-hosted bark-server works; plain http:// is accepted for a LAN you control and warned about, never silently upgraded), with the notification title/body/image URL and the device key in the request body (never in the URL path); Bark is one-way, so there is no inbound stream, no reply channel and no delivery receipt — a 200 means the server queued the push for APNs, not that the phone showed it; automatic pushes are off by default and, when enabled, run inside the Hermes process only after a turn or subagent ends (status filter, duration floor, quiet hours, 60s per-session debounce); every push path (adapter, hooks, the bark_notify tool, cron/hermes send, the CLI test and the page) appends to a local plugin-data/hermes-bark/deliveries.jsonl (title/body/alias/status/latency, 250-record rotation), which the page displays and can clear; settings saved on the page are written to plugins.entries.hermes-bark.settings in config.yaml, and adding/removing a device goes through Hermes' credential lifecycle; device keys are read from the bound profile secret scope (only a process with no scope falls back to the process env; a plugin never parses .env, Hermes' auth.json or any other store, a scoped miss is fail-closed, and a literal key in config.yaml is refused rather than used) and only a mask ever reaches the renderer; the plugin follows HTTPS_PROXY and, when that proxy is a loopback address that refuses connections, retries once with trust_env=False and says so in the result; no telemetry, no subprocesses, no self-update, no file writes other than Hermes' own settings and credential writers, and the Desktop half is the standard opt-in marker package.

iam1maker1Platformv0.2.1Updated 1 day ago

About

One-way push notifications to an iPhone through Bark, as a first-class Hermes delivery platform: cron jobs with --deliver bark, hermes send --to bark[:device], the bark_notify tool, and optional turn-end/subagent-stop hooks. Multi-device aliases (BARK_KEY_<ALIAS>), per-push level, sound, group, TTL, badge, icon, url and image (http(s) URL only — Bark fetches it), plus a Desktop settings page with a live probe, a test push and a local delivery log. Disclosure — outbound requests go only to the configured Bark server (default https://api.day.app; self-hosted bark-server works; plain http:// is accepted for a LAN you control and warned about, never silently upgraded), with the notification title/body/image URL and the device key in the request body (never in the URL path); Bark is one-way, so there is no inbound stream, no reply channel and no delivery receipt — a 200 means the server queued the push for APNs, not that the phone showed it; automatic pushes are off by default and, when enabled, run inside the Hermes process only after a turn or subagent ends (status filter, duration floor, quiet hours, 60s per-session debounce); every push path (adapter, hooks, the bark_notify tool, cron/hermes send, the CLI test and the page) appends to a local plugin-data/hermes-bark/deliveries.jsonl (title/body/alias/status/latency, 250-record rotation), which the page displays and can clear; settings saved on the page are written to plugins.entries.hermes-bark.settings in config.yaml, and adding/removing a device goes through Hermes' credential lifecycle; device keys are read from the bound profile secret scope (only a process with no scope falls back to the process env; a plugin never parses .env, Hermes' auth.json or any other store, a scoped miss is fail-closed, and a literal key in config.yaml is refused rather than used) and only a mask ever reaches the renderer; the plugin follows HTTPS_PROXY and, when that proxy is a loopback address that refuses connections, retries once with trust_env=False and says so in the result; no telemetry, no subprocesses, no self-update, no file writes other than Hermes' own settings and credential writers, and the Desktop half is the standard opt-in marker package.

hermes-bark

Bark iOS push notifications as a send-only delivery platform for
Hermes Agent. One-way by design: Bark
has no inbound stream, no reply channel, and a server 200 means queued to
APNs
, not seen on the phone.

Plugin id: hermes-bark · kind: platform · requires Hermes >=0.23.0

What you get

SurfaceUse
cron → --deliver barkjob results land on your phone, no model call spent
hermes send --to bark[:device]shell / scripts / agent CLI
bark_notify toolthe agent pushes a link, image URL or delivery notice mid-turn
hooks on_session_end / subagent_stopoptional, off by default — failure/interruption alerts only
Desktop page (Bark notifications)channel status, device map, notification rules, test push, delivery log

Multi-device aliases, Bark fields level / sound / group / ttl / url / image / icon / autoCopy / isArchive / id, retry with never-left-the-process-only
semantics, and profile-scoped secret reads.

Install

hermes plugins install hermes-bark     # once listed in the catalog
# or, from a checkout:
cp -R . ~/.hermes/profiles/<profile>/plugins/hermes-bark
hermes plugins enable hermes-bark

Set the device key through Hermes — Dashboard → Secret on the plugin page, or
hermes config set:

BARK_TOKEN=<device key from the Bark app>     # alias "default"
BARK_KEY_IPHONE=<key>                          # extra device, alias "iphone"
BARK_SERVER=https://api.day.app                # optional, self-hosted is fine
BARK_HOME_CHANNEL=default                      # cron / `--to bark` target

Device keys are routed by Hermes, never read from disk by this plugin: a read
goes through agent.secret_scope.get_secret, i.e. the profile's
secret scope (with a process-env fallback in CLI contexts). That is also why a
key saved on the page is usable immediately. config.yaml never holds a key;
non-secret defaults (server, level, group, ttl, notification rules, …)
live in plugins.entries.hermes-bark.settings and are editable both in the
native Settings form and on the plugin page.

Desktop half. This package ships desktop/plugin.js. A package-managed
desktop half is opt-in: after install, enable the Desktop switch for the
plugin under Settings → Capabilities → Plugins (the renderer trusts plugin code
with the app's authority, so it asks once). The page then appears in the sidebar
and at hermes://open/bark.

Behaviour notes

  • One-way. Nothing is ever received. send_image() accepts an http(s)
    URL only — Bark fetches the image server-side, so a local file cannot be
    delivered (it is reported as media_skipped, not as a failure).
  • 3800-character body cap; longer text is reported, not silently dropped.
  • Retries cover "the request never left" (connect/DNS/proxy), 429 and
    5xx. A read timeout is not retried — the payload may already be queued.
  • Automatic pushes are off by default. When enabled they fire only for the
    statuses you list (default failed,interrupted), never for a short successful
    turn, at most once per session per 60 s, and never inside your quiet hours.
    Hooks are for incidents; delivery receipts belong to explicit sends.
  • Proxy. proxy: "" follows HTTPS_PROXY; direct forces a direct
    connection; a URL pins the proxy. A dead environment proxy that points at
    loopback is retried once directly (proxy_fallback: true).
  • Dedupe sets Bark's id field for a 5 s window so a retry or a hook racing
    hermes send does not double-buzz. Bark needs app ≥ 1.5.2 for id.

Disclosure

  • Outbound requests go to your Bark server only: https://api.day.app by
    default, or whatever BARK_SERVER points at. Plain http:// is accepted for
    a LAN you control and warned about, never silently upgraded. Notification
    titles/bodies, plus any url and image URL you pass, are sent there and
    reach APNs through it. If you self-host, that server sees them.
  • No telemetry, no analytics, no self-updater, no outbound calls anywhere else.
  • Secrets are read via Hermes (agent.secret_scope.get_secret →
    gateway.platforms._shared.get_scoped_secret, external_fallback only when no
    profile scope is bound); the plugin never parses .env itself, and a bound
    scope is authoritative — a scoped miss returns nothing rather than borrowing
    another profile's value. A literal key in config.yaml is refused and reported
    as ignored, never used.
  • Settings saved from the desktop page are written to
    plugins.entries.hermes-bark.settings in your config.yaml through
    save_plugin_settings (atomic, schema-validated). Adding or removing a device
    writes the device key through Hermes' credential lifecycle
    (save_provider_env_credential / remove_provider_env_credential, i.e. the
    profile .env plus the live secret scope) — the plugin does not touch that
    file itself.
  • Delivery records (last 400 attempts, 250 kept) are written locally to
    <hermes home>/plugin-data/hermes-bark/deliveries.jsonl. Every path that pushes
    records one: hooks, the bark_notify tool, the adapter, cron/hermes send
    (standalone), the CLI test, and the page's test button.
  • The desktop page calls only the plugin's own routes under
    /api/plugins/hermes-bark/.
  • UI copy: English is the source language; the Chinese bundle is a data file
    (dashboard/locales/zh.json) the backend ships to the page, so the same
    strings serve the API messages and the rendered page. Contribution labels
    (sidebar, palette) are English — the host registers them before the first
    snapshot arrives.

Development

python tests/test_bark.py             # 36 client/settings/notify tests, no network
python tests/test_dashboard_api.py    # 14 router tests against a fake bark-server
node  tests/render_page.mjs --locale=en   # renders plugin.js headless, asserts no CJK leak
node  tests/render_page.mjs --locale=zh   # same page with the Chinese bundle
HERMES_SRC=~/path/to/hermes-agent python tests/e2e_adapter_contract.py
python scripts/serve-local.py --port 18123   # same router, own process, no gateway restart

tests/fake_bark.py is a bark-server stand-in that records JSON payloads and can
return 500/429/slow responses on demand.

License

MIT — see LICENSE.

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

Developer Mode

Explore built-in Hermes toolsets and actions.

HermesAgent

Developer?

Create a Hermes extension for Desktop or agent workflows.

Developer Section