跳到主要内容
    ↑↓ 选择↵ 打开esc 关闭
    ranjithrajv

    Browser

    opencode-plugin-browser·v1.0.0-alpha.4·工具与命令

    Sidebar section listing OpenCode plugins with installed/uninstalled status, below MCPs and Skills.

    GitHub 星标

    0

    月装机量

    33,623

    近 7 天 7k

    综合评分

    47.8

    生态多维模型

    最近提交

    7 天前

    2026-09-27

    快速安装与配置

    opencode.json

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

    opencode.json

    {
      "$schema": "https://opencode.ai/config.json",
      "plugin": ["opencode-plugin-browser@1.0.0-alpha.4"]
    }

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

    CI npm License: AGPL-3.0

    Note: this plugin is published on npm as opencode-plugin-browser — the original project name, kept for package continuity. The repository and README title use opencode-plugin-manager; both refer to the same package. Install it by the npm name shown below.

    An OpenCode sidebar section listing plugins with installed/uninstalled status — placed below the built-in MCP section and the Skills list, mirroring the built-in sidebar widgets.

    What it shows

    • Installed plugins from the plugin registry (same list opencode2 plugin list shows; built-ins excluded) with their activation state: ✓ active, ✗ failed, ○ inactive.
    • LOCAL group mixes registered plugins (✓ … installed) with workspace plugin projects discovered by scanning the workspace root for sibling directories whose package.json depends on @opencode/plugin (private monorepo roots and shared libraries excluded) — those show dimmed with ○ … uninstalled and a [+] to register them, same status column as everything else.
    • Built-in plugins are listed by default (group collapsed to keep the sidebar short) and can be hidden/shown with /plugins-builtins — a view toggle only, persisted; built-ins always run. They can't be disabled individually: the runtime has no per-built-in disable mechanism — the only switch is the all-or-nothing OPENCODE_DISABLE_DEFAULT_PLUGINS env var, whose state the widget shows when the BUILT-IN group is visible. Per-built-in disable requires upstream support in OpenCode's plugin host.
    • Plugin descriptions — the registry exposes no human metadata, so the plugin ships its own catalog (builtins.ts): curated descriptions for well-known built-ins plus per-category generation (provider.*, tool.*, config.*, websearch.*). Click any row to inspect its details.

    Collapsed header shows PLUGINS (installed/total); more than two entries collapse, click (or expand) to list them — same interaction as the built-in MCP/Skills sections.

    Install

    Published on npm.

    Automatic (recommended) — add it to your OpenCode config (~/.config/opencode/opencode.json) and it installs on startup:

    { "plugins": ["opencode-plugin-browser"] }
    

    Manual:

    npm install opencode-plugin-browser
    

    Restart the TUI (or opencode2 service restart) after changing the config.

    Prerequisites

    • OpenCode V2.0.3 or newer (plugin API is beta). 2.0.3 is the floor: earlier 2.x releases ship no ./tui subpath export, so the TUI entrypoint cannot resolve @opencode/plugin/tui.

    Placement: appends to sidebar.content (below MCP/Skills). If you use multiple sidebar plugins, order in plugins controls stacking.

    Remove

    Remove the plugin's entry from the plugins array in opencode.json.

    Data sources

    • Plugin registry: client.plugin.list() (activation state included)
    • Workspace scan: sibling directories of the current location, one package.json read per candidate; result is cached through opencode-plugin-kit's createCachedStore so the sidebar restores instantly after a TUI restart.

    License

    GNU Affero General Public License v3.0 — see LICENSE.

    同类生态推荐