Prs
OpenCode TUI plugin that shows GitHub pull requests referenced by the current session
1
2,234
250 in 7 days
43.0
Multi-signal model
6 days ago
2026-09-29
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-prs@0.5.3"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-prs@0.5.3"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-prsOpenCode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Small plugins for OpenCode. Each package supports OpenCode 1 and OpenCode 2.
Plugins
opencode-cost-details
Shows the current and previous prompt-turn cost in the sidebar Context section.
opencode2 plugin add opencode-cost-details
opencode-prs
Shows GitHub pull requests opened by the current session. Every title links to GitHub.
opencode2 plugin add opencode-prs
opencode-awake
Keeps your computer awake while a session works, including with the laptop lid closed on macOS and Linux.
opencode2 plugin add opencode-awake
See each plugin README for OpenCode 1 installation and configuration.
Development
pnpm install
pnpm typecheck
pnpm test
Packages live under packages/. Each package builds its TypeScript and JSX into dist/ before publishing because OpenCode loads published plugins from node_modules.
To use both plugins from this checkout:
pnpm dev:link
pnpm dev
dev:link configures both compiled plugin directories in cli.json and removes the published versions. dev rebuilds both plugins when their source changes. Restart the OpenCode client after a rebuild to load it.
Restore the published configuration with:
pnpm dev:unlink
Releasing
Releases use Changesets and npm trusted publishing. There is no npm token in the repository.
- Run
pnpm changesetin a feature branch and commit the generated file. - Merge the feature PR. CI opens or updates
release: version packages. - Merge the release PR. CI publishes every changed package to npm.
Each npm package must trust the release.yml workflow in vvo/opencode-plugins.
License
MIT
Similar plugins
Pr Tracker
@kitlangton/opencode-pr-tracker
Session-aware pull request tracking for the OpenCode V2 TUI
Dir Tree Tui
opencode-dir-tree-tui
OpenCode V2 TUI plugin: VS Code-style file tree in the sidebar with git status coloring and click-to-open
Forge Session Title
opencode-forge-session-title
OpenCode plugin that prefixes session titles with forge issue/PR/MR references (GitHub & GitLab)