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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.13.tar.gz
Algorithm Hash digest
SHA256 bc60e137657420edb03915c16cc436329ca6074627e9544358a4a2db7937bb03
MD5 5d61cacb7ff7b57f24b80d5ff3142036
BLAKE2b-256 a2aa2bae97f68cf23726612576d3d347f41946193b619e0ae28c5e2dbcb6a9c4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for imbue_mngr_notifications-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 5fe2b1c4b53e03f5aa005cf0cba755bc60f2aef38057046c5aaa5ac76daede7f
MD5 644ce68114e60991e76d779a340b64c7
BLAKE2b-256 f53732b562da4540c2da5a3d0e16df5c7b7878706c425c61b9ba537ea1542e40

See more details on using hashes here.

Provenance

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