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.10.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.10-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.10.tar.gz
Algorithm Hash digest
SHA256 944f543c8b16b172b25bc51974c9e71b8df505cc871ce0acc9dd2f0657148577
MD5 cd78de6265de19924cd39221820a33f8
BLAKE2b-256 177f02a9737fe0642673d8855fbf7310b7090616dfb1dfeb7b7e4dd5fb6d556c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 2a5033f20ffba7d8df8b6e482775eb31948867cc0cb7293baeae001040e95632
MD5 120de2d2cc41cff1bdd535eb2ed9666e
BLAKE2b-256 20755b1a62e7ec8759580f387b85e56e95a2d4834f517b24262c8a119361c149

See more details on using hashes here.

Provenance

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