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
feat: v2.2.3 — Plug & Play setup wizard, true multi-provider, 25+ presets
PurpleDoubleDe3466333db59
diff --git a/README.md b/README.mdindex e8fcf9f4..fc1697f4 100644--- a/README.md+++ b/README.md@@ -4,9 +4,9 @@# Locally Uncensored-**Chat + Coding Agent + Images + Video — all local, all in one.**+**Plug & Play Local AI — Chat, Code, Images, Video. All in one.**-No cloud. No censorship. No data collection. Your AI, your rules.+No cloud. No censorship. No data collection. Auto-detects 12 local backends. Your AI, your rules.[](https://opensource.org/licenses/MIT)[](https://github.com/PurpleDoubleD/locally-uncensored/stargazers)@@ -34,15 +34,17 @@ No cloud. No censorship. No data collection. Your AI, your rules.----## v2.2.2 — Latest Release+## v2.2.3 — Latest Release-**Codex Coding Agent, MCP Tools, Permissions, File Upload, Thinking Mode**+**Plug & Play Setup, Multi-Provider Overhaul, Codex Agent, MCP Tools**+- **Plug & Play Setup** — First-launch wizard auto-detects 12 local backends (Ollama, LM Studio, vLLM, KoboldCpp, Jan, GPT4All, llama.cpp, LocalAI, text-generation-webui, TabbyAPI, Aphrodite, SGLang). Nothing installed? One-click install links. Re-Scan after install. Zero config.+- **25+ Provider Presets** — Every local and cloud backend pre-configured. Just pick and go.- **Codex Coding Agent** — Three-tab system (LU | Codex | OpenClaw). Dedicated coding mode with file tree, native folder picker, shell execution, up to 20 iterations per task.- **13 MCP Tools** — Dynamic tool registry: web_search, web_fetch, file_read, file_write, file_list, file_search, shell_execute, code_execute, system_info, process_list, screenshot, image_generate, run_workflow.- **Granular Permissions** — 7 categories (web, filesystem, terminal, system, desktop, image, workflow) with blocked/confirm/auto levels. Per-conversation overrides.-- **File Upload + Vision** — Drag & drop, Ctrl+V paste, clip button. Up to 5 images per message. Works across all providers (Ollama, OpenAI, Anthropic).-- **Thinking Mode** — Provider-agnostic. Ollama native `think:true`, cloud via system prompt. Collapsible thinking blocks.+- **File Upload + Vision** — Drag & drop, Ctrl+V paste, clip button. Up to 5 images per message. Works across all providers.+- **Thinking Mode** — Provider-agnostic. Native support where available, system prompt fallback for others. Collapsible thinking blocks.- **Model Load/Unload** — Power icons in header to load/unload models from VRAM.- **Smart Tool Selection** — Keyword-based filtering saves ~80% of tool-definition tokens.- **JSON Repair** — Fixes broken JSON from local LLMs (trailing commas, single quotes, missing braces).@@ -60,7 +62,8 @@ See [Release Notes](https://github.com/PurpleDoubleD/locally-uncensored/releases| AI Chat | **Yes** | Yes | Yes | Yes || **Coding Agent (Codex)** | **Yes** | No | No | No || **13 MCP Agent Tools** | **Yes** | No | No | No |-| **Multi-Provider** (Ollama + Cloud) | **Yes** | Yes | Yes | No |+| **Plug & Play Setup** | **12 Backends** | No | Built-in | No |+| **Multi-Provider** (25+ Presets) | **Yes** | Yes | Yes | No || **A/B Model Compare** | **Yes** | No | No | No || **Local Benchmark** | **Yes** | No | No | No || Image Generation | **Yes** | No | No | No |@@ -81,8 +84,9 @@ See [Release Notes](https://github.com/PurpleDoubleD/locally-uncensored/releases## Features### Core+- **Plug & Play Setup** — First-launch wizard auto-detects 12 local backends. Nothing installed? One-click install links for every backend. Re-Scan after install. Zero config needed.- **Uncensored AI Chat** — Abliterated models with zero restrictions. Streaming + thinking display.-- **Multi-Provider** — Ollama (local), OpenAI-compatible (OpenRouter, Groq, vLLM), Anthropic (Claude). Switch per conversation.+- **Multi-Provider** — 25+ presets. Local: Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, TabbyAPI, GPT4All, Aphrodite, SGLang, TGI. Cloud: OpenAI, Anthropic, OpenRouter, Groq, Together, DeepSeek, Mistral. Switch per conversation.- **Codex Coding Agent** — Reads codebase, writes code, runs shell commands. File tree with native folder picker. Up to 20 tool iterations.- **Agent Mode** — 13 MCP tools: web search, file I/O, shell, code execution, screenshots, system info. Native + Hermes XML fallback.- **Image Generation** — FLUX.1, Juggernaut XL, Pony Diffusion via ComfyUI. Full parameter control, no content filter.@@ -116,7 +120,7 @@ See [Release Notes](https://github.com/PurpleDoubleD/locally-uncensored/releases- **Desktop**: Tauri v2 (Rust backend, standalone .exe)- **Frontend**: React 19, TypeScript, Tailwind CSS 4, Framer Motion- **State**: Zustand with localStorage persistence-- **AI Backend**: Ollama, OpenAI-compat, Anthropic, ComfyUI, faster-whisper+- **AI Backend**: 25+ providers (Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, OpenAI, Anthropic, OpenRouter, Groq, and more), ComfyUI, faster-whisper- **Build**: Vite 8 (dev), Tauri CLI (production)---@@ -134,7 +138,7 @@ Download the installer from [Releases](https://github.com/PurpleDoubleD/locally-### macOSBuild from source (see below).-> **Local AI:** Install [Ollama](https://ollama.com/) for local models. Or use cloud providers (OpenAI, Anthropic) — configure in Settings, no local setup needed.+> **Plug & Play:** Just install and launch. The setup wizard auto-detects all 12 supported local backends ([Ollama](https://ollama.com/), [LM Studio](https://lmstudio.ai/), [vLLM](https://github.com/vllm-project/vllm), [KoboldCpp](https://github.com/LostRuins/koboldcpp), llama.cpp, LocalAI, Jan, GPT4All, text-generation-webui, TabbyAPI, Aphrodite, SGLang). Nothing installed yet? The wizard shows one-click install links for every backend.---@@ -167,7 +171,7 @@ Open the **Create** tab → click **"Install ComfyUI Automatically"**. One click## Recommended Models-### Text (Ollama)+### Text (any local backend)| Model | VRAM | Best For ||-------|------|----------|@@ -195,13 +199,14 @@ Open the **Create** tab → click **"Install ComfyUI Automatically"**. One click## Roadmap+- [x] **Plug & Play Setup** (auto-detect 12 local backends, one-click install links)- [x] Codex Coding Agent- [x] MCP Tool Registry (13 tools)- [x] Granular Permissions (7 categories)- [x] File Upload + Vision- [x] Thinking Mode (provider-agnostic)- [x] Model Load/Unload from header-- [x] Multi-Provider (Ollama + OpenAI + Anthropic)+- [x] Multi-Provider (25+ presets: Ollama, LM Studio, vLLM, KoboldCpp, OpenAI, Anthropic, and more)- [x] Agent Mode + Workflows- [x] Memory System- [x] A/B Compare + Local Benchmarkdiff --git a/docs/index.html b/docs/index.htmlindex 1c17143d..77d18e5b 100644--- a/docs/index.html+++ b/docs/index.html@@ -4,10 +4,10 @@<meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Locally Uncensored — Local AI Desktop App for Chat, Images & Video</title>-<meta name="description" content="Free, open-source desktop app for running AI privately on your machine. Uncensored chat, coding agent, image generation, and video creation — all in one interface. No cloud, no accounts, no data collection. MIT licensed. Windows & Linux.">-<meta name="keywords" content="local AI app, local AI desktop app, ollama frontend, ollama GUI, comfyui frontend, comfyui alternative, run AI locally, uncensored AI local, local AI image generation, local AI video generation, private AI app, self-hosted AI, offline AI chat, local LLM frontend, abliterated models, best local AI app 2026, open source AI app, all in one AI app, stable diffusion local, FLUX local, Wan 2.1 local, AI without cloud, free AI app, local AI chat, coding agent local, MCP tools">+<meta name="description" content="Free, open-source desktop app for running AI privately on your machine. Plug & Play — auto-detects 12 local backends. Uncensored chat, coding agent, image generation, video creation. No cloud, no accounts. MIT licensed. Windows & Linux.">+<meta name="keywords" content="local AI app, local AI desktop app, ollama frontend, ollama GUI, lm studio alternative, vllm frontend, koboldcpp frontend, comfyui frontend, comfyui alternative, run AI locally, uncensored AI local, local AI image generation, local AI video generation, private AI app, self-hosted AI, offline AI chat, local LLM frontend, abliterated models, best local AI app 2026, open source AI app, all in one AI app, stable diffusion local, FLUX local, Wan 2.1 local, AI without cloud, free AI app, local AI chat, coding agent local, MCP tools, multi provider AI, openai compatible"><meta property="og:title" content="Locally Uncensored — Chat, Code, Create. All Local. All Uncensored.">-<meta property="og:description" content="The only open-source local AI app combining uncensored chat, coding agent, image generation, and video creation in one interface. 13 built-in tools, multi-provider, no cloud.">+<meta property="og:description" content="Plug & Play local AI. Auto-detects 12 backends. Uncensored chat, coding agent, image generation, video creation. 25+ providers, 13 tools, no cloud."><meta property="og:image" content="https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png"><meta property="og:image:width" content="2752"><meta property="og:image:height" content="1536">@@ -24,13 +24,13 @@<meta name="theme-color" content="#0a0a0a"><link rel="icon" href="./favicon.png"><script type="application/ld+json">-{"@context":"https://schema.org","@type":"SoftwareApplication","name":"Locally Uncensored","applicationCategory":"DeveloperApplication","applicationSubCategory":"Artificial Intelligence","operatingSystem":"Windows, macOS, Linux","description":"All-in-one local AI desktop app for uncensored chat, coding agent, image generation, and video creation. 13 built-in tools, multi-provider support, granular permissions. Run Gemma 4, Qwen 3.5, FLUX, and Wan 2.1 models locally.","url":"https://locallyuncensored.com/","downloadUrl":"https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.2/Locally.Uncensored_2.2.2_x64-setup.exe","softwareVersion":"2.2.2","license":"https://opensource.org/licenses/MIT","author":{"@type":"Person","name":"PurpleDoubleD","url":"https://github.com/PurpleDoubleD"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"featureList":["Uncensored AI Chat via Ollama","Codex Coding Agent with 13 MCP Tools","Multi-Provider (Ollama + OpenAI + Anthropic)","Image Generation via ComfyUI","Video Generation with Wan 2.1","Granular Permission System","File Upload with Vision Support","Thinking Mode","A/B Model Compare","100% Offline and Private"],"screenshot":"https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png","softwareRequirements":"Ollama (auto-installed) or OpenAI-compatible API","memoryRequirements":"8 GB RAM minimum","storageRequirements":"6 GB for default model"}+{"@context":"https://schema.org","@type":"SoftwareApplication","name":"Locally Uncensored","applicationCategory":"DeveloperApplication","applicationSubCategory":"Artificial Intelligence","operatingSystem":"Windows, macOS, Linux","description":"All-in-one local AI desktop app for uncensored chat, coding agent, image generation, and video creation. 13 built-in tools, multi-provider support, granular permissions. Run Gemma 4, Qwen 3.5, FLUX, and Wan 2.1 models locally.","url":"https://locallyuncensored.com/","downloadUrl":"https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.3/Locally.Uncensored_2.2.3_x64-setup.exe","softwareVersion":"2.2.3","license":"https://opensource.org/licenses/MIT","author":{"@type":"Person","name":"PurpleDoubleD","url":"https://github.com/PurpleDoubleD"},"offers":{"@type":"Offer","price":"0","priceCurrency":"USD"},"featureList":["Plug & Play Setup with 12 Local Backend Auto-Detection","Uncensored AI Chat with 25+ Provider Presets","Codex Coding Agent with 13 MCP Tools","Multi-Provider: Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, OpenAI, Anthropic, OpenRouter, Groq, and more","Image Generation via ComfyUI","Video Generation with Wan 2.1","Granular Permission System","File Upload with Vision Support","Thinking Mode","A/B Model Compare","100% Offline and Private"],"screenshot":"https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png","softwareRequirements":"Any OpenAI-compatible backend (Ollama, LM Studio, vLLM, KoboldCpp, etc.) or cloud API key","memoryRequirements":"8 GB RAM minimum","storageRequirements":"6 GB for default model"}</script><script type="application/ld+json">{"@context":"https://schema.org","@type":"Organization","name":"PurpleDoubleD","url":"https://github.com/PurpleDoubleD","sameAs":["https://github.com/PurpleDoubleD","https://reddit.com/user/GroundbreakingMall54"]}</script><script type="application/ld+json">-{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is Locally Uncensored?","acceptedAnswer":{"@type":"Answer","text":"Locally Uncensored is a free, open-source desktop app that lets you run uncensored AI locally. It combines AI chat, a coding agent with 13 tools, image generation, and video creation in one interface. Multi-provider support for Ollama, OpenAI-compatible, and Anthropic. No cloud, no subscriptions, no data collection."}},{"@type":"Question","name":"Is it really free and offline?","acceptedAnswer":{"@type":"Answer","text":"Yes. After initial setup and model download, no internet is needed. Your conversations, images, and videos never leave your machine. MIT licensed, zero telemetry."}},{"@type":"Question","name":"How is this different from Open WebUI or LM Studio?","acceptedAnswer":{"@type":"Answer","text":"Those tools only handle text chat. Locally Uncensored combines chat, a coding agent (Codex) with 13 MCP tools, image generation, AND video creation. It also has multi-provider support, granular permissions, file upload with vision, thinking mode, A/B compare, and local benchmarking."}},{"@type":"Question","name":"What hardware do I need?","acceptedAnswer":{"@type":"Answer","text":"Text chat: 8 GB RAM. Image generation: NVIDIA GPU with 8+ GB VRAM. Video generation: 10-12 GB VRAM. The app auto-detects hardware and recommends models. Windows & Linux supported."}},{"@type":"Question","name":"What does uncensored mean?","acceptedAnswer":{"@type":"Answer","text":"Locally Uncensored uses abliterated AI models where artificial restrictions are removed. The AI responds honestly without refusing or adding disclaimers. Combined with local execution, your conversations are completely private."}}]}+{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"What is Locally Uncensored?","acceptedAnswer":{"@type":"Answer","text":"Locally Uncensored is a free, open-source desktop app that lets you run uncensored AI locally. It combines AI chat, a coding agent with 13 tools, image generation, and video creation in one interface. 25+ provider presets: Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, OpenAI, Anthropic, OpenRouter, Groq, and more. No cloud required, no subscriptions, no data collection."}},{"@type":"Question","name":"Is it really free and offline?","acceptedAnswer":{"@type":"Answer","text":"Yes. After initial setup and model download, no internet is needed. Your conversations, images, and videos never leave your machine. MIT licensed, zero telemetry."}},{"@type":"Question","name":"How is this different from Open WebUI or LM Studio?","acceptedAnswer":{"@type":"Answer","text":"Those tools only handle text chat. Locally Uncensored combines chat, a coding agent (Codex) with 13 MCP tools, image generation, AND video creation. It also has multi-provider support, granular permissions, file upload with vision, thinking mode, A/B compare, and local benchmarking."}},{"@type":"Question","name":"What hardware do I need?","acceptedAnswer":{"@type":"Answer","text":"Text chat: 8 GB RAM. Image generation: NVIDIA GPU with 8+ GB VRAM. Video generation: 10-12 GB VRAM. The app auto-detects hardware and recommends models. Windows & Linux supported."}},{"@type":"Question","name":"What does uncensored mean?","acceptedAnswer":{"@type":"Answer","text":"Locally Uncensored uses abliterated AI models where artificial restrictions are removed. The AI responds honestly without refusing or adding disclaimers. Combined with local execution, your conversations are completely private."}}]}</script><style>*{margin:0;padding:0;box-sizing:border-box}@@ -206,11 +206,11 @@ html,body{overflow-x:hidden}</nav><section class="hero">- <div class="hero-badge">v2.2.2 / Open Source / MIT License</div>+ <div class="hero-badge">v2.2.3 / Open Source / MIT License</div><h1>Your AI. Your machine.<br>No limits.</h1>- <p>Chat, code, generate images, create videos — all running locally. Multi-provider, 13 built-in tools, coding agent. No cloud, no accounts.</p>+ <p>Chat, code, generate images, create videos — all running locally. Plug & Play with 12 local backends. 13 built-in tools, coding agent. No cloud, no accounts.</p><div class="hero-cta">- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.2/Locally.Uncensored_2.2.2_x64-setup.exe" class="btn btn-primary" download>Download for Windows</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.3/Locally.Uncensored_2.2.3_x64-setup.exe" class="btn btn-primary" download>Download for Windows</a><a href="https://github.com/PurpleDoubleD/locally-uncensored" class="btn" target="_blank"><svg width="16" height="16" viewBox="0 0 16 16" fill="currentColor"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/></svg>View Source@@ -225,18 +225,18 @@ html,body{overflow-x:hidden}</section><section class="install reveal" id="install">- <p style="margin-bottom:1.5rem;font-size:1.1rem;color:#ededed;font-weight:600">Download v2.2.2</p>+ <p style="margin-bottom:1.5rem;font-size:1.1rem;color:#ededed;font-weight:600">Download v2.2.3</p><div style="display:flex;gap:1rem;justify-content:center;margin-bottom:2rem;flex-wrap:wrap">- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.2/Locally.Uncensored_2.2.2_x64-setup.exe" class="btn btn-primary" style="font-size:.9rem;padding:.6rem 1.5rem" download>Windows (.exe)</a>- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/tag/v2.2.2" class="btn" style="font-size:.9rem;padding:.6rem 1.5rem">All Downloads</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.3/Locally.Uncensored_2.2.3_x64-setup.exe" class="btn btn-primary" style="font-size:.9rem;padding:.6rem 1.5rem" download>Windows (.exe)</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/tag/v2.2.3" class="btn" style="font-size:.9rem;padding:.6rem 1.5rem">All Downloads</a></div>- <p style="color:var(--text-tertiary);font-size:.8rem">For local AI: install <a href="https://ollama.com/" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">Ollama</a> first. Or skip it and use cloud providers (OpenAI, Anthropic) in Settings. Linux & macOS: <a href="https://github.com/PurpleDoubleD/locally-uncensored#-quick-start" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">build from source</a>.</p>+ <p style="color:var(--text-tertiary);font-size:.8rem">Works with any local backend: <a href="https://ollama.com/" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">Ollama</a>, <a href="https://lmstudio.ai/" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">LM Studio</a>, <a href="https://github.com/vllm-project/vllm" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">vLLM</a>, <a href="https://github.com/LostRuins/koboldcpp" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">KoboldCpp</a>, llama.cpp, LocalAI, Jan — or cloud APIs (OpenAI, Anthropic, OpenRouter, Groq). Linux & macOS: <a href="https://github.com/PurpleDoubleD/locally-uncensored#-quick-start" style="color:var(--text-secondary);border-bottom:1px solid var(--border)">build from source</a>.</p></section><section class="features reveal" id="features"><div class="section-label">Capabilities</div><h2 class="section-heading">Everything in one app.</h2>- <div class="section-desc">Chat, code, generate images, create videos. Multi-provider. 13 tools. No switching between apps.</div>+ <div class="section-desc">Plug & Play with any local backend. Chat, code, generate images, create videos. 25+ providers. 13 tools. No switching between apps.</div><div class="feature-grid"><div class="feature-cell" style="border-color:rgba(139,92,246,0.3);background:rgba(139,92,246,0.03)">@@ -258,7 +258,7 @@ html,body{overflow-x:hidden}<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg></div><h3>Multi-Provider Chat</h3>- <p>Ollama (local), OpenAI-compatible (OpenRouter, Groq, vLLM), Anthropic (Claude). Switch providers per conversation. Streaming + thinking display.</p>+ <p>25+ provider presets. Local: Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, and more. Cloud: OpenAI, Anthropic, OpenRouter, Groq, Together, DeepSeek, Mistral. Switch per conversation.</p></div><div class="feature-cell"><div class="feature-icon">@@ -300,7 +300,7 @@ html,body{overflow-x:hidden}<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"/></svg></div><h3>Thinking Mode</h3>- <p>Toggle thinking for any provider. Ollama native, cloud via system prompt. See the AI's reasoning in collapsible blocks before the answer.</p>+ <p>Toggle thinking for any provider. Native support where available, system prompt fallback for others. See the AI's reasoning in collapsible blocks before the answer.</p></div></div></section>@@ -325,11 +325,16 @@ html,body{overflow-x:hidden}</section><section class="agent-section reveal" id="whats-new">- <div class="section-label">New in v2.2.2</div>- <h2 class="section-heading">Codex Agent. MCP Tools. Permissions.</h2>- <div class="section-desc">The biggest update yet. A coding agent, 13 built-in tools, granular permissions, file upload, thinking mode, and a completely overhauled UI.</div>+ <div class="section-label">New in v2.2.3</div>+ <h2 class="section-heading">Plug & Play. Codex Agent. MCP Tools.</h2>+ <div class="section-desc">Install, launch, chat. The setup wizard auto-detects your local backends. Coding agent with 13 tools. Granular permissions. File upload. Thinking mode.</div><div class="agent-grid">+ <div class="agent-card">+ <div class="agent-icon" style="font-size:1.2rem;color:var(--accent)"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg></div>+ <h3>Plug & Play Setup</h3>+ <p>First-launch wizard scans 12 local backends automatically. Ollama, LM Studio, vLLM, KoboldCpp, Jan, and more. Nothing installed? One-click install links for every backend. Zero config.</p>+ </div><div class="agent-card"><div class="agent-icon" style="font-size:1.2rem;color:var(--accent)"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/></svg></div><h3>Codex Coding Agent</h3>@@ -353,12 +358,7 @@ html,body{overflow-x:hidden}<div class="agent-card"><div class="agent-icon" style="font-size:1.2rem;color:var(--accent)"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"/></svg></div><h3>Thinking Mode</h3>- <p>Provider-agnostic. Ollama native think:true, cloud providers via system prompt. Collapsible thinking blocks in chat.</p>- </div>- <div class="agent-card">- <div class="agent-icon" style="font-size:1.2rem;color:var(--accent)"><svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/></svg></div>- <h3>Smart Tool Selection</h3>- <p>Keyword-based filtering reduces tool tokens by ~80%. JSON repair fixes broken output from local LLMs. Retry logic.</p>+ <p>Provider-agnostic. Native support where available, system prompt fallback for others. Collapsible thinking blocks in chat.</p></div></div></section>@@ -380,7 +380,8 @@ html,body{overflow-x:hidden}</thead><tbody><tr><td>AI Chat</td><td class="check">Yes</td><td class="check">Yes</td><td class="check">Yes</td><td class="check">Yes</td></tr>- <tr><td>Multi-Provider</td><td class="check hl">3 Providers</td><td class="check">Yes</td><td class="check">Yes</td><td class="cross">No</td></tr>+ <tr><td>Plug & Play Setup</td><td class="check hl">12 Backends</td><td class="cross">No</td><td class="check">Built-in</td><td class="cross">No</td></tr>+ <tr><td>Multi-Provider</td><td class="check hl">25+ Presets</td><td class="check">Yes</td><td class="check">Yes</td><td class="cross">No</td></tr><tr><td>Coding Agent</td><td class="check hl">Codex</td><td class="cross">No</td><td class="cross">No</td><td class="cross">No</td></tr><tr><td>Agent Tools (MCP)</td><td class="check hl">13 Tools</td><td class="cross">No</td><td class="cross">No</td><td class="cross">No</td></tr><tr><td>Image Generation</td><td class="check hl">Yes</td><td class="cross">No</td><td class="cross">No</td><td class="cross">No</td></tr>@@ -399,23 +400,23 @@ html,body{overflow-x:hidden}<section class="how-it-works reveal" id="how-it-works"><div class="section-label">Setup</div>- <h2 class="section-heading">Running in under 5 minutes.</h2>+ <h2 class="section-heading">Plug & Play. Running in under 5 minutes.</h2><div class="steps"><div class="step"><div class="step-num">1</div><h3>Download & Install</h3>- <p>Download the .exe above and install. For local AI, install <a href="https://ollama.com/" style="color:var(--accent)">Ollama</a>. Or add OpenAI/Anthropic API keys in Settings — no local setup needed.</p>+ <p>Download the .exe and install. That's it. No Docker, no terminal, no config files.</p></div><div class="step"><div class="step-num">2</div>- <h3>Pick a Model</h3>- <p>The app recommends models for your hardware. One-click install from the Model Manager. Or connect to any OpenAI-compatible API.</p>+ <h3>Setup Wizard Detects Everything</h3>+ <p>On first launch, the app scans for all 12 local backends automatically — Ollama, LM Studio, vLLM, KoboldCpp, Jan, and more. Found something? Connected. Nothing running? The wizard shows every backend with one-click install links.</p></div><div class="step"><div class="step-num">3</div><h3>Chat, Code, Create</h3>- <p>Start chatting. Switch to Codex for coding. Open Create for images and video. Add providers in Settings anytime.</p>+ <p>Pick a model, start chatting. Switch to Codex for coding. Open Create for images and video. Add more providers anytime in Settings.</p></div></div></section>@@ -423,7 +424,7 @@ html,body{overflow-x:hidden}<section class="models reveal" id="models"><div class="section-label">Supported Models</div><h2 class="section-heading">Works with the best local AI models.</h2>- <div class="section-desc">Auto-detects all installed models. Just pull and they show up.</div>+ <div class="section-desc">Auto-detects models from any running backend. Ollama, LM Studio, vLLM, KoboldCpp — just start your backend and models appear.</div><div class="model-grid"><div class="model-card">@@ -466,7 +467,7 @@ html,body{overflow-x:hidden}<div class="faq-list"><div class="faq-item"><h3>What is Locally Uncensored?</h3>- <p>A free, open-source desktop app for running AI locally. Combines uncensored chat, a coding agent (Codex) with 13 tools, image generation (ComfyUI), and video creation in one interface. Supports Ollama, OpenAI-compatible, and Anthropic providers. MIT licensed.</p>+ <p>A free, open-source desktop app for running AI locally. Combines uncensored chat, a coding agent (Codex) with 13 tools, image generation (ComfyUI), and video creation in one interface. 25+ provider presets: Ollama, LM Studio, vLLM, KoboldCpp, llama.cpp, LocalAI, Jan, OpenAI, Anthropic, OpenRouter, Groq, and more. MIT licensed.</p></div><div class="faq-item"><h3>Is it really free and offline?</h3>@@ -503,7 +504,7 @@ html,body{overflow-x:hidden}<h2>Run your own AI stack. No limits.</h2><p>Free, open source, and yours to keep.</p><div class="cta-buttons">- <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.2/Locally.Uncensored_2.2.2_x64-setup.exe" class="btn btn-primary" download>Download for Windows</a>+ <a href="https://github.com/PurpleDoubleD/locally-uncensored/releases/download/v2.2.3/Locally.Uncensored_2.2.3_x64-setup.exe" class="btn btn-primary" download>Download for Windows</a><a href="https://github.com/PurpleDoubleD/locally-uncensored" class="btn" target="_blank">View on GitHub</a></div></section>diff --git a/package.json b/package.jsonindex e820fee3..1fe15afb 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "locally-uncensored",- "version": "2.2.1",+ "version": "2.2.3","private": false,"description": "Private, local AI chat & image/video generation. No cloud, no censorship, no data collection. Powered by Ollama & ComfyUI.","license": "MIT",diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lockindex 5df3fe13..f375ad9c 100644--- a/src-tauri/Cargo.lock+++ b/src-tauri/Cargo.lock@@ -2197,7 +2197,7 @@ checksum = "6373607a59f0be73a39b6fe456b8192fcc3585f602af20751600e974dd455e77"[[package]]name = "locally-uncensored"-version = "2.2.1"+version = "2.2.3"dependencies = ["base64 0.22.1","dirs",diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.tomlindex 077d219a..060d6bf6 100644--- a/src-tauri/Cargo.toml+++ b/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "locally-uncensored"-version = "2.2.2"+version = "2.2.3"description = "Private, local AI chat & image/video generation"authors = ["purpledoubled"]edition = "2021"diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.jsonindex b04e3e78..1110e958 100644--- a/src-tauri/tauri.conf.json+++ b/src-tauri/tauri.conf.json@@ -1,7 +1,7 @@{"$schema": "https://raw.githubusercontent.com/tauri-apps/tauri/dev/crates/tauri-cli/schema.json","productName": "Locally Uncensored",- "version": "2.2.2",+ "version": "2.2.3","identifier": "com.purpledoubled.locally-uncensored","build": {"beforeBuildCommand": "npm run build",diff --git a/src/components/layout/AppShell.tsx b/src/components/layout/AppShell.tsxindex 048baf37..04776fa6 100644--- a/src/components/layout/AppShell.tsx+++ b/src/components/layout/AppShell.tsx@@ -42,19 +42,17 @@ export function AppShell() {detectLocalBackends().then((backends) => {if (backends.length === 0) return- // If only Ollama detected, nothing to do (already default)- const nonOllama = backends.filter(b => b.id !== 'ollama')- if (nonOllama.length === 0) return-- // If exactly 1 non-Ollama backend, auto-enable it- if (nonOllama.length === 1) {- const backend = nonOllama[0]- useProviderStore.getState().setProviderConfig('openai', {- enabled: true,- name: backend.name,- baseUrl: backend.baseUrl,- isLocal: true,- })+ // Only 1 backend (any) → auto-enable it silently+ if (backends.length === 1) {+ const backend = backends[0]+ if (backend.id !== 'ollama') {+ useProviderStore.getState().setProviderConfig('openai', {+ enabled: true,+ name: backend.name,+ baseUrl: backend.baseUrl,+ isLocal: true,+ })+ }return}diff --git a/src/components/onboarding/BackendSelector.tsx b/src/components/onboarding/BackendSelector.tsxindex 9fbf4c71..72296c4c 100644--- a/src/components/onboarding/BackendSelector.tsx+++ b/src/components/onboarding/BackendSelector.tsx@@ -2,11 +2,10 @@* Backend Selection Dialog** Shown on startup when multiple local backends are detected.- * User picks one as the primary backend.+ * User picks one as the primary backend. All backends treated equally.*/import { useState } from 'react'-import { Loader2 } from 'lucide-react'import { Modal } from '../ui/Modal'import { useProviderStore } from '../../stores/providerStore'import { PROVIDER_PRESETS } from '../../api/providers/types'@@ -26,14 +25,12 @@ export function BackendSelector({ open, backends, onClose }: Props) {const backend = backends.find(b => b.id === selected)if (!backend) { onClose(); return }- // Find the preset to get the providerIdconst preset = PROVIDER_PRESETS.find(p => p.id === backend.id)if (!preset) { onClose(); return }if (preset.providerId === 'ollama') {- // Ollama is already enabled by default, nothing to do+ // Ollama uses its own provider, already enabled by default} else {- // Enable as local backend via the openai providersetProviderConfig('openai', {enabled: true,name: backend.name,@@ -45,34 +42,20 @@ export function BackendSelector({ open, backends, onClose }: Props) {onClose()}- // Filter out Ollama from the list (it's always on)- const nonOllamaBackends = backends.filter(b => b.id !== 'ollama')- const ollamaDetected = backends.some(b => b.id === 'ollama')-return (<Modal open={open} onClose={onClose} title=""><div className="space-y-4">- <h3 className="text-base font-semibold text-white text-center">Local backends detected</h3>+ <h3 className="text-base font-semibold text-white text-center">+ {backends.length} local backend{backends.length > 1 ? 's' : ''} detected+ </h3><p className="text-[0.75rem] text-gray-400 text-center leading-relaxed">{backends.length === 1? `${backends[0].name} is running on your system.`- : `${backends.length} local backends are running on your system. Select which one to use as your primary backend.`- }+ : 'Multiple backends running. Select your primary backend. You can add more in Settings.'}</p>- {/* Backend list */}<div className="space-y-1">- {ollamaDetected && (- <div className="flex items-center gap-3 px-3 py-2.5 rounded-lg bg-green-500/[0.05] border border-green-500/15">- <div className="w-2 h-2 rounded-full bg-green-500 shrink-0" />- <div className="flex-1">- <p className="text-[0.7rem] font-medium text-white">Ollama</p>- <p className="text-[0.55rem] text-gray-500 font-mono">localhost:11434 — always active</p>- </div>- </div>- )}-- {nonOllamaBackends.map(backend => (+ {backends.map(backend => (<buttonkey={backend.id}onClick={() => setSelected(backend.id)}@@ -83,7 +66,7 @@ export function BackendSelector({ open, backends, onClose }: Props) {}`}><div className={`w-2 h-2 rounded-full shrink-0 ${- selected === backend.id ? 'bg-white' : 'bg-gray-600'+ selected === backend.id ? 'bg-green-500' : 'bg-gray-600'}`} /><div className="flex-1"><p className="text-[0.7rem] font-medium text-white">{backend.name}</p>@@ -93,7 +76,6 @@ export function BackendSelector({ open, backends, onClose }: Props) {))}</div>- {/* Actions */}<div className="flex items-center justify-center gap-3 pt-1"><buttononClick={onClose}@@ -101,14 +83,12 @@ export function BackendSelector({ open, backends, onClose }: Props) {>Skip</button>- {nonOllamaBackends.length > 0 && (- <button- onClick={handleConfirm}- className="px-4 py-1.5 rounded-lg text-[0.7rem] font-medium bg-white/5 border border-white/10 text-gray-300 hover:bg-white/10 transition-colors"- >- Use selected- </button>- )}+ <button+ onClick={handleConfirm}+ className="px-4 py-1.5 rounded-lg text-[0.7rem] font-medium bg-white/5 border border-white/10 text-gray-300 hover:bg-white/10 transition-colors"+ >+ Use selected+ </button></div></div></Modal>diff --git a/src/components/onboarding/Onboarding.tsx b/src/components/onboarding/Onboarding.tsxindex 8a7463f8..00ba8663 100644--- a/src/components/onboarding/Onboarding.tsx+++ b/src/components/onboarding/Onboarding.tsx@@ -1,6 +1,6 @@import { useState, useEffect } from 'react'import { motion, AnimatePresence } from 'framer-motion'-import { Sun, Moon, ArrowRight, Download, Check, ChevronRight, Loader2, Pause } from 'lucide-react'+import { Sun, Moon, ArrowRight, Download, Check, ChevronRight, Loader2, Pause, RefreshCw, ExternalLink } from 'lucide-react'import { useSettingsStore } from '../../stores/settingsStore'import { useProviderStore } from '../../stores/providerStore'import { useModels } from '../../hooks/useModels'@@ -12,6 +12,30 @@ import { formatBytes } from '../../lib/formatters'type Step = 'welcome' | 'theme' | 'backends' | 'models' | 'done'+/* ── Local backend info for the "nothing found" state ──────── */+interface LocalBackendInfo {+ id: string+ name: string+ description: string+ url: string // Download / homepage URL+ port: number+}++const LOCAL_BACKENDS: LocalBackendInfo[] = [+ { id: 'ollama', name: 'Ollama', description: 'Easiest setup. CLI + API. Huge model library.', url: 'https://ollama.com/', port: 11434 },+ { id: 'lmstudio', name: 'LM Studio', description: 'GUI app with built-in chat. One-click model download.', url: 'https://lmstudio.ai/', port: 1234 },+ { id: 'jan', name: 'Jan', description: 'Open-source desktop app. Simple UI, offline-first.', url: 'https://jan.ai/', port: 1337 },+ { id: 'gpt4all', name: 'GPT4All', description: 'Desktop app by Nomic. CPU-friendly, no GPU needed.', url: 'https://www.nomic.ai/gpt4all', port: 4891 },+ { id: 'koboldcpp', name: 'KoboldCpp', description: 'Single executable. GGUF models, GPU + CPU hybrid.', url: 'https://github.com/LostRuins/koboldcpp', port: 5001 },+ { id: 'llamacpp', name: 'llama.cpp', description: 'Minimal C++ inference. Low-level, maximum control.', url: 'https://github.com/ggerganov/llama.cpp', port: 8080 },+ { id: 'vllm', name: 'vLLM', description: 'High-throughput serving. Best for multi-GPU setups.', url: 'https://github.com/vllm-project/vllm', port: 8000 },+ { id: 'localai', name: 'LocalAI', description: 'Drop-in OpenAI replacement. Supports text, image, audio.', url: 'https://localai.io/', port: 8080 },+ { id: 'oobabooga', name: 'text-generation-webui', description: 'Feature-rich web UI. Extensive model format support.', url: 'https://github.com/oobabooga/text-generation-webui', port: 5000 },+ { id: 'tabbyapi', name: 'TabbyAPI', description: 'ExLlamaV2-based. Fast inference with EXL2 quants.', url: 'https://github.com/theroyallab/tabbyAPI', port: 5000 },+ { id: 'aphrodite', name: 'Aphrodite', description: 'vLLM fork with extras. SillyTavern compatible.', url: 'https://github.com/PygmalionAI/aphrodite-engine', port: 2242 },+ { id: 'sglang', name: 'SGLang', description: 'Structured generation. Optimized for complex prompts.', url: 'https://github.com/sgl-project/sglang', port: 30000 },+]+export function Onboarding() {const [step, setStep] = useState<Step>('welcome')const [selectedModels, setSelectedModels] = useState<string[]>([])@@ -49,6 +73,18 @@ export function Onboarding() {updateSettings({ onboardingDone: true })}+ /* ── Scan for backends ──────────────────────────────────── */+ const runDetection = () => {+ setDetecting(true)+ detectLocalBackends().then((backends) => {+ setDetectedBackends(backends)+ if (backends.length > 0 && !selectedBackend) {+ setSelectedBackend(backends[0].id)+ }+ setDetecting(false)+ })+ }+const currentPull = pullingModel ? activePulls[pullingModel] : nullconst pullProgress = currentPull?.progress ?? nullconst progress =@@ -56,6 +92,8 @@ export function Onboarding() {? (pullProgress.completed / pullProgress.total) * 100: 0+ const hasOllama = detectedBackends.some(b => b.id === 'ollama')+// Shared button stylesconst primaryBtn = `mx-auto flex items-center gap-1.5 px-3 py-1.5 rounded-lg text-[0.7rem] font-medium transition-all ${isDark ? 'bg-white text-black hover:bg-gray-200' : 'bg-gray-900 text-white hover:bg-gray-800'@@ -120,14 +158,7 @@ export function Onboarding() {<buttononClick={() => {setStep('backends')- setDetecting(true)- detectLocalBackends().then((backends) => {- setDetectedBackends(backends)- const nonOllama = backends.filter(b => b.id !== 'ollama')- if (nonOllama.length > 0) setSelectedBackend(nonOllama[0].id)- setDetecting(false)- if (nonOllama.length === 0) setStep('models')- })+ runDetection()}}className={primaryBtn}>@@ -136,11 +167,11 @@ export function Onboarding() {</motion.div>)}- {/* Step 2.5: Detected Backends */}+ {/* Step 3: Backend Detection */}{step === 'backends' && (<motion.divkey="backends"- className="max-w-sm w-full text-center space-y-4"+ className="max-w-md w-full text-center space-y-4"initial={{ opacity: 0, y: 20 }}animate={{ opacity: 1, y: 0 }}exit={{ opacity: 0, y: -20 }}@@ -150,28 +181,23 @@ export function Onboarding() {<Loader2 size={18} className="mx-auto animate-spin text-gray-400" /><h2 className="text-base font-semibold">Scanning for local backends...</h2><p className={`text-[0.7rem] ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>- Checking LM Studio, vLLM, KoboldCpp, and other local inference servers.+ Checking {LOCAL_BACKENDS.length} backends on their default ports.</p></>- ) : (+ ) : detectedBackends.length > 0 ? (+ /* ── Backends found ──────────────────────────────── */<>- <h2 className="text-base font-semibold">Local backends detected</h2>+ <h2 className="text-base font-semibold">+ {detectedBackends.length} backend{detectedBackends.length > 1 ? 's' : ''} detected+ </h2><p className={`text-[0.7rem] ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>- We found {detectedBackends.length} backend{detectedBackends.length > 1 ? 's' : ''} running on your system.+ {detectedBackends.length === 1+ ? `${detectedBackends[0].name} is running. Select it to connect.`+ : 'Select which backend to use as your primary. You can add more in Settings.'}</p><div className="space-y-1.5 text-left">- {detectedBackends.filter(b => b.id === 'ollama').map(b => (- <div key={b.id} className={`flex items-center gap-2.5 px-2.5 py-2 rounded-lg border ${isDark ? 'bg-green-500/5 border-green-500/15' : 'bg-green-50 border-green-200'}`}>- <div className="w-1.5 h-1.5 rounded-full bg-green-500 shrink-0" />- <div>- <p className="text-[0.7rem] font-medium">{b.name}</p>- <p className={`text-[0.55rem] ${isDark ? 'text-gray-500' : 'text-gray-400'} font-mono`}>localhost:{b.port} — always active</p>- </div>- </div>- ))}-- {detectedBackends.filter(b => b.id !== 'ollama').map(b => (+ {detectedBackends.map(b => (<buttonkey={b.id}onClick={() => setSelectedBackend(b.id)}@@ -181,7 +207,9 @@ export function Onboarding() {: isDark ? 'border-white/10 hover:border-white/20' : 'border-gray-200 hover:border-gray-400'}`}>- <div className={`w-1.5 h-1.5 rounded-full shrink-0 ${selectedBackend === b.id ? (isDark ? 'bg-white' : 'bg-gray-900') : 'bg-gray-500'}`} />+ <div className={`w-1.5 h-1.5 rounded-full shrink-0 ${+ selectedBackend === b.id ? 'bg-green-500' : 'bg-gray-500'+ }`} /><div><p className="text-[0.7rem] font-medium">{b.name}</p><p className={`text-[0.55rem] ${isDark ? 'text-gray-500' : 'text-gray-400'} font-mono`}>localhost:{b.port}</p>@@ -190,34 +218,85 @@ export function Onboarding() {))}</div>- <button- onClick={() => {- const backend = detectedBackends.find(b => b.id === selectedBackend)- if (backend && backend.id !== 'ollama') {- // Enable selected backend WITHOUT disabling Ollama- // Both can be active simultaneously- setProviderConfig('openai', {- enabled: true,- name: backend.name,- baseUrl: backend.baseUrl,- isLocal: true,- })- // Skip model pull step (not Ollama)- setStep('done')- } else {- setStep('models')- }- }}- className={primaryBtn}- >- Continue <ArrowRight size={14} />- </button>+ <div className="flex items-center justify-center gap-2 pt-1">+ <button onClick={runDetection} className={secondaryBtn} title="Scan again">+ <RefreshCw size={12} /> Re-Scan+ </button>+ <button+ onClick={() => {+ const backend = detectedBackends.find(b => b.id === selectedBackend)+ if (backend) {+ const preset = PROVIDER_PRESETS.find(p => p.id === backend.id)+ if (preset && preset.providerId !== 'ollama') {+ setProviderConfig('openai', {+ enabled: true,+ name: backend.name,+ baseUrl: backend.baseUrl,+ isLocal: true,+ })+ }+ }+ // Go to models if Ollama detected (can pull models), otherwise done+ if (hasOllama) {+ setStep('models')+ } else {+ setStep('done')+ }+ }}+ className={primaryBtn}+ >+ Continue <ArrowRight size={14} />+ </button>+ </div>+ </>+ ) : (+ /* ── No backends found — show all options ─────── */+ <>+ <h2 className="text-base font-semibold">No local backend detected</h2>+ <p className={`text-[0.7rem] ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>+ Install any of these local AI backends, then hit Re-Scan. Pick whichever you prefer — they all work.+ </p>++ <div className="space-y-1 text-left max-h-[45vh] overflow-y-auto scrollbar-thin pr-1">+ {LOCAL_BACKENDS.map(b => (+ <a+ key={b.id}+ href={b.url}+ target="_blank"+ rel="noopener noreferrer"+ className={`flex items-center gap-2.5 px-2.5 py-2 rounded-lg border transition-all group ${+ isDark+ ? 'border-white/[0.06] hover:border-white/15 hover:bg-white/[0.03]'+ : 'border-gray-200 hover:border-gray-400 hover:bg-gray-50'+ }`}+ >+ <div className={`w-1.5 h-1.5 rounded-full shrink-0 ${isDark ? 'bg-gray-600' : 'bg-gray-300'}`} />+ <div className="flex-1 min-w-0">+ <div className="flex items-center gap-1.5">+ <p className="text-[0.7rem] font-medium">{b.name}</p>+ <ExternalLink size={10} className={`opacity-0 group-hover:opacity-100 transition-opacity ${isDark ? 'text-gray-500' : 'text-gray-400'}`} />+ </div>+ <p className={`text-[0.55rem] ${isDark ? 'text-gray-500' : 'text-gray-400'}`}>{b.description}</p>+ </div>+ <span className={`text-[0.5rem] font-mono shrink-0 ${isDark ? 'text-gray-600' : 'text-gray-300'}`}>:{b.port}</span>+ </a>+ ))}+ </div>++ <div className="flex items-center justify-center gap-2 pt-1">+ <button onClick={runDetection} className={secondaryBtn}>+ <RefreshCw size={12} /> Re-Scan+ </button>+ <button onClick={() => setStep('done')} className={`${secondaryBtn} opacity-60`}>+ Skip for now <ChevronRight size={12} />+ </button>+ </div></>)}</motion.div>)}- {/* Step 3: Models */}+ {/* Step 4: Models (Ollama only — pull models) */}{step === 'models' && (<motion.divkey="models"@@ -323,7 +402,7 @@ export function Onboarding() {</motion.div>)}- {/* Step 4: Done */}+ {/* Step 5: Done */}{step === 'done' && (<motion.divkey="done"@@ -339,7 +418,9 @@ export function Onboarding() {<p className={`text-[0.75rem] ${isDark ? 'text-gray-400' : 'text-gray-500'}`}>{pulledModels.length > 0? `${pulledModels.length} model${pulledModels.length > 1 ? 's' : ''} installed. Start chatting!`- : 'You can install models anytime from the Model Manager.'}+ : detectedBackends.length > 0+ ? `Connected to ${detectedBackends.find(b => b.id === selectedBackend)?.name || detectedBackends[0].name}. Start chatting!`+ : 'You can configure backends and install models anytime from Settings and Model Manager.'}</p><button onClick={finish} className={primaryBtn}>Start Chatting <ArrowRight size={14} />