agentix-cli 0.226.1 → 0.226.2
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/{agent-6TUCPAEK.js → agent-QCB3FOPN.js} +2 -2
- package/dist/{board-dashboard-B3NC26BR.js → board-dashboard-B6QSOGCC.js} +2 -2
- package/dist/{chunk-SJXWBL72.js → chunk-ATZRBMUZ.js} +2 -2
- package/dist/{chunk-M3K5B3WH.js → chunk-LLVVT5OB.js} +2 -2
- package/dist/{chunk-7GDFB4FS.js → chunk-TA437DWX.js} +2 -2
- package/dist/{chunk-7GDFB4FS.js.map → chunk-TA437DWX.js.map} +1 -1
- package/dist/{chunk-TO7ZERY3.js → chunk-TEYFN6YL.js} +83 -83
- package/dist/{chunk-TO7ZERY3.js.map → chunk-TEYFN6YL.js.map} +1 -1
- package/dist/{chunk-IXOJEEGR.js → chunk-W7PIHJHH.js} +2 -2
- package/dist/{chunk-HSBGTRKV.js → chunk-X2LFAJ5D.js} +3 -3
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{program-SUQ5ILYR.js → program-YIKCSZBC.js} +4 -4
- package/dist/{registry-NTS5PNO4.js → registry-77HLNAQF.js} +2 -2
- package/package.json +1 -1
- /package/dist/{agent-6TUCPAEK.js.map → agent-QCB3FOPN.js.map} +0 -0
- /package/dist/{board-dashboard-B3NC26BR.js.map → board-dashboard-B6QSOGCC.js.map} +0 -0
- /package/dist/{chunk-SJXWBL72.js.map → chunk-ATZRBMUZ.js.map} +0 -0
- /package/dist/{chunk-M3K5B3WH.js.map → chunk-LLVVT5OB.js.map} +0 -0
- /package/dist/{chunk-IXOJEEGR.js.map → chunk-W7PIHJHH.js.map} +0 -0
- /package/dist/{chunk-HSBGTRKV.js.map → chunk-X2LFAJ5D.js.map} +0 -0
- /package/dist/{program-SUQ5ILYR.js.map → program-YIKCSZBC.js.map} +0 -0
- /package/dist/{registry-NTS5PNO4.js.map → registry-77HLNAQF.js.map} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{A as a,B as b,C as c}from"./chunk-
|
|
2
|
-
//# sourceMappingURL=agent-
|
|
1
|
+
import{A as a,B as b,C as c}from"./chunk-W7PIHJHH.js";import"./chunk-SFQUP3BP.js";import"./chunk-LY4G7PCW.js";import"./chunk-AHWWJ7AF.js";import"./chunk-DCIYOPJF.js";import"./chunk-7I7IEX4S.js";import"./chunk-JHCI6XCJ.js";import"./chunk-DSYKYZMT.js";import"./chunk-QIJLFPWE.js";export{a as createAgentContext,b as generate,c as generateStream};
|
|
2
|
+
//# sourceMappingURL=agent-QCB3FOPN.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{A as Ld,B as ta,D as Md,F as Nr,I as Nd,K as Dd,L as $d,M as Hd,N as Fe,O as na,P as Bd,Q as Wd,R as Fd,S as qd,T as zd,U as Ud,Y as Gd,Z as Vd,a as Xe,aa as Xd,b as X,ba as Kd,c as ee,d as ea,da as Yd,e as yd,f as kd,g as _d,i as Sd,ia as aa,j as Ad,ja as ec,k as Td,ka as tc,l as Ed,la as nc,m as Cd,ma as ac,n as Rd,na as rc,oa as oc,pa as sc,ra as ic,sa as lc,v as Id,w as Pd,x as ot,y as Mr,z as Od}from"./chunk-
|
|
1
|
+
import{A as Ld,B as ta,D as Md,F as Nr,I as Nd,K as Dd,L as $d,M as Hd,N as Fe,O as na,P as Bd,Q as Wd,R as Fd,S as qd,T as zd,U as Ud,Y as Gd,Z as Vd,a as Xe,aa as Xd,b as X,ba as Kd,c as ee,d as ea,da as Yd,e as yd,f as kd,g as _d,i as Sd,ia as aa,j as Ad,ja as ec,k as Td,ka as tc,l as Ed,la as nc,m as Cd,ma as ac,n as Rd,na as rc,oa as oc,pa as sc,ra as ic,sa as lc,v as Id,w as Pd,x as ot,y as Mr,z as Od}from"./chunk-ATZRBMUZ.js";import"./chunk-EFGAPAYZ.js";import{a as Jd}from"./chunk-FFOGEFPT.js";import{a as Qd,b as Zd}from"./chunk-NZQBS7GN.js";import"./chunk-QAWKN2N4.js";import"./chunk-DODL5POT.js";import{a as jd}from"./chunk-WMZ4TGMR.js";import{b as vd}from"./chunk-2YDG5CSS.js";import{a as xd}from"./chunk-LNY6N73E.js";import{$ as $l,Ea as Kl,Fb as rd,Ga as Jl,Hb as od,Ib as sd,J as jl,Jb as id,Ka as Yl,Lb as ld,M as Be,N as Ol,O as xe,P as Hn,Pa as Z,Q as Bn,Qa as Or,R as Wn,Ra as Ql,S as Fn,Sa as Zl,Sb as dd,T as Ll,Ta as ed,U as qn,Ub as We,V as zn,Va as td,Vb as Lr,W as Un,Wa as nd,Wb as cd,X as Ml,Xb as pd,Y as Nl,Z as Dl,Zb as ud,_a as ad,a as bl,aa as Hl,ac as fd,ba as Gn,c as Nn,ca as Bl,cc as St,d as Rr,da as Wl,dc as Kn,e as wl,ea as Fl,ec as Jn,fa as ql,fc as Yn,ga as Pr,gc as Qn,ha as Vn,hc as hd,ia as zl,ic as gd,jc as md,kc as Zn,la as Ul,mc as bd,na as Xn,oa as Gl,p as Zt,pa as Vl,pc as wd,r as xl,ra as en,va as Ve,w as Il,y as Pl,ya as Xl,za as jr}from"./chunk-LLVVT5OB.js";import"./chunk-GTJIKXDB.js";import{i as gl,j as ml}from"./chunk-2TVJTWFC.js";import{S as vl,U as yl,i as il,j as ll,k as dl,l as cl,s as ul,t as Ge,u as fl,v as hl}from"./chunk-BDHWTWD7.js";import{a as _t}from"./chunk-IMLAPB7G.js";import"./chunk-MRIVENBY.js";import"./chunk-UBONPGNT.js";import{a as kl,b as oe,c as $e,d as _l,e as Ir}from"./chunk-UKUH662W.js";import{a as Al,b as He,d as Tl,e as El,f as Dn}from"./chunk-2VDO2HEK.js";import{b as Sl}from"./chunk-JWDJMFU6.js";import{g as $n}from"./chunk-LQE73AZR.js";import{b as Cl,c as Rl}from"./chunk-2D3RYIDU.js";import{a as D}from"./chunk-A24QXLEG.js";import"./chunk-7K7ZQU3C.js";import"./chunk-2AXFYDWF.js";import"./chunk-AQASR6KR.js";import"./chunk-RX5O5637.js";import"./chunk-5ELIX7BQ.js";import"./chunk-LTOSEP7C.js";import{d as pl}from"./chunk-QPABR72X.js";import"./chunk-QU7ICYFR.js";import"./chunk-KP7KDLZ2.js";import"./chunk-XVV7ZZ77.js";import{A as Pn,B as Fi,C as qi,Ca as rl,D as zi,Da as Mn,E as Ui,Ea as ol,F as jn,Fa as sl,G as Gi,Ga as Qt,H as Vi,I as On,J as Cr,N as Xi,P as Ki,Q as Ji,a as Li,ba as tl,g as Ni,h as Di,ha as nl,o as $i,q as Hi,r as Yt,s as Er,t as Bi,u as Wi,y as Rn,ya as al,z as In}from"./chunk-TA437DWX.js";import"./chunk-MEFPXHQJ.js";import{a as H,b as F,c as Mi,e as rt}from"./chunk-7AB3QUGH.js";import"./chunk-EFXZACH4.js";import"./chunk-7YOLZGB5.js";import{n as Yi,o as Qi,p as Zi}from"./chunk-IH65GDJR.js";import"./chunk-CF2R6BOX.js";import{a as Ln,b as el}from"./chunk-Q6TGKWZE.js";import"./chunk-3UOTLMXD.js";import"./chunk-GV7S5BAX.js";import"./chunk-GSX4NK2N.js";import"./chunk-FG2FPOML.js";import"./chunk-5ONH4ITT.js";import"./chunk-JRAG37V5.js";import"./chunk-ILEC3IAV.js";import{b as Ci,c as Ri,s as Ii,t as Tr,u as Pi}from"./chunk-3323WFVK.js";import"./chunk-4NZ4T3TQ.js";import{c as V}from"./chunk-BERWTVG2.js";import"./chunk-A7JSRDJL.js";import"./chunk-MM7U4PWY.js";import"./chunk-6ECXITK2.js";import{g as Oi}from"./chunk-2XQMUSGM.js";import{b as ji}from"./chunk-WPNRDEHW.js";import"./chunk-OWNQ2FD4.js";import"./chunk-AHWWJ7AF.js";import"./chunk-KEXBEUSU.js";import"./chunk-ROLSSYXE.js";import"./chunk-BTLADRMY.js";import"./chunk-72SZI2UW.js";import"./chunk-FCPTN6NF.js";import"./chunk-MCI3DIWW.js";import"./chunk-7IW25T4K.js";import"./chunk-Q3A5P373.js";import"./chunk-JLBRNYKY.js";import{a as Ti,b as Ei}from"./chunk-BYEL7KKR.js";import"./chunk-QUFIUXMQ.js";import"./chunk-DCIYOPJF.js";import"./chunk-7I7IEX4S.js";import{A as Ks,B as Js,Bb as En,C as Ys,D as Qs,Dc as Jt,E as Zs,Eb as Cn,Fa as pi,Ha as Ww,Ib as wi,J as Xt,K as vr,Kb as kt,Lb as xi,M as ei,Mb as vi,N as ti,Nb as yi,O as ni,Oa as kr,Pb as ki,Q as ai,R as ri,S as oi,T as si,Tb as Kt,U as ii,Ua as zw,V as Hw,Va as ae,Wa as _r,Xa as mi,Za as Sr,ab as bi,cb as Ar,hb as De,m as _n,n as qs,o as zs,p as Us,pa as Sn,q as Gs,qa as Bw,r as Vs,rc as _i,sc as Si,tc as re,vc as Ai,z as Xs}from"./chunk-FWNP27H4.js";import{a as li,b as An,c as yr,d as di,h as ci}from"./chunk-KEUW6YLL.js";import{d as ui,e as Fw,g as fi,h as hi,i as qw,j as Tn,r as gi}from"./chunk-N47Y5ADQ.js";import"./chunk-VQRY4IDI.js";import"./chunk-YSCT6DPR.js";import"./chunk-RGDKHYY2.js";import"./chunk-QIJLFPWE.js";qs();function Dr(e,t,n=Date.now()){let r=Math.max(0,n-(e.updatedAt||n)),a=e.clientId?t[e.clientId]:void 0;if(!a)return{score:r/864e5,ageMs:r,rising:!1,overdue:!1};let o=r/(a*6e4);return{score:1e3+o,ageMs:r,rising:!0,overdue:o>=1}}function dc(e,t,n=Date.now()){return e.map((r,a)=>({i:a,s:Dr(r,t,n).score})).sort((r,a)=>a.s-r.s||r.i-a.i).map(r=>r.i)}var Ae={refresh:'<path d="M21 2v6h-6"/><path d="M3 12a9 9 0 0 1 15-6.7L21 8"/><path d="M3 22v-6h6"/><path d="M21 12a9 9 0 0 1-15 6.7L3 16"/>',clock:'<circle cx="12" cy="12" r="9"/><path d="M12 7v5l3 2"/>',alert:'<path d="M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0Z"/><path d="M12 9v4"/><path d="M12 17h.01"/>',gavel:'<path d="M12 3 6 9"/><path d="m9 6 6 6"/><path d="M15 9 9 15"/><path d="m12 12 6 6"/><path d="M4 21h10"/>',loop:'<path d="M17 2l4 4-4 4"/><path d="M3 11V9a4 4 0 0 1 4-4h14"/><path d="M7 22l-4-4 4-4"/><path d="M21 13v2a4 4 0 0 1-4 4H3"/>',broom:'<path d="M3 21h18"/><path d="M12 3v9"/><path d="m7 12 5-3 5 3-1.5 6h-7Z"/>',server:'<rect x="2" y="3" width="20" height="7" rx="2"/><rect x="2" y="14" width="20" height="7" rx="2"/><path d="M6 6.5h.01"/><path d="M6 17.5h.01"/>',inbox:'<path d="M21 12h-6l-2 3h-2l-2-3H3"/><path d="M5 5h14l2 7v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5Z"/>',cross:'<circle cx="12" cy="12" r="9"/><path d="m15 9-6 6"/><path d="m9 9 6 6"/>',file:'<path d="M14 2H7a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7Z"/><path d="M14 2v5h5"/>',search:'<circle cx="11" cy="11" r="7"/><path d="m20 20-3.5-3.5"/>',chev:'<path d="m6 9 6 6 6-6"/>',chevr:'<path d="m9 6 6 6-6 6"/>',ext:'<path d="M15 3h6v6"/><path d="M10 14 21 3"/><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>',pulse:'<path d="M3 12h4l3-8 4 16 3-8h4"/>',plug:'<path d="M9 2v6"/><path d="M15 2v6"/><path d="M6 8h12v3a6 6 0 0 1-12 0Z"/><path d="M12 17v5"/>',check:'<path d="M20 6 9 17l-5-5"/>',route:'<circle cx="6" cy="19" r="3"/><circle cx="18" cy="5" r="3"/><path d="M9 19h6a4 4 0 0 0 0-8H9a4 4 0 0 1 0-8h6"/>',branch:'<circle cx="6" cy="6" r="3"/><circle cx="6" cy="18" r="3"/><circle cx="18" cy="8" r="3"/><path d="M18 11v1a3 3 0 0 1-3 3H9"/><path d="M6 9v6"/>',send:'<path d="M22 2 11 13"/><path d="M22 2l-7 20-4-9-9-4Z"/>',msg:'<path d="M21 11.5a8.4 8.4 0 0 1-12.9 7.5L3 21l2-5.1A8.4 8.4 0 1 1 21 11.5Z"/>',code:'<path d="m9 18-6-6 6-6"/><path d="m15 6 6 6-6 6"/>',hash:'<path d="M4 9h16"/><path d="M4 15h16"/><path d="M10 3 8 21"/><path d="M16 3l-2 18"/>',x:'<path d="M18 6 6 18"/><path d="m6 6 12 12"/>',trace:'<path d="M4 4v16h16"/><path d="m7 15 4-4 3 3 5-6"/>'},st=(e,t=14)=>'<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" width="'+t+'" height="'+t+'" aria-hidden="true">'+e+"</svg>",ra=(e,t,n,r="")=>'<div class="ax-sec-label"><h3>'+st(e,13)+t+(n?'<span class="ax-sec-label__n" id="'+n+'"></span>':"")+"</h3>"+r+"</div>";function cc(e={}){return ee({title:"AgentX \xB7 Monitor",activeTab:"monitor",subtitle:"Monitor",peers:e.peers,localToken:e.localToken,body:`<div class="bf">
|
|
2
2
|
|
|
3
3
|
<div class="bf-head">
|
|
4
4
|
<div>
|
|
@@ -23163,4 +23163,4 @@ data: ${f.replace(/\n/g," ")}
|
|
|
23163
23163
|
`)}catch{}}};s.stdout?.on("data",l),s.stderr?.on("data",l);let d=setInterval(()=>{try{t.write(`: hb
|
|
23164
23164
|
|
|
23165
23165
|
`)}catch{}},15e3),c=()=>{clearInterval(d);try{s.kill()}catch{}try{t.end()}catch{}};e.on("close",c),s.on("exit",c),s.on("error",c)}async function Sw(e,t,n,r){let a=n.url+r,o=(e.method||"GET").toUpperCase(),i=o!=="GET"&&o!=="HEAD"?await new Promise((p,u)=>{let f=[];e.on("data",g=>f.push(g)),e.on("end",()=>p(Buffer.concat(f))),e.on("error",u)}):void 0,l={},d=e.headers["content-type"];d&&(l["Content-Type"]=Array.isArray(d)?d[0]:d);let c=e.headers["x-requested-with"];c&&(l["X-Requested-With"]=Array.isArray(c)?c[0]:c),n.token&&(l.Authorization=`Bearer ${n.token}`),l["X-Agentx-Peer"]="primary";try{let p=await fetch(a,{method:o,headers:l,body:i&&i.length>0?i:void 0}),u=Buffer.from(await p.arrayBuffer());t.writeHead(p.status,{"Content-Type":p.headers.get("content-type")||"application/json","Cache-Control":"no-store"}),t.end(u)}catch(p){E(t,502,{error:`proxy to peer failed: ${p?.message||p}`,target:a})}}function Ut(e,t){let n=e.replace(/\/+$/,""),r=(t.dashboard?.daemons||[]).find(a=>a.url.replace(/\/+$/,"")===n);return r?{url:Hs(r),token:r.dashboardToken||r.token}:null}export{L1 as RETIRED_PAGES,X1 as applyAttachSessions,Ew as configNodeTargets,hw as fetchDaemonAgents,M1 as handleBoardRequest,H1 as liveOverlaps,MD as resetLiveCaches,ND as resetWallFleetCaches,nt as resolveNodeTargets,LD as startBoardDashboard,V1 as withLastGood};
|
|
23166
|
-
//# sourceMappingURL=board-dashboard-
|
|
23166
|
+
//# sourceMappingURL=board-dashboard-B6QSOGCC.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as Ze,b as k,c as D,d as ea,e as fe,f as he,g as H,h as be,i as L,j as N,n as aa,o as ta,p as ra,q as na}from"./chunk-EFGAPAYZ.js";import{e as Ve,i as Qe}from"./chunk-QAWKN2N4.js";import{b as me}from"./chunk-DODL5POT.js";import{$a as Xe,Aa as qe,Lb as Ge,Xa as Ke,Ya as Ye,Za as Je,c as Le,va as _}from"./chunk-
|
|
1
|
+
import{a as Ze,b as k,c as D,d as ea,e as fe,f as he,g as H,h as be,i as L,j as N,n as aa,o as ta,p as ra,q as na}from"./chunk-EFGAPAYZ.js";import{e as Ve,i as Qe}from"./chunk-QAWKN2N4.js";import{b as me}from"./chunk-DODL5POT.js";import{$a as Xe,Aa as qe,Lb as Ge,Xa as Ke,Ya as Ye,Za as Je,c as Le,va as _}from"./chunk-LLVVT5OB.js";import{a as V}from"./chunk-IMLAPB7G.js";import{b as Fe}from"./chunk-MRIVENBY.js";import{k as Be}from"./chunk-UBONPGNT.js";import{b as Q}from"./chunk-2VDO2HEK.js";import{c as Ne,e as We}from"./chunk-LQE73AZR.js";import{a as Z,b as Ue}from"./chunk-A24QXLEG.js";import{ia as G}from"./chunk-TA437DWX.js";import{b as ue}from"./chunk-7AB3QUGH.js";import{a as K,b as X}from"./chunk-Q6TGKWZE.js";import{s as ge,u as Oe}from"./chunk-3323WFVK.js";import{b as He}from"./chunk-MM7U4PWY.js";import{c as De,d as Me}from"./chunk-OWNQ2FD4.js";import{a as je}from"./chunk-ROLSSYXE.js";import{Dc as xe,J as le,M as F,Mb as Ee,S as Za,Tb as at,Va as ce,Wa as Pe,hb as et,oc as pe,sc as q,tc as Re}from"./chunk-FWNP27H4.js";import{existsSync as Y,readFileSync as xa,writeFileSync as ga,appendFileSync as lt,mkdirSync as ct}from"fs";import{dirname as pt,resolve as M}from"path";import{fileURLToPath as xt}from"url";import{hostname as gt}from"os";import{spawn as ut}from"child_process";var ve=`:root {
|
|
2
2
|
/* --- Brand (agentina) --------------------------------------------- */
|
|
3
3
|
--ax-blue: #2979FF;
|
|
4
4
|
--ax-blue-d: #1B5FD9;
|
|
@@ -2903,4 +2903,4 @@ tr:hover td { background: var(--bg-hover); }
|
|
|
2903
2903
|
${r}`).all(a,...t,...n).map(i=>({id:i.id,state:i.state,channel:i.channel,agentId:i.agent_id,text:i.text,createdAt:i.created_at})):[]}function Qo(e,a){return Ua(e,a,ce,"ORDER BY created_at")}function Zo(e,a,t=50){return Ua(e,a,[...ce,...Pe],"ORDER BY created_at DESC, rowid DESC LIMIT ?",Math.max(1,Math.min(t,500)))}at();var ze="member:",pr=90,xr="members",gr="tailscale-user-login",ur=400,mr=60*60*1e3;function fr(e){let a=e.scopes.find(t=>t.startsWith(ze));return a?a.slice(ze.length):null}function qa(e,a){if(!e)return null;let t=a.verify(e),r=t?fr(t):null;return t&&r?{rec:t,personId:r}:null}function ii(e,a){let t=e.people().find(s=>s.id===a);if(!t)return{ok:!1,error:`No person "${a}". Add them first: agentx people add ${a} --name "\u2026"`};let{token:r,record:n}=e.tokens.create({name:`${t.name} (machine not paired yet)`,scopes:[`${ze}${t.id}`],expiresInDays:pr}),{code:o,expiresAt:i}=e.codes.create({token:r,tokenId:n.id,name:t.id});return e.members.log({person:t.id,device:n.id,event:"invited"}),{ok:!0,code:o,expiresAt:i,tokenId:n.id,person:t}}var hr=Math.round(Ne/6e4);function br(e){return e==="client"?"Your project":"My work"}function si(e){let a=br(e.person.role),t=e.person.role==="client"?`I use AgentX to keep track of the work I do for you. It has a page for you, "${a}": what you asked us for, and where each request stands.`:`I use AgentX to give our AI agents their jobs. It has a page for you, "${a}": what you asked the agents for, and where each request stands.`;return[`Hi ${e.person.name},`,"",t,"","To open it:","1. Accept the Tailscale share I sent you. Tailscale is a small program that connects your computer to mine, privately.",`2. Open ${e.origin.replace(/\/+$/,"")}/member in Edge or Chrome, give your computer a name and type this code: ${We(e.code)}`,` The code works once, for ${hr} minutes. If it has stopped working, tell me and I will send you a new one.`,"","I then approve your machine, and the page opens by itself."].join(`
|
|
2904
2904
|
`)}var vr="The private network says someone else is connecting from this machine. Ask the person who invited you for a new code.",wr="Too many machines are waiting for the owner's answer. Try again later.",Fa="That code didn't work. Check it, or ask the person who invited you for a new one.",Ka=(e,a)=>{let t=e.headers[a];return(Array.isArray(t)?t[0]:t||"").trim()};function Ya(e){let a=e.socket?.remoteAddress||"";return a==="127.0.0.1"||a==="::1"||a==="::ffff:127.0.0.1"}function yr(e){if(!Ya(e))return null;let a=Ka(e,gr).toLowerCase();return a?a.slice(0,80):null}function kr(e){let a=e.socket?.remoteAddress||"unknown";if(!Ya(e))return a;let t=Ka(e,"x-forwarded-for").split(",").pop().trim();return/^[0-9a-fA-F:.]{2,45}$/.test(t)?t:a}function $r(e){return typeof e=="string"?e.replace(/[^\p{L}\p{N} ._'()-]/gu," ").replace(/\s+/g," ").trim().slice(0,60):""}function _r(e){return e.identities.map(Ee).filter(a=>!!a&&a.channel==="tailscale").map(a=>a.value)}async function di(e,a){let t=Date.now(),r=a.now??Date.now,n=a.log??(b=>console.log(b)),o=kr(e),i=a.limiter.retryAfter(o);if(i>0)return n(`[member] pair-code refused from ${o}: locked out for ${i}s more`),{status:429,body:{error:"too many attempts",retryAfter:i},retryAfter:i};let s=null,d="";try{let b=await Q(e,2048);s=b.code,d=$r(b.machine)}catch{}let l=a.codes.redeem(s),c=l?qa(l.token,a.tokens):null;if(await Cr(t,a.minMs??ur),!l||!c)return a.limiter.fail(o),n(`[member] pair-code failed from ${o}`),{status:401,body:{error:Fa}};a.limiter.succeed(o);let{rec:m,personId:g}=c,u=a.people().find(b=>b.id===g);if(!u)return a.tokens.revoke(m.id),a.members.log({person:g,device:m.id,event:"refused",address:o,detail:"person no longer listed"}),n(`[member] pair-code for ${g} refused from ${o}: person no longer listed`),{status:403,body:{error:Fa}};let x=yr(e),f=_r(u);if(f.length&&(!x||!f.includes(x)))return a.tokens.revoke(m.id),a.members.log({person:g,device:m.id,event:"refused",address:o,detail:`network login ${x??"missing"}; expected ${f.join(" or ")}`}),n(`[member] ${g}: pairing from ${o} refused: the network says "${x??"nobody"}", expected ${f.join(" or ")}`),{status:403,body:{error:vr}};let A=d||"Unnamed machine",y=u.name.slice(0,40),v=Oe(a.root,{title:`New machine for ${y}`,ask:`From ${o}, ${x?`network login ${x}`:"no network login reported"}. Machine name, as typed there: "${A}". Let it see their own work?`,recommend:`Yes if ${y} told you they just paired this machine. No if you did not expect it.`,if_silent:"discard",raised_by:xr},{now:r()});return v.ok?(a.members.add({tokenId:m.id,personId:g,name:A,state:"pending",cardId:v.card.id,address:o,...x?{network:x}:{},createdAt:new Date(r()).toISOString()}),a.members.log({person:g,device:m.id,event:"paired",address:o,detail:A}),n(`[member] ${g} paired "${A}" from ${o}; waiting for the owner (card ${v.card.id})`),{status:200,body:{person:g,name:A,state:"pending"},token:l.token}):(a.tokens.revoke(m.id),a.members.log({person:g,device:m.id,event:"refused",address:o,detail:v.error}),n(`[member] ${g}: pairing from ${o} refused: ${v.error}`),{status:503,body:{error:wr}})}var de="this machine is not paired",Sr="waiting for the owner to approve this machine";function Ja(e){return e?e.status==="decided"?e.verdict??null:e.status==="expired"?"no":null:null}function li(e,a){return a.state==="pending"&&a.cardId?Ja(ge(e,a.cardId)):null}function ci(e,a,t){let r=a.now??Date.now,n=a.log??(c=>console.log(c)),o=qa(e,a.tokens);if(!o)return{ok:!1,status:401,error:de};let{rec:i,personId:s}=o,d=a.members.byToken(i.id);if(!d||d.state==="removed"||d.personId!==s)return{ok:!1,status:401,error:de};if(a.people&&!a.people().some(c=>c.id===s))return Xa(a,i.id,"person no longer listed"),n(`[member] ${s}: "${d.name}" ended: person no longer listed`),{ok:!1,status:401,error:de};if(d.state==="pending"){let c=d.cardId?ge(a.root,d.cardId):null,m=Ja(c);if(m==="yes")d=a.members.update(i.id,{state:"active",approvedAt:new Date(r()).toISOString()})??d,a.members.log({person:s,device:i.id,event:"approved",detail:c?.decided_by}),n(`[member] ${s}: "${d.name}" approved`);else if(m==="no"){let g=c?.status==="expired"?"the owner did not answer in time":"the owner said no";return a.tokens.revoke(i.id),a.members.update(i.id,{state:"removed",removedAt:new Date(r()).toISOString(),removedReason:g}),a.members.log({person:s,device:i.id,event:"refused",detail:g}),n(`[member] ${s}: "${d.name}" refused: ${g}`),{ok:!1,status:401,error:de}}else return{ok:!1,status:403,error:Sr,waiting:!0}}let l=d.lastSeenAt?Date.parse(d.lastSeenAt):0;return t&&(r()-l>=mr||d.lastAddress!==t)&&(d=a.members.update(i.id,{lastSeenAt:new Date(r()).toISOString(),lastAddress:t})??d,a.members.log({person:s,device:i.id,event:"signed-in",address:t})),{ok:!0,device:d,personId:s,rec:i}}function Xa(e,a,t="removed by the owner"){let r=e.members.byToken(a);if(!r)return null;e.tokens.revoke(a);let n=e.members.update(a,{state:"removed",removedAt:new Date((e.now??Date.now)()).toISOString(),removedReason:t});return e.members.log({person:r.personId,device:a,event:"removed",detail:t}),n}function pi(e,a){return e.members.devices(a).filter(t=>t.state!=="removed").map(t=>Xa(e,t.tokenId,"person removed by the owner")).filter(t=>!!t)}async function Cr(e,a){let t=e+a-Date.now();t>0&&await new Promise(r=>setTimeout(r,t))}var Ga=["gitlab","github"];function Ar(e,a,t){let r=String(a||"").trim().toLowerCase();if(!Ga.includes(r))throw new Error(`Request status works on ${Ga.join(" and ")}, not on "${a}".`);e.requestStatus=e.requestStatus&&typeof e.requestStatus=="object"?e.requestStatus:{};let n=Array.isArray(e.requestStatus.channels)?e.requestStatus.channels.map(o=>String(o).toLowerCase()):[];return e.requestStatus.channels=t?[...new Set([...n,r])]:n.filter(o=>o!==r),`request status on ${r} is ${t?"on":"off"}`}function ui(e){return Array.isArray(e?.requestStatus?.channels)?e.requestStatus.channels.map(a=>String(a).toLowerCase()):[]}function mi(e){let{summary:a}=Z(t=>Ar(t,e?.channel,!!e?.enabled));return{summary:a}}var hi="https://myaccount.google.com/apppasswords";function bi(e){let a=e.split("@")[1]?.toLowerCase()??"";if(a==="gmail.com"||a==="googlemail.com")return{imapHost:"imap.gmail.com",imapPort:993,smtpHost:"smtp.gmail.com",smtpPort:465}}function vi(e){let a=e.user&&e.user!==e.address?{user:e.user}:{};return{agent:e.agent,address:e.address,imap:{host:e.imapHost,port:e.imapPort,secure:e.imapPort===993,...a,password:`\${${e.passwordEnv}}`},smtp:{host:e.smtpHost,port:e.smtpPort,secure:e.smtpPort===465},allowFrom:e.allowFrom,send:e.send}}function wi(e){return`EMAIL_${e.toUpperCase().replace(/[^A-Z0-9]/g,"_")}_PASSWORD`}function $i(e){return`${e.name} <${e.from}> via ${e.host}:${e.port}`}async function _i(e,a){return Be({host:e.host,port:e.port,secure:e.secure,user:e.user,password:e.password},{name:e.name,address:e.from},a,{"Auto-Submitted":"auto-generated"})}function Si(e,a){return{to:e,subject:`${a.name}: test mail`,text:[`This is a test mail from ${a.name}.`,"","If it reached you, AgentX can send mail through this sender.","You can ignore it."].join(`
|
|
2905
2905
|
`)}}function Ai(e){return new Set(Object.entries(e).filter(([,a])=>a?.wiki?.absorb?.enabled===!1).map(([a])=>a))}function Ti(e,a){return a.only?{agents:[a.only],skipped:[]}:{agents:e.filter(t=>!a.off.has(t)),skipped:e.filter(t=>a.off.has(t))}}function Ii(e,a){return`absorb is off for this agent (agents.${e}.wiki.absorb.enabled); skipped.${e===a?" It reads the wiki notes inbox, so the inbox was not read.":""} Use --agent ${e} to run it anyway.`}function zi(e,a){if(a){if(!e.wiki?.absorb)return;delete e.wiki.absorb.enabled,Object.keys(e.wiki.absorb).length===0&&delete e.wiki.absorb,Object.keys(e.wiki).length===0&&delete e.wiki;return}e.wiki??={},e.wiki.absorb??={},e.wiki.absorb.enabled=!1}var Tr="https://ntfy.sh";function Ei(e){return{enabled:!!e?.enabled,server:e?.server||Tr,topicSet:!!e?.topic,tokenSet:!!e?.token}}function Ri(e,a){let t={...e??{}};if("enabled"in a&&(t.enabled=!!a.enabled),"server"in a){let r=String(a.server).trim().replace(/\/+$/,"");if(!/^https?:\/\/\S+$/.test(r))throw new Error("ntfy server must be an http(s) URL");t.server=r}if("topic"in a){let r=String(a.topic).trim();if(!r)throw new Error("ntfy topic cannot be empty");t.topic=r}if("token"in a){let r=String(a.token??"").trim();r?t.token=r:delete t.token}if(t.enabled&&!t.topic)throw new Error("set a topic before enabling ntfy");return t}Za();function Va(e){return/^(agent|person):/.test(e)?F(e):`person:${e}`}function ji(e){let a=(e?.projects??[]).filter(t=>t?.id);return a.map(t=>({id:t.id,name:t.name?.trim()||t.id,client:Le(t.id,a),...t.pm?{pm:F(t.pm)}:{},...t.lead?{lead:Va(t.lead)}:{},team:[...new Set((t.team??[]).filter(Boolean).map(F))]})).sort((t,r)=>t.client.localeCompare(r.client)||t.name.localeCompare(r.name)||t.id.localeCompare(r.id))}function Hi(e,a,t){if(!t.lead&&!t.team?.length)return;let r=new Set(Object.keys(e.business?.orgChart||{})),n=new Set((e.people||[]).map(i=>String(i.id))),o={id:a,name:a,client:"",...t.lead?{lead:Va(t.lead)}:{},team:(t.team??[]).map(F)};return Ir([o],r,n)}function Ir(e,a,t){let r=n=>{let o=le(n);return o.kind==="agent"?a.has(o.id)?void 0:`"${o.id}", which is not an agent in business.orgChart`:t.has(o.id)?void 0:`"${o.id}", which is not a person in people`};for(let n of e){if(n.lead){if(le(n.lead).kind!=="person")return`Project ${n.name} is led by "${n.lead}"; a lead is a person (person:<id>), the PM is the agent`;let o=r(n.lead);if(o)return`Project ${n.name} is led by ${o}`}for(let o of n.team){let i=r(o);if(i)return`Project ${n.name} has ${i} in its team`}}}export{ve as a,da as b,ye as c,nt as d,ot as e,it as f,ua as g,mt as h,_n as i,Sn as j,Cn as k,ko as l,Co as m,Ba as n,Yo as o,Jo as p,Rn as q,On as r,It as s,Et as t,ke as u,Dn as v,Mn as w,Rt as x,Bn as y,Un as z,Fn as A,Vo as B,Qo as C,Zo as D,pr as E,xr as F,ii as G,hr as H,br as I,si as J,vr as K,wr as L,yr as M,kr as N,$r as O,_r as P,di as Q,Ja as R,li as S,ci as T,Xa as U,pi as V,Ga as W,Ar as X,ui as Y,mi as Z,hi as _,bi as $,vi as aa,wi as ba,$i as ca,_i as da,Si as ea,Ai as fa,Ti as ga,Ii as ha,zi as ia,Ei as ja,Ri as ka,Va as la,ji as ma,Hi as na,Ir as oa,Qt as pa,go as qa,vo as ra,wo as sa};
|
|
2906
|
-
//# sourceMappingURL=chunk-
|
|
2906
|
+
//# sourceMappingURL=chunk-ATZRBMUZ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as xt}from"./chunk-GTJIKXDB.js";import{P as Wr,W as Xr,s as J}from"./chunk-BDHWTWD7.js";import{f as Br,g as Hr,h as Vr,l as qr}from"./chunk-UBONPGNT.js";import{b as jr}from"./chunk-2VDO2HEK.js";import{t as Fr,u as Ur}from"./chunk-7K7ZQU3C.js";import{d as Pr,e as Mr}from"./chunk-AQASR6KR.js";import{h as he,j as Er,l as $r,m as Ar,n as _r}from"./chunk-RX5O5637.js";import{a as Rr,c as Tr,e as Ir,f as ht,h as Dr,j as Cr,k as Nr,l as bt,m as yt,n as wt}from"./chunk-5ELIX7BQ.js";import{c as Or,d as Lr}from"./chunk-LTOSEP7C.js";import{h as wr,i as xr,j as kr,l as vr,m as Sr}from"./chunk-QU7ICYFR.js";import{a as br,c as yr}from"./chunk-KP7KDLZ2.js";import{c as Le,d as fr,e as hr}from"./chunk-XVV7ZZ77.js";import{Ea as Oe,Fa as mr,Ga as W,Ha as fe,Ja as ft,b as pt,f as cr,s as gt,u as mt}from"./chunk-
|
|
1
|
+
import{a as xt}from"./chunk-GTJIKXDB.js";import{P as Wr,W as Xr,s as J}from"./chunk-BDHWTWD7.js";import{f as Br,g as Hr,h as Vr,l as qr}from"./chunk-UBONPGNT.js";import{b as jr}from"./chunk-2VDO2HEK.js";import{t as Fr,u as Ur}from"./chunk-7K7ZQU3C.js";import{d as Pr,e as Mr}from"./chunk-AQASR6KR.js";import{h as he,j as Er,l as $r,m as Ar,n as _r}from"./chunk-RX5O5637.js";import{a as Rr,c as Tr,e as Ir,f as ht,h as Dr,j as Cr,k as Nr,l as bt,m as yt,n as wt}from"./chunk-5ELIX7BQ.js";import{c as Or,d as Lr}from"./chunk-LTOSEP7C.js";import{h as wr,i as xr,j as kr,l as vr,m as Sr}from"./chunk-QU7ICYFR.js";import{a as br,c as yr}from"./chunk-KP7KDLZ2.js";import{c as Le,d as fr,e as hr}from"./chunk-XVV7ZZ77.js";import{Ea as Oe,Fa as mr,Ga as W,Ha as fe,Ja as ft,b as pt,f as cr,s as gt,u as mt}from"./chunk-TA437DWX.js";import{a as Ce,b as me,e as dr}from"./chunk-7AB3QUGH.js";import{v as gr}from"./chunk-CF2R6BOX.js";import{a as ur,b as Ne,e as pr}from"./chunk-Q6TGKWZE.js";import{b as ne}from"./chunk-5ONH4ITT.js";import{a as lr,c as ut}from"./chunk-ILEC3IAV.js";import{a as er,j as sr,m as ir,o as ct,p as dt,s as ge,t as te,v as ar}from"./chunk-3323WFVK.js";import{a as tr,b as nr,d as rr,e as or}from"./chunk-4NZ4T3TQ.js";import{a as Zn}from"./chunk-7IW25T4K.js";import{a as Qn}from"./chunk-QUFIUXMQ.js";import{Dc as Yn,Fa as De,Ha as qn,I as ot,J as C,L as Te,M as $,N as pe,O as jn,R as Bn,S as st,Xa as Xn,b as In,c as Dn,d as Cn,e as Nn,eb as zn,f as On,fa as Ie,g as Ln,ga as Hn,gb as Kn,h as G,ha as Vn,hb as Xi,hc as lt,i as Pn,ia as Hi,j as Mn,k as Fn,l as rt,s as Un,sc as Gn,tc as Jn,w as ji,x as Wn,y as Bi}from"./chunk-FWNP27H4.js";import{a as it,h as Vi}from"./chunk-KEUW6YLL.js";import{j as at,r as qi}from"./chunk-N47Y5ADQ.js";import{existsSync as zi,readdirSync as Ki,readFileSync as Gi,statSync as Ji}from"fs";import{resolve as Yi}from"path";function zr(t,e,n=Date.now(),r=7){let o=r*864e5,s=new Map;for(let i of e){let a=s.get(i.workflowId);a?a.push(i):s.set(i.workflowId,[i])}return t.map(i=>{let a=s.get(i.id)??[],d=a.filter(m=>n-m.at<=o),l=a.filter(m=>n-m.at>o&&n-m.at<=o*2),c=d.filter(m=>m.status==="failed").length,p=a.filter(m=>m.status==="paused").length,u=a.length?Math.max(...a.map(m=>m.at)):null,g=a.length?l.length>0&&d.length===0?"dormant":d.length>0&&c*2>=d.length?"failing":d.length>0?"active":"quiet":"never";return{id:i.id,name:i.name||i.id,state:g,lastRunAt:u,recent:d.length,prior:l.length,failed:c,paused:p}}).sort((i,a)=>{let d={dormant:0,failing:1,active:2,quiet:3,never:4};return d[i.state]-d[a.state]||(a.lastRunAt??0)-(i.lastRunAt??0)})}var Pe=new Map;function rp(t,e=1e3){if(!zi(t))return[];let n=Ki(t).filter(s=>s.endsWith(".jsonl")).map(s=>{let i=Yi(t,s);return{path:i,mtime:Ji(i).mtimeMs}}).sort((s,i)=>i.mtime-s.mtime).slice(0,e),r=new Set(n.map(s=>s.path));for(let s of Pe.keys())r.has(s)||Pe.delete(s);let o=[];for(let{path:s,mtime:i}of n){let a=Pe.get(s);if(a&&a.mtime===i){a.summary&&o.push(a.summary);continue}let d=Qi(s,i);Pe.set(s,{mtime:i,summary:d}),d&&o.push(d)}return o}function Qi(t,e){try{let n=Gi(t,"utf-8").split(`
|
|
2
2
|
`).filter(Boolean);if(!n.length)return null;let r=JSON.parse(n[0]),o=r.run?.workflowId;if(!o)return null;let s=r.run?.status??"unknown";for(let i=n.length-1;i>=0;i--){let a=JSON.parse(n[i]),d=a.status??a.run?.status;if(d){s=d;break}}return{workflowId:o,status:s,at:e}}catch{return null}}var Kr=7,Zi={failStreak:3,disabledDays:30,missedFires:2,graceMs:15*6e4},T={routines:200,summary:160,filters:6,filterValue:60,text:120},ea=(t,e,n)=>{try{return gr(t,e,n)}catch{return null}},Gr=864e5;function ap(t){let e=t.now??Date.now(),n={...Zi,...t.thresholds},r=t.nextFire??ea,o=[];for(let a of t.crons){let d=t.cronRuns.get(a.id)??[],l=a.timezone||"UTC",c=d.map(g=>({at:Date.parse(g.startedAt),status:g.status})),p=d[0],u={id:`cron:${a.id}`,source:"cron",kind:"schedule",name:F(a.id,T.text),trigger:{schedule:F(a.schedule,T.text),timezone:l},agent:a.agent||null,enabled:a.enabled,state:a.enabled?"enabled":"disabled",nextRunAt:a.enabled?kt(a.nextRun)??kt(r(a.schedule,new Date(e),l)):null,lastRun:p?{at:p.startedAt,status:p.status,summary:ia(p.status==="success"?void 0:p.errorSummary,T.summary)}:null,lastSuccessAt:d.find(g=>g.status==="success")?.startedAt??null,consecutiveFailures:Jr(c),sampledRuns:d.length,flags:[],attention:null,recent:d.slice(0,Kr).map(g=>({at:g.startedAt,status:g.status}))};u.flags=Yr(u,c,a.schedule,l,null,e,n,r),o.push(Qr(u))}let s=new Map(zr(t.workflows.map(a=>({id:a.id,name:a.title})),t.workflowRuns,e).map(a=>[a.id,a])),i=new Map;for(let a of t.workflowRuns){let d=i.get(a.workflowId);d?d.push(a):i.set(a.workflowId,[a])}for(let a of t.workflows){let d=a.nodes.find(k=>k.type.startsWith("trigger."));if(!d||d.type!=="trigger.cron"&&d.type!=="trigger.hook")continue;let l=d.config??{},c=a.state||"active",p=c==="active",u=(i.get(a.id)??[]).slice().sort((k,S)=>S.at-k.at),g=u.map(k=>({at:k.at,status:ra(k.status)})),m=g[0],f=d.type==="trigger.cron",w=typeof l.spec=="string"?l.spec:"",x=typeof l.timezone=="string"?l.timezone:"UTC",b={id:`workflow:${a.id}`,source:"workflow",kind:f?"schedule":"event",name:F(a.title||a.id,T.text),trigger:f?{schedule:F(w,T.text),timezone:x}:{event:F(typeof l.event=="string"?l.event:"",T.text),filters:sa(l.filter,a)},agent:oa(a),enabled:p,state:c,nextRunAt:f&&p&&w?kt(r(w,new Date(e),x)):null,lastRun:m?{at:new Date(m.at).toISOString(),status:m.status}:null,lastSuccessAt:(()=>{let k=g.find(S=>S.status==="success");return k?new Date(k.at).toISOString():null})(),consecutiveFailures:Jr(g),sampledRuns:u.length,flags:[],attention:null,recent:g.slice(0,Kr).map(k=>({at:new Date(k.at).toISOString(),status:k.status}))},y=Date.parse(a.updated||a.created||"");b.flags=f?Yr(b,g,w,x,Number.isFinite(y)?y:null,e,n,r):ta(b,s.get(a.id)?.state==="dormant",Number.isFinite(y)?y:null,e,n),o.push(Qr(b))}return o.sort(na).slice(0,T.routines)}function Jr(t){let e=0;for(let n of t)if(!(n.status==="running"||n.status==="paused"||n.status==="unknown"))if(n.status==="failed"||n.status==="timeout")e++;else break;return e}function Yr(t,e,n,r,o,s,i,a){let d=[],l=e.length?e[0].at:null;if(!t.enabled){let u=eo(l,o,s,i);return u&&d.push(u),d}if(t.consecutiveFailures>=i.failStreak&&d.push({reason:"failing",detail:`${t.consecutiveFailures} failed attempts in a row`}),l===null)return d.push({reason:"never-ran",detail:"No persisted attempt"}),d;let c=new Date(l),p=null;for(let u=0;u<i.missedFires&&(p=a(n,c,r),!!p);u++)c=p;return p&&s>p.getTime()+i.graceMs&&d.push({reason:"overdue",detail:`No attempt since ${new Date(l).toISOString()}; ${i.missedFires} scheduled fires missed`}),d}function ta(t,e,n,r,o){let s=[],i=t.lastRun?Date.parse(t.lastRun.at):null;if(!t.enabled){let a=eo(i,n,r,o);return a&&s.push(a),s}return t.consecutiveFailures>=o.failStreak&&s.push({reason:"failing",detail:`${t.consecutiveFailures} failed runs in a row`}),i===null?s.push({reason:"never-ran",detail:"No run recorded for this trigger"}):e&&s.push({reason:"dormant",detail:"Fired in the prior week, silent in the last one"}),s}function eo(t,e,n,r){let o=Math.max(t??0,e??0);return o&&n-o<r.disabledDays*Gr?null:{reason:"disabled-long",detail:o?`Disabled; no activity for ${Math.floor((n-o)/Gr)} days`:"Disabled and never ran"}}function Qr(t){let e=new Set(t.flags.map(n=>n.reason));return t.attention=e.has("failing")?"critical":e.has("overdue")||e.has("dormant")||e.has("never-ran")?"warning":e.has("disabled-long")?"info":null,t}var Zr={critical:0,warning:1,info:2};function na(t,e){let n=t.attention?Zr[t.attention]:3,r=e.attention?Zr[e.attention]:3;return n-r||Number(e.enabled)-Number(t.enabled)||t.name.localeCompare(e.name)}function ra(t){switch(t){case"completed":case"ok":return"success";case"failed":return"failed";case"timeout":return"timeout";case"canceled":return"canceled";case"running":return"running";case"paused":return"paused";default:return"unknown"}}function oa(t){if(t.ownerAgent)return F(t.ownerAgent,T.text);let e=t.nodes.find(n=>n.type==="agent"&&typeof n.config?.agentId=="string"&&n.config.agentId);return e?F(String(e.config.agentId),T.text):null}function sa(t,e){let n=[],r=e?.project;if(r&&n.push(F(`project=${r}`,T.filterValue)),t&&typeof t=="object"&&!Array.isArray(t))for(let[o,s]of Object.entries(t)){let i=Array.isArray(s)?s.map(String):s==null?[]:[String(s)];i.length&&n.push(F(`${o}=${i.join(",")}`,T.filterValue))}return n.slice(0,T.filters)}function kt(t){if(!t)return null;let e=t instanceof Date?t:new Date(t);return Number.isFinite(e.getTime())?e.toISOString():null}function F(t,e){return t.length<=e?t:t.slice(0,e-3)+"..."}function ia(t,e){return t===void 0?void 0:F(t,e)}import{mkdirSync as aa,readFileSync as la,renameSync as ca,writeFileSync as da}from"fs";import{resolve as ua}from"path";function to(t){return ua(dt(t),"_state.json")}function N(t){try{let e=JSON.parse(la(to(t),"utf-8"));return{snoozed:e&&typeof e.snoozed=="object"&&e.snoozed?e.snoozed:{},...typeof e?.lastDigest=="string"?{lastDigest:e.lastDigest}:{},...e?.popped&&typeof e.popped=="object"?{popped:e.popped}:{},...typeof e?.passAt=="string"?{passAt:e.passAt}:{},...Array.isArray(e?.wanted)?{wanted:e.wanted.filter(n=>typeof n=="string")}:{}}}catch{return{snoozed:{}}}}function be(t,e){aa(dt(t),{recursive:!0});let n=to(t),r=`${n}.${process.pid}.tmp`;da(r,JSON.stringify(e,null,2)+`
|
|
3
3
|
`),ca(r,n)}function no(t,e,n,r=Date.now()){let o=N(t),s={};for(let[i,a]of Object.entries(o.snoozed))Date.parse(a)>r&&(s[i]=a);s[e]=n.toISOString(),be(t,{...o,snoozed:s})}function pp(t,e){be(t,{...N(t),lastDigest:e})}function vt(t,e,n,r=Date.now()){let o=N(t),s=new Set(n),i={};for(let[d,l]of Object.entries(o.popped??{}))s.has(d)&&(i[d]=l);i[e]=new Date(r).toISOString();let a=(o.wanted??[]).filter(d=>d!==e&&s.has(d));be(t,{...o,popped:i,wanted:a})}function ro(t,e){let n=N(t);be(t,{...n,wanted:[...(n.wanted??[]).filter(r=>r!==e),e]})}function gp(t,e=Date.now()){be(t,{...N(t),popped:{},passAt:new Date(e).toISOString()})}import{existsSync as pa,readFileSync as ga}from"fs";Yn();Vi();function oo(t){let e=ur(t),n={};if(pa(e))try{n=Gn(JSON.parse(ga(e,"utf-8")))}catch{n={}}let r=lt.safeParse(n?.requests);return r.success?r.data:lt.parse(void 0)}async function wp(t,e={}){let n=(t.channels??[]).filter(r=>!it.has(r.toLowerCase().split("@")[0]));return n.length?{success:!1,error:`unknown channel ${n.map(r=>`"${r}"`).join(", ")}: use ${[...it].join(", ")}`}:Ne(r=>{let o=r.requests??={};for(let s of["enabled","channels","from","staleAfterHours","retentionDays","settleHandedBack","homeCloses","releaseOnOwnerTurn"])t[s]!==void 0&&(o[s]=t[s]);if(t.plans){let s=o.plans??={};for(let i of["enabled","stallMinutes","maxNudges","approveKinds","disabledAgents","requireForWork","requireOverMinutes"])t.plans[i]!==void 0&&(s[i]=t.plans[i])}if(t.headlines?.enabled!==void 0&&((o.headlines??={}).enabled=t.headlines.enabled),t.catchPromises){let s=o.catchPromises??={};for(let i of["enabled","dailyCap"])t.catchPromises[i]!==void 0&&(s[i]=t.catchPromises[i])}if(t.autoResend){let s=o.autoResend??={};for(let i of["enabled","afterMinutes","holdMaxHours"])t.autoResend[i]!==void 0&&(s[i]=t.autoResend[i])}if(t.flow){let s=o.flow??={};for(let i of["timeZone","days"])t.flow[i]!==void 0&&(s[i]=t.flow[i])}if(t.checkers){let s=o.checkers??={};for(let i of["enabled","checkEveryMinutes"])t.checkers[i]!==void 0&&(s[i]=t.checkers[i])}},{configPath:e.configPath,reload:e.reload})}import{existsSync as V,readdirSync as Da,readFileSync as $t,statSync as Ca}from"fs";import{dirname as So,resolve as R}from"path";import{randomBytes as ao}from"crypto";import{existsSync as fa,mkdirSync as ha,readdirSync as ba,readFileSync as ya,renameSync as lo,unlinkSync as wa,writeFileSync as xa}from"fs";import{resolve as co}from"path";function so(t){return[...t.account?["--account",t.account]:[],...t.store?["--store",t.store]:[]]}var ma=t=>t.trim().split(`
|
|
4
4
|
`).pop()?.slice(0,300)||"no output";async function io(t,e,n,r=xt){let o=await r(t.bin,[...so(t),"send","text","--to",e,"--message",n,"--no-preview"],{timeoutMs:6e4});return o.code===0?{ok:!0}:{ok:!1,error:`wacli send failed: ${ma(o.stderr||o.stdout)}`}}async function vp(t,e,n,r,o=xt){return(await o(t.bin,[...so(t),"--read-only","media","download","--chat",e,"--id",n,"--output",r],{timeoutMs:12e4})).code===0}var ka=2e3,va=t=>io(t.wacli,t.to,t.text);function St(t){return co(t,".agentx","whatsapp-triage","drafts")}var Sa=t=>/^[a-z0-9-]{8,64}$/.test(t),Me=(t,e)=>co(St(t),`${e}.json`);function uo(t,e){ha(St(t),{recursive:!0});let n=Me(t,e.id),r=`${n}.${process.pid}.tmp`;xa(r,JSON.stringify(e,null,2)+`
|
|
@@ -960,4 +960,4 @@ Document the arguments, commands, or files the skill expects. Example:
|
|
|
960
960
|
claude-code ${Tn(t)} --arg value
|
|
961
961
|
\`\`\`
|
|
962
962
|
`}Yn();var Mi={maxPixels:12e5,timeoutMs:5e3,intervalMs:100,changeThreshold:.015,stableMs:400,regions:{},buffer:{enabled:!1,seconds:10,fps:2,region:"screen",maxPixels:3e5}};function Fi(t){return{...Mi,...t??{},regions:{...t?.regions??{}},buffer:{...Mi.buffer,...t?.buffer??{}}}}function Eb(t){try{return Fi(Jn(t).screen)}catch{return Fi(void 0)}}var ep=/^[a-z][\w-]*$/,Ui=["window","screen","menubar","notifications"];function Ae(t,e,n,r){let o=Number(t);if(t===""||t===null||!Number.isFinite(o)||!n(o))throw new Error(`${e} must be ${r}`);return o}var tt=(t,e)=>Ae(t,e,n=>Number.isInteger(n)&&n>0,"a whole number above 0");function Wi(t){let e=typeof t=="string"?t.split(",").map(Number):[t?.x,t?.y,t?.width,t?.height].map(Number);if(e.length!==4||!e.every(Number.isFinite)||e[2]<=0||e[3]<=0)throw new Error("a region is x,y,width,height in screen points, with width and height above 0");return{x:e[0],y:e[1],width:e[2],height:e[3]}}function $b(t,e){let n={...t??{}};if("maxPixels"in e&&(n.maxPixels=tt(e.maxPixels,"maxPixels")),"timeoutMs"in e&&(n.timeoutMs=tt(e.timeoutMs,"timeoutMs")),"intervalMs"in e&&(n.intervalMs=tt(e.intervalMs,"intervalMs")),"stableMs"in e&&(n.stableMs=Ae(e.stableMs,"stableMs",o=>Number.isInteger(o)&&o>=0,"a whole number, 0 or more")),"changeThreshold"in e&&(n.changeThreshold=Ae(e.changeThreshold,"changeThreshold",o=>o>=0&&o<=1,"between 0 and 1")),e.regions&&typeof e.regions=="object"){let o={...n.regions??{}};for(let[s,i]of Object.entries(e.regions)){if(!ep.test(s))throw new Error(`region name "${s}" must be lowercase letters, digits, - or _`);i===null?delete o[s]:o[s]=Wi(i)}n.regions=o}if(e.buffer&&typeof e.buffer=="object"){let o=e.buffer,s={...n.buffer??{}};"enabled"in o&&(s.enabled=!!o.enabled),"seconds"in o&&(s.seconds=Ae(o.seconds,"buffer.seconds",i=>i>0&&i<=120,"above 0 and at most 120")),"fps"in o&&(s.fps=Ae(o.fps,"buffer.fps",i=>i>0&&i<=10,"above 0 and at most 10")),"maxPixels"in o&&(s.maxPixels=tt(o.maxPixels,"buffer.maxPixels")),"region"in o&&(s.region=String(o.region).trim()),n.buffer=s}let r=n.buffer?.region;if(r!==void 0&&!Ui.includes(r)&&!n.regions?.[r])try{Wi(r)}catch{throw new Error(`buffer.region "${r}" is not a region \u2014 use ${[...Ui,...Object.keys(n.regions??{})].join(", ")}, or x,y,w,h`)}return n}export{zr as a,rp as b,en as c,$c as d,Ac as e,Om as f,Lm as g,Pm as h,Um as i,Wm as j,jm as k,vs as l,Ss as m,Bm as n,Vm as o,X as p,Es as q,T as r,ap as s,_s as t,Jm as u,Zm as v,Ts as w,ef as x,Is as y,tf as z,xe as A,Jc as B,nf as C,rf as D,Cs as E,vp as F,va as G,Rp as H,go as I,N as J,pp as K,gp as L,oo as M,wp as N,Y as O,ag as P,To as Q,Co as R,ed as S,sf as T,td as U,af as V,lf as W,nn as X,Os as Y,uf as Z,on as _,od as $,sd as aa,ff as ba,nl as ca,rl as da,dg as ea,ug as fa,dl as ga,fg as ha,Vs as ia,Xs as ja,kf as ka,ce as la,Af as ma,zs as na,Tf as oa,Df as pa,yg as qa,wg as ra,ys as sa,qt as ta,yc as ua,I as va,ii as wa,ch as xa,dh as ya,Yd as za,mh as Aa,pi as Ba,fh as Ca,hh as Da,vh as Ea,iu as Fa,lu as Ga,Sh as Ha,kg as Ia,vg as Ja,Sg as Ka,Eg as La,$g as Ma,Ag as Na,_g as Oa,Rg as Pa,Ig as Qa,Dg as Ra,Og as Sa,Lg as Ta,Pg as Ua,Ug as Va,Wg as Wa,jg as Xa,Bg as Ya,Hg as Za,Vg as _a,qg as $a,em as ab,Lt as bb,tm as cb,nm as db,ye as eb,we as fb,mu as gb,Ch as hb,Nh as ib,Oh as jb,Lh as kb,bn as lb,Ph as mb,Ft as nb,Ut as ob,ze as pb,Wl as qb,Bl as rb,am as sb,jt as tb,Bt as ub,Hl as vb,Vl as wb,rs as xb,as as yb,lm as zb,zl as Ab,cm as Bb,tc as Cb,oc as Db,Ht as Eb,ic as Fb,ls as Gb,z as Hb,Si as Ib,Ei as Jb,$i as Kb,wn as Lb,Bh as Mb,Su as Nb,_i as Ob,Ri as Pb,Zh as Qb,eb as Rb,Uu as Sb,tb as Tb,Ii as Ub,ps as Vb,ib as Wb,qu as Xb,lb as Yb,cb as Zb,Ke as _b,Em as $b,Qt as ac,Dm as bc,gb as cc,mb as dc,fb as ec,hb as fc,bb as gc,yb as hc,wb as ic,xb as jc,kb as kc,Mi as lc,Fi as mc,Eb as nc,Ui as oc,$b as pc};
|
|
963
|
-
//# sourceMappingURL=chunk-
|
|
963
|
+
//# sourceMappingURL=chunk-LLVVT5OB.js.map
|
|
@@ -64,7 +64,7 @@ ${n.text}`}async function Le(n,e){let t=n.channels[e.channel],r={channel:e.chann
|
|
|
64
64
|
WHERE id = ? AND ${v}`).run(o,o,s,a,t.until,t.note?P(t.note,Y):null,e).changes>0}let i=P(t.why,Y);if(!i)throw new Error("a blocked job says why");return this.db.prepare(`UPDATE requests SET job_state = 'blocked', updated_at = ?, declared_at = ?, declared_run = ?, job_note = ?, wake_at = NULL,
|
|
65
65
|
waiting_on = NULL, stalled_at = NULL
|
|
66
66
|
WHERE id = ? AND ${v}`).run(o,o,s,i,e).changes>0}markStateAsked(e,t){return this.db.prepare(`UPDATE requests SET state_asked_at = ? WHERE id = ? AND state_asked_at IS NULL AND ${v}`).run(t,e).changes>0}markStalled(e,t,r){return this.db.prepare(`UPDATE requests SET job_state = 'stalled', stalled_at = ?, updated_at = ?, job_note = ?, wake_at = NULL, requester_told_at = NULL
|
|
67
|
-
WHERE id = ? AND ${v} AND COALESCE(job_state, '') != 'stalled'`).run(r,r,P(t,Y),e).changes>0}stalledUntold(e=50){return this.db.prepare(`${_} WHERE job_state = 'stalled' AND requester_told_at IS NULL AND ${v} ORDER BY stalled_at, rowid LIMIT ?`).all(
|
|
67
|
+
WHERE id = ? AND ${v} AND COALESCE(job_state, '') != 'stalled'`).run(r,r,P(t,Y),e).changes>0}stalledUntold(e=50,t){let r=t?" AND (stalled_at > ? OR (stalled_at = ? AND rowid > (SELECT rowid FROM requests WHERE id = ?)))":"",o=t?[t.stalledAt,t.stalledAt,t.id,e]:[e];return this.db.prepare(`${_} WHERE job_state = 'stalled' AND requester_told_at IS NULL AND ${v}${r} ORDER BY stalled_at, rowid LIMIT ?`).all(...o).map(E)}markRequesterTold(e,t){return this.db.prepare("UPDATE requests SET requester_told_at = ? WHERE id = ? AND requester_told_at IS NULL").run(t,e).changes>0}dueWakes(e,t=20){return this.db.prepare(`${_} WHERE wake_at IS NOT NULL AND wake_at <= ? AND job_state = 'continue' AND ${v} ORDER BY wake_at, rowid LIMIT ?`).all(e,t).map(E)}takeWake(e,t){return this.db.prepare(`UPDATE requests SET wake_at = NULL, wake_count = COALESCE(wake_count, 0) + 1, updated_at = ?
|
|
68
68
|
WHERE id = ? AND wake_at IS NOT NULL AND wake_at <= ? AND ${v}`).run(t,e,t).changes>0}armWake(e,t,r,o){return this.db.prepare(`UPDATE requests SET job_state = 'continue', wake_at = ?, job_note = ?, updated_at = ?, waiting_on = NULL, stalled_at = NULL
|
|
69
69
|
WHERE id = ? AND ${v} AND ${jt}`).run(t,P(r,Y),o,e).changes>0}rearmWake(e,t,r,o){return this.db.prepare(`UPDATE requests SET wake_at = ?, job_note = ?, updated_at = ?
|
|
70
70
|
WHERE id = ? AND job_state = 'continue' AND wake_at IS NULL AND ${v}`).run(t,P(r,Y),o,e).changes>0}deferWake(e,t){return this.db.prepare(`UPDATE requests SET wake_at = ? WHERE id = ? AND wake_at IS NOT NULL AND job_state = 'continue' AND ${v}`).run(t,e).changes>0}continuedBySchedule(e,t){let r=this.db.prepare(`${_} WHERE door = 'cron' AND agent_id = ? AND requester = ? AND job_state = 'continue' AND state = '${H}' AND ${v}
|
|
@@ -74,4 +74,4 @@ ${n.text}`}async function Le(n,e){let t=n.channels[e.channel],r={channel:e.chann
|
|
|
74
74
|
AND (state = '${H}' OR declared_at IS NOT NULL)
|
|
75
75
|
ORDER BY updated_at, rowid LIMIT ?`).all(e).map(E)}openOnPeers(e=30){return this.db.prepare(`${_} WHERE state = ? AND peer IS NOT NULL AND ${v} AND ${jt}
|
|
76
76
|
ORDER BY updated_at DESC, rowid DESC LIMIT ?`).all(H,e).map(E)}setRemote(e,t,r){return this.db.prepare(`UPDATE requests SET remote_id = ?, job_note = ? WHERE id = ? AND peer IS NOT NULL AND ${v} AND ${jt}`).run(t,P(r,Y),e).changes>0}listOpen(e=2e3){return this.db.prepare(`${_} WHERE state != 'candidate' AND ${ye} IN (${Je(ue.length)}) ORDER BY created_at, rowid LIMIT ?`).all(...ue,e).map(E)}query(e){let t=["state != 'candidate'"],r=[];e.states?.length&&(t.push(`${ye} IN (${Je(e.states.length)})`),r.push(...e.states)),e.door==="owner"?t.push("(door IS NULL OR door = 'owner')"):e.door&&(t.push("door = ?"),r.push(e.door)),e.assignee&&(t.push("agent_id = ?"),r.push(e.assignee)),e.requester&&(t.push("COALESCE(requester, owed_to, sender) = ?"),r.push(e.requester)),e.parentId&&(t.push("parent_id = ?"),r.push(e.parentId)),e.roots&&t.push("parent_id IS NULL");let o=t.join(" AND "),s=this.db.prepare(`SELECT COUNT(*) AS n FROM requests WHERE ${o}`).get(...r).n;return{items:this.db.prepare(`${_} WHERE ${o} ORDER BY updated_at DESC, rowid DESC LIMIT ? OFFSET ?`).all(...r,e.limit,e.offset??0).map(E),total:s}}children(e,t=200){return this.db.prepare(`${_} WHERE parent_id = ? ORDER BY created_at, rowid LIMIT ?`).all(e,t).map(E)}counts(){let e=Object.fromEntries(Ke.map(r=>[r,0])),t=this.db.prepare(`SELECT ${ye} AS s, COUNT(*) AS n FROM requests WHERE state != 'candidate' GROUP BY 1`).all();for(let r of t)r.s in e&&(e[r.s]=r.n);return e}runs(e,t=200){let r=this.db.prepare("SELECT ref, at FROM request_links WHERE request_id = ? AND kind = 'run' ORDER BY at, rowid LIMIT ?").all(e,t);if(!r.length)return[];let o=new Map;try{let s=this.db.prepare(`SELECT task_id, status, started_at, finished_at, cost_usd, error FROM task_traces WHERE task_id IN (${Je(r.length)})`).all(...r.map(i=>i.ref));o=new Map(s.map(i=>[i.task_id,i]))}catch{}return r.map(s=>{let i=o.get(s.ref);return{runId:s.ref,linkedAt:s.at,status:i?.status??null,startedAt:i?.started_at??null,finishedAt:i?.finished_at??null,costUsd:i?.cost_usd??null,error:i?.error??null}})}pruneDone(e){return this.db.prepare("DELETE FROM requests WHERE state = ? AND ((job_state = 'done' AND closed_at < ?) OR (job_state IN ('working', 'blocked', 'stalled') AND updated_at < ?))").run(H,e,e).changes}};function Ct(n){let e=Math.max(0,Math.round(n/1e3));if(e<90)return`${e} s`;let t=Math.round(e/60);if(t<90)return`${t} min`;let r=Math.round(t/60);return r<48?`${r} h`:`${Math.round(r/24)} d`}function Ft(n,e){let t=new Date(n),r=`${String(t.getHours()).padStart(2,"0")}:${String(t.getMinutes()).padStart(2,"0")}`;return new Date(e).toDateString()===t.toDateString()?r:`${t.toLocaleString("en-US",{month:"short"})} ${t.getDate()} ${r}`}function Ql(n,e,t){return!!(n.state==="done"||n.state==="dropped"||n.state==="blocked"||n.state==="stalled"||e.liveRun||n.wakeAt!==null||n.state==="waiting"&&n.waitingOn&&n.until!==null&&n.until>t)}function qr(n,e,t){return n.state==="waiting"?n.waitingOn?n.until===null?`waiting on ${n.waitingOn} with no due time`:`waited on ${n.waitingOn} until ${Ft(n.until,t)}, and nothing came`:"waiting, but on nobody named":e.lastRunEndedAt?`run ended ${Ct(t-e.lastRunEndedAt)} ago with no state`:"no run, no wake and no one it waits on"}function Kr(n,e,t){if(n.state==="done")return n.proof?`done: ${n.proof}`:"done";if(n.state==="dropped")return"dropped";if(e.liveRun){let r=e.liveRun.lastToolAt;return r?`working, last tool call ${Ct(t-r)} ago`:`working, run started ${Ct(t-e.liveRun.startedAt)} ago`}if(n.state==="blocked")return n.note?`blocked: ${n.note}`:"blocked";if(n.state==="stalled")return`stalled, ${n.note??qr(n,e,t)}`;if(n.state==="continue"&&n.wakeAt!==null)return`sleeping until ${Ft(n.wakeAt,t)}${n.note?` for ${n.note}`:""}`;if(n.state==="waiting"&&n.waitingOn){let r=n.peer&&n.note?.startsWith("there: ")?` (${n.note})`:"";return`waiting on ${n.waitingOn}${n.until!==null?` until ${Ft(n.until,t)}`:""}${r}`}return`nobody on it, ${qr(n,e,t)}`}var ta=100,na=500,Z=(n,e)=>({status:n,body:{error:e}});function ra(n){let e=null;for(let t of n)t.finishedAt!==null&&(e===null||t.finishedAt>e)&&(e=t.finishedAt);return{lastRunEndedAt:e}}function Ge(n,e,t){let r=null,o=()=>r??=e.store.runs(n.id),s=e.facts?e.facts(n,o):ra(o());return{...n,status:Kr(n,s,t)}}function oa(n){let e=(n??"open").trim().toLowerCase();if(e==="open")return ue;if(e==="all")return;let t=e.split(",").map(o=>o.trim()).filter(Boolean);return t.find(o=>!Ke.includes(o))||!t.length?`state must be open, all, or any of: ${Ke.join(", ")}`:t}function Gr(n,e,t,r){let o=n.get(e);if(o===null)return;let s=Number(o);return o.trim()&&Number.isInteger(s)&&s>=t&&s<=r?s:`${e} must be a whole number from ${t} to ${r}`}function nc(n,e,t){if(n!=="GET")return Z(405,"The jobs ledger is read here. A run states its job's state with its own tool.");let r=t.now??Date.now(),o=t.query??new URLSearchParams;if(e==="/jobs"||e==="/jobs/"){let d=oa(o.get("state"));if(typeof d=="string")return Z(400,d);let u=o.get("door")?.trim().toLowerCase();if(u&&!qe.includes(u))return Z(400,`door must be one of: ${qe.join(", ")}`);let c=Gr(o,"limit",1,na);if(typeof c=="string")return Z(400,c);let p=Gr(o,"offset",0,Number.MAX_SAFE_INTEGER);if(typeof p=="string")return Z(400,p);let{items:f,total:g}=t.store.query({states:d,door:u,assignee:o.get("agent")?.trim()||void 0,requester:o.get("requester")?.trim()||void 0,parentId:o.get("parent")?.trim()||void 0,roots:o.get("roots")==="1",limit:c??ta,offset:p});return{status:200,body:{jobs:f.map(m=>Ge(m,t,r)),total:g,counts:t.store.counts()}}}let s=decodeURIComponent(e.slice(6));if(!s||s.includes("/"))return Z(404,"not found");let i=t.store.get(s);if(!i)return Z(404,`no job "${s}"`);let a=i.parentId?t.store.get(i.parentId):null;return{status:200,body:{job:Ge(i,t,r),runs:t.store.runs(s),parent:a?Ge(a,t,r):null,children:t.store.children(s).map(d=>Ge(d,t,r))}}}export{bn as a,En as b,Nn as c,Aa as d,wo as e,va as f,ko as g,Ra as h,xa as i,Ea as j,Na as k,Ta as l,_a as m,Pa as n,Ao as o,Da as p,Oa as q,ja as r,at as s,To as t,Ca as u,Fa as v,_o as w,Ua as x,Mn as y,Ja as z,qa as A,jn as B,Cn as C,Mo as D,Va as E,Xa as F,ed as G,td as H,N as I,ce as J,$ as K,ut as L,Qo as M,pt as N,K as O,mt as P,wt as Q,Ld as R,jd as S,Tt as T,li as U,hi as V,Pt as W,ys as X,Ti as Y,al as Z,dl as _,ul as $,ll as aa,cl as ba,Pi as ca,Di as da,pl as ea,fl as fa,gl as ga,ml as ha,yl as ia,kl as ja,bl as ka,Il as la,Al as ma,vl as na,Sl as oa,$l as pa,Rl as qa,xl as ra,El as sa,Ci as ta,Nl as ua,Tl as va,_l as wa,Pl as xa,Jr as ya,Ql as za,qr as Aa,ra as Ba,nc as Ca,jr as Da,Cl as Ea,Fl as Fa,Ul as Ga,Hl as Ha,Bl as Ia,Hr as Ja,Gl as Ka};
|
|
77
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-TA437DWX.js.map
|