opencami 1.7.0 → 1.8.3
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/README.md +167 -7
- package/bin/opencami.js +15 -6
- package/dist/client/assets/{CSPContext-a-MQmQQt.js → CSPContext-DeJH85nm.js} +1 -1
- package/dist/client/assets/{DirectionContext-DRcND-Cm.js → DirectionContext-CxhRpXkm.js} +1 -1
- package/dist/client/assets/_sessionKey-CQE0brGK.js +23 -0
- package/dist/client/assets/agents-CMTFd_sG.js +2 -0
- package/dist/client/assets/agents-screen-BNQGEqcW.js +1 -0
- package/dist/client/assets/bots-B6oGzCxP.js +2 -0
- package/dist/client/assets/bots-screen-Be3cfGgq.js +1 -0
- package/dist/client/assets/button-D9Plv7hu.js +1 -0
- package/dist/client/assets/composite-B2KCZKKL.js +1 -0
- package/dist/client/assets/{connect-BX1MWO82.js → connect-DuJfnyNK.js} +1 -1
- package/dist/client/assets/dashboard-00GpXm5V.js +1 -0
- package/dist/client/assets/event-DD8Cz4O9.js +1 -0
- package/dist/client/assets/file-explorer-screen-CxwemBES.js +1 -0
- package/dist/client/assets/files-DyBJVXBu.js +2 -0
- package/dist/client/assets/{index-BlC2sH55.js → index-DtGzE-ea.js} +1 -1
- package/dist/client/assets/{index-Dg0mbvtv.js → index-Yo5UhdZV.js} +1 -1
- package/dist/client/assets/keyboard-shortcuts-dialog-BZwd-iyV.js +1 -0
- package/dist/client/assets/{main-CEuT8-Qi.js → main-CgwdHc9W.js} +16 -8
- package/dist/client/assets/{markdown-DKD6ZLRJ.js → markdown-DtWnt4NA.js} +1 -1
- package/dist/client/assets/memory-l756yiNq.js +2 -0
- package/dist/client/assets/memory-screen-BQtVRuzE.js +1 -0
- package/dist/client/assets/menu-BsS6CDf_.js +1 -0
- package/dist/client/assets/{opencami-logo-DA69yVKc.js → opencami-logo-Bmge6-FB.js} +1 -1
- package/dist/client/assets/popupStateMapping-D0ZbJR_o.js +1 -0
- package/dist/client/assets/{proxy-Cawf6X0W.js → proxy-CYZeDXoy.js} +1 -1
- package/dist/client/assets/{react-K9goXsVv.js → react-DODKNyyU.js} +1 -1
- package/dist/client/assets/search-dialog-DW91SK30.js +1 -0
- package/dist/client/assets/session-export-dialog-CliO9Ob-.js +1 -0
- package/dist/client/assets/settings-dialog-C1u52aju.js +1 -0
- package/dist/client/assets/skills-8T_avaVb.js +2 -0
- package/dist/client/assets/{skills-panel-DFL-3BRH.js → skills-panel-DSiH-DLs.js} +1 -1
- package/dist/client/assets/styles-DvaLh0o1.css +1 -0
- package/dist/client/assets/switch-DbgQPO6i.js +1 -0
- package/dist/client/assets/tabs-BsAvZnlD.js +1 -0
- package/dist/client/assets/tooltip-DLmutB5C.js +1 -0
- package/dist/client/assets/use-file-explorer-state-Cg_yDYJl.js +12 -0
- package/dist/client/assets/useBaseUiId-KQTzRPLp.js +1 -0
- package/dist/client/assets/useCompositeItem-BPY2_hF_.js +1 -0
- package/dist/client/assets/{useControlled-Cl9XA2_f.js → useControlled-B5pEEz2V.js} +1 -1
- package/dist/client/assets/{useMutation-C5bTdeC1.js → useMutation-BsQD6FKe.js} +1 -1
- package/dist/client/assets/useQuery-CmAJuY2W.js +1 -0
- package/dist/client/assets/visuallyHidden-COI6QeQH.js +1 -0
- package/dist/client/sw.js +5 -164
- package/dist/server/assets/{_sessionKey-BBG3ZUlo.js → _sessionKey-C9o7YfxA.js} +878 -755
- package/dist/server/assets/_tanstack-start-manifest_v-BMCAWon2.js +4 -0
- package/dist/server/assets/dashboard-GCKodTiJ.js +214 -0
- package/dist/server/assets/{index-BgMPaOsU.js → index-Bw-bA_2M.js} +4 -3
- package/dist/server/assets/{router-Bl2uabfY.js → router-DCjikH21.js} +704 -207
- package/dist/server/assets/{search-dialog-BtSQW9SR.js → search-dialog-BnwiXpdA.js} +5 -4
- package/dist/server/assets/settings-dialog-ClKFnZ1x.js +1511 -0
- package/dist/server/server.js +2 -2
- package/package.json +1 -1
- package/dist/client/assets/_sessionKey-BAmpzUOP.js +0 -23
- package/dist/client/assets/agents-BkeWu_3a.js +0 -2
- package/dist/client/assets/agents-screen-Cb76bcxn.js +0 -1
- package/dist/client/assets/bots-CyJwr-JU.js +0 -2
- package/dist/client/assets/bots-screen-CzNjLsQH.js +0 -1
- package/dist/client/assets/button-DNC5N25i.js +0 -1
- package/dist/client/assets/composite-Bliqcmg4.js +0 -1
- package/dist/client/assets/file-explorer-screen-CpY1O_ag.js +0 -1
- package/dist/client/assets/files-HiN5rXWq.js +0 -2
- package/dist/client/assets/keyboard-shortcuts-dialog-C2Hq19LN.js +0 -1
- package/dist/client/assets/memory-lhzf-8Q4.js +0 -2
- package/dist/client/assets/memory-screen-Zq9qfnJK.js +0 -1
- package/dist/client/assets/menu-47ooFeSm.js +0 -1
- package/dist/client/assets/owner-CFRNz_Tp.js +0 -1
- package/dist/client/assets/popupStateMapping-D5k-jOeY.js +0 -1
- package/dist/client/assets/search-dialog-C5Yae9rb.js +0 -1
- package/dist/client/assets/session-export-dialog-CBeTfbll.js +0 -1
- package/dist/client/assets/settings-dialog-CoeG9M1b.js +0 -1
- package/dist/client/assets/skills-BEkw619A.js +0 -2
- package/dist/client/assets/styles-D4EBtWYc.css +0 -1
- package/dist/client/assets/switch-DAFvLxNX.js +0 -1
- package/dist/client/assets/tabs-B2Y_7MvG.js +0 -1
- package/dist/client/assets/tooltip-D57Pal0B.js +0 -1
- package/dist/client/assets/use-file-explorer-state-DppKEjcl.js +0 -12
- package/dist/client/assets/useButton-DVAfkehQ.js +0 -1
- package/dist/client/assets/useCompositeItem-CzdGhGcj.js +0 -1
- package/dist/client/assets/visuallyHidden-CO3ZD5AQ.js +0 -1
- package/dist/server/assets/_tanstack-start-manifest_v-DmMFarHb.js +0 -4
- package/dist/server/assets/settings-dialog-D3fOAswX.js +0 -1173
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{r as a,j as M}from"./main-CEuT8-Qi.js";import{t as Be,ab as ht,ai as yt,ac as Ze,ag as re,af as vt,u as St,c as pe,B as Et}from"./button-DNC5N25i.js";import{z as et,a as Q,i as te,u as oe,m as xt,o as Ct,g as we,j as Rt,A as ge,h as wt,p as kt,f as Tt,B as It,d as tt,D as nt,v as Ft}from"./useButton-DVAfkehQ.js";import{k as U,j as je,h as Re,d as ne,e as L,m as Ot,n as Pt,s as Mt,l as se,o as ie,p as ot,q as Dt}from"./owner-CFRNz_Tp.js";import{b as ce,d as Lt,E as At,a as Ve,u as Nt,G as st,H as ke,I as We,J as Ge,K as X,L as $e,B as Ye,x as qe,z as Bt,M as jt,N as rt,O as Vt,Q as Wt,c as Gt,p as it,t as at,S as ue,e as $t,F as Yt,U as He,V as qt,m as Ht,n as Ut,o as Xt,q as Kt,r as zt,R as _t,g as Jt,h as Qt,k as Zt,i as H}from"./popupStateMapping-D5k-jOeY.js";import{C as en}from"./composite-Bliqcmg4.js";import{a as tn}from"./visuallyHidden-CO3ZD5AQ.js";import{c as nn}from"./react-K9goXsVv.js";let Ue=0;function Ee(e,n={}){const{preventScroll:t=!1,cancelPrevious:o=!0,sync:s=!1}=n;o&&cancelAnimationFrame(Ue);const i=()=>e?.focus({preventScroll:t});s?i():Ue=requestAnimationFrame(i)}const Z={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function Xe(e){return e==="inert"?Z.inert:e==="aria-hidden"?Z["aria-hidden"]:Z.none}let de=new WeakSet,fe={},xe=0;const lt=e=>e&&(e.host||lt(e.parentNode)),on=(e,n)=>n.map(t=>{if(e.contains(t))return t;const o=lt(t);return e.contains(o)?o:null}).filter(t=>t!=null);function sn(e,n,t,o){const s="data-base-ui-inert",i=o?"inert":t?"aria-hidden":null,l=on(n,e),u=new Set,r=new Set(l),C=[];fe[s]||(fe[s]=new WeakMap);const R=fe[s];l.forEach(x),f(n),u.clear();function x(c){!c||u.has(c)||(u.add(c),c.parentNode&&x(c.parentNode))}function f(c){!c||r.has(c)||[].forEach.call(c.children,d=>{if(et(d)!=="script")if(u.has(d))f(d);else{const T=i?d.getAttribute(i):null,v=T!==null&&T!=="false",S=Xe(i),b=(S.get(d)||0)+1,m=(R.get(d)||0)+1;S.set(d,b),R.set(d,m),C.push(d),b===1&&v&&de.add(d),m===1&&d.setAttribute(s,""),!v&&i&&d.setAttribute(i,i==="inert"?"":"true")}})}return xe+=1,()=>{C.forEach(c=>{const d=Xe(i),v=(d.get(c)||0)-1,S=(R.get(c)||0)-1;d.set(c,v),R.set(c,S),v||(!de.has(c)&&i&&c.removeAttribute(i),de.delete(c)),S||c.removeAttribute(s)}),xe-=1,xe||(Z.inert=new WeakMap,Z["aria-hidden"]=new WeakMap,Z.none=new WeakMap,de=new WeakSet,fe={})}}function rn(e,n=!1,t=!1){const o=U(e[0]).body;return sn(e.concat(Array.from(o.querySelectorAll("[aria-live]"))),o,n,t)}function an(e,n){const t=ge(e.target);return e instanceof t.KeyboardEvent?"keyboard":e instanceof t.FocusEvent?n||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof t.MouseEvent?n||(e.detail===0?"keyboard":"mouse"):""}const Ke=20;let K=[];function Te(){K=K.filter(e=>e.isConnected)}function ln(e){Te(),e&&et(e)!=="body"&&(K.push(e),K.length>Ke&&(K=K.slice(-Ke)))}function Ce(){return Te(),K[K.length-1]}function cn(e){if(!e)return null;const n=ke();return rt(e,n)?e:st(e,n)[0]||e}function un(e){return!e||!e.isConnected?!1:typeof e.checkVisibility=="function"?e.checkVisibility():wt(e).display!=="none"}function ze(e,n){if(!n.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;const t=ke(),s=Wt(e,t).filter(l=>{const u=l.getAttribute("data-tabindex")||"";return rt(l,t)||l.hasAttribute("data-tabindex")&&!u.startsWith("-")}),i=e.getAttribute("tabindex");n.current.includes("floating")||s.length===0?i!=="0"&&e.setAttribute("tabindex","0"):(i!=="-1"||e.hasAttribute("data-tabindex")&&e.getAttribute("data-tabindex")!=="-1")&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function dn(e){const{context:n,children:t,disabled:o=!1,order:s=["content"],initialFocus:i=!0,returnFocus:l=!0,restoreFocus:u=!1,modal:r=!0,closeOnFocusOut:C=!0,openInteractionType:R="",getInsideElements:x=()=>[],nextFocusableElement:f,previousFocusableElement:c,beforeContentFocusGuardRef:d,externalTree:T}=e,v="rootStore"in n?n.rootStore:n,S=v.useState("open"),b=v.useState("domReferenceElement"),m=v.useState("floatingElement"),{events:N,dataRef:P}=v.context,A=Q(()=>P.current.floatingContext?.nodeId),Y=Q(x),V=i===!1,D=je(b)&&V,O=ce(s),B=ce(i),q=ce(l),Ie=ce(R),W=Lt(T),w=At(),dt=a.useRef(null),ft=a.useRef(null),G=a.useRef(!1),ae=a.useRef(!1),me=a.useRef(!1),Fe=a.useRef(-1),Oe=a.useRef(""),be=a.useRef(""),he=a.useRef(null),ye=a.useRef(null),pt=Be(he,d,w?.beforeInsideRef),gt=Be(ye,w?.afterInsideRef),Pe=Ve(),Me=Ve(),De=Nt(),ve=w!=null,h=Re(m),z=Q((g=h)=>g?st(g,ke()):[]),ee=Q(g=>{const E=z(g);return O.current.map(()=>E).filter(Boolean).flat()});a.useEffect(()=>{if(o||!r)return;function g(I){I.key==="Tab"&&L(h,ne(U(h)))&&z().length===0&&!D&&Mt(I)}const E=U(h);return E.addEventListener("keydown",g),()=>{E.removeEventListener("keydown",g)}},[o,b,h,r,O,D,z,ee]),a.useEffect(()=>{if(o||!m)return;function g(E){const I=se(E),F=z().indexOf(I);F!==-1&&(Fe.current=F)}return m.addEventListener("focusin",g),()=>{m.removeEventListener("focusin",g)}},[o,m,z]),a.useEffect(()=>{if(o||!S)return;const g=U(h);function E(){me.current=!1}function I(F){const p=se(F),y=L(m,p)||L(b,p)||L(w?.portalNode,p);me.current=!y,be.current=F.pointerType||"keyboard"}function k(){be.current="keyboard"}return g.addEventListener("pointerdown",I,!0),g.addEventListener("pointerup",E,!0),g.addEventListener("pointercancel",E,!0),g.addEventListener("keydown",k,!0),()=>{g.removeEventListener("pointerdown",I,!0),g.removeEventListener("pointerup",E,!0),g.removeEventListener("pointercancel",E,!0),g.removeEventListener("keydown",k,!0)}},[o,m,b,h,S,w]),a.useEffect(()=>{if(o||!C)return;function g(){ae.current=!0,Me.start(0,()=>{ae.current=!1})}function E(p){const y=p.relatedTarget,J=p.currentTarget,j=se(p);queueMicrotask(()=>{const le=A(),Ae=v.context.triggerElements,mt=y?.hasAttribute(We("focus-guard"))&&[he.current,ye.current,w?.beforeInsideRef.current,w?.afterInsideRef.current,w?.beforeOutsideRef.current,w?.afterOutsideRef.current,X(c),X(f)].includes(y),bt=!(L(b,y)||L(m,y)||L(y,m)||L(w?.portalNode,y)||y!=null&&Ae.hasElement(y)||Ae.hasMatchingElement($=>L($,y))||mt||W&&($e(W.nodesRef.current,le).find($=>L($.context?.elements.floating,y)||L($.context?.elements.domReference,y))||Ge(W.nodesRef.current,le).find($=>[$.context?.elements.floating,Re($.context?.elements.floating)].includes(y)||$.context?.elements.domReference===y)));if(J===b&&h&&ze(h,O),u&&J!==b&&!un(j)&&ne(U(h))===U(h).body){if(te(h)&&(h.focus(),u==="popup")){De.request(()=>{h.focus()});return}const $=Fe.current,Se=z(),Ne=Se[$]||Se[Se.length-1]||h;te(Ne)&&Ne.focus()}if(P.current.insideReactTree){P.current.insideReactTree=!1;return}(D||!r)&&y&&bt&&!ae.current&&(D||y!==Ce())&&(G.current=!0,v.setOpen(!1,we(Rt,p)))})}function I(){me.current||(P.current.insideReactTree=!0,Pe.start(0,()=>{P.current.insideReactTree=!1}))}const k=te(b)?b:null,F=[];if(!(!m&&!k))return k&&(k.addEventListener("focusout",E),k.addEventListener("pointerdown",g),F.push(()=>{k.removeEventListener("focusout",E),k.removeEventListener("pointerdown",g)})),m&&(m.addEventListener("focusout",E),w&&(m.addEventListener("focusout",I,!0),F.push(()=>{m.removeEventListener("focusout",I,!0)})),F.push(()=>{m.removeEventListener("focusout",E)})),()=>{F.forEach(p=>{p()})}},[o,b,m,h,r,W,w,v,C,u,z,D,A,O,P,Pe,Me,De,f,c]),a.useEffect(()=>{if(o||!m||!S)return;const g=Array.from(w?.portalNode?.querySelectorAll(`[${We("portal")}]`)||[]),I=(W?Ge(W.nodesRef.current,A()):[]).find(p=>je(p.context?.elements.domReference||null))?.context?.elements.domReference,k=[m,I,...g,...Y(),dt.current,ft.current,he.current,ye.current,w?.beforeOutsideRef.current,w?.afterOutsideRef.current,X(c),X(f),D?b:null].filter(p=>p!=null),F=rn(k,r||D);return()=>{F()}},[S,o,b,m,r,O,w,D,W,A,Y,f,c]),oe(()=>{if(!S||o||!te(h))return;const g=U(h),E=ne(g);queueMicrotask(()=>{const I=ee(h),k=B.current,F=typeof k=="function"?k(Ie.current||""):k;if(F===void 0||F===!1)return;let p;F===!0||F===null?p=I[0]||h:p=X(F),p=p||I[0]||h,!L(h,E)&&Ee(p,{preventScroll:p===h})})},[o,S,h,V,ee,B,Ie]),oe(()=>{if(o||!h)return;const g=U(h),E=ne(g);ln(E);function I(p){if(p.open||(Oe.current=an(p.nativeEvent,be.current)),p.reason===xt&&p.nativeEvent.type==="mouseleave"&&(G.current=!0),p.reason===Ct)if(p.nested)G.current=!1;else if(Ot(p.nativeEvent)||Pt(p.nativeEvent))G.current=!1;else{let y=!1;document.createElement("div").focus({get preventScroll(){return y=!0,!1}}),y?G.current=!1:G.current=!0}}N.on("openchange",I);const k=g.createElement("span");k.setAttribute("tabindex","-1"),k.setAttribute("aria-hidden","true"),Object.assign(k.style,tn),ve&&b&&b.insertAdjacentElement("afterend",k);function F(){const p=q.current;let y=typeof p=="function"?p(Oe.current):p;if(y===void 0||y===!1)return null;if(y===null&&(y=!0),typeof y=="boolean"){const j=b||Ce();return j&&j.isConnected?j:k}const J=b||Ce()||k;return X(y)||J}return()=>{N.off("openchange",I);const p=ne(g),y=L(m,p)||W&&$e(W.nodesRef.current,A(),!1).some(j=>L(j.context?.elements.floating,p)),J=F();queueMicrotask(()=>{const j=cn(J),le=typeof q.current!="boolean";q.current&&!G.current&&te(j)&&(!(!le&&j!==p&&p!==g.body)||y)&&j.focus({preventScroll:!0}),k.remove()})}},[o,m,h,q,P,N,W,ve,b,A]),a.useEffect(()=>{queueMicrotask(()=>{G.current=!1})},[o]),a.useEffect(()=>{if(o||!S)return;function g(I){se(I)?.closest(`[${Vt}]`)&&(ae.current=!0)}const E=U(h);return E.addEventListener("pointerdown",g,!0),()=>{E.removeEventListener("pointerdown",g,!0)}},[o,S,h]),oe(()=>{if(!o&&w)return w.setFocusManagerState({modal:r,closeOnFocusOut:C,open:S,onOpenChange:v.setOpen,domReference:b}),()=>{w.setFocusManagerState(null)}},[o,w,r,S,v,C,b]),oe(()=>{if(!(o||!h))return ze(h,O),()=>{queueMicrotask(Te)}},[o,h,O]);const Le=!o&&(r?!D:!0)&&(ve||r);return M.jsxs(a.Fragment,{children:[Le&&M.jsx(Ye,{"data-type":"inside",ref:pt,onFocus:g=>{if(r){const E=ee();Ee(E[E.length-1])}else w?.portalNode&&(G.current=!1,qe(g,w.portalNode)?Bt(b)?.focus():X(c??w.beforeOutsideRef)?.focus())}}),t,Le&&M.jsx(Ye,{"data-type":"inside",ref:gt,onFocus:g=>{r?Ee(ee()[0]):w?.portalNode&&(C&&(G.current=!0),qe(g,w.portalNode)?jt(b)?.focus():X(f??w.afterOutsideRef)?.focus())}})]})}const fn=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function pn(e,n={}){const t="rootStore"in e?e.rootStore:e,o=t.useState("open"),s=t.useState("floatingId"),i=t.useState("domReferenceElement"),l=t.useState("floatingElement"),{enabled:u=!0,role:r="dialog"}=n,C=kt(),R=i?.id||C,x=a.useMemo(()=>Re(l)?.id||s,[l,s]),f=fn.get(r)??r,d=Gt()!=null,T=a.useMemo(()=>f==="tooltip"||r==="label"?ht:{"aria-haspopup":f==="alertdialog"?"dialog":f,"aria-expanded":"false",...f==="listbox"&&{role:"combobox"},...f==="menu"&&d&&{role:"menuitem"},...r==="select"&&{"aria-autocomplete":"none"},...r==="combobox"&&{"aria-autocomplete":"list"}},[f,d,r]),v=a.useMemo(()=>f==="tooltip"||r==="label"?{[`aria-${r==="label"?"labelledby":"describedby"}`]:o?x:void 0}:{...T,"aria-expanded":o?"true":"false","aria-controls":o?x:void 0,...f==="menu"&&{id:R}},[f,x,o,R,r,T]),S=a.useMemo(()=>{const m={id:x,...f&&{role:f}};return f==="tooltip"||r==="label"?m:{...m,...f==="menu"&&{"aria-labelledby":R}}},[f,x,R,r]),b=a.useCallback(({active:m,selected:N})=>{const P={role:"option",...m&&{id:`${x}-fui-option`}};switch(r){case"select":case"combobox":return{...P,"aria-selected":N}}return{}},[x,r]);return a.useMemo(()=>u?{reference:v,floating:S,item:b,trigger:T}:{},[u,v,S,T,b])}function gn(e){return yt(19)?e:e?"true":void 0}const ct=a.createContext(void 0);function _(e){const n=a.useContext(ct);if(e===!1&&n===void 0)throw new Error(Ze(27));return n}const mn={...it,...at},bn=a.forwardRef(function(n,t){const{render:o,className:s,forceRender:i=!1,...l}=n,{store:u}=_(),r=u.useState("open"),C=u.useState("nested"),R=u.useState("mounted"),x=u.useState("transitionStatus"),f=a.useMemo(()=>({open:r,transitionStatus:x}),[r,x]);return re("div",n,{state:f,ref:[u.context.backdropRef,t],stateAttributesMapping:mn,props:[{role:"presentation",hidden:!R,style:{userSelect:"none",WebkitUserSelect:"none"}},l],enabled:i||!C})}),hn=a.forwardRef(function(n,t){const{render:o,className:s,disabled:i=!1,nativeButton:l=!0,...u}=n,{store:r}=_(),C=r.useState("open");function R(d){C&&r.setOpen(!1,we(It,d.nativeEvent))}const{getButtonProps:x,buttonRef:f}=Tt({disabled:i,native:l}),c=a.useMemo(()=>({disabled:i}),[i]);return re("button",n,{state:c,ref:[t,f],props:[{onClick:R},u,x]})}),yn=a.forwardRef(function(n,t){const{render:o,className:s,id:i,...l}=n,{store:u}=_(),r=tt(i);return u.useSyncedValueWithCleanup("descriptionElementId",r),re("p",n,{ref:t,props:[{id:r},l]})});let vn=(function(e){return e.nestedDialogs="--nested-dialogs",e})({}),Sn=(function(e){return e[e.open=ue.open]="open",e[e.closed=ue.closed]="closed",e[e.startingStyle=ue.startingStyle]="startingStyle",e[e.endingStyle=ue.endingStyle]="endingStyle",e.nested="data-nested",e.nestedDialogOpen="data-nested-dialog-open",e})({});const ut=a.createContext(void 0);function En(){const e=a.useContext(ut);if(e===void 0)throw new Error(Ze(26));return e}const xn={...it,...at,nestedDialogOpen(e){return e?{[Sn.nestedDialogOpen]:""}:null}},Cn=a.forwardRef(function(n,t){const{className:o,finalFocus:s,initialFocus:i,render:l,...u}=n,{store:r}=_(),C=r.useState("descriptionElementId"),R=r.useState("disablePointerDismissal"),x=r.useState("floatingRootContext"),f=r.useState("popupProps"),c=r.useState("modal"),d=r.useState("mounted"),T=r.useState("nested"),v=r.useState("nestedOpenDialogCount"),S=r.useState("open"),b=r.useState("openMethod"),m=r.useState("titleElementId"),N=r.useState("transitionStatus"),P=r.useState("role");En(),$t({open:S,ref:r.context.popupRef,onComplete(){S&&r.context.onOpenChangeComplete?.(!0)}});function A(B){return B==="touch"?r.context.popupRef.current:!0}const Y=i===void 0?A:i,V=v>0,D=a.useMemo(()=>({open:S,nested:T,transitionStatus:N,nestedDialogOpen:V}),[S,T,N,V]),O=re("div",n,{state:D,props:[f,{"aria-labelledby":m??void 0,"aria-describedby":C??void 0,role:P,tabIndex:-1,hidden:!d,onKeyDown(B){en.has(B.key)&&B.stopPropagation()},style:{[vn.nestedDialogs]:v}},u],ref:[t,r.context.popupRef,r.useStateSetter("popupElement")],stateAttributesMapping:xn});return M.jsx(dn,{context:x,openInteractionType:b,disabled:!d,closeOnFocusOut:!R,initialFocus:Y,returnFocus:s,modal:c!==!1,restoreFocus:"popup",children:O})}),Rn=a.forwardRef(function(n,t){const{cutout:o,...s}=n;let i;if(o){const l=o?.getBoundingClientRect();i=`polygon(
|
|
2
|
-
0% 0%,
|
|
3
|
-
100% 0%,
|
|
4
|
-
100% 100%,
|
|
5
|
-
0% 100%,
|
|
6
|
-
0% 0%,
|
|
7
|
-
${l.left}px ${l.top}px,
|
|
8
|
-
${l.left}px ${l.bottom}px,
|
|
9
|
-
${l.right}px ${l.bottom}px,
|
|
10
|
-
${l.right}px ${l.top}px,
|
|
11
|
-
${l.left}px ${l.top}px
|
|
12
|
-
)`}return M.jsx("div",{ref:t,role:"presentation","data-base-ui-inert":"",...s,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:i}})}),wn=a.forwardRef(function(n,t){const{keepMounted:o=!1,...s}=n,{store:i}=_(),l=i.useState("mounted"),u=i.useState("modal"),r=i.useState("open");return l||o?M.jsx(ut.Provider,{value:o,children:M.jsxs(Yt,{ref:t,...s,children:[l&&u===!0&&M.jsx(Rn,{ref:i.context.internalBackdropRef,inert:gn(!r)}),n.children]})}):null});let _e={},Je={},Qe="";function kn(e){if(typeof document>"u")return!1;const n=ie(e);return ge(n).innerWidth-n.documentElement.clientWidth>0}function Tn(e){if(!(typeof CSS<"u"&&CSS.supports&&CSS.supports("scrollbar-gutter","stable"))||typeof document>"u")return!1;const o=ie(e).documentElement,s={scrollbarGutter:o.style.scrollbarGutter,overflowY:o.style.overflowY};o.style.scrollbarGutter="stable",o.style.overflowY="scroll";const i=o.offsetWidth;o.style.overflowY="hidden";const l=o.offsetWidth;return Object.assign(o.style,s),i===l}function In(e){const n=ie(e),t=n.documentElement,o=n.body,s=nt(t)?t:o,i=s.style.overflow;return s.style.overflow="hidden",()=>{s.style.overflow=i}}function Fn(e){const n=ie(e),t=n.documentElement,o=n.body,s=ge(t);let i=0,l=0,u=!1;const r=qt.create();if(Dt&&(s.visualViewport?.scale??1)!==1)return()=>{};function C(){const f=s.getComputedStyle(t),c=s.getComputedStyle(o),v=(f.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";i=t.scrollTop,l=t.scrollLeft,_e={scrollbarGutter:t.style.scrollbarGutter,overflowY:t.style.overflowY,overflowX:t.style.overflowX},Qe=t.style.scrollBehavior,Je={position:o.style.position,height:o.style.height,width:o.style.width,boxSizing:o.style.boxSizing,overflowY:o.style.overflowY,overflowX:o.style.overflowX,scrollBehavior:o.style.scrollBehavior};const S=t.scrollHeight>t.clientHeight,b=t.scrollWidth>t.clientWidth,m=f.overflowY==="scroll"||c.overflowY==="scroll",N=f.overflowX==="scroll"||c.overflowX==="scroll",P=Math.max(0,s.innerWidth-o.clientWidth),A=Math.max(0,s.innerHeight-o.clientHeight),Y=parseFloat(c.marginTop)+parseFloat(c.marginBottom),V=parseFloat(c.marginLeft)+parseFloat(c.marginRight),D=nt(t)?t:o;if(u=Tn(e),u){t.style.scrollbarGutter=v,D.style.overflowY="hidden",D.style.overflowX="hidden";return}Object.assign(t.style,{scrollbarGutter:v,overflowY:"hidden",overflowX:"hidden"}),(S||m)&&(t.style.overflowY="scroll"),(b||N)&&(t.style.overflowX="scroll"),Object.assign(o.style,{position:"relative",height:Y||A?`calc(100dvh - ${Y+A}px)`:"100dvh",width:V||P?`calc(100vw - ${V+P}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),o.scrollTop=i,o.scrollLeft=l,t.setAttribute("data-base-ui-scroll-locked",""),t.style.scrollBehavior="unset"}function R(){Object.assign(t.style,_e),Object.assign(o.style,Je),u||(t.scrollTop=i,t.scrollLeft=l,t.removeAttribute("data-base-ui-scroll-locked"),t.style.scrollBehavior=Qe)}function x(){R(),r.request(C)}return C(),s.addEventListener("resize",x),()=>{r.cancel(),R(),typeof s.removeEventListener=="function"&&s.removeEventListener("resize",x)}}class On{lockCount=0;restore=null;timeoutLock=He.create();timeoutUnlock=He.create();acquire(n){return this.lockCount+=1,this.lockCount===1&&this.restore===null&&this.timeoutLock.start(0,()=>this.lock(n)),this.release}release=()=>{this.lockCount-=1,this.lockCount===0&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{this.lockCount===0&&this.restore&&(this.restore?.(),this.restore=null)};lock(n){if(this.lockCount===0||this.restore!==null)return;const o=ie(n).documentElement,s=ge(o).getComputedStyle(o).overflowY;if(s==="hidden"||s==="clip"){this.restore=vt;return}const i=ot||!kn(n);this.restore=i?In(n):Fn(n)}}const Pn=new On;function Mn(e=!0,n=null){oe(()=>{if(e)return Pn.acquire(n)},[e,n])}function Dn(e){const n=a.useRef(""),t=a.useCallback(s=>{s.defaultPrevented||(n.current=s.pointerType,e(s,s.pointerType))},[e]);return{onClick:a.useCallback(s=>{if(s.detail===0){e(s,"keyboard");return}"pointerType"in s&&e(s,s.pointerType),e(s,n.current),n.current=""},[e]),onPointerDown:t}}function Ln(e){const[n,t]=a.useState(null),o=Q((u,r)=>{e||t(r||(ot?"touch":""))}),s=a.useCallback(()=>{t(null)},[]),{onClick:i,onPointerDown:l}=Dn(o);return a.useMemo(()=>({openMethod:n,reset:s,triggerProps:{onClick:i,onPointerDown:l}}),[n,s,i,l])}function An(e){const{store:n,parentContext:t,actionsRef:o}=e,s=n.useState("open"),i=n.useState("disablePointerDismissal"),l=n.useState("modal"),u=n.useState("popupElement"),{openMethod:r,triggerProps:C,reset:R}=Ln(s);Ht(n);const{forceUnmount:x}=Ut(s,n,()=>{R()}),f=Q(O=>{const B=we(O);return B.preventUnmountOnClose=()=>{n.set("preventUnmountingOnClose",!0)},B}),c=a.useCallback(()=>{n.setOpen(!1,f(Ft))},[n,f]);a.useImperativeHandle(o,()=>({unmount:x,close:c}),[x,c]);const d=Xt({popupStore:n,onOpenChange:n.setOpen,treatPopupAsFloatingElement:!0,noEmit:!0}),[T,v]=a.useState(0),S=T===0,b=pn(d),m=Kt(d,{outsidePressEvent(){return n.context.internalBackdropRef.current||n.context.backdropRef.current?"intentional":{mouse:l==="trap-focus"?"sloppy":"intentional",touch:"sloppy"}},outsidePress(O){if("button"in O&&O.button!==0||"touches"in O&&O.touches.length!==1)return!1;const B=se(O);if(S&&!i){const q=B;return l&&(n.context.internalBackdropRef.current||n.context.backdropRef.current)?n.context.internalBackdropRef.current===q||n.context.backdropRef.current===q||L(q,u)&&!q?.hasAttribute("data-base-ui-portal"):!0}return!1},escapeKey:S});Mn(s&&l===!0,u);const{getReferenceProps:N,getFloatingProps:P,getTriggerProps:A}=zt([b,m]);n.useContextCallback("onNestedDialogOpen",O=>{v(O+1)}),n.useContextCallback("onNestedDialogClose",()=>{v(0)}),a.useEffect(()=>(t?.onNestedDialogOpen&&s&&t.onNestedDialogOpen(T),t?.onNestedDialogClose&&!s&&t.onNestedDialogClose(),()=>{t?.onNestedDialogClose&&s&&t.onNestedDialogClose()}),[s,t,T]);const Y=a.useMemo(()=>N(C),[N,C]),V=a.useMemo(()=>A(C),[A,C]),D=a.useMemo(()=>P(),[P]);n.useSyncedValues({openMethod:r,activeTriggerProps:Y,inactiveTriggerProps:V,popupProps:D,floatingRootContext:d,nestedOpenDialogCount:T})}const Nn={...Qt,modal:H(e=>e.modal),nested:H(e=>e.nested),nestedOpenDialogCount:H(e=>e.nestedOpenDialogCount),disablePointerDismissal:H(e=>e.disablePointerDismissal),openMethod:H(e=>e.openMethod),descriptionElementId:H(e=>e.descriptionElementId),titleElementId:H(e=>e.titleElementId),viewportElement:H(e=>e.viewportElement),role:H(e=>e.role)};class Bn extends _t{constructor(n){super(jn(n),{popupRef:a.createRef(),backdropRef:a.createRef(),internalBackdropRef:a.createRef(),triggerElements:new Jt,onOpenChange:void 0,onOpenChangeComplete:void 0},Nn)}setOpen=(n,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},!n&&t.trigger==null&&this.state.activeTriggerId!=null&&(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(n,t),t.isCanceled)return;const o={open:n,nativeEvent:t.event,reason:t.reason,nested:this.state.nested};this.state.floatingRootContext.context.events?.emit("openchange",o);const s={open:n},i=t.trigger?.id??null;(i||n)&&(s.activeTriggerId=i,s.activeTriggerElement=t.trigger??null),this.update(s)}}function jn(e={}){return{...Zt(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,role:"dialog",...e}}function Vn(e){const{children:n,open:t,defaultOpen:o=!1,onOpenChange:s,onOpenChangeComplete:i,disablePointerDismissal:l=!1,modal:u=!0,actionsRef:r,handle:C,triggerId:R,defaultTriggerId:x=null}=e,f=_(!0),c=!!f,d=St(()=>C?.store??new Bn({open:t??o,activeTriggerId:R!==void 0?R:x,modal:u,disablePointerDismissal:l,nested:c})).current;d.useControlledProp("open",t,o),d.useControlledProp("activeTriggerId",R,x),d.useSyncedValues({disablePointerDismissal:l,nested:c,modal:u}),d.useContextCallback("onOpenChange",s),d.useContextCallback("onOpenChangeComplete",i);const T=d.useState("payload");An({store:d,actionsRef:r,parentContext:f?.store.context});const v=a.useMemo(()=>({store:d}),[d]);return M.jsx(ct.Provider,{value:v,children:typeof n=="function"?n({payload:T}):n})}const Wn=a.forwardRef(function(n,t){const{render:o,className:s,id:i,...l}=n,{store:u}=_(),r=tt(i);return u.useSyncedValueWithCleanup("titleElementId",r),re("h2",n,{ref:t,props:[{id:r},l]})});function zn({children:e,...n}){return M.jsx(Vn,{...n,children:e})}function _n({className:e,children:n}){return M.jsxs(wn,{children:[M.jsx(bn,{className:"fixed inset-0 bg-ink/40 transition-all duration-150 data-[state=open]:opacity-100 data-[state=closed]:opacity-0 dark:bg-surface/40"}),M.jsx(Cn,{className:pe("fixed left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","w-[min(400px,92vw)] rounded-[20px] border border-primary-200 bg-primary-50 p-0 shadow-lg","transition-all duration-150","data-[state=open]:opacity-100 data-[state=closed]:opacity-0","data-[state=open]:scale-100 data-[state=closed]:scale-95",e),children:n})]})}function Jn({className:e,...n}){return M.jsx(Wn,{className:pe("text-lg font-medium text-primary-900",e),...n})}function Qn({className:e,...n}){return M.jsx(yn,{className:pe("text-sm text-primary-600",e),...n})}function Zn({className:e,render:n,...t}){return M.jsx(hn,{render:n||M.jsx(Et,{variant:"outline",className:pe(e)}),...t})}const eo=nn((e,n)=>({currentPath:"/",viewMode:"list",sortBy:"name",sortAsc:!0,selectedFiles:new Set,editingFile:null,navigateTo:t=>{e({currentPath:t,selectedFiles:new Set})},setViewMode:t=>{e({viewMode:t})},setSortBy:t=>{const o=n().sortBy;e({sortBy:t,sortAsc:o===t?!n().sortAsc:!0})},toggleSort:()=>{e(t=>({sortAsc:!t.sortAsc}))},selectFile:t=>{e(o=>{const s=new Set(o.selectedFiles);return s.add(t),{selectedFiles:s}})},deselectFile:t=>{e(o=>{const s=new Set(o.selectedFiles);return s.delete(t),{selectedFiles:s}})},clearSelection:()=>{e({selectedFiles:new Set})},openInEditor:t=>{const o=t.includes("/")&&t.slice(0,t.lastIndexOf("/"))||"/";e({currentPath:o,editingFile:t,selectedFiles:new Set})},closeEditor:()=>{e({editingFile:null})},toggleFileSelection:t=>{const{selectedFiles:o,selectFile:s,deselectFile:i}=n();o.has(t)?i(t):s(t)}}));export{zn as D,dn as F,Rn as I,_n as a,Jn as b,Qn as c,Zn as d,Ee as e,Ln as f,Mn as g,pn as h,gn as i,_ as j,Bn as k,An as l,ct as m,wn as n,bn as o,Cn as p,Wn as q,yn as r,hn as s,eo as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as V,ab as _,ac as Y,ad as j,ae as C}from"./button-DNC5N25i.js";import{r as l,v as x}from"./main-CEuT8-Qi.js";const G=()=>{},J=typeof document<"u"?l.useLayoutEffect:G;function m(){return typeof window<"u"}function E(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function d(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function X(e){var t;return(t=(I(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function I(e){return m()?e instanceof Node||e instanceof d(e).Node:!1}function T(e){return m()?e instanceof Element||e instanceof d(e).Element:!1}function h(e){return m()?e instanceof HTMLElement||e instanceof d(e).HTMLElement:!1}function k(e){return!m()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof d(e).ShadowRoot}const q=new Set(["inline","contents"]);function L(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=O(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!q.has(s)}const z=new Set(["table","td","th"]);function he(e){return z.has(E(e))}const Q=[":popover-open",":modal"];function Z(e){return Q.some(t=>{try{return e.matches(t)}catch{return!1}})}const ee=["transform","translate","scale","rotate","perspective"],te=["transform","translate","scale","rotate","perspective","filter"],ne=["paint","layout","strict","content"];function oe(e){const t=se(),n=T(e)?O(e):e;return ee.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||te.some(r=>(n.willChange||"").includes(r))||ne.some(r=>(n.contain||"").includes(r))}function De(e){let t=y(e);for(;h(t)&&!B(t);){if(oe(t))return t;if(Z(t))return null;t=y(t)}return null}function se(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const re=new Set(["html","body","#document"]);function B(e){return re.has(E(e))}function O(e){return d(e).getComputedStyle(e)}function Ce(e){return T(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function y(e){if(E(e)==="html")return e;const t=e.assignedSlot||e.parentNode||k(e)&&e.host||X(e);return k(t)?t.host:t}function R(e){const t=y(e);return B(t)?e.ownerDocument?e.ownerDocument.body:e.body:h(t)&&L(t)?t:R(t)}function N(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=R(e),a=s===((r=e.ownerDocument)==null?void 0:r.body),i=d(s);if(a){const u=ae(i);return t.concat(i,i.visualViewport||[],L(s)?s:[],u&&n?N(u):[])}return t.concat(s,N(s,[],n))}function ae(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}const g=x[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],ie=g&&g!==l.useLayoutEffect?g:e=>e();function S(e){const t=V(ce).current;return t.next=e,ie(t.effect),t.trampoline}function ce(){const e={next:void 0,callback:le,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function le(){}const ue={...x};let P=0;function fe(e,t="mui"){const[n,r]=l.useState(e),s=e||n;return l.useEffect(()=>{n==null&&(P+=1,r(`${t}-${P}`))},[n,t]),s}const v=ue.useId;function de(e,t){if(v!==void 0){const n=v();return e??(t?`${t}-${n}`:n)}return fe(e,t)}const ke="none",Ne="trigger-press",Se="trigger-hover",Pe="trigger-focus",ve="outside-press",xe="item-press",Ie="close-press",Te="focus-out",Le="escape-key",Be="list-navigation",Oe="cancel-open",Re="sibling-open",Ke="disabled",Me="imperative-action";function Fe(e,t,n,r){let s=!1,a=!1;const i=r??_;return{reason:e,event:t??new Event("base-ui"),cancel(){s=!0},allowPropagation(){a=!0},get isCanceled(){return s},get isPropagationAllowed(){return a},trigger:n,...i}}function Ue(e){return de(e,"base-ui")}const pe=l.createContext(void 0);function be(e=!1){const t=l.useContext(pe);if(t===void 0&&!e)throw new Error(Y(16));return t}function me(e){const{focusableWhenDisabled:t,disabled:n,composite:r=!1,tabIndex:s=0,isNativeButton:a}=e,i=r&&t!==!1,u=r&&t===!1;return{props:l.useMemo(()=>{const f={onKeyDown(b){n&&t&&b.key!=="Tab"&&b.preventDefault()}};return r||(f.tabIndex=s,!a&&n&&(f.tabIndex=t?s:-1)),(a&&(t||i)||!a&&n)&&(f["aria-disabled"]=n),a&&(!t||u)&&(f.disabled=n),f},[r,n,t,i,u,a,s])}}function We(e={}){const{disabled:t=!1,focusableWhenDisabled:n,tabIndex:r=0,native:s=!0}=e,a=l.useRef(null),i=be(!0)!==void 0,u=S(()=>{const c=a.current;return!!(c?.tagName==="A"&&c?.href)}),{props:p}=me({focusableWhenDisabled:n,disabled:t,composite:i,tabIndex:r,isNativeButton:s}),f=l.useCallback(()=>{const c=a.current;we(c)&&i&&t&&p.disabled===void 0&&c.disabled&&(c.disabled=!1)},[t,p.disabled,i]);J(f,[f]);const b=l.useCallback((c={})=>{const{onClick:w,onMouseDown:M,onKeyUp:F,onKeyDown:U,onPointerDown:W,...A}=c;return j({type:s?"button":void 0,onClick(o){if(t){o.preventDefault();return}w?.(o)},onMouseDown(o){t||M?.(o)},onKeyDown(o){if(t||(C(o),U?.(o)),o.baseUIHandlerPrevented)return;const H=o.target===o.currentTarget&&!s&&!u()&&!t,D=o.key==="Enter",$=o.key===" ";H&&(($||D)&&o.preventDefault(),D&&w?.(o))},onKeyUp(o){t||(C(o),F?.(o)),!o.baseUIHandlerPrevented&&o.target===o.currentTarget&&!s&&!t&&o.key===" "&&w?.(o)},onPointerDown(o){if(t){o.preventDefault();return}W?.(o)}},s?void 0:{role:"button"},p,A)},[t,p,s,u]),K=S(c=>{a.current=c,f()});return{getButtonProps:b,buttonRef:K}}function we(e){return h(e)&&e.tagName==="BUTTON"}export{d as A,Ie as B,pe as C,L as D,N as E,X as F,ae as G,se as H,Z as I,he as J,oe as K,De as L,Ce as M,Ke as N,I as O,S as a,be as b,k as c,Ue as d,T as e,We as f,Fe as g,O as h,h as i,Te as j,xe as k,Be as l,Se as m,ke as n,ve as o,de as p,Pe as q,Le as r,Re as s,Ne as t,J as u,Me as v,B as w,y as x,Oe as y,E as z};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{f as S}from"./DirectionContext-DRcND-Cm.js";import{A as j,s as D,a as H,b as y,c as k}from"./owner-CFRNz_Tp.js";import{r as R,j as B}from"./main-CEuT8-Qi.js";import{u as G,t as V}from"./button-DNC5N25i.js";import{u as L,a as T,b as I}from"./useButton-DVAfkehQ.js";function p(e,u,o){return Math.floor(e/u)!==o}function x(e,u){return u<0||u>=e.current.length}function et(e,u){return N(e,{disabledIndices:u})}function nt(e,u){return N(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:u})}function N(e,{startingIndex:u=-1,decrement:o=!1,disabledIndices:s,amount:m=1}={}){let t=u;do t+=o?-m:m;while(t>=0&&t<=e.current.length-1&&z(e,t,s));return t}function rt(e,{event:u,orientation:o,loopFocus:s,rtl:m,cols:t,disabledIndices:a,minIndex:O,maxIndex:g,prevIndex:i,stopEvent:c=!1}){let r=i;const d=[],w={};let C=!1;{let n=null,l=-1;e.current.forEach((h,f)=>{if(h==null)return;const M=h.closest('[role="row"]');M&&(C=!0),(M!==n||l===-1)&&(n=M,l+=1,d[l]=[]),d[l].push(f),w[f]=l})}const E=C&&d.length>0&&d.some(n=>n.length!==t);function b(n){if(!E||i===-1)return;const l=w[i];if(l==null)return;const h=d[l].indexOf(i);let f=n==="up"?l-1:l+1;s&&(f<0?f=d.length-1:f>=d.length&&(f=0));const M=new Set;for(;f>=0&&f<d.length&&!M.has(f);){M.add(f);const _=d[f];if(_.length===0){f=n==="up"?f-1:f+1;continue}const W=Math.min(h,_.length-1);for(let P=W;P>=0;P-=1){const A=_[P];if(!z(e,A,a))return A}f=n==="up"?f-1:f+1,s&&(f<0?f=d.length-1:f>=d.length&&(f=0))}}if(u.key===j){const n=b("up");if(n!==void 0)c&&D(u),r=n;else{if(c&&D(u),i===-1)r=g;else if(r=N(e,{startingIndex:r,amount:t,decrement:!0,disabledIndices:a}),s&&(i-t<O||r<0)){const l=i%t,h=g%t,f=g-(h-l);h===l?r=g:r=h>l?f:f-t}x(e,r)&&(r=i)}}if(u.key===H){const n=b("down");n!==void 0?(c&&D(u),r=n):(c&&D(u),i===-1?r=O:(r=N(e,{startingIndex:i,amount:t,disabledIndices:a}),s&&i+t>g&&(r=N(e,{startingIndex:i%t-t,amount:t,disabledIndices:a}))),x(e,r)&&(r=i))}if(o==="both"){const n=S(i/t);u.key===(m?y:k)&&(c&&D(u),i%t!==t-1?(r=N(e,{startingIndex:i,disabledIndices:a}),s&&p(r,t,n)&&(r=N(e,{startingIndex:i-i%t-1,disabledIndices:a}))):s&&(r=N(e,{startingIndex:i-i%t-1,disabledIndices:a})),p(r,t,n)&&(r=i)),u.key===(m?k:y)&&(c&&D(u),i%t!==0?(r=N(e,{startingIndex:i,decrement:!0,disabledIndices:a}),s&&p(r,t,n)&&(r=N(e,{startingIndex:i+(t-i%t),decrement:!0,disabledIndices:a}))):s&&(r=N(e,{startingIndex:i+(t-i%t),decrement:!0,disabledIndices:a})),p(r,t,n)&&(r=i));const l=S(g/t)===n;x(e,r)&&(s&&l?r=u.key===(m?k:y)?g:N(e,{startingIndex:i-i%t-1,disabledIndices:a}):r=i)}return r}function ut(e,u,o){const s=[];let m=0;return e.forEach(({width:t,height:a},O)=>{let g=!1;for(o&&(m=0);!g;){const i=[];for(let c=0;c<t;c+=1)for(let r=0;r<a;r+=1)i.push(m+c+r*u);m%u+t<=u&&i.every(c=>s[c]==null)?(i.forEach(c=>{s[c]=O}),g=!0):m+=1}}),[...s]}function it(e,u,o,s,m){if(e===-1)return-1;const t=o.indexOf(e),a=u[e];switch(m){case"tl":return t;case"tr":return a?t+a.width-1:t;case"bl":return a?t+(a.height-1)*s:t;case"br":return o.lastIndexOf(e);default:return-1}}function st(e,u){return u.flatMap((o,s)=>e.includes(o)?[s]:[])}function z(e,u,o){if(typeof o=="function")return o(u);if(o)return o.includes(u);const s=e.current[u];return s?s.hasAttribute("disabled")||s.getAttribute("aria-disabled")==="true":!1}const U=R.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function Y(){return R.useContext(U)}let q=(function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e})({});function J(e={}){const{label:u,metadata:o,textRef:s,indexGuessBehavior:m,index:t}=e,{register:a,unregister:O,subscribeMapChange:g,elementsRef:i,labelsRef:c,nextIndexRef:r}=Y(),d=R.useRef(-1),[w,C]=R.useState(t??(m===q.GuessFromOrder?()=>{if(d.current===-1){const n=r.current;r.current+=1,d.current=n}return d.current}:-1)),E=R.useRef(null),b=R.useCallback(n=>{if(E.current=n,w!==-1&&n!==null&&(i.current[w]=n,c)){const l=u!==void 0;c.current[w]=l?u:s?.current?.textContent??n.textContent}},[w,i,c,u,s]);return L(()=>{if(t!=null)return;const n=E.current;if(n)return a(n,o),()=>{O(n)}},[t,a,O,o]),L(()=>{if(t==null)return g(n=>{const l=E.current?n.get(E.current)?.index:null;l!=null&&C(l)})},[t,g,C]),R.useMemo(()=>({ref:b,index:w}),[w,b])}function ot(e){const{children:u,elementsRef:o,labelsRef:s,onMapChange:m}=e,t=T(m),a=R.useRef(0),O=G(Q).current,g=G(K).current,[i,c]=R.useState(0),r=R.useRef(i),d=T((n,l)=>{g.set(n,l??null),r.current+=1,c(r.current)}),w=T(n=>{g.delete(n),r.current+=1,c(r.current)}),C=R.useMemo(()=>{const n=new Map;return Array.from(g.keys()).filter(h=>h.isConnected).sort(X).forEach((h,f)=>{const M=g.get(h)??{};n.set(h,{...M,index:f})}),n},[g,i]);L(()=>{if(typeof MutationObserver!="function"||C.size===0)return;const n=new MutationObserver(l=>{const h=new Set,f=M=>h.has(M)?h.delete(M):h.add(M);l.forEach(M=>{M.removedNodes.forEach(f),M.addedNodes.forEach(f)}),h.size===0&&(r.current+=1,c(r.current))});return C.forEach((l,h)=>{h.parentElement&&n.observe(h.parentElement,{childList:!0})}),()=>{n.disconnect()}},[C]),L(()=>{r.current===i&&(o.current.length!==C.size&&(o.current.length=C.size),s&&s.current.length!==C.size&&(s.current.length=C.size),a.current=C.size),t(C)},[t,C,o,s,i]),L(()=>()=>{o.current=[]},[o]),L(()=>()=>{s&&(s.current=[])},[s]);const E=T(n=>(O.add(n),()=>{O.delete(n)}));L(()=>{O.forEach(n=>n(C))},[O,C]);const b=R.useMemo(()=>({register:d,unregister:w,subscribeMapChange:E,elementsRef:o,labelsRef:s,nextIndexRef:a}),[d,w,E,o,s,a]);return B.jsx(U.Provider,{value:b,children:u})}function K(){return new Map}function Q(){return new Set}function X(e,u){const o=e.compareDocumentPosition(u);return o&Node.DOCUMENT_POSITION_FOLLOWING||o&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:o&Node.DOCUMENT_POSITION_PRECEDING||o&Node.DOCUMENT_POSITION_CONTAINS?1:0}function ft(e={}){const{highlightItemOnHover:u,highlightedIndex:o,onHighlightedIndexChange:s}=I(),{ref:m,index:t}=J(e),a=o===t,O=R.useRef(null),g=V(m,O);return{compositeProps:R.useMemo(()=>({tabIndex:a?0:-1,onFocus(){s(t)},onMouseMove(){const c=O.current;if(!u||!c)return;const r=c.hasAttribute("disabled")||c.ariaDisabled==="true";!a&&!r&&c.focus()}}),[a,s,t,u]),compositeRef:g,index:t}}export{ot as C,nt as a,rt as b,ut as c,it as d,st as e,N as f,et as g,x as h,z as i,J as j,ft as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{S as J,p as N,e as l,s as Q,f as g,b as x,i as M,k as B,t as X,l as C,m as Y,o as Z,q as H,n as z,r as d,c as V,u as $}from"./main-CEuT8-Qi.js";var q=class extends J{constructor(t,e){super(),this.options=e,this.#s=t,this.#r=null,this.#i=N(),this.bindMethods(),this.setOptions(e)}#s;#t=void 0;#p=void 0;#e=void 0;#a;#u;#i;#r;#b;#l;#d;#o;#h;#n;#f=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),A(this.#t,this.options)?this.#c():this.updateResult(),this.#g())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return _(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return _(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#y(),this.#S(),this.#t.removeObserver(this)}setOptions(t){const e=this.options,s=this.#t;if(this.options=this.#s.defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof l(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#O(),this.#t.setOptions(this.options),e._defaulted&&!Q(this.options,e)&&this.#s.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&j(this.#t,s,this.options,e)&&this.#c(),this.updateResult(),i&&(this.#t!==s||l(this.options.enabled,this.#t)!==l(e.enabled,this.#t)||g(this.options.staleTime,this.#t)!==g(e.staleTime,this.#t))&&this.#v();const r=this.#R();i&&(this.#t!==s||l(this.options.enabled,this.#t)!==l(e.enabled,this.#t)||r!==this.#n)&&this.#m(r)}getOptimisticResult(t){const e=this.#s.getQueryCache().build(this.#s,t),s=this.createResult(e,t);return et(this,s)&&(this.#e=s,this.#u=this.options,this.#a=this.#t.state),s}getCurrentResult(){return this.#e}trackResult(t,e){return new Proxy(t,{get:(s,i)=>(this.trackProp(i),e?.(i),i==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#i.status==="pending"&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(s,i))})}trackProp(t){this.#f.add(t)}getCurrentQuery(){return this.#t}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const e=this.#s.defaultQueryOptions(t),s=this.#s.getQueryCache().build(this.#s,e);return s.fetch().then(()=>this.createResult(s,e))}fetch(t){return this.#c({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#e))}#c(t){this.#O();let e=this.#t.fetch(this.options,t);return t?.throwOnError||(e=e.catch(x)),e}#v(){this.#y();const t=g(this.options.staleTime,this.#t);if(M||this.#e.isStale||!B(t))return;const s=X(this.#e.dataUpdatedAt,t)+1;this.#o=C.setTimeout(()=>{this.#e.isStale||this.updateResult()},s)}#R(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#m(t){this.#S(),this.#n=t,!(M||l(this.options.enabled,this.#t)===!1||!B(this.#n)||this.#n===0)&&(this.#h=C.setInterval(()=>{(this.options.refetchIntervalInBackground||Y.isFocused())&&this.#c()},this.#n))}#g(){this.#v(),this.#m(this.#R())}#y(){this.#o&&(C.clearTimeout(this.#o),this.#o=void 0)}#S(){this.#h&&(C.clearInterval(this.#h),this.#h=void 0)}createResult(t,e){const s=this.#t,i=this.options,r=this.#e,u=this.#a,a=this.#u,v=t!==s?t.state:this.#p,{state:h}=t;let n={...h},R=!1,o;if(e._optimisticResults){const c=this.hasListeners(),m=!c&&A(t,e),S=c&&j(t,s,e,i);(m||S)&&(n={...n,...Z(h.data,t.options)}),e._optimisticResults==="isRestoring"&&(n.fetchStatus="idle")}let{error:y,errorUpdatedAt:U,status:b}=n;o=n.data;let D=!1;if(e.placeholderData!==void 0&&o===void 0&&b==="pending"){let c;r?.isPlaceholderData&&e.placeholderData===a?.placeholderData?(c=r.data,D=!0):c=typeof e.placeholderData=="function"?e.placeholderData(this.#d?.state.data,this.#d):e.placeholderData,c!==void 0&&(b="success",o=H(r?.data,c,e),R=!0)}if(e.select&&o!==void 0&&!D)if(r&&o===u?.data&&e.select===this.#b)o=this.#l;else try{this.#b=e.select,o=e.select(o),o=H(r?.data,o,e),this.#l=o,this.#r=null}catch(c){this.#r=c}this.#r&&(y=this.#r,o=this.#l,U=Date.now(),b="error");const I=n.fetchStatus==="fetching",w=b==="pending",T=b==="error",F=w&&I,k=o!==void 0,p={status:b,fetchStatus:n.fetchStatus,isPending:w,isSuccess:b==="success",isError:T,isInitialLoading:F,isLoading:F,data:o,dataUpdatedAt:n.dataUpdatedAt,error:y,errorUpdatedAt:U,failureCount:n.fetchFailureCount,failureReason:n.fetchFailureReason,errorUpdateCount:n.errorUpdateCount,isFetched:n.dataUpdateCount>0||n.errorUpdateCount>0,isFetchedAfterMount:n.dataUpdateCount>v.dataUpdateCount||n.errorUpdateCount>v.errorUpdateCount,isFetching:I,isRefetching:I&&!w,isLoadingError:T&&!k,isPaused:n.fetchStatus==="paused",isPlaceholderData:R,isRefetchError:T&&k,isStale:P(t,e),refetch:this.refetch,promise:this.#i,isEnabled:l(e.enabled,t)!==!1};if(this.options.experimental_prefetchInRender){const c=p.data!==void 0,m=p.status==="error"&&!c,S=E=>{m?E.reject(p.error):c&&E.resolve(p.data)},L=()=>{const E=this.#i=p.promise=N();S(E)},O=this.#i;switch(O.status){case"pending":t.queryHash===s.queryHash&&S(O);break;case"fulfilled":(m||p.data!==O.value)&&L();break;case"rejected":(!m||p.error!==O.reason)&&L();break}}return p}updateResult(){const t=this.#e,e=this.createResult(this.#t,this.options);if(this.#a=this.#t.state,this.#u=this.options,this.#a.data!==void 0&&(this.#d=this.#t),Q(e,t))return;this.#e=e;const s=()=>{if(!t)return!0;const{notifyOnChangeProps:i}=this.options,r=typeof i=="function"?i():i;if(r==="all"||!r&&!this.#f.size)return!0;const u=new Set(r??this.#f);return this.options.throwOnError&&u.add("error"),Object.keys(this.#e).some(a=>{const f=a;return this.#e[f]!==t[f]&&u.has(f)})};this.#E({listeners:s()})}#O(){const t=this.#s.getQueryCache().build(this.#s,this.options);if(t===this.#t)return;const e=this.#t;this.#t=t,this.#p=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#g()}#E(t){z.batch(()=>{t.listeners&&this.listeners.forEach(e=>{e(this.#e)}),this.#s.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function tt(t,e){return l(e.enabled,t)!==!1&&t.state.data===void 0&&!(t.state.status==="error"&&e.retryOnMount===!1)}function A(t,e){return tt(t,e)||t.state.data!==void 0&&_(t,e,e.refetchOnMount)}function _(t,e,s){if(l(e.enabled,t)!==!1&&g(e.staleTime,t)!=="static"){const i=typeof s=="function"?s(t):s;return i==="always"||i!==!1&&P(t,e)}return!1}function j(t,e,s,i){return(t!==e||l(i.enabled,t)===!1)&&(!s.suspense||t.state.status!=="error")&&P(t,s)}function P(t,e){return l(e.enabled,t)!==!1&&t.isStaleByTime(g(e.staleTime,t))}function et(t,e){return!Q(t.getCurrentResult(),e)}var K=d.createContext(!1),st=()=>d.useContext(K);K.Provider;function it(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}var rt=d.createContext(it()),nt=()=>d.useContext(rt),at=(t,e,s)=>{const i=s?.state.error&&typeof t.throwOnError=="function"?V(t.throwOnError,[s.state.error,s]):t.throwOnError;(t.suspense||t.experimental_prefetchInRender||i)&&(e.isReset()||(t.retryOnMount=!1))},ot=t=>{d.useEffect(()=>{t.clearReset()},[t])},ht=({result:t,errorResetBoundary:e,throwOnError:s,query:i,suspense:r})=>t.isError&&!e.isReset()&&!t.isFetching&&i&&(r&&t.data===void 0||V(s,[t.error,i])),ct=t=>{if(t.suspense){const s=r=>r==="static"?r:Math.max(r??1e3,1e3),i=t.staleTime;t.staleTime=typeof i=="function"?(...r)=>s(i(...r)):s(i),typeof t.gcTime=="number"&&(t.gcTime=Math.max(t.gcTime,1e3))}},ut=(t,e)=>t.isLoading&&t.isFetching&&!e,lt=(t,e)=>t?.suspense&&e.isPending,W=(t,e,s)=>e.fetchOptimistic(t).catch(()=>{s.clearReset()});function dt(t,e,s){const i=st(),r=nt(),u=$(),a=u.defaultQueryOptions(t);u.getDefaultOptions().queries?._experimental_beforeQuery?.(a);const f=u.getQueryCache().get(a.queryHash);a._optimisticResults=i?"isRestoring":"optimistic",ct(a),at(a,r,f),ot(r);const v=!u.getQueryCache().get(a.queryHash),[h]=d.useState(()=>new e(u,a)),n=h.getOptimisticResult(a),R=!i&&t.subscribed!==!1;if(d.useSyncExternalStore(d.useCallback(o=>{const y=R?h.subscribe(z.batchCalls(o)):x;return h.updateResult(),y},[h,R]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),d.useEffect(()=>{h.setOptions(a)},[a,h]),lt(a,n))throw W(a,h,r);if(ht({result:n,errorResetBoundary:r,throwOnError:a.throwOnError,query:f,suspense:a.suspense}))throw n.error;return u.getDefaultOptions().queries?._experimental_afterQuery?.(a,n),a.experimental_prefetchInRender&&!M&&ut(n,i)&&(v?W(a,h,r):f?.promise)?.catch(x).finally(()=>{h.updateResult()}),a.notifyOnChangeProps?n:h.trackResult(n)}function bt(t,e){return dt(t,q)}const G={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},vt={...G,position:"fixed",top:0,left:0},Rt={...G,position:"absolute"};export{vt as a,bt as u,Rt as v};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
const tsrStartManifest = () => ({ "routes": { "__root__": { "filePath": "/home/runner/work/opencami/opencami/src/routes/__root.tsx", "children": ["/", "/agents", "/bots", "/connect", "/files", "/memory", "/new", "/skills", "/api/agents", "/api/cron", "/api/follow-ups", "/api/history", "/api/llm-features", "/api/models", "/api/paths", "/api/personas", "/api/ping", "/api/send", "/api/sessions", "/api/skills", "/api/stream", "/api/stt", "/api/tts", "/chat/$sessionKey", "/api/files/delete", "/api/files/download", "/api/files/info", "/api/files/list", "/api/files/mkdir", "/api/files/read", "/api/files/rename", "/api/files/save", "/api/files/upload"], "preloads": ["/assets/main-CEuT8-Qi.js"], "assets": [] }, "/": { "filePath": "/home/runner/work/opencami/opencami/src/routes/index.tsx", "assets": [], "preloads": ["/assets/index-Dg0mbvtv.js"] }, "/agents": { "filePath": "/home/runner/work/opencami/opencami/src/routes/agents.tsx", "assets": [], "preloads": ["/assets/agents-BkeWu_3a.js"] }, "/bots": { "filePath": "/home/runner/work/opencami/opencami/src/routes/bots.tsx", "assets": [], "preloads": ["/assets/bots-CyJwr-JU.js"] }, "/connect": { "filePath": "/home/runner/work/opencami/opencami/src/routes/connect.tsx", "assets": [], "preloads": ["/assets/connect-BX1MWO82.js", "/assets/index-BlC2sH55.js", "/assets/button-DNC5N25i.js", "/assets/react-K9goXsVv.js"] }, "/files": { "filePath": "/home/runner/work/opencami/opencami/src/routes/files.tsx", "assets": [], "preloads": ["/assets/files-HiN5rXWq.js"] }, "/memory": { "filePath": "/home/runner/work/opencami/opencami/src/routes/memory.tsx", "assets": [], "preloads": ["/assets/memory-lhzf-8Q4.js"] }, "/new": { "filePath": "/home/runner/work/opencami/opencami/src/routes/new.tsx", "assets": [], "preloads": ["/assets/new-DLlBm66g.js"] }, "/skills": { "filePath": "/home/runner/work/opencami/opencami/src/routes/skills.tsx", "assets": [], "preloads": ["/assets/skills-BEkw619A.js"] }, "/api/agents": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/agents.ts" }, "/api/cron": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/cron.ts" }, "/api/follow-ups": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/follow-ups.ts" }, "/api/history": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/history.ts" }, "/api/llm-features": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/llm-features.ts" }, "/api/models": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/models.ts" }, "/api/paths": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/paths.ts" }, "/api/personas": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/personas.ts" }, "/api/ping": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/ping.ts" }, "/api/send": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/send.ts" }, "/api/sessions": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/sessions.ts" }, "/api/skills": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/skills.ts" }, "/api/stream": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/stream.ts" }, "/api/stt": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/stt.ts" }, "/api/tts": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/tts.ts" }, "/chat/$sessionKey": { "filePath": "/home/runner/work/opencami/opencami/src/routes/chat/$sessionKey.tsx", "assets": [], "preloads": ["/assets/_sessionKey-BAmpzUOP.js", "/assets/visuallyHidden-CO3ZD5AQ.js", "/assets/tooltip-D57Pal0B.js", "/assets/button-DNC5N25i.js", "/assets/use-file-explorer-state-DppKEjcl.js", "/assets/useButton-DVAfkehQ.js", "/assets/useControlled-Cl9XA2_f.js", "/assets/popupStateMapping-D5k-jOeY.js", "/assets/owner-CFRNz_Tp.js", "/assets/CSPContext-a-MQmQQt.js", "/assets/DirectionContext-DRcND-Cm.js", "/assets/menu-47ooFeSm.js", "/assets/useMutation-C5bTdeC1.js", "/assets/opencami-logo-DA69yVKc.js", "/assets/proxy-Cawf6X0W.js", "/assets/markdown-DKD6ZLRJ.js", "/assets/index-BlC2sH55.js", "/assets/react-K9goXsVv.js"] }, "/api/files/delete": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/delete.ts" }, "/api/files/download": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/download.ts" }, "/api/files/info": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/info.ts" }, "/api/files/list": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/list.ts" }, "/api/files/mkdir": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/mkdir.ts" }, "/api/files/read": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/read.ts" }, "/api/files/rename": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/rename.ts" }, "/api/files/save": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/save.ts" }, "/api/files/upload": { "filePath": "/home/runner/work/opencami/opencami/src/routes/api/files/upload.ts" } }, "clientEntry": "/assets/main-CEuT8-Qi.js" });
|
|
2
|
-
export {
|
|
3
|
-
tsrStartManifest
|
|
4
|
-
};
|