(config: BridgeConfig, environmentId: string)
| 293 | |
| 294 | return { |
| 295 | printBanner(config: BridgeConfig, environmentId: string): void { |
| 296 | cachedIngressUrl = config.sessionIngressUrl |
| 297 | cachedEnvironmentId = environmentId |
| 298 | connectUrl = buildBridgeConnectUrl(environmentId, cachedIngressUrl) |
| 299 | regenerateQr(connectUrl) |
| 300 | |
| 301 | if (verbose) { |
| 302 | write(chalk.dim(`Remote Control`) + ` v${MACRO.VERSION}\n`) |
| 303 | } |
| 304 | if (verbose) { |
| 305 | if (config.spawnMode !== 'single-session') { |
| 306 | write(chalk.dim(`Spawn mode: `) + `${config.spawnMode}\n`) |
| 307 | write( |
| 308 | chalk.dim(`Max concurrent sessions: `) + `${config.maxSessions}\n`, |
| 309 | ) |
| 310 | } |
| 311 | write(chalk.dim(`Environment ID: `) + `${environmentId}\n`) |
| 312 | } |
| 313 | if (config.sandbox) { |
| 314 | write(chalk.dim(`Sandbox: `) + `${chalk.green('Enabled')}\n`) |
| 315 | } |
| 316 | write('\n') |
| 317 | |
| 318 | // Start connecting spinner — first updateIdleStatus() will stop it |
| 319 | startConnecting() |
| 320 | }, |
| 321 | |
| 322 | logSessionStart(sessionId: string, prompt: string): void { |
| 323 | if (verbose) { |
nothing calls this directly
no test coverage detected