pi-current-pr

Pi extension that shows the current GitHub pull request in a widget

Package details

extension

Install pi-current-pr from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-current-pr
Package
pi-current-pr
Version
0.1.1
Published
Apr 17, 2026
Downloads
251/mo · 11/wk
Author
mark.probst
License
unknown
Types
extension
Size
3.8 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ],
  "image": "https://raw.githubusercontent.com/schani/pi-extensions/main/pi-current-pr/screenshot.png"
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-current-pr

A pi extension package that shows the current GitHub pull request in a widget above the editor.

This is what it looks like, together with pi-powerline-footer:

screenshot

Features

  • Shows the current PR title and URL
  • Uses gh pr view to detect the PR for the current branch
  • Renders compactly in one line when it fits
  • Falls back to two lines when space is tight

Install

pi install npm:pi-current-pr

Notes

  • Requires gh to be installed and authenticated
  • Intended for use inside git repositories with GitHub pull requests