@wrongstack/webui 0.283.1 → 0.284.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/AnalyticsDashboard-BBoAzpgL.js +1 -0
- package/dist/assets/AutoPhaseView-D053zOhN.js +1 -0
- package/dist/assets/ChangesView-4X9cQM4r.js +1 -0
- package/dist/assets/CodeEditor-C8hiA7LI.js +1 -0
- package/dist/assets/DebugDashboard-DBPKvghW.js +1 -0
- package/dist/assets/{DesignGalleryView-DaLPPF4Q.js → DesignGalleryView-CzF24Ppi.js} +1 -1
- package/dist/assets/{KanbanView-BdsVeyFI.js → KanbanView-DWBGErwm.js} +1 -1
- package/dist/assets/MailboxDetailView-CCtq-c8u.js +1 -0
- package/dist/assets/OfficeMapPanel-BBKsytG0.js +4 -0
- package/dist/assets/ProcessMonitor-pm8Ih7-q.js +1 -0
- package/dist/assets/{QueuePanel-BweqXLzT.js → QueuePanel-Lv54tvvk.js} +1 -1
- package/dist/assets/{RefreshDebugView-LYcQUNfU.js → RefreshDebugView-0VzJJqhZ.js} +1 -1
- package/dist/assets/SddBoardView-Q-k1UjLv.js +2 -0
- package/dist/assets/SddFlowGraph-BaWwH9Zc.js +1 -0
- package/dist/assets/{SddWizard-C8wm_izV.js → SddWizard-C4wdyhYe.js} +1 -1
- package/dist/assets/SessionsDashboard-CveBdrQJ.js +1 -0
- package/dist/assets/SkillDetailView-B4U0AtHj.js +2 -0
- package/dist/assets/SpecsView-QssXs9kF.js +1 -0
- package/dist/assets/{TerminalPanel-DxtPDRk5.js → TerminalPanel-CSDEzJNZ.js} +1 -1
- package/dist/assets/{activity-CVWYwjgf.js → activity-3lpGdUIy.js} +1 -1
- package/dist/assets/{activity-Cjm0UoMi.js → activity-Bi6wI_Cg.js} +1 -1
- package/dist/assets/{activity-BEjzb11U.js → activity-CSPSX--m.js} +1 -1
- package/dist/assets/{activity-Lmjx6MD1.js → activity-CcEdxJjx.js} +1 -1
- package/dist/assets/{activity-DN6Bmnaw.js → activity-Cv0CmTyM.js} +1 -1
- package/dist/assets/{activity-ByEwzh5Q.js → activity-Doy5Yots.js} +1 -1
- package/dist/assets/{activity-BjnFo4NL.js → activity-T9kySYDT.js} +1 -1
- package/dist/assets/chat--Zry3Atx.js +1 -0
- package/dist/assets/chat-0DeGMNFQ.js +1 -0
- package/dist/assets/chat-BErfSQjE.js +1 -0
- package/dist/assets/chat-CX5cjaC-.js +1 -0
- package/dist/assets/chat-CibJIps5.js +1 -0
- package/dist/assets/chat-Dr5SJikx.js +1 -0
- package/dist/assets/chat-Siz8aWTB.js +1 -0
- package/dist/assets/{chat-store-uNXIpAx_.js → chat-store-De7J1E26.js} +1 -1
- package/dist/assets/common-B28qhvZh.js +1 -0
- package/dist/assets/common-C9ikgX7d.js +1 -0
- package/dist/assets/common-CeTsF3jX.js +1 -0
- package/dist/assets/common-D29Zdkxb.js +1 -0
- package/dist/assets/{common-BAg8_MKg.js → common-DMM-xyW3.js} +1 -1
- package/dist/assets/common-DoUBSHRY.js +1 -0
- package/dist/assets/common-vdwxzODB.js +1 -0
- package/dist/assets/i18n-CkkVJCs9.js +2 -0
- package/dist/assets/index-BqAVsSCe.js +154 -0
- package/dist/assets/index-DTFjO9oF.css +1 -0
- package/dist/assets/local-prefs-C1YdbI5g.js +1 -0
- package/dist/assets/{monaco-DqY9Mr3N.js → monaco-XnLmrAXJ.js} +212 -212
- package/dist/assets/monaco-theme-Lsd14tM-.js +1 -0
- package/dist/assets/{session-store-DhcyG2AC.js → session-store-P-JnaPPK.js} +1 -1
- package/dist/assets/{ui-store-isn1eTG7.js → ui-store-FTgDlcX2.js} +1 -1
- package/dist/assets/utils-CU_o9ioU.js +1 -0
- package/dist/assets/{vendor-OWPFcqeg.js → vendor-CyLvG8N0.js} +14 -14
- package/dist/assets/{ws-client-Dglowar-.js → ws-client-lDxBz-7w.js} +1 -1
- package/dist/assets/{xyflow-CGx_hPAX.js → xyflow-oYDGUYW6.js} +1 -1
- package/dist/index.html +14 -13
- package/dist/index.js +7819 -7458
- package/dist/index.js.map +1 -1
- package/dist/server/index.d.ts +1 -1223
- package/dist/server/index.js +3 -12754
- package/dist/types.d.ts +17 -1
- package/package.json +23 -36
- package/dist/assets/AnalyticsDashboard-vbaFTrJa.js +0 -1
- package/dist/assets/AutoPhaseView-Ce8a1eUl.js +0 -1
- package/dist/assets/CodeEditor-CduSdsMI.js +0 -1
- package/dist/assets/DebugDashboard-DoVJhkxa.js +0 -1
- package/dist/assets/MailboxDetailView-BYR6CSvz.js +0 -1
- package/dist/assets/OfficeMapPanel-BkaZBJEZ.js +0 -4
- package/dist/assets/ProcessMonitor-C7OgHnln.js +0 -1
- package/dist/assets/SddBoardView-c87Bwdig.js +0 -2
- package/dist/assets/SddFlowGraph-DK7RD9NA.js +0 -1
- package/dist/assets/SessionsDashboard-DySTssFb.js +0 -1
- package/dist/assets/SkillDetailView-y0BgfnBr.js +0 -2
- package/dist/assets/SpecsView-BudIVvtN.js +0 -1
- package/dist/assets/chat-CdLXf1yN.js +0 -1
- package/dist/assets/chat-Cfq81NCh.js +0 -1
- package/dist/assets/chat-Cvy-F2d6.js +0 -1
- package/dist/assets/chat-DCAGDU3F.js +0 -1
- package/dist/assets/chat-DNIePdaQ.js +0 -1
- package/dist/assets/chat-DhofDrgA.js +0 -1
- package/dist/assets/chat-cxuX4gFa.js +0 -1
- package/dist/assets/common-BH1mb9Im.js +0 -1
- package/dist/assets/common-C29pCVfm.js +0 -1
- package/dist/assets/common-CrGjglH4.js +0 -1
- package/dist/assets/common-D7usadq4.js +0 -1
- package/dist/assets/common-KzRPhobM.js +0 -1
- package/dist/assets/common-tmj0IcQS.js +0 -1
- package/dist/assets/i18n-DD-_8vnT.js +0 -2
- package/dist/assets/index-0LBBDKsK.js +0 -147
- package/dist/assets/index-Dv6bXQoD.css +0 -1
- package/dist/assets/utils-B-rhScDN.js +0 -1
- package/dist/server/entry.d.ts +0 -2
- package/dist/server/entry.js +0 -12764
- package/dist/server/entry.js.map +0 -1
- package/dist/server/handlers.d.ts +0 -51
- package/dist/server/handlers.js +0 -253
- package/dist/server/handlers.js.map +0 -1
- package/dist/server/index.js.map +0 -1
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{c as t,m as n,o as r,p as i}from"./markdown-D0X23O-i.js";import{Bn as ee,Bt as te,Kn as ne,Or as re,Wr as a,Yt as ie,Z as ae,Zt as oe,br as se,cr as ce,dt as o,fi as s,gr as c,hi as l,jn as le,t as ue,tr as de,vr as fe,wr as pe,zr as me}from"./vendor-OWPFcqeg.js";import"./i18n-DD-_8vnT.js";import{n as u}from"./ui-store-isn1eTG7.js";import{t as d}from"./utils-B-rhScDN.js";import{C as he,T as ge,d as f}from"./index-0LBBDKsK.js";var p=e(n(),1),m=i();function h(e){return e===`project`||e===`user`}function g(e){let t=e.match(/^(.+?)\/SKILL(?:\.save)?\.md$/);return t?t[1]:null}function _e({source:e}){let{t}=s(),n=e===`project`?`project`:e===`user`?`user`:`bundled`;return(0,m.jsx)(`span`,{className:d(`inline-flex items-center rounded-md border px-1.5 py-0.5 text-[10px] font-semibold uppercase tracking-wide`,n===`project`&&`border-[hsl(var(--success)/0.25)] bg-[hsl(var(--success)/0.08)] text-[hsl(var(--success))]`,n===`user`&&`border-primary/25 bg-primary/10 text-primary`,n===`bundled`&&`border-border/70 bg-muted/60 text-muted-foreground`),children:t(`activity:skillDetail.${{project:`scopeProject`,user:`scopeGlobal`,bundled:`scopeBundled`}[n]}`)})}function _({className:e}){let{t:n}=s(),{client:i}=he(),_=u(e=>e.skillsState),v=u(e=>e.setSkillsState),y=_.selectedSkill,b=_.navHistory,x=_.historyIndex,[S,C]=(0,p.useState)(null),[ve,w]=(0,p.useState)(!1),[T,E]=(0,p.useState)(null),[D,O]=(0,p.useState)(!1),[k,A]=(0,p.useState)(``),[j,M]=(0,p.useState)(!1),[N,P]=(0,p.useState)(null),[F,I]=(0,p.useState)(!1),[L,R]=(0,p.useState)(null),[z,B]=(0,p.useState)(!1),V=(0,p.useRef)(``),[H,ye]=(0,p.useState)(!1),[U,W]=(0,p.useState)(null),[be,xe]=(0,p.useState)(!1),[G,K]=(0,p.useState)(null),[q,Se]=(0,p.useState)(!1),[Ce,we]=(0,p.useState)([]),J=(0,p.useRef)(_);J.current=_;let Y=(0,p.useRef)(!1),X=(0,p.useMemo)(()=>k?{lines:k.split(`
|
|
2
|
-
`).length,words:k.trim()?k.trim().split(/\s+/).length:0,chars:k.length}:{lines:0,words:0,chars:0},[k]),Z=(0,p.useMemo)(()=>{if(!k)return null;let e=5*1024*1024,t=new Blob([k]).size;return t>=e?{level:`critical`,used:t,limit:e}:t>=4194304?{level:`warn`,used:t,limit:e}:null},[k]);(0,p.useEffect)(()=>{if(!L)return;let e=setTimeout(()=>R(null),2e3);return()=>clearTimeout(e)},[L]),(0,p.useEffect)(()=>{if(!D||!y)return;let e=setInterval(()=>{k&&k!==V.current&&(V.current=k,localStorage.setItem(`skills_draft_${y.name}`,JSON.stringify({content:k,savedAt:Date.now()})),R(Date.now()))},5e3);return()=>clearInterval(e)},[D,k,y]),(0,p.useEffect)(()=>{if(!y||!D)return;let e=localStorage.getItem(`skills_draft_${y.name}`);if(e)try{let{content:t}=JSON.parse(e);t&&t!==k&&t!==V.current&&(A(t),V.current=t,B(!0))}catch{}},[y?.name,D]),(0,p.useEffect)(()=>{if(!i||!y)return;w(!0),C(null),E(null);let e=setTimeout(()=>{w(!1),E(l.t(`activity:skillDetail.timeoutError`))},1e4),t=t=>{clearTimeout(e);let n=t;n.payload.error?E(n.payload.error):n.payload.name&&C(n.payload),w(!1)},n=e=>{let t=e;ye(!1);let n=J.current;if(t.payload.success){let e={...n.knownRefs};for(let n of t.payload.updated??[])e[n.name]=n.newRef;v({...n,knownRefs:e,updateAvailableCount:0}),W({updated:t.payload.updated??[],unchanged:t.payload.unchanged??[],errors:t.payload.errors??[]}),i.send({type:`skills.list`})}else W({updated:[],unchanged:[],errors:[{name:``,error:t.payload.error??l.t(`activity:skillDetail.updateFailed`)}]})},r=e=>{let t=e;t.payload.skills&&we(t.payload.skills)};return i.on(`skills.content`,t),i.on(`skills.updated`,n),i.on(`skills.list`,r),i.send({type:`skills.content`,payload:{name:y.name,source:y.source}}),()=>{clearTimeout(e),i.off(`skills.content`,t),i.off(`skills.updated`,n),i.off(`skills.list`,r)}},[i,y?.name,y?.source]),(0,p.useEffect)(()=>{D&&(O(!1),A(``),P(null))},[y?.name]);let Q=(0,p.useCallback)(e=>Ce.find(t=>t.name.toLowerCase()===e.toLowerCase()),[Ce]),Te=(0,p.useCallback)(e=>{let t=Q(e);if(t){Y.current=!1;let e=b.slice(0,x+1);e.push(t),v({...J.current,selectedSkill:t,navHistory:e,historyIndex:e.length-1}),O(!1),A(``),W(null)}},[Q,b,x,v]),Ee=(0,p.useCallback)(()=>{if(x<=0)return;Y.current=!0;let e=x-1,t=b[e];v({...J.current,selectedSkill:t,historyIndex:e}),O(!1),A(``),W(null)},[x,b,v]),De=(0,p.useCallback)(()=>{if(x>=b.length-1)return;Y.current=!0;let e=x+1,t=b[e];v({...J.current,selectedSkill:t,historyIndex:e}),O(!1),A(``),W(null)},[x,b,v]),$=(0,p.useCallback)(()=>{ge(`chat`)},[]),Oe=(0,p.useCallback)(()=>{S&&(A(S.body),V.current=S.body,B(!1),P(null),O(!0),I(!1))},[S]),ke=(0,p.useCallback)(()=>{O(!1),A(``),P(null),I(!1),B(!1),y&&localStorage.removeItem(`skills_draft_${y.name}`)},[y]),Ae=(0,p.useCallback)(()=>{!y||!S||(B(!1),A(S.body),V.current=S.body,y&&localStorage.removeItem(`skills_draft_${y.name}`))},[y,S]),je=(0,p.useCallback)(()=>{if(!i||!y||!k.trim())return;M(!0),P(null);let e=t=>{let n=t;M(!1),n.payload.success?(V.current=``,localStorage.removeItem(`skills_draft_${y.name}`),B(!1),O(!1),i.send({type:`skills.content`,payload:{name:y.name,source:y.source}}),i.send({type:`skills.list`})):P(n.payload.error??l.t(`activity:skillDetail.saveFailed`)),i.off(`skills.edited`,e)};i.on(`skills.edited`,e),i.editSkill(y.name,k)},[i,y,k]),Me=(0,p.useCallback)(()=>{!i||!y||(ye(!0),W(null),i.checkForUpdates(y.name,y.source===`user`))},[i,y]),Ne=(0,p.useCallback)(()=>{y?.sourceUrl&&navigator.clipboard.writeText(y.sourceUrl).then(()=>{xe(!0),setTimeout(()=>xe(!1),2e3)})},[y]),Pe=(0,p.useCallback)(()=>{if(!S?.body)return;let e=new Blob([S.body],{type:`text/markdown`}),t=URL.createObjectURL(e),n=document.createElement(`a`);n.href=t,n.download=`${S.name.replace(/\//g,`_`)}-SKILL.md`,document.body.appendChild(n),n.click(),document.body.removeChild(n),URL.revokeObjectURL(t)},[S]),Fe=(0,p.useCallback)(async e=>{if(!i||!e)return;Se(!0);let t=e=>{let n=e;Se(!1),n.payload.success?(K(null),i.send({type:`skills.list`}),$()):P(n.payload.error??l.t(`activity:skillDetail.uninstallFailed`)),i.off(`skills.uninstalled`,t)};i.on(`skills.uninstalled`,t),i.uninstallSkill(e.name,e.source===`user`)},[i,$]);return y?(0,m.jsxs)(`div`,{className:d(`flex h-full min-h-0 min-w-0 flex-col gap-3 overflow-hidden bg-[hsl(var(--surface-2)/0.45)] p-3`,e),children:[(0,m.jsxs)(`div`,{className:`shrink-0 rounded-xl border border-border/70 bg-card/75 p-4 shadow-sm`,children:[(0,m.jsxs)(`div`,{className:`flex flex-col gap-3 lg:flex-row lg:items-start lg:justify-between`,children:[(0,m.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-2`,children:[(0,m.jsx)(`span`,{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10 text-primary`,children:(0,m.jsx)(me,{className:`h-4 w-4`})}),(0,m.jsx)(`h1`,{className:`min-w-0 truncate text-base font-semibold`,children:y.name}),y.version&&(0,m.jsxs)(`span`,{className:`text-xs text-muted-foreground`,children:[`v`,y.version]}),(0,m.jsx)(_e,{source:y.source})]}),(0,m.jsx)(`p`,{className:`text-sm text-muted-foreground mt-1 line-clamp-2`,children:y.description||y.trigger}),y.sourceUrl&&(0,m.jsxs)(`div`,{className:`mt-2 flex min-w-0 items-center gap-1`,children:[(0,m.jsxs)(`a`,{href:`https://${y.sourceUrl.replace(`github:`,``)}`,target:`_blank`,rel:`noopener noreferrer`,className:`flex min-w-0 items-center gap-1 text-xs text-muted-foreground transition-colors hover:text-foreground`,title:n(`activity:skillDetail.openSourceRepo`),children:[(0,m.jsx)(le,{className:`h-3 w-3 shrink-0`}),(0,m.jsx)(`span`,{className:`truncate font-mono`,children:y.sourceUrl})]}),(0,m.jsx)(`button`,{type:`button`,onClick:Ne,className:`flex shrink-0 items-center text-muted-foreground transition-colors hover:text-foreground`,title:n(`activity:skillDetail.copySourceUrl`),children:be?(0,m.jsx)(se,{className:`h-3 w-3 text-[hsl(var(--success))]`}):(0,m.jsx)(ce,{className:`h-3 w-3`})})]}),y.scope.length>0&&(0,m.jsx)(`div`,{className:`flex flex-wrap gap-1 mt-2`,children:y.scope.map(e=>(0,m.jsx)(`span`,{className:`px-1.5 py-0.5 text-[10px] rounded bg-muted text-muted-foreground`,children:e},e))}),U&&(0,m.jsxs)(`div`,{className:`mt-2 text-xs space-y-1`,children:[U.updated.length>0&&(0,m.jsx)(`div`,{className:`text-[hsl(var(--success))]`,children:n(`activity:skillDetail.updatedLabel`,{list:U.updated.map(e=>`${e.name} (${e.oldRef} → ${e.newRef})`).join(`, `)})}),U.unchanged.length>0&&(0,m.jsx)(`div`,{className:`text-muted-foreground`,children:n(`activity:skillDetail.upToDateLabel`,{list:U.unchanged.join(`, `)})}),U.errors.length>0&&(0,m.jsx)(`div`,{className:`text-destructive`,children:n(`activity:skillDetail.errorsLabel`,{list:U.errors.map(e=>`${e.name?`${e.name}: `:``}${e.error}`).join(`; `)})})]})]}),(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-1 lg:ml-auto lg:shrink-0 lg:justify-end`,children:[h(y.source)&&y.sourceUrl&&(0,m.jsx)(`button`,{type:`button`,onClick:Me,disabled:H,className:`flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground disabled:opacity-50`,title:n(`activity:skillDetail.checkUpdatesTitle`),children:H?(0,m.jsx)(a,{className:`h-3.5 w-3.5 animate-spin`}):(0,m.jsx)(te,{className:`h-3.5 w-3.5`})}),y.source!==`bundled`&&!D&&(0,m.jsx)(`button`,{type:`button`,onClick:Pe,className:`flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground`,title:n(`activity:skillDetail.exportTitle`),children:(0,m.jsx)(de,{className:`h-3.5 w-3.5`})}),h(y.source)&&!D&&(0,m.jsx)(`button`,{type:`button`,onClick:Oe,className:`flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-accent hover:text-foreground`,title:n(`activity:skillDetail.editTitle`),children:(0,m.jsx)(ie,{className:`h-3.5 w-3.5`})}),h(y.source)&&(0,m.jsx)(`button`,{type:`button`,onClick:()=>K(y),className:`flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-destructive/10 hover:text-destructive`,title:n(`activity:skillDetail.uninstallTitle`),children:(0,m.jsx)(o,{className:`h-3.5 w-3.5`})}),(0,m.jsx)(`button`,{type:`button`,onClick:$,className:`flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground hover:bg-accent hover:text-foreground`,title:n(`activity:skillDetail.closeTitle`),children:(0,m.jsx)(ae,{className:`h-4 w-4`})})]})]}),b.length>1&&(0,m.jsxs)(`div`,{className:`mt-3 flex min-w-0 items-center gap-1 rounded-lg border border-border/60 bg-muted/35 px-2 py-1`,children:[(0,m.jsx)(`button`,{type:`button`,onClick:Ee,disabled:x<=0,className:d(`rounded p-1 transition-colors`,x<=0?`text-muted-foreground/40 cursor-not-allowed`:`hover:bg-accent text-muted-foreground cursor-pointer`),title:n(`activity:skillDetail.backTitle`),children:(0,m.jsx)(fe,{className:`h-4 w-4`})}),(0,m.jsx)(`button`,{type:`button`,onClick:De,disabled:x>=b.length-1,className:d(`rounded p-1 transition-colors`,x>=b.length-1?`text-muted-foreground/40 cursor-not-allowed`:`hover:bg-accent text-muted-foreground cursor-pointer`),title:n(`activity:skillDetail.forwardTitle`),children:(0,m.jsx)(c,{className:`h-4 w-4`})}),(0,m.jsx)(`div`,{className:`flex items-center gap-0.5 overflow-x-auto text-xs`,children:b.map((e,t)=>(0,m.jsxs)(`span`,{className:`flex items-center shrink-0`,children:[t>0&&(0,m.jsx)(c,{className:`h-3 w-3 text-muted-foreground/40 mx-0.5 shrink-0`}),(0,m.jsx)(`button`,{type:`button`,onClick:()=>{t<x&&(Y.current=!0,v({...J.current,selectedSkill:e,historyIndex:t}),O(!1),A(``),W(null))},className:d(`hover:text-primary cursor-pointer transition-colors`,t===x?`text-primary font-medium`:`text-muted-foreground`),children:e.name})]},e.name+t))})]})]}),S&&(S.relatedFiles.length>0||S.references.length>0)&&(0,m.jsxs)(`div`,{className:`shrink-0 space-y-2 rounded-xl border border-border/70 bg-card/70 px-4 py-3 shadow-sm`,children:[S.relatedFiles.length>0&&(0,m.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-1 text-[10px] text-muted-foreground`,children:[(0,m.jsx)(ee,{className:`h-3 w-3`}),(0,m.jsx)(`span`,{className:`font-medium uppercase tracking-wide`,children:n(`activity:skillDetail.relatedFiles`)})]}),S.relatedFiles.map(e=>{let t=g(e);return t&&Q(t)?(0,m.jsxs)(`button`,{type:`button`,onClick:()=>Te(t),className:`inline-flex min-w-0 items-center gap-1 rounded-md border border-border/70 bg-background/60 px-1.5 py-0.5 text-[10px] transition-colors hover:border-primary/40 hover:text-primary`,title:n(`activity:skillDetail.goToSkillTitle`,{name:t}),children:[(0,m.jsx)(re,{className:`h-2.5 w-2.5`}),e]},e):(0,m.jsx)(`span`,{className:`rounded-md border border-border/70 bg-background/60 px-1.5 py-0.5 text-[10px] text-muted-foreground`,children:e},e)})]}),S.references.length>0&&(0,m.jsxs)(`div`,{className:`flex items-center gap-2 flex-wrap`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-1 text-[10px] text-muted-foreground`,children:[(0,m.jsx)(ne,{className:`h-3 w-3`}),(0,m.jsx)(`span`,{className:`font-medium uppercase tracking-wide`,children:n(`activity:skillDetail.references`)})]}),S.references.map(e=>{let t=g(e)??e.replace(/\.md$/,``);return Q(t)?(0,m.jsxs)(`button`,{type:`button`,onClick:()=>Te(t),className:`inline-flex min-w-0 items-center gap-1 rounded-md border border-primary/20 bg-primary/5 px-1.5 py-0.5 text-[10px] text-primary transition-colors hover:border-primary/30 hover:bg-primary/10`,title:n(`activity:skillDetail.goToSkillTitle`,{name:t}),children:[(0,m.jsx)(re,{className:`h-2.5 w-2.5`}),t]},e):(0,m.jsx)(`span`,{className:`rounded-md bg-muted px-1.5 py-0.5 text-[10px] text-muted-foreground`,children:t},e)})]})]}),(0,m.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-hidden rounded-xl border border-border/70 bg-card/70 shadow-sm`,children:ve?(0,m.jsxs)(`div`,{className:`flex h-full min-h-[16rem] flex-col items-center justify-center p-8 text-center text-muted-foreground`,children:[(0,m.jsx)(a,{className:`mx-auto mb-2 h-6 w-6 animate-spin text-primary`}),(0,m.jsx)(`p`,{children:n(`activity:skillDetail.loadingContent`)})]}):D?(0,m.jsxs)(`div`,{className:`flex h-full min-h-0 min-w-0 flex-col`,children:[(0,m.jsxs)(`div`,{className:`flex shrink-0 flex-col gap-2 border-b border-border/70 bg-muted/30 px-4 py-2 sm:flex-row sm:items-center sm:justify-between`,children:[(0,m.jsxs)(`div`,{className:`flex min-w-0 flex-wrap items-center gap-x-3 gap-y-1`,children:[(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground`,children:n(`activity:skillDetail.editingLabel`,{name:y.name})}),(0,m.jsx)(`span`,{className:`text-xs text-muted-foreground tabular-nums`,children:n(`activity:skillDetail.editStats`,{lines:X.lines,words:X.words,chars:X.chars})}),Z&&(0,m.jsx)(`span`,{className:`text-xs tabular-nums ${Z.level===`critical`?`font-medium text-destructive`:`text-[hsl(var(--warning))]`}`,children:n(`activity:skillDetail.charsWarningFmt`,{used:(Z.used/(1024*1024)).toFixed(1),limit:(Z.limit/(1024*1024)).toFixed(0)})}),L&&(0,m.jsx)(`span`,{className:`text-xs text-[hsl(var(--success))] animate-pulse`,children:n(`activity:skillDetail.draftSaved`)}),z&&(0,m.jsx)(`span`,{className:`animate-pulse text-xs text-[hsl(var(--warning))]`,children:n(`activity:skillDetail.draftRestored`)})]}),(0,m.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[N&&(0,m.jsx)(`span`,{className:`text-xs text-destructive`,children:N}),z&&(0,m.jsx)(`button`,{type:`button`,onClick:Ae,className:`rounded-md border border-[hsl(var(--warning)/0.35)] px-2 py-1 text-[10px] text-[hsl(var(--warning))] transition-colors hover:bg-[hsl(var(--warning)/0.1)]`,children:n(`activity:skillDetail.discardDraft`)}),(0,m.jsx)(`button`,{type:`button`,onClick:ke,className:`rounded-md border border-border/70 px-2 py-1 text-xs transition-colors hover:bg-accent`,children:n(`common:action.cancel`)}),(0,m.jsx)(`button`,{type:`button`,onClick:()=>I(e=>!e),title:n(F?`activity:skillDetail.hidePreviewTitle`:`activity:skillDetail.splitViewTitle`),className:`rounded-md border px-2 py-1 text-xs transition-colors ${F?`border-primary/40 bg-primary/10 text-primary`:`border-border/70 text-muted-foreground hover:bg-accent`}`,children:(0,m.jsx)(oe,{className:`h-3 w-3 inline`})}),(0,m.jsx)(`button`,{type:`button`,onClick:je,disabled:j||!k.trim(),className:`rounded-md bg-primary px-3 py-1 text-xs text-primary-foreground shadow-sm shadow-primary/15 transition-colors hover:bg-primary/90 disabled:opacity-50`,children:j?(0,m.jsx)(a,{className:`h-3 w-3 animate-spin inline`}):n(`common:action.save`)})]})]}),F?(0,m.jsxs)(`div`,{className:`flex flex-1 min-h-0 gap-0.5`,children:[(0,m.jsx)(`div`,{className:`flex-1 min-w-0 flex flex-col min-h-0`,children:(0,m.jsx)(ue,{value:k,onChange:e=>A(e.target.value??``),language:`markdown`,className:`flex-1`,style:{fontSize:12,backgroundColor:`transparent`,minHeight:0},placeholder:n(`activity:skillDetail.contentPlaceholder`)})}),(0,m.jsx)(`div`,{className:`w-px bg-border flex-shrink-0`}),(0,m.jsx)(`div`,{className:`min-h-0 min-w-0 flex-1 overflow-y-auto bg-background/45 p-4 prose prose-sm dark:prose-invert max-w-none`,children:(0,m.jsx)(t,{rehypePlugins:[r],components:f,children:k})})]}):(0,m.jsx)(ue,{value:k,onChange:e=>A(e.target.value??``),language:`markdown`,className:`flex-1`,style:{fontSize:12,backgroundColor:`transparent`,minHeight:0},placeholder:n(`activity:skillDetail.contentPlaceholder`)})]}):S?(0,m.jsx)(`div`,{className:`h-full min-h-0 overflow-y-auto p-5 sm:p-6 prose prose-sm dark:prose-invert max-w-none`,children:(0,m.jsx)(t,{rehypePlugins:[r],components:f,children:S.body})}):T?(0,m.jsxs)(`div`,{className:`flex h-full min-h-[16rem] flex-col items-center justify-center p-8 text-center`,children:[(0,m.jsx)(`p`,{className:`text-destructive mb-2`,children:n(`activity:skillDetail.loadFailed`)}),(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:T}),(0,m.jsx)(`button`,{type:`button`,onClick:()=>{i&&y&&(w(!0),E(null),i.send({type:`skills.content`,payload:{name:y.name,source:y.source}}))},className:`mt-4 rounded-md border border-border/70 px-3 py-1.5 text-xs transition-colors hover:bg-accent`,children:n(`common:action.retry`)})]}):(0,m.jsx)(`div`,{className:`flex h-full min-h-[16rem] items-center justify-center p-8 text-center text-muted-foreground`,children:n(`activity:skillDetail.noContent`)})}),G&&(0,m.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center bg-black/45 p-4 backdrop-blur-sm`,onClick:e=>{e.target===e.currentTarget&&K(null)},children:(0,m.jsxs)(`div`,{className:`flex max-h-[calc(100dvh-2rem)] w-[380px] max-w-[90vw] flex-col overflow-hidden rounded-xl border border-border/70 bg-card shadow-2xl`,children:[(0,m.jsxs)(`div`,{className:`flex shrink-0 items-center justify-between border-b border-border/70 p-4`,children:[(0,m.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,m.jsx)(o,{className:`h-4 w-4 text-destructive`}),(0,m.jsx)(`span`,{className:`font-semibold text-sm`,children:n(`activity:skillDetail.uninstallSkillHeading`)})]}),(0,m.jsx)(`button`,{type:`button`,onClick:()=>K(null),className:`rounded p-1 text-muted-foreground hover:bg-accent hover:text-foreground`,children:(0,m.jsx)(ae,{className:`h-4 w-4`})})]}),(0,m.jsxs)(`div`,{className:`min-h-0 flex-1 space-y-2 overflow-y-auto p-4`,children:[(0,m.jsx)(`p`,{className:`text-sm`,children:n(`activity:skillDetail.uninstallConfirm`,{name:G.name})}),(0,m.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n(`activity:skillDetail.uninstallRemovePath`,{path:G.source===`user`?`~/.wrongstack/skills`:`.wrongstack/skills`})})]}),(0,m.jsxs)(`div`,{className:`flex shrink-0 justify-end gap-2 border-t border-border/70 bg-muted/20 p-4`,children:[(0,m.jsx)(`button`,{type:`button`,onClick:()=>K(null),disabled:q,className:`rounded-md border border-border/70 px-3 py-1.5 text-xs transition-colors hover:bg-accent disabled:opacity-50`,children:n(`common:action.cancel`)}),(0,m.jsxs)(`button`,{type:`button`,onClick:()=>Fe(G),disabled:q,className:`flex items-center gap-1.5 rounded-md bg-destructive px-3 py-1.5 text-xs text-destructive-foreground transition-colors hover:bg-destructive/90 disabled:cursor-not-allowed disabled:opacity-50`,children:[q&&(0,m.jsx)(a,{className:`h-3 w-3 animate-spin`}),n(`activity:skillDetail.uninstallAction`)]})]})]})})]}):(0,m.jsx)(`div`,{className:d(`flex h-full min-h-0 flex-1 items-center justify-center bg-[hsl(var(--surface-2)/0.45)] p-4 text-muted-foreground`,e),children:(0,m.jsxs)(`div`,{className:`ws-surface flex max-w-md flex-col items-center gap-3 rounded-xl p-6 text-center`,children:[(0,m.jsx)(`span`,{className:`flex h-12 w-12 items-center justify-center rounded-xl bg-primary/10 text-primary`,children:(0,m.jsx)(pe,{className:`h-6 w-6`})}),(0,m.jsxs)(`div`,{children:[(0,m.jsx)(`p`,{className:`text-base font-medium text-foreground`,children:n(`activity:skillDetail.noSkillSelected`)}),(0,m.jsx)(`p`,{className:`mt-1 text-sm`,children:n(`activity:skillDetail.selectSkillHint`)})]}),(0,m.jsx)(`button`,{type:`button`,onClick:$,className:`mt-1 rounded-md border border-border/70 bg-card/70 px-4 py-2 text-sm text-foreground shadow-sm transition-colors hover:bg-accent`,children:n(`activity:skillDetail.goToChat`)})]})})}export{_ as SkillDetailView};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e}from"./rolldown-runtime-QTnfLwEv.js";import{m as t,p as n}from"./markdown-D0X23O-i.js";import{Er as r,It as i,Kn as a,Kt as o,Wr as s,Z as c,ai as l,en as u,fi as d,fr as f,gr as p,hn as m,ni as h,ur as g,xn as _,yr as v}from"./vendor-OWPFcqeg.js";import"./i18n-DD-_8vnT.js";import{t as y}from"./utils-B-rhScDN.js";import{C as b,D as x,p as S,w as C}from"./index-0LBBDKsK.js";var w=e(t(),1),T=n(),E={completed:{icon:(0,T.jsx)(l,{className:`h-3.5 w-3.5`}),label:`Completed`,text:`text-[hsl(var(--success))]`,ring:`border-[hsl(var(--success)/0.35)]`},in_progress:{icon:(0,T.jsx)(s,{className:`h-3.5 w-3.5 animate-spin`}),label:`Running`,text:`text-primary`,ring:`border-primary/45`},queued:{icon:(0,T.jsx)(g,{className:`h-3.5 w-3.5`}),label:`Queued`,text:`text-[hsl(var(--warning))]`,ring:`border-[hsl(var(--warning)/0.35)]`},blocked:{icon:(0,T.jsx)(m,{className:`h-3.5 w-3.5`}),label:`Blocked`,text:`text-destructive`,ring:`border-destructive/30`},pending:{icon:(0,T.jsx)(f,{className:`h-3.5 w-3.5`}),label:`Pending`,text:`text-muted-foreground`,ring:`border-border/70`},review:{icon:(0,T.jsx)(i,{className:`h-3.5 w-3.5`}),label:`Review`,text:`text-primary`,ring:`border-primary/35`},failed:{icon:(0,T.jsx)(h,{className:`h-3.5 w-3.5`}),label:`Failed`,text:`text-destructive`,ring:`border-destructive/45`},cancelled:{icon:(0,T.jsx)(r,{className:`h-3.5 w-3.5`}),label:`Cancelled`,text:`text-muted-foreground`,ring:`border-border/70`}},D=[`completed`,`in_progress`,`queued`,`blocked`,`pending`,`failed`],O={critical:{label:`Crit`,cls:`bg-destructive/10 text-destructive`},high:{label:`High`,cls:`bg-destructive/10 text-destructive`},medium:{label:`Med`,cls:`bg-[hsl(var(--warning)/0.12)] text-[hsl(var(--warning))]`},low:{label:`Low`,cls:`bg-[hsl(var(--success)/0.12)] text-[hsl(var(--success))]`}};function k({columns:e,onTaskClick:t}){let{t:n}=d();return e.length===0?(0,T.jsx)(`div`,{className:`flex h-40 items-center justify-center text-sm text-muted-foreground`,children:n(`activity:board.emptySpec`)}):(0,T.jsxs)(`div`,{className:`rounded-xl border border-border/70 bg-card/75 p-4 shadow-sm`,children:[(0,T.jsx)(`h3`,{className:`mb-3 text-sm font-semibold text-foreground`,children:n(`activity:board.depGraphHeading`)}),(0,T.jsx)(`div`,{className:`mb-4 flex flex-wrap items-center gap-x-4 gap-y-1 text-xs`,children:D.map(e=>(0,T.jsxs)(`span`,{className:y(`inline-flex items-center gap-1.5`,E[e].text),children:[E[e].icon,(0,T.jsx)(`span`,{className:`text-muted-foreground`,children:n(`activity:board.status.${e}`)})]},e))}),(0,T.jsx)(`div`,{className:`flex gap-3 overflow-x-auto pb-2`,children:e.map((n,r)=>(0,T.jsxs)(`div`,{className:`flex items-start gap-3`,children:[(0,T.jsxs)(`div`,{className:`w-60 shrink-0`,children:[(0,T.jsx)(`div`,{className:`mb-2 border-b border-border/60 pb-1 text-center text-xs font-medium uppercase text-muted-foreground`,children:n.label}),(0,T.jsx)(`div`,{className:`space-y-2`,children:n.tasks.map(e=>(0,T.jsx)(A,{task:e,onClick:t},e.id))})]}),r<e.length-1&&(0,T.jsx)(`div`,{className:`flex h-full items-center pt-8 text-muted-foreground/60`,children:(0,T.jsx)(p,{className:`h-5 w-5`})})]},n.label))})]})}function A({task:e,onClick:t}){let n=E[e.displayStatus],r=O[e.priority],{t:i}=d();return(0,T.jsxs)(`button`,{type:`button`,onClick:()=>t?.(e.id),className:y(`w-full rounded-lg border bg-background/55 p-2.5 text-left shadow-sm transition-colors hover:border-primary/35 hover:bg-accent/35`,n.ring),children:[(0,T.jsxs)(`div`,{className:`flex items-center justify-between gap-2`,children:[(0,T.jsxs)(`span`,{className:y(`inline-flex items-center gap-1.5 text-xs font-medium`,n.text),children:[n.icon,(0,T.jsx)(`span`,{className:`font-mono text-foreground`,children:e.shortId})]}),(0,T.jsx)(`span`,{className:y(`rounded px-1.5 py-0.5 text-[10px] font-medium`,r.cls),children:r.label})]}),(0,T.jsx)(`p`,{className:`mt-1.5 text-xs text-foreground`,children:e.title}),e.deps.length>0&&(0,T.jsxs)(`p`,{className:`mt-1 font-mono text-[10px] text-muted-foreground`,children:[`← `,e.deps.join(`, `)]}),e.agentName&&(0,T.jsxs)(`div`,{className:y(`mt-1.5 inline-flex items-center gap-1 rounded-full px-1.5 py-0.5 text-[10px]`,e.displayStatus===`in_progress`?`bg-primary/10 text-primary`:`bg-muted text-muted-foreground`),title:e.worktreeBranch?i(`activity:board.worktreePrefix`,{branch:e.worktreeBranch}):void 0,children:[e.displayStatus===`in_progress`&&(0,T.jsx)(s,{className:`h-3 w-3 animate-spin`}),(0,T.jsx)(`span`,{children:e.agentName})]})]})}function j(e){return e.columns.map(e=>({name:e.label,description:``,priority:`medium`,estimateHours:e.tasks.length,parallelizable:!1,taskTemplates:e.tasks.map(e=>({title:e.title,description:e.description,type:e.type,priority:e.priority,estimateHours:1}))}))}function M({onClose:e}){let{client:t}=b(),{t:n}=d(),r=x(e=>e.specs),i=x(e=>e.detail),s=x(e=>e.expandedSpecId),l=x(e=>e.setExpanded),[f,m]=(0,w.useState)(`graph`),h=(0,w.useCallback)(e=>{!i||i.specId!==e.id||(t?.send?.({type:`autophase.start`,payload:{title:e.title,phases:j(i),autonomous:!0}}),C(`autophase`))},[i,t]);(0,w.useEffect)(()=>{t?.send?.({type:`specs.list`})},[t]);let g=(0,w.useCallback)(e=>{s===e.id?l(null):(l(e.id),t?.send?.({type:`specs.get`,payload:{specId:e.id}}))},[s,l,t]),E=i?.columns.flatMap(e=>e.tasks)??[],D={done:E.filter(e=>e.status===`completed`).length,running:E.filter(e=>e.status===`in_progress`).length,pending:E.filter(e=>e.status===`pending`||e.displayStatus===`queued`).length};return(0,T.jsxs)(`div`,{className:`flex h-full min-h-0 min-w-0 flex-col bg-background`,children:[(0,T.jsxs)(`header`,{className:`flex shrink-0 items-center justify-between border-b bg-card px-4 py-2`,children:[(0,T.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,T.jsx)(a,{className:`h-5 w-5 text-warning`}),(0,T.jsxs)(`div`,{children:[(0,T.jsx)(`h1`,{className:`text-lg font-semibold`,children:n(`activity:specs.heading`)}),(0,T.jsx)(`p`,{className:`text-xs text-muted-foreground`,children:n(`activity:specs.subtitle`)})]})]}),(0,T.jsx)(S,{variant:`ghost`,size:`icon`,onClick:e,children:(0,T.jsx)(c,{className:`h-4 w-4`})})]}),(0,T.jsx)(`div`,{className:`min-h-0 flex-1 overflow-y-auto p-4`,children:r.length===0?(0,T.jsx)(`div`,{className:`flex h-40 items-center justify-center text-sm text-muted-foreground`,children:n(`activity:specs.empty`,{command:`/sdd`})}):(0,T.jsx)(`div`,{className:`space-y-3`,children:r.map(e=>{let t=s===e.id,r=e.total>0?Math.round(e.completed/e.total*100):0;return(0,T.jsxs)(`div`,{className:`rounded-lg border border-border bg-card/60`,children:[(0,T.jsxs)(`button`,{type:`button`,onClick:()=>g(e),className:`flex w-full items-start gap-3 p-4 text-left`,children:[(0,T.jsx)(`span`,{className:`mt-1 text-muted-foreground`,children:t?(0,T.jsx)(v,{className:`h-4 w-4`}):(0,T.jsx)(p,{className:`h-4 w-4`})}),(0,T.jsx)(a,{className:`mt-0.5 h-4 w-4 text-muted-foreground`}),(0,T.jsxs)(`div`,{className:`min-w-0 flex-1`,children:[(0,T.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,T.jsx)(`span`,{className:`font-mono text-xs text-muted-foreground`,children:e.displayId}),(0,T.jsx)(`span`,{className:`rounded bg-muted px-1.5 py-0.5 text-[10px] capitalize text-muted-foreground`,children:e.status})]}),(0,T.jsx)(`h2`,{className:`mt-1 text-base font-semibold`,children:e.title}),(0,T.jsxs)(`div`,{className:`mt-2 flex items-center gap-2`,children:[(0,T.jsx)(`div`,{className:`h-2 flex-1 overflow-hidden rounded-full bg-muted`,children:(0,T.jsx)(`div`,{className:`h-full rounded-full bg-success transition-all`,style:{width:`${r}%`}})}),(0,T.jsxs)(`span`,{className:`shrink-0 font-mono text-xs text-muted-foreground`,children:[e.completed,`/`,e.total]})]})]})]}),t&&(0,T.jsxs)(`div`,{className:`border-t border-border p-4`,children:[(0,T.jsxs)(`div`,{className:`mb-3 flex items-center justify-between`,children:[(0,T.jsxs)(`div`,{className:`text-sm font-medium`,children:[n(`activity:specs.tasks`,{count:i?.total??e.total}),i&&(0,T.jsxs)(`span`,{className:`ml-3 text-xs font-normal text-muted-foreground`,children:[(0,T.jsx)(`span`,{className:`text-success`,children:n(`activity:specs.doneCount`,{count:D.done})}),` `,(0,T.jsx)(`span`,{className:`text-primary`,children:n(`activity:specs.runningCount`,{count:D.running})}),` `,(0,T.jsx)(`span`,{children:n(`activity:specs.pendingCount`,{count:D.pending})})]})]}),(0,T.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,T.jsxs)(`button`,{type:`button`,disabled:!i||i.specId!==e.id,onClick:()=>h(e),title:n(`activity:specs.runTitle`),className:`inline-flex items-center gap-1 rounded-md bg-warning/15 px-2.5 py-1 text-xs font-medium text-warning transition-colors hover:bg-warning/25 disabled:opacity-40`,children:[(0,T.jsx)(o,{className:`h-3.5 w-3.5`}),` `,n(`activity:specs.run`)]}),(0,T.jsxs)(`div`,{className:`flex items-center gap-1 rounded-md border border-border p-0.5`,children:[(0,T.jsxs)(`button`,{type:`button`,onClick:()=>m(`list`),className:y(`inline-flex items-center gap-1 rounded px-2 py-1 text-xs`,f===`list`?`bg-primary/15 text-primary`:`text-muted-foreground`),children:[(0,T.jsx)(_,{className:`h-3.5 w-3.5`}),` `,n(`activity:specs.list`)]}),(0,T.jsxs)(`button`,{type:`button`,onClick:()=>m(`graph`),className:y(`inline-flex items-center gap-1 rounded px-2 py-1 text-xs`,f===`graph`?`bg-primary/15 text-primary`:`text-muted-foreground`),children:[(0,T.jsx)(u,{className:`h-3.5 w-3.5`}),` `,n(`activity:specs.graph`)]})]})]})]}),!i||i.specId!==e.id?(0,T.jsx)(`div`,{className:`flex h-24 items-center justify-center text-sm text-muted-foreground`,children:n(`activity:specs.loadingTasks`)}):f===`graph`?(0,T.jsx)(k,{columns:i.columns}):(0,T.jsx)(`div`,{className:`space-y-1.5`,children:E.map(e=>(0,T.jsxs)(`div`,{className:`flex items-center gap-3 rounded-md border border-border bg-card px-3 py-2`,children:[(0,T.jsx)(`span`,{className:`font-mono text-xs text-muted-foreground`,children:e.shortId}),(0,T.jsx)(`span`,{className:`flex-1 text-sm`,children:e.title}),(0,T.jsx)(`span`,{className:`text-xs capitalize text-muted-foreground`,children:e.displayStatus.replace(`_`,` `)})]},e.id))})]})]},e.id)})})})]})}export{M as SpecsView};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={title:`Inicie uma conversa`,subtitle:`Envie uma mensagem para começar.`},t=`Nome da sessão…`,n=`Trocar de sessão`,r=`Converse com o agente… (digite / para comandos, @ para arquivos)`,i=`Conecte ao servidor primeiro…`,a=`Digite uma mensagem de acompanhamento btw/steer/queue…`,o=`Enviar`,s=`Enviar (Enter)`,c=`Parar`,l=`Nova sessão`,u=`(vazio)`,d=`{{count}} mensagem`,f=`{{count}} mensagens`,p=`Pensando…`,m={autoFencedAs:`Auto-cercado como`,charsWord:`caracteres`,linesWord:`linhas`,pastedWord:`Colado`,fencedHintPrefix:`— blocos de código cercados renderizam melhor com`,removeFencesTitle:`Remover cercas e restaurar texto bruto`,dismissTitle:`Dispensar`,pendingAttachmentAlt:`Anexo pendente`,imageAttached:`Imagem anexada`,removeImageTitle:`Remover imagem`,referencesLabel:`Referências`,clearAll:`Limpar tudo`,stopEditTitle:`Parar o run e editar o último prompt (reusar + reescrever)`,abortTitle:`Abortar o run atual`,refineEnabledTitle:`Refinamento ativado — clique para desativar`,refineDisabledTitle:`Refinamento desativado — clique para ativar`,btwRunningTitle:`btw — enviar sem interromper o agente em execução`,btwIdleTitle:`btw — enviar (Enter)`,steerRunningTitle:`steer — interromper o agente em execução e redirecionar`,steerIdleTitle:`steer — enviar (sem alvo de interrupção em repouso)`,addQueueTitle:`adicionar fila — reter até o run atual terminar`},h={openSidebarTitle:`Abrir barra lateral (Ctrl+\\)`,renameTitle:`Clique para renomear a sessão`,untitled:`Sem título`,changeModelTitle:`Alterar provedor / modelo (Ctrl+M)`,iterationTitle:`Iteração do agente — clique para ir à atividade ao vivo`,runningProcessesTitle:`Processos em execução`,checkpointsTitle:`Pontos de verificação da sessão — retroceder`,scrollTopTitle:`Rolar para o topo (mais antigo)`,jkNavigateTitle:`j/k para navegar`,noProvider:`sem-provedor`,noModel:`sem-modelo`},g={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};export{g 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={title:`Démarrer une conversation`,subtitle:`Envoyez un message pour commencer.`},t=`Nom de session…`,n=`Changer de session`,r=`Envoyer un message à l'agent… (tapez / pour les commandes, @ pour les fichiers)`,i=`Connectez-vous d'abord au serveur…`,a=`Saisissez un suivi btw/steer/queue…`,o=`Envoyer`,s=`Envoyer (Entrée)`,c=`Arrêter`,l=`Nouvelle session`,u=`(vide)`,d=`{{count}} message`,f=`{{count}} messages`,p=`Réflexion…`,m={autoFencedAs:`Auto-clôturé en`,charsWord:`caractères`,linesWord:`lignes`,pastedWord:`Collé`,fencedHintPrefix:`— les blocs de code clôturés s'affichent mieux avec`,removeFencesTitle:`Retirer les clôtures et restaurer le texte brut`,dismissTitle:`Fermer`,pendingAttachmentAlt:`Pièce jointe en attente`,imageAttached:`Image jointe`,removeImageTitle:`Retirer l'image`,referencesLabel:`Références`,clearAll:`Tout effacer`,stopEditTitle:`Arrêter le run et éditer le dernier prompt (réutiliser + réécrire)`,abortTitle:`Abandonner le run en cours`,refineEnabledTitle:`Affinage activé — cliquer pour désactiver`,refineDisabledTitle:`Affinage désactivé — cliquer pour activer`,btwRunningTitle:`btw — envoyer sans interrompre l'agent en cours`,btwIdleTitle:`btw — envoyer (Entrée)`,steerRunningTitle:`steer — interrompre l'agent en cours et rediriger`,steerIdleTitle:`steer — envoyer (pas de cible d'interruption au repos)`,addQueueTitle:`ajouter file — attendre la fin du run en cours`},h={openSidebarTitle:`Ouvrir la barre latérale (Ctrl+\\)`,renameTitle:`Cliquer pour renommer la session`,untitled:`Sans titre`,changeModelTitle:`Changer de fournisseur / modèle (Ctrl+M)`,iterationTitle:`Itération de l'agent — cliquer pour aller à l'activité en direct`,runningProcessesTitle:`Processus en cours`,checkpointsTitle:`Points de contrôle de session — rembobiner`,scrollTopTitle:`Défiler vers le haut (le plus ancien)`,jkNavigateTitle:`j/k pour naviguer`,noProvider:`aucun-fournisseur`,noModel:`aucun-modèle`},g={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};export{g 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={title:`Inicia una conversación`,subtitle:`Envía un mensaje para empezar.`},t=`Nombre de sesión…`,n=`Cambiar de sesión`,r=`Escribe al agente… (escribe / para comandos, @ para archivos)`,i=`Conéctate al servidor primero…`,a=`Escribe un mensaje de seguimiento btw/steer/queue…`,o=`Enviar`,s=`Enviar (Enter)`,c=`Detener`,l=`Nueva sesión`,u=`(vacío)`,d=`{{count}} mensaje`,f=`{{count}} mensajes`,p=`Pensando…`,m={autoFencedAs:`Auto-cercado como`,charsWord:`caracteres`,linesWord:`líneas`,pastedWord:`Pegado`,fencedHintPrefix:`— los bloques de código cercados se ven mejor con`,removeFencesTitle:`Quitar cercados y restaurar texto sin formato`,dismissTitle:`Cerrar`,pendingAttachmentAlt:`Adjunto pendiente`,imageAttached:`Imagen adjunta`,removeImageTitle:`Quitar imagen`,referencesLabel:`Referencias`,clearAll:`Borrar todo`,stopEditTitle:`Detener el run y editar el último prompt (reutilizar + reescribir)`,abortTitle:`Abortar el run actual`,refineEnabledTitle:`Refinamiento activado — clic para desactivar`,refineDisabledTitle:`Refinamiento desactivado — clic para activar`,btwRunningTitle:`btw — enviar sin interrumpir el agente en ejecución`,btwIdleTitle:`btw — enviar (Enter)`,steerRunningTitle:`steer — interrumpir el agente en ejecución y redirigir`,steerIdleTitle:`steer — enviar (sin objetivo de interrupción en reposo)`,addQueueTitle:`añadir cola — retener hasta que termine el run actual`},h={openSidebarTitle:`Abrir barra lateral (Ctrl+\\)`,renameTitle:`Clic para renombrar la sesión`,untitled:`Sin título`,changeModelTitle:`Cambiar proveedor / modelo (Ctrl+M)`,iterationTitle:`Iteración del agente — clic para ir a la actividad en vivo`,runningProcessesTitle:`Procesos en ejecución`,checkpointsTitle:`Puntos de control de sesión — rebobinar`,scrollTopTitle:`Desplazar arriba (más antiguo)`,jkNavigateTitle:`j/k para navegar`,noProvider:`sin-proveedor`,noModel:`sin-modelo`},g={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};export{g 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-QTnfLwEv.js";var t=e({default:()=>v,empty:()=>f,emptyState:()=>n,header:()=>_,input:()=>g,inputPlaceholder:()=>a,inputPlaceholderConnecting:()=>o,inputPlaceholderLoading:()=>s,messageCount_one:()=>p,messageCount_other:()=>m,newSession:()=>d,send:()=>c,sendTitle:()=>l,sessionNamePlaceholder:()=>r,stop:()=>u,switchSession:()=>i,thinking:()=>h}),n={title:`Start a conversation`,subtitle:`Send a message to begin.`},r=`Session name…`,i=`Switch session`,a=`Message the agent… (type / for commands, @ for files)`,o=`Connect to server first…`,s=`Type a btw/steer/queue follow-up…`,c=`Send`,l=`Send (Enter)`,u=`Stop`,d=`New session`,f=`(empty)`,p=`{{count}} message`,m=`{{count}} messages`,h=`Thinking…`,g={autoFencedAs:`Auto-fenced as`,charsWord:`chars`,linesWord:`lines`,pastedWord:`Pasted`,fencedHintPrefix:`— fenced code blocks render best with`,removeFencesTitle:`Remove fences and restore raw text`,dismissTitle:`Dismiss`,pendingAttachmentAlt:`Pending attachment`,imageAttached:`Image attached`,removeImageTitle:`Remove image`,referencesLabel:`References`,clearAll:`Clear all`,stopEditTitle:`Stop run and edit the last prompt (reuse + rewrite)`,abortTitle:`Abort the current run`,refineEnabledTitle:`Refining enabled — click to disable`,refineDisabledTitle:`Refining disabled — click to enable`,btwRunningTitle:`btw — send without interrupting the running agent`,btwIdleTitle:`btw — send (Enter)`,steerRunningTitle:`steer — interrupt the running agent and redirect`,steerIdleTitle:`steer — send (no interrupt target while idle)`,addQueueTitle:`add queue — hold until the current run completes`},_={openSidebarTitle:`Open sidebar (Ctrl+\\)`,renameTitle:`Click to rename session`,untitled:`Untitled`,changeModelTitle:`Change provider / model (Ctrl+M)`,iterationTitle:`Agent iteration — click to jump to live activity`,runningProcessesTitle:`Running processes`,checkpointsTitle:`Session checkpoints — rewind`,scrollTopTitle:`Scroll to top (oldest)`,jkNavigateTitle:`j/k to navigate`,noProvider:`no-provider`,noModel:`no-model`},v={emptyState:n,sessionNamePlaceholder:r,switchSession:i,inputPlaceholder:a,inputPlaceholderConnecting:o,inputPlaceholderLoading:s,send:c,sendTitle:l,stop:u,newSession:d,empty:f,messageCount_one:p,messageCount_other:m,thinking:h,input:g,header:_};export{t as n,v as t};
|
|
@@ -1 +0,0 @@
|
|
|
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`,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`,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`},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`},g={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};export{g 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={title:`Sohbet başlat`,subtitle:`Başlamak için bir mesaj gönder.`},t=`Oturum adı…`,n=`Oturumu değiştir`,r=`Vekile mesaj gönder… (komutlar için /, dosyalar için @ yazın)`,i=`Önce sunucuya bağlanın…`,a=`Bir btw/steer/queue takip mesajı yaz…`,o=`Gönder`,s=`Gönder (Enter)`,c=`Durdur`,l=`Yeni oturum`,u=`(boş)`,d=`{{count}} mesaj`,f=`{{count}} mesaj`,p=`Düşünüyor…`,m={autoFencedAs:`Otomatik çitlendi:`,charsWord:`karakter`,linesWord:`satır`,pastedWord:`Yapıştırıldı`,fencedHintPrefix:`— çitli kod blokları en iyi şununla görünür:`,removeFencesTitle:`Çitleri kaldır ve ham metni geri yükle`,dismissTitle:`Kapat`,pendingAttachmentAlt:`Bekleyen ek`,imageAttached:`Görüntü eklendi`,removeImageTitle:`Görüntüyü kaldır`,referencesLabel:`Referanslar`,clearAll:`Tümünü temizle`,stopEditTitle:`Çalışmayı durdur ve son istemi düzenle (yeniden kullan + yeniden yaz)`,abortTitle:`Mevcut çalışmayı iptal et`,refineEnabledTitle:`İyileştirme etkin — devre dışı bırakmak için tıkla`,refineDisabledTitle:`İyileştirme devre dışı — etkinleştirmek için tıkla`,btwRunningTitle:`btw — çalışan ajanı bölmeden gönder`,btwIdleTitle:`btw — gönder (Enter)`,steerRunningTitle:`steer — çalışan ajanı böl ve yeniden yönlendir`,steerIdleTitle:`steer — gönder (boştayken bölme hedefi yok)`,addQueueTitle:`kuyruğa ekle — mevcut çalışma bitene kadar bekle`},h={openSidebarTitle:`Kenar çubuğunu aç (Ctrl+\\)`,renameTitle:`Oturumu yeniden adlandırmak için tıkla`,untitled:`Başlıksız`,changeModelTitle:`Sağlayıcı / modeli değiştir (Ctrl+M)`,iterationTitle:`Ajan iterasyonu — canlı etkinliğe atlamak için tıkla`,runningProcessesTitle:`Çalışan süreçler`,checkpointsTitle:`Oturum kontrol noktaları — geri sar`,scrollTopTitle:`Başa kaydır (en eski)`,jkNavigateTitle:`gezinmek için j/k`,noProvider:`sağlayıcı-yok`,noModel:`model-yok`},g={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};export{g 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={title:`Konversation starten`,subtitle:`Sende eine Nachricht, um zu beginnen.`},t=`Sitzungsname…`,n=`Sitzung wechseln`,r=`Agent anschreiben… (/ für Befehle, @ für Dateien)`,i=`Zuerst mit Server verbinden…`,a=`Folgenachricht btw/steer/queue eingeben…`,o=`Senden`,s=`Senden (Enter)`,c=`Stopp`,l=`Neue Sitzung`,u=`(leer)`,d=`{{count}} Nachricht`,f=`{{count}} Nachrichten`,p=`Denke nach…`,m={autoFencedAs:`Auto-umzäunt als`,charsWord:`Zeichen`,linesWord:`Zeilen`,pastedWord:`Eingefügt`,fencedHintPrefix:`— eingezäunte Codeblöcke rendern am besten mit`,removeFencesTitle:`Zäune entfernen und Rohtext wiederherstellen`,dismissTitle:`Verwerfen`,pendingAttachmentAlt:`Ausstehender Anhang`,imageAttached:`Bild angehängt`,removeImageTitle:`Bild entfernen`,referencesLabel:`Referenzen`,clearAll:`Alle löschen`,stopEditTitle:`Run stoppen und letzten Prompt bearbeiten (wiederverwenden + umschreiben)`,abortTitle:`Aktuellen Run abbrechen`,refineEnabledTitle:`Verfeinerung aktiv — zum Deaktivieren klicken`,refineDisabledTitle:`Verfeinerung deaktiviert — zum Aktivieren klicken`,btwRunningTitle:`btw — senden ohne den laufenden Agenten zu unterbrechen`,btwIdleTitle:`btw — senden (Enter)`,steerRunningTitle:`steer — laufenden Agenten unterbrechen und umleiten`,steerIdleTitle:`steer — senden (kein Unterbrechungsziel im Leerlauf)`,addQueueTitle:`zur Warteschlange — halten bis der aktuelle Run endet`},h={openSidebarTitle:`Seitenleiste öffnen (Ctrl+\\)`,renameTitle:`Zum Umbenennen der Sitzung klicken`,untitled:`Unbenannt`,changeModelTitle:`Anbieter / Modell ändern (Ctrl+M)`,iterationTitle:`Agent-Iteration — klicken um zur Live-Aktivität zu springen`,runningProcessesTitle:`Laufende Prozesse`,checkpointsTitle:`Sitzungs-Checkpoints — zurückspulen`,scrollTopTitle:`Nach oben scrollen (älteste)`,jkNavigateTitle:`j/k zum Navigieren`,noProvider:`kein-anbieter`,noModel:`kein-modell`},g={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};export{g 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};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ok:`OK`,cancel:`Annulla`,save:`Salva`,saved:`Salvato`,close:`Chiudi`,yes:`Sì`,no:`No`,delete:`Elimina`,remove:`Rimuovi`,add:`Aggiungi`,edit:`Modifica`,rename:`Rinomina`,retry:`Riprova`,reset:`Ripristina`,apply:`Applica`,confirm:`Conferma`,back:`Indietro`,next:`Avanti`,done:`Fatto`,refresh:`Aggiorna`,copy:`Copia`,copied:`Copiato`,open:`Apri`,start:`Avvia`,stop:`Ferma`,pause:`Sospendi`,resume:`Riprendi`,continue:`Continua`,clear:`Cancella`,search:`Cerca`,loading:`Caricamento…`,saving:`Salvataggio…`,searchPlaceholder:`Cerca…`,always:`Sempre`,deny:`Nega`,undo:`Annulla`,all:`Tutti`},t={title:`Approvazione richiesta: {{tool}}`,descriptionEdit:`L'agente vuole modificare un file. Rivedi la richiesta qui sotto e decidi se procedere.`,descriptionTool:`L'agente vuole eseguire questo strumento. Rivedi la richiesta qui sotto e decidi se procedere.`,fileModification:`Modifica file`,toolExecution:`Esecuzione strumento`,riskSuffix:`Rischio {{risk}}`,command:`Comando`,inputLabel:`Input:`,trustSuggestionTitle:`Suggerimento pattern attendibile`,trustSuggestionHint:`Scegliendo Sempre le chiamate corrispondenti verranno aggiunte all'allowlist per questo progetto.`,yoloDestructiveNote:`YOLO è attivo. Questo prompt viene comunque mostrato perché la richiesta è stata classificata come distruttiva.`,skipApprovalsTitle:`Salta le approvazioni future`,skipApprovalsHint:`Abilita la modalità YOLO e l'agente procede senza chiedere. Le operazioni distruttive richiedono comunque conferma.`,enableYoloTitle:`Abilita la modalità YOLO (approva automaticamente questa e le future chiamate non distruttive)`,enableYoloBtn:`Abilita YOLO`,denyAlways:`Nega sempre`,denyAlwaysTitle:`Rifiuta questa e tutte le future chiamate corrispondenti al pattern (d)`,noTitle:`Rifiuta questa singola chiamata (Esc / n)`,alwaysTitle:`Approva e ricorda il pattern per il progetto (a)`,yesTitle:`Approva questa singola chiamata (y)`},n={connected:`Connesso`,disconnected:`Disconnesso`,connecting:`Connessione…`,reconnecting:`Riconnessione…`,ready:`Pronto`,error:`Errore`,offline:`Offline`,online:`Online`,live:`Live`,budgetWarning:`avviso budget`,running:`In corso`,inProgress:`In corso`,working:`lavora`},r={justNow:`adesso`,secondsAgo_one:`{{count}} secondo fa`,secondsAgo_other:`{{count}} secondi fa`,minutesAgo_one:`{{count}} minuto fa`,minutesAgo_other:`{{count}} minuti fa`,hoursAgo_one:`{{count}} ora fa`,hoursAgo_other:`{{count}} ore fa`,daysAgo_one:`{{count}} giorno fa`,daysAgo_other:`{{count}} giorni fa`,compactSecondsAgo:`{{count}} s fa`,compactMinutesAgo:`{{count}} min fa`,compactHoursAgo:`{{count}} h fa`},i={title:`Qualcosa è andato storto`,body:`Si è verificato un errore di rendering. La tua sessione è ancora attiva sul server — ricaricare riprenderà da dove eri rimasto.`,reload:`Ricarica pagina`,tryAgain:`Riprova`},a={noActivity:`Nessuna attività`,noActivityYet:`Nessuna attività ancora`,activityMax:`Sparkline attività: max {{count}} eventi`,activityPeak:`Sparkline attività — picco {{count}} eventi/intervallo`},o={action:e,confirm:t,status:n,time:r,error:i,sparkline:a};export{e as action,t as confirm,o as default,i as error,a as sparkline,n as status,r as time};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ok:`OK`,cancel:`Cancelar`,save:`Salvar`,saved:`Salvo`,close:`Fechar`,yes:`Sim`,no:`Não`,delete:`Excluir`,remove:`Remover`,add:`Adicionar`,edit:`Editar`,rename:`Renomear`,retry:`Tentar novamente`,reset:`Redefinir`,apply:`Aplicar`,confirm:`Confirmar`,back:`Voltar`,next:`Avançar`,done:`Concluído`,refresh:`Atualizar`,copy:`Copiar`,copied:`Copiado`,open:`Abrir`,start:`Iniciar`,stop:`Parar`,pause:`Pausar`,resume:`Retomar`,continue:`Continuar`,clear:`Limpar`,search:`Buscar`,loading:`Carregando…`,saving:`Salvando…`,searchPlaceholder:`Buscar…`,always:`Sempre`,deny:`Negar`,undo:`Desfazer`,all:`Todos`},t={title:`Aprovação necessária: {{tool}}`,descriptionEdit:`O agente deseja modificar um arquivo. Revise a solicitação abaixo e decida se deseja prosseguir.`,descriptionTool:`O agente deseja executar esta ferramenta. Revise a solicitação abaixo e decida se deseja prosseguir.`,fileModification:`Modificação de arquivo`,toolExecution:`Execução de ferramenta`,riskSuffix:`risco {{risk}}`,command:`Comando`,inputLabel:`Entrada:`,trustSuggestionTitle:`Sugestão de padrão de confiança`,trustSuggestionHint:`Escolher Sempre vai permitir chamadas correspondentes para este projeto.`,yoloDestructiveNote:`YOLO está ativado. Esta confirmação ainda é exibida porque a solicitação foi classificada como destrutiva.`,skipApprovalsTitle:`Pular aprovações futuras`,skipApprovalsHint:`Ative o modo YOLO e o agente executará sem perguntar. Operações destrutivas ainda exigem confirmação.`,enableYoloTitle:`Ativar modo YOLO (aprovar automaticamente esta e futuras chamadas não destrutivas)`,enableYoloBtn:`Ativar YOLO`,denyAlways:`Negar sempre`,denyAlwaysTitle:`Rejeitar esta e todas as futuras chamadas correspondentes ao padrão (d)`,noTitle:`Rejeitar esta única chamada (Esc / n)`,alwaysTitle:`Aprovar e lembrar o padrão para o projeto (a)`,yesTitle:`Aprovar esta única chamada (y)`},n={connected:`Conectado`,disconnected:`Desconectado`,connecting:`Conectando…`,reconnecting:`Reconectando…`,ready:`Pronto`,error:`Erro`,offline:`Offline`,online:`Online`,live:`Ao vivo`,budgetWarning:`alerta de orçamento`,running:`Em execução`,inProgress:`Em progresso`,working:`trabalhando`},r={justNow:`agora mesmo`,secondsAgo_one:`há {{count}} segundo`,secondsAgo_other:`há {{count}} segundos`,minutesAgo_one:`há {{count}} minuto`,minutesAgo_other:`há {{count}} minutos`,hoursAgo_one:`há {{count}} hora`,hoursAgo_other:`há {{count}} horas`,daysAgo_one:`há {{count}} dia`,daysAgo_other:`há {{count}} dias`,compactSecondsAgo:`há {{count}} s`,compactMinutesAgo:`há {{count}} min`,compactHoursAgo:`há {{count}} h`},i={title:`Algo deu errado`,body:`Ocorreu um erro de renderização. Sua sessão ainda está ativa no servidor — recarregar continuará de onde você parou.`,reload:`Recarregar página`,tryAgain:`Tentar novamente`},a={noActivity:`Sem atividade`,noActivityYet:`Sem atividade ainda`,activityMax:`Sparkline de atividade: máx {{count}} eventos`,activityPeak:`Sparkline de atividade — pico {{count}} eventos/intervalo`},o={action:e,confirm:t,status:n,time:r,error:i,sparkline:a};export{e as action,t as confirm,o as default,i as error,a as sparkline,n as status,r as time};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ok:`OK`,cancel:`Abbrechen`,save:`Speichern`,saved:`Gespeichert`,close:`Schließen`,yes:`Ja`,no:`Nein`,delete:`Löschen`,remove:`Entfernen`,add:`Hinzufügen`,edit:`Bearbeiten`,rename:`Umbenennen`,retry:`Erneut versuchen`,reset:`Zurücksetzen`,apply:`Anwenden`,confirm:`Bestätigen`,back:`Zurück`,next:`Weiter`,done:`Fertig`,refresh:`Aktualisieren`,copy:`Kopieren`,copied:`Kopiert`,open:`Öffnen`,start:`Starten`,stop:`Stopp`,pause:`Pausieren`,resume:`Fortsetzen`,continue:`Weiter`,clear:`Leeren`,search:`Suchen`,loading:`Lädt…`,saving:`Wird gespeichert…`,searchPlaceholder:`Suchen…`,always:`Immer`,deny:`Ablehnen`,undo:`Rückgängig`,all:`Alle`},t={title:`Freigabe erforderlich: {{tool}}`,descriptionEdit:`Der Agent möchte eine Datei ändern. Überprüfe die Anfrage unten und entscheide, ob du fortfahren möchtest.`,descriptionTool:`Der Agent möchte dieses Tool ausführen. Überprüfe die Anfrage unten und entscheide, ob du fortfahren möchtest.`,fileModification:`Dateiänderung`,toolExecution:`Tool-Ausführung`,riskSuffix:`{{risk}} Risiko`,command:`Befehl`,inputLabel:`Eingabe:`,trustSuggestionTitle:`Vorschlag für Vertrauensmuster`,trustSuggestionHint:`Wenn du Immer wählst, werden übereinstimmende Aufrufe für dieses Projekt auf die Whitelist gesetzt.`,yoloDestructiveNote:`YOLO ist aktiv. Diese Abfrage wird trotzdem angezeigt, da die Anfrage als destruktiv eingestuft wurde.`,skipApprovalsTitle:`Zukünftige Freigaben überspringen`,skipApprovalsHint:`Aktiviere den YOLO-Modus und der Agent läuft ohne Nachfrage. Destruktive Vorgänge fragen weiterhin nach.`,enableYoloTitle:`YOLO-Modus aktivieren (diesen und zukünftige nicht-destruktive Aufrufe automatisch freigeben)`,enableYoloBtn:`YOLO aktivieren`,denyAlways:`Immer ablehnen`,denyAlwaysTitle:`Diesen und alle zukünftigen, zum Muster passenden Aufrufe ablehnen (d)`,noTitle:`Diesen einzelnen Aufruf ablehnen (Esc / n)`,alwaysTitle:`Freigeben und das Muster für das Projekt speichern (a)`,yesTitle:`Diesen einzelnen Aufruf freigeben (y)`},n={connected:`Verbunden`,disconnected:`Getrennt`,connecting:`Verbindung wird hergestellt…`,reconnecting:`Verbindung wird wiederhergestellt…`,ready:`Bereit`,error:`Fehler`,offline:`Offline`,online:`Online`,live:`Live`,budgetWarning:`Budget-Warnung`,running:`Läuft`,inProgress:`In Arbeit`,working:`arbeitet`},r={justNow:`gerade eben`,secondsAgo_one:`vor {{count}} Sekunde`,secondsAgo_other:`vor {{count}} Sekunden`,minutesAgo_one:`vor {{count}} Minute`,minutesAgo_other:`vor {{count}} Minuten`,hoursAgo_one:`vor {{count}} Stunde`,hoursAgo_other:`vor {{count}} Stunden`,daysAgo_one:`vor {{count}} Tag`,daysAgo_other:`vor {{count}} Tagen`,compactSecondsAgo:`vor {{count}} s`,compactMinutesAgo:`vor {{count}} min`,compactHoursAgo:`vor {{count}} Std.`},i={title:`Etwas ist schiefgelaufen`,body:`Ein Render-Fehler ist aufgetreten. Deine Sitzung ist auf dem Server noch aktiv — Neuladen setzt dort fort, wo du aufgehört hast.`,reload:`Seite neu laden`,tryAgain:`Erneut versuchen`},a={noActivity:`Keine Aktivität`,noActivityYet:`Noch keine Aktivität`,activityMax:`Aktivitäts-Sparkline: max. {{count}} Ereignisse`,activityPeak:`Aktivitäts-Sparkline — Spitze {{count}} Ereignisse/Intervall`},o={action:e,confirm:t,status:n,time:r,error:i,sparkline:a};export{e as action,t as confirm,o as default,i as error,a as sparkline,n as status,r as time};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./rolldown-runtime-QTnfLwEv.js";var t=e({action:()=>n,confirm:()=>r,default:()=>c,error:()=>o,sparkline:()=>s,status:()=>i,time:()=>a}),n={ok:`OK`,cancel:`Cancel`,save:`Save`,saved:`Saved`,close:`Close`,yes:`Yes`,no:`No`,delete:`Delete`,remove:`Remove`,add:`Add`,edit:`Edit`,rename:`Rename`,retry:`Retry`,reset:`Reset`,apply:`Apply`,confirm:`Confirm`,back:`Back`,next:`Next`,done:`Done`,refresh:`Refresh`,copy:`Copy`,copied:`Copied`,open:`Open`,start:`Start`,stop:`Stop`,pause:`Pause`,resume:`Resume`,continue:`Continue`,clear:`Clear`,search:`Search`,loading:`Loading…`,saving:`Saving…`,searchPlaceholder:`Search…`,always:`Always`,deny:`Deny`,undo:`Undo`,all:`All`},r={title:`Approval required: {{tool}}`,descriptionEdit:`The agent wants to modify a file. Review the request below and decide whether to proceed.`,descriptionTool:`The agent wants to run this tool. Review the request below and decide whether to proceed.`,fileModification:`File modification`,toolExecution:`Tool execution`,riskSuffix:`{{risk}} risk`,command:`Command`,inputLabel:`Input:`,trustSuggestionTitle:`Trust pattern suggestion`,trustSuggestionHint:`Picking Always will whitelist matching calls for this project.`,yoloDestructiveNote:`YOLO is on. This prompt is still shown because the request was classified as destructive.`,skipApprovalsTitle:`Skip future approvals`,skipApprovalsHint:`Enable YOLO mode and the agent runs without asking. Destructive operations still prompt.`,enableYoloTitle:`Enable YOLO mode (auto-approve this and future non-destructive calls)`,enableYoloBtn:`Enable YOLO`,denyAlways:`Deny always`,denyAlwaysTitle:`Reject this and all future calls matching the pattern (d)`,noTitle:`Reject this single call (Esc / n)`,alwaysTitle:`Approve and remember the pattern for the project (a)`,yesTitle:`Approve this single call (y)`},i={connected:`Connected`,disconnected:`Disconnected`,connecting:`Connecting…`,reconnecting:`Reconnecting…`,ready:`Ready`,error:`Error`,offline:`Offline`,online:`Online`,live:`Live`,budgetWarning:`budget warning`,running:`Running`,inProgress:`In Progress`,working:`working`},a={justNow:`just now`,secondsAgo_one:`{{count}} second ago`,secondsAgo_other:`{{count}} seconds ago`,minutesAgo_one:`{{count}} minute ago`,minutesAgo_other:`{{count}} minutes ago`,hoursAgo_one:`{{count}} hour ago`,hoursAgo_other:`{{count}} hours ago`,daysAgo_one:`{{count}} day ago`,daysAgo_other:`{{count}} days ago`,compactSecondsAgo:`{{count}}s ago`,compactMinutesAgo:`{{count}}m ago`,compactHoursAgo:`{{count}}h ago`},o={title:`Something went wrong`,body:`A rendering error occurred. Your session is still active on the server — reloading will pick up where you left off.`,reload:`Reload page`,tryAgain:`Try again`},s={noActivity:`No activity`,noActivityYet:`No activity yet`,activityMax:`Activity sparkline: max {{count}} events`,activityPeak:`Activity sparkline — peak {{count}} events/bucket`},c={action:n,confirm:r,status:i,time:a,error:o,sparkline:s};export{t as n,c as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ok:`Tamam`,cancel:`İptal`,save:`Kaydet`,saved:`Kaydedildi`,close:`Kapat`,yes:`Evet`,no:`Hayır`,delete:`Sil`,remove:`Kaldır`,add:`Ekle`,edit:`Düzenle`,rename:`Yeniden adlandır`,retry:`Yeniden dene`,reset:`Sıfırla`,apply:`Uygula`,confirm:`Onayla`,back:`Geri`,next:`İleri`,done:`Bitti`,refresh:`Yenile`,copy:`Kopyala`,copied:`Kopyalandı`,open:`Aç`,start:`Başlat`,stop:`Durdur`,pause:`Duraklat`,resume:`Sürdür`,continue:`Devam et`,clear:`Temizle`,search:`Ara`,loading:`Yükleniyor…`,saving:`Kaydediliyor…`,searchPlaceholder:`Ara…`,always:`Her zaman`,deny:`Reddet`,undo:`Geri al`,all:`Tümü`},t={title:`Onay gerekli: {{tool}}`,descriptionEdit:`Vekil bir dosyayı değiştirmek istiyor. Aşağıdaki isteği inceleyin ve devam edip etmeyeceğinize karar verin.`,descriptionTool:`Vekil bu aracı çalıştırmak istiyor. Aşağıdaki isteği inceleyin ve devam edip etmeyeceğinize karar verin.`,fileModification:`Dosya değişikliği`,toolExecution:`Araç çalıştırma`,riskSuffix:`{{risk}} risk`,command:`Komut`,inputLabel:`Girdi:`,trustSuggestionTitle:`Güven kalıbı önerisi`,trustSuggestionHint:`Her Zaman'ı seçmek, bu proje için eşleşen çağrıları beyaz listeye alır.`,yoloDestructiveNote:`YOLO açık. İstek yıkıcı olarak sınıflandırıldığından bu onay penceresi yine de gösteriliyor.`,skipApprovalsTitle:`Sonraki onayları atla`,skipApprovalsHint:`YOLO modunu etkinleştir; vekil izin istemeden çalışır. Yıkıcı işlemler yine de onay ister.`,enableYoloTitle:`YOLO modunu etkinleştir (bu ve sonraki yıkıcı olmayan çağrıları otomatik onayla)`,enableYoloBtn:`YOLO'yu etkinleştir`,denyAlways:`Her zaman reddet`,denyAlwaysTitle:`Bu ve kalıpla eşleşen tüm gelecek çağrıları reddet (d)`,noTitle:`Bu tek çağrıyı reddet (Esc / n)`,alwaysTitle:`Onayla ve kalıbı proje için hatırla (a)`,yesTitle:`Bu tek çağrıyı onayla (y)`},n={connected:`Bağlı`,disconnected:`Bağlı değil`,connecting:`Bağlanıyor…`,reconnecting:`Yeniden bağlanıyor…`,ready:`Hazır`,error:`Hata`,offline:`Çevrimdışı`,online:`Çevrimiçi`,live:`Canlı`,budgetWarning:`bütçe uyarısı`,running:`Çalışıyor`,inProgress:`Devam ediyor`,working:`çalışıyor`},r={justNow:`az önce`,secondsAgo_one:`{{count}} saniye önce`,secondsAgo_other:`{{count}} saniye önce`,minutesAgo_one:`{{count}} dakika önce`,minutesAgo_other:`{{count}} dakika önce`,hoursAgo_one:`{{count}} saat önce`,hoursAgo_other:`{{count}} saat önce`,daysAgo_one:`{{count}} gün önce`,daysAgo_other:`{{count}} gün önce`,compactSecondsAgo:`{{count}} sn önce`,compactMinutesAgo:`{{count}} dk önce`,compactHoursAgo:`{{count}} sa önce`},i={title:`Bir şeyler ters gitti`,body:`Bir oluşturma hatası oluştu. Oturumunuz sunucuda hâlâ etkin — yeniden yüklemek kaldığınız yerden devam eder.`,reload:`Sayfayı yeniden yükle`,tryAgain:`Tekrar dene`},a={noActivity:`Etkinlik yok`,noActivityYet:`Henüz etkinlik yok`,activityMax:`Etkinlik sparkline: en fazla {{count}} olay`,activityPeak:`Etkinlik sparkline — tepe {{count}} olay/kova`},o={action:e,confirm:t,status:n,time:r,error:i,sparkline:a};export{e as action,t as confirm,o as default,i as error,a as sparkline,n as status,r as time};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e={ok:`OK`,cancel:`Annuler`,save:`Enregistrer`,saved:`Enregistré`,close:`Fermer`,yes:`Oui`,no:`Non`,delete:`Supprimer`,remove:`Retirer`,add:`Ajouter`,edit:`Modifier`,rename:`Renommer`,retry:`Réessayer`,reset:`Réinitialiser`,apply:`Appliquer`,confirm:`Confirmer`,back:`Retour`,next:`Suivant`,done:`Terminé`,refresh:`Actualiser`,copy:`Copier`,copied:`Copié`,open:`Ouvrir`,start:`Démarrer`,stop:`Arrêter`,pause:`Pause`,resume:`Reprendre`,continue:`Continuer`,clear:`Effacer`,search:`Rechercher`,loading:`Chargement…`,saving:`Enregistrement…`,searchPlaceholder:`Rechercher…`,always:`Toujours`,deny:`Refuser`,undo:`Annuler`,all:`Tous`},t={title:`Approbation requise : {{tool}}`,descriptionEdit:`L'agent souhaite modifier un fichier. Examinez la demande ci-dessous et décidez s'il faut poursuivre.`,descriptionTool:`L'agent souhaite exécuter cet outil. Examinez la demande ci-dessous et décidez s'il faut poursuivre.`,fileModification:`Modification de fichier`,toolExecution:`Exécution d'outil`,riskSuffix:`Risque {{risk}}`,command:`Commande`,inputLabel:`Entrée :`,trustSuggestionTitle:`Suggestion de motif de confiance`,trustSuggestionHint:`Choisir Toujours ajoutera les appels correspondants à la liste blanche pour ce projet.`,yoloDestructiveNote:`YOLO est activé. Cette confirmation s'affiche encore car la requête a été classée comme destructrice.`,skipApprovalsTitle:`Ignorer les futures approbations`,skipApprovalsHint:`Activez le mode YOLO et l'agent agit sans demander. Les opérations destructrices continuent de demander confirmation.`,enableYoloTitle:`Activer le mode YOLO (auto-approuver cet appel et les futurs appels non destructeurs)`,enableYoloBtn:`Activer YOLO`,denyAlways:`Toujours refuser`,denyAlwaysTitle:`Refuser cet appel et tous les futurs appels correspondant au motif (d)`,noTitle:`Refuser cet appel unique (Échap / n)`,alwaysTitle:`Approuver et mémoriser le motif pour le projet (a)`,yesTitle:`Approuver cet appel unique (y)`},n={connected:`Connecté`,disconnected:`Déconnecté`,connecting:`Connexion…`,reconnecting:`Reconnexion…`,ready:`Prêt`,error:`Erreur`,offline:`Hors ligne`,online:`En ligne`,live:`En direct`,budgetWarning:`alerte budget`,running:`En cours`,inProgress:`En cours`,working:`travaille`},r={justNow:`à l'instant`,secondsAgo_one:`il y a {{count}} seconde`,secondsAgo_other:`il y a {{count}} secondes`,minutesAgo_one:`il y a {{count}} minute`,minutesAgo_other:`il y a {{count}} minutes`,hoursAgo_one:`il y a {{count}} heure`,hoursAgo_other:`il y a {{count}} heures`,daysAgo_one:`il y a {{count}} jour`,daysAgo_other:`il y a {{count}} jours`,compactSecondsAgo:`il y a {{count}} s`,compactMinutesAgo:`il y a {{count}} min`,compactHoursAgo:`il y a {{count}} h`},i={title:`Une erreur est survenue`,body:`Une erreur de rendu s'est produite. Votre session est toujours active sur le serveur — recharger reprendra là où vous étiez.`,reload:`Recharger la page`,tryAgain:`Réessayer`},a={noActivity:`Aucune activité`,noActivityYet:`Pas encore d'activité`,activityMax:`Sparkline d'activité : max {{count}} événements`,activityPeak:`Sparkline d'activité — pic {{count}} événements/intervalle`},o={action:e,confirm:t,status:n,time:r,error:i,sparkline:a};export{e as action,t as confirm,o as default,i as error,a as sparkline,n as status,r as time};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/activity-Lmjx6MD1.js","assets/rolldown-runtime-QTnfLwEv.js","assets/chat-DCAGDU3F.js","assets/commandPalette-DUootORZ.js","assets/common-D7usadq4.js","assets/settings-Os0ifjjB.js","assets/setup-Dr2UDb8s.js","assets/toasts-BL_8kH4B.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{di as e,hi as t,mi as n,pi as r,ui as i}from"./vendor-OWPFcqeg.js";import{t as a}from"./activity-Lmjx6MD1.js";import{t as o}from"./chat-DCAGDU3F.js";import{t as s}from"./commandPalette-DUootORZ.js";import{t as c}from"./common-D7usadq4.js";import{t as l}from"./settings-Os0ifjjB.js";import{t as u}from"./setup-Dr2UDb8s.js";import{t as d}from"./toasts-BL_8kH4B.js";import{l as f}from"./monaco-DqY9Mr3N.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={autonomy:`auto`,autonomyDelayMs:45e3,autoProceedMaxIterations:50,yolo:!0,maxIterations:500,chime:!1,confirmExit:!0,streamFleet:!0,nextPrediction:!1,fallbackModels:[],fallbackProfiles:{},favoriteModels:[],favoriteModelsOnly:!1,modelMatrix:{},fallbackAuto:!0,featureMcp:!0,featurePlugins:!0,featureMemory:!0,featureSkills:!0,featureModelsRegistry:!0,indexOnStart:!0,contextAutoCompact:!0,contextStrategy:`hybrid`,contextMode:`balanced`,tokenSavingTier:`off`,maxConcurrent:10,titleAnimation:!0,logLevel:`info`,auditLevel:`standard`,enhanceEnabled:!0,enhanceDelayMs:6e4,enhanceLanguage:`original`,reasoningMode:`auto`,reasoningEffort:`high`,reasoningPreserve:!1,cacheTtl:`default`,hqEnabled:!1,hqUrl:``,hqToken:``,hqRawContent:!1,tgConfigured:!1,tgSessionEnd:!1,tgDelegate:!0,tgLongToolMs:3e4,uiLocale:_()},x=e()(i(e=>({...b,set:t=>e(t),reset:()=>e(b)}),{name:`wrongstack-local-prefs`,version:5,migrate:e=>{let t=e??{};return[`hybrid`,`intelligent`,`selective`].includes(t.contextStrategy)||(t.contextStrategy=`hybrid`),t.auditLevel===`verbose`&&(t.auditLevel=`full`),[`minimal`,`standard`,`full`].includes(t.auditLevel)||(t.auditLevel=`standard`),typeof t.autoProceedMaxIterations!=`number`&&(t.autoProceedMaxIterations=50),(!t.fallbackProfiles||typeof t.fallbackProfiles!=`object`||Array.isArray(t.fallbackProfiles))&&(t.fallbackProfiles={}),Array.isArray(t.favoriteModels)||(t.favoriteModels=[]),typeof t.favoriteModelsOnly!=`boolean`&&(t.favoriteModelsOnly=!1),(!t.modelMatrix||typeof t.modelMatrix!=`object`||Array.isArray(t.modelMatrix))&&(t.modelMatrix={}),(typeof t.uiLocale!=`string`||!t.uiLocale)&&(t.uiLocale=_()),t}})),S=[`common`,`activity`,`chat`,`commandPalette`,`settings`,`setup`,`toasts`];function C(){try{return v(x.getState().uiLocale)}catch{return`en`}}t.use(r).use(n((e,t)=>p(Object.assign({"./locales/de/activity.json":()=>f(()=>import(`./activity-CVWYwjgf.js`),[]),"./locales/de/chat.json":()=>f(()=>import(`./chat-cxuX4gFa.js`),[]),"./locales/de/commandPalette.json":()=>f(()=>import(`./commandPalette-2M1hYRuH.js`),[]),"./locales/de/common.json":()=>f(()=>import(`./common-CrGjglH4.js`),[]),"./locales/de/settings.json":()=>f(()=>import(`./settings-CQ4x-iFD.js`),[]),"./locales/de/setup.json":()=>f(()=>import(`./setup-Iyk4ncan.js`),[]),"./locales/de/toasts.json":()=>f(()=>import(`./toasts-CFzweRH5.js`),[]),"./locales/en/activity.json":()=>f(()=>import(`./activity-Lmjx6MD1.js`).then(e=>e.n),__vite__mapDeps([0,1])),"./locales/en/chat.json":()=>f(()=>import(`./chat-DCAGDU3F.js`).then(e=>e.n),__vite__mapDeps([2,1])),"./locales/en/commandPalette.json":()=>f(()=>import(`./commandPalette-DUootORZ.js`).then(e=>e.n),__vite__mapDeps([3,1])),"./locales/en/common.json":()=>f(()=>import(`./common-D7usadq4.js`).then(e=>e.n),__vite__mapDeps([4,1])),"./locales/en/settings.json":()=>f(()=>import(`./settings-Os0ifjjB.js`).then(e=>e.n),__vite__mapDeps([5,1])),"./locales/en/setup.json":()=>f(()=>import(`./setup-Dr2UDb8s.js`).then(e=>e.n),__vite__mapDeps([6,1])),"./locales/en/toasts.json":()=>f(()=>import(`./toasts-BL_8kH4B.js`).then(e=>e.n),__vite__mapDeps([7,1])),"./locales/es/activity.json":()=>f(()=>import(`./activity-ByEwzh5Q.js`),[]),"./locales/es/chat.json":()=>f(()=>import(`./chat-Cvy-F2d6.js`),[]),"./locales/es/commandPalette.json":()=>f(()=>import(`./commandPalette-CTE9ITWg.js`),[]),"./locales/es/common.json":()=>f(()=>import(`./common-BAg8_MKg.js`),[]),"./locales/es/settings.json":()=>f(()=>import(`./settings-TqprB9wO.js`),[]),"./locales/es/setup.json":()=>f(()=>import(`./setup-BqoJ89VQ.js`),[]),"./locales/es/toasts.json":()=>f(()=>import(`./toasts-BwQJwYLe.js`),[]),"./locales/fr/activity.json":()=>f(()=>import(`./activity-BEjzb11U.js`),[]),"./locales/fr/chat.json":()=>f(()=>import(`./chat-Cfq81NCh.js`),[]),"./locales/fr/commandPalette.json":()=>f(()=>import(`./commandPalette-BYf22WAi.js`),[]),"./locales/fr/common.json":()=>f(()=>import(`./common-tmj0IcQS.js`),[]),"./locales/fr/settings.json":()=>f(()=>import(`./settings-DgGu17XI.js`),[]),"./locales/fr/setup.json":()=>f(()=>import(`./setup-C4wNoopG.js`),[]),"./locales/fr/toasts.json":()=>f(()=>import(`./toasts-BCDGDcyq.js`),[]),"./locales/it/activity.json":()=>f(()=>import(`./activity-Cjm0UoMi.js`),[]),"./locales/it/chat.json":()=>f(()=>import(`./chat-DNIePdaQ.js`),[]),"./locales/it/commandPalette.json":()=>f(()=>import(`./commandPalette-BZhacjvy.js`),[]),"./locales/it/common.json":()=>f(()=>import(`./common-BH1mb9Im.js`),[]),"./locales/it/settings.json":()=>f(()=>import(`./settings-BVvx94WK.js`),[]),"./locales/it/setup.json":()=>f(()=>import(`./setup-B8S3Rhsj.js`),[]),"./locales/it/toasts.json":()=>f(()=>import(`./toasts-Dm12Nq8t.js`),[]),"./locales/pt-BR/activity.json":()=>f(()=>import(`./activity-DN6Bmnaw.js`),[]),"./locales/pt-BR/chat.json":()=>f(()=>import(`./chat-CdLXf1yN.js`),[]),"./locales/pt-BR/commandPalette.json":()=>f(()=>import(`./commandPalette-RxWSjQIg.js`),[]),"./locales/pt-BR/common.json":()=>f(()=>import(`./common-C29pCVfm.js`),[]),"./locales/pt-BR/settings.json":()=>f(()=>import(`./settings-CmHCQRVI.js`),[]),"./locales/pt-BR/setup.json":()=>f(()=>import(`./setup-CGWbN6bj.js`),[]),"./locales/pt-BR/toasts.json":()=>f(()=>import(`./toasts-frBt6fvE.js`),[]),"./locales/tr/activity.json":()=>f(()=>import(`./activity-BjnFo4NL.js`),[]),"./locales/tr/chat.json":()=>f(()=>import(`./chat-DhofDrgA.js`),[]),"./locales/tr/commandPalette.json":()=>f(()=>import(`./commandPalette-BE_ljQwl.js`),[]),"./locales/tr/common.json":()=>f(()=>import(`./common-KzRPhobM.js`),[]),"./locales/tr/settings.json":()=>f(()=>import(`./settings-UGa_oSYC.js`),[]),"./locales/tr/setup.json":()=>f(()=>import(`./setup-BPkWK-DE.js`),[]),"./locales/tr/toasts.json":()=>f(()=>import(`./toasts-DDYQsJV8.js`),[])}),`./locales/${e}/${t}.json`,4))).init({lng:C(),fallbackLng:`en`,supportedLngs:[...m],ns:[...S],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 w(e){typeof document<`u`&&(document.documentElement.lang=e)}w(t.language||`en`),x.subscribe((e,n)=>{let r=e.uiLocale;r&&r!==n.uiLocale&&r!==t.language&&t.changeLanguage(r).then(()=>w(r))});function T(){window.wrongstackDesktopHost?.onLocaleChanged?.(e=>{if(!e)return;let n=v(e);if(n===t.language)return;let r=x.getState();r.uiLocale!==n&&r.set({uiLocale:n}),t.changeLanguage(n).then(()=>w(n))})}try{T()}catch{}export{h as n,x as t};
|