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

    Subagent Sidebar

    v0.1.4智能体编排
    @yueby/opencode-subagent-sidebar

    OpenCode TUI plugin for viewing direct child sessions

    GitHub 星标

    0

    月装机量

    332

    近 7 天 332

    综合评分SCORE

    35.5

    生态多维模型

    最近提交

    23 小时前

    2026-08-19

    快速安装与配置

    opencode.json

    写入当前项目的 opencode.json,只对这个仓库生效。

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["@yueby/opencode-subagent-sidebar@0.1.4"]
    }

    opencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。

    An OpenCode TUI plugin that shows the active direct child sessions of the current session in the sidebar.

    Installation

    Install the public package with the OpenCode plugin command:

    opencode plugin add @yueby/opencode-subagent-sidebar
    

    Alternatively, add the package to the plugin array in your tui.json:

    {
      "plugin": ["@yueby/opencode-subagent-sidebar"]
    }
    

    The plugin keeps the existing OpenCode plugin ID opencode-subagent-sidebar and registers its TUI sidebar slot automatically.

    Behavior

    • Only active direct child sessions of the current session are shown; nested descendants and unrelated sessions are not included.
    • A green dot means a child is busy, yellow means it is retrying, and a muted dot represents an idle status (idle children are not displayed).
    • Click a row to navigate directly to that child session. Each visible child also gets an Open subagent … command in the command palette.
    • The plugin reads the current session's child-session API and OpenCode events. It does not maintain global session state or claim to show every session.

    Local development

    bun install
    bun run typecheck
    bun run build
    bun test
    npm pack --dry-run --json
    

    prepack runs the build automatically when creating a package tarball.