@wrongstack/desktop 0.306.4 → 0.307.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=`wrongstack.desktop.locale`;function t(e){try{window.wrongstackDesktop?.setLocale?.(e)}catch{}}function n(){try{let t=localStorage.getItem(e);if(t&&t in l)return t}catch{}return`en`}var r=n();function i(n,i={}){if(n!==r){r=n;try{localStorage.setItem(e,n)}catch{}i.propagate!==!1&&t(n);for(let e of o)e()}}function a(){return r}var o=new Set;function s(e){return o.add(e),()=>{o.delete(e)}}var c=[`en`,`tr`,`de`,`fr`,`it`,`es`,`pt-BR`],l={en:{desktopNavAria:`Desktop navigation`,openProjectFolderTitle:`Open project folder`,openRegisteredProject:`Open project from projects.json`,removeFromProjectRegistry:`Remove from projects.json`,dismiss:`Dismiss`,active:`Active`,globalSettingsWorkspace:`Global settings workspace`,newSession:`New Session`,revealProjectFolder:`Reveal project folder`,registerProjectFolder:`Register project folder`,findProject:`Find project`,clearProjectSearch:`Clear project search`,register:`Register`,projectLists:`Project lists`,removeFromRegistry:`Remove from project registry`,none:`None`,quickView:`Quick view`,openChat:`Open chat`,openTerminal:`Open terminal`,term:`Term`,openFiles:`Open files`,files:`Files`,openInBrowser:`Open in browser`,closeSession:`Close session`,runtimeError:`Runtime Error`,openProject:`Open Project`,restoring:`Restoring`,workspace:`Workspace`,projects:`Projects`,quick:`Quick`,quickActions:`Quick actions`,all:`All`,recent:`Recent`,registered:`Registered`,globalSettings:`Global Settings`,settings:`Settings`,webui:`WebUI`,webuiCommands:`WebUI commands`,webuiReady:`WebUI ready`,webuiLoading:`WebUI loading`,webuiError:`WebUI error`,webuiIdle:`WebUI idle`,noActiveWebui:`No active WebUI`,chat:`Chat`,terminal:`Terminal`,newTerm:`New Term`,prompt:`Prompt`,command:`Command`,compact:`Compact`,yolo:`YOLO`,ready:`Ready`,loading:`Loading`,idle:`Idle`,error:`Error`,offline:`Offline`,running:`Running`,starting:`Starting`,stopped:`Stopped`,noProject:`No project`,noMatchingProjects:`No matching projects`,noRegisteredProjects:`No registered projects`,noOpenProjectSessions:`No open project sessions`,unknownError:`Unknown error`,next:`Next`,collapseSidebar:`Collapse desktop sidebar`,expandSidebar:`Expand desktop sidebar`,gs:`GS`,sessions:`Sessions`,runtimes:`Runtimes`,launcherError:`The active WebUI did not handle that launcher command. Try Reload if the view is still starting.`,sessionLauncherError:`That session WebUI did not handle the command yet. Try Reload if it is still starting.`,operationFailed:`Operation failed.`},tr:{desktopNavAria:`Masaüstü navigasyon`,openProjectFolderTitle:`Proje klasörünü aç`,dismiss:`Kapat`,active:`Aktif`,globalSettingsWorkspace:`Genel ayarlar çalışma alanı`,newSession:`Yeni Oturum`,revealProjectFolder:`Proje klasörünü göster`,registerProjectFolder:`Proje klasörünü kaydet`,findProject:`Proje bul`,clearProjectSearch:`Proje aramasını temizle`,register:`Kaydet`,projectLists:`Proje listeleri`,removeFromRegistry:`Proje kaydından kaldır`,none:`Yok`,quickView:`Hızlı görünüm`,openChat:`Sohbeti aç`,openTerminal:`Terminali aç`,term:`Term`,openFiles:`Dosyaları aç`,files:`Dosyalar`,openInBrowser:`Tarayıcıda aç`,closeSession:`Oturumu kapat`,runtimeError:`Çalışma Zamanı Hatası`,openProject:`Proje Aç`,restoring:`Geri yükleniyor`,workspace:`Çalışma alanı`,projects:`Projeler`,quick:`Hızlı`,quickActions:`Hızlı eylemler`,all:`Tümü`,recent:`Son`,registered:`Kayıtlı`,globalSettings:`Genel Ayarlar`,settings:`Ayarlar`,webui:`WebUI`,webuiCommands:`WebUI komutları`,webuiReady:`WebUI hazır`,webuiLoading:`WebUI yükleniyor`,webuiError:`WebUI hatası`,webuiIdle:`WebUI boşta`,noActiveWebui:`Etkin WebUI yok`,chat:`Sohbet`,terminal:`Terminal`,newTerm:`Yeni Terminal`,prompt:`İstem`,command:`Komut`,compact:`Sıkışık`,yolo:`YOLO`,ready:`Hazır`,loading:`Yükleniyor`,idle:`Boşta`,error:`Hata`,offline:`Çevrimdışı`,running:`Çalışıyor`,starting:`Başlatılıyor`,stopped:`Durduruldu`,noProject:`Proje yok`,noMatchingProjects:`Eşleşen proje yok`,noRegisteredProjects:`Kayıtlı proje yok`,noOpenProjectSessions:`Açık proje oturumu yok`,unknownError:`Bilinmeyen hata`,next:`İleri`,collapseSidebar:`Masaüstü kenar çubuğunu daralt`,expandSidebar:`Masaüstü kenar çubuğunu genişlet`,gs:`GA`,sessions:`Oturumlar`,runtimes:`Çalışma zamanları`},de:{desktopNavAria:`Desktop-Navigation`,openProjectFolderTitle:`Projektordner öffnen`,dismiss:`Verwerfen`,active:`Aktiv`,globalSettingsWorkspace:`Globale Einstellungen-Workspace`,newSession:`Neue Sitzung`,revealProjectFolder:`Projektordner anzeigen`,registerProjectFolder:`Projektordner registrieren`,findProject:`Projekt finden`,clearProjectSearch:`Projektsuche löschen`,register:`Registrieren`,projectLists:`Projektlisten`,removeFromRegistry:`Aus Projekt-Registry entfernen`,none:`Keine`,quickView:`Schnellansicht`,openChat:`Chat öffnen`,openTerminal:`Terminal öffnen`,term:`Term`,openFiles:`Dateien öffnen`,files:`Dateien`,openInBrowser:`Im Browser öffnen`,closeSession:`Sitzung schließen`,runtimeError:`Laufzeitfehler`,openProject:`Projekt öffnen`,restoring:`Wiederherstellen`,workspace:`Workspace`,projects:`Projekte`,quick:`Schnell`,quickActions:`Schnellaktionen`,all:`Alle`,recent:`Zuletzt`,registered:`Registriert`,globalSettings:`Globale Einstellungen`,settings:`Einstellungen`,webui:`WebUI`,webuiCommands:`WebUI-Befehle`,webuiReady:`WebUI bereit`,webuiLoading:`WebUI lädt`,webuiError:`WebUI-Fehler`,webuiIdle:`WebUI inaktiv`,noActiveWebui:`Kein aktives WebUI`,chat:`Chat`,terminal:`Terminal`,newTerm:`Neues Terminal`,prompt:`Prompt`,command:`Befehl`,compact:`Kompakt`,yolo:`YOLO`,ready:`Bereit`,loading:`Lädt`,idle:`Inaktiv`,error:`Fehler`,offline:`Offline`,running:`Läuft`,starting:`Startet`,stopped:`Gestoppt`,noProject:`Kein Projekt`,noMatchingProjects:`Keine passenden Projekte`,noRegisteredProjects:`Keine registrierten Projekte`,noOpenProjectSessions:`Keine offenen Projektsessions`,unknownError:`Unbekannter Fehler`,next:`Weiter`,collapseSidebar:`Desktop-Seitenleiste einklappen`,expandSidebar:`Desktop-Seitenleiste ausklappen`,gs:`GE`,sessions:`Sessions`,runtimes:`Runtimes`},fr:{desktopNavAria:`Navigation du bureau`,openProjectFolderTitle:`Ouvrir le dossier du projet`,dismiss:`Fermer`,active:`Actif`,globalSettingsWorkspace:`Espace des paramètres globaux`,newSession:`Nouvelle session`,revealProjectFolder:`Révéler le dossier du projet`,registerProjectFolder:`Enregistrer le dossier du projet`,findProject:`Rechercher un projet`,clearProjectSearch:`Effacer la recherche de projet`,register:`Enregistrer`,projectLists:`Listes de projets`,removeFromRegistry:`Retirer du registre des projets`,none:`Aucun`,quickView:`Vue rapide`,openChat:`Ouvrir le chat`,openTerminal:`Ouvrir le terminal`,term:`Term`,openFiles:`Ouvrir les fichiers`,files:`Fichiers`,openInBrowser:`Ouvrir dans le navigateur`,closeSession:`Fermer la session`,runtimeError:`Erreur d'exécution`,openProject:`Ouvrir un projet`,restoring:`Restauration`,workspace:`Espace de travail`,projects:`Projets`,quick:`Rapide`,quickActions:`Actions rapides`,all:`Tous`,recent:`Récents`,registered:`Enregistrés`,globalSettings:`Paramètres globaux`,settings:`Paramètres`,webui:`WebUI`,webuiCommands:`Commandes WebUI`,webuiReady:`WebUI prêt`,webuiLoading:`WebUI charge`,webuiError:`Erreur WebUI`,webuiIdle:`WebUI inactif`,noActiveWebui:`Pas de WebUI actif`,chat:`Chat`,terminal:`Terminal`,newTerm:`Nouveau terminal`,prompt:`Invite`,command:`Commande`,compact:`Compact`,yolo:`YOLO`,ready:`Prêt`,loading:`Chargement`,idle:`Inactif`,error:`Erreur`,offline:`Hors ligne`,running:`En cours`,starting:`Démarrage`,stopped:`Arrêté`,noProject:`Aucun projet`,noMatchingProjects:`Aucun projet correspondant`,noRegisteredProjects:`Aucun projet enregistré`,noOpenProjectSessions:`Aucune session de projet ouverte`,unknownError:`Erreur inconnue`,next:`Suivant`,collapseSidebar:`Réduire la barre latérale`,expandSidebar:`Agrandir la barre latérale`,gs:`PG`,sessions:`Sessions`,runtimes:`Runtimes`},it:{desktopNavAria:`Navigazione desktop`,openProjectFolderTitle:`Apri cartella progetto`,dismiss:`Chiudi`,active:`Attivo`,globalSettingsWorkspace:`Workspace impostazioni globali`,newSession:`Nuova sessione`,revealProjectFolder:`Rivela cartella progetto`,registerProjectFolder:`Registra cartella progetto`,findProject:`Trova progetto`,clearProjectSearch:`Cancella ricerca progetto`,register:`Registra`,projectLists:`Elenchi progetti`,removeFromRegistry:`Rimuovi dal registro progetti`,none:`Nessuno`,quickView:`Vista rapida`,openChat:`Apri chat`,openTerminal:`Apri terminale`,term:`Term`,openFiles:`Apri file`,files:`File`,openInBrowser:`Apri nel browser`,closeSession:`Chiudi sessione`,runtimeError:`Errore di runtime`,openProject:`Apri progetto`,restoring:`Ripristino`,workspace:`Workspace`,projects:`Progetti`,quick:`Rapido`,quickActions:`Azioni rapide`,all:`Tutti`,recent:`Recenti`,registered:`Registrati`,globalSettings:`Impostazioni globali`,settings:`Impostazioni`,webui:`WebUI`,webuiCommands:`Comandi WebUI`,webuiReady:`WebUI pronto`,webuiLoading:`WebUI carica`,webuiError:`Errore WebUI`,webuiIdle:`WebUI inattivo`,noActiveWebui:`Nessun WebUI attivo`,chat:`Chat`,terminal:`Terminale`,newTerm:`Nuovo terminale`,prompt:`Prompt`,command:`Comando`,compact:`Compatto`,yolo:`YOLO`,ready:`Pronto`,loading:`Caricamento`,idle:`Inattivo`,error:`Errore`,offline:`Offline`,running:`In corso`,starting:`Avvio`,stopped:`Fermato`,noProject:`Nessun progetto`,noMatchingProjects:`Nessun progetto corrispondente`,noRegisteredProjects:`Nessun progetto registrato`,noOpenProjectSessions:`Nessuna sessione di progetto aperta`,unknownError:`Errore sconosciuto`,next:`Avanti`,collapseSidebar:`Comprimi barra laterale`,expandSidebar:`Espandi barra laterale`,gs:`IG`,sessions:`Sessioni`,runtimes:`Runtime`},es:{desktopNavAria:`Navegación de escritorio`,openProjectFolderTitle:`Abrir carpeta del proyecto`,dismiss:`Cerrar`,active:`Activo`,globalSettingsWorkspace:`Espacio de ajustes globales`,newSession:`Nueva sesión`,revealProjectFolder:`Revelar carpeta del proyecto`,registerProjectFolder:`Registrar carpeta del proyecto`,findProject:`Buscar proyecto`,clearProjectSearch:`Borrar búsqueda de proyecto`,register:`Registrar`,projectLists:`Listas de proyectos`,removeFromRegistry:`Quitar del registro de proyectos`,none:`Ninguno`,quickView:`Vista rápida`,openChat:`Abrir chat`,openTerminal:`Abrir terminal`,term:`Term`,openFiles:`Abrir archivos`,files:`Archivos`,openInBrowser:`Abrir en el navegador`,closeSession:`Cerrar sesión`,runtimeError:`Error de ejecución`,openProject:`Abrir proyecto`,restoring:`Restaurando`,workspace:`Espacio de trabajo`,projects:`Proyectos`,quick:`Rápido`,quickActions:`Acciones rápidas`,all:`Todos`,recent:`Recientes`,registered:`Registrados`,globalSettings:`Ajustes globales`,settings:`Ajustes`,webui:`WebUI`,webuiCommands:`Comandos WebUI`,webuiReady:`WebUI listo`,webuiLoading:`WebUI cargando`,webuiError:`Error de WebUI`,webuiIdle:`WebUI inactivo`,noActiveWebui:`Sin WebUI activo`,chat:`Chat`,terminal:`Terminal`,newTerm:`Nuevo terminal`,prompt:`Indicación`,command:`Comando`,compact:`Compacto`,yolo:`YOLO`,ready:`Listo`,loading:`Cargando`,idle:`Inactivo`,error:`Error`,offline:`Desconectado`,running:`En ejecución`,starting:`Iniciando`,stopped:`Detenido`,noProject:`Sin proyecto`,noMatchingProjects:`Sin proyectos coincidentes`,noRegisteredProjects:`Sin proyectos registrados`,noOpenProjectSessions:`Sin sesiones de proyecto abiertas`,unknownError:`Error desconocido`,next:`Siguiente`,collapseSidebar:`Contraer barra lateral`,expandSidebar:`Expandir barra lateral`,gs:`AG`,sessions:`Sesiones`,runtimes:`Runtimes`},"pt-BR":{desktopNavAria:`Navegação do desktop`,openProjectFolderTitle:`Abrir pasta do projeto`,dismiss:`Dispensar`,active:`Ativo`,globalSettingsWorkspace:`Espaço de configurações globais`,newSession:`Nova sessão`,revealProjectFolder:`Revelar pasta do projeto`,registerProjectFolder:`Registrar pasta do projeto`,findProject:`Encontrar projeto`,clearProjectSearch:`Limpar busca de projeto`,register:`Registrar`,projectLists:`Listas de projetos`,removeFromRegistry:`Remover do registro de projetos`,none:`Nenhum`,quickView:`Vista rápida`,openChat:`Abrir chat`,openTerminal:`Abrir terminal`,term:`Term`,openFiles:`Abrir arquivos`,files:`Arquivos`,openInBrowser:`Abrir no navegador`,closeSession:`Fechar sessão`,runtimeError:`Erro de execução`,openProject:`Abrir projeto`,restoring:`Restaurando`,workspace:`Workspace`,projects:`Projetos`,quick:`Rápido`,quickActions:`Ações rápidas`,all:`Todos`,recent:`Recentes`,registered:`Registrados`,globalSettings:`Configurações globais`,settings:`Configurações`,webui:`WebUI`,webuiCommands:`Comandos WebUI`,webuiReady:`WebUI pronto`,webuiLoading:`WebUI carregando`,webuiError:`Erro WebUI`,webuiIdle:`WebUI inativo`,noActiveWebui:`Sem WebUI ativo`,chat:`Chat`,terminal:`Terminal`,newTerm:`Novo terminal`,prompt:`Prompt`,command:`Comando`,compact:`Compacto`,yolo:`YOLO`,ready:`Pronto`,loading:`Carregando`,idle:`Inativo`,error:`Erro`,offline:`Offline`,running:`Em execução`,starting:`Iniciando`,stopped:`Parado`,noProject:`Sem projeto`,noMatchingProjects:`Sem projetos correspondentes`,noRegisteredProjects:`Sem projetos registrados`,noOpenProjectSessions:`Sem sessões de projeto abertas`,unknownError:`Erro desconhecido`,next:`Próximo`,collapseSidebar:`Recolher barra lateral`,expandSidebar:`Expandir barra lateral`,gs:`CG`,sessions:`Sessões`,runtimes:`Runtimes`}};function u(e){return l[r]?.[e]??l.en[e]??e}try{window.wrongstackDesktop?.onLocaleChanged?.(e=>{e&&e in l&&i(e,{propagate:!1})})}catch{}var d={agents:`<path d="M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2"></path><circle cx="9.5" cy="7" r="4"></circle><path d="M22 21v-2a4 4 0 0 0-3-3.9"></path><path d="M16 3.1a4 4 0 0 1 0 7.8"></path>`,branch:`<circle cx="6" cy="6" r="3"></circle><circle cx="18" cy="6" r="3"></circle><circle cx="18" cy="18" r="3"></circle><path d="M9 6h6"></path><path d="M18 9v6"></path><path d="M6 9v3a6 6 0 0 0 6 6h3"></path>`,chart:`<path d="M3 3v18h18"></path><rect x="7" y="12" width="3" height="5"></rect><rect x="12" y="8" width="3" height="9"></rect><rect x="17" y="5" width="3" height="12"></rect>`,check:`<path d="M20 6L9 17l-5-5"></path>`,checklist:`<path d="M9 6h11"></path><path d="M9 12h11"></path><path d="M9 18h11"></path><path d="M4 6l1 1 2-2"></path><path d="M4 12l1 1 2-2"></path><path d="M4 18l1 1 2-2"></path>`,chevron:`<path d="M9 18l6-6-6-6"></path>`,chip:`<rect x="7" y="7" width="10" height="10" rx="2"></rect><path d="M4 9h3"></path><path d="M4 15h3"></path><path d="M17 9h3"></path><path d="M17 15h3"></path><path d="M9 4v3"></path><path d="M15 4v3"></path><path d="M9 17v3"></path><path d="M15 17v3"></path>`,clock:`<circle cx="12" cy="12" r="9"></circle><path d="M12 7v5l3 2"></path>`,command:`<path d="M7 7h.01"></path><path d="M12 7h.01"></path><path d="M17 7h.01"></path><path d="M7 12h.01"></path><path d="M12 12h.01"></path><path d="M17 12h.01"></path><path d="M7 17h.01"></path><path d="M12 17h.01"></path><path d="M17 17h.01"></path>`,collab:`<circle cx="8" cy="8" r="3"></circle><circle cx="16" cy="8" r="3"></circle><path d="M3 20a5 5 0 0 1 10 0"></path><path d="M11 20a5 5 0 0 1 10 0"></path>`,compress:`<path d="M8 3v6H2"></path><path d="M16 3v6h6"></path><path d="M8 21v-6H2"></path><path d="M16 21v-6h6"></path>`,cursor:`<path d="M4 4l9 17 2-7 7-2L4 4z"></path>`,debug:`<path d="M8 2h8"></path><path d="M9 2v4"></path><path d="M15 2v4"></path><path d="M5 10h14"></path><path d="M7 10v4a5 5 0 0 0 10 0v-4"></path><path d="M3 14h4"></path><path d="M17 14h4"></path><path d="M4 20l3-3"></path><path d="M20 20l-3-3"></path>`,document:`<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path><path d="M8 13h8"></path><path d="M8 17h6"></path>`,download:`<path d="M12 3v12"></path><path d="M7 10l5 5 5-5"></path><path d="M5 21h14"></path>`,external:`<path d="M15 3h6v6"></path><path d="M10 14L21 3"></path><path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5"></path>`,files:`<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path>`,folder:`<path d="M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>`,"folder-plus":`<path d="M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><path d="M12 11v5"></path><path d="M9.5 13.5h5"></path>`,git:`<path d="M7 7h10"></path><path d="M7 12h10"></path><path d="M7 17h10"></path><path d="M4 7h.01"></path><path d="M4 12h.01"></path><path d="M4 17h.01"></path>`,gallery:`<rect x="3" y="3" width="18" height="18" rx="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><path d="M21 15l-5-5L5 21"></path>`,history:`<path d="M3 12a9 9 0 1 0 3-6.7"></path><path d="M3 4v6h6"></path><path d="M12 7v5l3 2"></path>`,kanban:`<rect x="3" y="4" width="18" height="16" rx="2"></rect><path d="M9 4v16"></path><path d="M15 4v16"></path><path d="M6 8h.01"></path><path d="M12 12h.01"></path><path d="M18 9h.01"></path>`,keyboard:`<rect x="3" y="5" width="18" height="14" rx="2"></rect><path d="M7 9h.01"></path><path d="M11 9h.01"></path><path d="M15 9h.01"></path><path d="M19 9h.01"></path><path d="M7 13h.01"></path><path d="M11 13h.01"></path><path d="M15 13h.01"></path><path d="M7 17h10"></path>`,list:`<path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M3 6h.01"></path><path d="M3 12h.01"></path><path d="M3 18h.01"></path>`,mail:`<rect x="3" y="5" width="18" height="14" rx="2"></rect><path d="M3 7l9 6 9-6"></path>`,map:`<path d="M9 18l-6 3V6l6-3 6 3 6-3v15l-6 3-6-3z"></path><path d="M9 3v15"></path><path d="M15 6v15"></path>`,message:`<path d="M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"></path>`,monitor:`<rect x="3" y="4" width="18" height="14" rx="2"></rect><path d="M8 21h8"></path><path d="M12 18v3"></path><path d="M7 13l3-3 2 2 4-5 1 3"></path>`,phase:`<path d="M4 7h6"></path><path d="M14 7h6"></path><path d="M4 17h6"></path><path d="M14 17h6"></path><circle cx="12" cy="7" r="2"></circle><circle cx="12" cy="17" r="2"></circle><path d="M12 9v6"></path>`,plan:`<rect x="4" y="3" width="16" height="18" rx="2"></rect><path d="M8 8h8"></path><path d="M8 12h8"></path><path d="M8 16h5"></path>`,plus:`<path d="M12 5v14"></path><path d="M5 12h14"></path>`,project:`<rect x="3" y="4" width="18" height="16" rx="2"></rect><path d="M8 4v16"></path><path d="M8 9h13"></path>`,pulse:`<path d="M3 12h4l2-6 4 12 2-6h6"></path>`,refresh:`<path d="M21 12a9 9 0 0 1-15.4 6.4"></path><path d="M3 12A9 9 0 0 1 18.4 5.6"></path><path d="M18 2v5h-5"></path><path d="M6 22v-5h5"></path>`,search:`<circle cx="11" cy="11" r="7"></circle><path d="M21 21l-4.3-4.3"></path>`,settings:`<path d="M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"></path><path d="M4 12a8 8 0 0 1 .2-1.8l-2-1.5 2-3.4 2.4 1a8 8 0 0 1 3-1.7L10 2h4l.4 2.6a8 8 0 0 1 3 1.7l2.4-1 2 3.4-2 1.5A8 8 0 0 1 20 12a8 8 0 0 1-.2 1.8l2 1.5-2 3.4-2.4-1a8 8 0 0 1-3 1.7L14 22h-4l-.4-2.6a8 8 0 0 1-3-1.7l-2.4 1-2-3.4 2-1.5A8 8 0 0 1 4 12z"></path>`,shield:`<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><path d="M9 12l2 2 4-5"></path>`,skill:`<path d="M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5L12 2z"></path>`,spark:`<path d="M12 3l1.7 5.3L19 10l-5.3 1.7L12 17l-1.7-5.3L5 10l5.3-1.7L12 3z"></path><path d="M19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8L19 16z"></path>`,target:`<circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="5"></circle><circle cx="12" cy="12" r="1"></circle>`,tasks:`<path d="M4 6h2"></path><path d="M4 12h2"></path><path d="M4 18h2"></path><path d="M10 6h10"></path><path d="M10 12h10"></path><path d="M10 18h10"></path>`,terminal:`<path d="M4 17l6-5-6-5"></path><path d="M12 19h8"></path>`,wand:`<path d="M15 4l5 5"></path><path d="M14 5l-9 9 5 5 9-9"></path><path d="M5 3v4"></path><path d="M3 5h4"></path><path d="M19 17v4"></path><path d="M17 19h4"></path>`,x:`<path d="M18 6L6 18"></path><path d="M6 6l12 12"></path>`};function f(e){return`<svg class="svg-icon" viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${d[e]}</svg>`}function p(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`)}function m(e){return p(e).replace(/'/g,`&#39;`)}function h(e){return e.replace(/\\/g,`/`).replace(/\/+$/g,``).trim().toLowerCase()}function g(e,t){return h(e)===h(t)}function _(e){let t=new Set,n=[];for(let r of e){let e=h(r.root);!e||t.has(e)||(t.add(e),n.push(r))}return n}function v(e){let t=e.replace(/\\/g,`/`).replace(/\/+$/g,``).trim();return t?t.split(`/`).filter(Boolean).pop()??t:e}function ee(e){return e.kind===`global-settings`?`global-settings`:`${e.kind}:${h(e.root)||e.id}`}function y(e){return e===`workspace`||e===`projects`||e===`quick`?e:null}function te(e){return e===`recent`||e===`registered`||e===`all`?e:null}function b(e,t){let n=new Map;for(let r of e){let e=ee(r),i=n.get(e);if(i){i.sessions.push(r);continue}n.set(e,{key:e,name:r.kind===`global-settings`?t(`globalSettings`):v(r.root)||r.name,root:r.root,kind:r.kind,sessions:[r]})}return[...n.values()]}function x(e,t){if(e.sessions.some(e=>e.id===t.activeRuntimeId))return!0;let n=t.runtimeGroupState[e.key];return typeof n==`boolean`?n:t.allRuntimeCount===e.sessions.length}function S(e,t){let n=e.sessions.some(e=>e.id===t.activeRuntimeId),r=e.sessions[0],i=x(e,t),a=e.sessions.length===1?`1 session`:`${e.sessions.length} sessions`;return`
1
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var e=`wrongstack.desktop.locale`;function t(e){try{window.wrongstackDesktop?.setLocale?.(e)}catch{}}function n(){try{let t=localStorage.getItem(e);if(t&&t in l)return t}catch{}return`en`}var r=n();function i(n,i={}){if(n!==r){r=n;try{localStorage.setItem(e,n)}catch{}i.propagate!==!1&&t(n);for(let e of o)e()}}function a(){return r}var o=new Set;function s(e){return o.add(e),()=>{o.delete(e)}}var c=[`en`,`tr`,`de`,`fr`,`it`,`es`,`pt-BR`],l={en:{desktopNavAria:`Desktop navigation`,openProjectFolderTitle:`Open project folder`,openRegisteredProject:`Open project from projects.json`,removeFromProjectRegistry:`Remove from projects.json`,dismiss:`Dismiss`,active:`Active`,globalSettingsWorkspace:`Global settings workspace`,newSession:`New Session`,revealProjectFolder:`Reveal project folder`,registerProjectFolder:`Register project folder`,findProject:`Find project`,clearProjectSearch:`Clear project search`,register:`Register`,projectLists:`Project lists`,removeFromRegistry:`Remove from project registry`,none:`None`,quickView:`Quick view`,openChat:`Open chat`,openTerminal:`Open terminal`,term:`Term`,openFiles:`Open files`,files:`Files`,openInBrowser:`Open in browser`,closeSession:`Close session`,runtimeError:`Runtime Error`,openProject:`Open Project`,restoring:`Restoring`,workspace:`Workspace`,projects:`Projects`,quick:`Quick`,quickActions:`Quick actions`,all:`All`,recent:`Recent`,registered:`Registered`,globalSettings:`Global Settings`,settings:`Settings`,webui:`WebUI`,webuiCommands:`WebUI commands`,webuiReady:`WebUI ready`,webuiLoading:`WebUI loading`,webuiError:`WebUI error`,webuiIdle:`WebUI idle`,noActiveWebui:`No active WebUI`,chat:`Chat`,terminal:`Terminal`,newTerm:`New Term`,prompt:`Prompt`,command:`Command`,compact:`Compact`,yolo:`YOLO`,ready:`Ready`,loading:`Loading`,idle:`Idle`,error:`Error`,offline:`Offline`,running:`Running`,starting:`Starting`,stopped:`Stopped`,noProject:`No project`,noMatchingProjects:`No matching projects`,noRegisteredProjects:`No registered projects`,noOpenProjectSessions:`No open project sessions`,unknownError:`Unknown error`,next:`Next`,collapseSidebar:`Collapse desktop sidebar`,expandSidebar:`Expand desktop sidebar`,gs:`GS`,sessions:`Sessions`,runtimes:`Runtimes`,launcherError:`The active WebUI did not handle that launcher command. Try Reload if the view is still starting.`,sessionLauncherError:`That session WebUI did not handle the command yet. Try Reload if it is still starting.`,operationFailed:`Operation failed.`},tr:{desktopNavAria:`Masaüstü navigasyon`,openProjectFolderTitle:`Proje klasörünü aç`,dismiss:`Kapat`,active:`Aktif`,globalSettingsWorkspace:`Genel ayarlar çalışma alanı`,newSession:`Yeni Oturum`,revealProjectFolder:`Proje klasörünü göster`,registerProjectFolder:`Proje klasörünü kaydet`,findProject:`Proje bul`,clearProjectSearch:`Proje aramasını temizle`,register:`Kaydet`,projectLists:`Proje listeleri`,removeFromRegistry:`Proje kaydından kaldır`,none:`Yok`,quickView:`Hızlı görünüm`,openChat:`Sohbeti aç`,openTerminal:`Terminali aç`,term:`Term`,openFiles:`Dosyaları aç`,files:`Dosyalar`,openInBrowser:`Tarayıcıda aç`,closeSession:`Oturumu kapat`,runtimeError:`Çalışma Zamanı Hatası`,openProject:`Proje Aç`,restoring:`Geri yükleniyor`,workspace:`Çalışma alanı`,projects:`Projeler`,quick:`Hızlı`,quickActions:`Hızlı eylemler`,all:`Tümü`,recent:`Son`,registered:`Kayıtlı`,globalSettings:`Genel Ayarlar`,settings:`Ayarlar`,webui:`WebUI`,webuiCommands:`WebUI komutları`,webuiReady:`WebUI hazır`,webuiLoading:`WebUI yükleniyor`,webuiError:`WebUI hatası`,webuiIdle:`WebUI boşta`,noActiveWebui:`Etkin WebUI yok`,chat:`Sohbet`,terminal:`Terminal`,newTerm:`Yeni Terminal`,prompt:`İstem`,command:`Komut`,compact:`Sıkışık`,yolo:`YOLO`,ready:`Hazır`,loading:`Yükleniyor`,idle:`Boşta`,error:`Hata`,offline:`Çevrimdışı`,running:`Çalışıyor`,starting:`Başlatılıyor`,stopped:`Durduruldu`,noProject:`Proje yok`,noMatchingProjects:`Eşleşen proje yok`,noRegisteredProjects:`Kayıtlı proje yok`,noOpenProjectSessions:`Açık proje oturumu yok`,unknownError:`Bilinmeyen hata`,next:`İleri`,collapseSidebar:`Masaüstü kenar çubuğunu daralt`,expandSidebar:`Masaüstü kenar çubuğunu genişlet`,gs:`GA`,sessions:`Oturumlar`,runtimes:`Çalışma zamanları`},de:{desktopNavAria:`Desktop-Navigation`,openProjectFolderTitle:`Projektordner öffnen`,dismiss:`Verwerfen`,active:`Aktiv`,globalSettingsWorkspace:`Globale Einstellungen-Workspace`,newSession:`Neue Sitzung`,revealProjectFolder:`Projektordner anzeigen`,registerProjectFolder:`Projektordner registrieren`,findProject:`Projekt finden`,clearProjectSearch:`Projektsuche löschen`,register:`Registrieren`,projectLists:`Projektlisten`,removeFromRegistry:`Aus Projekt-Registry entfernen`,none:`Keine`,quickView:`Schnellansicht`,openChat:`Chat öffnen`,openTerminal:`Terminal öffnen`,term:`Term`,openFiles:`Dateien öffnen`,files:`Dateien`,openInBrowser:`Im Browser öffnen`,closeSession:`Sitzung schließen`,runtimeError:`Laufzeitfehler`,openProject:`Projekt öffnen`,restoring:`Wiederherstellen`,workspace:`Workspace`,projects:`Projekte`,quick:`Schnell`,quickActions:`Schnellaktionen`,all:`Alle`,recent:`Zuletzt`,registered:`Registriert`,globalSettings:`Globale Einstellungen`,settings:`Einstellungen`,webui:`WebUI`,webuiCommands:`WebUI-Befehle`,webuiReady:`WebUI bereit`,webuiLoading:`WebUI lädt`,webuiError:`WebUI-Fehler`,webuiIdle:`WebUI inaktiv`,noActiveWebui:`Kein aktives WebUI`,chat:`Chat`,terminal:`Terminal`,newTerm:`Neues Terminal`,prompt:`Prompt`,command:`Befehl`,compact:`Kompakt`,yolo:`YOLO`,ready:`Bereit`,loading:`Lädt`,idle:`Inaktiv`,error:`Fehler`,offline:`Offline`,running:`Läuft`,starting:`Startet`,stopped:`Gestoppt`,noProject:`Kein Projekt`,noMatchingProjects:`Keine passenden Projekte`,noRegisteredProjects:`Keine registrierten Projekte`,noOpenProjectSessions:`Keine offenen Projektsessions`,unknownError:`Unbekannter Fehler`,next:`Weiter`,collapseSidebar:`Desktop-Seitenleiste einklappen`,expandSidebar:`Desktop-Seitenleiste ausklappen`,gs:`GE`,sessions:`Sessions`,runtimes:`Runtimes`},fr:{desktopNavAria:`Navigation du bureau`,openProjectFolderTitle:`Ouvrir le dossier du projet`,dismiss:`Fermer`,active:`Actif`,globalSettingsWorkspace:`Espace des paramètres globaux`,newSession:`Nouvelle session`,revealProjectFolder:`Révéler le dossier du projet`,registerProjectFolder:`Enregistrer le dossier du projet`,findProject:`Rechercher un projet`,clearProjectSearch:`Effacer la recherche de projet`,register:`Enregistrer`,projectLists:`Listes de projets`,removeFromRegistry:`Retirer du registre des projets`,none:`Aucun`,quickView:`Vue rapide`,openChat:`Ouvrir le chat`,openTerminal:`Ouvrir le terminal`,term:`Term`,openFiles:`Ouvrir les fichiers`,files:`Fichiers`,openInBrowser:`Ouvrir dans le navigateur`,closeSession:`Fermer la session`,runtimeError:`Erreur d'exécution`,openProject:`Ouvrir un projet`,restoring:`Restauration`,workspace:`Espace de travail`,projects:`Projets`,quick:`Rapide`,quickActions:`Actions rapides`,all:`Tous`,recent:`Récents`,registered:`Enregistrés`,globalSettings:`Paramètres globaux`,settings:`Paramètres`,webui:`WebUI`,webuiCommands:`Commandes WebUI`,webuiReady:`WebUI prêt`,webuiLoading:`WebUI charge`,webuiError:`Erreur WebUI`,webuiIdle:`WebUI inactif`,noActiveWebui:`Pas de WebUI actif`,chat:`Chat`,terminal:`Terminal`,newTerm:`Nouveau terminal`,prompt:`Invite`,command:`Commande`,compact:`Compact`,yolo:`YOLO`,ready:`Prêt`,loading:`Chargement`,idle:`Inactif`,error:`Erreur`,offline:`Hors ligne`,running:`En cours`,starting:`Démarrage`,stopped:`Arrêté`,noProject:`Aucun projet`,noMatchingProjects:`Aucun projet correspondant`,noRegisteredProjects:`Aucun projet enregistré`,noOpenProjectSessions:`Aucune session de projet ouverte`,unknownError:`Erreur inconnue`,next:`Suivant`,collapseSidebar:`Réduire la barre latérale`,expandSidebar:`Agrandir la barre latérale`,gs:`PG`,sessions:`Sessions`,runtimes:`Runtimes`},it:{desktopNavAria:`Navigazione desktop`,openProjectFolderTitle:`Apri cartella progetto`,dismiss:`Chiudi`,active:`Attivo`,globalSettingsWorkspace:`Workspace impostazioni globali`,newSession:`Nuova sessione`,revealProjectFolder:`Rivela cartella progetto`,registerProjectFolder:`Registra cartella progetto`,findProject:`Trova progetto`,clearProjectSearch:`Cancella ricerca progetto`,register:`Registra`,projectLists:`Elenchi progetti`,removeFromRegistry:`Rimuovi dal registro progetti`,none:`Nessuno`,quickView:`Vista rapida`,openChat:`Apri chat`,openTerminal:`Apri terminale`,term:`Term`,openFiles:`Apri file`,files:`File`,openInBrowser:`Apri nel browser`,closeSession:`Chiudi sessione`,runtimeError:`Errore di runtime`,openProject:`Apri progetto`,restoring:`Ripristino`,workspace:`Workspace`,projects:`Progetti`,quick:`Rapido`,quickActions:`Azioni rapide`,all:`Tutti`,recent:`Recenti`,registered:`Registrati`,globalSettings:`Impostazioni globali`,settings:`Impostazioni`,webui:`WebUI`,webuiCommands:`Comandi WebUI`,webuiReady:`WebUI pronto`,webuiLoading:`WebUI carica`,webuiError:`Errore WebUI`,webuiIdle:`WebUI inattivo`,noActiveWebui:`Nessun WebUI attivo`,chat:`Chat`,terminal:`Terminale`,newTerm:`Nuovo terminale`,prompt:`Prompt`,command:`Comando`,compact:`Compatto`,yolo:`YOLO`,ready:`Pronto`,loading:`Caricamento`,idle:`Inattivo`,error:`Errore`,offline:`Offline`,running:`In corso`,starting:`Avvio`,stopped:`Fermato`,noProject:`Nessun progetto`,noMatchingProjects:`Nessun progetto corrispondente`,noRegisteredProjects:`Nessun progetto registrato`,noOpenProjectSessions:`Nessuna sessione di progetto aperta`,unknownError:`Errore sconosciuto`,next:`Avanti`,collapseSidebar:`Comprimi barra laterale`,expandSidebar:`Espandi barra laterale`,gs:`IG`,sessions:`Sessioni`,runtimes:`Runtime`},es:{desktopNavAria:`Navegación de escritorio`,openProjectFolderTitle:`Abrir carpeta del proyecto`,dismiss:`Cerrar`,active:`Activo`,globalSettingsWorkspace:`Espacio de ajustes globales`,newSession:`Nueva sesión`,revealProjectFolder:`Revelar carpeta del proyecto`,registerProjectFolder:`Registrar carpeta del proyecto`,findProject:`Buscar proyecto`,clearProjectSearch:`Borrar búsqueda de proyecto`,register:`Registrar`,projectLists:`Listas de proyectos`,removeFromRegistry:`Quitar del registro de proyectos`,none:`Ninguno`,quickView:`Vista rápida`,openChat:`Abrir chat`,openTerminal:`Abrir terminal`,term:`Term`,openFiles:`Abrir archivos`,files:`Archivos`,openInBrowser:`Abrir en el navegador`,closeSession:`Cerrar sesión`,runtimeError:`Error de ejecución`,openProject:`Abrir proyecto`,restoring:`Restaurando`,workspace:`Espacio de trabajo`,projects:`Proyectos`,quick:`Rápido`,quickActions:`Acciones rápidas`,all:`Todos`,recent:`Recientes`,registered:`Registrados`,globalSettings:`Ajustes globales`,settings:`Ajustes`,webui:`WebUI`,webuiCommands:`Comandos WebUI`,webuiReady:`WebUI listo`,webuiLoading:`WebUI cargando`,webuiError:`Error de WebUI`,webuiIdle:`WebUI inactivo`,noActiveWebui:`Sin WebUI activo`,chat:`Chat`,terminal:`Terminal`,newTerm:`Nuevo terminal`,prompt:`Indicación`,command:`Comando`,compact:`Compacto`,yolo:`YOLO`,ready:`Listo`,loading:`Cargando`,idle:`Inactivo`,error:`Error`,offline:`Desconectado`,running:`En ejecución`,starting:`Iniciando`,stopped:`Detenido`,noProject:`Sin proyecto`,noMatchingProjects:`Sin proyectos coincidentes`,noRegisteredProjects:`Sin proyectos registrados`,noOpenProjectSessions:`Sin sesiones de proyecto abiertas`,unknownError:`Error desconocido`,next:`Siguiente`,collapseSidebar:`Contraer barra lateral`,expandSidebar:`Expandir barra lateral`,gs:`AG`,sessions:`Sesiones`,runtimes:`Runtimes`},"pt-BR":{desktopNavAria:`Navegação do desktop`,openProjectFolderTitle:`Abrir pasta do projeto`,dismiss:`Dispensar`,active:`Ativo`,globalSettingsWorkspace:`Espaço de configurações globais`,newSession:`Nova sessão`,revealProjectFolder:`Revelar pasta do projeto`,registerProjectFolder:`Registrar pasta do projeto`,findProject:`Encontrar projeto`,clearProjectSearch:`Limpar busca de projeto`,register:`Registrar`,projectLists:`Listas de projetos`,removeFromRegistry:`Remover do registro de projetos`,none:`Nenhum`,quickView:`Vista rápida`,openChat:`Abrir chat`,openTerminal:`Abrir terminal`,term:`Term`,openFiles:`Abrir arquivos`,files:`Arquivos`,openInBrowser:`Abrir no navegador`,closeSession:`Fechar sessão`,runtimeError:`Erro de execução`,openProject:`Abrir projeto`,restoring:`Restaurando`,workspace:`Workspace`,projects:`Projetos`,quick:`Rápido`,quickActions:`Ações rápidas`,all:`Todos`,recent:`Recentes`,registered:`Registrados`,globalSettings:`Configurações globais`,settings:`Configurações`,webui:`WebUI`,webuiCommands:`Comandos WebUI`,webuiReady:`WebUI pronto`,webuiLoading:`WebUI carregando`,webuiError:`Erro WebUI`,webuiIdle:`WebUI inativo`,noActiveWebui:`Sem WebUI ativo`,chat:`Chat`,terminal:`Terminal`,newTerm:`Novo terminal`,prompt:`Prompt`,command:`Comando`,compact:`Compacto`,yolo:`YOLO`,ready:`Pronto`,loading:`Carregando`,idle:`Inativo`,error:`Erro`,offline:`Offline`,running:`Em execução`,starting:`Iniciando`,stopped:`Parado`,noProject:`Sem projeto`,noMatchingProjects:`Sem projetos correspondentes`,noRegisteredProjects:`Sem projetos registrados`,noOpenProjectSessions:`Sem sessões de projeto abertas`,unknownError:`Erro desconhecido`,next:`Próximo`,collapseSidebar:`Recolher barra lateral`,expandSidebar:`Expandir barra lateral`,gs:`CG`,sessions:`Sessões`,runtimes:`Runtimes`}};function u(e){return l[r]?.[e]??l.en[e]??e}try{window.wrongstackDesktop?.onLocaleChanged?.(e=>{e&&e in l&&i(e,{propagate:!1})})}catch{}var d={agents:`<path d="M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2"></path><circle cx="9.5" cy="7" r="4"></circle><path d="M22 21v-2a4 4 0 0 0-3-3.9"></path><path d="M16 3.1a4 4 0 0 1 0 7.8"></path>`,branch:`<circle cx="6" cy="6" r="3"></circle><circle cx="18" cy="6" r="3"></circle><circle cx="18" cy="18" r="3"></circle><path d="M9 6h6"></path><path d="M18 9v6"></path><path d="M6 9v3a6 6 0 0 0 6 6h3"></path>`,chart:`<path d="M3 3v18h18"></path><rect x="7" y="12" width="3" height="5"></rect><rect x="12" y="8" width="3" height="9"></rect><rect x="17" y="5" width="3" height="12"></rect>`,check:`<path d="M20 6L9 17l-5-5"></path>`,checklist:`<path d="M9 6h11"></path><path d="M9 12h11"></path><path d="M9 18h11"></path><path d="M4 6l1 1 2-2"></path><path d="M4 12l1 1 2-2"></path><path d="M4 18l1 1 2-2"></path>`,chevron:`<path d="M9 18l6-6-6-6"></path>`,chip:`<rect x="7" y="7" width="10" height="10" rx="2"></rect><path d="M4 9h3"></path><path d="M4 15h3"></path><path d="M17 9h3"></path><path d="M17 15h3"></path><path d="M9 4v3"></path><path d="M15 4v3"></path><path d="M9 17v3"></path><path d="M15 17v3"></path>`,clock:`<circle cx="12" cy="12" r="9"></circle><path d="M12 7v5l3 2"></path>`,command:`<path d="M7 7h.01"></path><path d="M12 7h.01"></path><path d="M17 7h.01"></path><path d="M7 12h.01"></path><path d="M12 12h.01"></path><path d="M17 12h.01"></path><path d="M7 17h.01"></path><path d="M12 17h.01"></path><path d="M17 17h.01"></path>`,collab:`<circle cx="8" cy="8" r="3"></circle><circle cx="16" cy="8" r="3"></circle><path d="M3 20a5 5 0 0 1 10 0"></path><path d="M11 20a5 5 0 0 1 10 0"></path>`,compress:`<path d="M8 3v6H2"></path><path d="M16 3v6h6"></path><path d="M8 21v-6H2"></path><path d="M16 21v-6h6"></path>`,cursor:`<path d="M4 4l9 17 2-7 7-2L4 4z"></path>`,debug:`<path d="M8 2h8"></path><path d="M9 2v4"></path><path d="M15 2v4"></path><path d="M5 10h14"></path><path d="M7 10v4a5 5 0 0 0 10 0v-4"></path><path d="M3 14h4"></path><path d="M17 14h4"></path><path d="M4 20l3-3"></path><path d="M20 20l-3-3"></path>`,document:`<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path><path d="M8 13h8"></path><path d="M8 17h6"></path>`,download:`<path d="M12 3v12"></path><path d="M7 10l5 5 5-5"></path><path d="M5 21h14"></path>`,external:`<path d="M15 3h6v6"></path><path d="M10 14L21 3"></path><path d="M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5"></path>`,files:`<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"></path><path d="M14 2v6h6"></path>`,folder:`<path d="M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>`,"folder-plus":`<path d="M3 7a2 2 0 0 1 2-2h5l2 2h7a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path><path d="M12 11v5"></path><path d="M9.5 13.5h5"></path>`,git:`<path d="M7 7h10"></path><path d="M7 12h10"></path><path d="M7 17h10"></path><path d="M4 7h.01"></path><path d="M4 12h.01"></path><path d="M4 17h.01"></path>`,gallery:`<rect x="3" y="3" width="18" height="18" rx="2"></rect><circle cx="8.5" cy="8.5" r="1.5"></circle><path d="M21 15l-5-5L5 21"></path>`,history:`<path d="M3 12a9 9 0 1 0 3-6.7"></path><path d="M3 4v6h6"></path><path d="M12 7v5l3 2"></path>`,kanban:`<rect x="3" y="4" width="18" height="16" rx="2"></rect><path d="M9 4v16"></path><path d="M15 4v16"></path><path d="M6 8h.01"></path><path d="M12 12h.01"></path><path d="M18 9h.01"></path>`,keyboard:`<rect x="3" y="5" width="18" height="14" rx="2"></rect><path d="M7 9h.01"></path><path d="M11 9h.01"></path><path d="M15 9h.01"></path><path d="M19 9h.01"></path><path d="M7 13h.01"></path><path d="M11 13h.01"></path><path d="M15 13h.01"></path><path d="M7 17h10"></path>`,list:`<path d="M8 6h13"></path><path d="M8 12h13"></path><path d="M8 18h13"></path><path d="M3 6h.01"></path><path d="M3 12h.01"></path><path d="M3 18h.01"></path>`,mail:`<rect x="3" y="5" width="18" height="14" rx="2"></rect><path d="M3 7l9 6 9-6"></path>`,map:`<path d="M9 18l-6 3V6l6-3 6 3 6-3v15l-6 3-6-3z"></path><path d="M9 3v15"></path><path d="M15 6v15"></path>`,message:`<path d="M21 15a4 4 0 0 1-4 4H8l-5 3V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"></path>`,monitor:`<rect x="3" y="4" width="18" height="14" rx="2"></rect><path d="M8 21h8"></path><path d="M12 18v3"></path><path d="M7 13l3-3 2 2 4-5 1 3"></path>`,phase:`<path d="M4 7h6"></path><path d="M14 7h6"></path><path d="M4 17h6"></path><path d="M14 17h6"></path><circle cx="12" cy="7" r="2"></circle><circle cx="12" cy="17" r="2"></circle><path d="M12 9v6"></path>`,plan:`<rect x="4" y="3" width="16" height="18" rx="2"></rect><path d="M8 8h8"></path><path d="M8 12h8"></path><path d="M8 16h5"></path>`,plus:`<path d="M12 5v14"></path><path d="M5 12h14"></path>`,project:`<rect x="3" y="4" width="18" height="16" rx="2"></rect><path d="M8 4v16"></path><path d="M8 9h13"></path>`,pulse:`<path d="M3 12h4l2-6 4 12 2-6h6"></path>`,refresh:`<path d="M21 12a9 9 0 0 1-15.4 6.4"></path><path d="M3 12A9 9 0 0 1 18.4 5.6"></path><path d="M18 2v5h-5"></path><path d="M6 22v-5h5"></path>`,search:`<circle cx="11" cy="11" r="7"></circle><path d="M21 21l-4.3-4.3"></path>`,settings:`<path d="M12 8a4 4 0 1 0 0 8 4 4 0 0 0 0-8z"></path><path d="M4 12a8 8 0 0 1 .2-1.8l-2-1.5 2-3.4 2.4 1a8 8 0 0 1 3-1.7L10 2h4l.4 2.6a8 8 0 0 1 3 1.7l2.4-1 2 3.4-2 1.5A8 8 0 0 1 20 12a8 8 0 0 1-.2 1.8l2 1.5-2 3.4-2.4-1a8 8 0 0 1-3 1.7L14 22h-4l-.4-2.6a8 8 0 0 1-3-1.7l-2.4 1-2-3.4 2-1.5A8 8 0 0 1 4 12z"></path>`,shield:`<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path><path d="M9 12l2 2 4-5"></path>`,skill:`<path d="M12 2l2.5 6.5L21 11l-6.5 2.5L12 20l-2.5-6.5L3 11l6.5-2.5L12 2z"></path>`,spark:`<path d="M12 3l1.7 5.3L19 10l-5.3 1.7L12 17l-1.7-5.3L5 10l5.3-1.7L12 3z"></path><path d="M19 16l.8 2.2L22 19l-2.2.8L19 22l-.8-2.2L16 19l2.2-.8L19 16z"></path>`,target:`<circle cx="12" cy="12" r="9"></circle><circle cx="12" cy="12" r="5"></circle><circle cx="12" cy="12" r="1"></circle>`,tasks:`<path d="M4 6h2"></path><path d="M4 12h2"></path><path d="M4 18h2"></path><path d="M10 6h10"></path><path d="M10 12h10"></path><path d="M10 18h10"></path>`,terminal:`<path d="M4 17l6-5-6-5"></path><path d="M12 19h8"></path>`,wand:`<path d="M15 4l5 5"></path><path d="M14 5l-9 9 5 5 9-9"></path><path d="M5 3v4"></path><path d="M3 5h4"></path><path d="M19 17v4"></path><path d="M17 19h4"></path>`,x:`<path d="M18 6L6 18"></path><path d="M6 6l12 12"></path>`};function f(e){return`<svg class="svg-icon" viewBox="0 0 24 24" aria-hidden="true" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">${d[e]}</svg>`}function p(e){return e.replace(/&/g,`&amp;`).replace(/</g,`&lt;`).replace(/>/g,`&gt;`).replace(/"/g,`&quot;`)}function m(e){return p(e).replace(/'/g,`&#39;`)}function h(e){return e.replace(/\\/g,`/`).replace(/\/+$/g,``).trim().toLowerCase()}function g(e,t){return h(e)===h(t)}function _(e){let t=new Set,n=[];for(let r of e){let e=h(r.root);!e||t.has(e)||(t.add(e),n.push(r))}return n}function v(e){let t=e.replace(/\\/g,`/`).replace(/\/+$/g,``).trim();return t?t.split(`/`).filter(Boolean).pop()??t:e}function ee(e){return e.kind===`global-settings`?`global-settings`:`${e.kind}:${h(e.root)||e.id}`}function y(e){return e===`workspace`||e===`projects`||e===`quick`?e:null}function te(e){return e===`recent`||e===`registered`||e===`all`?e:null}function b(e,t){let n=new Map;for(let r of e){let e=ee(r),i=n.get(e);if(i){i.sessions.push(r);continue}n.set(e,{key:e,name:r.kind===`global-settings`?t(`globalSettings`):v(r.root)||r.name,root:r.root,kind:r.kind,sessions:[r]})}return[...n.values()]}function x(e,t){if(e.sessions.some(e=>e.id===t.activeRuntimeId))return!0;let n=t.runtimeGroupState[e.key];return typeof n==`boolean`?n:t.allRuntimeCount===e.sessions.length}function S(e,t){let n=e.sessions.some(e=>e.id===t.activeRuntimeId),r=e.sessions[0],i=x(e,t),a=e.sessions.length===1?`1 session`:`${e.sessions.length} sessions`;return`
2
2
  <div class="runtime-project-group ${n?`active`:``} ${i?`open`:`collapsed`}" data-runtime-group="${m(e.key)}">
3
3
  <div class="runtime-project-header">
4
4
  <button class="runtime-project-toggle" data-action="toggle-runtime-group" data-runtime-group-key="${m(e.key)}" aria-expanded="${i?`true`:`false`}" title="${m(e.root)}">
@@ -368,4 +368,4 @@
368
368
  </div>
369
369
  </section>
370
370
  `}function Se(e){return e.status===`starting`?u(`starting`):e.status===`running`?u(`running`):e.status===`error`?u(`error`):u(`stopped`)}async function Ce(){let[e,t]=await Promise.all([window.wrongstackDesktop.getState(),window.wrongstackDesktop.getWebuiStatus()]);D=e,O=t,H()}async function Q(e){if(!k){k=!0,A=null,H();try{await e()}catch(e){A=we(e),console.error(e)}finally{k=!1,H()}}}window.addEventListener(`keydown`,e=>{(e.ctrlKey||e.metaKey)&&e.key.toLowerCase()===`k`&&(e.preventDefault(),window.wrongstackDesktop.navigateWebui({action:`open-command-palette`}))}),E.addEventListener(`input`,e=>{let t=e.target;if(!t?.classList.contains(`project-search-input`))return;let n=t.selectionStart??t.value.length;z=t.value,H(),ze(n)}),E.addEventListener(`change`,e=>{let t=e.target;if(t?.dataset.action!==`set-locale`)return;let n=c.find(e=>e===t.value);n&&n!==a()&&(i(n),H())}),E.addEventListener(`click`,e=>{let t=e.target?.closest(`[data-action]`);if(!t)return;let n=t.dataset.action,r=t.dataset.runtime;if(n===`webui-command`){let e=t.dataset.command;if(!e)return;let n=t.dataset.label??u(`command`),r=e;try{let t=JSON.parse(e);$({state:`pending`,label:n,commandKey:r}),window.wrongstackDesktop.navigateWebui(t).then(e=>{if(e){$({state:`success`,label:n,commandKey:r});return}let t=u(`launcherError`);A=t,$({state:`error`,label:n,commandKey:r,message:t})}).catch(()=>{A=u(`launcherError`),$({state:`error`,label:n,commandKey:r,message:u(`launcherError`)})})}catch{}return}if(n===`session-webui-command`){if(!r)return;let e=t.dataset.command;if(!e)return;let n=t.dataset.label??`WebUI`,i=e;try{let t=JSON.parse(e);$({state:`pending`,label:n,commandKey:`${r}:${i}`}),Q(async()=>{if(D=await window.wrongstackDesktop.activateRuntime(r),await window.wrongstackDesktop.navigateWebui(t)){$({state:`success`,label:n,commandKey:`${r}:${i}`});return}let e=u(`sessionLauncherError`);A=e,$({state:`error`,label:n,commandKey:`${r}:${i}`,message:e})})}catch{}return}if(n===`clear-error`){A=null,H();return}if(n===`clear-project-search`){z=``,H(),ze(0);return}if(n===`toggle-shell-sidebar`){I=!I,De(),window.wrongstackDesktop.setShellSidebarCollapsed(I),H();return}if(n===`select-desktop-panel`){let e=y(t.dataset.panel);if(!e)return;L=e,ke(),H();return}if(n===`set-project-tab`){let e=te(t.dataset.projectTab);if(!e)return;R=e,je(),H();return}if(n===`toggle-runtime-group`){let e=t.dataset.runtimeGroupKey;if(!e)return;let n=b(D.runtimes,u).find(t=>t.key===e);if(!n)return;F={...F,[e]:!x(n,Z())},Pe(),H();return}Q(async()=>{if(n===`open-project`)D=await window.wrongstackDesktop.openProject();else if(n===`register-project`)D=await window.wrongstackDesktop.registerProject();else if(n===`open-project-path`){let e=t.dataset.projectRoot;e&&(D=await window.wrongstackDesktop.openProject(e))}else if(n===`unregister-project`){let e=t.dataset.projectRoot;e&&(D=await window.wrongstackDesktop.unregisterProject(e))}else n===`new-project-session`?D=await window.wrongstackDesktop.openProjectSession(r):n===`open-settings`?D=await window.wrongstackDesktop.openSettings():n===`activate`&&r?D=await window.wrongstackDesktop.activateRuntime(r):n===`close`&&r?D=await window.wrongstackDesktop.closeRuntime(r):n===`open-browser`&&r?await window.wrongstackDesktop.openRuntimeInBrowser(r):n===`reveal-root`&&r?await window.wrongstackDesktop.revealRuntimeRoot(r):n===`reload-webui`&&r?await window.wrongstackDesktop.reloadWebui():n===`session-reload-webui`&&r&&(D=await window.wrongstackDesktop.activateRuntime(r),await window.wrongstackDesktop.reloadWebui())})}),window.wrongstackDesktop.onStateChanged(e=>{D=e,H()}),window.wrongstackDesktop.onWebuiStatusChanged(e=>{O=e,H()}),window.wrongstackDesktop.onShellSidebarCollapsedChanged(e=>{I=e,De(),H()}),s(()=>H()),Ce(),window.wrongstackDesktop.setShellSidebarCollapsed(I);function we(e){return e instanceof Error?e.message:typeof e==`string`?e:u(`operationFailed`)}function Te(){return Ne(j)}function Ee(){try{return window.localStorage.getItem(M)===`true`}catch{return!1}}function De(){try{window.localStorage.setItem(M,String(I))}catch{}}function Oe(){return y(Me(N))??`workspace`}function ke(){try{window.localStorage.setItem(N,L)}catch{}}function Ae(){return te(Me(P))??`recent`}function je(){try{window.localStorage.setItem(P,R)}catch{}}function Me(e){try{return window.localStorage.getItem(e)}catch{return null}}function Ne(e){try{let t=window.localStorage.getItem(e);if(!t)return{};let n=JSON.parse(t);if(!n||typeof n!=`object`||Array.isArray(n))return{};let r={};for(let[e,t]of Object.entries(n))typeof t==`boolean`&&(r[e]=t);return r}catch{return{}}}function Pe(){Fe(j,F)}function Fe(e,t){try{window.localStorage.setItem(e,JSON.stringify(t))}catch{}}function Ie(e){return JSON.stringify(e)}function Le(e){let t=e.kind===`global-settings`?u(`gs`):e.name||v(e.root),n=t.replace(/[_-]+/g,` `).split(/\s+/).filter(Boolean);return(n.length>=2?`${n[0]?.[0]??``}${n[1]?.[0]??``}`:t.slice(0,2)).toUpperCase()}function Re(){return String(_([...D.recentProjects,...D.registeredProjects]).length)}function $(e){V+=1;let t=V;B={id:t,...e},H(),e.state!==`pending`&&window.setTimeout(()=>{B?.id===t&&(B=null,H())},e.state===`success`?1250:3e3)}function ze(e){window.requestAnimationFrame(()=>{let t=document.querySelector(`.project-search-input`);if(!t)return;t.focus();let n=Math.max(0,Math.min(e,t.value.length));t.setSelectionRange(n,n)})}
371
- //# sourceMappingURL=index-DS-X1ScP.js.map
371
+ //# sourceMappingURL=index-DXtNdHCN.js.map