Get started

Local development and testing

Develop against a server only you use. You publish, review and install there as often as you like, then submit the finished version to a shared server once.

Your own server

From the checkout root, with Node.js 24.15 or later and Docker Compose 2.24.4 or later:

shell
node infra/superbot/host.mjs init
node infra/superbot/host.mjs up
node infra/superbot/host.mjs status

Point both command-line tools at it:

shell
superbot server http://127.0.0.1:5173
superbot login

Become a reviewer

Reviewing needs a verified account whose email is in SUPERBOT_ADMIN_EMAILS. Without mail, create a verified account with the bootstrap command:

  1. In .env.superbot.local, set SUPERBOT_ADMIN_EMAILS to your email. Separate several reviewers with commas.
  2. Export OWNER_EMAIL and OWNER_PASSWORD (at least 16 characters), run node infra/superbot/host.mjs account, then remove both variables from your shell.
  3. Run node infra/superbot/host.mjs up to apply the setting.

The account can then open Review in the store and run superbot-plugin list submissions.

The edit loop

Approved versions never change, so each change is a new version number. On your own server that costs a few seconds:

shell
superbot-plugin validate
superbot-plugin publish water-log 2
superbot-plugin review VERSION_ID approved
superbot-plugin switch-version INSTALLATION_ID CURRENT_VERSION_ID VERSION_ID
superbot-plugin set-grants INSTALLATION_ID BOT_ID drinks

Switching keeps the installation and clears its grants, so grant again after each switch. Record apps keep separate entries per version: switching back shows the earlier version's entries.

Fixtures and tests

The repository's fixtures start disposable servers on loopback ports with synthetic accounts and a deterministic model. They never touch your own data.

WhatCommand
Manifest rules and starterscargo test -p superbot-plugin-kit --locked
The mcp-app starter over loopback, with Node.js 24cargo test -p superbot-plugin-kit --locked --test scaffold binary_mcp_app_calculates_over_loopback -- --ignored
A tool call through discovery, approval, replay and denialpnpm exec vitest run packages/adapters/src/runs/executor/executor-readonly-approval.test.ts -t 'marketplace plugin dispatch'
Record apps through a bot, grants and revocation, end to endnode --import tsx infra/superbot/verify-chat.mjs PG_BIN SUPERBOT_EXE --marketplace-app
Record apps with a local modelnode --import tsx infra/superbot/verify-chat.mjs PG_BIN SUPERBOT_EXE --local-app-records
The T3 Code inbox companionnode --test examples/plugins/t3-coding/companion.test.mjs

verify-chat.mjs needs a local PostgreSQL bin directory and a built superbot executable. Run pnpm db:generate and pnpm --filter @rakazo/api build first. Add the desktop executable as a third argument to open the desktop app against the same disposable server.

Reset and clean up

Move to a shared server

  1. Sign in to the shared server: superbot server https://superbot.example.com, then superbot login.
  2. Check that your slug is free there, then superbot-plugin publish SLUG 1. Version numbers are per server.
  3. Wait for its reviewers. superbot-plugin status VERSION_ID shows the decision and any reason. See Review, install and versions.