(sessionId: string)
| 386 | }, |
| 387 | |
| 388 | setAttached(sessionId: string): void { |
| 389 | stopConnecting() |
| 390 | currentState = 'attached' |
| 391 | currentStateText = 'Connected' |
| 392 | lastToolSummary = null |
| 393 | lastToolTime = 0 |
| 394 | // Multi-session: keep footer/QR on the environment connect URL so users |
| 395 | // can spawn more sessions. Per-session links are in the bullet list. |
| 396 | if (sessionMax <= 1) { |
| 397 | activeSessionUrl = buildBridgeSessionUrl( |
| 398 | sessionId, |
| 399 | cachedEnvironmentId, |
| 400 | cachedIngressUrl, |
| 401 | ) |
| 402 | regenerateQr(activeSessionUrl) |
| 403 | } |
| 404 | renderStatusLine() |
| 405 | }, |
| 406 | |
| 407 | updateReconnectingStatus(delayStr: string, elapsedStr: string): void { |
| 408 | stopConnecting() |
nothing calls this directly
no test coverage detected