Pi extension that adds GitHub service health and current-branch pull request status to the Pi footer.
- GitHub service health from GitHub Status.
- Current branch PR check summary when the branch has a GitHub pull request.
- Recent human, Cursor BugBot, Copilot, and other bot activity counts.
No PRwhen the current GitHub remote and branch do not have a pull request.- No right-side PR text when the current directory has no GitHub remote or no current branch.
The extension also registers commands and tools for refreshing and inspecting the same snapshot.
You need:
- Pi installed.
- GitHub CLI (
gh) installed and authenticated for pull request lookup. - A GitHub remote in the repositories where you want PR status.
- Node.js and pnpm for local development.
Install the public Git package with Pi:
pi install git:github.com/b-koop/pi-gh-statusRestart Pi, or reload extensions if your Pi session supports it.
Run Pi with the extension directly from a local checkout:
git clone git@github.com:b-koop/pi-gh-status.git
cd pi-gh-status
pnpm install
pi -e ./src/extension.tsThe extension refreshes automatically on session start, turn start/end, and a timer. It adds these Pi commands:
/gh-status-refresh Refresh GitHub service and current-branch PR status
/gh-pr Show current branch PR diagnostics
/gh-status-debug Show extension debug information
It also exposes these tools to the assistant:
github_status_refreshgithub_pr_diagnosticsgithub_status_debug
| Repository state | Right-side footer text |
|---|---|
| GitHub remote + current branch + PR | PR #<number>: ... |
| GitHub remote + current branch + no PR | No PR |
| No GitHub remote | hidden |
| Detached HEAD / no current branch | hidden |
Install dependencies:
pnpm installRun type checks:
pnpm run checkRun tests:
pnpm testThe Pi package manifest in package.json points Pi at:
{
"pi": {
"extensions": ["./src/extension.ts"]
}
}ISC