From c1269abd57b788f34efd3c9b0415568512873a8c Mon Sep 17 00:00:00 2001 From: thewesleymorgan Date: Sun, 17 May 2026 13:50:37 -0700 Subject: [PATCH] fix(standalone): print server URL on startup logger.info() is silenced by default (WARN level) so the existing URL log never appeared. Bypass the logger with console.log and convert any-address hosts (0.0.0.0, ::) to localhost for user-friendly output. IPv6 addresses are wrapped in brackets per RFC 2732. Co-Authored-By: Claude Sonnet 4.6 --- src/main/standalone.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/standalone.ts b/src/main/standalone.ts index f18b841..b5f9159 100644 --- a/src/main/standalone.ts +++ b/src/main/standalone.ts @@ -171,7 +171,10 @@ async function start(): Promise { // Start the server const port = await httpServer.start(services, modeSwitchHandler, PORT, HOST); logger.info(`Standalone server running at http://${HOST}:${port}`); - logger.info('Open in your browser to view Claude Code sessions'); + // Always print the URL regardless of log level so users know where to connect + const displayHost = HOST === '0.0.0.0' || HOST === '::' ? 'localhost' : HOST; + const urlHost = displayHost.includes(':') ? `[${displayHost}]` : displayHost; + console.log(`\n claude-devtools running at http://${urlHost}:${port}\n`); } async function shutdown(): Promise {