Awesome Reviewers

Environment-dependent configuration (base URLs, feature endpoints, privacy/dashboard links, etc.) must be resolved from a single authoritative source and reused everywhere, instead of being hardcoded or re-derived in multiple places.

Example pattern:

// single source of truth, resolved once at startup
const appBaseUrl = await desktopClient.invoke<string>("get_cline_app_base_url");

// single builder used by every consumer
function buildClineUrl(path: string): string | undefined {
  return appBaseUrl ? `${appBaseUrl}${path}` : undefined; // hide link if unresolved
}

const dashboardUrl = buildClineUrl("/dashboard");
const privacySettingsUrl = buildClineUrl(user?.dataPrivacyPath ?? "/privacy");

This keeps all environment-aware links consistent, avoids drift between hardcoded and dynamic URLs, and prevents unnecessary network calls or UI duplication.