Skip to content

Plugins

A plugin gives ZubrCode new abilities: panels and commands in the terminal, tabs in Desktop, its own tools and event handlers. A plugin is an npm package that ZubrCode installs and loads on start.

The catalog is at zubriq.ai/plugins. It is curated: every plugin has a pinned version, and exactly that version is installed, not the “latest” — a plugin runs on your computer with ZubrCode’s permissions.

Plugin What it does
ZubriQ quota (@zubriq/quota) how much of your plan or balance is left — under the prompt, in the sidebar, via /quota; a “Quota” tab in Desktop

Settings → Extensions → Plugins → ZubriQ catalog → “Add”. The “Add to ZubrCode” button on the plugin’s page at zubriq.ai opens the same window. Restart ZubrCode after installing — a “Restart” button appears next to the plugin. When the catalog has a newer version, “Update” shows up there too.

Окно терминала
zubrcode plugin add @zubriq/quota@0.1.0 # version from the plugin page
zubrcode plugin list # what is installed
zubrcode plugin update # check and update
zubrcode plugin remove @zubriq/quota

@zubriq/* packages live in the ZuBrIQ registry (https://packages.artcloud.by/repository/npm-zubriq/), and ZubrCode knows it out of the box. Your own @zubriq:registry= in ~/.npmrc takes precedence.

ZuBrIQ plugins use the key of your ZuBrIQ connection — sign in if you have not: zubrcode auth login zubriq.

zubrcode plugin add <package> installs any plugin package from npm or Git and writes it to plugins in the global ~/.config/zubrcode/opencode.json (Desktop loads its window parts from there). A project plugin goes to plugins in the project’s opencode.json, see Configuration. To block a plugin in an organization, see Policies.

Install only plugins you trust: it is code that runs on your machine.