跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    中文English
    kitlangton

    Pr Tracker

    v0.1.1Git 与版本控制
    @kitlangton/opencode-pr-tracker

    Session-aware pull request tracking for the OpenCode V2 TUI

    GitHub 星标

    5

    近 30 天 +2

    月装机量

    31

    近 7 天 31

    综合评分SCORE

    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"]
    }

    opencode 启动时会通过内嵌运行时自动加载 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.

    • /recap or 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.