Pr Tracker
Session-aware pull request tracking for the OpenCode V2 TUI
11
近 30 天 +5
40
近 7 天 7
43.2
生态多维模型
16 天前
2026-09-18
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@kitlangton/opencode-pr-tracker@0.1.1"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["@kitlangton/opencode-pr-tracker@0.1.1"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D @kitlangton/opencode-pr-trackerOpenCode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
Plugins for the OpenCode V2 TUI.
Plugins
@kitlangton/opencode-pr-tracker
Shows pull requests created by a session or its subagents in the sidebar, with live GitHub and CI state. The current branch's pull request also appears in the prompt footer.
{
"plugins": ["@kitlangton/opencode-pr-tracker"]
}
@kitlangton/opencode-session-recap
Shows a one-sentence recap of your session above the composer, so you can remember where you left off after stepping away.
/recapor the command palette generates one on demand.- After three user turns, leaving the terminal unfocused for three minutes generates one automatically.
- New input dismisses it. Generation is read-only and never touches session history.
// opencode.jsonc
{
"plugins": ["@kitlangton/opencode-session-recap"],
}
Release
Add a changeset, push to main, then merge the release PR that CI opens:
bun run changeset
git push
Publishing runs in GitHub Actions through npm trusted publishing (OIDC). No tokens, no OTP.
Local development
Point the TUI plugin list at a package's source file to keep OpenCode hot reload:
{
"plugins": [
"/path/to/opencode-plugins/packages/pr-tracker/src/index.tsx",
"/path/to/opencode-plugins/packages/session-recap/src/tui.tsx"
]
}
Published packages use transformed bundles from dist; local development
continues to use src directly.
同类生态推荐
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)
Review
@opencode-cockpit/review
A pull request in the terminal: read the diff, hold your notes, send one review