Loading...
Loading...
Run isolated mux desktop (Electron) instances (temp MUX_ROOT + free ports)
npx skill4agent add coder/mux dev-desktop-sandboxmake devmake startMUX_ROOTMUX_ROOTmake dev-desktop-sandboxMUX_ROOTproviders.jsoncconfig.jsonmake devMUX_ROOT=<temp>MUX_VITE_PORT=<free-port>make build-staticdist/splash.htmlbunx electron .MUX_ROOT=<temp>MUX_DEVSERVER_HOST=127.0.0.1MUX_DEVSERVER_PORT=<vite-port>MUX_SERVER_PORT=0EADDRINUSEconfig.jsonapiServerPortCMUX_ALLOW_MULTIPLE_INSTANCES=1# Start with a clean instance (do not copy providers or projects)
make dev-desktop-sandbox DEV_DESKTOP_SANDBOX_ARGS="--clean-providers --clean-projects"
# Skip copying providers.jsonc
make dev-desktop-sandbox DEV_DESKTOP_SANDBOX_ARGS="--clean-providers"
# Clear projects from config.json (preserves other config)
make dev-desktop-sandbox DEV_DESKTOP_SANDBOX_ARGS="--clean-projects"
# Use a specific root to seed from (defaults to $MUX_ROOT then ~/.mux-dev then ~/.mux)
SEED_MUX_ROOT=~/.mux-dev make dev-desktop-sandbox
# Keep the sandbox root directory after exit (useful for debugging)
KEEP_SANDBOX=1 make dev-desktop-sandbox
# Pin Vite port
VITE_PORT=5174 make dev-desktop-sandbox
# Control how long we wait for Vite to come up (ms)
VITE_READY_TIMEOUT_MS=120000 make dev-desktop-sandbox
# Enable/pin Electron remote debugging port (defaults to an auto-picked free port)
ELECTRON_DEBUG_PORT=9223 make dev-desktop-sandbox
# Disable Electron remote debugging entirely
ELECTRON_DEBUG_PORT=0 make dev-desktop-sandbox
# Override the internal API server port (defaults to 0/random for sandboxes)
MUX_SERVER_PORT=3772 make dev-desktop-sandbox
# Override which make binary to use
MAKE=gmake make dev-desktop-sandboxMUX_E2E=1MUX_ROOTuserDataMUX_E2E=1userDataMUX_E2E=1 make dev-desktop-sandboxproviders.jsoncsecrets.json