plugin

Read plugin GUI bundle

Changed on

Read an active plugin's prebuilt CommonJS ./gui-experimental bundle. Desktop app windows run its default export; the desktop app's main process runs its main export. Fails with not found when no active plugin has the id or the plugin exports no ./gui-experimental.

get/api/plugin/gui

Request

  • Base URL
    https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://opencode.ai/api/plugin/gui
  • Auth
    none required

Query parameters

directorystring nullable
idstring required

Response

Success

Changes