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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.12.tar.gz
Algorithm Hash digest
SHA256 13f3e1d82e82638d8fbbdd27fa8eaf65d70c31c2b703d39ed84758d221ef6038
MD5 0f29e5b910d13cbec678ac9935c2e5ed
BLAKE2b-256 f15af817de77590f8051e18de73cbf4892a4175d204651dc05222e8a8b55360c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 242584d52ca71cf2ca6e12ecc9349a68aaee4895b857a5cdf516da1cf47742b2
MD5 96c2efeeecdb263a9a0c52d5f11a5f0d
BLAKE2b-256 aef3531207209979a3e69362b1c416e2800be1e99155ebe4ebf89782ad1f3b31

See more details on using hashes here.

Provenance

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