export function getRendererPlatform(): NodeJS.Platform { // TODO: Replace fallback assumptions when non-macOS renderer support is implemented. if (typeof window === 'undefined') return 'linux'; return window.textile?.platform ?? 'linux'; }