motd/shelley: use FQDN in URLs instead of short hostname

Philip Zeyliger and Claude created

Prompt: When shelley gets its prompt, does it use hostname or hostname -f? Also its welcome message
Prompt: great. also change the hostname in ChatInterface.tsx

Use hostname -f in motd hints and add .exe.xyz suffix in Shelley UI
so URLs display as bloggy.exe.xyz instead of just bloggy.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

Change summary

server/handlers.go | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)

Detailed changes

server/handlers.go 🔗

@@ -332,10 +332,14 @@ func (s *Server) serveIndexWithInit(w http.ResponseWriter, r *http.Request, fs h
 		}
 	}
 
-	// Get hostname
+	// Get hostname (add .exe.xyz suffix if no dots, matching system_prompt.go)
 	hostname := "localhost"
 	if h, err := os.Hostname(); err == nil {
-		hostname = h
+		if !strings.Contains(h, ".") {
+			hostname = h + ".exe.xyz"
+		} else {
+			hostname = h
+		}
 	}
 
 	// Get default working directory