omp packages

@gbrennon/good-news-everyone0.2.0

Notifications from your AI agent, both the good and the not-so-good

gbrennon Published 3 days ago MIT ~253 downloads/mo

Built for omp

The author tagged this package omp-plugin.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

Good News, Everyone!

Native TypeScript lifecycle notification hook for the Pi coding agent. It announces your agent's state changes, both the good and the not-so-good.

[!NOTE] If you are viewing this repository elsewhere, please be aware that it may be a read-only mirror. The original repository lives on Codeberg: https://codeberg.org/gbrennon/good-news-everyone.

About the name

The project's name and its connection to the notification behavior are explained in docs/name.md.

Notification details

See docs/notifications.md for taglines and reminder behavior.

Screenshots

Question notification

Shown when the agent needs input before it can continue.

Completion notification

Shown when the agent completes its work successfully.

Error notification

Shown when the agent fails or is aborted.

Installation

From npm

Install the published package with the host package manager:

pi install npm:@gbrennon/good-news-everyone@0.1.0
omp plugin install @gbrennon/good-news-everyone@0.1.0

Pi loads src/index.ts; OMP loads the dedicated src/omp.ts entrypoint. Restart the host after installing or updating the package.

From this checkout

Use the installer script when installing from a repository checkout:

./scripts/install.sh pi
./scripts/install.sh omp

Omit the agent name to install for both hosts:

./scripts/install.sh

The script installs the current checkout path through the Pi or OMP package manager, so it uses the entrypoints and command code in this checkout rather than a potentially stale published version. It also removes known legacy manually copied notification hooks. It requires pi and/or omp on PATH.

Overview

  • Dispatches notifications on ui_prompt_start (input needed) and agent_settled (complete/error) via notify-send.
  • Tracks the latest turn outcome per workspace directory.
  • Re-sends unhandled question (input needed) notifications on a fixed interval until the user responds, the session shuts down, or a reminder cap is reached.

Architecture

See docs/architecture.md for compatibility and component details.

Automated releases

See docs/releases.md for the release process and required repository secrets.

Verification

bun test