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.
- 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
- Bun >= 1.3.7
- Oh My Pi /
@oh-my-pi/pi-coding-agentv13 - GitHub CLI (
gh) installed and authenticated withgh auth login
Install the published package directly:
omp plugin install omp-github-action-watcherIf you are iterating on the plugin locally:
cd /path/to/omp-github-action-watcher
bun install
bun link
omp plugin install omp-github-action-watcherYou can also link the working tree directly:
omp plugin link /path/to/omp-github-action-watcherwatch_github_action_run owner=payhawk repo=emi-service run_id=23532645155
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
/github-action-watch list
/github-action-watch stop <watch-id>
bun install
bun run verifyThe extension entry point is src/extension.ts.
- Pushes to
mainand 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 npmworkflow. - 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 tomain. - The publish workflow uses the repository
NPM_TOKENsecret and runsnpm publish --provenance.
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
MIT