@kitlangton/opencode-pr-trackerSession-aware pull request tracking for the OpenCode V2 TUI
5
近 30 天 +2
31
近 7 天 31
38.9
生态多维模型
6 天前
2026-08-13
快速安装与配置
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.