@arvoretech/pi-prs-tracker
PI extension that keeps open/recently-merged PRs pinned in the chat as a persistent widget
Package details
Install @arvoretech/pi-prs-tracker from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@arvoretech/pi-prs-tracker- Package
@arvoretech/pi-prs-tracker- Version
1.0.0- Published
- Jun 18, 2026
- Downloads
- not available
- Author
- joao.barros.arvore
- License
- MIT
- Types
- extension
- Size
- 23.5 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@arvoretech/pi-prs-tracker
Keeps your open and recently-merged PRs pinned in the chat as a persistent widget. PRs are auto-detected from gh pr create calls (and any GitHub PR URL) the agent runs during the session, and their status is refreshed in the background.
Install
pi install npm:@arvoretech/pi-prs-tracker
Or in .pi/settings.json:
{
"packages": ["npm:@arvoretech/pi-prs-tracker"]
}
How it works
- Listens to
bashtool executions. When a command containsgh pr createor its output prints agithub.com/<owner>/<repo>/pull/<n>URL, the PR is captured automatically. - For each tracked PR it runs
gh pr view <n> --json ...to read title and state. - A widget pinned above the editor lists every tracked PR with its state and URL:
[open]/[draft]/[merged]/[closed]
- Background polling (every 60s) refreshes statuses. Merged PRs stay for 24h, closed PRs drop off immediately.
Commands
/prs— show usage/prs hide— hide the widget/prs show— re-show the widget/prs refresh— force an immediate status refresh
Requirements
- GitHub CLI (
gh) authenticated in the working directory.