`pnpm dev --tunnel` printed its banner to stdout, and a TTY run then handed the screen to DashboardTUI, which repainted over it. The public URL — the entire output of the flag — was unreadable. The wrapper forwards the URL to the dev child over the IPC channel it already uses for the listening report, and the dashboard renders a Tunnel row in the system panel beside URL and Token. Capture is order-independent. cloudflared can publish before or after the TUI is constructed, and an IPC message that arrives with no listener attached is lost, so the URL is stored at run scope on arrival and applied by whichever half completes second. Watch-mode restarts reuse the tunnel (a fresh quick tunnel would hand out a new hostname on every reload), but the new child knows nothing about it, so the wrapper re-announces on each listening report. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
16 KiB
16 KiB