npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

omp-github-action-watcher

v1.0.0

Published

Oh My Pi plugin for watching GitHub Actions workflow runs from an OMP session.

Downloads

98

Readme

omp-github-action-watcher

Oh My Pi plugin for watching GitHub Actions workflow runs from an active OMP session.

It attaches a session-scoped watcher to a workflow run, polls GitHub periodically, and emits follow-up updates as the run moves through queued, in_progress, and completed states. Notifications include the workflow title, branch, commit SHA, run attempt, and the currently running or queued child jobs when GitHub exposes that context.

Features

  • Session-scoped workflow run watches
  • Tool-driven start/stop controls
  • Compact follow-up notifications inside OMP
  • Expanded render with workflow metadata and job context
  • Automatic cleanup when the session switches, branches, or shuts down
  • Targeted test coverage for API mapping, rendering, and watch state transitions

Requirements

  • Bun >= 1.3.7
  • Oh My Pi / @oh-my-pi/pi-coding-agent v13
  • GitHub CLI (gh) installed and authenticated with gh auth login

Install

From npm

Install the published package directly:

omp plugin install omp-github-action-watcher

Local development link

If you are iterating on the plugin locally:

cd /path/to/omp-github-action-watcher
bun install
bun link
omp plugin install omp-github-action-watcher

You can also link the working tree directly:

omp plugin link /path/to/omp-github-action-watcher

Usage

Start watching a workflow run

watch_github_action_run owner=payhawk repo=emi-service run_id=23532645155

Stop watching

By watch id:

stop_github_action_watch watch_id=<watch-id>

By repository + run id:

stop_github_action_watch owner=payhawk repo=emi-service run_id=23532645155

Inspect active watches inside OMP

/github-action-watch list
/github-action-watch stop <watch-id>

Development

bun install
bun run verify

The extension entry point is src/extension.ts.

Release

  • Pushes to main and pull requests run CI, verify the package, and build an npm tarball artifact.
  • Publishing is handled by GitHub Actions when you publish a GitHub Release, or manually via the Publish to npm workflow.
  • The repo version is now anchored at 1.0.0; each successful npm publish auto-increments the patch version and commits the new published version back to main.
  • The publish workflow uses the repository NPM_TOKEN secret and runs npm publish --provenance.

Repository layout

src/
  extension.ts        # OMP extension registration and tool wiring
  github-api.ts       # GitHub CLI integration and workflow/job mapping
  render.ts           # Compact and expanded message rendering
  watch-format.ts     # Human-readable summaries and detail lines
  watch-registry.ts   # Polling, diffing, and lifecycle management
  types.ts            # Shared types

test/
  github-api.test.ts
  render.test.ts
  watch-registry.test.ts

License

MIT