@intent-hq/web 2.327.3 → 2.327.5
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/package.json +1 -1
- package/web/app/immutable/chunks/{BAcNJnHM.js → 0VyTRY65.js} +1 -1
- package/web/app/immutable/chunks/{D_YJY_Ty.js → 0jr8Bg7f.js} +1 -1
- package/web/app/immutable/chunks/{C1pMbnE7.js → 58w9tXyz.js} +1 -1
- package/web/app/immutable/chunks/{Bggzn0XP.js → 6StQr10j.js} +1 -1
- package/web/app/immutable/chunks/{FrlwlE8V.js → 71Mja2wo.js} +1 -1
- package/web/app/immutable/chunks/{D1zY3q4_.js → 9cyklBMv.js} +2 -2
- package/web/app/immutable/chunks/{D6G_--ry.js → B0FeUjOw.js} +1 -1
- package/web/app/immutable/chunks/{D3kn1fgc.js → B33BBg7L.js} +1 -1
- package/web/app/immutable/chunks/{CcurICQ5.js → B572BMbo.js} +1 -1
- package/web/app/immutable/chunks/{CViHflT5.js → B61Pw6nY.js} +1 -1
- package/web/app/immutable/chunks/{rr-r2USw.js → B6KhV2Bg.js} +1 -1
- package/web/app/immutable/chunks/{DTKsxP_g.js → B78ZCJrO.js} +1 -1
- package/web/app/immutable/chunks/{BcyJoTHB.js → B7vTVGVv.js} +1 -1
- package/web/app/immutable/chunks/{C1_2Nvwd.js → B9eYUVR5.js} +1 -1
- package/web/app/immutable/chunks/{COsr-D4q.js → BBJdulBO.js} +1 -1
- package/web/app/immutable/chunks/{DBMurqmQ.js → BF2dYTZa.js} +1 -1
- package/web/app/immutable/chunks/{AfJdOpGJ.js → BGviGCI9.js} +1 -1
- package/web/app/immutable/chunks/{BhbOznM0.js → BJjlHQnx.js} +1 -1
- package/web/app/immutable/chunks/{BveUtPGK.js → BMyBy8MH.js} +1 -1
- package/web/app/immutable/chunks/{B-lZ23N5.js → BO-jThCd.js} +1 -1
- package/web/app/immutable/chunks/{DgFSF7Q3.js → BTiFOdD0.js} +1 -1
- package/web/app/immutable/chunks/{B4Un96Br.js → BWKO1fTV.js} +1 -1
- package/web/app/immutable/chunks/{CwBEqZZ_.js → BZs8VpCk.js} +1 -1
- package/web/app/immutable/chunks/{CZe-BIqB.js → Bb7N8KKo.js} +1 -1
- package/web/app/immutable/chunks/{DeH8i2FV.js → BbbZMK1A.js} +1 -1
- package/web/app/immutable/chunks/{Bf7TqJG_.js → Bd3FOgJ5.js} +1 -1
- package/web/app/immutable/chunks/{DLgg2y1C.js → BfOD7ERB.js} +1 -1
- package/web/app/immutable/chunks/{DreRgY6W.js → Bg-whL5V.js} +1 -1
- package/web/app/immutable/chunks/{ckA-QIlc.js → BgDq477e.js} +1 -1
- package/web/app/immutable/chunks/{myjILdXe.js → Bk8FW95r.js} +1 -1
- package/web/app/immutable/chunks/{DagQHAoe.js → BlO4hQbr.js} +1 -1
- package/web/app/immutable/chunks/{B7Mop_jC.js → BlnCsgUT.js} +1 -1
- package/web/app/immutable/chunks/{r_aV6a4U.js → Bq3my5nc.js} +1 -1
- package/web/app/immutable/chunks/{B7gQ_nlj.js → BtAXWfJQ.js} +1 -1
- package/web/app/immutable/chunks/{CDQiwfpS.js → BuvFVaAY.js} +2 -2
- package/web/app/immutable/chunks/{35D9vOc6.js → ByCOW8do.js} +1 -1
- package/web/app/immutable/chunks/{C0k-qPFA.js → BzH_KBS3.js} +1 -1
- package/web/app/immutable/chunks/{D39ODeMy.js → C2uKsJY1.js} +2 -2
- package/web/app/immutable/chunks/{DlL4i-_c.js → C3Zzd9P9.js} +1 -1
- package/web/app/immutable/chunks/{BOvycfTx.js → C4GW1bio.js} +1 -1
- package/web/app/immutable/chunks/{WCqnCI0Y.js → C5wdd0eM.js} +1 -1
- package/web/app/immutable/chunks/{Bx_Kd6Zj.js → CC1lvkyY.js} +1 -1
- package/web/app/immutable/chunks/{r2-n1eEu.js → CDMQjeQI.js} +1 -1
- package/web/app/immutable/chunks/{CjjnLU79.js → CDuSWzGm.js} +1 -1
- package/web/app/immutable/chunks/{3MiSzwO_.js → CGyDAjHZ.js} +1 -1
- package/web/app/immutable/chunks/{CYjbCKOB.js → CIYx0ii6.js} +1 -1
- package/web/app/immutable/chunks/{GbJiak62.js → CMVV4erq.js} +1 -1
- package/web/app/immutable/chunks/{C9Oy0LtB.js → CMWbuQ77.js} +1 -1
- package/web/app/immutable/chunks/{s4jPNyw8.js → CP2MUsRz.js} +1 -1
- package/web/app/immutable/chunks/{B798GHK3.js → CTG5TYyy.js} +1 -1
- package/web/app/immutable/chunks/{B6EWkrDE.js → CTbAPBO1.js} +2 -2
- package/web/app/immutable/chunks/{KOIbPY1T.js → CVy7yS5O.js} +1 -1
- package/web/app/immutable/chunks/{CziMjc6R.js → CWPMHNwU.js} +3 -3
- package/web/app/immutable/chunks/{D3pYGmsv.js → CWRkcPxW.js} +2 -2
- package/web/app/immutable/chunks/{Cs3K9au3.js → CX1z_2lx.js} +1 -1
- package/web/app/immutable/chunks/{7ZTbeFDr.js → CZHScKIK.js} +1 -1
- package/web/app/immutable/chunks/{DcQP1f_r.js → Cageks4o.js} +3 -3
- package/web/app/immutable/chunks/{BneSomYW.js → CeqDBCoX.js} +1 -1
- package/web/app/immutable/chunks/{CuacBn4U.js → ChKWMNeW.js} +1 -1
- package/web/app/immutable/chunks/{C9vpFXDp.js → Cnj-ocZi.js} +1 -1
- package/web/app/immutable/chunks/{iXIypZcP.js → CoXtBEKL.js} +1 -1
- package/web/app/immutable/chunks/{BDj_hFdE.js → CoZvu7gw.js} +1 -1
- package/web/app/immutable/chunks/{BgfnWFwk.js → CrvlOH-I.js} +1 -1
- package/web/app/immutable/chunks/{DLFNuh8k.js → CsO2DeV8.js} +1 -1
- package/web/app/immutable/chunks/{CjREz2UM.js → CvDuI1Ad.js} +1 -1
- package/web/app/immutable/chunks/{zWlUYLxQ.js → CwBsjeRn.js} +1 -1
- package/web/app/immutable/chunks/{B9dGZuHJ.js → D-Xd8btl.js} +3 -3
- package/web/app/immutable/chunks/{DLrur9eT.js → D0h0gCpu.js} +3 -3
- package/web/app/immutable/chunks/{eq-q_IQg.js → D2YHDAng.js} +4 -4
- package/web/app/immutable/chunks/{BY3-E0yy.js → D2b0ISji.js} +1 -1
- package/web/app/immutable/chunks/{Dmz-4iVB.js → D3HFxkuH.js} +1 -1
- package/web/app/immutable/chunks/{CKlsIlGI.js → D4cQTEB9.js} +1 -1
- package/web/app/immutable/chunks/{ZNzwzylD.js → D4jYxNmQ.js} +3 -3
- package/web/app/immutable/chunks/{CroauewU.js → D7pisHI7.js} +1 -1
- package/web/app/immutable/chunks/{dD52HyjL.js → D8kh7QqM.js} +1 -1
- package/web/app/immutable/chunks/{TP_FEuf4.js → D9NH4H5p.js} +1 -1
- package/web/app/immutable/chunks/{DvJIE9F0.js → D9t8LDcF.js} +1 -1
- package/web/app/immutable/chunks/{CGpqxwcV.js → DB8SI3db.js} +1 -1
- package/web/app/immutable/chunks/{CjqwEdIV.js → DEtQTkN_.js} +1 -1
- package/web/app/immutable/chunks/{C_fXhDsq.js → DFEZ3HlX.js} +12 -12
- package/web/app/immutable/chunks/{U3vyCaVU.js → DFGQ_Wfv.js} +1 -1
- package/web/app/immutable/chunks/{BjtjqFpR.js → DFXvVPhW.js} +1 -1
- package/web/app/immutable/chunks/{B08wwvKU.js → DGtVq4eo.js} +1 -1
- package/web/app/immutable/chunks/{BLqcY2WP.js → DLxs6eHm.js} +1 -1
- package/web/app/immutable/chunks/{iFTOUkOI.js → DOMHFWTg.js} +2 -2
- package/web/app/immutable/chunks/{Bm0frbxK.js → DPX7q3j0.js} +1 -1
- package/web/app/immutable/chunks/{fDvN4TBM.js → DQ_XjzmE.js} +1 -1
- package/web/app/immutable/chunks/{CyLGGlF1.js → DR6SSU50.js} +4 -4
- package/web/app/immutable/chunks/{DFXVbPZk.js → DVrkIyN2.js} +1 -1
- package/web/app/immutable/chunks/{ZOCUfPRu.js → DaKr8JPs.js} +6 -6
- package/web/app/immutable/chunks/{3JpWDI-M.js → DbRrqEgU.js} +4 -4
- package/web/app/immutable/chunks/{Bg-m0Nfi.js → DfqvT9D7.js} +1 -1
- package/web/app/immutable/chunks/{DAB4KDZf.js → DgjMPJcg.js} +1 -1
- package/web/app/immutable/chunks/{uZRrd2pm.js → DkZvhlo2.js} +1 -1
- package/web/app/immutable/chunks/{CNynWE_u.js → DlSyd7Ta.js} +1 -1
- package/web/app/immutable/chunks/{BFK7BFQt.js → DlgmTqk6.js} +1 -1
- package/web/app/immutable/chunks/{TWLYZedM.js → Dq3wAazc.js} +1 -1
- package/web/app/immutable/chunks/{DOuKhcDi.js → DqMdEldm.js} +1 -1
- package/web/app/immutable/chunks/{CI3k0XZh.js → DrQhi0x7.js} +4 -4
- package/web/app/immutable/chunks/{-nlL-11J.js → Dv6-cB4g.js} +1 -1
- package/web/app/immutable/chunks/{D2bUbzxj.js → F0Vwotna.js} +1 -1
- package/web/app/immutable/chunks/{DfURqgI9.js → FfF-YfjO.js} +1 -1
- package/web/app/immutable/chunks/{B01nzMRs.js → GkbL_5B-.js} +1 -1
- package/web/app/immutable/chunks/{BtY5FIF5.js → HUDA8fiy.js} +1 -1
- package/web/app/immutable/chunks/{cSZBj2H1.js → MIydPOVw.js} +1 -1
- package/web/app/immutable/chunks/{ZWp2d2r6.js → O5KlKm48.js} +1 -1
- package/web/app/immutable/chunks/{3t4RuxC6.js → OsOeZocr.js} +2 -2
- package/web/app/immutable/chunks/{C6tQk-Lg.js → Rp4RZapB.js} +1 -1
- package/web/app/immutable/chunks/{k0Eu5yMT.js → Tl1rpQ5s.js} +1 -1
- package/web/app/immutable/chunks/{DkVStA3d.js → ZxSCdpsg.js} +1 -1
- package/web/app/immutable/chunks/{BZprW35U.js → aLLkObRk.js} +1 -1
- package/web/app/immutable/chunks/{UeWiMZOF.js → i2yMwGh_.js} +1 -1
- package/web/app/immutable/chunks/{E96eL6xW.js → jgnoBIlD.js} +1 -1
- package/web/app/immutable/chunks/{CRWxVPtt.js → oE7MOocS.js} +1 -1
- package/web/app/immutable/chunks/{tNRnW6ie.js → pHsrJNld.js} +1 -1
- package/web/app/immutable/chunks/{DZt8Gjbk.js → pLn5y1p2.js} +1 -1
- package/web/app/immutable/chunks/{DPWvmlFQ.js → qaQGm9A7.js} +1 -1
- package/web/app/immutable/chunks/{Dhbliv-K.js → uSNf4PjE.js} +1 -1
- package/web/app/immutable/chunks/{CrKwVRvT.js → vmfD6HOP.js} +1 -1
- package/web/app/immutable/chunks/{CP38gzl0.js → vxHpfx-7.js} +1 -1
- package/web/app/immutable/chunks/{DkZU9zgp.js → wQb33ERJ.js} +2 -2
- package/web/app/immutable/chunks/{AjPbGUJ_.js → zNPAm_g8.js} +1 -1
- package/web/app/immutable/entry/{app.DoEJogUG.js → app.uZOa5xAD.js} +2 -2
- package/web/app/immutable/entry/start._vSBTu19.js +1 -0
- package/web/app/immutable/nodes/{0.BtuyckLI.js → 0.5BN29aF9.js} +1 -1
- package/web/app/immutable/nodes/{1.BlE22l2r.js → 1.CScjxXfi.js} +1 -1
- package/web/app/immutable/nodes/{10.BZLSu1t9.js → 10.DVkuwBxJ.js} +1 -1
- package/web/app/immutable/nodes/{14.CP4eEnwP.js → 14.CQFNVlAh.js} +1 -1
- package/web/app/immutable/nodes/{17.DtGxkuYO.js → 17.N0O7ruOc.js} +2 -2
- package/web/app/immutable/nodes/{2.C6nyC7hb.js → 2.CahtYp3d.js} +12 -12
- package/web/app/immutable/nodes/{3.1uPqjsRC.js → 3.D_5wExma.js} +1 -1
- package/web/app/immutable/nodes/{4.BjOowzuW.js → 4.JCAab1Hg.js} +1 -1
- package/web/app/immutable/nodes/{5.Dy-YkbU6.js → 5.piNO_yu5.js} +1 -1
- package/web/app/immutable/nodes/{6.DR9-o0Dc.js → 6.DXnvvORl.js} +1 -1
- package/web/app/immutable/nodes/{7.BR2qXozN.js → 7.Cd-oGu-r.js} +1 -1
- package/web/app/immutable/nodes/{8.DxHPj0Oq.js → 8.DhDtXFsS.js} +13 -13
- package/web/app/immutable/nodes/{9.BHHxehGk.js → 9.C3bc0Vuy.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +9 -9
- package/web/app/immutable/entry/start.C_iz1en-.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as tt}from"./
|
|
1
|
+
import{p as tt}from"./Bk8FW95r.js";import{U as et,aZ as at,V as rt,a_ as it,Y as nt,b0 as ot,b as l,ay as E,X as st,q as lt,aX as ct,aH as dt,d as I,B as gt,r as ht,aJ as pt,O as ft}from"./D2YHDAng.js";import{p as ut}from"./CFXA-WTd.js";import{o as mt}from"./D3HFxkuH.js";var vt=ft.pie,R={sections:new Map,showData:!1},b=R.sections,H=R.showData,St=structuredClone(vt),xt=l(()=>structuredClone(St),"getConfig"),wt=l(()=>{b=new Map,H=R.showData,ht()},"clear"),$t=l(({label:t,value:a})=>{if(a<0)throw new Error(`"${t}" has invalid value: ${a}. Negative values are not allowed in pie charts. All slice values must be >= 0.`);b.has(t)||(b.set(t,a),E.debug(`added new section: ${t}, with value: ${a}`))},"addSection"),Ct=l(()=>b,"getSections"),yt=l(t=>{H=t},"setShowData"),Dt=l(()=>H,"getShowData"),U={getConfig:xt,clear:wt,setDiagramTitle:ot,getDiagramTitle:nt,setAccTitle:it,getAccTitle:rt,setAccDescription:at,getAccDescription:et,addSection:$t,getSections:Ct,setShowData:yt,getShowData:Dt},bt=l((t,a)=>{tt(t,a),a.setShowData(t.showData),t.sections.map(a.addSection)},"populateDb"),Tt={parse:l(async t=>{const a=await ut("pie",t);E.debug(a),bt(a,U)},"parse")},At=l(t=>`
|
|
2
2
|
.pieCircle{
|
|
3
3
|
stroke: ${t.pieStrokeColor};
|
|
4
4
|
stroke-width : ${t.pieStrokeWidth};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as M}from"./BvFAWM27.js";import{a as v}from"./BdWqymET.js";import{d as E}from"./Br_KUH7F.js";import{Ig as o,Db as _,CD as C,g as y,uy as D,u8 as O,fY as H,BV as L,Cb as P,Eb as R,BZ as B}from"./BoIGV7s7.js";import{aY as p}from"./De3HYtL6.js";import{d as x}from"./B0Z-1lwJ.js";import{n as F}from"./
|
|
1
|
+
import{C as M}from"./BvFAWM27.js";import{a as v}from"./BdWqymET.js";import{d as E}from"./Br_KUH7F.js";import{Ig as o,Db as _,CD as C,g as y,uy as D,u8 as O,fY as H,BV as L,Cb as P,Eb as R,BZ as B}from"./BoIGV7s7.js";import{aY as p}from"./De3HYtL6.js";import{d as x}from"./B0Z-1lwJ.js";import{n as F}from"./wQb33ERJ.js";import{o as W,e as Y}from"./B33BBg7L.js";const u=new v("OpenMessage"),A=150,S=15e3,q=2,N=[150,400,800,1500,3e3],G=M;let g;function b(e){return new Promise(t=>setTimeout(t,e))}function m(e,t){const s=o.state,n=s.agentSessions?.byAgentId[e]?.messages,a=s.agentSessions?.historySegmentsByAgentId?.[e]?.messages;return!!(n?.some(r=>r.id===t)||a?.some(r=>r.id===t))}function k(e,t){const s=o.state,n=s.agentSessions?.historySegmentsByAgentId?.[e];n?.detachedFromTail!==!0||n.messages.some(r=>r.id===t)||!s.agentSessions?.byAgentId[e]?.messages?.some(r=>r.id===t)||o.dispatch(H(e))}function I(e){return o.state.chatState?.byAgentId[e]?.transcriptHydration}async function K(e,t,s){const n=Date.now()+S;let a=0;for(;Date.now()<n;){if(s.aborted)return!1;if(m(e,t))return!0;if(a>=q&&I(e)==="settled"&&!p.select(o.state,e).initialHistoryPending)return!1;a++,await b(A)}return!s.aborted&&m(e,t)}async function V(e,t,s,n){const a=Date.now()+S;for(;p.select(o.state,e).initialHistoryPending;){if(n?.aborted||Date.now()>=a)return!1;await b(A)}const r=o.state.agentSessions?.byAgentId[e];if(!r||n?.aborted)return!1;if(m(e,t))return k(e,t),!0;s??=r.workspaceId;const l=p.select(o.state,e);let c={nextToken:l.scrollbackOlderToken,prevToken:l.scrollbackGapToken,olderAnchorId:l.scrollbackOlderTokenAnchorId};o.dispatch(L(e,"seek"));const d=p.select(o.state,e).scrollbackDiscardEpoch,f=()=>!!o.state.agentSessions?.byAgentId[e]&&p.select(o.state,e).scrollbackDiscardEpoch===d;try{const i=await E.agents.getConversation(e,G,void 0,t,void 0,s);return n?.aborted||!f()||!i.messages.some(h=>h.id===t)?!1:(o.dispatch(P(e,i.messages,i.messages[0]?.seq)),i.nextToken===null&&o.dispatch(R(e)),c={nextToken:i.nextToken,prevToken:i.prevToken,olderAnchorId:i.messages[0]?.id??null},m(e,t))}catch(i){return u.warn("[seekConversationToMessage] Seek fetch failed (message may no longer exist)",{agentId:e,messageId:t,error:i}),!1}finally{f()&&o.dispatch(B(e,c))}}async function ee(e){if(e.signal?.aborted)return;g?.abort(),g=new AbortController;const t=e.signal?AbortSignal.any([g.signal,e.signal]):g.signal,{workspaceId:s,agentId:n,messageId:a,query:r,targetTabId:l}=e;u.info("[openMessage] Deep-opening conversation at message",{workspaceId:s,agentId:n,messageId:a});const c=s===y;c&&!e.contentAlreadyOpen&&(o.dispatch(_(n)),o.dispatch(C(y,n)),o.dispatch(D("chief")));const d=c?"/":Y(s);if(!e.contentAlreadyOpen&&typeof window<"u"&&window.location.pathname!==d){try{c?await F(d):await W(s)}catch(w){u.warn("[openMessage] Workspace navigation failed",{workspaceId:s,error:w});return}if(t.aborted)return;if(window.location.pathname!==d){u.warn("[openMessage] Workspace navigation was not confirmed",{workspaceId:s});return}}!e.contentAlreadyOpen&&!c&&o.dispatch(O(s,{agentId:n}));const f=await K(n,a,t);f&&k(n,a);const i=f||await V(n,a,s,t);if(t.aborted)return;if(!i){u.warn("[openMessage] Message not found; conversation opened at tail",{agentId:n,messageId:a});return}const h=`open-message-${Date.now()}-${Math.random().toString(36).slice(2)}`,T={agentId:n,messageId:a,query:r,targetTabId:l,requestId:h,signal:t};for(const w of N)setTimeout(()=>{t.aborted||x("chat:open-message",T)},w)}export{ee as openMessage,V as seekConversationToMessage};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Ig as d,rj as b,HV as S}from"./BoIGV7s7.js";import{U as A,bj as _}from"./VxpSEzE0.js";import{bu as k}from"./De3HYtL6.js";import{bM as y,bI as w}from"./
|
|
1
|
+
import{Ig as d,rj as b,HV as S}from"./BoIGV7s7.js";import{U as A,bj as _}from"./VxpSEzE0.js";import{bu as k}from"./De3HYtL6.js";import{bM as y,bI as w}from"./BJjlHQnx.js";import{bo as n}from"./CNdlzZOD.js";import{t as P}from"./HVSUZ4Kq.js";const B=d.createSelector(e=>e.backgroundAgentSettings.defaultModel),z=d.createSelector(e=>e.backgroundAgentSettings.typeOverrides),G=d.createSelector((e,t)=>!!(e.backgroundAgentSettings.typeOverrides[t]||e.backgroundAgentSettings.typeReasoningEffortOverrides[t])),j=d.createSelector(e=>e.backgroundAgentSettings.defaultReasoningEffort),W=d.createSelector(e=>e.backgroundAgentSettings.typeReasoningEffortOverrides),F=d.createSelector(e=>e.backgroundAgentSettings);function r(e){return{category:"settings",...e}}const f=[{id:"new-workspace",tab:"",label:"New workspace",route:"/workspace/new",category:"navigation",description:"Create-workspace flow."},r({id:"utility-default-model",tab:"providers",hashAliases:["utility-default-model","default-model","quickActions.defaultModel","backgroundAgents.defaultModel"],scrollSelector:"#utility-default-model",highlightSelector:'[data-highlight-id="utility-default-model"]',label:"Settings: Default model",route:"/settings?tab=providers#utility-default-model",description:"Default AI behavior model selection."}),r({id:"global-instructions",tab:"agent-behavior",hashAliases:["global-instructions","agents","specialists","all-agents"],scrollSelector:"#global-instructions",highlightSelector:'[data-highlight-id="global-instructions"]',label:"Settings: Agent Behavior",route:"/settings?tab=agent-behavior#global-instructions",description:"Global agent instructions and defaults."}),r({id:"create-specialist",tab:"specialists",hashAliases:["create-specialist"],scrollSelector:"#create-specialist",highlightSelector:'[data-highlight-id="create-specialist"]',label:"Settings: Create specialist",route:"/settings?tab=specialists&view=create-specialist#create-specialist",description:"Create-specialist entry point."}),r({id:"providers",tab:"providers",hashAliases:["providers"],scrollSelector:"#providers",highlightSelector:'[data-highlight-id="providers"]',label:"Settings: AI coding CLIs",route:"/settings?tab=providers#providers",description:"Provider/account selector settings."}),r({id:"integrations",tab:"connections",hashAliases:["integrations"],scrollSelector:"#integrations",highlightSelector:'[data-highlight-id="integrations"]',label:"Settings: Connections",route:"/settings?tab=connections#integrations",description:"Connected integrations settings."}),r({id:"devices",tab:"devices",hashAliases:["devices","machines"],scrollSelector:"#devices",highlightSelector:"#devices",label:"Settings: Machines",route:"/settings?tab=devices#devices",description:"Saved remote machine settings."}),r({id:"mobile",tab:"mobile",hashAliases:["mobile"],scrollSelector:"#mobile",highlightSelector:'[data-highlight-id="mobile"]',label:"Settings: Mobile",route:"/settings?tab=mobile#mobile",description:"Remote access and Intent Mobile pairing."}),r({id:"guest-sessions",tab:"collaboration",hashAliases:["collaboration","guest-sessions","sharing"],scrollSelector:"#collaboration",highlightSelector:"#collaboration",label:"Settings: Collaboration",route:"/settings?tab=collaboration#collaboration",description:"Host membership, workspace guests and joined hosts."}),r({id:"websocket-api",tab:"mobile",hashAliases:["websocket-api","remote-access"],scrollSelector:"#websocket-api",highlightSelector:'[data-highlight-id="websocket-api"]',label:"Settings: Remote Access",route:"/settings?tab=mobile#websocket-api",description:"Remote access (WebSocket API) settings."}),...[["voice","Voice Dictation","Voice dictation settings.","input"],["keyboard-shortcuts","Keyboard Shortcuts","Keyboard shortcuts reference.","input"],["mcp-servers","MCP Servers","MCP server configuration.","connections"],["plugins","Plugins","App-wide Agent Plugins.","connections"],["git-workspace","Git & Workspace","Git and workspace defaults.","setup"],["git","Git","Git defaults.","setup"],["shell","Shell","Shell and CLI optimization settings.","setup"],["workspace","Workspace","Workspace defaults.","setup"],["cli-optimization","CLI Optimization","RTK/CLI optimization settings.","setup"],["workspace-api","Tool Output & Retention","Tool output size and retention settings.","advanced"],["notifications","Notifications","Notification preferences.","app-behavior"],["updates","Updates","Application update preferences.","app-behavior"],["open-in","Open In","External editor/app launch preferences.","app-behavior"],["github-link-action","GitHub Links","GitHub issue and pull request link behavior.","app-behavior"],["agent-features","Agent Features","Agent feature settings.","agent-behavior"],["font-style","Font style","Font style settings.","display"],["language","Language","Application language settings.","display"],["labs","Labs","Experimental feature switches.","advanced"],["agent-backend","Agent Backend","Agent backend settings.","advanced"],["connection","Connection","Daemon connection details.","advanced"],["hardware","Hardware","Hardware integration settings.","advanced"],["developer","Developer","Development-only settings.","advanced"]].map(([e,t,i,a])=>r({id:e,tab:a,hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=${a}#${e}`,description:i})),r({id:"appearance",tab:"display",hashAliases:["appearance","theme"],scrollSelector:"#theme",highlightSelector:'[data-highlight-id="appearance"]',label:"Settings: Appearance",route:"/settings?tab=display#theme",description:"Theme mode controls."}),...[["color-theme","Color theme","Color theme selection."],["note-font","Notes font","Notes/spec font style."],["agent-chat-font","Agent chat font","Agent chat font style."],["code-font","Code font","Code editor and diff font."]].map(([e,t,i])=>r({id:e,tab:"display",hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=display#${e}`,description:i})),r({id:"general",tab:"advanced",hashAliases:["general","reset"],scrollSelector:"#reset",highlightSelector:'[data-highlight-id="general"]',label:"Settings: Advanced",route:"/settings?tab=advanced#reset",description:"Advanced settings and reset controls."}),{id:"workspace-card",tab:"",hashAliases:["workspace-card"],highlightSelector:'[data-highlight-id^="workspace-"]',label:"Workspace card",category:"workspace",description:"A workspace card on workspace list surfaces.",dynamic:!0,idPattern:"workspace-{workspaceId}"},{id:"specialist-entry",tab:"specialists",highlightSelector:'[data-highlight-id^="specialist-"]',label:"Specialist entry",route:"/settings?tab=specialists&specialist={specialistId}#specialist-{specialistId}",category:"specialist",description:"A specific specialist row in settings.",dynamic:!0,idPattern:"specialist-{specialistId}"}];function m(e){const t=e.indexOf("#"),i=t>=0?e.slice(t+1):e;return decodeURIComponent(i.replace(/^#/,"")).trim()}function I(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function M(e,t){if(!t.match(/\{[^}]+\}/g)?.length)return e===t;const a=t.split(/\{[^}]+\}/g).map(I).join("[^/]+");return new RegExp(`^${a}$`).test(e)}function R(e){const t=m(e);if(!t)return;const i=f.find(o=>o.id===t||o.hashAliases?.includes(t));if(i)return i;const a=f.find(o=>o.route&&o.dynamic&&o.idPattern&&M(t,o.idPattern));return a?{...a,id:t}:void 0}function T(e){try{return new URL(e,"app://intent").pathname||"/"}catch{const t=e.indexOf("?"),i=e.indexOf("#");let a=e.length;return t>=0&&(a=Math.min(a,t)),i>=0&&(a=Math.min(a,i)),e.slice(0,a)||"/"}}const E=new Set(f.flatMap(e=>e.route?[T(e.route)]:[])),C=[/^\/workspace\/[^/]+$/,/^\/agent\/[^/]+$/];function q(e){if(typeof e!="string")return!1;const t=e.trim();if(!t)return!1;if(t.startsWith("intent://"))return!0;let i,a;try{const o=new URL(t,"app://intent");if(o.protocol!=="app:")return!1;i=o.pathname||"/",a=m(o.hash)}catch{return!1}return E.has(i)?a?!!R(a):!0:C.some(o=>o.test(i))}const U=d.createSelector(e=>{const t=new Map,i=(s,c)=>{const g=t.get(s)??new Set;g.add(c),t.set(s,g)},a=k.select(e),o=A.select(e),h=_.select(e)[o];h&&o&&i(o,n.settings_providers_inUseDefaultModel_label({model:h})),b(o)&&!h&&i(o,n.settings_providers_inUseDefaultProvider_label());const u=e.backgroundAgentSettings?.providerId;u&&b(u)&&i(u,n.settings_providers_inUseQuickActions_label());for(const s of y.select(e)){const c=w.select(e,s.id),g=s.source?{project:n.settings_providers_pinSourceProject_label(),user:n.settings_providers_pinSourceUser_label(),bundled:n.settings_providers_pinSourceBundled_label(),builtin:n.settings_providers_pinSourceBuiltin_label(),"electron-store":n.settings_providers_pinSourceLegacy_label()}[s.source]:void 0,p=l=>g&&c?n.settings_providers_inUseSourcePath_label({reason:l,source:g,path:c}):g?n.settings_providers_inUseSource_label({reason:l,source:g}):c?n.settings_providers_inUsePath_label({reason:l,path:c}):l;if(s.codingAgent&&i(s.codingAgent,p(n.settings_providers_inUseSpecialistAgent_label({name:s.name}))),s.modelOptions?.forEach((l,v)=>{l.provider&&b(l.provider)&&i(l.provider,p(n.settings_providers_inUseSpecialistModelOption_label({name:s.name,position:P(v+1)})))}),s.defaultModel)if(s.defaultModel.includes(":")){const l=S(s.defaultModel).providerId??a;i(l,p(n.settings_providers_inUseSpecialistModel_label({name:s.name,model:s.defaultModel})))}else s.codingAgent||i(a,p(n.settings_providers_inUseSpecialistModel_label({name:s.name,model:s.defaultModel})))}return Object.fromEntries([...t].map(([s,c])=>[s,[...c].join(`
|
|
2
2
|
`)]))});d.createSelector((e,t)=>U.select(e)[t]??null);const O=[{id:"dracula",label:"Dracula"},{id:"nord",label:"Nord"},{id:"rose-pine",label:"Rosé Pine"},{id:"tokyo-night",label:"Tokyo Night"},{id:"solarized",label:"Solarized"},{id:"github",label:"GitHub"},{id:"high-contrast",label:"High Contrast"}],K=O.map(({id:e})=>e);export{K as T,O as a,j as b,F as c,z as d,W as e,G as f,U as g,q as i,R as r,B as s};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{bo as b,t as wt,bq as H,a_ as D,by as Tt,bs as xt,b as kt,bu as N}from"./CNdlzZOD.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as F,c9 as f,aA as R,aB as x,a5 as I,bA as A,bl as P,b_ as B,bO as S}from"./DYhIMPy1.js";import{G as St}from"./DrH3w3jB.js";import{c as Wt}from"./b0njYmMP.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./
|
|
1
|
+
import{bo as b,t as wt,bq as H,a_ as D,by as Tt,bs as xt,b as kt,bu as N}from"./CNdlzZOD.js";import{bs as It,ca as Q,aD as t,a7 as At,ay as X,W as w,bn as Pt,bS as F,c9 as f,aA as R,aB as x,a5 as I,bA as A,bl as P,b_ as B,bO as S}from"./DYhIMPy1.js";import{G as St}from"./DrH3w3jB.js";import{c as Wt}from"./b0njYmMP.js";import{C as q}from"./DypB-Dwi.js";import{L as $t}from"./CSiaiLHL.js";import"./HUDA8fiy.js";import"./9iFKJfkz.js";import"./DIh4SQwA.js";import{bc as Dt}from"./BIfN-lxi.js";import"./D3glRUn0.js";import"./DOMHFWTg.js";import{Ig as E,IM as Nt,J1 as Ft,IR as Bt,uF as Et}from"./BoIGV7s7.js";import{T as Lt}from"./DVrkIyN2.js";import{g as Ut}from"./DfN8_dcw.js";import{dp as Ot}from"./De3HYtL6.js";import{bN as jt,bK as Mt,b5 as Ht}from"./DQ_XjzmE.js";import"./BJyBc51V.js";import{M as Rt}from"./BfWiwhpc.js";import{V as Vt}from"./DPXmbcdl.js";import{O as qt}from"./DgjMPJcg.js";import{c as Gt}from"./ChTqQfQN.js";import{i as Jt}from"./H2jLkRRS.js";const T=new $t({category:"change-converters"});function V(e,n){return e.path||e.file||e.filePath||e.relativePath||n?.filePath}function Y(e,n){return{additions:e.additions??n?.additions??0,deletions:e.deletions??n?.deletions??0,binary:e.binary??!1}}function Kt(e,n){if(n.actor?.type==="agent"&&n.actor.id){const r=n.actor;return{agentId:r.id,agentName:r.name||b.fileTracking_changeTimeline_agent_fallback(),sessionId:r.sessionId||e.sessionId||"",turnNumber:r.turnNumber??e.turnNumber??0,messageId:r.messageId,timestamp:new Date(n.timestamp).getTime()}}if(e.agentId)return{agentId:e.agentId,agentName:e.agentName||b.fileTracking_changeTimeline_agent_fallback(),sessionId:e.sessionId||"",turnNumber:e.turnNumber||0,timestamp:new Date(n.timestamp).getTime()}}function Z(e,n){return{timestamp:new Date(e.timestamp).getTime(),manual:e.actor?.type==="user",agent:Kt(n,e)}}function tt(e,n){return{oldContent:n?.oldContent??e.oldContent,newContent:n?.newContent??e.newContent,diff:e.diff??n?.diff}}function et(e,n,r){return r!==void 0?`${e}-${n}-${r}`:`${e}-${n}`}function zt(e){try{const n=e.data||{},r=e.codeChange;T.debug("Converting event to TrackedChange",{eventType:e.type,eventId:e.id,hasData:!!n,hasCodeChange:!!r});const c=V(n,r);if(e.type.startsWith("file:")&&c){const d=Y(n,r);return T.debug("Creating TrackedChange for file event",{filePath:c,stats:d,hasDiff:!!(n.diff||r?.diff)}),[{id:et("event",e.id),file:c,relativePath:c,stage:q.Unstaged,stats:d,attribution:Z(e,n),content:tt(n,r)}]}return(e.type==="agent:completed"||e.type.startsWith("agent:"))&&n.fileChanges&&Array.isArray(n.fileChanges)?(T.debug("Creating TrackedChanges for agent event",{eventType:e.type,fileChangesCount:n.fileChanges.length,agentId:n.agentId}),n.fileChanges.filter(d=>V(d)?!0:(T.warn("Skipping file change without path",{change:d}),!1)).map((d,s)=>{const v=V(d);if(!v)throw new Error("file change without path");return{id:et("event",e.id,s),file:v,relativePath:v,stage:q.Unstaged,stats:Y(d),attribution:Z(e,n),content:tt(d)}})):(T.debug("No TrackedChanges created for event",{eventType:e.type,eventId:e.id,hasFilePath:!!c,hasFileChanges:!!(n.fileChanges&&Array.isArray(n.fileChanges))}),[])}catch(n){return T.error("Error converting event to TrackedChange",n instanceof Error?n:new Error(String(n)),{eventType:e.type,eventId:e.id}),[]}}function Qt(e){if(!e)return{oldContent:"",newContent:""};const n=[],r=[],c=e.split(`
|
|
2
2
|
`);c.length>0&&c[c.length-1]===""&&c.pop();let d=!1;for(const s of c)if(!(s.startsWith("diff --git")||s.startsWith("index ")||s.startsWith("--- ")||s.startsWith("+++ ")||s.startsWith("\"))){if(s.startsWith("@@")){d=!0;continue}d&&(s.startsWith("+")?r.push(s.slice(1)):s.startsWith("-")?n.push(s.slice(1)):s.startsWith(" ")?(n.push(s.slice(1)),r.push(s.slice(1))):s===""&&(n.push(""),r.push("")))}return{oldContent:n.join(`
|
|
3
3
|
`),newContent:r.join(`
|
|
4
4
|
`)}}var Xt=x("<!> <!>",1),Yt=x('<div class="flex items-center gap-1.5 px-3 py-1.5 text-xs text-subtle bg-muted/50 border-b border-border"><span> </span></div>'),Zt=x('<div class="flex flex-col h-full"><!> <div class="flex-1 min-h-0"><!></div></div>'),te=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <p class="text-xs opacity-70"> </p></div>'),ee=x('<p class="text-xs opacity-70"> </p>'),ne=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p> <!></div>');function ae(e,n){if(new.target)return wt({component:ae,...e});It(n,!0);const r=()=>N(lt,"$workspace",v),c=()=>N(st,"$foldUnchanged",v),d=()=>N(rt,"$lineWrapping",v),s=()=>N(ot,"$diffSideBySide",v),[v,nt]=xt(),at=a=>{Vt(a,{embedded:!0,get foldEnabled(){return c()},onToggleFold:()=>E.dispatch(Bt()),get wrapEnabled(){return d()},onToggleWrap:()=>E.dispatch(Ft()),get splitEnabled(){return s()},onToggleSplit:()=>E.dispatch(Nt())})},it=a=>{var i=Xt(),g=X(i);{let m=f(()=>b.layout_diffHeader_goToFile_tooltip());Wt(g,()=>Rt,(l,h)=>{h(l,{get icon(){return Dt},get label(){return t(m)},onclick:$=>ut()})})}var y=F(g,2);{var C=m=>{qt(m,{get filePath(){return t(J)},get workspaceId(){return _()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return t(O)}})};D(y,m=>{t(J)&&m(C)})}w(a,i)},rt=jt(),st=Mt(),ot=Ht(),dt=Gt("ActivityChangesTabType");let L=H(n,"tab",7),_=H(n,"workspaceId",7),U=H(n,"isActive",7);const G=Ut(),lt=Ot(_()),O=f(()=>r()?.worktreePath||r()?.repositoryPath||void 0),o=f(()=>L().data?.event),ct=f(()=>t(o)?zt(t(o)):[]),u=f(()=>t(ct)[0]),p=f(()=>t(u)?.relativePath||t(u)?.file||null),J=f(()=>t(p)&&t(O)?Jt(t(p))?t(p):`${t(O)}/${t(p)}`:null),j=f(()=>()=>{if(!t(o))return null;const a=t(o).data,i=t(o).codeChange;return a?.diff||i?.diff||t(u)?.content?.diff||null}),K=f(()=>()=>t(u)?.content?!!(t(u).content.oldContent&&t(u).content.newContent):!1);function ft(a){if(!a)return;const i=a.match(/@@ -(\d+)/);return i?parseInt(i[1],10):void 0}const k=f(()=>{if(t(K)()&&t(u)?.content)return{oldContent:t(u).content.oldContent??"",newContent:t(u).content.newContent??""};const a=t(j)();return a?Qt(a):null}),W=f(()=>ft(t(j)())),pt=f(()=>t(W)!==void 0&&t(W)>1),gt=f(()=>{const a=t(p)||"",i=t(o)?.data||{};return{id:`activity-${t(o)?.id||"unknown"}-${a}`,file:a,relativePath:a,stage:q.Committed,status:t(u)?.status||"modified",stats:{additions:i?.additions||t(u)?.stats?.additions||0,deletions:i?.deletions||t(u)?.stats?.deletions||0},attribution:{timestamp:t(o)?.timestamp?new Date(t(o).timestamp).getTime():Date.now()},content:t(k)?{oldContent:t(k).oldContent,newContent:t(k).newContent}:void 0}});function ut(a){if(!t(p))return;const g={type:"file",title:t(p).split("/").pop()||t(p),closable:!0,filePath:t(p),workspaceId:_()};E.dispatch(Et(_(),g))}Q(()=>{!G||!U()||G.registerActions({display:at,actions:it})}),Q(()=>{if(t(o)){const a=t(o).data;dt.debug("Activity event diff info",{eventType:t(o).type,eventId:t(o).id,filePath:t(p),hasDiffString:!!t(j)(),hasOldNewContent:t(K)(),hasDiffContents:!!t(k),dataAdditions:a?.additions,dataDeletions:a?.deletions})}});var ht={get tab(){return L()},set tab(a){L(a),R()},get workspaceId(){return _()},set workspaceId(a){_(a),R()},get isActive(){return U()},set isActive(a){U(a),R()},$set:Tt,$on:(a,i)=>kt(n,a,i)},z=At(),mt=X(z);{var vt=a=>{var i=Zt(),g=I(i);{var y=l=>{var h=Yt(),$=I(h),M=P($,!0);A(h),B(_t=>S(M,_t),[()=>b.layout_activityChanges_partialDiff_label({line:t(W)??0})]),w(l,h)};D(g,l=>{t(pt)&&l(y)})}var C=F(g,2),m=I(C);St(m,()=>`${t(o)?.id}-${t(p)}`,l=>{{let h=f(()=>s()?"split":"unified");Lt(l,{get change(){return t(gt)},get workspaceId(){return _()},get viewMode(){return t(h)},get foldUnchanged(){return c()},get lineWrapping(){return d()},get lineOffset(){return t(W)}})}}),A(C),A(i),w(a,i)},yt=a=>{var i=te(),g=I(i),y=P(g,!0),C=F(g,2),m=P(C,!0);A(i),B((l,h)=>{S(y,l),S(m,h)},[()=>b.layout_activityChanges_noDiffStored_label(),()=>b.layout_activityChanges_diffNotCaptured_description()]),w(a,i)},Ct=a=>{var i=ne(),g=I(i),y=P(g,!0),C=F(g,2);{var m=l=>{var h=ee(),$=P(h,!0);B(M=>S($,M),[()=>b.layout_activityChanges_eventType_label({type:t(o).type})]),w(l,h)};D(C,l=>{t(o)&&l(m)})}A(i),B(l=>S(y,l),[()=>b.layout_activityChanges_noChanges_label()]),w(a,i)};D(mt,a=>{t(p)&&t(k)?a(vt):t(p)?a(yt,1):a(Ct,-1)})}w(e,z);var bt=Pt(ht);return nt(),bt}export{ae as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as se,bq as a,a_ as ie,by as ae,b as le}from"./CNdlzZOD.js";import{bs as oe,bV as ge,br as ue,ca as ce,bH as q,a5 as p,bA as m,bS as V,aD as C,b_ as P,W as w,bn as he,c9 as W,aA as l,bl as de,bO as me,aB as I}from"./DYhIMPy1.js";import{n as Y,v,p as fe,w as ve}from"./9iFKJfkz.js";import{z as be}from"./
|
|
1
|
+
import{t as se,bq as a,a_ as ie,by as ae,b as le}from"./CNdlzZOD.js";import{bs as oe,bV as ge,br as ue,ca as ce,bH as q,a5 as p,bA as m,bS as V,aD as C,b_ as P,W as w,bn as he,c9 as W,aA as l,bl as de,bO as me,aB as I}from"./DYhIMPy1.js";import{n as Y,v,p as fe,w as ve}from"./9iFKJfkz.js";import{z as be}from"./DOMHFWTg.js";import{H as R}from"./CcNhqKh5.js";import{C as _e}from"./DhFS-yhc.js";function A(r){const t={"&":"&","<":"<",">":">",'"':""","'":"'"};return r.replace(/[&<>"']/g,n=>t[n])}const pe=300,Ce=2e6,xe=1e5,u=new Map;let X=0;function Q(r,t){return`${t}\0${r}`}function Z(r,t){const n=Q(r,t),s=u.get(n);return s===void 0?null:(u.delete(n),u.set(n,s),s)}function F(r){const t=u.get(r);t!==void 0&&(X-=r.length+t.length,u.delete(r))}function He(r,t){F(r);const n=r.length+t.length;if(!(n>xe)){for(;u.size>=pe||u.size>0&&X+n>Ce;){const s=u.keys().next().value;if(s===void 0)break;F(s)}u.set(r,t),X+=n}}function ye(){return new Promise(r=>{typeof requestIdleCallback=="function"?requestIdleCallback(()=>r(),{timeout:200}):setTimeout(r,0)})}function Ne(r,t){try{return t&&R.getLanguage(t)?R.highlight(r,{language:t}).value:R.highlightAuto(r).value}catch{return A(r)}}const k=new Map;function Le(r,t,n){const s=Q(r,t),f=u.get(s);if(f!==void 0)return Promise.resolve(f);const c=k.get(s);if(c)return c.staleChecks.push(n??(()=>!1)),c.promise;const g={staleChecks:[n??(()=>!1)],promise:Promise.resolve("")};return g.promise=ye().then(()=>{if(k.get(s)===g&&k.delete(s),g.staleChecks.every(x=>x()))return A(r);const b=Ne(r,t);return He(s,b),b}),k.set(s,g),g.promise}var we=I("<div> </div>"),ke=I('<div class="line-numbers-gutter select-none text-right flex-shrink-0 py-3 pl-3 pr-2 svelte-1irg7m4"></div>'),Ae=I("<div></div>"),Ie=I('<div><div class="absolute top-2 right-2 opacity-0 group-hover:opacity-100 transition-opacity z-10"><!></div> <div class="flex"><!> <div><pre><code></code></pre></div></div></div>');function Se(r,t){if(new.target)return se({component:Se,...r});oe(t,!0);const n=a(t,"code",7,""),s=a(t,"language",7,"plaintext"),f=a(t,"showLineNumbers",7,!1),c=a(t,"startLineNumber",7,1),g=a(t,"highlightLines",23,()=>[]),b=a(t,"fileName",7,""),x=a(t,"filename",7,""),H=a(t,"maxHeight",7,void 0),S=a(t,"noBorder",7,!1),y=a(t,"noMargin",7,!1),M=a(t,"doScroll",7,!0),B=a(t,"className",7,"");let N=ge(ue(Z(n(),s())??A(n())));ce(()=>{const e=n(),i=s(),h=Z(e,i);if(h!==null){q(N,h,!0);return}q(N,A(e),!0);let o=!1;return Le(e,i,()=>o).then(d=>{o||q(N,d,!0)}),()=>{o=!0}});const j=W(()=>C(N).split(`
|
|
2
2
|
`)),U=W(()=>Array.from({length:C(j).length},(e,i)=>c()+i));var $={get code(){return n()},set code(e=""){n(e),l()},get language(){return s()},set language(e="plaintext"){s(e),l()},get showLineNumbers(){return f()},set showLineNumbers(e=!1){f(e),l()},get startLineNumber(){return c()},set startLineNumber(e=1){c(e),l()},get highlightLines(){return g()},set highlightLines(e=[]){g(e),l()},get fileName(){return b()},set fileName(e=""){b(e),l()},get filename(){return x()},set filename(e=""){x(e),l()},get maxHeight(){return H()},set maxHeight(e=void 0){H(e),l()},get noBorder(){return S()},set noBorder(e=!1){S(e),l()},get noMargin(){return y()},set noMargin(e=!1){y(e),l()},get doScroll(){return M()},set doScroll(e=!0){M(e),l()},get className(){return B()},set className(e=""){B(e),l()},$set:ae,$on:(e,i)=>le(t,e,i)},_=Ie();let D;var G=p(_),ee=p(G);_e(ee,{get text(){return n()},size:"xs",class:"bg-background/80 hover:bg-hover text-muted-foreground hover:text-foreground backdrop-blur-sm"}),m(G);var J=V(G,2),K=p(J);{var te=e=>{var i=ke();Y(i,20,()=>C(U),h=>h,(h,o)=>{var d=we();let L;var re=de(d,!0);P(ne=>{L=v(d,1,"line-number svelte-1irg7m4",null,L,{highlighted:ne}),me(re,o)},[()=>g().includes(o)]),w(h,d)}),m(i),w(e,i)};ie(K,e=>{f()&&e(te)})}var z=V(K,2),E=p(z);let O;var T=p(E);return Y(T,21,()=>C(j),fe,(e,i,h)=>{var o=Ae();let d;be(o,()=>C(i)||" ",!0),m(o),P(L=>d=v(o,1,"code-line svelte-1irg7m4",null,d,{highlighted:L}),[()=>g().includes(c()+h)]),w(e,o)}),m(T),m(E),m(z),m(J),m(_),P(()=>{D=v(_,1,`code-block-container group rounded-md overflow-hidden relative ${B()??""}`,"svelte-1irg7m4",D,{"mt-3":!y(),"mb-5":!y(),"no-border":S()}),ve(_,H()?`max-height: ${H()}px; overflow-y: auto;`:""),v(z,1,`flex-1 ${M()?"overflow-x-auto":""}`),O=v(E,1,"code-pre py-3 pr-3 bg-background! svelte-1irg7m4",null,O,{"pl-3":!f()}),v(T,1,`hljs language-${s()??""}`,"svelte-1irg7m4")}),w(r,_),he($)}export{Se as C};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as fe}from"./
|
|
1
|
+
import{g as fe}from"./vxHpfx-7.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./D2YHDAng.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as n}from"./
|
|
1
|
+
import{g as p,r as u,d as n}from"./O5KlKm48.js";import{p as f}from"./Bk8FW95r.js";import{b as a,ay as o}from"./D2YHDAng.js";import{M as c,c as d}from"./CFXA-WTd.js";var v=d().RailroadAbnf.parser.LangiumParser,i=a(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=a(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=a(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=a(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=a(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=a(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=a(e=>{f(e,n),e.title&&n.setTitle(e.title),e.rules.map(r=>n.addRule(P(r)))},"populateDb"),R={parse:a(e=>{n.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:n}},w={parser:R,db:n,renderer:u,styles:p};export{w as diagram};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as o,X as ot,aH as ut,aX as dt,i as yt,r as ft,z as pt,b0 as it,V as gt,a_ as kt,U as mt,aZ as wt,Y as _t,B as bt}from"./
|
|
1
|
+
import{b as o,X as ot,aH as ut,aX as dt,i as yt,r as ft,z as pt,b0 as it,V as gt,a_ as kt,U as mt,aZ as wt,Y as _t,B as bt}from"./D2YHDAng.js";var J=(function(){var e=o(function(T,t,s,i){for(s=s||{},i=T.length;i--;s[T[i]]=t);return s},"o"),h=[1,4],r=[1,14],a=[1,12],l=[1,13],y=[6,7,8],f=[1,20],d=[1,18],m=[1,19],u=[6,7,11],k=[1,6,13,14],g=[1,23],_=[1,24],x=[1,6,7,11,13,14],D={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:o(function(t,s,i,c,p,n,v){var w=n.length-1;switch(p){case 6:case 7:return c;case 15:c.addNode(n[w-1].length,n[w].trim());break;case 16:c.addNode(0,n[w].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:r,7:[1,10],9:9,12:11,13:a,14:l},e(y,[2,3]),{1:[2,2]},e(y,[2,4]),e(y,[2,5]),{1:[2,6],6:r,12:15,13:a,14:l},{6:r,9:16,12:11,13:a,14:l},{6:f,7:d,10:17,11:m},e(u,[2,18],{14:[1,21]}),e(u,[2,16]),e(u,[2,17]),{6:f,7:d,10:22,11:m},{1:[2,7],6:r,12:15,13:a,14:l},e(k,[2,14],{7:g,11:_}),e(x,[2,8]),e(x,[2,9]),e(x,[2,10]),e(u,[2,15]),e(k,[2,13],{7:g,11:_}),e(x,[2,11]),e(x,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(t,s){if(s.recoverable)this.trace(t);else{var i=new Error(t);throw i.hash=s,i}},"parseError"),parse:o(function(t){var s=this,i=[0],c=[],p=[null],n=[],v=this.table,w="",I=0,$=0,L=2,A=1,V=n.slice.call(arguments,1),b=Object.create(this.lexer),S={yy:{}};for(var B in this.yy)Object.prototype.hasOwnProperty.call(this.yy,B)&&(S.yy[B]=this.yy[B]);b.setInput(t,S.yy),S.yy.lexer=b,S.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var R=b.yylloc;n.push(R);var U=b.options&&b.options.ranges;typeof S.yy.parseError=="function"?this.parseError=S.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Y(P){i.length=i.length-2*P,p.length=p.length-P,n.length=n.length-P}o(Y,"popStack");function tt(){var P;return P=c.pop()||b.lex()||A,typeof P!="number"&&(P instanceof Array&&(c=P,P=c.pop()),P=s.symbols_[P]||P),P}o(tt,"lex");for(var M,W,N,K,z={},G,C,et,X;;){if(W=i[i.length-1],this.defaultActions[W]?N=this.defaultActions[W]:((M===null||typeof M>"u")&&(M=tt()),N=v[W]&&v[W][M]),typeof N>"u"||!N.length||!N[0]){var q="";X=[];for(G in v[W])this.terminals_[G]&&G>L&&X.push("'"+this.terminals_[G]+"'");b.showPosition?q="Parse error on line "+(I+1)+`:
|
|
2
2
|
`+b.showPosition()+`
|
|
3
3
|
Expecting `+X.join(", ")+", got '"+(this.terminals_[M]||M)+"'":q="Parse error on line "+(I+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(q,{text:b.match,token:this.terminals_[M]||M,line:b.yylineno,loc:R,expected:X})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+W+", token: "+M);switch(N[0]){case 1:i.push(M),p.push(b.yytext),n.push(b.yylloc),i.push(N[1]),M=null,$=b.yyleng,w=b.yytext,I=b.yylineno,R=b.yylloc;break;case 2:if(C=this.productions_[N[1]][1],z.$=p[p.length-C],z._$={first_line:n[n.length-(C||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(C||1)].first_column,last_column:n[n.length-1].last_column},U&&(z._$.range=[n[n.length-(C||1)].range[0],n[n.length-1].range[1]]),K=this.performAction.apply(z,[w,$,I,S.yy,N[1],p,n].concat(V)),typeof K<"u")return K;C&&(i=i.slice(0,-1*C*2),p=p.slice(0,-1*C),n=n.slice(0,-1*C)),i.push(this.productions_[N[1]][0]),p.push(z.$),n.push(z._$),et=v[i[i.length-2]][i[i.length-1]],i.push(et);break;case 3:return!0}}return!0},"parse")},O=(function(){var T={EOF:1,parseError:o(function(s,i){if(this.yy.parser)this.yy.parser.parseError(s,i);else throw new Error(s)},"parseError"),setInput:o(function(t,s){return this.yy=s||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var s=t.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:o(function(t){var s=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var c=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===c.length?this.yylloc.first_column:0)+c[c.length-i.length].length-i[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(t){this.unput(this.match.slice(t))},"less"),pastInput:o(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var t=this.pastInput(),s=new Array(t.length+1).join("-");return t+this.upcomingInput()+`
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{_ as i}from"./CNdlzZOD.js";import{c as m}from"./ChTqQfQN.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}let _=0;function f(){_+=1}function E(){return _}const h=m("Navigation"),w="settings-previous-path";function r(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function l(t,a={}){if(d()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){h.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=a.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||f(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:e}=await import("./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/C2uKsJY1.js","/app/immutable/chunks/CNdlzZOD.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/BoIGV7s7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D1Wd8yWC.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/DIh4SQwA.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/DrH3w3jB.js","/app/immutable/chunks/Br_KUH7F.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/D3glRUn0.js","/app/immutable/chunks/9iFKJfkz.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/b0njYmMP.js","/app/immutable/chunks/CrN8CpnY.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBy57-xG.js","/app/immutable/chunks/DVe2mCXY.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/Bv_0taxh.js","/app/immutable/chunks/CWRkcPxW.js","/app/immutable/chunks/DhFS-yhc.js","/app/immutable/chunks/HVSUZ4Kq.js","/app/immutable/chunks/BOR1_TRO.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BIfN-lxi.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/De3HYtL6.js","/app/immutable/chunks/C9ruBEtx.js","/app/immutable/chunks/evMM8bqV.js","/app/immutable/chunks/13JKYtK_.js","/app/immutable/chunks/B9k9ipWN.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/BirvpWBa.js","/app/immutable/chunks/DaKr8JPs.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as i}from"./CNdlzZOD.js";import{c as m}from"./ChTqQfQN.js";function d(){return typeof window<"u"&&window.location.pathname.startsWith("/hud")}let _=0;function f(){_+=1}function E(){return _}const h=m("Navigation"),w="settings-previous-path";function r(t){return/^\/settings(?:[/?#]|$)/.test(t)}async function l(t,a={}){if(d()||typeof window<"u"&&/^\/dock(?:\/|$)/.test(window.location.pathname)){h.debug("Ignoring navigation in auxiliary window",{route:t});return}const c=a.assistantContent||t.startsWith("intent://")||/^https?:\/\//.test(t);if(c||f(),c){const{showAssistantContent:n}=await i(async()=>{const{showAssistantContent:e}=await import("./C2uKsJY1.js");return{showAssistantContent:e}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38]),import.meta.url);if(await n(t,{preserveFocus:!0,background:a.assistantContent===!0,agentId:a.assistantAgentId})){if(a.assistantContent)return;const{openPanel:e}=await i(async()=>{const{openPanel:o}=await import("./BoIGV7s7.js").then(s=>s.HQ);return{openPanel:o}},__vite__mapDeps([3,4,2,5,6,7,8,1,9,10,11]),import.meta.url),{store:g}=await i(async()=>{const{store:o}=await import("./B9k9ipWN.js");return{store:o}},__vite__mapDeps([39,3,4,2,5,6,7,8,1,9,10,11,40,41]),import.meta.url);g.dispatch(e("chief"));const{goto:p}=await i(async()=>{const{goto:o}=await import("./DaKr8JPs.js").then(s=>s.n);return{goto:o}},__vite__mapDeps([42,2]),import.meta.url);window.location.pathname!=="/"&&await p("/");return}}if(r(t)&&typeof window<"u"&&typeof sessionStorage<"u"&&!r(window.location.pathname)){const n=new URL(window.location.href);sessionStorage.setItem(w,n.pathname+n.search+n.hash)}const{goto:u}=await i(async()=>{const{goto:n}=await import("./DaKr8JPs.js").then(e=>e.n);return{goto:n}},__vite__mapDeps([42,2]),import.meta.url);return a.state?u(t,{state:a.state}):u(t)}const P=Object.freeze(Object.defineProperty({__proto__:null,SETTINGS_PREV_PATH_KEY:w,isHudWindowRenderer:d,isSettingsRoute:r,navigateToRoute:l},Symbol.toStringTag,{value:"Module"}));export{w as S,r as a,f as b,E as c,P as d,d as i,l as n};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{t as D,bq as d,a_ as P,by as b,b as S}from"./CNdlzZOD.js";import{bs as x,a7 as A,ay as C,W as M,bn as z,aA as m,aD as i,c9 as c}from"./DYhIMPy1.js";import{D as f,M as B}from"./
|
|
1
|
+
import{t as D,bq as d,a_ as P,by as b,b as S}from"./CNdlzZOD.js";import{bs as x,a7 as A,ay as C,W as M,bn as z,aA as m,aD as i,c9 as c}from"./DYhIMPy1.js";import{D as f,M as B}from"./D2YHDAng.js";import{S as N,p as R}from"./CX1z_2lx.js";import{N as W}from"./DQ_XjzmE.js";import{Ig as $,uR as j,be as E}from"./BoIGV7s7.js";import{x as J}from"./DOMHFWTg.js";import{a0 as K}from"./De3HYtL6.js";function O(l,s){if(new.target)return D({component:O,...l});x(s,!0);let o=d(s,"kind",7),t=d(s,"source",7),a=d(s,"workspaceId",7);const g=new W,u=c(()=>{if(o()==="mermaid")return null;const e=g.parseMarkdown(`\`\`\`ws-block:diagram
|
|
2
2
|
${t()}
|
|
3
3
|
\`\`\``)[0],r=e?.primitive.type==="diagram"?JSON.stringify(e.primitive):t();return R(r,!0)});function k(e,r){if(!a()||!r.target)return;const n={openInAdjacentPanel:e.metaKey||e.ctrlKey,sourcePanelId:e.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0};r.type==="file"?$.dispatch(j(a(),r.target,n)):r.type==="note"&&J(K(r.target,a()),{...n,workspaceId:E(a()),event:e})}var w={get kind(){return o()},set kind(e){o(e),m()},get source(){return t()},set source(e){t(e),m()},get workspaceId(){return a()},set workspaceId(e){a(e),m()},$set:b,$on:(e,r)=>S(s,e,r)},p=A(),y=C(p);{var I=e=>{f(e,{kind:"mermaid",rendererOwnsActions:!0,children:(r,n)=>{B(r,{get code(){return t()},showExportButton:!0})},$$slots:{default:!0}})},_=e=>{f(e,{kind:"custom",children:(r,n)=>{{let h=c(()=>i(u)?.diagram??null),v=c(()=>i(u)?.error);N(r,{get diagram(){return i(h)},get source(){return t()},get sourceError(){return i(v)},onBindingClick:k})}},$$slots:{default:!0}})};P(y,e=>{o()==="mermaid"?e(I):e(_,-1)})}return M(l,p),z(w)}export{O as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/se5GXd0p.js","/app/immutable/chunks/CrN8CpnY.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CNdlzZOD.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/se5GXd0p.js","/app/immutable/chunks/CrN8CpnY.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/chunks/CNdlzZOD.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/nodes/0.5BN29aF9.js","/app/immutable/chunks/DIh4SQwA.js","/app/immutable/chunks/DrH3w3jB.js","/app/immutable/chunks/BlmamAqo.js","/app/immutable/chunks/BoIGV7s7.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D1Wd8yWC.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/B9k9ipWN.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/BirvpWBa.js","/app/immutable/chunks/C9ruBEtx.js","/app/immutable/chunks/wQb33ERJ.js","/app/immutable/assets/0.BHoek2bX.css","/app/immutable/nodes/1.CScjxXfi.js","/app/immutable/chunks/DaKr8JPs.js","/app/immutable/chunks/DLxs6eHm.js","/app/immutable/chunks/BIfN-lxi.js","/app/immutable/chunks/b0njYmMP.js","/app/immutable/chunks/9iFKJfkz.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/D3glRUn0.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/nodes/2.CahtYp3d.js","/app/immutable/chunks/Dc2Hdtlu.js","/app/immutable/chunks/HVSUZ4Kq.js","/app/immutable/chunks/De3HYtL6.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/B33BBg7L.js","/app/immutable/chunks/CMWbuQ77.js","/app/immutable/chunks/CTG5TYyy.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Bv_0taxh.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/DFEZ3HlX.js","/app/immutable/chunks/BBy57-xG.js","/app/immutable/chunks/DVe2mCXY.js","/app/immutable/chunks/Br_KUH7F.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/DQ_XjzmE.js","/app/immutable/chunks/BJjlHQnx.js","/app/immutable/chunks/DhFS-yhc.js","/app/immutable/chunks/BOR1_TRO.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/BdQCA_Nv.js","/app/immutable/chunks/VxpSEzE0.js","/app/immutable/chunks/evMM8bqV.js","/app/immutable/chunks/D-Xd8btl.js","/app/immutable/chunks/B0J8YEPJ.js","/app/immutable/chunks/6StQr10j.js","/app/immutable/chunks/DIP3ex32.js","/app/immutable/chunks/CWPMHNwU.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/B7dOkBeu.js","/app/immutable/chunks/dd8yLL6Y.js","/app/immutable/chunks/Cageks4o.js","/app/immutable/chunks/oE7MOocS.js","/app/immutable/chunks/Cue9ti62.js","/app/immutable/chunks/DB8SI3db.js","/app/immutable/chunks/13JKYtK_.js","/app/immutable/chunks/OsOeZocr.js","/app/immutable/chunks/BRpgL-_J.js","/app/immutable/chunks/OhUwMaQy.js","/app/immutable/chunks/Co3V5w5D.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/D8iLOeUT.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/DVAV2MG2.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/CMmbfhfC.js","/app/immutable/chunks/DVEpt846.js","/app/immutable/chunks/DnkVLfZ3.js","/app/immutable/chunks/D6R6bmhK.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/CVy7yS5O.js","/app/immutable/chunks/Cb0R6qJM.js","/app/immutable/chunks/Q9zhiNlv.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/4IYHA49l.js","/app/immutable/chunks/B8AHyIcJ.js","/app/immutable/chunks/AuTI2CWB.js","/app/immutable/chunks/ZynkSP7B.js","/app/immutable/chunks/BiYl2nZq.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/chunks/lkH5RFQO.js","/app/immutable/chunks/DOMHFWTg.js","/app/immutable/chunks/EotFP58O.js","/app/immutable/chunks/BY8Jls8O.js","/app/immutable/chunks/CR1VVB-y.js","/app/immutable/chunks/C58HgKcj.js","/app/immutable/chunks/BJyBc51V.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/BsieX9dN.js","/app/immutable/assets/observe-overflow.CbDLK6fN.css","/app/immutable/chunks/4Zskc9_e.js","/app/immutable/chunks/C6DXM5lO.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/bkMlvHq9.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/Cds8-CeJ.js","/app/immutable/chunks/5fWnBOdu.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css","/app/immutable/chunks/mo2YzLEW.js","/app/immutable/chunks/X9_JIY5I.js","/app/immutable/chunks/CKGr2YTz.js","/app/immutable/chunks/sAd9qIlC.js","/app/immutable/chunks/MIydPOVw.js","/app/immutable/chunks/C4Tw7-py.js","/app/immutable/chunks/DbRrqEgU.js","/app/immutable/chunks/B9xeURWe.js","/app/immutable/assets/AttachmentPreview.BCSCCZGm.css","/app/immutable/chunks/jgnoBIlD.js","/app/immutable/chunks/DqFGUV9A.js","/app/immutable/chunks/9xAB6iEw.js","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/Rp4RZapB.js","/app/immutable/chunks/-DqWFMjY.js","/app/immutable/chunks/DR6SSU50.js","/app/immutable/chunks/D-N7efrx.js","/app/immutable/chunks/jD6u_pUu.js","/app/immutable/assets/CompactWorkspaceInitializer.InGGWMfl.css","/app/immutable/chunks/M47n670V.js","/app/immutable/chunks/DrQhi0x7.js","/app/immutable/assets/accessibility.CP-rioAF.css","/app/immutable/chunks/BalE-G27.js","/app/immutable/chunks/BJptJeKO.js","/app/immutable/chunks/9jHc2HrQ.js","/app/immutable/chunks/p7znhYIU.js","/app/immutable/chunks/Ddqq3yIK.js","/app/immutable/chunks/CeL4K7HS.js","/app/immutable/chunks/BZs8VpCk.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/assets/2.DBD158ED.css","/app/immutable/nodes/3.D_5wExma.js","/app/immutable/nodes/4.JCAab1Hg.js","/app/immutable/nodes/5.piNO_yu5.js","/app/immutable/chunks/CTbAPBO1.js","/app/immutable/chunks/BfWiwhpc.js","/app/immutable/chunks/DfN8_dcw.js","/app/immutable/chunks/CrvlOH-I.js","/app/immutable/chunks/D2b0ISji.js","/app/immutable/chunks/CsO2DeV8.js","/app/immutable/chunks/BuvFVaAY.js","/app/immutable/chunks/DfqvT9D7.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/BgxXTSJ6.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/DgjMPJcg.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/assets/ResizablePanel.DF8NAXK-.css","/app/immutable/chunks/CWXjKpBJ.js","/app/immutable/chunks/D9NH4H5p.js","/app/immutable/chunks/DGtVq4eo.js","/app/immutable/chunks/D0h0gCpu.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/HUDA8fiy.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/pLn5y1p2.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/D2YHDAng.js","/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css","/app/immutable/chunks/VCguIe99.js","/app/immutable/chunks/CWRkcPxW.js","/app/immutable/chunks/C2uKsJY1.js","/app/immutable/chunks/BfIdeT8L.js","/app/immutable/chunks/CX1z_2lx.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.CWdkjFsY.css","/app/immutable/chunks/Cnj-ocZi.js","/app/immutable/chunks/BzV5CowC.js","/app/immutable/chunks/B7vTVGVv.js","/app/immutable/chunks/D4cQTEB9.js","/app/immutable/chunks/CwBXGgp6.js","/app/immutable/assets/conversation-turns.BHHyRLdd.css","/app/immutable/chunks/DfxmKh09.js","/app/immutable/chunks/D7pisHI7.js","/app/immutable/chunks/CuF24etW.js","/app/immutable/chunks/hwMB9Jx_.js","/app/immutable/chunks/PpSNoAPM.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/chunks/DkjTOoF5.js","/app/immutable/assets/DockRecordingEditor.Cpd07eyT.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/assets/5.DBgC2kSL.css","/app/immutable/nodes/6.DXnvvORl.js","/app/immutable/assets/6.D6ebrVTb.css","/app/immutable/nodes/7.Cd-oGu-r.js","/app/immutable/chunks/CvDuI1Ad.js","/app/immutable/nodes/8.DhDtXFsS.js","/app/immutable/chunks/DFGQ_Wfv.js","/app/immutable/chunks/4xlJdO9z.js","/app/immutable/chunks/-xCKOX3D.js","/app/immutable/chunks/2BNczbc1.js","/app/immutable/chunks/rz5fXBI2.js","/app/immutable/assets/8._uRcFklA.css","/app/immutable/nodes/9.C3bc0Vuy.js","/app/immutable/chunks/CqajeRKF.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/D8kh7QqM.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/9o72bVmU.js","/app/immutable/assets/scroll-area.bHHIbcsu.css","/app/immutable/chunks/BUcg736f.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/DXmYCfpj.js","/app/immutable/chunks/BrXRAcqE.js","/app/immutable/chunks/C4GW1bio.js","/app/immutable/assets/9.QLJOd4KT.css","/app/immutable/nodes/10.DVkuwBxJ.js","/app/immutable/assets/10.BO7QC36g.css","/app/immutable/nodes/11.fqpT905Q.js","/app/immutable/nodes/12.CZF6J8V0.js","/app/immutable/assets/12.CF5xLHXq.css","/app/immutable/nodes/13.CmgBwUCN.js","/app/immutable/chunks/6eTaxSHq.js","/app/immutable/assets/13.BuZANxI8.css","/app/immutable/nodes/14.CQFNVlAh.js","/app/immutable/assets/14.CU62PBbE.css","/app/immutable/nodes/15.D8X9TwUZ.js","/app/immutable/assets/15.DBFWhlfB.css","/app/immutable/nodes/16.DDUlFhjD.js","/app/immutable/assets/16.DdJIHg9f.css","/app/immutable/nodes/17.N0O7ruOc.js","/app/immutable/assets/17.Cznk2DRv.css"])))=>i.map(i=>d[i]);
|
|
2
2
|
import{_ as a,bo as X,t as lt,bq as g,a_ as k,by as dt,b as pt,c as gt}from"../chunks/CNdlzZOD.js";import{l as w}from"../chunks/BdWqymET.js";import{s as ft}from"../chunks/D-N7efrx.js";import{bs as Et,cb as vt,ca as Tt,bk as bt,aD as c,bH as F,c0 as ht,ay as T,bS as It,W as m,bn as At,bV as U,aA as f,a7 as I,c9 as L,a5 as Ot,bA as Rt,aB as Z,b$ as Pt,b_ as Dt,bO as yt}from"../chunks/DYhIMPy1.js";import{c as S}from"../chunks/b0njYmMP.js";import{b as V}from"../chunks/BaIAhI85.js";const Lt=async()=>{window.location.pathname.startsWith("/sandbox")||await a(()=>import("../chunks/se5GXd0p.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)},St=/^[a-zA-Z_$]{1,3}\.call is not a function$/;function Vt(t){return t instanceof Error&&t.name==="TypeError"&&St.test(t.message)&&typeof t.stack=="string"&&t.stack.includes("bits-ui")}const q=500,xt=8,kt=/[a-z][a-z0-9+.-]*:\/\/\S+/gi,wt=/[)\]}>'".,;:]+$/,Nt=/[^/]+\.[cm]?[jt]s(?::\d+){0,2}$/;function Ct(t){const e=wt.exec(t)?.[0]??"",o=t.slice(0,t.length-e.length),n=o.indexOf("://"),i=o.slice(0,n),s=o.slice(n+3).split("#")[0].split("?")[0],u=s.indexOf("/"),l=u===-1?s:s.slice(0,u),d=l.slice(l.lastIndexOf("@")+1),p=u===-1?"":s.slice(u);if(p===""||p==="/")return`${i}://${d}${e}`;const O=Nt.exec(p)?.[0];return`${i}://${d}/${O??"<redacted>"}${e}`}function x(t){const e=t.replace(kt,Ct);return e.length>q?`${e.slice(0,q)}…`:e}function jt(t){return typeof t!="string"||t.length===0?null:t.split(`
|
|
3
3
|
`).slice(0,xt).map(x).join(`
|
|
4
|
-
`)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(w.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{w.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),w.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(w.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),Tt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=T(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=T(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var b=Pt();Dt(()=>yt(b,c(B))),m(v,b)};k(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};k(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.BtuyckLI.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,14,2,15,16,17,18,19,20]),import.meta.url),()=>a(()=>import("../nodes/1.BlE22l2r.js"),__vite__mapDeps([21,4,5,22,23,24,25,7,26,3,27,28,29,8,1,2,30]),import.meta.url),()=>a(()=>import("../nodes/2.C6nyC7hb.js"),__vite__mapDeps([31,4,5,7,32,10,11,12,13,3,14,2,8,24,25,26,27,33,34,35,28,29,1,30,18,22,36,19,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,9,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,16,121,122,123,124,125,126,127,128,129,130,131,132,133,23,134,135,136,137,138,139,140,141,142,143,144]),import.meta.url),()=>a(()=>import("../nodes/3.1uPqjsRC.js"),__vite__mapDeps([145,4,5,33,26,7,3,27,22,23,24,25,28,29,8,1,2,30,38,39,37,40,34,10,11,12,13,14,35,18,41,19,36]),import.meta.url),()=>a(()=>import("../nodes/4.BjOowzuW.js"),__vite__mapDeps([146,4,5,7,9,8,3,43,10,11,12,13,14,2,34,24,25,26,27,35,28,29,1,30,18,33,44,39,45,46,47,41,48,49,50,51,52,53,54,55,56,57,58,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,91,92,93,94,95]),import.meta.url),()=>a(()=>import("../nodes/5.Dy-YkbU6.js"),__vite__mapDeps([147,4,5,53,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,154,155,156,82,157,133,158,159,131,160,161,71,134,67,68,135,128,80,162,163,164,139,165,166,167,168,90,169,170,171,172,173,174,175,176,177,23,178,179,180,181,63,64,65,66,182,183,184,117,185,142,143,186,187,188,189,190,191,192,193,194,195,196,127,84,123,79,197,198,137,199]),import.meta.url),()=>a(()=>import("../nodes/6.DR9-o0Dc.js"),__vite__mapDeps([200,4,5,26,7,3,27,29,34,2,10,11,12,13,14,8,24,25,35,28,1,30,18,33,39,23,22,46,47,44,45,41,165,166,50,51,52,53,54,55,120,48,49,56,57,58,19,100,101,99,74,102,103,77,78,104,105,106,107,75,76,108,109,98,110,85,97,111,112,38,37,40,36,113,16,96,121,122,67,68,153,149,152,154,155,156,69,82,157,133,158,167,139,168,90,169,170,171,172,173,134,135,174,175,176,177,71,128,80,178,179,180,181,184,86,42,201]),import.meta.url),()=>a(()=>import("../nodes/7.BR2qXozN.js"),__vite__mapDeps([202,4,5,53,108,203,19,12,36,11,10,13,3,7,14,2,8,50,26,27,28,29,25,1,30,33,51,52,24,54,55,109,162]),import.meta.url),()=>a(()=>import("../nodes/8.DxHPj0Oq.js"),__vite__mapDeps([204,4,5,8,3,26,7,27,25,29,28,1,2,30,74,101,99,33,24,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,10,11,12,13,14,98,110,138,116,57,58,41,34,35,18,47,97,111,112,85,50,55,39,49,56,44,19,38,22,37,40,36,113,23,60,205,72,46,45,68,206,157,155,178,159,131,89,117,70,79,203,189,190,121,87,92,207,80,62,208,193,209,210,196]),import.meta.url),()=>a(()=>import("../nodes/9.BHHxehGk.js"),__vite__mapDeps([211,4,5,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,154,155,156,82,157,133,158,159,131,160,161,23,129,130,59,60,125,91,92,93,94,95,126,84,132,188,42,139,136,71,70,212,141,213,214,206,83,215,119,205,117,87,216,217,88,218,219,220,185,221,222,123,190,137,223]),import.meta.url),()=>a(()=>import("../nodes/10.BZLSu1t9.js"),__vite__mapDeps([224,4,5,37,22,26,7,3,27,25,10,11,12,13,14,2,8,24,29,136,104,28,1,30,111,33,99,74,50,51,52,53,54,55,96,85,186,137,106,216,217,88,34,35,18,212,141,94,95,93,56,44,39,40,98,213,90,220,89,225]),import.meta.url),()=>a(()=>import("../nodes/11.fqpT905Q.js"),__vite__mapDeps([226,4,5,53,108,24,25,7,26,3,27]),import.meta.url),()=>a(()=>import("../nodes/12.CZF6J8V0.js"),__vite__mapDeps([227,4,5,8,3,28,7,26,27,29,25,1,2,30,24,109,162,228]),import.meta.url),()=>a(()=>import("../nodes/13.CmgBwUCN.js"),__vite__mapDeps([229,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,230,11,124,139,99,33,74,101,24,102,103,52,77,78,104,105,121,53,108,231]),import.meta.url),()=>a(()=>import("../nodes/14.CP4eEnwP.js"),__vite__mapDeps([232,4,5,57,10,11,12,13,3,7,14,2,8,58,41,34,24,25,26,27,35,28,29,1,30,18,33,47,109,162,43,44,39,45,46,48,49,50,51,52,53,54,55,56,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,9,91,92,93,94,95,173,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,120,16,96,121,122,134,135,174,114,209,182,183,165,166,153,149,152,154,155,156,157,133,158,167,139,168,169,170,171,172,175,176,177,23,128,178,179,180,181,184,117,185,142,143,186,187,230,233,196]),import.meta.url),()=>a(()=>import("../nodes/15.D8X9TwUZ.js"),__vite__mapDeps([234,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,33,64,194,14,139,183,66,56,44,39,235,196]),import.meta.url),()=>a(()=>import("../nodes/16.DDUlFhjD.js"),__vite__mapDeps([236,4,5,8,3,26,7,27,28,29,25,1,2,30,109,162,192,85,183,74,75,54,76,112,106,99,33,107,52,102,103,77,78,24,13,14,193,139,194,64,65,195,196,56,44,39,45,157,237]),import.meta.url),()=>a(()=>import("../nodes/17.DtGxkuYO.js"),__vite__mapDeps([238,4,5,56,8,3,44,39,24,25,7,26,27,28,29,1,2,30,10,11,12,13,14,33,133,69,34,35,18,57,58,41,47,128,80,51,73,100,101,99,74,102,103,52,77,78,104,105,106,107,75,54,76,53,108,109,98,110,115,116,62,87,38,22,37,40,19,36,239]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock-capture-editor":[16],"/dock":[14],"/hud":[17,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
|
|
4
|
+
`)}function Mt(t,e){if(t instanceof Error)return{name:x(String(t.name)),message:x(String(t.message)),stack:jt(t.stack),routeId:e};if(t&&typeof t=="object"){const o="message"in t?t.message:void 0;return{name:"object",message:typeof o=="string"?x(o):"[non-Error object]",stack:null,routeId:e}}return{name:typeof t,message:x(String(t)),stack:null,routeId:e}}let K=!1,A=0;const Ft=2,Ut=({error:t,event:e})=>{if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("no diff result available"))return{message:""};if(o.includes("isInHiddenArea"))return{message:""};if(o.includes("TextModel got disposed"))return{message:""}}if(t&&typeof t=="object"&&"message"in t){const o=String(t.message);if(o.includes("Not found: /index.html")||o.includes("Not found"))return K?(A++,A>=Ft&&(w.warn('Multiple consecutive "Not found" errors detected, router may be corrupted',{url:e.url.toString(),routeId:e.route.id,consecutiveErrors:A}),A=0,typeof window<"u"&&setTimeout(()=>{w.info("Triggering full page reload to recover from router corruption"),window.location.reload()},100)),w.error("Client navigation error:",{error:t,url:e.url.toString(),routeId:e.route.id}),{message:X.hooks_client_pageNotFound_message()}):(K=!0,A=0,{message:""});A=0}return ft(t)?{message:""}:Vt(t)?{message:""}:(w.error("Client error:",Mt(t,e.route.id)),{message:X.hooks_client_unexpected_error()})},Qt={};var zt=Z('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Bt=Z("<!> <!>",1);function J(t,e){if(new.target)return lt({component:J,...t});Et(e,!0);let o=g(e,"stores",7),n=g(e,"page",7),i=g(e,"constructors",7),s=g(e,"components",23,()=>[]),u=g(e,"form",7),l=g(e,"data_0",7,null),d=g(e,"data_1",7,null),p=g(e,"data_2",7,null);vt(()=>o().page.set(n())),Tt(()=>{o(),n(),i(),s(),u(),l(),d(),p(),o().page.notify()});let O=U(!1),z=U(!1),B=U(null);bt(()=>{const r=o().page.subscribe(()=>{c(O)&&(F(z,!0),ht().then(()=>{F(B,document.title||"untitled page",!0)}))});return F(O,!0),r});const Y=L(()=>i()[2]);var tt={get stores(){return o()},set stores(r){o(r),f()},get page(){return n()},set page(r){n(r),f()},get constructors(){return i()},set constructors(r){i(r),f()},get components(){return s()},set components(r=[]){s(r),f()},get form(){return u()},set form(r){u(r),f()},get data_0(){return l()},set data_0(r=null){l(r),f()},get data_1(){return d()},set data_1(r=null){d(r),f()},get data_2(){return p()},set data_2(r=null){p(r),f()},$set:dt,$on:(r,_)=>pt(e,r,_)},G=Bt(),W=T(G);{var et=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params},children:(P,Wt)=>{var $=I(),st=T($);{var nt=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params},children:(y,$t)=>{var H=I(),ut=T(H);S(ut,()=>c(Y),(_t,ct)=>{V(ct(_t,{get data(){return p()},get form(){return u()},get params(){return n().params}}),mt=>s()[2]=mt,()=>s()?.[2])}),m(y,H)},$$slots:{default:!0}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)},it=h=>{const N=L(()=>i()[1]);var D=I(),C=T(D);S(C,()=>c(N),(j,M)=>{V(M(j,{get data(){return d()},get form(){return u()},get params(){return n().params}}),y=>s()[1]=y,()=>s()?.[1])}),m(h,D)};k(st,h=>{i()[2]?h(nt):h(it,-1)})}m(P,$)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)},rt=r=>{const _=L(()=>i()[0]);var E=I(),R=T(E);S(R,()=>c(_),(v,b)=>{V(b(v,{get data(){return l()},get form(){return u()},get params(){return n().params}}),P=>s()[0]=P,()=>s()?.[0])}),m(r,E)};k(W,r=>{i()[1]?r(et):r(rt,-1)})}var ot=It(W,2);{var at=r=>{var _=zt(),E=Ot(_);{var R=v=>{var b=Pt();Dt(()=>yt(b,c(B))),m(v,b)};k(E,v=>{c(z)&&v(R)})}Rt(_),m(r,_)};k(ot,r=>{c(O)&&r(at)})}return m(t,G),At(tt)}const Yt=gt(J),te=[()=>a(()=>import("../nodes/0.5BN29aF9.js"),__vite__mapDeps([6,4,5,7,8,3,9,10,11,12,13,14,2,15,16,17,18,19,20]),import.meta.url),()=>a(()=>import("../nodes/1.CScjxXfi.js"),__vite__mapDeps([21,4,5,22,23,24,25,7,26,3,27,28,29,8,1,2,30]),import.meta.url),()=>a(()=>import("../nodes/2.CahtYp3d.js"),__vite__mapDeps([31,4,5,7,32,10,11,12,13,3,14,2,8,24,25,26,27,33,34,35,28,29,1,30,18,22,36,19,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,17,88,89,90,9,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,16,121,122,123,124,125,126,127,128,129,130,131,132,133,23,134,135,136,137,138,139,140,141,142,143,144]),import.meta.url),()=>a(()=>import("../nodes/3.D_5wExma.js"),__vite__mapDeps([145,4,5,33,26,7,3,27,22,23,24,25,28,29,8,1,2,30,38,39,37,40,34,10,11,12,13,14,35,18,41,19,36]),import.meta.url),()=>a(()=>import("../nodes/4.JCAab1Hg.js"),__vite__mapDeps([146,4,5,7,9,8,3,43,10,11,12,13,14,2,34,24,25,26,27,35,28,29,1,30,18,33,44,39,45,46,47,41,48,49,50,51,52,53,54,55,56,57,58,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,91,92,93,94,95]),import.meta.url),()=>a(()=>import("../nodes/5.piNO_yu5.js"),__vite__mapDeps([147,4,5,53,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,154,155,156,82,157,133,158,159,131,160,161,71,134,67,68,135,128,80,162,163,164,139,165,166,167,168,90,169,170,171,172,173,174,175,176,177,23,178,179,180,181,63,64,65,66,182,183,184,117,185,142,143,186,187,188,189,190,191,192,193,194,195,196,127,84,123,79,197,198,137,199]),import.meta.url),()=>a(()=>import("../nodes/6.DXnvvORl.js"),__vite__mapDeps([200,4,5,26,7,3,27,29,34,2,10,11,12,13,14,8,24,25,35,28,1,30,18,33,39,23,22,46,47,44,45,41,165,166,50,51,52,53,54,55,120,48,49,56,57,58,19,100,101,99,74,102,103,77,78,104,105,106,107,75,76,108,109,98,110,85,97,111,112,38,37,40,36,113,16,96,121,122,67,68,153,149,152,154,155,156,69,82,157,133,158,167,139,168,90,169,170,171,172,173,134,135,174,175,176,177,71,128,80,178,179,180,181,184,86,42,201]),import.meta.url),()=>a(()=>import("../nodes/7.Cd-oGu-r.js"),__vite__mapDeps([202,4,5,53,108,203,19,12,36,11,10,13,3,7,14,2,8,50,26,27,28,29,25,1,30,33,51,52,24,54,55,109,162]),import.meta.url),()=>a(()=>import("../nodes/8.DhDtXFsS.js"),__vite__mapDeps([204,4,5,8,3,26,7,27,25,29,28,1,2,30,74,101,99,33,24,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,10,11,12,13,14,98,110,138,116,57,58,41,34,35,18,47,97,111,112,85,50,55,39,49,56,44,19,38,22,37,40,36,113,23,60,205,72,46,45,68,206,157,155,178,159,131,89,117,70,79,203,189,190,121,87,92,207,80,62,208,193,209,210,196]),import.meta.url),()=>a(()=>import("../nodes/9.C3bc0Vuy.js"),__vite__mapDeps([211,4,5,148,28,7,26,3,27,29,25,8,1,2,30,24,32,10,11,12,13,14,33,101,99,74,102,103,52,77,78,104,105,100,106,107,75,54,76,53,108,109,51,98,110,56,44,39,50,55,97,111,112,85,49,34,35,18,57,58,41,47,19,38,22,37,40,36,113,120,48,46,45,16,96,121,122,61,69,89,149,81,150,151,152,153,154,155,156,82,157,133,158,159,131,160,161,23,129,130,59,60,125,91,92,93,94,95,126,84,132,188,42,139,136,71,70,212,141,213,214,206,83,215,119,205,117,87,216,217,88,218,219,220,185,221,222,123,190,137,223]),import.meta.url),()=>a(()=>import("../nodes/10.DVkuwBxJ.js"),__vite__mapDeps([224,4,5,37,22,26,7,3,27,25,10,11,12,13,14,2,8,24,29,136,104,28,1,30,111,33,99,74,50,51,52,53,54,55,96,85,186,137,106,216,217,88,34,35,18,212,141,94,95,93,56,44,39,40,98,213,90,220,89,225]),import.meta.url),()=>a(()=>import("../nodes/11.fqpT905Q.js"),__vite__mapDeps([226,4,5,53,108,24,25,7,26,3,27]),import.meta.url),()=>a(()=>import("../nodes/12.CZF6J8V0.js"),__vite__mapDeps([227,4,5,8,3,28,7,26,27,29,25,1,2,30,24,109,162,228]),import.meta.url),()=>a(()=>import("../nodes/13.CmgBwUCN.js"),__vite__mapDeps([229,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,230,11,124,139,99,33,74,101,24,102,103,52,77,78,104,105,121,53,108,231]),import.meta.url),()=>a(()=>import("../nodes/14.CQFNVlAh.js"),__vite__mapDeps([232,4,5,57,10,11,12,13,3,7,14,2,8,58,41,34,24,25,26,27,35,28,29,1,30,18,33,47,109,162,43,44,39,45,46,48,49,50,51,52,53,54,55,56,19,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,36,40,80,81,82,83,84,85,86,42,87,17,88,89,90,38,22,37,9,91,92,93,94,95,173,97,98,99,100,101,102,103,104,105,106,107,108,110,111,112,113,120,16,96,121,122,134,135,174,114,209,182,183,165,166,153,149,152,154,155,156,157,133,158,167,139,168,169,170,171,172,175,176,177,23,128,178,179,180,181,184,117,185,142,143,186,187,230,233,196]),import.meta.url),()=>a(()=>import("../nodes/15.D8X9TwUZ.js"),__vite__mapDeps([234,4,5,26,7,3,27,28,29,25,8,1,2,30,109,162,33,64,194,14,139,183,66,56,44,39,235,196]),import.meta.url),()=>a(()=>import("../nodes/16.DDUlFhjD.js"),__vite__mapDeps([236,4,5,8,3,26,7,27,28,29,25,1,2,30,109,162,192,85,183,74,75,54,76,112,106,99,33,107,52,102,103,77,78,24,13,14,193,139,194,64,65,195,196,56,44,39,45,157,237]),import.meta.url),()=>a(()=>import("../nodes/17.N0O7ruOc.js"),__vite__mapDeps([238,4,5,56,8,3,44,39,24,25,7,26,27,28,29,1,2,30,10,11,12,13,14,33,133,69,34,35,18,57,58,41,47,128,80,51,73,100,101,99,74,102,103,52,77,78,104,105,106,107,75,54,76,53,108,109,98,110,115,116,62,87,38,22,37,40,19,36,239]),import.meta.url)],ee=[],re={"/(app)":[5,[2],[3]],"/(app)/agent/[id]":[6,[2],[3]],"/(app)/desktop-control-agent":[7,[2],[3]],"/desktop-overlay":[12],"/dev-console":[13],"/dock-annotation":[15],"/dock-capture-editor":[16],"/dock":[14],"/hud":[17,[4]],"/(app)/settings":[8,[2],[3]],"/(app)/workspace/creating":[11,[2],[3]],"/(app)/workspace/[id]":[9,[2],[3]],"/(app)/workspace/[id]/files":[10,[2],[3]]},Q={handleError:Ut||(({error:t})=>{console.error(t)}),init:Lt,reroute:(()=>{}),transport:{}},Gt=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.decode])),oe=Object.fromEntries(Object.entries(Q.transport).map(([t,e])=>[t,e.encode])),ae=!1,se=(t,e)=>Gt[t](e),ne=()=>a(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{se as decode,Gt as decoders,re as dictionary,oe as encoders,ne as get_error_template,ae as hash,Q as hooks,Qt as matchers,te as nodes,Yt as root,ee as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,s as r}from"../chunks/DaKr8JPs.js";export{o as load_css,r as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as L,bq as I,by as O,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/CNdlzZOD.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/DIh4SQwA.js";import{z as ie,I as H,G as ae}from"../chunks/DrH3w3jB.js";import{w as ce}from"../chunks/BlmamAqo.js";import{Ig as ue}from"../chunks/BoIGV7s7.js";import{initAppStore as de}from"../chunks/B9k9ipWN.js";import{K as le,I as fe}from"../chunks/C9ruBEtx.js";import{i as me}from"../chunks/
|
|
1
|
+
import{t as L,bq as I,by as O,bu as Z,bs as ee,b as N,a_ as te,bt as ne,br as oe}from"../chunks/CNdlzZOD.js";import{bs as P,bj as re,bk as se,a7 as b,ay as h,bf as W,W as y,bn as T,aA as $}from"../chunks/DYhIMPy1.js";import{s as R}from"../chunks/DIh4SQwA.js";import{z as ie,I as H,G as ae}from"../chunks/DrH3w3jB.js";import{w as ce}from"../chunks/BlmamAqo.js";import{Ig as ue}from"../chunks/BoIGV7s7.js";import{initAppStore as de}from"../chunks/B9k9ipWN.js";import{K as le,I as fe}from"../chunks/C9ruBEtx.js";import{i as me}from"../chunks/wQb33ERJ.js";const pe=!1,we=!1,ve=!0,ke=Object.freeze(Object.defineProperty({__proto__:null,csr:ve,prerender:we,ssr:pe},Symbol.toStringTag,{value:"Module"}));function ge(e,t,r){const f=de(e);let p=t.startSagas(e),s=!1;const l=()=>{if(!s){s=!0;try{for(const m of p)m()}finally{f.dispose(),r?.rootStoreStop===l&&(r.rootStoreStop=void 0,r.rootStoreReplaceSagas=void 0)}}};return l}const V=3,j=4,be=100;let A=null;function S(e){const t=Date.now();A!==null&&A.direction===e&&t-A.at<be||(A={direction:e,at:t},e==="back"?history.back():history.forward())}function he(){return document.querySelector("webview:hover")!==null}function ye(e){e!=="back"&&e!=="forward"||he()||S(e)}function K(e){return e.target instanceof Element&&e.target.closest("webview")!==null}function U(e){K(e)||(e.button===V?(e.preventDefault(),S("back")):e.button===j&&(e.preventDefault(),S("forward")))}function F(e){K(e)||(e.button===V||e.button===j)&&e.preventDefault()}function Ae(e=window){return e.addEventListener("mouseup",U,{capture:!0}),e.addEventListener("mousedown",F,{capture:!0}),()=>{e.removeEventListener("mouseup",U,{capture:!0}),e.removeEventListener("mousedown",F,{capture:!0})}}function Ee(e){const t=new Set,r="data-window-animation-paused",f=()=>e.hasAttribute("data-window-blurred");function p(i){const n=new Set;for(const o of i){if(!(o instanceof CSSAnimation)||o.playState!=="running"&&o.playState!=="paused"||o.effect?.getTiming().iterations!==1/0)continue;const d=o.effect?.target;d instanceof Element&&n.add(d)}for(const o of n)t.has(o)||(t.add(o),o.setAttribute(r,""))}function s(){for(const i of t)i.removeAttribute(r);t.clear()}function l(i){for(const n of i)!t.has(n)||e.contains(n)&&n.getAnimations({subtree:!0}).some(d=>d instanceof CSSAnimation&&d.effect?.target===n&&d.effect?.getTiming().iterations===1/0)||(t.delete(n),n.removeAttribute(r))}const m=new MutationObserver(i=>{if(!f())return;const n=new Set,o=new Set;for(const a of i){if(a.type==="childList")for(const c of a.addedNodes)c instanceof Element&&n.add(c);else if(a.target instanceof Element&&a.attributeName!==r&&a.attributeName!=="data-window-blurred")n.add(a.target);else continue;if(a.target instanceof Element)for(const c of t)(a.target.contains(c)||!e.contains(c))&&o.add(c)}l(o);const d=[];for(const a of n){if(!e.contains(a))continue;let c=a.parentElement;for(;c&&!n.has(c);)c=c.parentElement;c||d.push(...a.getAnimations({subtree:!0}))}p(d)});function v(){m.disconnect(),f()?(m.observe(e,{childList:!0,attributes:!0,subtree:!0}),p(e.getAnimations({subtree:!0}))):s()}function u(i){!f()||!(i.target instanceof Element)||(l([i.target]),p(i.target.getAnimations({subtree:!0})))}function w(i){!f()||!(i.target instanceof Element)||l([i.target])}const g=new MutationObserver(v);return g.observe(e,{attributes:!0,attributeFilter:["data-window-blurred"]}),e.addEventListener("animationstart",u,!0),e.addEventListener("animationcancel",w,!0),v(),{destroy(){g.disconnect(),m.disconnect(),e.removeEventListener("animationstart",u,!0),e.removeEventListener("animationcancel",w,!0),s()}}}function Y(e,t){if(new.target)return L({component:Y,...e});P(t,!0);const r=()=>Z(m,"$resolvedLocale$",f),[f,p]=ee();let s=I(t,"children",7);const l=ge(ue,{startSagas:()=>[]},void 0);re(l);const m=le(),v=fe();se(()=>{const n=!me()&&window.location.pathname!=="/dock";let o=document.hasFocus(),d=!1;const a=()=>{document.documentElement.toggleAttribute("data-window-blurred",n&&d&&!o)},c=_=>{o=_,a()},D=()=>c(!1),M=()=>c(!0),z=v.subscribe(_=>{d=_,a()}),k=window.electronAPI,B=ie();let E;a(),n&&(B?E=k?.on?.("window:focus",c):(window.addEventListener("blur",D),window.addEventListener("focus",M)));const J=Ee(document.documentElement),Q=ce(document.getElementById("splash"));document.getElementById("app-drag-region")?.remove();const X=Ae(window),C=window.electronAPI?.on?.(H.APP.HISTORY_NAVIGATE,ye);return()=>{z(),J.destroy(),E?k.offById("window:focus",E):n&&!B&&(window.removeEventListener("blur",D),window.removeEventListener("focus",M)),document.documentElement.removeAttribute("data-window-blurred"),Q(),X(),C&&window.electronAPI.offById(H.APP.HISTORY_NAVIGATE,C)}});var u={get children(){return s()},set children(n){s(n),$()},$set:O,$on:(n,o)=>N(t,n,o)},w=b(),g=h(w);ae(g,r,n=>{var o=b(),d=h(o);R(d,()=>s()??W),y(n,o)}),y(e,w);var i=T(u);return p(),i}const x="/dev-console";function _e(e){return e===x||e.startsWith(x+"/")}const G="/desktop-overlay";function Se(e){return e===G||e.startsWith(`${G}/`)}function q(e,t){if(new.target)return L({component:q,...e});P(t,!0);let r=I(t,"children",7);const f=typeof window<"u"&&(_e(window.location.pathname)||Se(window.location.pathname));var p={get children(){return r()},set children(u){r(u),$()},$set:O,$on:(u,w)=>N(t,u,w)},s=b(),l=h(s);{var m=u=>{var w=b(),g=h(w);R(g,()=>r()??W),y(u,w)},v=u=>{Y(u,{get children(){return r()}})};te(l,u=>{f?u(m):u(v,-1)})}return y(e,s),T(p)}var Le=new Set(["$$slots","$$events","$$legacy","children"]);function Ie(e,t){if(new.target)return L({component:Ie,...e});P(t,!0);let r=I(t,"children",7),f=oe(t,Le);var p={get children(){return r()},set children(s){r(s),$()},$set:O,$on:(s,l)=>N(t,s,l)};return q(e,ne(()=>f,{children:(s,l)=>{var m=b(),v=h(m);R(v,()=>r()??W),y(s,m)},$$slots:{default:!0}})),T(p)}export{Ie as component,ke as universal};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as A,a_ as W,by as D,b as E,bo as p,bt as R,br as U}from"../chunks/CNdlzZOD.js";import{bs as M,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as h,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as O}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/
|
|
1
|
+
import{t as A,a_ as W,by as D,b as E,bo as p,bt as R,br as U}from"../chunks/CNdlzZOD.js";import{bs as M,ca as V,aD as e,a7 as X,ay as Y,W as _,bn as N,c9 as h,a5 as a,bA as s,bS as f,bl as $,be as Z,b$ as ee,b_ as k,bO as m,aB as O}from"../chunks/DYhIMPy1.js";import{g as re}from"../chunks/DaKr8JPs.js";import{p as b}from"../chunks/DLxs6eHm.js";import{F as te,cM as ae}from"../chunks/BIfN-lxi.js";import{f as se}from"../chunks/D3glRUn0.js";var oe=O('<p class="text-sm text-subtle"> </p>'),le=O('<div class="min-h-screen flex items-center justify-center p-6 bg-background"><div class="w-full max-w-md" role="alert" aria-live="assertive"><div class="bg-card border border-border rounded-xl shadow-lg p-8 space-y-6 text-center"><div class="flex justify-center"><div class="w-14 h-14 rounded-full bg-warning/10 flex items-center justify-center opacity-50"><!></div></div> <div class="space-y-3"><h2 class="text-2xl font-semibold text-foreground"> </h2> <!> <p class="text-base text-subtle leading-relaxed break-words"> </p></div> <div class="flex items-center justify-center gap-3 flex-wrap"><!></div></div></div></div>');function T(l,o){if(new.target)return A({component:T,...l});M(o,!0);let c=h(()=>b.error),r=h(()=>b.status),v=h(()=>e(r)===404&&b.url.pathname!=="/");V(()=>{e(v)?(console.warn("[+error.svelte:root] 404, redirecting to /",{url:b.url.href,status:e(r)}),re("/",{replaceState:!0})):console.error("[+error.svelte:root]",{status:e(r),error:e(c)})});var g={$set:D,$on:(i,n)=>E(o,i,n)},j=X(),q=Y(j);{var G=i=>{var n=le(),F=a(n),S=a(F),x=a(S),z=a(x),H=a(z);te(H,{get icon(){return ae},size:"lg",class:"text-warning"}),s(z),s(x);var w=f(x,2),B=a(w),I=$(B,!0),C=f(B,2);{var J=t=>{var d=oe(),u=$(d,!0);k(y=>m(u,y),[()=>p.error_page_status_label({status:e(r)})]),_(t,d)};W(C,t=>{e(r)&&e(r)!==500&&t(J)})}var K=f(C,2),L=$(K,!0);s(w);var P=f(w,2),Q=a(P);se(Q,{variant:"outline",size:"default",onclick:()=>window.location.reload(),children:(t,d)=>{Z();var u=ee();k(y=>m(u,y),[()=>p.error_page_reload_button()]),_(t,u)},$$slots:{default:!0}}),s(P),s(S),s(F),s(n),k((t,d)=>{m(I,t),m(L,d)},[()=>p.error_page_title(),()=>e(c)?.message||p.error_page_unexpected_fallback()]),_(i,n)};W(q,i=>{e(v)||i(G)})}return _(l,j),N(g)}var ie=new Set(["$$slots","$$events","$$legacy"]);function ne(l,o){if(new.target)return A({component:ne,...l});M(o,!0);let c=U(o,ie);var r={$set:D,$on:(v,g)=>E(o,v,g)};return T(l,R(()=>c)),N(r)}export{ne as component};
|