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.14.tar.gz (21.8 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.14-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.14.tar.gz
Algorithm Hash digest
SHA256 277e0ebd47df89cd6207763432b6e09a85dac57c9a6c3aa5401bcec679c499bd
MD5 ae003d9e1ffefdb61c022d609284f777
BLAKE2b-256 45ae86c2f56ead8229b6ca0dca91af026b6ab547f96cc19e32e2c25c1cf5edee

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_mngr_notifications-0.1.14.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.14-py3-none-any.whl.

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 67444e556dcbfbf1929cb45e8ae5fa360d547ae9215dc1bc3e156df388710ee7
MD5 2f661febbe22dd6424309851c709b388
BLAKE2b-256 f4b8ce1f3a776b284538f9c3348c3ca1dfb5f871980d48a385729198a699711f

See more details on using hashes here.

Provenance

The following attestation bundles were made for imbue_mngr_notifications-0.1.14-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