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

    Fleetview

    v0.1.0界面与主题
    opencode-fleetview

    Launch fleetview, the agent roster TUI, from inside opencode with /fleetview

    GitHub 星标

    0

    月装机量

    140

    近 7 天 2

    综合评分SCORE

    32.4

    生态多维模型

    最近提交

    22 天前

    2026-07-29

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-fleetview@0.1.0"]
    }

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

    An opencode TUI plugin that adds a /fleetview command. Run it and opencode hands the terminal over to fleetview, the roster TUI for backgrounded agent sessions. Quit fleetview and you land back in opencode where you left off.

    The plugin contains no fleetview logic. It is a launcher, about 70 lines.

    Requirements

    • opencode >= 1.18
    • fleetview on your PATH (npm i -g fleetview, needs Node >= 24)

    If fleetview is not installed, /fleetview shows a toast with the install command instead of launching anything.

    Install

    opencode plugin opencode-fleetview
    

    That resolves the package, detects its TUI entrypoint, and adds it to the plugin array in .opencode/tui.json (or ~/.config/opencode/tui.json with --global). TUI plugins are configured in tui.json, not opencode.json.

    To wire it up by hand:

    {
      "plugin": ["opencode-fleetview"]
    }
    

    Use

    Type /fleetview in the opencode prompt, or find "FleetView" in the command palette (ctrl+p).

    How it works

    The plugin registers one palette command through the opencode TUI plugin API. When it runs it looks for a fleetview executable on PATH, calls api.renderer.suspend() to release the terminal, spawns fleetview with inherited stdio, and calls api.renderer.resume() once fleetview exits.

    Development

    npm test
    

    To load a local checkout:

    opencode plugin /path/to/opencode-fleetview
    

    License

    ISC