Plugin reference

The plugin manifest, how to install plugins from a directory, Git, npm or a registry, and the plugin CLI.

A plugin adds screens, sidebar items, workspace panels, commands, themes, and daemon-side handlers to Zekoder. Zekoder's own Zekoder plugin is built in. See Zekoder workflow for what it does.

Trust every plugin you add. Server code and preparation commands run unsandboxed with the daemon user's access on the daemon host. Client contributions run inside the app. Dependencies and later updates are part of that decision.

Plugins are installed per daemon. When several connected hosts have the same plugin, the sidebar shows one item with a host picker, and calls never fall through to another host.

Manage plugins

Open Settings → Plugins to enable the daemon-wide Enable plugins switch and manage each plugin. A plugin runs only when that switch and its own toggle are both on. The switch is pluginsEnabled in config.json; run zekoder reload after editing it.

Plugin files

zekoder plugin init /absolute/path/to/my-plugin creates a starter project. The required root file is paseo-plugin.json:

{
  "id": "my-plugin",
  "description": "Reviews changes before merge",
  "requirements": { "paseo": ">=0.17.0" }
}
FieldRequiredBehavior
idYesDefault installation ID.
nameNoDisplay name in Settings → Plugins. Without it, Zekoder shows the ID.
iconNoRelative path to a PNG inside the package.
mediaNoImage or video paths inside the package, or HTTPS URLs.
descriptionNoSummary shown below the plugin name.
requirementsNoSupported versions: paseo takes an npm semver range.
buildNoPreparation commands, as a list of argv arrays.

Paths are relative to the manifest, use forward slashes, and cannot contain ... Unknown top-level fields are ignored; unknown keys inside requirements are rejected.

The daemon checks requirements.paseo before installing, preparing, or loading a plugin, and again on startup, enable, and reload. A rejected update keeps the installed revision. Each app checks its own version before running client code, so a compatible daemon does not make an older app compatible. A plugin with no client entry does not require the app to match.

Most plugins should omit build. Use it only when the checkout must install a dependency Zekoder does not provide, or generate source or assets:

{
  "id": "review",
  "requirements": { "paseo": ">=0.17.0" },
  "build": [["npm", "ci", "--omit=dev"]]
}

Each command runs directly, without a shell, from the staged plugin directory before validation and activation. A failing command discards the candidate and leaves the installed version running.

Plugin sources

Pass a source to zekoder plugin install. plugin add is an alias. The CLI resolves relative directory paths from your working directory and expands ~. With --host, use an absolute path that exists on the daemon host: plugin files are read there and never uploaded by the CLI. Paths entered in Settings resolve against the daemon's working directory.

SourceAccepted formExample
Plugin registryowner/slug or host/owner/slugacme/review
Host directoryAbsolute or relative path on the daemon host/srv/plugins/review
GitHub repositorygit:owner/repository or github:owner/repositorygithub:acme/review
Git repositorygit:<URL or SCP source>; the prefix is optional for URLsgit:https://git.example.com/acme/review.git
npm packagenpm:<name>[@<version, tag, or range>]; npm: is optionalnpm:@acme/review@^1.2.0
Plugin below a source rootAppend :relative/plugin/path to a directory, Git, or npm sourcegithub:acme/monorepo:plugins/review

Git URLs use https://, http://, ssh://, git://, or file://. SCP sources use user@host:path. A bare owner/slug is a registry ID. Local directory sources start with ., .., /, ~, a Windows drive, or a UNC prefix. For an unscoped npm package with both a selector and subdirectory, keep the npm: prefix (npm:[email protected]:nested); without it, user@host:path reads as an SCP Git source.

zekoder plugin install /srv/plugins/review
zekoder plugin install github:acme/review
zekoder plugin install git:https://git.example.com:8443/acme/monorepo.git:plugins/review --ref main
zekoder plugin install npm:@acme/review@next
zekoder plugin install 'npm:@acme/review@>=1.2.0 <2.0.0' --id review-staging

--ref applies to Git only and takes a branch, tag, or commit. Without it, Zekoder installs the remote's default HEAD. --id overrides the runtime ID and allows installing the same source more than once. An installation ID that already exists is rejected without changing its files.

Registry

The default registry is https://plugins.paseo.sh. Set PASEO_PLUGIN_REGISTRY on the daemon to use another URL, including a path prefix. Private registry credentials go in daemon config:

{ "pluginRegistries": { "plugins.example.com": { "authorization": "Bearer token" } } }

Restart the daemon after changing these settings. Credentials go only to that registry, never to artifact hosts or redirects.

npm

Install Node.js with npm on the daemon host and put npm on the daemon's PATH. The daemon uses that host's npm configuration, including scoped registries and authentication. The client never downloads packages or runs npm. Loading, enabling, and reloading do not need npm.

The daemon installs each candidate and its production dependencies in an isolated directory and keeps the dependency tree and package-lock.json. A version, tag, or range chooses content for this installation only.

CLI

Put --host <url> before a command to target a daemon other than the default.

zekoder plugin init /absolute/path/to/plugin
zekoder plugin install <source>
zekoder plugin ls [id]
zekoder plugin update <id>
zekoder plugin update --all --check
zekoder plugin reload <id>
zekoder plugin logs <id>
zekoder plugin disable <id>
zekoder plugin enable <id>
zekoder plugin remove <id>

ls shows each plugin's source and installed revision without contacting the remote.

update <id> shows the current and proposed revision and asks for approval. Declining changes nothing.

  • npm: checks the package's latest and offers only a newer version.
  • Git: checks the remote's default HEAD, whatever branch, tag, or commit you installed.
  • Directory: skipped. Edit the directory and run reload.

--check previews only. --yes skips the question and is required for JSON and non-interactive updates. --all checks every plugin and reports each result independently. --version <version|tag|range> or --ref <branch|tag|commit> selects one plugin's update content and applies it without asking; it cannot combine with --all. Approval fetches exactly the reviewed commit or npm artifact, and a failed update keeps the previous installation.

remove never deletes a directory source. It deletes managed files for Git and npm sources.

Load failures

Run zekoder plugin ls for the current status and error, and zekoder plugin logs <id> for retained output.

SymptomCheck
Plugin entry points are missingNeither index.client.tsx nor index.server.ts exists with that exact name.
server-only module cannot be imported into the plugin client bundleClient code imports server/. Move the work behind an RPC and share its contract.
client-only module cannot be imported into the plugin server bundleServer code imports client/. Register that contribution from index.client.tsx.
Sidebar item is missingThe plugin is running, the item is not hidden in Settings, and the host is correct.
Edited code does not appearRun npm run typecheck, then zekoder plugin reload <id>.
Reload failsRead zekoder plugin logs <id>, fix the error, reload. The old bundle is not restored.
Zekoder

The flight recorder for AI-built software.

Zekoder is a product of Cybernetic Labs Ltd, London.