Cockpit (Pro plugin, stage 1)
mesa-cockpit is the licensed entry point for the cockpit surface.
MESA_LICENSE_FILE=./acme.license mesa-cockpit --project ../my-shop --port 5191
License gate
- Requires
limits.pluginsto includecockpit(or*). - Missing/invalid license or missing plugin →
PLUGIN_NOT_LICENSED/LICENSE_*, exit 1. - On success it launches the base cockpit sidecar with inherited stdio and forwards SIGINT/SIGTERM.
Migration status
Stage 3 serves a minimal Pro UI (src/cockpit/ui-server.mjs) on loopback and proxies /api/* to a
private base cockpit sidecar started on a throwaway port. The browser never sees the base UI. The
dashboard currently shows overview + change proposals; richer views and base UI removal follow.
源文件 · mesa-pro/docs/cockpit.md