openclaw-cortex 3.2.2 → 3.2.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/dist/build-info.json +2 -2
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/dist/control-ui/_app/immutable/chunks/hPYUhDQO.js +1 -0
- package/dist/control-ui/_app/immutable/entry/{app.CrCCwjNG.js → app.DpA4vHmZ.js} +2 -2
- package/dist/control-ui/_app/immutable/entry/start.sQG_Ah97.js +1 -0
- package/dist/control-ui/_app/immutable/nodes/{0.C_eDaxcG.js → 0.CWgT4Zq4.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{1.Bl8gqrPg.js → 1.Clob7CSA.js} +1 -1
- package/dist/control-ui/_app/immutable/nodes/{15.DprKPzQ3.js → 15.CJI1gaoB.js} +1 -1
- package/dist/control-ui/_app/version.json +1 -1
- package/dist/control-ui/index.html +6 -6
- package/dist/plugin-sdk/{accounts-vV5Gfd26.js → accounts-CRs7kbLB.js} +1 -1
- package/dist/plugin-sdk/{accounts-iN-dbgw4.js → accounts-b1Cok6r_.js} +3 -3
- package/dist/plugin-sdk/{accounts-LxMkgia0.js → accounts-uAqOguyH.js} +1 -1
- package/dist/plugin-sdk/{active-listener-Bh0LXjEI.js → active-listener-BdVTYHTN.js} +1 -1
- package/dist/plugin-sdk/{agent-scope-BS_vck4W.js → agent-scope-OWMdRegz.js} +2 -2
- package/dist/plugin-sdk/{api-key-rotation-LkecAWT_.js → api-key-rotation-DedcgBOR.js} +1 -1
- package/dist/plugin-sdk/{audio-preflight-Bs1SkEb1.js → audio-preflight-EYVIo5wC.js} +25 -25
- package/dist/plugin-sdk/{bindings-CTCkMENc.js → bindings-LROfNV1W.js} +2 -2
- package/dist/plugin-sdk/{channel-activity-PV3vhwo2.js → channel-activity-DHI8R5Xg.js} +1 -1
- package/dist/plugin-sdk/{channel-web-C1Hsjdgf.js → channel-web-CGp1_ZH4.js} +22 -22
- package/dist/plugin-sdk/{chrome-cWvSiZw3.js → chrome-BS8LYp6z.js} +3 -3
- package/dist/plugin-sdk/{chunk-CyOBR4uk.js → chunk-C9J4kyVw.js} +1 -1
- package/dist/plugin-sdk/{command-format-C5kdEGEu.js → command-format-BTciq6Gg.js} +1 -1
- package/dist/plugin-sdk/{commands-registry-Bvksrm0n.js → commands-registry-pHxVP_Zd.js} +3 -3
- package/dist/plugin-sdk/{common-CJo4CK5_.js → common-CCPGi5xr.js} +2 -2
- package/dist/plugin-sdk/{config-B8Nc1zrG.js → config-DemNgb7Z.js} +9 -9
- package/dist/plugin-sdk/{deliver-Dut_1pt2.js → deliver-BCvqh6o3.js} +10 -10
- package/dist/plugin-sdk/{diagnostic-DFXnVf2I.js → diagnostic-oBxO5N68.js} +1 -1
- package/dist/plugin-sdk/{fs-safe-CdpuSWry.js → fs-safe-CGcLaY9D.js} +1 -1
- package/dist/plugin-sdk/{image-B3tSrFDE.js → image-BHSeZfna.js} +4 -4
- package/dist/plugin-sdk/index.js +52 -52
- package/dist/plugin-sdk/{ir-05vuco_v.js → ir-JSGKj1e6.js} +4 -4
- package/dist/plugin-sdk/{local-roots-DlmKIABh.js → local-roots-jpNoUngc.js} +3 -3
- package/dist/plugin-sdk/{login-_t6d0RBi.js → login-Ckh0Yz4j.js} +7 -7
- package/dist/plugin-sdk/{login-qr-Czq6nBnB.js → login-qr-DRY27T-V.js} +9 -9
- package/dist/plugin-sdk/{manager-DEOMAxd_.js → manager-B9XMF8DU.js} +8 -8
- package/dist/plugin-sdk/{manifest-registry-BgkX6ON4.js → manifest-registry-Lzj-fZNH.js} +1 -1
- package/dist/plugin-sdk/{markdown-tables-FF81O4MP.js → markdown-tables-CgnPuqk-.js} +1 -1
- package/dist/plugin-sdk/{message-channel-DxNExIdv.js → message-channel-C3OrO29D.js} +1 -1
- package/dist/plugin-sdk/{model-selection-Bj-E4zbc.js → model-selection-BQiSfqzh.js} +4 -4
- package/dist/plugin-sdk/{normalize-DWmWs1Oq.js → normalize-raRH8X3d.js} +4 -4
- package/dist/plugin-sdk/{outbound-D2-05wUl.js → outbound-CtRrsxZT.js} +7 -7
- package/dist/plugin-sdk/{outbound-attachment-DmbQx_Vk.js → outbound-attachment-BD9q-xgD.js} +2 -2
- package/dist/plugin-sdk/{pi-auth-json-D-qvsSpX.js → pi-auth-json-BlIDGSl5.js} +5 -5
- package/dist/plugin-sdk/{pi-embedded-helpers-C1u6XyK5.js → pi-embedded-helpers-0qu1zxwF.js} +17 -17
- package/dist/plugin-sdk/{plugins-0PB0IWJL.js → plugins-BJciHbYr.js} +3 -3
- package/dist/plugin-sdk/{pw-ai-BIyeKPJF.js → pw-ai-DkUDisr8.js} +8 -8
- package/dist/plugin-sdk/{qmd-manager-DeQxerRp.js → qmd-manager-kPD4Wyie.js} +4 -4
- package/dist/plugin-sdk/{registry-BECEtj9n.js → registry-C8pj8ctW.js} +2 -2
- package/dist/plugin-sdk/{replies-DnGHvUeV.js → replies-0BFlZXJ5.js} +3 -3
- package/dist/plugin-sdk/{reply-Due6Dl-a.js → reply-BUzGHOJ7.js} +78 -78
- package/dist/plugin-sdk/{reply-prefix-UgReuQSG.js → reply-prefix-YUOHz1rF.js} +1 -1
- package/dist/plugin-sdk/{resolve-route-BaFHJbum.js → resolve-route-DudlMKs4.js} +3 -3
- package/dist/plugin-sdk/{retry-Bkj1k1me.js → retry-B8Oq5mgi.js} +1 -1
- package/dist/plugin-sdk/{runner-Bq1wBell.js → runner-BkD3LLSl.js} +9 -9
- package/dist/plugin-sdk/{send-MrY4gJ_w.js → send-9i1KJYhJ.js} +7 -7
- package/dist/plugin-sdk/{send-D4HKCCvV.js → send-A_uouj00.js} +7 -7
- package/dist/plugin-sdk/{send-By-dm-fT.js → send-CpfmIaxP.js} +11 -11
- package/dist/plugin-sdk/{send-NUKqMNZh.js → send-DREpPboJ.js} +6 -6
- package/dist/plugin-sdk/{send-M99nJHP9.js → send-Di1hHvf2.js} +11 -11
- package/dist/plugin-sdk/{session-DGLRioDC.js → session-CpS-Mhnp.js} +4 -4
- package/dist/plugin-sdk/{skill-commands-Cw-IRPUz.js → skill-commands-CTB7AZXn.js} +5 -5
- package/dist/plugin-sdk/{skills-D0-IpJne.js → skills-BCD1hFBZ.js} +7 -7
- package/dist/plugin-sdk/{sqlite-DtIiUWZr.js → sqlite-Yn48izJ_.js} +1 -1
- package/dist/plugin-sdk/{store-BcTI1iBS.js → store-BJRhX9Bi.js} +2 -2
- package/dist/plugin-sdk/{subsystem-Ck27y_6W.js → subsystem-BfLMZ8kW.js} +1 -1
- package/dist/plugin-sdk/{tables-B6ajREI6.js → tables-D5aPNTF6.js} +1 -1
- package/dist/plugin-sdk/{thinking-D81fexfE.js → thinking-BACprzA0.js} +5 -5
- package/dist/plugin-sdk/{tokens-B6GWdF_0.js → tokens-D1LxPszt.js} +1 -1
- package/dist/plugin-sdk/{tool-loop-detection-CbPwu1_R.js → tool-loop-detection-CYSptBsl.js} +2 -2
- package/dist/plugin-sdk/web-DNugKZLo.js +65 -0
- package/dist/plugin-sdk/{whatsapp-actions-B8IYO5sc.js → whatsapp-actions-CGuheX42.js} +20 -20
- package/package.json +1 -1
- package/dist/control-ui/_app/immutable/chunks/C1foZlYx.js +0 -1
- package/dist/control-ui/_app/immutable/entry/start.COsntbkx.js +0 -1
- package/dist/plugin-sdk/web-BfmMxgKj.js +0 -65
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9f7686ccdf39b825d34eaa96ff357de9e0deb85b04316b8eead9a26a8569cff9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as U,g as A,d as T,F as ee,bh as ht}from"./qR_TM3YX.js";import{w as ke}from"./B3DkuU-J.js";import{o as Ne}from"./B-drBnSa.js";class Ee{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Se{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,a){super(a),this.status=t,this.text=n}}new URL("sveltekit-internal://");function pt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function gt(e){return e.split("%25").map(decodeURI).join("%25")}function mt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function he({href:e}){return e.split("#")[0]}function _t(...e){let t=5381;for(const n of e)if(typeof n=="string"){let a=n.length;for(;a;)t=t*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)t=t*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function wt(e){const t=atob(e),n=new Uint8Array(t.length);for(let a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return n}const vt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&M.delete(xe(e)),vt(e,t));const M=new Map;function yt(e,t){const n=xe(e,t),a=document.querySelector(n);if(a?.textContent){a.remove();let{body:r,...i}=JSON.parse(a.textContent);const o=a.getAttribute("data-ttl");return o&&M.set(n,{body:r,init:i,ttl:1e3*Number(o)}),a.getAttribute("data-b64")!==null&&(r=wt(r)),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function bt(e,t,n){if(M.size>0){const a=xe(e,n),r=M.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);M.delete(a)}}return window.fetch(t,n)}function xe(e,t){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),a+=`[data-hash="${_t(...r)}"]`}return a}const kt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Et(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Rt(e).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const o=a.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return pe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return pe(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const f=kt.exec(c),[,h,w,u,p]=f;return t.push({name:u,matcher:p,optional:!!h,rest:!!w,chained:w?l===1&&o[0]==="":!1}),w?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return pe(c)}).join("")}).join("")}/?$`),params:t}}function St(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Rt(e){return e.slice(1).split("/").filter(St)}function xt(e,t,n){const a={},r=e.slice(1),i=r.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=r[s-o];if(c.chained&&c.rest&&o&&(l=r.slice(s-o,s+1).filter(f=>f).join("/"),o=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){a[c.name]=l;const f=t[s+1],h=r[s+1];f&&!f.rest&&f.optional&&h&&c.chained&&(o=0),!f&&!h&&Object.keys(a).length===i.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return a}function pe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Lt({nodes:e,server_loads:t,dictionary:n,matchers:a}){const r=new Set(t);return Object.entries(n).map(([s,[c,l,f]])=>{const{pattern:h,params:w}=Et(s),u={id:s,exec:p=>{const _=h.exec(p);if(_)return xt(_,w,a)},errors:[1,...f||[]].map(p=>e[p]),layouts:[0,...l||[]].map(o),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[r.has(s),e[s]]}}function Ge(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function De(e,t,n=JSON.stringify){const a=n(t);try{sessionStorage[e]=a}catch{}}const x=globalThis.__sveltekit_14jxx0c?.base??"",Ut=globalThis.__sveltekit_14jxx0c?.assets??x??"",At="1771720418881",We="sveltekit:snapshot",Ye="sveltekit:scroll",ze="sveltekit:states",Tt="sveltekit:pageurl",B="sveltekit:history",W="sveltekit:navigation",C={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},le=location.origin;function Le(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function V(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const qe={...C,"":C.hover};function He(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Je(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=He(e)}}function _e(e,t,n){let a;try{if(a=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";a.hash=`#${s}${a.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!a||!!r||ue(a,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=a?.origin===le&&e.hasAttribute("download");return{url:a,external:i,target:r,download:o}}function te(e){let t=null,n=null,a=null,r=null,i=null,o=null,s=e;for(;s&&s!==document.documentElement;)a===null&&(a=V(s,"preload-code")),r===null&&(r=V(s,"preload-data")),t===null&&(t=V(s,"keepfocus")),n===null&&(n=V(s,"noscroll")),i===null&&(i=V(s,"reload")),o===null&&(o=V(s,"replacestate")),s=He(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:qe[a??"off"],preload_data:qe[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(o)}}function Ve(e){const t=ke(e);let n=!0;function a(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&o(s=c)})}return{notify:a,set:r,subscribe:i}}const Xe={v:()=>{}};function It(){const{set:e,subscribe:t}=ke(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${Ut}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==At;return o&&(e(!0),Xe.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:a}}function ue(e,t,n){return e.origin!==le||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function on(e){}const Qe=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Qe];const Pt=new Set([...Qe]);[...Pt];function Ot(e){return e.filter(t=>t!=null)}function Ue(e){return e instanceof Ee||e instanceof Re?e.status:500}function jt(e){return e instanceof Re?e.text:"Internal Error"}let k,Y,ge;const $t=Ne.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ne.toString());$t?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Y={current:null},ge={current:!1}):(k=new class{#e=U({});get data(){return A(this.#e)}set data(t){T(this.#e,t)}#t=U(null);get form(){return A(this.#t)}set form(t){T(this.#t,t)}#n=U(null);get error(){return A(this.#n)}set error(t){T(this.#n,t)}#a=U({});get params(){return A(this.#a)}set params(t){T(this.#a,t)}#r=U({id:null});get route(){return A(this.#r)}set route(t){T(this.#r,t)}#o=U({});get state(){return A(this.#o)}set state(t){T(this.#o,t)}#s=U(-1);get status(){return A(this.#s)}set status(t){T(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return A(this.#i)}set url(t){T(this.#i,t)}},Y=new class{#e=U(null);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},ge=new class{#e=U(!1);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},Xe.v=()=>ge.current=!0);function Ct(e){Object.assign(k,e)}const Nt=new Set(["icon","shortcut icon","apple-touch-icon"]),$=Ge(Ye)??{},z=Ge(We)??{},j={url:Ve({}),page:Ve({}),navigating:ke(null),updated:It()};function Ae(e){$[e]=D()}function Dt(e,t){let n=e+1;for(;$[n];)delete $[n],n+=1;for(n=t+1;z[n];)delete z[n],n+=1}function H(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function Ze(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Be(){}let Te,we,ne,I,ve,y;const ae=[],re=[];let L=null;function ye(){L?.fork?.then(e=>e?.discard()),L=null}const Z=new Map,et=new Set,qt=new Set,G=new Set;let m={branch:[],error:null,url:null},tt=!1,oe=!1,Ke=!0,J=!1,F=!1,nt=!1,Ie=!1,at,v,R,N;const se=new Set,Fe=new Map;async function un(e,t,n){globalThis.__sveltekit_14jxx0c?.data&&globalThis.__sveltekit_14jxx0c.data,document.URL!==location.href&&(location.href=location.href),y=e,await e.hooks.init?.(),Te=Lt(e),I=document.documentElement,ve=t,we=e.nodes[0],ne=e.nodes[1],we(),ne(),v=history.state?.[B],R=history.state?.[W],v||(v=R=Date.now(),history.replaceState({...history.state,[B]:v,[W]:R},""));const a=$[v];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await Qt(ve,n)):(await K({type:"enter",url:Le(y.hash?tn(new URL(location.href)):location.href),replace_state:!0}),r()),Xt()}function Vt(){ae.length=0,Ie=!1}function rt(e){re.some(t=>t?.snapshot)&&(z[e]=re.map(t=>t?.snapshot?.capture()))}function ot(e){z[e]?.forEach((t,n)=>{re[n]?.snapshot?.restore(t)})}function Me(){Ae(v),De(Ye,$),rt(R),De(We,z)}async function st(e,t,n,a){let r;t.invalidateAll&&ye(),await K({type:"goto",url:Le(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:a,accept:()=>{t.invalidateAll&&(Ie=!0,r=[...Fe.keys()]),t.invalidate&&t.invalidate.forEach(Jt)}}),t.invalidateAll&&ee().then(ee).then(()=>{Fe.forEach(({resource:i},o)=>{r?.includes(o)&&i.refresh?.()})})}async function Bt(e){if(e.id!==L?.id){ye();const t={};se.add(t),L={id:e.id,token:t,promise:ct({...e,preload:t}).then(n=>(se.delete(t),n.type==="loaded"&&n.state.error&&ye(),n)),fork:null}}return L.promise}async function me(e){const t=(await fe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function it(e,t,n){m=e.state;const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(k,e.props.page),at=new y.root({target:t,props:{...e.props,stores:j,components:re},hydrate:n,sync:!1}),await Promise.resolve(),ot(R),n){const r={from:null,to:{params:m.params,route:{id:m.route?.id??null},url:new URL(location.href),scroll:$[v]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};G.forEach(i=>i(r))}oe=!0}function ie({url:e,params:t,branch:n,status:a,error:r,route:i,form:o}){let s="never";if(x&&(e.pathname===x||e.pathname===x+"/"))s="always";else for(const u of n)u?.slash!==void 0&&(s=u.slash);e.pathname=pt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:r,route:i},props:{constructors:Ot(n).map(u=>u.node.component),page:Ce(k)}};o!==void 0&&(c.props.form=o);let l={},f=!k,h=0;for(let u=0;u<Math.max(n.length,m.branch.length);u+=1){const p=n[u],_=m.branch[u];p?.data!==_?.data&&(f=!0),p&&(l={...l,...p.data},f&&(c.props[`data_${h}`]=l),h+=1)}return(!m.url||e.href!==m.url.href||m.error!==r||o!==void 0&&o!==k.form||f)&&(c.props.page={error:r,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:f?l:k.data}),c}async function Pe({loader:e,parent:t,url:n,params:a,route:r,server_data_node:i}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Kt(e,t,n){let a=e instanceof Request?e.url:e;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const i=oe?bt(a,r.href,t):yt(a,t);return{resolved:r,promise:i}}function Ft(e,t,n,a,r,i){if(Ie)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const o of r.search_params)if(a.has(o))return!0;for(const o of r.params)if(i[o]!==m.params[o])return!0;for(const o of r.dependencies)if(ae.some(s=>s(new URL(o))))return!0;return!1}function Oe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Mt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const a of n){const r=e.searchParams.getAll(a),i=t.searchParams.getAll(a);r.every(o=>i.includes(o))&&i.every(o=>r.includes(o))&&n.delete(a)}return n}function Gt({error:e,url:t,route:n,params:a}){return{type:"loaded",state:{error:e,url:t,route:n,params:a,branch:[]},props:{page:Ce(k),constructors:[]}}}async function ct({id:e,invalidating:t,url:n,params:a,route:r,preload:i}){if(L?.id===e)return se.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=r,l=[...s,c];o.forEach(g=>g?.().catch(()=>{})),l.forEach(g=>g?.[1]().catch(()=>{}));const f=m.url?e!==ce(m.url):!1,h=m.route?r.id!==m.route.id:!1,w=Mt(m.url,n);let u=!1;const p=l.map(async(g,d)=>{if(!g)return;const E=m.branch[d];return g[1]===E?.loader&&!Ft(u,h,f,w,E.universal?.uses,a)?E:(u=!0,Pe({loader:g[1],url:n,params:a,route:r,parent:async()=>{const P={};for(let O=0;O<d;O+=1)Object.assign(P,(await p[O])?.data);return P},server_data_node:Oe(g[0]?{type:"skip"}:null,g[0]?E?.server:void 0)}))});for(const g of p)g.catch(()=>{});const _=[];for(let g=0;g<l.length;g+=1)if(l[g])try{_.push(await p[g])}catch(d){if(d instanceof Se)return{type:"redirect",location:d.location};if(se.has(i))return Gt({error:await X(d,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let E=Ue(d),S;if(d instanceof Ee)S=d.body;else{if(await j.updated.check())return await Ze(),await H(n);S=await X(d,{params:a,url:n,route:{id:r.id}})}const P=await Wt(g,_,o);return P?ie({url:n,params:a,branch:_.slice(0,P.idx).concat(P.node),status:E,error:S,route:r}):await ut(n,{id:r.id},S,E)}else _.push(void 0);return ie({url:n,params:a,branch:_,status:200,error:null,route:r,form:t?void 0:null})}async function Wt(e,t,n){for(;e--;)if(n[e]){let a=e;for(;!t[a];)a-=1;try{return{idx:a+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function je({status:e,error:t,url:n,route:a}){const r={};let i=null;try{const o=await Pe({loader:we,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:Oe(i)}),s={node:await ne(),loader:ne,universal:null,server:null,data:null};return ie({url:n,params:r,branch:[o,s],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return st(new URL(o.location,location.href),{},0);throw o}}async function Yt(e){const t=e.href;if(Z.has(t))return Z.get(t);let n;try{const a=(async()=>{let r=await y.hooks.reroute({url:new URL(e),fetch:async(i,o)=>Kt(i,o,e).promise})??e;if(typeof r=="string"){const i=new URL(e);y.hash?i.hash=r:i.pathname=r,r=i}return r})();Z.set(t,a),n=await a}catch{Z.delete(t);return}return n}async function fe(e,t){if(e&&!ue(e,x,y.hash)){const n=await Yt(e);if(!n)return;const a=zt(n);for(const r of Te){const i=r.exec(a);if(i)return{id:ce(e),invalidating:t,route:r,params:mt(i),url:e}}}}function zt(e){return gt(y.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function ce(e){return(y.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function lt({url:e,type:t,intent:n,delta:a,event:r,scroll:i}){let o=!1;const s=$e(m,n,e,t,i??null);a!==void 0&&(s.navigation.delta=a),r!==void 0&&(s.navigation.event=r);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return J||et.forEach(l=>l(c)),o?null:s}async function K({type:e,url:t,popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o={},redirect_count:s=0,nav_token:c={},accept:l=Be,block:f=Be,event:h}){const w=N;N=c;const u=await fe(t,!1),p=e==="enter"?$e(m,u,t,e):lt({url:t,type:e,delta:n?.delta,intent:u,scroll:n?.scroll,event:h});if(!p){f(),N===c&&(N=w);return}const _=v,g=R;l(),J=!0,oe&&p.navigation.type!=="enter"&&j.navigating.set(Y.current=p.navigation);let d=u&&await ct(u);if(!d){if(ue(t,x,y.hash))return await H(t,i);d=await ut(t,{id:null},await X(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return p.reject(new Error("navigation aborted")),!1;if(d.type==="redirect"){if(s<20){await K({type:e,url:new URL(d.location,t),popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}d=await je({status:500,error:await X(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else d.props.page.status>=400&&await j.updated.check()&&(await Ze(),await H(t,i));if(Vt(),Ae(_),rt(g),d.props.page.url.pathname!==t.pathname&&(t.pathname=d.props.page.url.pathname),o=n?n.state:o,!n){const b=i?0:1,Q={[B]:v+=b,[W]:R+=b,[ze]:o};(i?history.replaceState:history.pushState).call(history,Q,"",t),i||Dt(v,R)}const E=u&&L?.id===u.id?L.fork:null;L=null,d.props.page.state=o;let S;if(oe){const b=(await Promise.all(Array.from(qt,q=>q(p.navigation)))).filter(q=>typeof q=="function");if(b.length>0){let q=function(){b.forEach(de=>{G.delete(de)})};b.push(q),b.forEach(de=>{G.add(de)})}m=d.state,d.props.page&&(d.props.page.url=t);const Q=E&&await E;Q?S=Q.commit():(at.$set(d.props),Ct(d.props.page),S=ht?.()),nt=!0}else await it(d,ve,!1);const{activeElement:P}=document;await S,await ee(),await ee();let O=null;if(Ke){const b=n?n.scroll:r?D():null;b?scrollTo(b.x,b.y):(O=t.hash&&document.getElementById(ft(t)))?O.scrollIntoView():scrollTo(0,0)}const dt=document.activeElement!==P&&document.activeElement!==document.body;!a&&!dt&&en(t,!O),Ke=!0,d.props.page&&Object.assign(k,d.props.page),J=!1,e==="popstate"&&ot(R),p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=D()),G.forEach(b=>b(p.navigation)),j.navigating.set(Y.current=null)}async function ut(e,t,n,a,r){return e.origin===le&&e.pathname===location.pathname&&!tt?await je({status:a,error:n,url:e,route:t}):await H(e,r)}function Ht(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{i(c,C.hover)},20)});function a(s){s.defaultPrevented||i(s.composedPath()[0],C.tap)}I.addEventListener("mousedown",a),I.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(me(new URL(c.target.href)),r.unobserve(c.target))},{threshold:0});async function i(s,c){const l=Je(s,I),f=l===t.element&&l?.href===t.href&&c>=n;if(!l||f)return;const{url:h,external:w,download:u}=_e(l,x,y.hash);if(w||u)return;const p=te(l),_=h&&ce(m.url)===ce(h);if(!(p.reload||_))if(c<=p.preload_data){t={element:l,href:l.href},n=C.tap;const g=await fe(h,!1);if(!g)return;Bt(g)}else c<=p.preload_code&&(t={element:l,href:l.href},n=c,me(h))}function o(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:c,external:l,download:f}=_e(s,x,y.hash);if(l||f)continue;const h=te(s);h.reload||(h.preload_code===C.viewport&&r.observe(s),h.preload_code===C.eager&&me(c))}}G.add(o),o()}function X(e,t){if(e instanceof Ee)return e.body;const n=Ue(e),a=jt(e);return y.hooks.handleError({error:e,event:t,status:n,message:a})??{message:a}}function fn(e,t={}){return e=new URL(Le(e)),e.origin!==le?Promise.reject(new Error("goto: invalid URL")):st(e,t,0)}function Jt(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function Xt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Me(),!J){const a=$e(m,void 0,null,"leave"),r={...a.navigation,cancel:()=>{n=!0,a.reject(new Error("navigation cancelled"))}};et.forEach(i=>i(r))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Me()}),navigator.connection?.saveData||Ht(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Je(t.composedPath()[0],I);if(!n)return;const{url:a,external:r,target:i,download:o}=_e(n,x,y.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=te(n);if(!(n instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[l,f]=(y.hash?a.hash.replace(/^#/,""):a.href).split("#"),h=l===he(location);if(r||s.reload&&(!h||!f)){lt({url:a,type:"link",event:t})?J=!0:t.preventDefault();return}if(f!==void 0&&h){const[,w]=m.url.href.split("#");if(w===f){if(t.preventDefault(),f===""||f==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(f));u&&(u.scrollIntoView(),u.focus())}return}if(F=!0,Ae(v),e(a),!s.replace_state)return;F=!1}t.preventDefault(),await new Promise(w=>{requestAnimationFrame(()=>{setTimeout(w,0)}),setTimeout(w,100)}),await K({type:"link",url:a,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??a.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if((a?.formTarget||n.target)==="_blank"||(a?.formMethod||n.method)!=="get")return;const o=new URL(a?.hasAttribute("formaction")&&a?.formAction||n.action);if(ue(o,x,!1))return;const s=t.target,c=te(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,a);o.search=new URLSearchParams(l).toString(),K({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!be){if(t.state?.[B]){const n=t.state[B];if(N={},n===v)return;const a=$[n],r=t.state[ze]??{},i=new URL(t.state[Tt]??location.href),o=t.state[W],s=m.url?he(location)===he(m.url):!1;if(o===R&&(nt||s)){r!==k.state&&(k.state=r),e(i),$[v]=D(),a&&scrollTo(a.x,a.y),v=n;return}const l=n-v;await K({type:"popstate",url:i,popped:{state:r,scroll:a,delta:l},accept:()=>{v=n,R=o},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!F){const n=new URL(location.href);e(n),y.hash&&location.reload()}}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[B]:++v,[W]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Nt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&j.navigating.set(Y.current=null)});function e(t){m.url=k.url=t,j.page.set(Ce(k)),j.page.notify()}}async function Qt(e,{status:t=200,error:n,node_ids:a,params:r,route:i,server_route:o,data:s,form:c}){tt=!0;const l=new URL(location.href);let f;({params:r={},route:i={id:null}}=await fe(l,!1)||{}),f=Te.find(({id:u})=>u===i.id);let h,w=!0;try{const u=a.map(async(_,g)=>{const d=s[g];return d?.uses&&(d.uses=Zt(d.uses)),Pe({loader:y.nodes[_],url:l,params:r,route:i,parent:async()=>{const E={};for(let S=0;S<g;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:Oe(d)})}),p=await Promise.all(u);if(f){const _=f.layouts;for(let g=0;g<_.length;g++)_[g]||p.splice(g,0,void 0)}h=ie({url:l,params:r,branch:p,status:t,error:n,form:c,route:f??null})}catch(u){if(u instanceof Se){await H(new URL(u.location,location.href));return}h=await je({status:Ue(u),error:await X(u,{url:l,params:r,route:i}),url:l,route:i}),e.textContent="",w=!1}h.props.page&&(h.props.page.state={}),await it(h,e,w)}function Zt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let be=!1;function en(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=ft(e);if(a&&document.getElementById(a)){const{x:i,y:o}=D();setTimeout(()=>{const s=history.state;be=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,o),be=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let o=0;o<r.rangeCount;o+=1)i.push(r.getRangeAt(o));setTimeout(()=>{if(r.rangeCount===i.length){for(let o=0;o<r.rangeCount;o+=1){const s=i[o],c=r.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}r.removeAllRanges()}})}}}function $e(e,t,n,a,r=null){let i,o;const s=new Promise((l,f)=>{i=l,o=f});return s.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:r},willUnload:!t,type:a,complete:s},fulfil:i,reject:o}}function Ce(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function tn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function ft(e){let t;if(y.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{un as a,fn as g,on as l,k as p,j as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
import{B as G,i as y,_ as a}from"../chunks/DpBBTLWw.js";import{x,ak as Z,H as q,Y as z,al as J,ao as K,N as Q,M as k,am as U,O as W,d as O,a5 as X,g as u,ap as $,Z as tt,_ as et,p as rt,R as at,u as st,F as ot,j as R,f as it,c as nt,s as T,h as _t,r as mt,t as ut,i as A}from"../chunks/qR_TM3YX.js";import{h as ct,m as dt,u as lt,b as h,e as b,f as w,t as ft,s as vt}from"../chunks/B2A7gHtL.js";import{o as ht}from"../chunks/B-drBnSa.js";import{b as D}from"../chunks/BYXRTvT-.js";import{p as I}from"../chunks/CkAYskLX.js";function L(o,t,s){var n;x&&(n=W,Z());var i=new G(o);q(()=>{var e=t()??null;if(x){var r=J(n),m=r===U,P=e!==null;if(m!==P){var E=K();Q(E),i.anchor=E,k(!1),i.ensure(e,e&&(f=>s(f,e))),k(!0);return}}i.ensure(e,e&&(f=>s(f,e)))},z)}function Et(o){return class extends gt{constructor(t){super({component:o,...t})}}}class gt{#e;#t;constructor(t){var s=new Map,n=(e,r)=>{var m=et(r,!1,!1);return s.set(e,m),m};const i=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(s.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===X?!0:(u(s.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,m){return O(s.get(r)??n(r,m),m),Reflect.set(e,r,m)}});this.#t=(t.hydrate?ct:dt)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&$(),this.#e=i.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||tt(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(i,e)},this.#t.$destroy=()=>{lt(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const n=(...i)=>s.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#t.$destroy()}}const Vt={};var pt=w('<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>'),Rt=w("<!> <!>",1);function Ot(o,t){rt(t,!0);let s=I(t,"components",23,()=>[]),n=I(t,"data_0",3,null),i=I(t,"data_1",3,null);at(()=>t.stores.page.set(t.page)),st(()=>{t.stores,t.page,t.constructors,s(),t.form,n(),i(),t.stores.page.notify()});let e=T(!1),r=T(!1),m=T(null);ht(()=>{const _=t.stores.page.subscribe(()=>{u(e)&&(O(r,!0),ot().then(()=>{O(m,document.title||"untitled page",!0)}))});return O(e,!0),_});const P=A(()=>t.constructors[1]);var E=Rt(),f=R(E);{var C=_=>{const c=A(()=>t.constructors[0]);var d=b(),g=R(d);L(g,()=>u(c),(l,v)=>{D(v(l,{get data(){return n()},get form(){return t.form},get params(){return t.page.params},children:(p,yt)=>{var V=b(),F=R(V);L(F,()=>u(P),(Y,B)=>{D(B(Y,{get data(){return i()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),h(p,V)},$$slots:{default:!0}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)},S=_=>{const c=A(()=>t.constructors[0]);var d=b(),g=R(d);L(g,()=>u(c),(l,v)=>{D(v(l,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)};y(f,_=>{t.constructors[1]?_(C):_(S,!1)})}var M=it(f,2);{var N=_=>{var c=pt(),d=_t(c);{var g=l=>{var v=ft();ut(()=>vt(v,u(m))),h(l,v)};y(d,l=>{u(r)&&l(g)})}mt(c),h(_,c)};y(M,_=>{u(e)&&_(N)})}h(o,E),nt()}const xt=Et(Ot),kt=[()=>a(()=>import("../nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CWgT4Zq4.js","../chunks/B2A7gHtL.js","../chunks/qR_TM3YX.js","../chunks/Tfaq1PK1.js","../chunks/DpBBTLWw.js","../chunks/BLtDog0v.js","../chunks/Be_uRYmX.js","../chunks/C--qzJ6W.js","../chunks/CktI4lAE.js","../chunks/KBP0Pl-D.js","../chunks/nnazh41B.js","../chunks/BYXRTvT-.js","../chunks/CkAYskLX.js","../chunks/B3DkuU-J.js","../chunks/hPYUhDQO.js","../chunks/B-drBnSa.js","../assets/0.CIIOt0aD.css","../nodes/1.Clob7CSA.js","../nodes/2.BTwPpsUd.js","../chunks/BBXALFLP.js","../chunks/CXQ1lKJR.js","../chunks/TuMlQKbB.js","../chunks/SHB02qEx.js","../chunks/DPrxUVm_.js","../assets/2.D5MMRphb.css","../nodes/3.CJTqvGaW.js","../chunks/DVP7Iy08.js","../nodes/4.Dz3JH-PB.js","../assets/4.Cst5sby_.css","../nodes/5.BbK5Iwro.js","../nodes/6.CbanPjIA.js","../nodes/7.B2G6IFSu.js","../nodes/8.C7FQ9bAP.js","../nodes/9.D4Abr5tX.js","../nodes/10.DfK8stgG.js","../nodes/11.Dzw5x9Jt.js","../nodes/12.Sd6L6Nq2.js","../nodes/13.tVVXkjFh.js","../nodes/14.D93_LX58.js","../nodes/15.CJI1gaoB.js","../nodes/16.CIr4ejir.js","../nodes/17.QX2ielYQ.js","../nodes/18.6qOW3iFE.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{B as G,i as y,_ as a}from"../chunks/DpBBTLWw.js";import{x,ak as Z,H as q,Y as z,al as J,ao as K,N as Q,M as k,am as U,O as W,d as O,a5 as X,g as u,ap as $,Z as tt,_ as et,p as rt,R as at,u as st,F as ot,j as R,f as it,c as nt,s as T,h as _t,r as mt,t as ut,i as A}from"../chunks/qR_TM3YX.js";import{h as ct,m as dt,u as lt,b as h,e as b,f as w,t as ft,s as vt}from"../chunks/B2A7gHtL.js";import{o as ht}from"../chunks/B-drBnSa.js";import{b as D}from"../chunks/BYXRTvT-.js";import{p as I}from"../chunks/CkAYskLX.js";function L(o,t,s){var n;x&&(n=W,Z());var i=new G(o);q(()=>{var e=t()??null;if(x){var r=J(n),m=r===U,P=e!==null;if(m!==P){var E=K();Q(E),i.anchor=E,k(!1),i.ensure(e,e&&(f=>s(f,e))),k(!0);return}}i.ensure(e,e&&(f=>s(f,e)))},z)}function Et(o){return class extends gt{constructor(t){super({component:o,...t})}}}class gt{#e;#t;constructor(t){var s=new Map,n=(e,r)=>{var m=et(r,!1,!1);return s.set(e,m),m};const i=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(s.get(r)??n(r,Reflect.get(e,r)))},has(e,r){return r===X?!0:(u(s.get(r)??n(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,m){return O(s.get(r)??n(r,m),m),Reflect.set(e,r,m)}});this.#t=(t.hydrate?ct:dt)(t.component,{target:t.target,anchor:t.anchor,props:i,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&$(),this.#e=i.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||tt(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(i,e)},this.#t.$destroy=()=>{lt(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const n=(...i)=>s.call(this,...i);return this.#e[t].push(n),()=>{this.#e[t]=this.#e[t].filter(i=>i!==n)}}$destroy(){this.#t.$destroy()}}const Vt={};var pt=w('<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>'),Rt=w("<!> <!>",1);function Ot(o,t){rt(t,!0);let s=I(t,"components",23,()=>[]),n=I(t,"data_0",3,null),i=I(t,"data_1",3,null);at(()=>t.stores.page.set(t.page)),st(()=>{t.stores,t.page,t.constructors,s(),t.form,n(),i(),t.stores.page.notify()});let e=T(!1),r=T(!1),m=T(null);ht(()=>{const _=t.stores.page.subscribe(()=>{u(e)&&(O(r,!0),ot().then(()=>{O(m,document.title||"untitled page",!0)}))});return O(e,!0),_});const P=A(()=>t.constructors[1]);var E=Rt(),f=R(E);{var C=_=>{const c=A(()=>t.constructors[0]);var d=b(),g=R(d);L(g,()=>u(c),(l,v)=>{D(v(l,{get data(){return n()},get form(){return t.form},get params(){return t.page.params},children:(p,yt)=>{var V=b(),F=R(V);L(F,()=>u(P),(Y,B)=>{D(B(Y,{get data(){return i()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),h(p,V)},$$slots:{default:!0}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)},S=_=>{const c=A(()=>t.constructors[0]);var d=b(),g=R(d);L(g,()=>u(c),(l,v)=>{D(v(l,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)};y(f,_=>{t.constructors[1]?_(C):_(S,!1)})}var M=it(f,2);{var N=_=>{var c=pt(),d=_t(c);{var g=l=>{var v=ft();ut(()=>vt(v,u(m))),h(l,v)};y(d,l=>{u(r)&&l(g)})}mt(c),h(_,c)};y(M,_=>{u(e)&&_(N)})}h(o,E),nt()}const xt=Et(Ot),kt=[()=>a(()=>import("../nodes/0.CWgT4Zq4.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),()=>a(()=>import("../nodes/1.Clob7CSA.js"),__vite__mapDeps([17,1,2,9,14,13,15]),import.meta.url),()=>a(()=>import("../nodes/2.BTwPpsUd.js"),__vite__mapDeps([18,19,1,2,4,5,20,10,12,13,7,6,3,21,11,22,23,24]),import.meta.url),()=>a(()=>import("../nodes/3.CJTqvGaW.js"),__vite__mapDeps([25,1,2,4,5,20,10,26,6,23]),import.meta.url),()=>a(()=>import("../nodes/4.Dz3JH-PB.js"),__vite__mapDeps([27,1,2,4,5,20,22,10,26,6,28]),import.meta.url),()=>a(()=>import("../nodes/5.BbK5Iwro.js"),__vite__mapDeps([29,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/6.CbanPjIA.js"),__vite__mapDeps([30,1,2,4,5,20,6,23]),import.meta.url),()=>a(()=>import("../nodes/7.B2G6IFSu.js"),__vite__mapDeps([31,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/8.C7FQ9bAP.js"),__vite__mapDeps([32,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/9.D4Abr5tX.js"),__vite__mapDeps([33,1,2,4,5,20,10]),import.meta.url),()=>a(()=>import("../nodes/10.DfK8stgG.js"),__vite__mapDeps([34,1,2,4,5,20,22,6]),import.meta.url),()=>a(()=>import("../nodes/11.Dzw5x9Jt.js"),__vite__mapDeps([35,1,2,4,5,20,10,11]),import.meta.url),()=>a(()=>import("../nodes/12.Sd6L6Nq2.js"),__vite__mapDeps([36,1,2,4,5,20,10,26,6,23]),import.meta.url),()=>a(()=>import("../nodes/13.tVVXkjFh.js"),__vite__mapDeps([37,1,2,4,5,20,10,6,23]),import.meta.url),()=>a(()=>import("../nodes/14.D93_LX58.js"),__vite__mapDeps([38,1,2,4,5,20,7,6]),import.meta.url),()=>a(()=>import("../nodes/15.CJI1gaoB.js"),__vite__mapDeps([39,1,2,4,5,20,22,10,26,7,6,14,13,15]),import.meta.url),()=>a(()=>import("../nodes/16.CIr4ejir.js"),__vite__mapDeps([40,1,2,4,5,20,22,10,11,8,21,6]),import.meta.url),()=>a(()=>import("../nodes/17.QX2ielYQ.js"),__vite__mapDeps([41,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/18.6qOW3iFE.js"),__vite__mapDeps([42,1,2,4,5,20,22,10,26,6]),import.meta.url)],wt=[],jt={"/":[2],"/agents":[3],"/approvals":[4],"/audit":[5],"/channels":[6],"/config":[7],"/cron":[8],"/debug":[9],"/instances":[10],"/logs":[11],"/memory":[12],"/nodes":[13],"/overview":[14],"/sessions":[15],"/settings":[16],"/skills":[17],"/usage":[18]},j={handleError:(({error:o})=>{console.error(o)}),reroute:(()=>{}),transport:{}},Pt=Object.fromEntries(Object.entries(j.transport).map(([o,t])=>[o,t.decode])),Ct=Object.fromEntries(Object.entries(j.transport).map(([o,t])=>[o,t.encode])),St=!1,Mt=(o,t)=>Pt[o](t);export{Mt as decode,Pt as decoders,jt as dictionary,Ct as encoders,St as hash,j as hooks,Vt as matchers,kt as nodes,xt as root,wt as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/hPYUhDQO.js";export{o as load_css,r as start};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as fe,b as l,f,s as Q,a as j,e as Se,g as ke,t as he}from"../chunks/B2A7gHtL.js";import{p as de,c as ve,r as t,h as a,f as r,g as e,t as I,a6 as Ee,s as K,a as He,u as re,b as me,j as oe,d as o,n as ye,i as Oe,bd as Te}from"../chunks/qR_TM3YX.js";import{s as Be,g as Ue}from"../chunks/Tfaq1PK1.js";import{i as R}from"../chunks/DpBBTLWw.js";import{e as ce,s as ie,b as ge,g as Ce,r as we,i as pe,l as Ae,a as je}from"../chunks/BLtDog0v.js";import{g as De}from"../chunks/C--qzJ6W.js";import{g as Me}from"../chunks/Be_uRYmX.js";import{g as Ve,a as Ie}from"../chunks/CktI4lAE.js";import{i as Ke}from"../chunks/KBP0Pl-D.js";import{b as _e}from"../chunks/nnazh41B.js";import{b as Re}from"../chunks/BYXRTvT-.js";import{p as be,s as Pe,a as qe}from"../chunks/CkAYskLX.js";import{s as Ne,g as Le}from"../chunks/
|
|
1
|
+
import{d as fe,b as l,f,s as Q,a as j,e as Se,g as ke,t as he}from"../chunks/B2A7gHtL.js";import{p as de,c as ve,r as t,h as a,f as r,g as e,t as I,a6 as Ee,s as K,a as He,u as re,b as me,j as oe,d as o,n as ye,i as Oe,bd as Te}from"../chunks/qR_TM3YX.js";import{s as Be,g as Ue}from"../chunks/Tfaq1PK1.js";import{i as R}from"../chunks/DpBBTLWw.js";import{e as ce,s as ie,b as ge,g as Ce,r as we,i as pe,l as Ae,a as je}from"../chunks/BLtDog0v.js";import{g as De}from"../chunks/C--qzJ6W.js";import{g as Me}from"../chunks/Be_uRYmX.js";import{g as Ve,a as Ie}from"../chunks/CktI4lAE.js";import{i as Ke}from"../chunks/KBP0Pl-D.js";import{b as _e}from"../chunks/nnazh41B.js";import{b as Re}from"../chunks/BYXRTvT-.js";import{p as be,s as Pe,a as qe}from"../chunks/CkAYskLX.js";import{s as Ne,g as Le}from"../chunks/hPYUhDQO.js";const We=!1,Ge=!1,Jt=Object.freeze(Object.defineProperty({__proto__:null,prerender:We,ssr:Ge},Symbol.toStringTag,{value:"Module"}));var Ye=f('<p class="text-xs text-text-secondary mt-1"> </p>'),$e=f('<div role="alert"><div class="flex items-start gap-3"><div class="flex-shrink-0 w-5 h-5 mt-0.5"><svg class="w-full h-full" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path></svg></div> <div class="flex-1 min-w-0"><p class="text-sm font-medium text-text-primary"> </p> <!></div> <button class="flex-shrink-0 ml-auto p-1 rounded hover:bg-bg-hover text-text-muted hover:text-text-primary transition-colors" aria-label="Close notification"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></button></div></div>'),Fe=f('<div class="fixed bottom-4 right-4 z-50 space-y-2 max-w-sm" aria-live="polite" aria-relevant="additions removals"></div>');function Xe(P,H){de(H,!1);const m=Me(),q={success:{color:"bg-accent-green border-accent-green",glow:"glow-green",icon:"M5 13l4 4L19 7"},error:{color:"bg-accent-red border-accent-red",glow:"glow-red",icon:"M6 18L18 6M6 6l12 12"},warning:{color:"bg-accent-amber border-accent-amber",glow:"glow-amber",icon:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"},info:{color:"bg-accent-cyan border-accent-cyan",glow:"glow-cyan",icon:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}};Ke();var y=Fe();ce(y,5,()=>m.list,v=>v.id,(v,n)=>{const p=Ee(()=>q[e(n).type]);var x=$e(),S=a(x),k=a(S),C=a(k),O=a(C);t(C),t(k);var D=r(k,2),T=a(D),Z=a(T,!0);t(T);var N=r(T,2);{var Y=g=>{var s=Ye(),u=a(s,!0);t(s),I(()=>Q(u,e(n).message)),l(g,s)};R(N,g=>{e(n).message&&g(Y)})}t(D);var ee=r(D,2);t(S),t(x),I(()=>{ie(x,1,`gradient-border glass p-4 rounded-lg shadow-lg ${e(p).color??""} ${e(p).glow??""} animate-in slide-in-from-right-full duration-300`,"svelte-cqwvc2"),ge(O,"d",e(p).icon),Q(Z,e(n).title)}),j("click",ee,()=>m.remove(e(n).id)),l(v,x)}),t(y),l(P,y),ve()}fe(["click"]);var Je=f(`<div><label for="gateway-token" class="block text-sm font-medium text-text-secondary mb-2">Access Token <span class="text-text-muted font-normal">(optional)</span></label> <input id="gateway-token" type="password" placeholder="Leave empty to use device pairing" class="w-full px-3 py-2 rounded-lg glass border border-border-default bg-bg-secondary
|
|
2
2
|
text-text-primary placeholder-text-muted
|
|
3
3
|
focus:outline-none focus:border-accent-cyan focus:glow-cyan
|
|
4
4
|
transition-all duration-200"/> <p class="text-xs text-text-muted mt-1">If provided, connects immediately. If empty, your gateway owner will need to approve this device.</p></div>`),Qe=f('<button type="button" class="text-xs text-text-muted hover:text-accent-cyan transition-colors flex items-center gap-1"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg> I have an access token</button>'),Ze=f('<div class="p-3 rounded-lg border border-accent-amber/30 bg-accent-amber/10" role="status"><div class="flex items-start gap-2"><svg class="w-5 h-5 text-accent-amber flex-shrink-0 animate-pulse mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <div><p class="text-sm font-medium text-accent-amber">Device Pairing Required</p> <p class="text-xs text-text-muted mt-1">Your gateway owner needs to approve this device. Ask them to run:</p> <code class="block text-xs font-mono text-accent-cyan bg-bg-primary/50 px-2 py-1 rounded mt-1">openclaw devices approve</code></div></div></div>'),et=f('<div class="p-3 rounded-lg border border-accent-red/30 bg-accent-red/10 glow-red" role="alert" aria-live="assertive"><div class="flex items-center gap-2"><svg class="w-4 h-4 text-accent-red flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"></path></svg> <p class="text-sm text-accent-red"> </p></div></div>'),tt=f('<div class="flex items-center justify-center gap-2"><svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg> Connecting...</div>'),at=f(`<div class="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm" role="dialog" aria-modal="true" aria-labelledby="auth-dialog-title"><div class="w-full max-w-md gradient-border glass p-6 rounded-lg glow-cyan animate-in zoom-in-95 duration-300 svelte-htsx5a"><div class="flex items-center gap-3 mb-6"><div class="w-12 h-12 rounded-lg gradient-bg flex items-center justify-center glow-purple"><svg class="w-6 h-6 text-accent-purple" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path></svg></div> <div><h2 id="auth-dialog-title" class="text-lg font-semibold gradient-text">Connect to OpenClaw</h2> <p class="text-sm text-text-muted">Enter your gateway credentials to get started</p></div></div> <form class="space-y-4"><div><label for="gateway-url" class="block text-sm font-medium text-text-secondary mb-2">Gateway URL</label> <input id="gateway-url" type="url" placeholder="wss://your-openclaw-gateway.com" class="w-full px-3 py-2 rounded-lg glass border border-border-default bg-bg-secondary
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as h,f as u,s as e}from"../chunks/B2A7gHtL.js";import{i as g}from"../chunks/KBP0Pl-D.js";import{p as l,j as v,t as d,c as _,h as a,r as o,f as x}from"../chunks/qR_TM3YX.js";import{s as $,p}from"../chunks/
|
|
1
|
+
import{b as h,f as u,s as e}from"../chunks/B2A7gHtL.js";import{i as g}from"../chunks/KBP0Pl-D.js";import{p as l,j as v,t as d,c as _,h as a,r as o,f as x}from"../chunks/qR_TM3YX.js";import{s as $,p}from"../chunks/hPYUhDQO.js";const b={get error(){return p.error},get status(){return p.status}};$.updated.check;const m=b;var k=u("<h1> </h1> <p> </p>",1);function y(f,i){l(i,!1),g();var t=k(),r=v(t),c=a(r,!0);o(r);var s=x(r,2),n=a(s,!0);o(s),d(()=>{e(c,m.status),e(n,m.error?.message)}),h(f,t),_()}export{y as component};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{d as _a,a as k,b as x,s as g,f as b,e as ka,g as Cr}from"../chunks/B2A7gHtL.js";import{p as wa,s as L,a as q,u as Ar,g as e,d as f,b as Ma,t as y,c as Ca,e as Aa,h as a,f as n,i as D,$ as Ta,r,n as O,j as Kt,m as Tr,o as Lr}from"../chunks/qR_TM3YX.js";import{i as w}from"../chunks/DpBBTLWw.js";import{g as La,a as Pt,s as S,r as K,e as ne,i as Qt,b as xe}from"../chunks/BLtDog0v.js";import{h as Sa}from"../chunks/CXQ1lKJR.js";import{s as ja}from"../chunks/SHB02qEx.js";import{b as $e,a as Be}from"../chunks/nnazh41B.js";import{b as Da,i as Sr,s as jr}from"../chunks/DVP7Iy08.js";import{g as $a}from"../chunks/C--qzJ6W.js";import{g as Ba}from"../chunks/Be_uRYmX.js";import{g as Fa}from"../chunks/
|
|
1
|
+
import{d as _a,a as k,b as x,s as g,f as b,e as ka,g as Cr}from"../chunks/B2A7gHtL.js";import{p as wa,s as L,a as q,u as Ar,g as e,d as f,b as Ma,t as y,c as Ca,e as Aa,h as a,f as n,i as D,$ as Ta,r,n as O,j as Kt,m as Tr,o as Lr}from"../chunks/qR_TM3YX.js";import{i as w}from"../chunks/DpBBTLWw.js";import{g as La,a as Pt,s as S,r as K,e as ne,i as Qt,b as xe}from"../chunks/BLtDog0v.js";import{h as Sa}from"../chunks/CXQ1lKJR.js";import{s as ja}from"../chunks/SHB02qEx.js";import{b as $e,a as Be}from"../chunks/nnazh41B.js";import{b as Da,i as Sr,s as jr}from"../chunks/DVP7Iy08.js";import{g as $a}from"../chunks/C--qzJ6W.js";import{g as Ba}from"../chunks/Be_uRYmX.js";import{g as Fa}from"../chunks/hPYUhDQO.js";var za=b('<div class="mt-4 rounded-xl border border-border-default bg-bg-secondary/50 p-4 animate-fade-in"><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div><label class="block text-xs text-text-muted mb-1">Active Minutes (0=all)</label> <input type="number" min="0" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div><label class="block text-xs text-text-muted mb-1">Limit</label> <input type="number" min="1" max="500" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div class="flex flex-col justify-end gap-2"><label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Global</label> <label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Unknown</label></div> <div class="flex items-end"><button class="w-full px-3 py-1.5 text-sm rounded-lg bg-accent-cyan/10 text-accent-cyan border border-accent-cyan/30 hover:bg-accent-cyan/20 transition-all">Apply Filters</button></div></div></div>'),Va=b('<div class="flex rounded-lg border border-border-default overflow-hidden"><button>Grouped</button> <button>All</button></div>'),Ha=b('<div class="flex items-center gap-1"><button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Expand all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg></button> <button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Collapse all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button> <span class="text-[10px] text-text-muted ml-1"> </span></div>'),Ia=b('<div class="flex flex-col items-center justify-center h-full text-center"><div class="w-16 h-16 rounded-2xl bg-bg-tertiary border border-border-default flex items-center justify-center mb-4"><svg class="w-8 h-8 text-text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636a9 9 0 010 12.728m-2.829-2.829a5 5 0 000-7.07"></path></svg></div> <p class="text-text-muted text-sm">Connect to the gateway to view sessions.</p></div>'),Na=b('<div class="rounded-xl border border-border-default bg-bg-secondary/50 p-5 animate-pulse"><div class="h-4 w-48 bg-bg-tertiary rounded mb-3"></div> <div class="h-3 w-96 bg-bg-tertiary rounded mb-2"></div> <div class="flex gap-2"><div class="h-5 w-16 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-20 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-14 bg-bg-tertiary rounded-full"></div></div></div>'),Ra=b('<div class="flex flex-col gap-3"></div>'),Ua=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Ea=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Oa=b('<button><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button>'),Ga=b('<div class="w-6 flex-shrink-0 mt-0.5 flex items-center justify-center"><span></span></div>'),qa=b('<form class="flex items-center gap-2"><input type="text" class="px-2 py-1 text-sm rounded border border-accent-cyan/50 bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan w-48"/> <button type="submit" class="text-accent-cyan text-xs hover:underline">Save</button> <button type="button" class="text-text-muted text-xs hover:text-text-secondary">Cancel</button></form>'),Ka=b('<span> </span> <button class="p-0.5 rounded hover:bg-bg-hover text-text-muted hover:text-accent-cyan transition-colors" title="Rename"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path></svg></button>',1),Pa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Qa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-accent-purple/10 text-purple-300 border border-accent-purple/10"> </span>'),Wa=b("<span> </span>"),Ja=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-purple/10 text-purple-300 border border-accent-purple/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg> </span>'),Xa=b('<span class="px-2 py-0.5 rounded text-[10px] bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Ya=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-green/10 text-accent-green border border-accent-green/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A2 2 0 013 12V7a4 4 0 014-4z"></path></svg> </span>'),Za=b('<p class="text-xs text-text-muted truncate mb-1.5 max-w-[500px]"> </p>'),en=b('<span class="flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium bg-accent-amber/15 text-accent-amber border border-accent-amber/30"> </span>'),tn=b("<option> </option>"),rn=b(`<select class="px-2 py-1 rounded-lg text-[11px] border border-border-default bg-bg-tertiary
|
|
2
2
|
text-text-secondary hover:border-accent-purple/40 focus:outline-none focus:border-accent-purple
|
|
3
3
|
transition-all disabled:opacity-50 max-w-[200px] cursor-pointer appearance-none
|
|
4
4
|
bg-[url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2388929e%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%2F%3E%3C%2Fsvg%3E')]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1771720418881"}
|
|
@@ -13,12 +13,12 @@
|
|
|
13
13
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
14
14
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
|
|
15
15
|
<link rel="preconnect" href="wss://openclaw.honercloud.com" />
|
|
16
|
-
<link href="/_app/immutable/entry/start.
|
|
17
|
-
<link href="/_app/immutable/chunks/
|
|
16
|
+
<link href="/_app/immutable/entry/start.sQG_Ah97.js" rel="modulepreload">
|
|
17
|
+
<link href="/_app/immutable/chunks/hPYUhDQO.js" rel="modulepreload">
|
|
18
18
|
<link href="/_app/immutable/chunks/qR_TM3YX.js" rel="modulepreload">
|
|
19
19
|
<link href="/_app/immutable/chunks/B3DkuU-J.js" rel="modulepreload">
|
|
20
20
|
<link href="/_app/immutable/chunks/B-drBnSa.js" rel="modulepreload">
|
|
21
|
-
<link href="/_app/immutable/entry/app.
|
|
21
|
+
<link href="/_app/immutable/entry/app.DpA4vHmZ.js" rel="modulepreload">
|
|
22
22
|
<link href="/_app/immutable/chunks/DpBBTLWw.js" rel="modulepreload">
|
|
23
23
|
<link href="/_app/immutable/chunks/B2A7gHtL.js" rel="modulepreload">
|
|
24
24
|
<link href="/_app/immutable/chunks/BYXRTvT-.js" rel="modulepreload">
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
<div style="display: contents">
|
|
30
30
|
<script>
|
|
31
31
|
{
|
|
32
|
-
|
|
32
|
+
__sveltekit_14jxx0c = {
|
|
33
33
|
base: ""
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
const element = document.currentScript.parentElement;
|
|
37
37
|
|
|
38
38
|
Promise.all([
|
|
39
|
-
import("/_app/immutable/entry/start.
|
|
40
|
-
import("/_app/immutable/entry/app.
|
|
39
|
+
import("/_app/immutable/entry/start.sQG_Ah97.js"),
|
|
40
|
+
import("/_app/immutable/entry/app.DpA4vHmZ.js")
|
|
41
41
|
]).then(([kit, app]) => {
|
|
42
42
|
kit.start(app, element);
|
|
43
43
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-b1Cok6r_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/imessage/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("imessage");
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as normalizeAccountId, t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { E as jidToE164, Q as getChildLogger, V as info, j as resolveUserPath, q as success } from "./registry-
|
|
2
|
+
import { E as jidToE164, Q as getChildLogger, V as info, j as resolveUserPath, q as success } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import { a as resolveOAuthDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { i as defaultRuntime } from "./subsystem-
|
|
5
|
-
import { t as formatCliCommand } from "./command-format-
|
|
4
|
+
import { i as defaultRuntime } from "./subsystem-BfLMZ8kW.js";
|
|
5
|
+
import { t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import fs from "node:fs";
|
|
8
8
|
import fs$1 from "node:fs/promises";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { _ as createAccountListHelpers } from "./accounts-
|
|
2
|
+
import { _ as createAccountListHelpers } from "./accounts-b1Cok6r_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/signal/accounts.ts
|
|
5
5
|
const { listAccountIds, resolveDefaultAccountId } = createAccountListHelpers("signal");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DEFAULT_ACCOUNT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { t as formatCliCommand } from "./command-format-
|
|
2
|
+
import { t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
3
3
|
|
|
4
4
|
//#region src/web/active-listener.ts
|
|
5
5
|
const listeners = /* @__PURE__ */ new Map();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as isSubagentSessionKey, g as isCronSessionKey, l as normalizeAgentId, n as DEFAULT_AGENT_ID, v as parseAgentSessionKey } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { $ as getLogger, B as danger, J as warn, K as shouldLogVerbose, O as pathExists, V as info, W as logVerboseConsole, j as resolveUserPath } from "./registry-
|
|
2
|
+
import { $ as getLogger, B as danger, J as warn, K as shouldLogVerbose, O as pathExists, V as info, W as logVerboseConsole, j as resolveUserPath } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import { s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
4
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import os from "node:os";
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import "./accounts-
|
|
2
|
-
import { K as shouldLogVerbose, U as logVerbose } from "./registry-
|
|
1
|
+
import "./accounts-b1Cok6r_.js";
|
|
2
|
+
import { K as shouldLogVerbose, U as logVerbose } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import "./paths-DJmOcr7Q.js";
|
|
4
|
-
import "./model-selection-
|
|
5
|
-
import "./config-
|
|
6
|
-
import "./fs-safe-
|
|
7
|
-
import "./subsystem-
|
|
8
|
-
import "./agent-scope-
|
|
9
|
-
import "./common-
|
|
10
|
-
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-
|
|
11
|
-
import "./skills-
|
|
4
|
+
import "./model-selection-BQiSfqzh.js";
|
|
5
|
+
import "./config-DemNgb7Z.js";
|
|
6
|
+
import "./fs-safe-CGcLaY9D.js";
|
|
7
|
+
import "./subsystem-BfLMZ8kW.js";
|
|
8
|
+
import "./agent-scope-OWMdRegz.js";
|
|
9
|
+
import "./common-CCPGi5xr.js";
|
|
10
|
+
import { a as resolveMediaAttachmentLocalRoots, n as createMediaAttachmentCache, o as runCapability, r as normalizeMediaAttachments, t as buildProviderRegistry, u as isAudioAttachment } from "./runner-BkD3LLSl.js";
|
|
11
|
+
import "./skills-BCD1hFBZ.js";
|
|
12
12
|
import "./redact-DPnDWsnT.js";
|
|
13
13
|
import "./errors-Bv8oZiTO.js";
|
|
14
14
|
import "./ssrf-DxmqkHJJ.js";
|
|
15
|
-
import "./local-roots-
|
|
16
|
-
import "./chrome-
|
|
17
|
-
import "./command-format-
|
|
18
|
-
import "./thinking-
|
|
19
|
-
import "./normalize-
|
|
20
|
-
import "./accounts-
|
|
21
|
-
import "./accounts-
|
|
22
|
-
import "./bindings-
|
|
23
|
-
import "./plugins-
|
|
24
|
-
import "./message-channel-
|
|
25
|
-
import "./pi-embedded-helpers-
|
|
15
|
+
import "./local-roots-jpNoUngc.js";
|
|
16
|
+
import "./chrome-BS8LYp6z.js";
|
|
17
|
+
import "./command-format-BTciq6Gg.js";
|
|
18
|
+
import "./thinking-BACprzA0.js";
|
|
19
|
+
import "./normalize-raRH8X3d.js";
|
|
20
|
+
import "./accounts-CRs7kbLB.js";
|
|
21
|
+
import "./accounts-uAqOguyH.js";
|
|
22
|
+
import "./bindings-LROfNV1W.js";
|
|
23
|
+
import "./plugins-BJciHbYr.js";
|
|
24
|
+
import "./message-channel-C3OrO29D.js";
|
|
25
|
+
import "./pi-embedded-helpers-0qu1zxwF.js";
|
|
26
26
|
import "./github-copilot-token-etmIcdko.js";
|
|
27
|
-
import "./manifest-registry-
|
|
27
|
+
import "./manifest-registry-Lzj-fZNH.js";
|
|
28
28
|
import "./paths-a1ZEI8nz.js";
|
|
29
|
-
import "./store-
|
|
30
|
-
import "./image-
|
|
29
|
+
import "./store-BJRhX9Bi.js";
|
|
30
|
+
import "./image-BHSeZfna.js";
|
|
31
31
|
import "./pi-model-discovery-3Y4hcIsw.js";
|
|
32
|
-
import "./api-key-rotation-
|
|
32
|
+
import "./api-key-rotation-DedcgBOR.js";
|
|
33
33
|
|
|
34
34
|
//#region src/media-understanding/audio-preflight.ts
|
|
35
35
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as normalizeAccountId, l as normalizeAgentId } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { s as normalizeChatChannelId } from "./registry-
|
|
3
|
-
import { c as resolveDefaultAgentId } from "./agent-scope-
|
|
2
|
+
import { s as normalizeChatChannelId } from "./registry-C8pj8ctW.js";
|
|
3
|
+
import { c as resolveDefaultAgentId } from "./agent-scope-OWMdRegz.js";
|
|
4
4
|
|
|
5
5
|
//#region src/routing/bindings.ts
|
|
6
6
|
function normalizeBindingChannelId(raw) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as formatErrorMessage } from "./errors-Bv8oZiTO.js";
|
|
2
|
-
import { n as retryAsync, t as resolveRetryConfig } from "./retry-
|
|
2
|
+
import { n as retryAsync, t as resolveRetryConfig } from "./retry-B8Oq5mgi.js";
|
|
3
3
|
import { RateLimitError } from "@buape/carbon";
|
|
4
4
|
|
|
5
5
|
//#region src/infra/retry-policy.ts
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { i as buildAgentMainSessionKey, l as normalizeAgentId, o as buildGroupHistoryKey, r as DEFAULT_MAIN_KEY } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-
|
|
3
|
-
import { E as enqueueSystemEvent, G as shouldAckReactionForWhatsApp, K as resolveMentionGating, X as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildHistoryContextFromEntries, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, it as normalizeMentionText, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as recordPendingHistoryEntryIfEnabled, r as parseActivationCommand, rt as buildMentionRegexes, t as getReplyFromConfig, u as buildPairingReply, v as hasControlCommand, vt as createDedupeCache, y as shouldComputeCommandAuthorized } from "./reply-
|
|
4
|
-
import { A as resolveJidToE164, D as normalizeE164, E as jidToE164, F as sleep, K as shouldLogVerbose, L as toWhatsappJid, Q as getChildLogger, T as isSelfChatMode, U as logVerbose, s as normalizeChatChannelId, v as clamp } from "./registry-
|
|
5
|
-
import { n as loadConfig } from "./config-
|
|
6
|
-
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-
|
|
7
|
-
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-
|
|
8
|
-
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-
|
|
9
|
-
import { f as registerUnhandledRejectionHandler } from "./runner-
|
|
10
|
-
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, n as createReplyPrefixOptions } from "./reply-prefix-
|
|
11
|
-
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-
|
|
12
|
-
import { t as formatCliCommand } from "./command-format-
|
|
13
|
-
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-
|
|
14
|
-
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-
|
|
2
|
+
import { f as readWebSelfId, o as getWebAuthAgeMs, r as resolveWhatsAppAccount } from "./accounts-b1Cok6r_.js";
|
|
3
|
+
import { E as enqueueSystemEvent, G as shouldAckReactionForWhatsApp, K as resolveMentionGating, X as DEFAULT_GROUP_HISTORY_LIMIT, Z as buildHistoryContextFromEntries, _ as resolveEnvelopeFormatOptions, c as computeBackoff, d as formatDurationPrecise, f as dispatchReplyWithBufferedBlockDispatcher, g as formatInboundEnvelope, h as resolveInboundDebounceMs, it as normalizeMentionText, l as sleepWithAbort, m as createInboundDebouncer, n as normalizeGroupActivation, nt as recordPendingHistoryEntryIfEnabled, r as parseActivationCommand, rt as buildMentionRegexes, t as getReplyFromConfig, u as buildPairingReply, v as hasControlCommand, vt as createDedupeCache, y as shouldComputeCommandAuthorized } from "./reply-BUzGHOJ7.js";
|
|
4
|
+
import { A as resolveJidToE164, D as normalizeE164, E as jidToE164, F as sleep, K as shouldLogVerbose, L as toWhatsappJid, Q as getChildLogger, T as isSelfChatMode, U as logVerbose, s as normalizeChatChannelId, v as clamp } from "./registry-C8pj8ctW.js";
|
|
5
|
+
import { n as loadConfig } from "./config-DemNgb7Z.js";
|
|
6
|
+
import { i as defaultRuntime, t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
7
|
+
import { c as resolveChunkMode, i as chunkMarkdownTextWithMode, l as resolveTextChunkLimit } from "./chunk-C9J4kyVw.js";
|
|
8
|
+
import { G as readChannelAllowFromStore, J as upsertChannelPairingRequest, K as readChannelAllowFromStoreSync, nt as toLocationContext, tt as formatLocationText } from "./send-CpfmIaxP.js";
|
|
9
|
+
import { f as registerUnhandledRejectionHandler } from "./runner-BkD3LLSl.js";
|
|
10
|
+
import { c as resolveIdentityNamePrefix, l as resolveMessagePrefix, n as createReplyPrefixOptions } from "./reply-prefix-YUOHz1rF.js";
|
|
11
|
+
import { t as getAgentScopedMediaLocalRoots } from "./local-roots-jpNoUngc.js";
|
|
12
|
+
import { t as formatCliCommand } from "./command-format-BTciq6Gg.js";
|
|
13
|
+
import { F as resolveChannelGroupRequireMention, P as resolveChannelGroupPolicy } from "./thinking-BACprzA0.js";
|
|
14
|
+
import { Jt as resolveGroupSessionKey, ft as loadSessionStore, ht as updateLastRoute, mt as recordSessionMetaFromInbound, pt as readSessionUpdatedAt } from "./pi-embedded-helpers-0qu1zxwF.js";
|
|
15
15
|
import { s as resolveStorePath } from "./paths-a1ZEI8nz.js";
|
|
16
|
-
import { i as saveMediaBuffer } from "./store-
|
|
17
|
-
import { a as loadWebMedia } from "./ir-
|
|
18
|
-
import { n as recordChannelActivity } from "./channel-activity-
|
|
19
|
-
import { n as resolveMarkdownTableMode } from "./markdown-tables-
|
|
20
|
-
import { t as convertMarkdownTables } from "./tables-
|
|
16
|
+
import { i as saveMediaBuffer } from "./store-BJRhX9Bi.js";
|
|
17
|
+
import { a as loadWebMedia } from "./ir-JSGKj1e6.js";
|
|
18
|
+
import { n as recordChannelActivity } from "./channel-activity-DHI8R5Xg.js";
|
|
19
|
+
import { n as resolveMarkdownTableMode } from "./markdown-tables-CgnPuqk-.js";
|
|
20
|
+
import { t as convertMarkdownTables } from "./tables-D5aPNTF6.js";
|
|
21
21
|
import { t as finalizeInboundContext } from "./inbound-context-hgCIam0H.js";
|
|
22
|
-
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-
|
|
23
|
-
import { r as setActiveWebListener } from "./active-listener-
|
|
24
|
-
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-
|
|
25
|
-
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-
|
|
22
|
+
import { n as resolveAgentRoute, t as buildAgentSessionKey } from "./resolve-route-DudlMKs4.js";
|
|
23
|
+
import { r as setActiveWebListener } from "./active-listener-BdVTYHTN.js";
|
|
24
|
+
import { i as markdownToWhatsApp, r as sendReactionWhatsApp } from "./outbound-CtRrsxZT.js";
|
|
25
|
+
import { i as waitForWaConnection, n as formatError, r as getStatusCode, t as createWaSocket } from "./session-CpS-Mhnp.js";
|
|
26
26
|
import { randomUUID } from "node:crypto";
|
|
27
27
|
import { DisconnectReason, downloadMediaMessage, extractMessageContent, getContentType, isJidGroup, normalizeMessageContent } from "@whiskeysockets/baileys";
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as CONFIG_DIR } from "./registry-
|
|
2
|
-
import { n as loadConfig } from "./config-
|
|
3
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { _ as CONFIG_DIR } from "./registry-C8pj8ctW.js";
|
|
2
|
+
import { n as loadConfig } from "./config-DemNgb7Z.js";
|
|
3
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
4
4
|
import { i as isErrno } from "./errors-Bv8oZiTO.js";
|
|
5
5
|
import { s as resolvePinnedHostnameWithPolicy } from "./ssrf-DxmqkHJJ.js";
|
|
6
6
|
import path from "node:path";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
2
|
import { c as normalizeAccountId } from "./session-key-9yEYlIQe.js";
|
|
3
|
-
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-
|
|
3
|
+
import { t as INTERNAL_MESSAGE_CHANNEL } from "./message-channel-C3OrO29D.js";
|
|
4
4
|
|
|
5
5
|
//#region src/shared/text-chunking.ts
|
|
6
6
|
function chunkTextByBreakResolver(text, limit, resolveBreakIndex) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
|
|
2
|
-
import { S as escapeRegExp, c as getActivePluginRegistry } from "./registry-
|
|
3
|
-
import { G as DEFAULT_PROVIDER, W as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-
|
|
4
|
-
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-
|
|
2
|
+
import { S as escapeRegExp, c as getActivePluginRegistry } from "./registry-C8pj8ctW.js";
|
|
3
|
+
import { G as DEFAULT_PROVIDER, W as DEFAULT_MODEL, u as resolveConfiguredModelRef } from "./model-selection-BQiSfqzh.js";
|
|
4
|
+
import { f as listChannelDocks, r as listThinkingLevels } from "./thinking-BACprzA0.js";
|
|
5
5
|
|
|
6
6
|
//#region src/auto-reply/commands-args.ts
|
|
7
7
|
function normalizeArgValue(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as buildImageResizeSideGrid, d as detectMime, i as IMAGE_REDUCE_QUALITY_STEPS, s as getImageMetadata, u as resizeToJpeg } from "./fs-safe-
|
|
2
|
-
import { t as createSubsystemLogger } from "./subsystem-
|
|
1
|
+
import { a as buildImageResizeSideGrid, d as detectMime, i as IMAGE_REDUCE_QUALITY_STEPS, s as getImageMetadata, u as resizeToJpeg } from "./fs-safe-CGcLaY9D.js";
|
|
2
|
+
import { t as createSubsystemLogger } from "./subsystem-BfLMZ8kW.js";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/agents/image-sanitization.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { l as normalizeAgentId, n as DEFAULT_AGENT_ID } from "./session-key-9yEYlIQe.js";
|
|
2
|
-
import { j as resolveUserPath, k as resolveConfigDir, s as normalizeChatChannelId, t as CHANNEL_IDS, w as isRecord, z as isPlainObject$1 } from "./registry-
|
|
2
|
+
import { j as resolveUserPath, k as resolveConfigDir, s as normalizeChatChannelId, t as CHANNEL_IDS, w as isRecord, z as isPlainObject$1 } from "./registry-C8pj8ctW.js";
|
|
3
3
|
import { n as resolveConfigPath, r as resolveDefaultConfigCandidates, s as resolveStateDir, u as resolveRequiredHomeDir } from "./paths-DJmOcr7Q.js";
|
|
4
|
-
import { J as resolveShellEnvFallbackTimeoutMs, U as DEFAULT_CONTEXT_TOKENS, X as shouldEnableShellEnvFallback, Y as shouldDeferShellEnvFallback, l as parseModelRef, q as loadShellEnvFallback } from "./model-selection-
|
|
5
|
-
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-
|
|
6
|
-
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-
|
|
4
|
+
import { J as resolveShellEnvFallbackTimeoutMs, U as DEFAULT_CONTEXT_TOKENS, X as shouldEnableShellEnvFallback, Y as shouldDeferShellEnvFallback, l as parseModelRef, q as loadShellEnvFallback } from "./model-selection-BQiSfqzh.js";
|
|
5
|
+
import { c as resolveDefaultAgentId, s as resolveAgentWorkspaceDir } from "./agent-scope-OWMdRegz.js";
|
|
6
|
+
import { c as normalizePluginsConfig, d as isPathInside, l as resolveEnableState, t as loadPluginManifestRegistry, u as resolveMemorySlotDecision } from "./manifest-registry-Lzj-fZNH.js";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import path from "node:path";
|
|
9
9
|
import fs from "node:fs";
|
|
10
10
|
import os from "node:os";
|
|
11
|
-
import
|
|
11
|
+
import JSON5 from "json5";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { isDeepStrictEqual } from "node:util";
|
|
14
14
|
import crypto from "node:crypto";
|
|
@@ -2935,7 +2935,7 @@ function safeRealpath(target) {
|
|
|
2935
2935
|
}
|
|
2936
2936
|
const defaultResolver = {
|
|
2937
2937
|
readFile: (p) => fs.readFileSync(p, "utf-8"),
|
|
2938
|
-
parseJson: (raw) =>
|
|
2938
|
+
parseJson: (raw) => JSON5.parse(raw)
|
|
2939
2939
|
};
|
|
2940
2940
|
/**
|
|
2941
2941
|
* Resolves all $include directives in a parsed config object.
|
|
@@ -5480,7 +5480,7 @@ function resolveConfigPathForDeps(deps) {
|
|
|
5480
5480
|
function normalizeDeps(overrides = {}) {
|
|
5481
5481
|
return {
|
|
5482
5482
|
fs: overrides.fs ?? fs,
|
|
5483
|
-
json5: overrides.json5 ??
|
|
5483
|
+
json5: overrides.json5 ?? JSON5,
|
|
5484
5484
|
env: overrides.env ?? process.env,
|
|
5485
5485
|
homedir: overrides.homedir ?? (() => resolveRequiredHomeDir(overrides.env ?? process.env, os.homedir)),
|
|
5486
5486
|
configPath: overrides.configPath ?? "",
|
|
@@ -5491,11 +5491,11 @@ function maybeLoadDotEnvForConfig(env) {
|
|
|
5491
5491
|
if (env !== process.env) return;
|
|
5492
5492
|
loadDotEnv({ quiet: true });
|
|
5493
5493
|
}
|
|
5494
|
-
function parseConfigJson5(raw, json5
|
|
5494
|
+
function parseConfigJson5(raw, json5 = JSON5) {
|
|
5495
5495
|
try {
|
|
5496
5496
|
return {
|
|
5497
5497
|
ok: true,
|
|
5498
|
-
parsed: json5
|
|
5498
|
+
parsed: json5.parse(raw)
|
|
5499
5499
|
};
|
|
5500
5500
|
} catch (err) {
|
|
5501
5501
|
return {
|