Skip to main content

Notification plugin for mngr - alerts when agents transition to WAITING state

Project description

mngr-notifications

Desktop notifications when agents need your attention.

A plugin for mngr that adds the mngr notify command. It monitors the event stream from mngr observe and sends a native desktop notification whenever an agent transitions from RUNNING to WAITING.

Requirements

  • macOS: brew install vjeantet/tap/alerter
  • Linux: notify-send (usually part of libnotify)

Usage

mngr notify

When an agent finishes working and waits for input, you get a notification. On macOS, clicking the notification opens a terminal tab connected to that agent.

If mngr observe is not already running, mngr notify starts it automatically in the background and stops it on exit.

Configuration

Add to your mngr settings file (e.g. ~/.mngr/settings.toml):

[plugins.notifications]
terminal_app = "iTerm"

Supported terminal apps: iTerm, Terminal, WezTerm, Kitty. For iTerm, clicking a notification finds an existing tab already connected to the agent (by matching tmux session TTYs) or opens a new one.

For other terminals, use a custom command:

[plugins.notifications]
custom_terminal_command = "my-terminal -e mngr connect $MNGR_AGENT_NAME"

$MNGR_AGENT_NAME is set in the environment to the agent's name.

For plain notifications without click-to-connect (useful on Linux where notify-send does not support click actions):

[plugins.notifications]
notification_only = true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

imbue_mngr_notifications-0.1.2.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

imbue_mngr_notifications-0.1.2-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

Details for the file imbue_mngr_notifications-0.1.2.tar.gz.

File metadata

  • Download URL: imbue_mngr_notifications-0.1.2.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for imbue_mngr_notifications-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4871029e4d55d6a37b0e4cd82b0ac20ddcbf03aaca60d3236feda4ed6ae7bad1
MD5 60d47cbdd4790e4342951b12a4493ef5
BLAKE2b-256 6ea256719997cb4d658a112c3b597887f2c782faa8d00eebddf0d08c1a1c06a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_mngr_notifications-0.1.2.tar.gz:

Publisher: publish.yml on imbue-ai/mngr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file imbue_mngr_notifications-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4e4e26f157db26b49742c5e7b169e6d4eddf949c3c932d55914f62923d1c5d4
MD5 c5b39121609d707fdb26d3eda4772695
BLAKE2b-256 ea4942a87c96cee36436ffe82d11da821a98ccb5c0487ea192e126b112111d3a

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_mngr_notifications-0.1.2-py3-none-any.whl:

Publisher: publish.yml on imbue-ai/mngr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page