@wrongstack/webui 0.318.0 → 0.319.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.
- package/dist/assets/{AgentRosterView-C46rL23K.js → AgentRosterView-BVpIFQwi.js} +1 -1
- package/dist/assets/{AnalyticsDashboard-B8r_8kNv.js → AnalyticsDashboard-nqlWJi6M.js} +1 -1
- package/dist/assets/{AudienceMemoryPanel-Ciybycpn.js → AudienceMemoryPanel-BT6C4Jkw.js} +1 -1
- package/dist/assets/{ChangesView-BREfCsEq.js → ChangesView-CN7NWDeV.js} +1 -1
- package/dist/assets/{ChimeraReviewsView-aSYmQ8tC.js → ChimeraReviewsView-BNQE5kRx.js} +1 -1
- package/dist/assets/{ChronicleDashboard-bo2jv52s.js → ChronicleDashboard-BWMkG_hu.js} +1 -1
- package/dist/assets/{CodeEditor-C_KzNkIb.js → CodeEditor-DZ2k-Mz5.js} +1 -1
- package/dist/assets/{CodeMap-DA_k3u5g.js → CodeMap-CLOuNLqN.js} +1 -1
- package/dist/assets/{ConfirmModal-gukSikBD.js → ConfirmModal-B6BGiiN8.js} +1 -1
- package/dist/assets/{CronJobsPanel-D-43oYQ-.js → CronJobsPanel-CsMIoWVQ.js} +1 -1
- package/dist/assets/{DeadCodeScanPanel-VnMQatbH.js → DeadCodeScanPanel-DooqnEMF.js} +1 -1
- package/dist/assets/{DebugDashboard-DNDadwro.js → DebugDashboard-C0tmxxV8.js} +1 -1
- package/dist/assets/{DesignGalleryView-B9ZMJPOQ.js → DesignGalleryView-lc-XRmVG.js} +1 -1
- package/dist/assets/{GoalView-BkoCNN8l.js → GoalView-BuYUc4OB.js} +1 -1
- package/dist/assets/{KanbanView-nql6LkaS.js → KanbanView-DQK6adut.js} +1 -1
- package/dist/assets/{MailboxDetailView-CdHRfnNq.js → MailboxDetailView-CBV3-Hf2.js} +1 -1
- package/dist/assets/{MemoryDrawer-CfukdhlF.js → MemoryDrawer-rPf-1Ulk.js} +1 -1
- package/dist/assets/{MemoryManager-BD_VnFAu.js → MemoryManager-B_ZJhOqq.js} +1 -1
- package/dist/assets/{ModelPicker-C3r7IFfh.js → ModelPicker-CLs0qQgg.js} +1 -1
- package/dist/assets/{OfficeMapPanel-B47jfEHf.js → OfficeMapPanel-DnbdkXL1.js} +1 -1
- package/dist/assets/{ProcessMonitor-CvHdN8Bn.js → ProcessMonitor-CHNNqCk9.js} +1 -1
- package/dist/assets/{PromptJournalView-CXZ9notj.js → PromptJournalView-Biu4DknM.js} +1 -1
- package/dist/assets/{QueuePanel-DOcgHRH3.js → QueuePanel-CzTXq6j4.js} +1 -1
- package/dist/assets/{RefreshDebugView-BYmeORMQ.js → RefreshDebugView-d9iU3sFX.js} +1 -1
- package/dist/assets/{RequirementIntakeView-CFgVx_0T.js → RequirementIntakeView-g9dzUTVw.js} +1 -1
- package/dist/assets/{SageTabs-BRJG0fhZ.js → SageTabs-Bw6PDwy3.js} +2 -2
- package/dist/assets/{SddFlowGraph-BsfhxlDK.js → SddFlowGraph-Bj_Aqq5B.js} +1 -1
- package/dist/assets/{SddHub-Br1vyCgq.js → SddHub-Cdow0Exb.js} +1 -1
- package/dist/assets/{SessionInspectView-BSRjWErA.js → SessionInspectView-je_xLISf.js} +1 -1
- package/dist/assets/{SessionList-BkaI91oW.js → SessionList-4y1uuB-y.js} +1 -1
- package/dist/assets/{SessionsDashboard-BEQs4Div.js → SessionsDashboard-DkaNF5lx.js} +1 -1
- package/dist/assets/{SetupScreen-zY4541lT.js → SetupScreen-DWzbXvmU.js} +1 -1
- package/dist/assets/{SkillDetailView-DqxkOnb8.js → SkillDetailView-Bjq8GkDB.js} +1 -1
- package/dist/assets/{SpecsView-COS0-sxq.js → SpecsView-ok8HZ8ws.js} +1 -1
- package/dist/assets/{TechStackView-Dr8vI0hK.js → TechStackView-CQ9AdoBa.js} +1 -1
- package/dist/assets/{TerminalPanel-DlIyvxm6.js → TerminalPanel-cbM6oQWQ.js} +1 -1
- package/dist/assets/{activity-q85HXQNv.js → activity-BU6MNvBJ.js} +1 -1
- package/dist/assets/{activity-B2_Vr2oD.js → activity-C7dkJqBU.js} +1 -1
- package/dist/assets/{activity-DYMBKGt0.js → activity-C_18AaRY.js} +1 -1
- package/dist/assets/{activity-IxgYWPDt.js → activity-CpnSsE22.js} +1 -1
- package/dist/assets/{activity-BF1idM4Y.js → activity-CtTKsSX6.js} +1 -1
- package/dist/assets/{activity-C-kOJZXC.js → activity-D1rp3dH9.js} +1 -1
- package/dist/assets/{activity-DPpMW8BU.js → activity-hTPcI4q1.js} +1 -1
- package/dist/assets/{chat-DTI7lNDx.js → chat-6dE2AJNN.js} +1 -1
- package/dist/assets/{chat-BvKkSd09.js → chat-B3AJmhGD.js} +1 -1
- package/dist/assets/{chat-BNWqeV-N.js → chat-BHsbpaVt.js} +1 -1
- package/dist/assets/{chat-BlllxfpP.js → chat-BITJe8-v.js} +1 -1
- package/dist/assets/{chat-DlhXGxxi.js → chat-U-Jjb8_k.js} +1 -1
- package/dist/assets/{chat-B60h8Cji.js → chat-_Xp5fDnj.js} +1 -1
- package/dist/assets/{chat-B5a3cvps.js → chat-mSbSzPl5.js} +1 -1
- package/dist/assets/{chat-store-DIcs826A.js → chat-store-oW_-zcJP.js} +1 -1
- package/dist/assets/{i18n-Cv65b1SP.js → i18n-D06uU1PM.js} +2 -2
- package/dist/assets/index-CWYymMpa.css +1 -0
- package/dist/assets/index-Cwjer17r.js +144 -0
- package/dist/assets/{roster-ws-D5JW3IPJ.js → roster-ws-BQUI8QuW.js} +1 -1
- package/dist/assets/setup-B0D9CK3-.js +1 -0
- package/dist/assets/setup-B58YVaGU.js +1 -0
- package/dist/assets/setup-C2H9Uv0Q.js +1 -0
- package/dist/assets/setup-CzM4dkkU.js +1 -0
- package/dist/assets/setup-Di56FlHP.js +1 -0
- package/dist/assets/setup-Dwt58Mpz.js +1 -0
- package/dist/assets/setup-DznVdlJy.js +1 -0
- package/dist/assets/{stores-CNuMLG8X.js → stores-C7Vvce-6.js} +1 -1
- package/dist/assets/ui-store-Dm7ujR9u.js +1 -0
- package/dist/assets/useWebSocket-9lfOsI_r.js +27 -0
- package/dist/assets/{view-navigation-DPOY0lyt.js → view-navigation-wOKaM_Rf.js} +1 -1
- package/dist/assets/{ws-client-D-d32pHb.js → ws-client-DtTZLD8e.js} +2 -2
- package/dist/index.html +14 -14
- package/dist/index.js +1065 -543
- package/dist/lib/launch-builtin-round.d.ts +43 -0
- package/dist/lib/perf-run-message.d.ts +51 -0
- package/dist/stores/fleet-store.d.ts +4 -0
- package/dist/stores/types.d.ts +9 -0
- package/dist/stores/ui-store.d.ts +0 -2
- package/package.json +10 -10
- package/dist/assets/index-DSyVpLgL.css +0 -1
- package/dist/assets/index-DbprKWmG.js +0 -137
- package/dist/assets/setup-BQLPzL3N.js +0 -1
- package/dist/assets/setup-C9lrNwQF.js +0 -1
- package/dist/assets/setup-CcxP7cUl.js +0 -1
- package/dist/assets/setup-CtKKNpH9.js +0 -1
- package/dist/assets/setup-D4rp2jda.js +0 -1
- package/dist/assets/setup-MvmOtwNp.js +0 -1
- package/dist/assets/setup-blxUcxNU.js +0 -1
- package/dist/assets/ui-store-DpKUBLWd.js +0 -1
- package/dist/assets/useWebSocket-VIItbvVK.js +0 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={title:`Inizia una conversazione`,subtitle:`Invia un messaggio per iniziare.`},t=`Nome della sessione…`,n=`Cambia sessione`,r=`Scrivi all'agente… (digita / per i comandi, @ per i file)`,i=`Prima connettiti al server…`,a=`Scrivi un follow-up btw/steer/queue…`,o=`Invia`,s=`Invia (Invio)`,c=`Ferma`,l=`Nuova sessione`,u=`(vuoto)`,d=`{{count}} messaggio`,f=`{{count}} messaggi`,p=`Pensiero…`,m={autoFencedAs:`Recintato automaticamente come`,notConnectedDraftKept:`Non connesso — il messaggio non è stato inviato. È stato ripristinato nel campo di input.`,refineTimeoutFallback:`Il perfezionamento non ha risposto — invio del messaggio originale.`,topicShiftChecking:`Verifica se questo messaggio avvia un nuovo argomento…`,topicShiftTitle:`Avviare un nuovo contesto?`,topicShiftMessage:`Sembra un argomento diverso ({{topic}}). {{reason}} La cronologia della chat resterà visibile in entrambi i casi.`,topicShiftUnnamed:`nuovo argomento`,topicShiftFresh:`Nuovo contesto`,topicShiftSame:`Stesso contesto`,charsWord:`caratteri`,linesWord:`righe`,pastedWord:`Incollato`,fencedHintPrefix:`— i blocchi di codice recintati si rendono meglio con`,removeFencesTitle:`Rimuovi i recinti e ripristina il testo grezzo`,dismissTitle:`Chiudi`,pendingAttachmentAlt:`Allegato in attesa`,imageAttached:`Immagine allegata`,removeImageTitle:`Rimuovi immagine`,imagesLabel:`Immagini`,attachImagesTitle:`Allega immagini (oppure incolla / trascina)`,tooManyImages:`Al massimo {{max}} immagini per messaggio.`,imageProcessFailed:`Impossibile leggere "{{name}}" come immagine.`,imageTooLarge:`"{{name}}" è troppo grande anche dopo la compressione.`,dropOverlay:`Rilascia le immagini per allegarle · gli altri file diventano @-menzioni`,referencesLabel:`Riferimenti`,clearAll:`Cancella tutto`,stopEditTitle:`Ferma il run e modifica l'ultimo prompt (riusa + riscrivi)`,abortTitle:`Interrompi il run corrente`,refineEnabledTitle:`Affinamento attivo — clicca per disattivare`,refineDisabledTitle:`Affinamento disattivato — clicca per attivare`,btwRunningTitle:`btw — invia senza interrompere l'agent in corso`,btwIdleTitle:`btw — invia (Invio)`,steerRunningTitle:`steer — interrompi l'agent in corso e reindirizza`,steerIdleTitle:`steer — invia (nessun obiettivo di interruzione a riposo)`,addQueueTitle:`aggiungi coda — trattieni fino al termine del run corrente`,openPromptLibrary:`Apri libreria prompt — sfoglia prompt pronti e salvati`,expandInput:`Espandi l'input`,collapseInput:`Comprimi`,startListening:`Input vocale (Da voce a testo)`,stopListening:`In ascolto... (Fai clic per fermare)`},h={openSidebarTitle:`Apri barra laterale (Ctrl+\\)`,renameTitle:`Clicca per rinominare la sessione`,untitled:`Senza titolo`,changeModelTitle:`Cambia provider / modello (Ctrl+M)`,iterationTitle:`Iterazione agent — clicca per andare all'attività live`,runningProcessesTitle:`Processi in corso`,checkpointsTitle:`Checkpoint di sessione — riavvolgi`,scrollTopTitle:`Scorri in alto (più vecchio)`,jkNavigateTitle:`j/k per navigare`,noProvider:`nessun-provider`,noModel:`nessun-modello`,memoryContextTitle:`Contesto memoria — ricordi SAGE iniettati`,toolStatsTitle:`Statistiche strumenti`},g={title:`Statistiche chiamate strumenti`,liveScope:`Questa pagina · sessioni attive e chiuse`,calls:`Chiamate`,ok:`Successo`,failed:`Fallite`,successRate:`Tasso di successo`,inFlight:`In corso`,totalDuration:`Tempo strumenti`,liveSessions:`Schede aperte`,noLiveData:`Nessuna chiamata di strumenti registrata su questa pagina. Avvia un prompt — le statistiche compaiono qui in tempo reale, per scheda.`,pastSessions:`Sessioni precedenti`,running:`{{count}} in esecuzione`,agentToAgent:`Agente-ad-agente`,delegations:`{{count}} esecuzione/i delegata/e`,delegationFailed:`{{count}} fallite`,delegateToolCalls:`{{count}} strumenti interni`,leaderLine:`Leader: {{ok}}✓ {{failed}}
|
|
1
|
+
var e={title:`Inizia una conversazione`,subtitle:`Invia un messaggio per iniziare.`},t=`Nome della sessione…`,n=`Cambia sessione`,r=`Scrivi all'agente… (digita / per i comandi, @ per i file)`,i=`Prima connettiti al server…`,a=`Scrivi un follow-up btw/steer/queue…`,o=`Invia`,s=`Invia (Invio)`,c=`Ferma`,l=`Nuova sessione`,u=`(vuoto)`,d=`{{count}} messaggio`,f=`{{count}} messaggi`,p=`Pensiero…`,m={autoFencedAs:`Recintato automaticamente come`,notConnectedDraftKept:`Non connesso — il messaggio non è stato inviato. È stato ripristinato nel campo di input.`,refineTimeoutFallback:`Il perfezionamento non ha risposto — invio del messaggio originale.`,topicShiftChecking:`Verifica se questo messaggio avvia un nuovo argomento…`,topicShiftTitle:`Avviare un nuovo contesto?`,topicShiftMessage:`Sembra un argomento diverso ({{topic}}). {{reason}} La cronologia della chat resterà visibile in entrambi i casi.`,topicShiftUnnamed:`nuovo argomento`,topicShiftFresh:`Nuovo contesto`,topicShiftSame:`Stesso contesto`,charsWord:`caratteri`,linesWord:`righe`,pastedWord:`Incollato`,fencedHintPrefix:`— i blocchi di codice recintati si rendono meglio con`,removeFencesTitle:`Rimuovi i recinti e ripristina il testo grezzo`,dismissTitle:`Chiudi`,pendingAttachmentAlt:`Allegato in attesa`,imageAttached:`Immagine allegata`,removeImageTitle:`Rimuovi immagine`,imagesLabel:`Immagini`,attachImagesTitle:`Allega immagini (oppure incolla / trascina)`,tooManyImages:`Al massimo {{max}} immagini per messaggio.`,imageProcessFailed:`Impossibile leggere "{{name}}" come immagine.`,imageTooLarge:`"{{name}}" è troppo grande anche dopo la compressione.`,dropOverlay:`Rilascia le immagini per allegarle · gli altri file diventano @-menzioni`,referencesLabel:`Riferimenti`,clearAll:`Cancella tutto`,stopEditTitle:`Ferma il run e modifica l'ultimo prompt (riusa + riscrivi)`,abortTitle:`Interrompi il run corrente`,refineEnabledTitle:`Affinamento attivo — clicca per disattivare`,refineDisabledTitle:`Affinamento disattivato — clicca per attivare`,btwRunningTitle:`btw — invia senza interrompere l'agent in corso`,btwIdleTitle:`btw — invia (Invio)`,steerRunningTitle:`steer — interrompi l'agent in corso e reindirizza`,steerIdleTitle:`steer — invia (nessun obiettivo di interruzione a riposo)`,addQueueTitle:`aggiungi coda — trattieni fino al termine del run corrente`,openPromptLibrary:`Apri libreria prompt — sfoglia prompt pronti e salvati`,expandInput:`Espandi l'input`,collapseInput:`Comprimi`,startListening:`Input vocale (Da voce a testo)`,stopListening:`In ascolto... (Fai clic per fermare)`},h={openSidebarTitle:`Apri barra laterale (Ctrl+\\)`,renameTitle:`Clicca per rinominare la sessione`,untitled:`Senza titolo`,changeModelTitle:`Cambia provider / modello (Ctrl+M)`,iterationTitle:`Iterazione agent — clicca per andare all'attività live`,runningProcessesTitle:`Processi in corso`,checkpointsTitle:`Checkpoint di sessione — riavvolgi`,scrollTopTitle:`Scorri in alto (più vecchio)`,jkNavigateTitle:`j/k per navigare`,noProvider:`nessun-provider`,noModel:`nessun-modello`,memoryContextTitle:`Contesto memoria — ricordi SAGE iniettati`,toolStatsTitle:`Statistiche strumenti`},g={title:`Statistiche chiamate strumenti`,liveScope:`Questa pagina · sessioni attive e chiuse`,calls:`Chiamate`,ok:`Successo`,failed:`Fallite`,successRate:`Tasso di successo`,inFlight:`In corso`,totalDuration:`Tempo strumenti`,liveSessions:`Schede aperte`,noLiveData:`Nessuna chiamata di strumenti registrata su questa pagina. Avvia un prompt — le statistiche compaiono qui in tempo reale, per scheda.`,pastSessions:`Sessioni precedenti`,running:`{{count}} in esecuzione`,agentToAgent:`Agente-ad-agente`,delegations:`{{count}} esecuzione/i delegata/e`,delegationFailed:`{{count}} fallite`,delegateToolCalls:`{{count}} strumenti interni`,leaderLine:`Leader: {{ok}}✓ {{failed}}✗`,tool:`Strumento`,outcome:`Esito`,average:`Media`},_={emptyState:e,sessionNamePlaceholder:t,switchSession:n,inputPlaceholder:r,inputPlaceholderConnecting:i,inputPlaceholderLoading:a,send:o,sendTitle:s,stop:c,newSession:l,empty:u,messageCount_one:d,messageCount_other:f,thinking:p,input:m,header:h,toolStats:g};export{_ as default,u as empty,e as emptyState,h as header,m as input,r as inputPlaceholder,i as inputPlaceholderConnecting,a as inputPlaceholderLoading,d as messageCount_one,f as messageCount_other,l as newSession,o as send,s as sendTitle,t as sessionNamePlaceholder,c as stop,n as switchSession,p as thinking,g as toolStats};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Nt as e,Pt as t,St as n,bt as r,kt as i,wt as a,xt as o}from"./ws-client-
|
|
1
|
+
import{Nt as e,Pt as t,St as n,bt as r,kt as i,wt as a,xt as o}from"./ws-client-DtTZLD8e.js";import{$a as s}from"./vendor-enc0q-Va.js";var c=new WeakMap;function l(e){let t=c.get(e);if(t)return t;let n=e.activeSessionId,i=e.lanes[n]??r,o=a(n),s={messages:i.messages,currentAssistantMessageId:i.currentAssistantMessageId,currentToolId:i.currentToolId,isLoading:i.isLoading,abortController:i.abortController,executions:i.executions,toolMessageIdsByUseId:i.toolMessageIdsByUseId,queue:i.queue,runStart:i.runStart,refining:i.refining,pendingRefinement:i.pendingRefinement,thinkingBuffer:i.thinkingBuffer,thinkingStartedAt:i.thinkingStartedAt,thinkingLogBuffer:i.thinkingLogBuffer,thinkingLogStartedAt:i.thinkingLogStartedAt,boundSessionId:n===`__unbound__`?null:n,addMessage:o.addMessage,setMessages:o.setMessages,updateMessage:o.updateMessage,appendToMessage:o.appendToMessage,finalizeMessage:o.finalizeMessage,setToolResult:o.setToolResult,appendToolProgress:o.appendToolProgress,appendToolProgressLines:o.appendToolProgressLines,getToolMessageId:o.getToolMessageId,setToolResultByUseId:o.setToolResultByUseId,appendToolProgressLinesByUseId:o.appendToolProgressLinesByUseId,setLoading:o.setLoading,setAbortController:o.setAbortController,clearMessages:o.clearMessages,setBoundSessionId:u,setCurrentAssistantMessage:o.setCurrentAssistantMessage,setCurrentToolId:o.setCurrentToolId,truncateAfter:o.truncateAfter,addExecution:o.addExecution,updateExecution:o.updateExecution,enqueue:o.enqueue,dequeue:o.dequeue,dequeueDrainable:o.dequeueDrainable,removeQueued:o.removeQueued,clearQueue:o.clearQueue,setRefining:o.setRefining,setPendingRefinement:o.setPendingRefinement,removeMessage:o.removeMessage,updateLastUserMessage:o.updateLastUserMessage,setRunStart:o.setRunStart,appendThinking:o.appendThinking,clearThinking:o.clearThinking,flushThinkingLog:o.flushThinkingLog,clearThinkingLog:o.clearThinkingLog,switchSession:u};return c.set(e,s),s}function u(t){e(t)}function d(){return l(t.getState())}function f(e){let t=typeof e==`function`?e(d()):e;if(!t)return;let{boundSessionId:r,...a}=t;r!==void 0&&u(r);let s={},c={};for(let[e,t]of Object.entries(a))typeof t==`function`?c[e]=t:s[e]=t;Object.keys(s).length>0&&o().patch(s),Object.keys(c).length>0&&i(n(),c)}function p(e){return t.subscribe((t,n)=>e(l(t),l(n)))}var m=Object.assign(function(e){return s(t,t=>e(l(t)))},{getState:d,getInitialState:d,setState:f,subscribe:p,persist:t.persist});export{m as t};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/activity-
|
|
2
|
-
import{Qa as e,Za as t,io as n,no as r,ro as i}from"./vendor-enc0q-Va.js";import{t as a}from"./activity-BF1idM4Y.js";import{t as o}from"./chat-BlllxfpP.js";import{t as s}from"./commandPalette-BovBiPec.js";import{t as c}from"./common-BBHmIHQW.js";import{t as l}from"./settings-Ci_RMpCQ.js";import{t as u}from"./setup-C9lrNwQF.js";import{t as d}from"./toasts-DZ6HdKgG.js";import{s as f}from"./monaco-BCqJp2xW.js";var p=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},m=[`en`,`tr`,`de`,`fr`,`it`,`es`,`pt-BR`],h=[{code:`en`,name:`English`},{code:`tr`,name:`Türkçe`},{code:`de`,name:`Deutsch`},{code:`fr`,name:`Français`},{code:`it`,name:`Italiano`},{code:`es`,name:`Español`},{code:`pt-BR`,name:`Português (Brasil)`}],g=new Set(m);function _(){return typeof navigator>`u`||!navigator.language?`en`:y(navigator.language)}function v(e){return!e||typeof e!=`string`?_():y(e)}function y(e){let t=e.trim().toLowerCase();if(!t)return`en`;if(g.has(t))return t;let n=t.split(`-`)[0];return n&&g.has(n)?n:n===`pt`?`pt-BR`:`en`}var b=[`subagentsAllowed`,`subagentsPolicyLocked`,`autonomy`,`autonomyDelayMs`,`autoProceedMaxIterations`,`yolo`,`maxIterations`,`contextStrategy`,`contextMode`,`contextAutoCompact`,`tokenSavingTier`,`systemPromptVariant`,`reasoningMode`,`reasoningEffort`,`reasoningPreserve`,`nextPrediction`,`nextStepsTool`],x=new Set(b);function S(e,t){let n=T.getState();if(!e||e===n.activeSessionId)return n[t];let r=n.bySession[e]?.[t];if(r!==void 0)return r;let i=n.sessionDefaults[t];return i===void 0?n[t]:i}function C(e){let t={},n={};for(let[r,i]of Object.entries(e))x.has(r)&&typeof i!=`function`?t[r]=i:n[r]=i;return{scoped:t,shared:n}}var w={subagentsAllowed:!0,subagentsPolicyLocked:!1,autonomy:`auto`,autonomyDelayMs:45e3,autoProceedMaxIterations:50,yolo:!0,maxIterations:500,chime:!1,confirmExit:!0,fleetChatVerbosity:`off`,nextPrediction:!1,nextStepsTool:!1,fallbackModels:[],fallbackProfiles:{},favoriteModels:[],favoriteModelsOnly:!1,modelMatrix:{},modelTiers:{},fallbackAuto:!0,modelAvailabilitySchedule:[],featureMcp:!0,featurePlugins:!0,featureMemory:!0,featureSkills:!0,featureModelsRegistry:!0,indexOnStart:!0,contextAutoCompact:!0,contextStrategy:`hybrid`,contextMode:`balanced`,tokenSavingTier:`auto`,maxConcurrent:10,titleAnimation:!0,logLevel:`info`,auditLevel:`standard`,enhanceEnabled:!0,enhanceDelayMs:6e4,enhanceCountdownMs:3e3,enhanceLanguage:`original`,refinerProvider:``,refinerModel:``,refinerFallbackProfile:``,thinkingWord:`thinking`,statuslineMode:`minimum`,animationStyle:`rainbow`,showThinkingLogs:!0,groupToolCalls:!0,autoCollapseInput:!1,showModelReasoning:!0,showAgentSwarmPanel:`bottom`,allowOutsideProjectRoot:!0,reasoningMode:`auto`,reasoningEffort:`high`,reasoningPreserve:!1,cacheTtl:`default`,breakerEnabled:!1,breakerAutoKillResetMs:6e4,fsAccess:`unrestricted`,debugStream:!1,hqEnabled:!1,hqUrl:``,hqToken:``,hqRawContent:!1,tgConfigured:!1,tgSessionEnd:!1,tgDelegate:!0,tgLongToolMs:3e4,uiLocale:_(),chimeraAutoFix:`off`,readSymbols:!1,showSageMemoryInject:!1,sageMemoryInjectThreshold:.85,preRefineSeconds:3,multiDiffSummaryThreshold:5,chimeraEnabled:!0,chimeraProvider:``,chimeraModel:``,chimeraMaxFiles:15,autoReviewEnabled:!1,autoReviewProvider:``,autoReviewModel:``,autoReviewFallbackProfile:``,autoReviewModelSelection:`round-robin`,autoReviewFallbackModels:[],autoReviewDebounceMs:15e3,autoReviewMaxFilesPerBatch:15,autoReviewMaxConcurrentReviews:2,autoReviewCascadeOn:`off`,pluginsEnabled:{},wrongProxyEnabled:!1,wrongProxyUrl:`http://localhost:3444`,keyboardShortcuts:!1,bySession:{},sessionDefaults:{},activeSessionId:null},T=e()(t(e=>({...w,set:t=>e(e=>{let{scoped:n,shared:r}=C(t);if(Object.keys(n).length===0)return{...r};let i=e.activeSessionId;return{...r,...n,sessionDefaults:{...e.sessionDefaults,...n},...i?{bySession:{...e.bySession,[i]:{...e.bySession[i]??{},...n}}}:{}}}),bindSession:t=>e(e=>{if(e.activeSessionId===t)return{};let n={...e.bySession};if(e.activeSessionId){let t={};for(let n of b)t[n]=e[n];n[e.activeSessionId]={...n[e.activeSessionId]??{},...t}}return{...t?{...e.sessionDefaults,...n[t]??{}}:e.sessionDefaults,bySession:n,activeSessionId:t}}),applyRemote:(t,n)=>e(e=>{let{scoped:r,shared:i}=C(t);if(!n||n===e.activeSessionId){let t=n??e.activeSessionId;return{...i,...r,...t&&Object.keys(r).length>0?{bySession:{...e.bySession,[t]:{...e.bySession[t]??{},...r}}}:{}}}return Object.keys(r).length===0?{...i}:{...i,bySession:{...e.bySession,[n]:{...e.bySession[n]??{},...r}}}}),forgetSession:t=>e(e=>{let n=t in e.bySession,r=e.activeSessionId===t;if(!n&&!r)return{};let i={...e.bySession};return delete i[t],{bySession:i,...r?{activeSessionId:null}:{}}}),reset:()=>e(w)}),{name:`wrongstack-local-prefs`,version:17,migrate:(e,t)=>{let n=e??{};return t<12&&n.autoReviewDebounceMs===5e3&&(n.autoReviewDebounceMs=15e3),typeof n.fleetChatVerbosity!=`string`&&(n.fleetChatVerbosity=n.streamFleet===!0?`full`:(n.streamFleet,`off`),delete n.streamFleet),n.fleetChatVerbosity!==`off`&&n.fleetChatVerbosity!==`full`&&(n.fleetChatVerbosity=`off`),[`hybrid`,`intelligent`,`selective`].includes(n.contextStrategy)||(n.contextStrategy=`hybrid`),n.auditLevel===`verbose`&&(n.auditLevel=`full`),[`minimal`,`standard`,`full`].includes(n.auditLevel)||(n.auditLevel=`standard`),typeof n.autoProceedMaxIterations!=`number`&&(n.autoProceedMaxIterations=50),(!n.fallbackProfiles||typeof n.fallbackProfiles!=`object`||Array.isArray(n.fallbackProfiles))&&(n.fallbackProfiles={}),Array.isArray(n.favoriteModels)||(n.favoriteModels=[]),typeof n.favoriteModelsOnly!=`boolean`&&(n.favoriteModelsOnly=!1),Array.isArray(n.modelAvailabilitySchedule)||(n.modelAvailabilitySchedule=[]),(!n.modelMatrix||typeof n.modelMatrix!=`object`||Array.isArray(n.modelMatrix))&&(n.modelMatrix={}),(typeof n.uiLocale!=`string`||!n.uiLocale)&&(n.uiLocale=_()),typeof n.breakerEnabled!=`boolean`&&(n.breakerEnabled=!1),typeof n.breakerAutoKillResetMs!=`number`&&(n.breakerAutoKillResetMs=6e4),n.fsAccess!==`unrestricted`&&n.fsAccess!==`project`&&(n.fsAccess=`unrestricted`),typeof n.debugStream!=`boolean`&&(n.debugStream=!1),typeof n.wrongProxyEnabled!=`boolean`&&(n.wrongProxyEnabled=!1),(typeof n.wrongProxyUrl!=`string`||n.wrongProxyUrl.trim().length===0)&&(n.wrongProxyUrl=`http://localhost:3444`),typeof n.chimeraEnabled!=`boolean`&&(n.chimeraEnabled=!0),typeof n.chimeraProvider!=`string`&&(n.chimeraProvider=``),typeof n.chimeraModel!=`string`&&(n.chimeraModel=``),n.chimeraAutoFix!==`off`&&n.chimeraAutoFix!==`ask`&&n.chimeraAutoFix!==`auto`&&(n.chimeraAutoFix=`off`),(typeof n.chimeraMaxFiles!=`number`||!Number.isFinite(n.chimeraMaxFiles)||n.chimeraMaxFiles<1)&&(n.chimeraMaxFiles=15),typeof n.autoReviewEnabled!=`boolean`&&(n.autoReviewEnabled=!1),typeof n.autoReviewProvider!=`string`&&(n.autoReviewProvider=``),typeof n.autoReviewModel!=`string`&&(n.autoReviewModel=``),typeof n.autoReviewFallbackProfile!=`string`&&(n.autoReviewFallbackProfile=``),n.autoReviewModelSelection!==`round-robin`&&n.autoReviewModelSelection!==`random`&&(n.autoReviewModelSelection=`round-robin`),Array.isArray(n.autoReviewFallbackModels)||(n.autoReviewFallbackModels=[]),(typeof n.autoReviewDebounceMs!=`number`||!Number.isFinite(n.autoReviewDebounceMs)||n.autoReviewDebounceMs<0)&&(n.autoReviewDebounceMs=15e3),(typeof n.autoReviewMaxFilesPerBatch!=`number`||!Number.isFinite(n.autoReviewMaxFilesPerBatch)||n.autoReviewMaxFilesPerBatch<1)&&(n.autoReviewMaxFilesPerBatch=15),(typeof n.autoReviewMaxConcurrentReviews!=`number`||!Number.isFinite(n.autoReviewMaxConcurrentReviews)||n.autoReviewMaxConcurrentReviews<1)&&(n.autoReviewMaxConcurrentReviews=2),n.autoReviewCascadeOn!==`off`&&n.autoReviewCascadeOn!==`critical`&&n.autoReviewCascadeOn!==`high`&&(n.autoReviewCascadeOn=`off`),typeof n.showModelReasoning!=`boolean`&&(n.showModelReasoning=!0),typeof n.autoCollapseInput!=`boolean`&&(n.autoCollapseInput=!1),typeof n.showAgentSwarmPanel==`boolean`?n.showAgentSwarmPanel=n.showAgentSwarmPanel?`bottom`:`off`:(typeof n.showAgentSwarmPanel!=`string`||![`bottom`,`sidebar`,`off`].includes(n.showAgentSwarmPanel))&&(n.showAgentSwarmPanel=`bottom`),typeof n.allowOutsideProjectRoot!=`boolean`&&(n.allowOutsideProjectRoot=!0),typeof n.readSymbols!=`boolean`&&(n.readSymbols=!1),typeof n.showSageMemoryInject!=`boolean`&&(n.showSageMemoryInject=!1),(typeof n.sageMemoryInjectThreshold!=`number`||!Number.isFinite(n.sageMemoryInjectThreshold)||n.sageMemoryInjectThreshold<0||n.sageMemoryInjectThreshold>1)&&(n.sageMemoryInjectThreshold=.85),(typeof n.preRefineSeconds!=`number`||!Number.isFinite(n.preRefineSeconds)||n.preRefineSeconds<0)&&(n.preRefineSeconds=3),(typeof n.bySession!=`object`||n.bySession===null||Array.isArray(n.bySession))&&(n.bySession={}),(typeof n.sessionDefaults!=`object`||n.sessionDefaults===null||Array.isArray(n.sessionDefaults))&&(n.sessionDefaults={}),typeof n.activeSessionId!=`string`&&(n.activeSessionId=null),(typeof n.multiDiffSummaryThreshold!=`number`||!Number.isFinite(n.multiDiffSummaryThreshold)||n.multiDiffSummaryThreshold<0)&&(n.multiDiffSummaryThreshold=5),typeof n.keyboardShortcuts!=`boolean`&&(n.keyboardShortcuts=!1),n},partialize:e=>{let{hqToken:t,...n}=e;return n},merge:(e,t)=>{let{hqToken:n,...r}=e??{};return{...t,...r,hqToken:``}}})),E=[`common`,`activity`,`chat`,`commandPalette`,`settings`,`setup`,`toasts`];function D(){try{return v(T.getState().uiLocale)}catch{return`en`}}n.use(r).use(i((e,t)=>p(Object.assign({"./locales/de/activity.json":()=>f(()=>import(`./activity-DPpMW8BU.js`),[]),"./locales/de/chat.json":()=>f(()=>import(`./chat-BNWqeV-N.js`),[]),"./locales/de/commandPalette.json":()=>f(()=>import(`./commandPalette-aaAou3Tl.js`),[]),"./locales/de/common.json":()=>f(()=>import(`./common-C3PzxyXg.js`),[]),"./locales/de/settings.json":()=>f(()=>import(`./settings-BGvRM3vJ.js`),[]),"./locales/de/setup.json":()=>f(()=>import(`./setup-BQLPzL3N.js`),[]),"./locales/de/toasts.json":()=>f(()=>import(`./toasts-BsmyGP95.js`),[]),"./locales/en/activity.json":()=>f(()=>import(`./activity-BF1idM4Y.js`).then(e=>e.n),__vite__mapDeps([0,1])),"./locales/en/chat.json":()=>f(()=>import(`./chat-BlllxfpP.js`).then(e=>e.n),__vite__mapDeps([2,1])),"./locales/en/commandPalette.json":()=>f(()=>import(`./commandPalette-BovBiPec.js`).then(e=>e.n),__vite__mapDeps([3,1])),"./locales/en/common.json":()=>f(()=>import(`./common-BBHmIHQW.js`).then(e=>e.n),__vite__mapDeps([4,1])),"./locales/en/settings.json":()=>f(()=>import(`./settings-Ci_RMpCQ.js`).then(e=>e.n),__vite__mapDeps([5,1])),"./locales/en/setup.json":()=>f(()=>import(`./setup-C9lrNwQF.js`).then(e=>e.n),__vite__mapDeps([6,1])),"./locales/en/toasts.json":()=>f(()=>import(`./toasts-DZ6HdKgG.js`).then(e=>e.n),__vite__mapDeps([7,1])),"./locales/es/activity.json":()=>f(()=>import(`./activity-IxgYWPDt.js`),[]),"./locales/es/chat.json":()=>f(()=>import(`./chat-DTI7lNDx.js`),[]),"./locales/es/commandPalette.json":()=>f(()=>import(`./commandPalette-Nlxs0V7J.js`),[]),"./locales/es/common.json":()=>f(()=>import(`./common-CUWL8eNX.js`),[]),"./locales/es/settings.json":()=>f(()=>import(`./settings-1o1gooaL.js`),[]),"./locales/es/setup.json":()=>f(()=>import(`./setup-D4rp2jda.js`),[]),"./locales/es/toasts.json":()=>f(()=>import(`./toasts-DizCJjAR.js`),[]),"./locales/fr/activity.json":()=>f(()=>import(`./activity-C-kOJZXC.js`),[]),"./locales/fr/chat.json":()=>f(()=>import(`./chat-BvKkSd09.js`),[]),"./locales/fr/commandPalette.json":()=>f(()=>import(`./commandPalette-Dfk74u87.js`),[]),"./locales/fr/common.json":()=>f(()=>import(`./common-xPePelft.js`),[]),"./locales/fr/settings.json":()=>f(()=>import(`./settings-D-LlBmzO.js`),[]),"./locales/fr/setup.json":()=>f(()=>import(`./setup-CcxP7cUl.js`),[]),"./locales/fr/toasts.json":()=>f(()=>import(`./toasts-CgXHu8ZB.js`),[]),"./locales/it/activity.json":()=>f(()=>import(`./activity-q85HXQNv.js`),[]),"./locales/it/chat.json":()=>f(()=>import(`./chat-B5a3cvps.js`),[]),"./locales/it/commandPalette.json":()=>f(()=>import(`./commandPalette-CUh_kgfp.js`),[]),"./locales/it/common.json":()=>f(()=>import(`./common-DuR5FTPN.js`),[]),"./locales/it/settings.json":()=>f(()=>import(`./settings-nWMBX3xS.js`),[]),"./locales/it/setup.json":()=>f(()=>import(`./setup-MvmOtwNp.js`),[]),"./locales/it/toasts.json":()=>f(()=>import(`./toasts-bPl097de.js`),[]),"./locales/pt-BR/activity.json":()=>f(()=>import(`./activity-DYMBKGt0.js`),[]),"./locales/pt-BR/chat.json":()=>f(()=>import(`./chat-B60h8Cji.js`),[]),"./locales/pt-BR/commandPalette.json":()=>f(()=>import(`./commandPalette-tFxIIhvU.js`),[]),"./locales/pt-BR/common.json":()=>f(()=>import(`./common-CvSB5NM3.js`),[]),"./locales/pt-BR/settings.json":()=>f(()=>import(`./settings-Cy_xp4Jt.js`),[]),"./locales/pt-BR/setup.json":()=>f(()=>import(`./setup-blxUcxNU.js`),[]),"./locales/pt-BR/toasts.json":()=>f(()=>import(`./toasts-NC2MT4uN.js`),[]),"./locales/tr/activity.json":()=>f(()=>import(`./activity-B2_Vr2oD.js`),[]),"./locales/tr/chat.json":()=>f(()=>import(`./chat-DlhXGxxi.js`),[]),"./locales/tr/commandPalette.json":()=>f(()=>import(`./commandPalette-CGMq-qlP.js`),[]),"./locales/tr/common.json":()=>f(()=>import(`./common-DT2FL9xN.js`),[]),"./locales/tr/settings.json":()=>f(()=>import(`./settings-BV8EFmpH.js`),[]),"./locales/tr/setup.json":()=>f(()=>import(`./setup-CtKKNpH9.js`),[]),"./locales/tr/toasts.json":()=>f(()=>import(`./toasts-tCVo15mP.js`),[])}),`./locales/${e}/${t}.json`,4))).init({lng:D(),fallbackLng:`en`,supportedLngs:[...m],ns:[...E],defaultNS:`common`,partialBundledLanguages:!0,resources:{en:{common:c,activity:a,chat:o,commandPalette:s,settings:l,setup:u,toasts:d}},interpolation:{escapeValue:!1},react:{useSuspense:!1},returnNull:!1});function O(e){typeof document<`u`&&(document.documentElement.lang=e)}O(n.language||`en`),T.subscribe((e,t)=>{let r=e.uiLocale;r&&r!==t.uiLocale&&r!==n.language&&n.changeLanguage(r).then(()=>O(r))});function k(){window.wrongstackDesktopHost?.onLocaleChanged?.(e=>{if(!e)return;let t=v(e);if(t===n.language)return;let r=T.getState();r.uiLocale!==t&&r.set({uiLocale:t}),n.changeLanguage(t).then(()=>O(t))})}try{k()}catch{}export{T as n,h as r,S as t};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/activity-CtTKsSX6.js","assets/rolldown-runtime-hePW80VL.js","assets/chat-BITJe8-v.js","assets/commandPalette-BovBiPec.js","assets/common-BBHmIHQW.js","assets/settings-Ci_RMpCQ.js","assets/setup-Dwt58Mpz.js","assets/toasts-DZ6HdKgG.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{Qa as e,Za as t,io as n,no as r,ro as i}from"./vendor-enc0q-Va.js";import{t as a}from"./activity-CtTKsSX6.js";import{t as o}from"./chat-BITJe8-v.js";import{t as s}from"./commandPalette-BovBiPec.js";import{t as c}from"./common-BBHmIHQW.js";import{t as l}from"./settings-Ci_RMpCQ.js";import{t as u}from"./setup-Dwt58Mpz.js";import{t as d}from"./toasts-DZ6HdKgG.js";import{s as f}from"./monaco-BCqJp2xW.js";var p=(e,t,n)=>{let r=t.lastIndexOf(`?`),i=e[r===-1||r<t.lastIndexOf(`/`)?t:t.slice(0,r)];return i?typeof i==`function`?i():Promise.resolve(i):new Promise((e,r)=>{(typeof queueMicrotask==`function`?queueMicrotask:setTimeout)(r.bind(null,Error(`Unknown variable dynamic import: `+t+(t.split(`/`).length===n?``:`. Note that variables only represent file names one level deep.`))))})},m=[`en`,`tr`,`de`,`fr`,`it`,`es`,`pt-BR`],h=[{code:`en`,name:`English`},{code:`tr`,name:`Türkçe`},{code:`de`,name:`Deutsch`},{code:`fr`,name:`Français`},{code:`it`,name:`Italiano`},{code:`es`,name:`Español`},{code:`pt-BR`,name:`Português (Brasil)`}],g=new Set(m);function _(){return typeof navigator>`u`||!navigator.language?`en`:y(navigator.language)}function v(e){return!e||typeof e!=`string`?_():y(e)}function y(e){let t=e.trim().toLowerCase();if(!t)return`en`;if(g.has(t))return t;let n=t.split(`-`)[0];return n&&g.has(n)?n:n===`pt`?`pt-BR`:`en`}var b=[`subagentsAllowed`,`subagentsPolicyLocked`,`autonomy`,`autonomyDelayMs`,`autoProceedMaxIterations`,`yolo`,`maxIterations`,`contextStrategy`,`contextMode`,`contextAutoCompact`,`tokenSavingTier`,`systemPromptVariant`,`reasoningMode`,`reasoningEffort`,`reasoningPreserve`,`nextPrediction`,`nextStepsTool`],x=new Set(b);function S(e,t){let n=T.getState();if(!e||e===n.activeSessionId)return n[t];let r=n.bySession[e]?.[t];if(r!==void 0)return r;let i=n.sessionDefaults[t];return i===void 0?n[t]:i}function C(e){let t={},n={};for(let[r,i]of Object.entries(e))x.has(r)&&typeof i!=`function`?t[r]=i:n[r]=i;return{scoped:t,shared:n}}var w={subagentsAllowed:!0,subagentsPolicyLocked:!1,autonomy:`auto`,autonomyDelayMs:45e3,autoProceedMaxIterations:50,yolo:!0,maxIterations:500,chime:!1,confirmExit:!0,fleetChatVerbosity:`off`,nextPrediction:!1,nextStepsTool:!1,fallbackModels:[],fallbackProfiles:{},favoriteModels:[],favoriteModelsOnly:!1,modelMatrix:{},modelTiers:{},fallbackAuto:!0,modelAvailabilitySchedule:[],featureMcp:!0,featurePlugins:!0,featureMemory:!0,featureSkills:!0,featureModelsRegistry:!0,indexOnStart:!0,contextAutoCompact:!0,contextStrategy:`hybrid`,contextMode:`balanced`,tokenSavingTier:`auto`,maxConcurrent:10,titleAnimation:!0,logLevel:`info`,auditLevel:`standard`,enhanceEnabled:!0,enhanceDelayMs:6e4,enhanceCountdownMs:3e3,enhanceLanguage:`original`,refinerProvider:``,refinerModel:``,refinerFallbackProfile:``,thinkingWord:`thinking`,statuslineMode:`minimum`,animationStyle:`rainbow`,showThinkingLogs:!0,groupToolCalls:!0,autoCollapseInput:!1,showModelReasoning:!0,showAgentSwarmPanel:`bottom`,allowOutsideProjectRoot:!0,reasoningMode:`auto`,reasoningEffort:`high`,reasoningPreserve:!1,cacheTtl:`default`,breakerEnabled:!1,breakerAutoKillResetMs:6e4,fsAccess:`unrestricted`,debugStream:!1,hqEnabled:!1,hqUrl:``,hqToken:``,hqRawContent:!1,tgConfigured:!1,tgSessionEnd:!1,tgDelegate:!0,tgLongToolMs:3e4,uiLocale:_(),chimeraAutoFix:`off`,readSymbols:!1,showSageMemoryInject:!1,sageMemoryInjectThreshold:.85,preRefineSeconds:3,multiDiffSummaryThreshold:5,chimeraEnabled:!0,chimeraProvider:``,chimeraModel:``,chimeraMaxFiles:15,autoReviewEnabled:!1,autoReviewProvider:``,autoReviewModel:``,autoReviewFallbackProfile:``,autoReviewModelSelection:`round-robin`,autoReviewFallbackModels:[],autoReviewDebounceMs:15e3,autoReviewMaxFilesPerBatch:15,autoReviewMaxConcurrentReviews:2,autoReviewCascadeOn:`off`,pluginsEnabled:{},wrongProxyEnabled:!1,wrongProxyUrl:`http://localhost:3444`,keyboardShortcuts:!1,bySession:{},sessionDefaults:{},activeSessionId:null},T=e()(t(e=>({...w,set:t=>e(e=>{let{scoped:n,shared:r}=C(t);if(Object.keys(n).length===0)return{...r};let i=e.activeSessionId;return{...r,...n,sessionDefaults:{...e.sessionDefaults,...n},...i?{bySession:{...e.bySession,[i]:{...e.bySession[i]??{},...n}}}:{}}}),bindSession:t=>e(e=>{if(e.activeSessionId===t)return{};let n={...e.bySession};if(e.activeSessionId){let t={};for(let n of b)t[n]=e[n];n[e.activeSessionId]={...n[e.activeSessionId]??{},...t}}return{...t?{...e.sessionDefaults,...n[t]??{}}:e.sessionDefaults,bySession:n,activeSessionId:t}}),applyRemote:(t,n)=>e(e=>{let{scoped:r,shared:i}=C(t);if(!n||n===e.activeSessionId){let t=n??e.activeSessionId;return{...i,...r,...t&&Object.keys(r).length>0?{bySession:{...e.bySession,[t]:{...e.bySession[t]??{},...r}}}:{}}}return Object.keys(r).length===0?{...i}:{...i,bySession:{...e.bySession,[n]:{...e.bySession[n]??{},...r}}}}),forgetSession:t=>e(e=>{let n=t in e.bySession,r=e.activeSessionId===t;if(!n&&!r)return{};let i={...e.bySession};return delete i[t],{bySession:i,...r?{activeSessionId:null}:{}}}),reset:()=>e(w)}),{name:`wrongstack-local-prefs`,version:17,migrate:(e,t)=>{let n=e??{};return t<12&&n.autoReviewDebounceMs===5e3&&(n.autoReviewDebounceMs=15e3),typeof n.fleetChatVerbosity!=`string`&&(n.fleetChatVerbosity=n.streamFleet===!0?`full`:(n.streamFleet,`off`),delete n.streamFleet),n.fleetChatVerbosity!==`off`&&n.fleetChatVerbosity!==`full`&&(n.fleetChatVerbosity=`off`),[`hybrid`,`intelligent`,`selective`].includes(n.contextStrategy)||(n.contextStrategy=`hybrid`),n.auditLevel===`verbose`&&(n.auditLevel=`full`),[`minimal`,`standard`,`full`].includes(n.auditLevel)||(n.auditLevel=`standard`),typeof n.autoProceedMaxIterations!=`number`&&(n.autoProceedMaxIterations=50),(!n.fallbackProfiles||typeof n.fallbackProfiles!=`object`||Array.isArray(n.fallbackProfiles))&&(n.fallbackProfiles={}),Array.isArray(n.favoriteModels)||(n.favoriteModels=[]),typeof n.favoriteModelsOnly!=`boolean`&&(n.favoriteModelsOnly=!1),Array.isArray(n.modelAvailabilitySchedule)||(n.modelAvailabilitySchedule=[]),(!n.modelMatrix||typeof n.modelMatrix!=`object`||Array.isArray(n.modelMatrix))&&(n.modelMatrix={}),(typeof n.uiLocale!=`string`||!n.uiLocale)&&(n.uiLocale=_()),typeof n.breakerEnabled!=`boolean`&&(n.breakerEnabled=!1),typeof n.breakerAutoKillResetMs!=`number`&&(n.breakerAutoKillResetMs=6e4),n.fsAccess!==`unrestricted`&&n.fsAccess!==`project`&&(n.fsAccess=`unrestricted`),typeof n.debugStream!=`boolean`&&(n.debugStream=!1),typeof n.wrongProxyEnabled!=`boolean`&&(n.wrongProxyEnabled=!1),(typeof n.wrongProxyUrl!=`string`||n.wrongProxyUrl.trim().length===0)&&(n.wrongProxyUrl=`http://localhost:3444`),typeof n.chimeraEnabled!=`boolean`&&(n.chimeraEnabled=!0),typeof n.chimeraProvider!=`string`&&(n.chimeraProvider=``),typeof n.chimeraModel!=`string`&&(n.chimeraModel=``),n.chimeraAutoFix!==`off`&&n.chimeraAutoFix!==`ask`&&n.chimeraAutoFix!==`auto`&&(n.chimeraAutoFix=`off`),(typeof n.chimeraMaxFiles!=`number`||!Number.isFinite(n.chimeraMaxFiles)||n.chimeraMaxFiles<1)&&(n.chimeraMaxFiles=15),typeof n.autoReviewEnabled!=`boolean`&&(n.autoReviewEnabled=!1),typeof n.autoReviewProvider!=`string`&&(n.autoReviewProvider=``),typeof n.autoReviewModel!=`string`&&(n.autoReviewModel=``),typeof n.autoReviewFallbackProfile!=`string`&&(n.autoReviewFallbackProfile=``),n.autoReviewModelSelection!==`round-robin`&&n.autoReviewModelSelection!==`random`&&(n.autoReviewModelSelection=`round-robin`),Array.isArray(n.autoReviewFallbackModels)||(n.autoReviewFallbackModels=[]),(typeof n.autoReviewDebounceMs!=`number`||!Number.isFinite(n.autoReviewDebounceMs)||n.autoReviewDebounceMs<0)&&(n.autoReviewDebounceMs=15e3),(typeof n.autoReviewMaxFilesPerBatch!=`number`||!Number.isFinite(n.autoReviewMaxFilesPerBatch)||n.autoReviewMaxFilesPerBatch<1)&&(n.autoReviewMaxFilesPerBatch=15),(typeof n.autoReviewMaxConcurrentReviews!=`number`||!Number.isFinite(n.autoReviewMaxConcurrentReviews)||n.autoReviewMaxConcurrentReviews<1)&&(n.autoReviewMaxConcurrentReviews=2),n.autoReviewCascadeOn!==`off`&&n.autoReviewCascadeOn!==`critical`&&n.autoReviewCascadeOn!==`high`&&(n.autoReviewCascadeOn=`off`),typeof n.showModelReasoning!=`boolean`&&(n.showModelReasoning=!0),typeof n.autoCollapseInput!=`boolean`&&(n.autoCollapseInput=!1),typeof n.showAgentSwarmPanel==`boolean`?n.showAgentSwarmPanel=n.showAgentSwarmPanel?`bottom`:`off`:(typeof n.showAgentSwarmPanel!=`string`||![`bottom`,`sidebar`,`off`].includes(n.showAgentSwarmPanel))&&(n.showAgentSwarmPanel=`bottom`),typeof n.allowOutsideProjectRoot!=`boolean`&&(n.allowOutsideProjectRoot=!0),typeof n.readSymbols!=`boolean`&&(n.readSymbols=!1),typeof n.showSageMemoryInject!=`boolean`&&(n.showSageMemoryInject=!1),(typeof n.sageMemoryInjectThreshold!=`number`||!Number.isFinite(n.sageMemoryInjectThreshold)||n.sageMemoryInjectThreshold<0||n.sageMemoryInjectThreshold>1)&&(n.sageMemoryInjectThreshold=.85),(typeof n.preRefineSeconds!=`number`||!Number.isFinite(n.preRefineSeconds)||n.preRefineSeconds<0)&&(n.preRefineSeconds=3),(typeof n.bySession!=`object`||n.bySession===null||Array.isArray(n.bySession))&&(n.bySession={}),(typeof n.sessionDefaults!=`object`||n.sessionDefaults===null||Array.isArray(n.sessionDefaults))&&(n.sessionDefaults={}),typeof n.activeSessionId!=`string`&&(n.activeSessionId=null),(typeof n.multiDiffSummaryThreshold!=`number`||!Number.isFinite(n.multiDiffSummaryThreshold)||n.multiDiffSummaryThreshold<0)&&(n.multiDiffSummaryThreshold=5),typeof n.keyboardShortcuts!=`boolean`&&(n.keyboardShortcuts=!1),n},partialize:e=>{let{hqToken:t,...n}=e;return n},merge:(e,t)=>{let{hqToken:n,...r}=e??{};return{...t,...r,hqToken:``}}})),E=[`common`,`activity`,`chat`,`commandPalette`,`settings`,`setup`,`toasts`];function D(){try{return v(T.getState().uiLocale)}catch{return`en`}}n.use(r).use(i((e,t)=>p(Object.assign({"./locales/de/activity.json":()=>f(()=>import(`./activity-hTPcI4q1.js`),[]),"./locales/de/chat.json":()=>f(()=>import(`./chat-BHsbpaVt.js`),[]),"./locales/de/commandPalette.json":()=>f(()=>import(`./commandPalette-aaAou3Tl.js`),[]),"./locales/de/common.json":()=>f(()=>import(`./common-C3PzxyXg.js`),[]),"./locales/de/settings.json":()=>f(()=>import(`./settings-BGvRM3vJ.js`),[]),"./locales/de/setup.json":()=>f(()=>import(`./setup-B0D9CK3-.js`),[]),"./locales/de/toasts.json":()=>f(()=>import(`./toasts-BsmyGP95.js`),[]),"./locales/en/activity.json":()=>f(()=>import(`./activity-CtTKsSX6.js`).then(e=>e.n),__vite__mapDeps([0,1])),"./locales/en/chat.json":()=>f(()=>import(`./chat-BITJe8-v.js`).then(e=>e.n),__vite__mapDeps([2,1])),"./locales/en/commandPalette.json":()=>f(()=>import(`./commandPalette-BovBiPec.js`).then(e=>e.n),__vite__mapDeps([3,1])),"./locales/en/common.json":()=>f(()=>import(`./common-BBHmIHQW.js`).then(e=>e.n),__vite__mapDeps([4,1])),"./locales/en/settings.json":()=>f(()=>import(`./settings-Ci_RMpCQ.js`).then(e=>e.n),__vite__mapDeps([5,1])),"./locales/en/setup.json":()=>f(()=>import(`./setup-Dwt58Mpz.js`).then(e=>e.n),__vite__mapDeps([6,1])),"./locales/en/toasts.json":()=>f(()=>import(`./toasts-DZ6HdKgG.js`).then(e=>e.n),__vite__mapDeps([7,1])),"./locales/es/activity.json":()=>f(()=>import(`./activity-CpnSsE22.js`),[]),"./locales/es/chat.json":()=>f(()=>import(`./chat-6dE2AJNN.js`),[]),"./locales/es/commandPalette.json":()=>f(()=>import(`./commandPalette-Nlxs0V7J.js`),[]),"./locales/es/common.json":()=>f(()=>import(`./common-CUWL8eNX.js`),[]),"./locales/es/settings.json":()=>f(()=>import(`./settings-1o1gooaL.js`),[]),"./locales/es/setup.json":()=>f(()=>import(`./setup-DznVdlJy.js`),[]),"./locales/es/toasts.json":()=>f(()=>import(`./toasts-DizCJjAR.js`),[]),"./locales/fr/activity.json":()=>f(()=>import(`./activity-D1rp3dH9.js`),[]),"./locales/fr/chat.json":()=>f(()=>import(`./chat-B3AJmhGD.js`),[]),"./locales/fr/commandPalette.json":()=>f(()=>import(`./commandPalette-Dfk74u87.js`),[]),"./locales/fr/common.json":()=>f(()=>import(`./common-xPePelft.js`),[]),"./locales/fr/settings.json":()=>f(()=>import(`./settings-D-LlBmzO.js`),[]),"./locales/fr/setup.json":()=>f(()=>import(`./setup-Di56FlHP.js`),[]),"./locales/fr/toasts.json":()=>f(()=>import(`./toasts-CgXHu8ZB.js`),[]),"./locales/it/activity.json":()=>f(()=>import(`./activity-BU6MNvBJ.js`),[]),"./locales/it/chat.json":()=>f(()=>import(`./chat-mSbSzPl5.js`),[]),"./locales/it/commandPalette.json":()=>f(()=>import(`./commandPalette-CUh_kgfp.js`),[]),"./locales/it/common.json":()=>f(()=>import(`./common-DuR5FTPN.js`),[]),"./locales/it/settings.json":()=>f(()=>import(`./settings-nWMBX3xS.js`),[]),"./locales/it/setup.json":()=>f(()=>import(`./setup-CzM4dkkU.js`),[]),"./locales/it/toasts.json":()=>f(()=>import(`./toasts-bPl097de.js`),[]),"./locales/pt-BR/activity.json":()=>f(()=>import(`./activity-C_18AaRY.js`),[]),"./locales/pt-BR/chat.json":()=>f(()=>import(`./chat-_Xp5fDnj.js`),[]),"./locales/pt-BR/commandPalette.json":()=>f(()=>import(`./commandPalette-tFxIIhvU.js`),[]),"./locales/pt-BR/common.json":()=>f(()=>import(`./common-CvSB5NM3.js`),[]),"./locales/pt-BR/settings.json":()=>f(()=>import(`./settings-Cy_xp4Jt.js`),[]),"./locales/pt-BR/setup.json":()=>f(()=>import(`./setup-C2H9Uv0Q.js`),[]),"./locales/pt-BR/toasts.json":()=>f(()=>import(`./toasts-NC2MT4uN.js`),[]),"./locales/tr/activity.json":()=>f(()=>import(`./activity-C7dkJqBU.js`),[]),"./locales/tr/chat.json":()=>f(()=>import(`./chat-U-Jjb8_k.js`),[]),"./locales/tr/commandPalette.json":()=>f(()=>import(`./commandPalette-CGMq-qlP.js`),[]),"./locales/tr/common.json":()=>f(()=>import(`./common-DT2FL9xN.js`),[]),"./locales/tr/settings.json":()=>f(()=>import(`./settings-BV8EFmpH.js`),[]),"./locales/tr/setup.json":()=>f(()=>import(`./setup-B58YVaGU.js`),[]),"./locales/tr/toasts.json":()=>f(()=>import(`./toasts-tCVo15mP.js`),[])}),`./locales/${e}/${t}.json`,4))).init({lng:D(),fallbackLng:`en`,supportedLngs:[...m],ns:[...E],defaultNS:`common`,partialBundledLanguages:!0,resources:{en:{common:c,activity:a,chat:o,commandPalette:s,settings:l,setup:u,toasts:d}},interpolation:{escapeValue:!1},react:{useSuspense:!1},returnNull:!1});function O(e){typeof document<`u`&&(document.documentElement.lang=e)}O(n.language||`en`),T.subscribe((e,t)=>{let r=e.uiLocale;r&&r!==t.uiLocale&&r!==n.language&&n.changeLanguage(r).then(()=>O(r))});function k(){window.wrongstackDesktopHost?.onLocaleChanged?.(e=>{if(!e)return;let t=v(e);if(t===n.language)return;let r=T.getState();r.uiLocale!==t&&r.set({uiLocale:t}),n.changeLanguage(t).then(()=>O(t))})}try{k()}catch{}export{T as n,h as r,S as t};
|