Appearance
Development workflow
The supported authoring loop lives in the UnCorded desktop app. It creates a durable plugin workspace on your machine, hands the build to your AI app, validates the manifest, and installs the result into a server without you editing runtime-owned files.
Create a workspace
Open the target server, then go to:
Server settings → Plugins → Develop → New plugin
Enter a display name, permanent slug, description, and what the plugin should do. UnCorded creates:
text
~/.uncorded/plugin-dev/<slug>/
manifest.json
backend/index.ts
frontend/index.html
migrations/001_init.sql
package.json
PROMPT.md
AGENTS.mdThe workspace is machine-global: it survives deleting a server and may be installed into another locally hosted server later. The generated guestbook-like starter is intentionally small but working. Edit it in place; do not rename the folder because its name is the plugin identity.
PROMPT.md carries the idea entered in the app. AGENTS.md carries the SDK rules and links an agent should read before editing. After creating the plugin, the app copies the prompt for you to paste into your AI app, or opens your connected AI app with the request typed in. Open folder works with any editor.
Try it on a server
Choose Install into this server on the plugin's Develop screen. It works on native WSL2 and Docker hosts: it reviews capabilities, copies the plugin through the desktop installer, updates registration, restarts or reconciles the server, and verifies the result. The installer attempts rollback when deployment fails. Install again after each change to try the new version.
What the desktop installer owns
Do not make routine development depend on finding a Docker volume, a WSL path, or server.json. The installer owns:
- manifest and API-version preflight;
- the owner consent record for permissions and companion workloads;
- an atomic code swap and installed-plugin registration;
- host-specific restart/reconciliation;
- post-start health/load verification and rollback;
- companion reconciliation on hosts where the experimental lane is enabled.
Hand-copying a folder and editing installed_plugins bypasses much of that workflow. It remains an operator/recovery technique, not the public quickstart.
SDK and dependencies
The backend imports @uncorded/plugin-sdk, but you do not add that package to package.json. It is not published on npm; the server runtime supplies the matching @uncorded/* packages when it loads the plugin.
Third-party backend dependencies are different: run bun add <package> inside the plugin folder and ship the resulting node_modules. The runtime does not install them for you. Do not add a plugin-local tsconfig.json unless you also replicate the runtime's @uncorded/* aliases or vendor those packages; the nearest config wins and otherwise breaks SDK resolution.
Today there is no separately published public npm SDK or standalone manifest validator for editor-only use. The desktop's manifest status and install preflight are the public validation surfaces; runtime execution supplies the actual SDK. Keep this limitation in mind when configuring external TypeScript tooling.
Recommended verification loop
- Keep
manifest.jsonpermissions minimal and fix the Develop screen's manifest status before running. - Use Install into this server and approve the exact capability diff.
- Exercise the plugin with two clients, restart the server, and verify both light and dark themes.
- Check at least one denied permission path and a failed/empty startup state.
Next: Getting started builds a complete plugin, while Plugin anatomy explains each generated file.