import type { Host } from './models'; export function hostDisplayTitle(host: Pick): string { return host.label?.trim() || host.hostname; }