The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
v2.5.0 X2+X3+X4-UI: docs page, lightweight curation, Troubleshoot panel
purple35c0d2a31ec9
diff --git a/docs/index.html b/docs/index.htmlindex 66950a9f..eb8b6545 100644--- a/docs/index.html+++ b/docs/index.html@@ -1194,6 +1194,7 @@ footer a:hover{color:var(--fg)}<div class="footer-row footer-links"><a href="https://locallyuncensored.com/blog/">Blog</a><a href="https://locallyuncensored.com/guide/">Guide</a>+ <a href="https://locallyuncensored.com/remote-access/">Remote access</a><a href="https://locallyuncensored.com/discord" target="_blank" rel="noopener" style="color:#5865F2">Discord</a><a href="https://github.com/PurpleDoubleD/locally-uncensored">GitHub</a><a href="https://github.com/PurpleDoubleD/locally-uncensored/discussions">Discussions</a>diff --git a/docs/remote-access/index.html b/docs/remote-access/index.htmlnew file mode 100644index 00000000..ba41c5b7--- /dev/null+++ b/docs/remote-access/index.html@@ -0,0 +1,184 @@+<!DOCTYPE html>+<html lang="en">+<head>+<meta charset="UTF-8">+<meta name="viewport" content="width=device-width, initial-scale=1.0">+<title>Remote Access - Locally Uncensored</title>+<meta name="description" content="Use Locally Uncensored from your phone over your home Wi-Fi or anywhere via Cloudflare Tunnel. Six-digit passcode. Full mobile web app — chat, Codex, tools, plugins. Your desktop does the compute.">+<meta name="robots" content="index, follow">+<meta name="theme-color" content="#0a0a0a">+<link rel="icon" href="../favicon.png">+<style>+*{margin:0;padding:0;box-sizing:border-box}+body{background:#0a0a0a;color:#e5e5e5;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;line-height:1.7;font-size:15px}+a{color:#8b5cf6;text-decoration:none}+a:hover{text-decoration:underline}+.container{max-width:780px;margin:0 auto;padding:40px 24px 80px}+.back{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#6b7280;margin-bottom:32px}+.back:hover{color:#e5e5e5;text-decoration:none}+h1{font-size:28px;font-weight:700;color:#fff;margin-bottom:8px;letter-spacing:-0.02em}+.subtitle{font-size:15px;color:#6b7280;margin-bottom:40px}+h2{font-size:20px;font-weight:600;color:#fff;margin:48px 0 16px;padding-top:24px;border-top:1px solid #1a1a1a}+h2:first-of-type{border-top:none;margin-top:0}+h3{font-size:16px;font-weight:600;color:#d1d5db;margin:28px 0 10px}+p{margin-bottom:14px;color:#d1d5db}+.callout{background:#141414;border:1px solid #1f1f1f;border-radius:8px;padding:14px 18px;margin:16px 0;font-size:14px;color:#9ca3af}+.callout-title{font-weight:600;color:#d1d5db;margin-bottom:4px;font-size:13px;text-transform:uppercase;letter-spacing:0.05em}+.callout.tip{border-left:3px solid #8b5cf6}+.callout.warn{border-left:3px solid #f59e0b}+.callout.info{border-left:3px solid #3b82f6}+ul{margin:10px 0 16px 20px;color:#d1d5db}+li{margin-bottom:6px}+code{background:#1a1a1a;padding:2px 6px;border-radius:4px;font-size:13px;font-family:'Cascadia Code',Consolas,monospace;color:#a78bfa}+.toc{background:#111;border:1px solid #1f1f1f;border-radius:8px;padding:20px 24px;margin-bottom:40px}+.toc-title{font-size:13px;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:0.1em;margin-bottom:12px}+.toc a{display:block;padding:4px 0;font-size:14px;color:#9ca3af}+.toc a:hover{color:#8b5cf6;text-decoration:none}+.step{margin-bottom:20px}+.step-num{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#8b5cf6;color:#fff;font-size:12px;font-weight:700;margin-right:8px;flex-shrink:0}+.step-title{font-weight:600;color:#fff;font-size:15px}+.step-body{margin-left:32px;margin-top:6px}+.footer{text-align:center;padding:40px 0;border-top:1px solid #1a1a1a;margin-top:48px;font-size:12px;color:#4b5563}+table{width:100%;border-collapse:collapse;margin:12px 0 20px}+table td,table th{padding:8px 12px;border-bottom:1px solid #1a1a1a;font-size:14px;text-align:left}+th{color:#6b7280;font-weight:600;font-size:12px;text-transform:uppercase;letter-spacing:0.05em}+</style>+</head>+<body>+<div class="container">++<a href="../" class="back">← Back to home</a>++<h1>Remote Access</h1>+<p class="subtitle">Drive Locally Uncensored from your phone — over your home Wi-Fi or from anywhere via Cloudflare Tunnel. Your desktop does the compute.</p>++<nav class="toc">+<div class="toc-title">Contents</div>+<a href="#overview">What remote access does</a>+<a href="#lan">1. LAN mode (same Wi-Fi)</a>+<a href="#tunnel">2. Internet mode (Cloudflare Tunnel)</a>+<a href="#passcode">3. The six-digit passcode</a>+<a href="#qr">4. QR code pairing</a>+<a href="#permissions">5. Permissions per device</a>+<a href="#trouble">Troubleshooting</a>+<a href="#privacy">Privacy notes</a>+</nav>++<h2 id="overview">What remote access does</h2>+<p>Remote access turns your phone into a thin client for the LU instance running on your desktop. Every chat, Codex run, image generation, and tool call still executes on the desktop — the phone just sends prompts and receives results.</p>+<p>Two modes, both opt-in:</p>+<ul>+<li><strong>LAN</strong> — phone and desktop share the same Wi-Fi. Traffic never leaves your home network.</li>+<li><strong>Internet (Cloudflare Tunnel)</strong> — reach your desktop from anywhere through a Cloudflare-fronted HTTPS URL. Cloudflare relays the traffic; your desktop is never directly exposed.</li>+</ul>+<div class="callout info">+<div class="callout-title">Local-first stays local-first</div>+The LU brand promise is unchanged: every inference happens on your desktop. Remote access is purely a UI bridge.+</div>++<h2 id="lan">1. LAN mode (same Wi-Fi)</h2>++<div class="step">+<span class="step-num">1</span><span class="step-title">Open the Remote panel.</span>+<div class="step-body"><p>In the desktop app, click the radio icon in the bottom-left sidebar. The Remote Access panel opens.</p></div>+</div>++<div class="step">+<span class="step-num">2</span><span class="step-title">Click <code>Start LAN</code>.</span>+<div class="step-body"><p>The desktop binds an HTTPS server to your machine's LAN IP (something like <code>192.168.1.42:8788</code>). The panel shows the URL and a QR code.</p></div>+</div>++<div class="step">+<span class="step-num">3</span><span class="step-title">Open the URL on your phone.</span>+<div class="step-body"><p>Scan the QR code or type the URL into your phone's browser. The phone shows the LU web app login screen.</p></div>+</div>++<div class="step">+<span class="step-num">4</span><span class="step-title">Enter the passcode.</span>+<div class="step-body"><p>The desktop panel displays a six-digit passcode. Type it on your phone. The phone is now paired — chat, Codex, tools, plugins all work as on the desktop.</p></div>+</div>++<div class="callout tip">+<div class="callout-title">No port forwarding needed</div>+LAN mode works without router configuration. If your phone is on the same Wi-Fi network as your desktop, the connection just works.+</div>++<h2 id="tunnel">2. Internet mode (Cloudflare Tunnel)</h2>+<p>For accessing your desktop from coffee shops, hotels, or anywhere off-network. Cloudflare's <code>cloudflared</code> binary creates an outbound TLS tunnel; your desktop never opens a port to the public internet.</p>++<div class="step">+<span class="step-num">1</span><span class="step-title">Install <code>cloudflared</code> (one-time).</span>+<div class="step-body">+<p>Cloudflare's free tier is enough for personal use. Follow the official installer for your platform:</p>+<ul>+<li>Windows: <a href="https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/downloads/" target="_blank" rel="noopener">cloudflared installer</a></li>+<li>macOS: <code>brew install cloudflared</code></li>+<li>Linux: package from your distro or the Cloudflare apt/yum repos</li>+</ul>+</div>+</div>++<div class="step">+<span class="step-num">2</span><span class="step-title">Click <code>Start Tunnel</code> in the Remote panel.</span>+<div class="step-body"><p>LU launches <code>cloudflared tunnel --url localhost:8788</code> in the background. After a few seconds you get a <code>trycloudflare.com</code> URL plus a fresh QR code.</p></div>+</div>++<div class="step">+<span class="step-num">3</span><span class="step-title">Open the tunnel URL on your phone — from anywhere.</span>+<div class="step-body"><p>Same passcode flow as LAN mode. Once paired, the phone keeps working until you either stop the tunnel or restart the desktop.</p></div>+</div>++<div class="callout warn">+<div class="callout-title">Free tier limits</div>+The free <code>trycloudflare</code> URL changes every restart. For a stable URL, use a Cloudflare account-bound tunnel — configure <code>cloudflared tunnel login</code> first; LU picks it up automatically on the next Start Tunnel.+</div>++<h2 id="passcode">3. The six-digit passcode</h2>+<p>LU generates a random six-digit passcode on every server start. It's the gate between "anyone with the URL" and "this phone, paired with my desktop right now".</p>+<ul>+<li>Shown in the Remote panel next to the QR code.</li>+<li>Each connected device exchanges the passcode for a per-device token.</li>+<li>Stop the server → new passcode on next start. Old tokens stop working.</li>+<li>Regenerate the passcode any time via the <code>Regenerate</code> button — revokes all paired devices.</li>+</ul>++<h2 id="qr">4. QR code pairing</h2>+<p>The QR code encodes <code>https://<url>/#passcode=<6-digit></code>. Scanning it on your phone opens the web app already authenticated — no typing.</p>+<div class="callout info">+<div class="callout-title">QR is the same secret as the passcode</div>+Treat the QR code as a one-time token. Don't share a screenshot in a public chat. If you do leak it, just hit <code>Regenerate</code>.+</div>++<h2 id="permissions">5. Permissions per device</h2>+<p>Once a phone has paired, the Remote panel lists it as a connected device. You can:</p>+<ul>+<li><strong>Toggle chat / Codex / tool access</strong> per device — e.g. let your kid use chat from their tablet but block <code>shell_execute</code>.</li>+<li><strong>Rename the device</strong> so the list stays readable.</li>+<li><strong>Disconnect</strong> — revokes the token immediately.</li>+</ul>++<h2 id="trouble">Troubleshooting</h2>+<table>+<tr><th>Symptom</th><th>Likely cause / fix</th></tr>+<tr><td>QR shows but phone can't open the URL</td><td>Phone is on a different Wi-Fi (e.g. 5 GHz vs 2.4 GHz). Switch the phone to the same SSID as the desktop, or use Internet mode.</td></tr>+<tr><td>Browser warns "Not secure"</td><td>LAN mode uses a self-signed cert by default. Tap "Advanced → Proceed". For trusted HTTPS, use Internet mode (Cloudflare's cert is real).</td></tr>+<tr><td>Tunnel button greyed out</td><td><code>cloudflared</code> not on PATH. Install it (see step 1 of Internet mode) and click <code>Refresh</code>.</td></tr>+<tr><td>Passcode rejected</td><td>Passcode regenerated after the QR was scanned. Open the panel, scan the fresh QR.</td></tr>+<tr><td>Phone disconnects after a few minutes</td><td>Desktop went to sleep. Disable system sleep, or pair again on wake.</td></tr>+</table>++<h2 id="privacy">Privacy notes</h2>+<ul>+<li><strong>Compute stays local.</strong> Models, prompts, and tool calls execute on your desktop. The phone just renders the UI and ships keystrokes.</li>+<li><strong>Cloudflare sees encrypted bytes only.</strong> The tunnel is TLS-terminated at your desktop — Cloudflare relays the encrypted stream but cannot read it.</li>+<li><strong>No telemetry.</strong> LU does not phone home, and the Remote module is no exception.</li>+<li><strong>You're in control.</strong> Stop the server any time — everything pairs again next session.</li>+</ul>++<div class="footer">+Locally Uncensored — private, local AI that you can drive from your couch. <a href="../">Back to home</a>.+</div>++</div>+</body>+</html>diff --git a/src/api/discover.ts b/src/api/discover.tsindex f87d95da..c945c887 100644--- a/src/api/discover.ts+++ b/src/api/discover.ts@@ -18,6 +18,12 @@ export interface DiscoverModel {hot?: boolean // Featured/trending modelagent?: boolean // Supports Agent Mode tool callingreleased?: string // Release date YYYY-MM for sorting (newest first)+ // F4 (juliandiggins-stack GH#21): explicit CPU-only / ≤8 GB RAM+ // tag. Surfaces a green "CPU-friendly" badge in DiscoverModels and+ // exposes the optional "Lightweight" filter. Set true for ≤4B+ // uncensored models we have personally test-loaded on a CPU-only+ // 8 GB box.+ lightweight?: boolean// Multi-providerprovider?: ProviderId // Which provider this model belongs toproviderName?: string // Display name of the provider@@ -361,7 +367,7 @@ function sortByRelease(models: DiscoverModel[]): DiscoverModel[] {export function getUncensoredTextModels(): DiscoverModel[] {return sortByRelease([// ── HOT: Hermes 3 ──- { name: 'Hermes 3 Llama 3.2 3B', description: 'NousResearch Hermes 3 — uncensored + native tool calling. Lightweight.', pulls: '500K+', tags: ['3B', 'Q4_K_M', '2 GB'], updated: 'Hot', agent: true, released: '2024-08', downloadUrl: HF('bartowski/Hermes-3-Llama-3.2-3B-GGUF', 'Hermes-3-Llama-3.2-3B-Q4_K_M.gguf'), filename: 'Hermes-3-Llama-3.2-3B-Q4_K_M.gguf', sizeGB: 2 },+ { name: 'Hermes 3 Llama 3.2 3B', description: 'NousResearch Hermes 3 — uncensored + native tool calling. Runs on 8 GB RAM, CPU-only.', pulls: '500K+', tags: ['3B', 'Q4_K_M', '2 GB'], updated: 'Hot', agent: true, lightweight: true, released: '2024-08', downloadUrl: HF('bartowski/Hermes-3-Llama-3.2-3B-GGUF', 'Hermes-3-Llama-3.2-3B-Q4_K_M.gguf'), filename: 'Hermes-3-Llama-3.2-3B-Q4_K_M.gguf', sizeGB: 2 },{ name: 'Hermes 3 Llama 3.1 8B', description: 'NousResearch Hermes 3 — uncensored + native tool calling. THE agent model.', pulls: '500K+', tags: ['8B', 'Q4_K_M', '5 GB'], updated: 'Hot', agent: true, released: '2024-08', downloadUrl: HF('bartowski/Hermes-3-Llama-3.1-8B-GGUF', 'Hermes-3-Llama-3.1-8B-Q4_K_M.gguf'), filename: 'Hermes-3-Llama-3.1-8B-Q4_K_M.gguf', sizeGB: 5 },{ name: 'Hermes 3 Llama 3.1 70B', description: 'NousResearch Hermes 3 70B — maximum intelligence, uncensored.', pulls: '500K+', tags: ['70B', 'Q4_K_M', '42 GB'], updated: 'Hot', agent: true, released: '2024-08', downloadUrl: HF('bartowski/Hermes-3-Llama-3.1-70B-GGUF', 'Hermes-3-Llama-3.1-70B-Q4_K_M.gguf'), filename: 'Hermes-3-Llama-3.1-70B-Q4_K_M.gguf', sizeGB: 42 },// ── HOT: Dolphin 3 ──@@ -402,7 +408,9 @@ export function getUncensoredTextModels(): DiscoverModel[] {// ── Popular: GLM 4.6 Abliterated ──{ name: 'GLM 4 9B Abliterated', description: 'GLM 4 9B abliterated — strong coding and reasoning.', pulls: '5K+', tags: ['9B', 'Q4_K_M', '5 GB'], updated: 'New', agent: true, released: '2026-03', downloadUrl: HF('bartowski/glm-4-9b-chat-abliterated-GGUF', 'glm-4-9b-chat-abliterated-Q4_K_M.gguf'), filename: 'glm-4-9b-chat-abliterated-Q4_K_M.gguf', sizeGB: 5 },// ── Popular: Gemma 3 Abliterated ──- { name: 'Gemma 3 4B Abliterated', description: 'Google Gemma 3 4B abliterated — lightweight, vision support.', pulls: '20K+', tags: ['4B', 'Q4_K_M', '2.3 GB'], updated: 'Popular', released: '2025-03', downloadUrl: HF('bartowski/mlabonne_gemma-3-4b-it-abliterated-GGUF', 'mlabonne_gemma-3-4b-it-abliterated-Q4_K_M.gguf'), filename: 'mlabonne_gemma-3-4b-it-abliterated-Q4_K_M.gguf', sizeGB: 2.3 },+ { name: 'Gemma 3 4B Abliterated', description: 'Google Gemma 3 4B abliterated — vision support, runs on 8 GB RAM CPU-only.', pulls: '20K+', tags: ['4B', 'Q4_K_M', '2.3 GB'], updated: 'Popular', lightweight: true, released: '2025-03', downloadUrl: HF('bartowski/mlabonne_gemma-3-4b-it-abliterated-GGUF', 'mlabonne_gemma-3-4b-it-abliterated-Q4_K_M.gguf'), filename: 'mlabonne_gemma-3-4b-it-abliterated-Q4_K_M.gguf', sizeGB: 2.3 },+ // ── Lightweight pinned for CPU-only / ≤8 GB RAM (F4 juliandiggins-stack GH#21) ──+ { name: 'Llama 3.2 3B Abliterated', description: 'Meta Llama 3.2 3B abliterated — proven small uncensored, low resource footprint.', pulls: '50K+', tags: ['3B', 'Q4_K_M', '2 GB'], updated: 'Popular', agent: true, lightweight: true, released: '2024-09', downloadUrl: HF('mradermacher/Llama-3.2-3B-Instruct-abliterated-GGUF', 'Llama-3.2-3B-Instruct-abliterated.Q4_K_M.gguf'), filename: 'Llama-3.2-3B-Instruct-abliterated.Q4_K_M.gguf', sizeGB: 2 },{ name: 'Gemma 3 12B Abliterated', description: 'Google Gemma 3 12B abliterated — vision support, great quality.', pulls: '20K+', tags: ['12B', 'Q4_K_M', '8 GB'], updated: 'Popular', released: '2025-03', downloadUrl: HF('bartowski/mlabonne_gemma-3-12b-it-abliterated-GGUF', 'mlabonne_gemma-3-12b-it-abliterated-Q4_K_M.gguf'), filename: 'mlabonne_gemma-3-12b-it-abliterated-Q4_K_M.gguf', sizeGB: 8 },{ name: 'Gemma 3 27B Abliterated', description: 'Google Gemma 3 27B abliterated — strong reasoning + vision.', pulls: '20K+', tags: ['27B', 'Q4_K_M', '17 GB'], updated: 'Popular', released: '2025-03', downloadUrl: HF('bartowski/mlabonne_gemma-3-27b-it-abliterated-GGUF', 'mlabonne_gemma-3-27b-it-abliterated-Q4_K_M.gguf'), filename: 'mlabonne_gemma-3-27b-it-abliterated-Q4_K_M.gguf', sizeGB: 17 },// ── Popular: Qwen3 14B Abliterated (two quants) ──diff --git a/src/components/models/DiscoverModels.tsx b/src/components/models/DiscoverModels.tsxindex 0b91042c..6b863e02 100644--- a/src/components/models/DiscoverModels.tsx+++ b/src/components/models/DiscoverModels.tsx@@ -57,6 +57,17 @@ function ModelDiscoverCard({ model, index, isText, getModelDownloadState, isMode{isModelFullyInstalled(model) && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-green-500/15 text-green-500 font-bold border border-green-500/30 shrink-0">INSTALLED</span>}{model.hot && !isModelFullyInstalled(model) && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-orange-500/15 text-orange-500 font-bold border border-orange-500/30 shrink-0">HOT</span>}{model.agent && <span className="text-[0.55rem] px-1.5 py-0.5 rounded bg-green-500/15 text-green-500 font-bold border border-green-500/30 shrink-0">AGENT</span>}+ {/* F4 (juliandiggins-stack GH#21) — explicit CPU-only / ≤8 GB RAM badge.+ Pinned to a small curated set of uncensored models that we have+ test-loaded on an 8 GB box without a discrete GPU. */}+ {model.lightweight && (+ <span+ className="text-[0.55rem] px-1.5 py-0.5 rounded bg-emerald-500/15 text-emerald-500 font-bold border border-emerald-500/30 shrink-0"+ title="Runs on 8 GB RAM, CPU-only. No discrete GPU required."+ >+ CPU-FRIENDLY+ </span>+ )}<span>{model.description || model.name}</span></h3><p className="text-xs text-gray-400 dark:text-gray-500 mt-0.5 truncate">{model.name}</p>diff --git a/src/components/settings/SettingsPage.tsx b/src/components/settings/SettingsPage.tsxindex 9d3ba5e1..866181a6 100644--- a/src/components/settings/SettingsPage.tsx+++ b/src/components/settings/SettingsPage.tsx@@ -804,6 +804,10 @@ export function SettingsPage() {</Section><UpdateSection />++ <Section title="Troubleshoot">+ <TroubleshootSection />+ </Section></>)}{/* ── AI Backends tab ──────────────────────────── */}@@ -1040,3 +1044,145 @@ function UpdateSection() {</Section>)}++// ── B7 Troubleshoot section — one-shot diagnostic probe ───────++interface BackendProbe {+ status: 'ok' | 'unreachable' | 'not_installed' | 'error'+ detail: string+ endpoint: string+}++interface SystemHealthReport {+ version: string+ host: {+ os: string+ os_version: string+ arch: string+ cpu_count: number+ ram_gb: number+ disk_free_gb: number+ }+ ollama: BackendProbe+ comfyui: BackendProbe+ lm_studio: BackendProbe+}++function ProbeBadge({ probe }: { probe: BackendProbe }) {+ const colors: Record<BackendProbe['status'], string> = {+ ok: 'bg-emerald-500/15 text-emerald-500 border-emerald-500/30',+ unreachable: 'bg-amber-500/15 text-amber-500 border-amber-500/30',+ not_installed: 'bg-gray-500/15 text-gray-500 border-gray-500/30',+ error: 'bg-red-500/15 text-red-500 border-red-500/30',+ }+ const labels: Record<BackendProbe['status'], string> = {+ ok: 'Reachable',+ unreachable: 'Not running',+ not_installed: 'Not installed',+ error: 'Error',+ }+ return (+ <span+ className={`text-[0.55rem] px-1.5 py-0.5 rounded border font-medium ${colors[probe.status]}`}+ title={probe.detail || probe.endpoint}+ >+ {labels[probe.status]}+ </span>+ )+}++function TroubleshootSection() {+ const [report, setReport] = useState<SystemHealthReport | null>(null)+ const [loading, setLoading] = useState(false)+ const [error, setError] = useState<string | null>(null)++ const run = async () => {+ setLoading(true)+ setError(null)+ try {+ const r = await backendCall<SystemHealthReport>('system_health', {})+ setReport(r)+ } catch (e) {+ setError(e instanceof Error ? e.message : String(e))+ } finally {+ setLoading(false)+ }+ }++ // Auto-run on first open so the panel never starts empty.+ useEffect(() => {+ void run()+ }, [])++ return (+ <div className="space-y-3 py-2">+ <p className="text-[0.6rem] text-gray-500 leading-relaxed">+ One-shot probe of the local backends and host facts. Use this when+ the app behaves oddly — most "model not found" / "ComfyUI doesn't+ respond" issues become obvious here.+ </p>++ {error && (+ <div className="rounded-lg bg-red-500/[0.08] border border-red-500/20 p-2.5 text-[0.65rem] text-red-400">+ system_health failed: {error}+ </div>+ )}++ {report && (+ <div className="space-y-2">+ {/* Backends */}+ <div className="rounded-lg border border-white/[0.06] p-2.5 space-y-2">+ <div className="text-[0.55rem] uppercase tracking-widest text-gray-500">Backends</div>+ <div className="flex items-center justify-between">+ <span className="text-[0.65rem] text-gray-300">Ollama</span>+ <ProbeBadge probe={report.ollama} />+ </div>+ <div className="flex items-center justify-between">+ <span className="text-[0.65rem] text-gray-300">ComfyUI</span>+ <ProbeBadge probe={report.comfyui} />+ </div>+ <div className="flex items-center justify-between">+ <span className="text-[0.65rem] text-gray-300">LM Studio</span>+ <ProbeBadge probe={report.lm_studio} />+ </div>+ </div>++ {/* Host facts */}+ <div className="rounded-lg border border-white/[0.06] p-2.5 space-y-1.5">+ <div className="text-[0.55rem] uppercase tracking-widest text-gray-500">Host</div>+ <div className="flex items-center justify-between text-[0.65rem]">+ <span className="text-gray-500">LU version</span>+ <span className="text-gray-300 font-mono">v{report.version}</span>+ </div>+ <div className="flex items-center justify-between text-[0.65rem]">+ <span className="text-gray-500">OS</span>+ <span className="text-gray-300 font-mono">{report.host.os} {report.host.os_version}</span>+ </div>+ <div className="flex items-center justify-between text-[0.65rem]">+ <span className="text-gray-500">Arch / CPUs</span>+ <span className="text-gray-300 font-mono">{report.host.arch} / {report.host.cpu_count}</span>+ </div>+ <div className="flex items-center justify-between text-[0.65rem]">+ <span className="text-gray-500">RAM</span>+ <span className="text-gray-300 font-mono">{report.host.ram_gb} GB</span>+ </div>+ <div className="flex items-center justify-between text-[0.65rem]">+ <span className="text-gray-500">Disk free (home)</span>+ <span className={`font-mono ${report.host.disk_free_gb < 10 ? 'text-amber-400' : 'text-gray-300'}`}>+ {report.host.disk_free_gb} GB+ </span>+ </div>+ </div>+ </div>+ )}++ <button+ onClick={run}+ disabled={loading}+ className="w-full px-3 py-1.5 rounded-md text-[0.65rem] font-medium bg-gray-100 dark:bg-white/[0.06] hover:bg-gray-200 dark:hover:bg-white/10 text-gray-800 dark:text-gray-200 transition-colors disabled:opacity-50"+ >+ {loading ? 'Probing…' : 'Re-probe'}+ </button>+ </div>+ )+}