Pan up

From eltmon/overdeck · View interactive version

Pan up is an AI agent skill from the GitHub repository eltmon/overdeck. pan up — start the Overdeck dashboard (Node 22, port 3011)

How to use this skill

Skill file

Start Overdeck Services

Overview

pan up starts the Overdeck dashboard server (and Traefik if enabled). The

server is a single Node 22 process running the pre-built

dist/dashboard/server.js — it serves the API, the WebSocket endpoints, and

the built frontend all on port 3011. With Traefik enabled, the dashboard

is reachable at https://overdeck.localhost.

Never run the dashboard under Bun or via tsx — see the dashboard-Node22-only

rule. If the dist is stale after server code changes, run npm run build

first (or use /pan-reload, which builds then restarts).

When to Use

What Gets Started

  1. Dashboard server (port 3011, Node 22, dist/dashboard/server.js)

streaming (/ws/terminal)

  1. Traefik (optional, if enabled)

(feature-pan-XXX.overdeck.localhost)

In dev mode (pan dev, not pan up), the Vite frontend dev server runs

separately on port 3010 and proxies API calls to the server on 3011.

Basic Usage

# Start dashboard + Traefik
pan up

# Run in background
pan up --detach

# Skip Traefik startup
pan up --skip-traefik

# Skip Cloister/Deacon auto-start (escape hatch)
pan up --no-deacon

# Disable agent auto-resume for this boot
pan up --no-resume

# Start services without opening the app/browser
pan up --no-open

Identity guard

pan up refuses to run when the current directory is inside a non-primary

checkout: either a workspace worktree or any linked Git worktree, including a

handoff worktree. It exits with code 2 and names the primary checkout where the

command must run.

After startup, the health gate verifies both repoRoot and mode from

GET /api/health. If another server holds the port, the command reports

port held by non-primary server (cwd=…, mode=…); a 200 response from the wrong

server is a failure, not a successful start.

Desktop App

pan up opens the Overdeck Electron desktop app if it is installed in one of

the supported locations. Otherwise it falls back to the default browser.

Install the desktop app

When a supported install is found, pan up launches the app window. Without an

install, pan up opens the dashboard in your default browser. Use

pan up --no-open for scripted or headless starts that should not open a

window.

Step-by-Step Workflow

Step 1: Check current status

pan status          # running agents + system health
ss -tlnp | grep 3011  # is the server already listening?

If a dashboard is already running and misbehaving, prefer /pan-restart or

/pan-dashboard-restart over a blind pan down && pan up.

Step 2: Start

pan up

Step 3: Verify

curl -s http://127.0.0.1:3011/api/health   # {"status":"ok",...}

Then open https://overdeck.localhost (Traefik) or http://localhost:3011.

Step 4: Check logs (if issues)

tail -100 ~/.overdeck/logs/dashboard.log
cat ~/.overdeck/restart-status.json       # last restart outcome
tail -20 ~/.overdeck/logs/supervisor.log  # watchdog health-check history

Troubleshooting

Port 3011 already in use

ss -tlnp | grep 3011     # find the PID
pan down                 # stop services cleanly

Server starts but API calls return empty

The supervisor watchdog (port 3012) polls http://127.0.0.1:3011/api/health

every 10s and restarts the dashboard after 3 consecutive failures. If your

requests return empty, check ~/.overdeck/restart-status.json — you may be

mid-restart. Wait ~10s and retry.

Terminal panel stuck "Connection lost / Reconnecting"

The server is likely running under Bun — node-pty exits with code 0 under

Bun's addon layer. Stop it and start with pan up (Node 22).

Stale dist

After changing dashboard server code, pan up runs whatever is in dist/.

Run npm run build first, or use /pan-reload.

Related Skills

More Information

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.