@maincode-ai/matilda-code 0.21.10-nightly.20261013.3cc37e95b → 0.21.10-preview.1
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/chunks/agent-XXSEYARS.js +3 -0
- package/chunks/agent-headless-YBWTAFUH.js +3 -0
- package/chunks/{anthropicContentGenerator-SFJGSZHT.js → anthropicContentGenerator-IYZILRDW.js} +1 -1
- package/chunks/{askUserQuestion-TQJ7F7CS.js → askUserQuestion-XWHJY3DM.js} +1 -1
- package/chunks/{chunk-OLIMRBAW.js → chunk-2HQMJ2IU.js} +1 -1
- package/chunks/{chunk-EI462EXI.js → chunk-2W6MZZHZ.js} +1 -1
- package/chunks/{todoWrite-55GVNNO2.js → chunk-4CSSDBOS.js} +2 -2
- package/chunks/{chunk-5PMMY47S.js → chunk-4FVBPNTZ.js} +1 -1
- package/chunks/{chunk-SQ2CKQU5.js → chunk-4TQ7ABLG.js} +2 -2
- package/chunks/{chunk-B5NYQ2PX.js → chunk-66NIIU2R.js} +1 -1
- package/chunks/{chunk-32PTAACU.js → chunk-ELH4YHJR.js} +1 -1
- package/chunks/{chunk-FWIVFCKF.js → chunk-FFFZ2QMG.js} +1 -1
- package/chunks/{chunk-LW6HVUZY.js → chunk-FRRBNNEB.js} +48 -48
- package/chunks/{chunk-EQEQPZLQ.js → chunk-GO2GA2GY.js} +1 -1
- package/chunks/{chunk-QHA3ZBRO.js → chunk-GUFIMKF5.js} +1 -1
- package/chunks/{chunk-C2CSGAWB.js → chunk-HOCFKXNJ.js} +1 -1
- package/chunks/{chunk-VWWEEU4V.js → chunk-JXUDKX6D.js} +1 -1
- package/chunks/{chunk-VLYRNOD3.js → chunk-MH2P4YXC.js} +10 -10
- package/chunks/{chunk-YO6UJZOE.js → chunk-MKFQMX37.js} +1 -1
- package/chunks/{chunk-VYTYYCBR.js → chunk-NYEWHSBL.js} +1 -1
- package/chunks/{chunk-LIWYWWOK.js → chunk-ODZOYHIC.js} +1 -1
- package/chunks/{chunk-Q2I3ARPJ.js → chunk-QH7736R5.js} +1 -1
- package/chunks/{chunk-LJTGMYP7.js → chunk-QN6WSWMM.js} +1 -1
- package/chunks/{chunk-RJX7DK4Y.js → chunk-S4UT3QLV.js} +1 -1
- package/chunks/{chunk-KKSNFI3V.js → chunk-SNLH42QJ.js} +1 -1
- package/chunks/{chunk-SE3XDSIJ.js → chunk-SPW5DXX4.js} +1 -1
- package/chunks/{chunk-S7G6QPEP.js → chunk-SUH3UUWZ.js} +1 -1
- package/chunks/{chunk-V262DH4R.js → chunk-T4P4KEDW.js} +1 -1
- package/chunks/{chunk-D55XD2PX.js → chunk-TO3ID3JW.js} +1 -1
- package/chunks/{chunk-N5MEX575.js → chunk-VVIJGBQK.js} +529 -510
- package/chunks/{chunk-NMY3ZLP4.js → chunk-W5CGKUM4.js} +1 -1
- package/chunks/{chunk-SXZBLPMG.js → chunk-WHG6N5X2.js} +1 -1
- package/chunks/{chunk-QQMZMLJH.js → chunk-WJO3QSBJ.js} +1 -1
- package/chunks/{chunk-XCJYORZX.js → chunk-XCFLI3OC.js} +1 -1
- package/chunks/{chunk-FJVX56RU.js → chunk-YMIF2DMT.js} +1 -1
- package/chunks/{chunk-6ONKZT5X.js → chunk-YSIECQIZ.js} +2 -2
- package/chunks/{computer-use-FBQJBGA6.js → computer-use-HX2LYMYD.js} +1 -1
- package/chunks/contextCommand-W7DBC37U.js +3 -0
- package/chunks/{cron-create-EGE6X6GV.js → cron-create-2UI4AT4Q.js} +1 -1
- package/chunks/{cron-delete-2Q5DPSXJ.js → cron-delete-ZB6BOTFF.js} +1 -1
- package/chunks/{cron-list-QHJ63QNB.js → cron-list-YYAXNHB6.js} +1 -1
- package/chunks/{edit-LOSUFTG7.js → edit-HFUF2RN3.js} +1 -1
- package/chunks/{enter-worktree-64F5ZB3L.js → enter-worktree-LFCL64PJ.js} +1 -1
- package/chunks/{enterPlanMode-5UQBR4HQ.js → enterPlanMode-TREN7ULJ.js} +1 -1
- package/chunks/{exit-worktree-CS6ZWQPA.js → exit-worktree-MH2J4P42.js} +1 -1
- package/chunks/{exitPlanMode-3V6JU7BK.js → exitPlanMode-PQO3EFFT.js} +1 -1
- package/chunks/{geminiContentGenerator-D5ZJRKFR.js → geminiContentGenerator-FE5UVAOZ.js} +1 -1
- package/chunks/glob-VZAYMEQA.js +22 -0
- package/chunks/{goal-tools-Z52KNI7M.js → goal-tools-JN27F5BA.js} +1 -1
- package/chunks/grep-2VT5TSRU.js +22 -0
- package/chunks/{keychain-token-storage-HAFQQIXL.js → keychain-token-storage-54BNK6VH.js} +1 -1
- package/chunks/{ls-QX6SPONF.js → ls-YWZU3FYL.js} +1 -1
- package/chunks/{lsp-67CW6T6G.js → lsp-4CJDKEEC.js} +1 -1
- package/chunks/{matildaAgentContentGenerator-TJMPYCSQ.js → matildaAgentContentGenerator-EYETUHCZ.js} +1 -1
- package/chunks/matildaContentGenerator-IWKH3YC4.js +8 -0
- package/chunks/{matildaOAuth2-W2DQO2NK.js → matildaOAuth2-GRS5K3D4.js} +1 -1
- package/chunks/monitor-AMIVJKDL.js +32 -0
- package/chunks/notebook-edit-BQUXXNEO.js +17 -0
- package/chunks/{openaiContentGenerator-AF5VB7VJ.js → openaiContentGenerator-4M7WBW3G.js} +1 -1
- package/chunks/read-file-FNJZCMIZ.js +3 -0
- package/chunks/ripGrep-UOEUWYVF.js +3 -0
- package/chunks/scheduler-ASQLD6BW.js +8 -0
- package/chunks/{send-message-CWHALIVI.js → send-message-OO2HAKCC.js} +1 -1
- package/chunks/{serve-QWMBOX5I.js → serve-FIDAAJAB.js} +1 -1
- package/chunks/shell-S732E2W4.js +3 -0
- package/chunks/{skill-BZXS3BAT.js → skill-VXNOQCSI.js} +1 -1
- package/chunks/src-QZENX46P.js +3 -0
- package/chunks/{symbol-search-OTYVWM4V.js → symbol-search-ALYOX5JN.js} +1 -1
- package/chunks/{syntheticOutput-DXVIINX5.js → syntheticOutput-UASKABJH.js} +1 -1
- package/chunks/task-create-EBJD55TB.js +3 -0
- package/chunks/{task-detach-CMTNPF6A.js → task-detach-I67ZE5MX.js} +1 -1
- package/chunks/{task-list-BGBPPTVN.js → task-list-5BGX4G5N.js} +1 -1
- package/chunks/{task-stop-G4LLM4EA.js → task-stop-ERI5X4AO.js} +1 -1
- package/chunks/{task-update-HHYW65KV.js → task-update-CD3W556L.js} +1 -1
- package/chunks/{team-create-YBF4GQNR.js → team-create-CXY3MRCE.js} +1 -1
- package/chunks/{team-delete-GCLETP4Y.js → team-delete-5U3GBFKJ.js} +1 -1
- package/chunks/todoWrite-YGG6AZ3A.js +3 -0
- package/chunks/{tool-search-4ONKQAU2.js → tool-search-AJ57WSJC.js} +1 -1
- package/chunks/{web-fetch-FKHAEQ6D.js → web-fetch-63M6GZQL.js} +1 -1
- package/chunks/{web-search-WS6IQ5O7.js → web-search-OX2DPEVN.js} +1 -1
- package/chunks/{workflow-YS35G3OT.js → workflow-55OAJ6XH.js} +2 -2
- package/chunks/write-file-2TWXQRDB.js +15 -0
- package/cli.js +425 -425
- package/package.json +2 -2
- package/chunks/agent-RT5D4PRD.js +0 -3
- package/chunks/agent-headless-WWFOT665.js +0 -3
- package/chunks/contextCommand-TXEHFFEJ.js +0 -3
- package/chunks/glob-FRZX2NR2.js +0 -22
- package/chunks/grep-N7XLJCTM.js +0 -22
- package/chunks/matildaContentGenerator-UGZD424B.js +0 -8
- package/chunks/monitor-HRFQT4JM.js +0 -32
- package/chunks/notebook-edit-QHXLEWYF.js +0 -17
- package/chunks/read-file-XTLJOQVK.js +0 -3
- package/chunks/ripGrep-NWSOW3DX.js +0 -3
- package/chunks/scheduler-HP3OMY6G.js +0 -8
- package/chunks/shell-DMFTVQX7.js +0 -3
- package/chunks/src-U36W34IM.js +0 -3
- package/chunks/task-create-F6J3WIYR.js +0 -3
- package/chunks/write-file-ZA5EWSCU.js +0 -15
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import{$ as Fi,$a as Ej,$b as fl,$c as fm,$d as fn,$e as Sn,$f as So,$g as Pq,$h as Qr,$i as Ps,$j as Kt,$k as Ku,$l as Jv,A as ei,Aa as dj,Ab as dk,Ac as Gl,Ad as Gm,Ae as Bn,Ag as lp,Ah as pr,Ai as qs,Aj as lt,Ak as ju,Al as jv,B as fi,Ba as ej,Bb as ek,Bc as Hl,Bd as Hm,Be as Cn,Bg as mp,Bh as qr,Bi as rs,Bj as mt,Bk as ku,Bl as kv,C as gi,Ca as fj,Cb as fk,Cc as Il,Cd as Im,Ce as Dn,Cg as np,Ch as rr,Ci as ss,Cj as nt,Ck as lu,Cl as lv,D as hi,Da as gj,Db as gk,Dc as Jl,Dd as Jm,Df as ko,Dg as op,Dh as sr,Di as ts,Dj as ot,Dk as mu,Dl as mv,E as ii,Ea as hj,Eb as hk,Ed as Km,Ee as En,Ef as lo,Eg as wp,Eh as tr,Ei as us,Ej as pt,Ek as nu,El as nv,F as ji,Fa as ij,Fb as ik,Fc as Ml,Fd as Lm,Fe as Fn,Ff as mo,Fg as xp,Fh as ur,Fi as vs,Fj as qt,Fk as ou,Fl as ov,G as ki,Ga as jj,Gb as jk,Gc as Nl,Gd as Mm,Ge as Gn,Gf as no,Gg as uq,Gh as vr,Gi as ws,Gj as rt,Gk as pu,H as li,Ha as kj,Hb as kk,Hc as Ol,Hd as Nm,He as Hn,Hf as oo,Hg as vq,Hh as wr,Hi as xs,Hj as st,Hk as qu,Hl as pv,I as mi,Ia as lj,Ib as lk,Ic as Pl,Id as Om,Ie as In,If as po,Ig as wq,Ih as xr,Ii as ys,Ij as tt,Ik as ru,Il as qv,J as ni,Ja as mj,Jb as mk,Jc as Ql,Jd as Pm,Je as Jn,Jf as qo,Jg as xq,Jh as yr,Ji as zs,Jj as ut,Jk as su,Jl as rv,K as oi,Ka as nj,Kb as nk,Kc as Rl,Kd as Qm,Ke as Kn,Kf as ro,Kg as yq,Kh as zr,Ki as As,Kj as vt,Kk as tu,Kl as sv,L as pi,La as oj,Lb as ok,Lc as Sl,Ld as Rm,Le as Ln,Lf as so,Lg as zq,Lh as Ar,Li as Bs,Lj as wt,Lk as uu,Ll as tv,M as qi,Ma as pj,Mb as pk,Md as Sm,Mf as to,Mg as Aq,Mh as Br,Mi as Cs,Mj as xt,Mk as vu,Ml as uv,N as ri,Na as qj,Nb as qk,Nc as Tl,Nd as Tm,Nf as uo,Ng as Bq,Nh as Cr,Ni as Ds,Nj as yt,Nk as wu,Nl as vv,O as si,Oa as rj,Ob as rk,Oc as Ul,Od as Um,Oe as Mn,Of as vo,Og as Cq,Oh as Dr,Oj as zt,Ok as xu,Ol as wv,P as ti,Pa as sj,Pb as Rk,Pc as Vl,Pd as Vm,Pe as Nn,Pf as Go,Pg as Dq,Ph as Er,Pj as At,Pk as yu,Pl as xv,Q as ui,Qa as tj,Qb as Sk,Qc as Wl,Qd as Wm,Qf as Ho,Qg as Eq,Qh as Fr,Qi as Es,Qk as zu,Ql as yv,R as vi,Ra as uj,Rb as Tk,Rc as Xl,Rd as Xm,Rf as Io,Rg as Fq,Rh as Gr,Ri as Fs,Rk as Au,Rl as zv,S as wi,Sa as vj,Sb as Uk,Sc as Yl,Sd as Ym,Sf as Jo,Sg as Gq,Sh as Hr,Si as Gs,Sk as Bu,Sl as Av,T as xi,Ta as wj,Tb as Xk,Tc as Zl,Td as Zm,Tf as Ko,Tg as Hq,Th as Ir,Ti as Hs,Tk as Cu,Tl as Bv,U as yi,Ua as xj,Ub as _k,Uc as _l,Ud as _m,Uf as Lo,Ug as Iq,Uh as Jr,Ui as Is,Uk as Du,Ul as Cv,V as zi,Va as yj,Vb as $k,Vc as $l,Vd as $m,Vf as Mo,Vg as Jq,Vh as Kr,Vi as Js,Vj as Bt,Vk as Eu,Vl as Dv,W as Ai,Wa as zj,Wb as al,Wc as am,Wd as an,Wf as No,Wg as Kq,Wh as Lr,Wi as Ks,Wj as Ct,Wk as Fu,Wl as Ev,X as Bi,Xa as Aj,Xb as bl,Xc as bm,Xd as bn,Xe as On,Xf as Oo,Xg as Lq,Xh as Mr,Xi as Ls,Xj as Dt,Xk as Gu,Xl as Fv,Y as Ci,Ya as Bj,Yb as cl,Yc as cm,Yd as cn,Ye as Pn,Yf as Po,Yg as Mq,Yh as Nr,Yi as Ms,Yj as Et,Yk as Hu,Yl as Gv,Z as Di,Za as Cj,Zb as dl,Zc as dm,Zd as dn,Ze as Qn,Zf as Qo,Zg as Nq,Zh as Or,Zi as Ns,Zj as Ft,Zk as Iu,Zl as Hv,_ as Ei,_a as Dj,_b as el,_c as em,_d as en,_e as Rn,_f as Ro,_g as Oq,_h as Pr,_i as Os,_j as Gt,_k as Ju,_l as Iv,a as ua,aa as Gi,ab as Fj,ac as gl,ad as gm,ae as gn,af as Tn,ag as To,ah as Qq,ai as Rr,aj as Qs,ak as Lt,al as Lu,am as Kv,b as va,ba as Hi,bb as Gj,bc as hl,bd as hm,be as hn,bf as Un,bg as Uo,bh as Rq,bi as Sr,bk as Mt,bl as Mu,bm as Lv,c as wa,ca as Ii,cb as Hj,cc as il,cd as im,ce as jn,cg as Vo,ch as Sq,ci as Tr,cj as Rs,ck as Nt,cl as Nu,d as xa,da as Ji,db as Ij,dc as jl,dd as jm,de as kn,dg as Wo,dh as Tq,di as Ur,dj as Ss,dk as Ot,dl as Ou,e as ya,ea as Ki,eb as Jj,ec as kl,ed as km,ee as ln,eg as Xo,eh as Uq,ei as Vr,ej as Ts,ek as Pt,el as Pu,f as za,fa as Li,fb as Kj,fc as ll,fd as lm,fe as mn,fg as Yo,fh as Vq,fi as Wr,fj as Us,fk as Qt,fl as Qu,g as Aa,gb as Lj,gc as ml,gd as mm,ge as nn,gg as Zo,gh as Wq,gi as Xr,gj as Vs,gk as Rt,gl as Ru,h as Ba,ha as Mi,hb as Mj,hc as nl,hd as nm,he as on,hg as _o,hh as Xq,hi as Yr,hj as Ws,hk as St,hl as Su,i as Ca,ia as Ni,ib as Nj,ic as ol,id as om,ie as pn,ig as $o,ih as Yq,ii as Zr,ij as Xs,ik as Tt,il as Tu,j as Xg,ja as Oi,jb as Oj,jc as pl,jd as pm,je as qn,jg as ap,jh as Zq,ji as _r,jk as Ut,jl as Uu,k as Yg,ka as Pi,kb as Pj,kc as ql,kd as qm,ke as rn,kf as Vn,kg as bp,kh as _q,ki as bs,kk as Vt,kl as Vu,l as Zg,la as Qi,lb as Qj,lc as rl,ld as rm,le as sn,lf as Wn,lh as $q,li as cs,lj as Ys,lk as Wt,ll as Wu,m as _g,ma as Ri,mb as Rj,mc as sl,md as sm,me as tn,mf as Xn,mh as br,mi as ds,mj as Zs,mk as Xt,ml as Xu,n as $g,na as Si,nb as Sj,nc as tl,nd as tm,ne as un,nf as Yn,nh as cr,ni as es,nj as _s,nk as Yt,nl as Yu,o as ah,oa as Ti,ob as Tj,oc as ul,od as um,oe as vn,of as Zn,oh as dr,oi as fs,oj as $s,ok as Zt,ol as Zu,p as bh,pa as Ui,pb as Uj,pc as vl,pd as vm,pe as wn,pf as _n,ph as er,pi as gs,pj as at,pk as _t,pl as _u,q as ch,qa as Vi,qb as Vj,qc as wl,qd as wm,qe as xn,qf as $n,qh as fr,qi as hs,qj as bt,qk as $t,ql as $u,r as dh,ra as Wi,rb as Wj,rc as xl,rd as xm,re as yn,rf as ao,rg as cp,rh as gr,ri as is,rj as ct,rk as au,rl as av,s as eh,sa as Xi,sb as Xj,sc as yl,sd as ym,sf as bo,sg as dp,sh as hr,sj as dt,sk as bu,sl as bv,t as fh,ta as Yi,tb as Yj,tc as zl,td as zm,tf as co,tg as ep,th as ir,ti as js,tj as et,tk as cu,tl as cv,u as gh,ua as Zi,ub as Zj,ud as Am,ue as zn,uf as eo,ug as fp,uh as jr,ui as ks,uj as ft,uk as du,ul as dv,v as hh,va as _i,vb as _j,vc as Bl,vd as Bm,ve as An,vf as fo,vg as gp,vh as kr,vi as ls,vj as gt,vk as eu,vl as ev,w as ih,wa as $i,wb as $j,wc as Cl,wd as Cm,wf as go,wg as hp,wh as lr,wi as ms,wj as ht,wk as fu,wl as fv,x as jh,xa as aj,xb as ak,xc as Dl,xd as Dm,xf as ho,xg as ip,xh as mr,xi as ns,xj as it,xk as gu,xl as gv,y as kh,ya as bj,yb as bk,yc as El,yd as Em,yf as io,yg as jp,yh as nr,yi as os,yj as jt,yk as hu,yl as hv,z as lh,za as cj,zb as ck,zc as Fl,zd as Fm,zf as jo,zg as kp,zh as or,zi as ps,zj as kt,zk as iu,zl as iv}from"./chunk-VVIJGBQK.js";import"./chunk-TZIDSCTF.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import{a as yp,b as zp,c as Ap,d as Bp,e as Cp,f as Xp,g as Yp,h as Zp,i as _p,j as $p,k as aq,l as bq,m as cq}from"./chunk-QN6WSWMM.js";import{a as dq,b as eq,c as fq,d as gq,e as hq,f as iq,g as jq,h as kq,i as lq,j as mq,k as nq,l as oq,m as pq,n as qq,o as rq,p as sq,q as tq}from"./chunk-2HQMJ2IU.js";import{c as Al,d as Dp,e as Ep,f as Fp,g as Gp,h as Hp,i as Ip,j as Jp,k as Kp,l as Lp,m as Mp,n as Np,o as Op,p as Pp,q as Qp,r as Rp,s as Sp,t as Tp,u as Up,v as Vp,w as Wp}from"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import{c as Ht,e as It,f as Jt}from"./chunk-MTMU7JYZ.js";import{a as Yk,d as Zk}from"./chunk-SPW5DXX4.js";import{a as Vk,b as Wk}from"./chunk-RNKDFE2S.js";import{A as Kh,B as Lh,C as Mh,D as Nh,E as Oh,F as Ph,G as Qh,H as Rh,I as Sh,J as Th,K as Uh,L as Vh,M as Wh,N as Xh,P as Zh,Q as _h,R as $h,S as ai,T as bi,U as ci,V as di,a as mh,d as nh,e as oh,f as ph,g as qh,h as rh,i as sh,j as th,k as uh,l as vh,m as wh,n as xh,o as yh,p as zh,q as Ah,r as Bh,s as Ch,t as Dh,u as Eh,v as Fh,w as Gh,x as Hh,y as Ih,z as Jh}from"./chunk-TO3ID3JW.js";import{a as Yh}from"./chunk-MKFQMX37.js";import{a as $r,b as as}from"./chunk-47XR7IMP.js";import{b as ar}from"./chunk-FFFZ2QMG.js";import{a as Kl,b as Ll}from"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import{a as wo,b as xo,c as yo,d as zo,e as Ao,f as Bo,g as Co,h as Do,i as Eo,j as Fo,k as pp,l as qp,m as rp,n as sp,o as tp,p as up,q as vp}from"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import{a as sk,b as tk,c as uk,d as vk,e as wk,f as xk,g as yk,h as zk,i as Ak,j as Bk,k as Ck,l as Dk,m as Ek,n as Fk,o as Gk,p as Hk,q as Ik,r as Jk,s as Kk,t as Lk,u as Mk,v as Nk,w as Ok,x as Pk,y as Qk}from"./chunk-JXUDKX6D.js";import"./chunk-66NIIU2R.js";import{b as sg,d as tg,e as ug,g as vg,h as wg,i as xg,j as yg,k as zg}from"./chunk-GUFIMKF5.js";import{A as We,Aa as pg,B as Xe,Ba as qg,C as Ye,Ca as rg,D as Ze,Da as Sg,E as _e,Ea as Tg,F as $e,Fa as Ug,G as af,Ga as Vg,H as bf,Ha as Wg,I as cf,J as df,K as ef,L as ff,P as uf,Q as vf,T as wf,U as xf,V as yf,X as Rf,Y as Sf,Z as Tf,aa as Uf,b as ve,c as we,ca as Vf,d as xe,da as Wf,e as ye,ea as Xf,fa as _f,ga as $f,i as ze,j as Ae,ja as ag,k as Be,ka as bg,l as He,la as cg,m as Ie,ma as dg,n as Je,na as eg,o as Ke,oa as fg,p as Le,pa as gg,q as Me,qa as hg,r as Ne,ra as ig,s as Oe,sa as jg,t as Pe,ta as kg,u as Qe,ua as lg,v as Re,va as mg,w as Se,x as Te,y as Ue,ya as ng,z as Ve,za as og}from"./chunk-YSIECQIZ.js";import{a as Nf,e as Of,f as Pf,g as Qf}from"./chunk-DC7LAFZZ.js";import{a as zf,b as Af,c as Bf,d as Cf}from"./chunk-4F4DA5UI.js";import{e as Ce,f as De,g as Ee,h as Fe,i as Ge,m as Df,n as Ef,o as Ff,p as Gf,q as Hf,r as If,s as Jf,t as Kf,u as Lf,v as Mf}from"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import{b as gf,c as hf,d as jf,e as kf,f as lf,g as mf,h as nf,i as of,j as pf,k as qf,l as rf,m as sf,n as tf}from"./chunk-SDTWBD62.js";import{$ as hb,A as Va,Aa as Hb,Ab as zc,B as Wa,Ba as Ib,Bb as Ac,C as Xa,Ca as Jb,Cb as Bc,Cc as Jd,D as Ya,Da as Kb,Db as Cc,Dc as Kd,E as Za,Ea as Lb,Eb as Dc,Ec as Ld,F as _a,Fa as Mb,Fb as Ec,Fc as Md,G as $a,Ga as Nb,Gb as Fc,Gc as Nd,H as ab,Ha as Ob,Hb as Gc,Hc as Od,I as bb,Ia as Pb,Ib as Hc,Ic as Pd,Ja as Qb,Jb as Ic,Jc as Qd,Ka as Rb,Kb as Jc,Kc as Rd,La as Sb,Lc as Sd,Ma as Tb,Mb as Kc,Mc as Td,Na as Ub,Nb as Lc,Nc as Ud,Ob as Mc,Oc as Vd,Pb as Nc,Pc as Wd,Qa as Vb,Qb as Oc,Rb as Pc,Sc as Xd,Ta as Wb,Tc as Yd,Ua as Xb,Ub as Qc,Uc as Zd,Va as Yb,Vb as Rc,Vc as _d,W as cb,Wa as Zb,Wb as Sc,Wc as $d,X as db,Xa as _b,Xb as Tc,Xc as ae,Y as eb,Ya as $b,Yb as Uc,Yc as be,Z as fb,Za as ac,Zb as Vc,Zc as ce,_ as gb,_a as bc,aa as ib,ab as cc,b as ca,ba as jb,bb as dc,c as da,ca as kb,cb as ec,cc as Wc,cd as de,d as ea,da as lb,db as fc,dd as ee,e as ra,ea as mb,eb as gc,ec as Xc,ed as fe,fa as nb,fb as hc,fc as Yc,g as sa,ga as ob,gb as ic,gc as Zc,gd as ge,h as ta,ha as pb,hb as jc,hc as _c,hd as he,ia as qb,ib as kc,ic as $c,ja as rb,jb as lc,jc as ad,jd as ie,ka as sb,kb as mc,kc as bd,la as tb,lb as nc,lc as cd,ld as je,ma as ub,mb as oc,mc as dd,md as ke,n as Ia,nb as pc,nc as ed,nd as le,o as Ja,oa as vb,ob as qc,oc as fd,od as me,p as Ka,pa as wb,pb as rc,pc as gd,pd as ne,q as La,qa as xb,qb as sc,qc as hd,qd as oe,r as Ma,ra as yb,rb as tc,rc as id,rd as pe,s as Na,sa as zb,sb as uc,sc as jd,sd as qe,t as Oa,ta as Ab,tc as kd,td as re,u as Pa,ua as Bb,ud as se,v as Qa,va as Cb,vd as te,w as Ra,wa as Db,wb as vc,wc as Id,wd as ue,x as Sa,xa as Eb,xb as wc,y as Ta,ya as Fb,yb as xc,z as Ua,za as Gb,zb as yc}from"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import{a as ld,b as md,c as nd,d as od,e as pd,f as qd,g as rd,h as sd,i as td,j as ud,k as vd,l as wd,m as xd,n as yd,o as zd,p as Ad,q as Bd,r as Cd,s as Dd,t as Ed,u as Fd,v as Gd,w as Hd}from"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{a as fa,e as ga,f as ha,g as ia,h as ja,i as ka,j as la,k as ma,l as na,m as oa,n as pa,o as qa,p as Da,q as Ea,r as Fa,s as Ga,t as Ha}from"./chunk-T4P4KEDW.js";import{a as Ag,b as Bg,d as Cg,e as Dg,f as Eg,g as Fg,h as Gg,i as Hg,j as Ig,k as Jg,l as Kg,m as Lg,n as Mg,o as Ng,p as Og,q as Pg,r as Qg,t as Rg}from"./chunk-S4UT3QLV.js";import"./chunk-XCFLI3OC.js";import"./chunk-ESSYHTAZ.js";import{a as Yf,b as Zf}from"./chunk-3YLXGE6T.js";import{a as Z,b as _,c as $,d as aa,e as ba}from"./chunk-GO2GA2GY.js";import{$ as W,A as z,B as A,C as B,D as C,E as D,F as E,G as F,H as G,I as H,J as I,K as J,L as K,M as L,N as M,O as N,Q as O,R as P,V as S,W as T,Z as U,_ as V,aa as X,b as a,ba as Y,c as b,d as c,e as d,f as e,g as f,h as g,i as h,j as i,k as j,l as k,m as l,n as m,o as n,p as o,q as p,r as q,s as r,t as s,u as t,v as u,w as v,x as w,y as x,z as y}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import{c as Q,g as R}from"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{Ja as AGENT_CONTEXT_FILENAME,Uo as AGENT_WORKTREE_HEX_LENGTH,To as AGENT_WORKTREE_PREFIX,Vo as AGENT_WORKTREE_SLUG_PATTERN,Rj as ALL_PROVIDERS,Lt as APPROVAL_MODES,Nt as APPROVAL_MODE_INFO,ua as ARENA_MAX_AGENTS,pd as AUTO_MEMORY_CONSOLIDATION_LOCK_FILENAME,ld as AUTO_MEMORY_DIRNAME,od as AUTO_MEMORY_EXTRACT_CURSOR_FILENAME,md as AUTO_MEMORY_INDEX_FILENAME,nd as AUTO_MEMORY_METADATA_FILENAME,Cl as AUTO_MEMORY_SCHEMA_VERSION,Bl as AUTO_MEMORY_TYPES,Um as AUTO_MODE_DENIAL_LIMITS,Oq as AUTO_SKILL_THRESHOLD,pv as AbortError,r as AccountRestrictedError,Io as AgentCore,so as AgentEventEmitter,ro as AgentEventType,vo as AgentHeadless,gp as AgentInteractive,ha as AgentStatistics,ya as AgentStatus,xa as AgentTerminateMode,Pk as AgentType,Sd as ApiCancelEvent,Rd as ApiErrorEvent,Qd as ApiRequestEvent,ub as ApiRequestPhase,Td as ApiResponseEvent,Kt as ApprovalMode,Ca as ArenaAgentClient,kp as ArenaEventEmitter,jp as ArenaEventType,op as ArenaManager,va as ArenaSessionStatus,fp as AsyncMessageQueue,ie as AuthEvent,Vt as AuthProviderType,Sg as AuthType,xq as BACKGROUND_AGENT_CONCURRENCY_ENV,Ro as BASELINE_COMMIT_MESSAGE,Ya as BINARY_EXTENSIONS,Qa as BINARY_FILE_PATTERNS,zv as BTW_MAX_INPUT_LENGTH,Gr as BUNDLE_CHUNK_DIR,Eq as BackgroundAgentResumeService,rs as BackgroundShellRegistry,Cq as BackgroundTaskRegistry,q as BadRequestError,ka as BaseDeclarativeTool,ia as BaseToolInvocation,Wr as BudgetExhaustedError,bp as BuiltinAgentRegistry,Ff as CAPPED_DEFAULT_MAX_TOKENS,Tu as CODE_ACTION_KIND_LABELS,fm as COMMAND_SUBSTITUTION_WARNING,Sa as COMMON_DIRECTORY_EXCLUDES,Pa as COMMON_IGNORE_PATTERNS,qa as CONCURRENCY_SAFE_KINDS,Oj as CUSTOM_API_KEY_ENV_PREFIX,ek as ChatRecordingService,jo as CloseDiffRequestSchema,Fn as ColorMode,ik as CompressionStatus,pt as ConditionalRulesRegistry,Wt as Config,t as ContentBlockedError,to as ContextState,be as ConversationFinishedEvent,qo as CoreToolScheduler,Fg as CredentialsClearRequiredError,Yq as CronScheduler,Ke as DAEMON_TRACEPARENT_META_KEY,Le as DAEMON_TRACESTATE_META_KEY,Pq as DEFAULT_AUTO_DREAM_MIN_HOURS,Qq as DEFAULT_AUTO_DREAM_MIN_SESSIONS,Dq as DEFAULT_BACKGROUND_AGENT_CONTINUATION_MESSAGE,ap as DEFAULT_BUILTIN_SUBAGENT_TYPE,Ia as DEFAULT_CONTEXT_FILENAME,cb as DEFAULT_ENCODING,Va as DEFAULT_FILE_EXCLUDES,Wk as DEFAULT_FILE_FILTERING_OPTIONS,Lu as DEFAULT_LSP_COMMAND_CHECK_TIMEOUT_MS,Ku as DEFAULT_LSP_DOCUMENT_OPEN_DELAY_MS,Nu as DEFAULT_LSP_DOCUMENT_RETRY_DELAY_MS,Ou as DEFAULT_LSP_MAX_RESTARTS,Iu as DEFAULT_LSP_REQUEST_TIMEOUT_MS,Qu as DEFAULT_LSP_SOCKET_MAX_RETRY_DELAY_MS,Pu as DEFAULT_LSP_SOCKET_RETRY_DELAY_MS,Hu as DEFAULT_LSP_STARTUP_TIMEOUT_MS,Ju as DEFAULT_LSP_WARMUP_DELAY_MS,Mu as DEFAULT_LSP_WORKSPACE_SYMBOL_WARMUP_DELAY_MS,Bf as DEFAULT_MATILDA_EMBEDDING_MODEL,Af as DEFAULT_MATILDA_FLASH_MODEL,zf as DEFAULT_MATILDA_MODEL,wq as DEFAULT_MAX_CONCURRENT_BACKGROUND_AGENTS,Zt as DEFAULT_MAX_INLINE_MEDIA_BYTES,Vk as DEFAULT_MEMORY_FILE_FILTERING_OPTIONS,yf as DEFAULT_OTLP_ENDPOINT,Ef as DEFAULT_OUTPUT_TOKEN_LIMIT,Ot as DEFAULT_PR_ATTRIBUTION_MESSAGE,li as DEFAULT_STOP_HOOK_BLOCK_CAP,xf as DEFAULT_TELEMETRY_TARGET,Df as DEFAULT_TOKEN_LIMIT,Rt as DEFAULT_TOOL_OUTPUT_BATCH_BUDGET,ki as DEFAULT_TOOL_RESULTS_TOTAL_CHARS_THRESHOLD,Qt as DEFAULT_TRUNCATE_TOOL_OUTPUT_LINES,Pt as DEFAULT_TRUNCATE_TOOL_OUTPUT_THRESHOLD,Su as DIAGNOSTIC_SEVERITY_LABELS,cp as DISPLAY_MODE,Mq as DREAM_TASK_TYPE,ja as DeclarativeTool,Bk as DefaultHookOutput,Jd as DiscoveredMCPTool,Zr as DiscoveredTool,Gf as ESCALATED_MAX_TOKENS,da as EVENT_API_ERROR,ea as EVENT_API_RESPONSE,ca as EVENT_TOOL_CALL,Go as EXCLUDED_TOOLS_FOR_SUBAGENTS,ws as EXTENSIONS_CONFIG_FILENAME,vs as EXTENSIONS_DIRECTORY_NAME,ys as EXTENSION_SETTINGS_FILENAME,Ho as EXTERNAL_MESSAGE_PREFIX,Lq as EXTRACT_TASK_TYPE,Md as EndSessionEvent,pe as ExtensionDisableEvent,ge as ExtensionEnableEvent,de as ExtensionInstallEvent,et as ExtensionManager,Ys as ExtensionSettingScope,fe as ExtensionUninstallEvent,dt as ExtensionUpdateState,Yi as FILE_HISTORY_DIR,Lo as FORK_SUBAGENT_TYPE,g as FatalAuthenticationError,m as FatalBudgetExceededError,n as FatalCancellationError,j as FatalConfigError,f as FatalError,h as FatalInputError,i as FatalSandboxError,l as FatalToolExecutionError,k as FatalTurnLimitedError,Zo as FileDiscoveryService,On as FileEncoding,Wa as FileExclusions,$i as FileHistoryService,qb as FileOperation,us as FileReadCache,bo as FileSchema,rv as FileSearchFactory,Ud as FlashFallbackEvent,o as ForbiddenError,sh as GOAL_DEFAULT_TOKEN_BUDGET,th as GOAL_DEFAULT_TURN_BUDGET,Gh as GOAL_INFEASIBLE_NEXT_STEP,rh as GOAL_NO_PROGRESS_TURN_LIMIT,Lh as GOAL_PAUSE_REASON_COMMAND,Oh as GOAL_PAUSE_REASON_HEADLESS_RUN_ENDED,Ih as GOAL_PAUSE_REASON_MAX_CHARACTERS,Zh as GOAL_PAUSE_REASON_MIGRATED,Qh as GOAL_PAUSE_REASON_NO_PROGRESS,Ph as GOAL_PAUSE_REASON_REWOUND,Nh as GOAL_PAUSE_REASON_SESSION_DISPOSED,Mh as GOAL_PAUSE_REASON_SESSION_TOKEN_LIMIT,_h as GOAL_PAUSE_REASON_UNREADABLE_STATE,Kh as GOAL_PAUSE_REASON_USER_INTERRUPT,qh as GOAL_PROPOSAL_REASON_MAX_BYTES,ph as GOAL_PROPOSAL_REASON_MAX_CHARACTERS,ai as GOAL_RUNTIME_DISPOSED_MESSAGE,oh as GOAL_STATE_VERSION,w as GOOGLE_ACCOUNTS_FILENAME,xl as GeminiChat,Xq as GeminiClient,hk as GeminiEventType,Yo as GitIgnoreParser,Xo as GitWorktreeService,Wh as GoalConflictError,Xh as GoalInvalidTransitionError,ci as GoalPersistenceUnavailableError,vk as HOOKS_CONFIG_FIELDS,tk as HookEventName,uk as HookPhase,jt as HookRegistry,lt as HookSystem,wk as HookType,sk as HooksConfigSource,ko as IDEConnectionStatus,Vn as IDE_DEFINITIONS,Yn as IDE_MAX_OPEN_FILES,Zn as IDE_MAX_SELECTED_TEXT_LENGTH,_n as IDE_REQUEST_TIMEOUT_MS,kv as IDLE_SPECULATION,up as INBOXES_DIR,bv as INITIAL_FOLLOWUP_STATE,xs as INSTALL_METADATA_FILENAME,ep as ITermBackend,lo as IdeClient,ae as IdeConnectionEvent,$d as IdeConnectionType,eo as IdeContextNotificationSchema,co as IdeContextSchema,$n as IdeContextStore,fo as IdeDiffAcceptedNotificationSchema,ho as IdeDiffClosedNotificationSchema,go as IdeDiffRejectedNotificationSchema,Jt as Ignore,hp as InProcessBackend,$r as InputFormat,Tr as InvalidMcpConfigError,nj as InvalidSessionListCursorError,vl as InvalidStreamError,Xt as JsonFormatter,ar as KeychainTokenStorage,oa as Kind,ce as KittySequenceOverflowEvent,qp as LEADER_NAME,ej as LITE_READ_BUF_SIZE,Ka as LOCAL_CONTEXT_FILENAME,ju as Logger,Wd as LoopType,Uu as LspConfigLoader,Vu as LspConnectionFactory,Wu as LspResponseNormalizer,Xu as LspServerManager,Cf as MAINLINE_CODER_MODEL,ra as MAIN_SOURCE,Nf as MATILDA_API_KEY_ENV_KEY,Xn as MATILDA_CODE_COMPANION_EXTENSION_NAME,Bu as MATILDA_CODE_SIMPLE_ENV_VAR,Pg as MATILDA_CREDENTIAL_FILE_MODE,v as MATILDA_DIR,Uf as MATILDA_OAUTH_MODELS,wc as MATILDA_SESSION_ID_HASH_ATTR,vc as MATILDA_USER_ID_HASH_ATTR,zq as MAX_CONCURRENT_BACKGROUND_AGENTS,ls as MAX_CONCURRENT_MONITORS,Ni as MAX_DIFF_SIZE_BYTES,Mi as MAX_FILES,Pi as MAX_FILES_FOR_DETAILS,Oi as MAX_LINES_PER_FILE,ps as MAX_NOTIFICATION_OUTPUT_TAIL_BYTES,Aq as MAX_RETAINED_TERMINAL_AGENTS,ms as MAX_RETAINED_TERMINAL_MONITORS,qs as MAX_RETAINED_TERMINAL_SHELLS,ss as MAX_RETAINED_TERMINAL_WORKFLOWS,Xi as MAX_SNAPSHOTS,pp as MAX_TEAMMATES,Sm as MAX_TRANSCRIPT_MESSAGES,Tq as MAX_TURNS,yk as MAX_USER_PROMPT_EXPANSION_ADDITIONAL_CONTEXT_LENGTH,jr as MCPDiscoveryState,fr as MCPOAuthProvider,br as MCPOAuthTokenStorage,Tt as MCPServerConfig,ir as MCPServerStatus,Vr as MCP_BUDGET_REARM_FRACTION,Ur as MCP_BUDGET_WARN_FRACTION,gr as MCP_DEFAULT_TIMEOUT_MSEC,Ra as MEDIA_FILE_PATTERNS,La as MEMORY_SECTION_HEADER,Fv as MOCK_TOOL_GET_CONFIRMATION_DETAILS,Ev as MOCK_TOOL_GET_DEFAULT_PERMISSION,Tf as MODEL_GENERATION_CONFIG_FIELDS,pa as MUTATOR_KINDS,Lg as MatildaOAuth2Client,Mg as MatildaOAuth2Event,Gg as MatildaOAuthPollError,Rr as McpBudgetWouldExceedError,kr as McpClient,Yr as McpClientManager,Sr as McpServerSpawnFailedError,lu as McpTransportPool,te as MemoryDreamEvent,se as MemoryExtractEvent,Rq as MemoryManager,sb as MemoryMetricType,ue as MemoryRecallEvent,nt as MessageBus,Ml as MessageBusType,gu as MessageSenderType,Hv as MockModifiableTool,Gv as MockModifiableToolInvocation,Dv as MockTool,Wf as ModelRegistry,he as ModelSlashCommandEvent,Xf as ModelsConfig,os as MonitorRegistry,Yu as NativeLspClient,Zu as NativeLspService,Xd as NextSpeakerCheckEvent,Jk as NotificationType,er as OAUTH_AUTH_URL_EVENT,dr as OAUTH_DISPLAY_MESSAGE_EVENT,cr as OAuthUtils,Ij as OPENROUTER_BASE_URL,Hj as OPENROUTER_ENV_KEY,Hf as OUTPUT_TOKEN_SAFETY_MARGIN,Ae as OpenAILogger,io as OpenDiffRequestSchema,as as OutputFormat,hv as OverlayFs,z as PATH_ARG_KEYS,Bh as PAUSED_GOAL_SYSTEM_REMINDER,Or as POOLED_TRANSPORTS_DEFAULT,yj as PROVIDER_METADATA_NS,Ta as PYTHON_EXCLUDES,rb as PerformanceMetricType,is as PermissionManager,Lk as PermissionMode,Ik as PermissionRequestHookOutput,Ok as PostCompactTrigger,Gk as PostToolBatchHookOutput,Ek as PostToolUseFailureHookOutput,Dk as PostToolUseHookOutput,Nk as PreCompactTrigger,Ck as PreToolUseHookOutput,qe as PromptSuggestionEvent,Wj as ProviderInstallError,dq as RECIPROCAL_CALLER,Es as REDACTED_URL_CREDENTIAL,kf as REPORTED_ATTEMPT_PURPOSES,hf as REPORTED_ATTEMPT_PURPOSE_HEADER,jf as REPORTED_OPERATION_HEADER_NAMES,gf as REPORTED_OPERATION_ID_HEADER,Rf as RUNTIME_SNAPSHOT_PREFIX,aj as RUNTIME_STATUS_SCHEMA_VERSION,Id as ReadFileTool,nf as ReportedOperationTracker,Ct as RipGrepTool,Vd as RipgrepFallbackEvent,De as RuntimeDiagnosticsCollector,dn as SAFE_TOOL_ALLOWLIST,mj as SESSION_TITLE_MAX_LENGTH,y as SHELL_SPECIAL_CHARS,sm as SHELL_TOOL_NAMES,Nq as SKILL_REVIEW_TASK_TYPE,bi as STALE_GOAL_TURN_MESSAGE,mi as STOP_HOOK_BLOCK_CAP_ENV,ck as STREAM_RECOVERY_PARTIAL_DISPOSITION,bk as STREAM_RECOVERY_SNAPSHOT_DISPOSITION,dv as SUGGESTION_PROMPT,wg as SUPPORTED_IMAGE_MIME_TYPES,Ru as SYMBOL_KIND_LABELS,Ua as SYSTEM_FILE_EXCLUDES,$k as SYSTEM_REMINDER_CLOSE,_k as SYSTEM_REMINDER_OPEN,ga as SchemaValidator,$q as SdkControlClientTransport,Vb as SemanticAttributes,Uq as SendMessageType,Mk as SessionEndReason,oj as SessionService,Kk as SessionStartSource,ct as SettingScope,Nn as ShellExecutionService,gs as SkillActivationRegistry,ds as SkillError,je as SkillLaunchEvent,hs as SkillManager,Zd as SlashCommandStatus,Sk as SleepInhibitor,R as SpanStatusCode,re as SpeculationEvent,Un as StandardFileSystemService,Ld as StartSessionEvent,Hk as StopHookOutput,O as Storage,rl as StreamEventType,Jo as SubagentError,Ko as SubagentErrorCode,ks as SubagentManager,js as SubagentValidator,sp as TASKS_DIR,vp as TEAMMATE_COLORS,rp as TEAMS_DIR,tp as TEAM_CONFIG_FILENAME,xi as TERMINAL_CSI_REGEX,wi as TERMINAL_OSC_REGEX,yi as TERMINAL_SHIFT_DCS_REGEX,Sj as THIRD_PARTY_PROVIDERS,ak as THOUGHT_ONLY_DISPOSITION,rm as TOOL_NAME_ALIASES,pu as TOOL_USE_SUMMARY_SYSTEM_PROMPT,Kl as TaskCompletionScope,kq as TaskOwnershipError,xp as TeamEventEmitter,wp as TeamEventType,vq as TeamManager,wf as TelemetryTarget,vg as TextTokenizer,dp as TmuxBackend,Pd as ToolCallEvent,na as ToolConfirmationOutcome,Ea as ToolDisplayNames,Ha as ToolDisplayNamesMigration,fa as ToolErrorType,tb as ToolExecutionPhase,Da as ToolNames,Fa as ToolNamesMigration,ee as ToolOutputTruncatedEvent,_r as ToolRegistry,Mt as TrustGateError,jk as Turn,qd as USER_AUTO_MEMORY_DIRNAME,sa as UiTelemetryService,p as UnauthorizedError,le as UserFeedbackEvent,ke as UserFeedbackRating,Nd as UserPromptEvent,Fk as UserPromptExpansionHookOutput,Od as UserRetryEvent,Q as ValueType,So as WORKTREES_DIR,Mo as WORKTREE_BRANCH_PREFIX,Oo as WORKTREE_SESSION_FILE,ts as WorkflowRunRegistry,_o as WorkspaceContext,mu as WorkspaceMcpBudget,Fu as WorkspaceMemoryFileTooLargeError,Du as WorkspaceMemoryWriteTimeoutError,Ai as _recoverObjectsFromLine,mo as _resetCachedIdeServerHost,Fi as _resetEnsuredDirsCacheForTest,Bt as _resetRipGrepCachesForTest,x as _resetValidatePathCacheForTest,nv as abortSpeculation,mv as acceptSpeculation,Uk as acquireSleepInhibitor,Re as addDaemonRequestAttribute,mr as addMCPStatusChangeListener,$b as addModelOutputAttributes,Zb as addSystemPromptAttributes,ac as addToolInputAttributes,bc as addToolResultAttributes,_b as addToolSchemaAttributes,Yb as addUserPromptAttributes,Au as aggregateUsage,vn as allowEditorTypeInSandbox,nh as ambientGoalToolResultProvenance,Hi as appendLine,dh as appendToLastTextPart,jn as applyAutoModeDecision,Xj as applyProviderInstallPlan,Zk as applySkillAllowedTools,$t as approxBase64Bytes,eq as assertValidTaskId,Lp as assignTeammateColor,_ as atomicWriteFile,ba as atomicWriteFileSync,$ as atomicWriteJSON,pq as blockTask,el as buildAddedMcpToolsReminder,hl as buildAddedSkillsReminder,pj as buildApiHistoryFromConversation,gl as buildAvailableSkillsReminder,Bq as buildBackgroundEntryLabel,Bv as buildBtwCacheSafeParams,Av as buildBtwPrompt,dl as buildDeferredToolsReminder,mp as buildFallbackApproachSummary,Kv as buildGoalContinuationParts,Am as buildHumanReadableRuleLabel,zj as buildInstallPlan,fl as buildMcpServerInstructionsReminder,Zq as buildMissedCronNotification,Yg as buildModelIdContext,Im as buildPermissionCheckContext,zm as buildPermissionRules,Gj as buildProviderTemplate,tf as buildReportedOperationHeaders,hm as buildShellExecWarnings,Yk as buildSkillLlmContent,il as buildStartupContextReminder,uq as buildTeammatePromptAddendum,Qg as cacheMatildaCredentials,Mr as canUseRipgrep,Ga as canonicalToolName,Ue as captureDaemonTelemetryContext,om as checkArgumentSafety,im as checkCommandPermissions,Ns as checkForExtensionUpdate,un as checkHasEditorType,Ks as checkNpmUpdate,qq as claimTask,bu as clampInlineMediaPart,If as clampOutputToContextWindow,qg as classifyRetryError,Qp as classifyShutdownResponse,su as cleanSummary,Jv as cleanupTmpDir,bq as clearAllInboxes,td as clearAutoMemoryRootCache,Hq as clearCacheSafeParams,Rg as clearCachedCredentialFile,aq as clearInbox,zc as clearMatildaCorrelationHashes,bg as clearMatildaCredentials,dj as clearRuntimeStatus,Mp as clearTeammateColors,vv as clearWelcomeBackState,Ft as clearWorktreeSession,tt as cliSource,Ls as cloneFromGit,_q as collectMemoryDiagnostics,nl as collectToolCallIdsFromHistory,pn as commandExists,tl as compactPendingUserContentToBudget,sl as compactTextMiddle,Aj as computeModelListVersion,Rk as computeThresholds,tj as computeUniqueBranchTitle,xt as computedSource,xr as connectAndDiscover,Dr as connectToMcpServer,Pr as connectionIdOf,$p as consumeUnread,Ts as convertClaudeAgentConfig,Vs as convertClaudePluginPackage,Us as convertClaudeToMatildaConfig,Hn as convertColorToHex,po as convertToFunctionResponse,Rs as convertTomlToMarkdown,ft as copyExtension,hb as countFileLines,Ki as countLines,Ht as crawlCache,Wg as createContentGenerator,Vg as createContentGeneratorConfig,Ye as createDaemonBridgeTelemetry,Y as createDebugLogger,El as createDefaultAutoMemoryExtractCursor,Fl as createDefaultAutoMemoryIndex,Dl as createDefaultAutoMemoryMetadata,Vm as createDenialState,cv as createFollowupController,Iq as createForkedChat,di as createGoalRuntime,Ak as createHookOutput,mt as createInstructionsLoadedCallback,hr as createStreamableHttpCompatibilityFetch,iq as createTask,Tp as createTeamFile,Iv as createTmpDir,ou as createToolUseSummaryMessage,Er as createTransport,Qj as customProvider,eb as decodeBufferWithEncodingInfo,iu as decodeTagName,pl as dedupeToolCallsById,Kj as deepseekProvider,wt as defaultSource,mq as deleteTask,Vp as deleteTeamDirs,_i as deserializeSnapshots,db as detectBOM,ip as detectBackend,em as detectCommandSubstitution,bb as detectEncodingFromBuffer,jb as detectFileEncoding,nb as detectFileType,Wn as detectIdeFromEnv,Sn as detectLineEnding,sg as detectRuntime,Qk as detectTodoChanges,vr as discoverMcpTools,Ar as discoverPrompts,yr as discoverTools,Xp as disposeInboxLocks,Ul as doesToolInvocationMatch,Os as downloadFromGitHubRelease,Js as downloadFromNpmRegistry,qn as editorCommands,Te as emitDaemonLog,Dh as emptyGoalSnapshot,eu as encodeInsightErrorMessage,cu as encodeInsightProgressMessage,du as encodeInsightReadyMessage,hu as encodeTagName,Tn as encodeTextFileContent,qc as endHookSpan,ec as endInteractionSpan,hc as endLLMRequestSpan,tc as endSubagentSpan,oc as endToolBlockedOnUserSpan,mc as endToolExecutionSpan,kc as endToolSpan,Gl as ensureAutoMemoryScaffold,Rn as ensureCrlfLineEndings,Lr as ensureMacBinarySigned,Kr as ensureRipgrepHealthy,ov as ensureToolResultPairing,Ei as ensureTrailingNewlineSync,Il as ensureUserAutoMemoryScaffold,pf as enterReportedOperationContext,yt as envLayer,Jn as escapeJsonTagCharacters,E as escapePath,Xl as escapeShellArg,ve as estimateTokensFromChars,nn as evaluateAutoMode,Mm as evaluatePermissionFlow,Jm as evaluatePermissionRules,iv as evaluateToolCall,jm as execCommand,ku as executeToolCall,Li as exists,B as expandHomeDir,Xe as extractDaemonTraceContext,Xa as extractExtensionsFromPatterns,Qs as extractFile,hj as extractJsonStringField,jj as extractLastJsonStringField,ij as extractLastJsonStringFields,Tm as extractShellOperations,oo as extractToolFilePaths,Qi as fetchGitDiff,Ri as fetchGitDiffHunks,pb as fileExists,qv as filter,si as findGitRoot,Op as findMemberById,Pp as findMemberByName,Uj as findProviderByCredentials,Tj as findProviderById,Ps as findReleaseAsset,Rl as fireNotificationHook,Sl as firePermissionRequestHook,Ql as firePostToolUseFailureHook,Pl as firePostToolUseHook,Ol as firePreToolUseHook,ch as flatMapTextParts,Ec as forceFlushMetrics,Jp as formatAgentId,mn as formatClassifierBlockMessage,al as formatDateForContext,Wm as formatDenialStateLog,Ll as formatJoinedWaitNotice,np as formatLineStats,In as formatMemoryUsage,pi as formatStopHookBlockingCapWarning,T as formatTraceparent,Bp as forwardApproval,Wo as generateAgentWorktreeSlug,Dg as generateCodeChallenge,Cg as generateCodeVerifier,Pj as generateCustomEnvKey,Eg as generatePKCEPair,ev as generatePromptSuggestion,nu as generateSessionRecap,Nl as generateToolUseId,qu as generateToolUseSummary,Kp as generateUniqueTeammateName,Kd as generateValidName,we as generatedOutputTokens,uc as getActiveInteractionSpan,zo as getAgentName,tq as getAgentStatuses,Oa as getAllGeminiMdFilenames,rr as getAllMCPServerStatuses,Vj as getAllProviderBaseUrls,qk as getArenaSystemReminder,zd as getAutoMemoryConsolidationLockPath,yd as getAutoMemoryExtractCursorPath,Cd as getAutoMemoryFilePath,wd as getAutoMemoryIndexPath,xd as getAutoMemoryMetadataPath,ud as getAutoMemoryProjectStateDir,sd as getAutoMemoryRoot,Ad as getAutoMemoryTopicFilename,Bd as getAutoMemoryTopicPath,ln as getAutoModePermissionDeniedReason,Ir as getBuiltinRipgrep,Gq as getCacheSafeParams,_a as getCachedEncodingForBuffer,Zl as getCommandRoot,_l as getCommandRoots,nk as getCompressionPrompt,mk as getCoreSystemPrompt,Na as getCurrentGeminiMdFilename,lk as getCustomSystemPrompt,Bj as getDefaultBaseUrlForProtocol,Dj as getDefaultModelIds,xn as getDiffCommand,bl as getDirectoryContextString,rn as getEditorExecutable,Om as getEffectivePermissionForConfirmation,at as getEnvContents,cl as getEnvironmentContext,c as getErrorMessage,d as getErrorStatus,e as getErrorType,gt as getExtensionId,tn as getExternalEditorCommand,fv as getFilterReason,Xk as getFolderStructure,gh as getFunctionCalls,ih as getFunctionCallsAsJson,hh as getFunctionCallsFromParts,jh as getFunctionCallsFromPartsAsJson,ti as getGitBranch,ui as getGitRepoName,xk as getHookKey,Gu as getIdeInstaller,no as getIdeServerHost,Yp as getInboxPath,Gp as getInboxesDir,jl as getInitialChatHistory,rk as getInsightPrompt,zp as getLeader,sr as getMCPDiscoveryState,av as getMCPServerPrompts,qr as getMCPServerStatus,Pf as getMatildaAuthBaseUrl,cg as getMatildaAuthStatus,yc as getMatildaCorrelationHashes,_f as getMatildaCredentialsPath,Og as getMatildaOAuthClient,_t as getMaxInlineMediaBytes,rd as getMemoryBaseDir,ns as getMonitorOutputPath,tg as getOrCreateSharedDispatcher,pk as getPlanModeSystemReminder,G as getProjectHash,wv as getProjectSummaryInfo,ok as getProjectSummaryPrompt,og as getRateLimitErrorDetails,pg as getRateLimitRetryDelayMs,vi as getRecentGitStatus,mf as getReportedOperationContext,bh as getResponseText,fh as getResponseTextFromParts,rj as getResumePromptTokenCount,sj as getResumeTokenCounts,ym as getRuleDisplayName,$s as getScopedEnvContents,Mn as getShellAbortReasonKind,Vl as getShellConfiguration,kb as getSpecificMimeType,um as getSpecifierKind,kl as getStartupContextLength,kh as getStructuredResponse,lh as getStructuredResponseFromParts,yg as getSupportedImageFormatsString,$a as getSystemEncoding,jq as getTask,fq as getTaskPath,Hp as getTasksDir,Ep as getTeamDir,Fp as getTeamFilePath,Ao as getTeamName,Eo as getTeammateColor,xo as getTeammateContext,Dp as getTeamsRootDir,gk as getThoughtText,zu as getTimeRangeBounds,S as getTraceContext,zg as getUnsupportedImageFormatWarning,Ed as getUserAutoMemoryIndexPath,Dd as getUserAutoMemoryRoot,Fd as getUserAutoMemoryTopicPath,eg as getValidMatildaAccessToken,tv as getWelcomeBackState,Sq as globalMemoryManager,yh as goalActiveTimeBudgetReason,Rh as goalPauseReasonForFailure,Uh as goalPauseReasonForHeadlessFailure,Th as goalPauseReasonForRepeatedGaps,Vh as goalPauseReasonForRunBudget,Sh as goalPauseReasonForVerifierFailure,Eh as goalRequiresExactPermit,ei as goalRuntimeOf,fi as goalTaskEnd,uh as goalTokenBudgetReason,wh as goalTurnBudgetReason,mh as goalTurnContext,ur as handleAutomaticOAuth,ma as hasCycleInSchema,Kf as hasExplicitOutputLimit,Cr as hasNetworkTransport,bm as hasNonFinalTopLevelBackgroundOperator,gm as hasShellSubstitution,dm as hasUnsafeMonitorBackgroundOperator,Me as hashDaemonWorkspace,_u as hashMcpServerConfig,ht as hashValue,kt as hookEventSupportsMatcher,As as hydrateString,ao as ideContextStore,Ze as initializeDaemonMetrics,Bc as initializeTelemetry,We as injectDaemonTraceContext,Km as injectPermissionRulesIfMissing,Br as invokeMcpPrompt,b as isAbortError,s as isAccountInactiveError,Hd as isAnyAutoMemPath,ig as isApiError,Qm as isApprovalWaivedInPlanMode,bn as isApproveOutcome,Rm as isAutoEditApproved,vd as isAutoMemPath,Cu as isBareMode,Cn as isBinary,mb as isBinaryFile,Yf as isBrowserCommandBlocked,Xs as isClaudePluginConfig,mm as isCommandAllowed,lm as isCommandAvailable,nm as isCommandNeedsPermission,U as isDebugLoggingDegraded,Xm as isDenialFallbackReason,Hg as isDeviceAuthorizationSuccess,Jg as isDeviceTokenPending,Ig as isDeviceTokenSuccess,wn as isEditorAvailable,Fr as isEnabled,Kg as isErrorResponse,dk as isFinalAnswerResponse,St as isGatedMcpScope,lg as isGenericQuotaExceededError,ri as isGitRepository,zh as isGoalActiveTimeBudgetSpent,Ch as isGoalEvidenceProofKind,Ah as isGoalLimitKind,vh as isGoalTokenBudgetSpent,xh as isGoalTurnBudgetSpent,yo as isInProcessTeammate,en as isInSafeToolAllowlist,zl as isInvalidArgumentError,mg as isMatildaQuotaExceededError,zn as isModifiableDeclarativeTool,a as isNodeError,$o as isPathWithinRoot,Ob as isPerformanceMonitoringActive,Pm as isPlanModeBlocked,kg as isProQuotaExceededError,Al as isProcessAlive,ng as isRateLimitError,Fh as isRepeatedBlockerProposal,lf as isReportedOperationHeaderName,rg as isRetryableUpstreamError,Ce as isRuntimeDiagnosticsEnabled,yl as isSchemaDepthError,Hs as isScopedNpmPackage,Ut as isSdkMcpServerConfig,M as isSessionTranscript,Ba as isSettledStatus,jg as isStructuredError,I as isSubpath,J as isSubpaths,Aa as isSuccessStatus,xg as isSupportedImageMimeType,ll as isSystemReminderContent,Do as isTeamLead,Co as isTeammate,Ac as isTelemetrySdkInitialized,sn as isTerminalEditor,za as isTerminalStatus,Ss as isTomlFormat,la as isTool,Tl as isToolEnabled,Zg as isTransientCapacityError,_g as isUnattendedMode,$j as isUserAuthoredPromptRecord,Gd as isUserAutoMemPath,on as isValidEditorType,ul as isValidNonThoughtTextPart,Wl as isWindows,lb as isWithinRoot,Lf as knownTokenLimit,zt as layer,zr as listMcpPrompts,nq as listTasks,Wp as listTeamNames,It as loadIgnoreRules,qt as loadServerHierarchicalMemory,yu as loadUsageHistory,Oc as logApiCancel,Nc as logApiError,Kc as logApiRequest,Pc as logApiResponse,ed as logArenaAgentCompleted,fd as logArenaSessionEnded,dd as logArenaSessionStarted,ad as logAuth,Uc as logChatCompression,Tc as logConversationFinishedEvent,$c as logExtensionDisable,_c as logExtensionEnable,Xc as logExtensionInstallEvent,Yc as logExtensionUninstall,Zc as logExtensionUpdateEvent,Lc as logFlashFallback,Sc as logIdeConnection,Vc as logKittySequenceOverflow,jd as logMemoryDream,id as logMemoryExtract,kd as logMemoryRecall,Wc as logModelSlashCommand,Qc as logNextSpeakerCheck,gd as logPromptSuggestion,Mc as logRipgrepFallback,bd as logSkillLaunch,Rc as logSlashCommand,hd as logSpeculation,Fc as logStartSession,Ic as logToolCall,Jc as logToolOutputTruncated,cd as logUserFeedback,Gc as logUserPrompt,Hc as logUserRetry,Qf as loginToMatilda,hg as loginToMatildaWithBrowser,dg as logoutMatilda,ne as makeArenaAgentCompletedEvent,oe as makeArenaSessionEndedEvent,me as makeArenaSessionStartedEvent,_d as makeChatCompressionEvent,Cv as makeFakeConfig,D as makeRelative,Yd as makeSlashCommandEvent,Cm as matchesCommandPattern,Fm as matchesDomainPattern,Gm as matchesMcpPattern,Em as matchesPathPattern,Hm as matchesRule,Ng as matildaOAuth2Events,Of as matildaProvider,Zs as maybePromptForSettings,lr as mcpServerRequiresOAuth,Xr as mcpTransportOf,Ws as mergeClaudeConfigs,uu as metricsToUsageRecord,Lj as minimaxProvider,vt as modelProvidersSource,Vf as modelRegistryKey,Nj as modelscopeProvider,An as modifyWithEditor,Nm as needsConfirmation,Pn as needsUtf8Bom,Jf as normalize,Dn as normalizeContent,ol as normalizeModelToolCallIds,cm as normalizeMonitorCommand,ot as normalizeProxyUrl,es as normalizeSkillPriority,ni as normalizeStopHookBlockingCap,ye as normalizeStoredModelUsage,vu as normalizeUsageRecord,hq as notifyTasksUpdated,gq as onTasksUpdated,Ag as openBrowserSecurely,yn as openDiff,Jj as openRouterProvider,Be as openaiLogger,au as oversizedMediaPlaceholder,bs as parse,qi as parseAndFormatApiError,He as parseBooleanEnvFlag,Qr as parseConnectionId,Vi as parseDeletedFromNameStatus,Ti as parseGitDiff,Ms as parseGitHubRepoForReleases,Si as parseGitNumstat,fu as parseInsightMessage,$u as parseInstallSource,Bi as parseLineTolerant,Gs as parseNpmPackageSource,wm as parseRule,xm as parseRules,Ui as parseShortstat,Ie as parseTelemetryTargetValue,fk as parseThought,Yt as partListUnionToString,ah as partToString,hn as passesAcceptEditsFastPath,Ds as performVariableReplacement,Lm as persistPermissionOutcome,tu as persistSessionUsage,wr as populateMcpServerCommand,eh as prependToFirstTextPart,ob as processSingleFileContent,Lv as projectGoalCard,_s as promptForSetting,Kn as promptIdContext,Fj as providerMatchesCredentials,Di as read,Hl as readAutoMemoryIndex,gb as readFileWithEncoding,fb as readFileWithEncodingInfo,ib as readFileWithLineAndLimit,Zp as readInbox,fj as readLastConversationTimestampSync,kj as readLastJsonStringFieldSync,lj as readLastJsonStringFieldsSync,Ci as readLines,xv as readManyFiles,$f as readMatildaCredentials,sv as readPathFromWorkspace,cj as readRuntimeStatus,Rp as readTeamFile,Jl as readUserAutoMemoryIndex,Dt as readWorktreeSession,Qo as readWorktreeSessionMarker,Ym as recordAllow,yb as recordApiErrorMetrics,Kb as recordApiRequestBreakdown,xb as recordApiResponseMetrics,Db as recordApiRetry,Qb as recordArenaAgentCompletedMetrics,Rb as recordArenaSessionEndedMetrics,Pb as recordArenaSessionStartedMetrics,Nb as recordBaselineComparison,Zm as recordBlock,Bb as recordContentRetry,Cb as recordContentRetryFailure,Gb as recordCpuUsage,ef as recordDaemonBridgeError,ff as recordDaemonCancel,bf as recordDaemonChannelLifecycle,Se as recordDaemonError,$e as recordDaemonHttpRequest,Qe as recordDaemonHttpResponse,df as recordDaemonPromptDuration,cf as recordDaemonPromptQueueWait,af as recordDaemonSessionLifecycle,an as recordFallbackApprove,zb as recordFileOperationMetric,Ab as recordInvalidChunk,Tb as recordMemoryDreamMetrics,Sb as recordMemoryExtractMetrics,Ub as recordMemoryRecallMetrics,Fb as recordMemoryUsage,Mb as recordPerformanceRegression,Lb as recordPerformanceScore,ji as recordStartupEvent,Eb as recordStartupPerformance,Jb as recordTokenEfficiency,wb as recordTokenUsageMetrics,vb as recordToolCallMetrics,Ib as recordToolExecutionBreakdown,Hb as recordToolQueueDepth,_m as recordUnavailable,$h as recoverGoalFromRecords,Bs as recursivelyHydrateStrings,ug as redactProxyCredentials,ql as redactStructuredOutputArgsForRecording,Fs as redactUrlCredentials,wu as reestimateUsageFromAssistantRecord,fg as refreshMatildaCredentials,Cc as refreshSessionContext,_e as registerDaemonGaugeCallbacks,yp as registerLeader,rq as releaseOwnedTask,gi as releaseUnstartedGoalTurn,hi as releaseWithdrawnGoalTurn,pr as removeMCPServerStatus,nr as removeMCPStatusChangeListener,Z as renameWithRetry,aa as renameWithRetrySync,wl as repairOrphanedToolUseTurns,qj as replayUiTelemetryFromConversation,vf as reportCliAuthFunnelEvent,uf as reportCliClientEvent,Vq as reportedAttemptPurposeForSendMessageType,V as resetDebugLoggingState,cn as resetDenialState,Za as resetEncodingCache,oq as resetTaskList,Qn as resetUtf8BomCache,Bo as resolveActiveTeamName,N as resolveAndValidatePath,Cj as resolveBaseUrl,Hr as resolveBundleDir,km as resolveCommandPath,Tg as resolveContentGeneratorConfigWithSources,rt as resolveField,Wi as resolveGitDir,Yj as resolveLocalHistoryAccountScopeId,Zj as resolveLocalHistoryAccountScopeIdForCredentials,yq as resolveMaxConcurrentBackgroundAgents,xj as resolveMetadataKey,At as resolveModelConfig,Xg as resolveModelId,Is as resolveNpmRegistry,ze as resolveOpenAILogDir,st as resolveOptionalField,wj as resolveOwnsModel,K as resolvePath,kk as resolvePathFromEnv,Dm as resolvePathPattern,Jr as resolveRipgrep,oi as resolveStopHookBlockingCap,Je as resolveTelemetrySettings,tm as resolveToolName,Gt as restoreWorktreeContext,$g as retryWithBackoff,jv as rewritePathArgs,xu as rewriteUsageHistoryFromChats,rf as runAsyncGeneratorWithReportedOperationContext,Kq as runForkedAgent,sc as runInSubagentSpanContext,jc as runInToolSpanContext,Nr as runRipgrep,Yh as runSideQuery,Ve as runWithDaemonTelemetryContext,X as runWithDebugLogSession,Jq as runWithForkedChatModel,qf as runWithReportedAttemptPurpose,of as runWithReportedOperationContext,Fo as runWithTeammateIdentity,Ee as runtimeDiagnostics,wa as safeAgentId,Bn as safeLiteralReplace,H as sanitizeCwd,Wb as sanitizeHookName,Ip as sanitizeName,vj as sanitizeTitle,_j as sanitizeToolCallResultForRecording,zk as sanitizeUserPromptExpansionAdditionalContext,Fq as saveCacheSafeParams,uv as saveWelcomeBackRestartChoice,cq as sendStructuredMessage,Zi as serializeSnapshot,Gn as serializeTerminalToObject,En as serializeTerminalToText,Ln as sessionIdContext,W as setDebugLogSession,Ma as setGeminiMdFilename,tr as setMCPDiscoveryState,xc as setMatildaCorrelationHashes,Np as setMemberActive,ii as setStartupEventSink,ut as settingsSource,C as shortenPath,Zf as shouldAttemptBrowserLaunch,pm as shouldDefaultToNodePty,$m as shouldFallback,gv as shouldFilterSuggestion,kn as shouldFirePermissionDeniedForAutoMode,gn as shouldForceAutoModeReviewForAllow,Bg as shouldLaunchBrowser,fn as shouldRunAutoModeForCall,Ej as shouldShowStep,Dc as shutdownTelemetry,Tk as sleepInhibitor,Yl as splitCommands,Bm as splitCompoundCommand,fs as splitConditionalSkills,pc as startHookSpan,dc as startInteractionSpan,gc as startLLMRequestSpan,lv as startSpeculation,rc as startSubagentSpan,nc as startToolBlockedOnUserSpan,lc as startToolExecutionSpan,ic as startToolSpan,Wq as startsReportedOperation,cs as stringify,Sf as stripRuntimeSnapshotPrefix,$l as stripShellWrapper,ml as stripStartupContext,zi as stripTerminalControlSequences,am as stripTrailingBackgroundAmp,yv as subagentGenerator,Cs as substituteHookVariables,Ge as summarizeAnthropicWireRequest,Fe as summarizeOpenAIWireRequest,lp as summarizeUnifiedDiff,wo as teammateIdentityStore,uo as templateString,A as tildeifyPath,u as toFriendlyError,qm as toPosixPath,Mf as tokenLimit,vm as toolMatchesRuleToolName,xe as totalTokensFromBuckets,Xb as truncateContent,ru as truncateJson,cc as truncateSpanError,uj as tryGenerateSessionTitle,Up as tryReclaimStaleTeam,ta as uiTelemetryService,sq as unassignTeammateTasks,gj as unescapeJsonString,F as unescapePath,Ap as unregisterLeader,or as updateMCPServerStatus,bt as updateSetting,P as updateSymlink,lq as updateTask,Jh as validateGoalPauseReason,Hh as validateGoalProposalReason,Ug as validateModelConfig,it as validateName,L as validatePath,zs as validateVariables,gg as willOpenMatildaAuthBrowser,ab as windowsCodePageToEncoding,Pe as withDaemonBridgeSpan,Oe as withDaemonRequestSpan,Ne as withDaemonSpan,fc as withInteractionSpan,sf as withReportedAttemptPurpose,No as worktreeBranchForSlug,Cp as wrapConfirmWithBadge,Ji as write,Gi as writeLine,Ii as writeLineSync,ag as writeMatildaCredentials,_p as writeMessage,bj as writeRuntimeStatus,Sp as writeTeamFile,Eu as writeWorkspaceContextFile,Et as writeWorktreeSession,Po as writeWorktreeSessionMarker,Mj as zaiProvider};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{d as w,e as A}from"./chunk-MTMU7JYZ.js";import{g as h,i as x,p as d,q as S}from"./chunk-
|
|
3
|
+
import{d as w,e as A}from"./chunk-MTMU7JYZ.js";import{g as h,i as x,p as d,q as S}from"./chunk-T4P4KEDW.js";import{ba as g}from"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import{b as u}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";u();import C from"node:path";u();import k from"node:fs/promises";import f from"node:path";u();var D={".ts":"typescript",".tsx":"typescript",".js":"javascript",".jsx":"javascript",".mjs":"javascript",".cjs":"javascript",".py":"python",".go":"go",".rs":"rust",".java":"java"},T={typescript:[{kind:"interface",re:/^\s*(?:export\s+)?interface\s+([A-Za-z_$][\w$]*)/},{kind:"type",re:/^\s*(?:export\s+)?type\s+([A-Za-z_$][\w$]*)\s*=/},{kind:"enum",re:/^\s*(?:export\s+)?enum\s+([A-Za-z_$][\w$]*)/},{kind:"class",re:/^\s*(?:export\s+)?(?:abstract\s+)?class\s+([A-Za-z_$][\w$]*)/},{kind:"function",re:/^\s*(?:export\s+)?(?:async\s+)?function\s*\*?\s*([A-Za-z_$][\w$]*)/},{kind:"const",re:/^\s*(?:export\s+)?(?:const|let|var)\s+([A-Za-z_$][\w$]*)\s*=\s*(?:async\s*)?(?:\(|function\b)/},{kind:"method",re:/^\s+(?:public|private|protected|async|static|readonly|\s)*([A-Za-z_$][\w$]*)\s*\([^;]*\)\s*[:{]/}],javascript:[{kind:"class",re:/^\s*(?:export\s+)?class\s+([A-Za-z_$][\w$]*)/},{kind:"function",re:/^\s*(?:export\s+)?(?:async\s+)?function\s*\*?\s*([A-Za-z_$][\w$]*)/},{kind:"const",re:/^\s*(?:export\s+)?(?:const|let|var)\s+([A-Za-z_$][\w$]*)\s*=\s*(?:async\s*)?(?:\(|function\b)/}],python:[{kind:"class",re:/^\s*class\s+([A-Za-z_][\w]*)\s*[(:]/},{kind:"function",re:/^\s*(?:async\s+)?def\s+([A-Za-z_][\w]*)\s*\(/}],go:[{kind:"function",re:/^func\s+(?:\([^)]+\)\s+)?([A-Za-z_][\w]*)\s*\(/},{kind:"type",re:/^type\s+([A-Za-z_][\w]*)\s+(?:struct|interface|func|=)/}],rust:[{kind:"function",re:/^\s*(?:pub(?:\([^)]*\))?\s+)?(?:async\s+)?fn\s+([A-Za-z_][\w]*)/},{kind:"class",re:/^\s*(?:pub(?:\([^)]*\))?\s+)?(?:struct|enum|trait)\s+([A-Za-z_][\w]*)/}],java:[{kind:"class",re:/^\s*(?:public|private|protected)?\s*(?:abstract|final)?\s*class\s+([A-Za-z_][\w]*)/},{kind:"interface",re:/^\s*(?:public|private|protected)?\s*interface\s+([A-Za-z_][\w]*)/},{kind:"method",re:/^\s+(?:public|private|protected)\s+(?:static\s+)?[\w<>,\s[\]]+\s+([A-Za-z_][\w]*)\s*\(/}]};function y(m){let i=m.toLowerCase(),t=i.lastIndexOf(".");if(!(t<0))return D[i.slice(t)]}function _(m,i){let t=y(m);if(!t)return[];let o=T[t];if(!o)return[];let a=[],r=i.split(/\r?\n/);for(let e=0;e<r.length;e++){let s=r[e];for(let{kind:c,re:n}of o){let l=n.exec(s);if(l?.[1]&&!(l[1]==="if"||l[1]==="for"||l[1]==="while"||l[1]==="switch")){a.push({name:l[1],kind:c,filePath:m,line:e+1,snippet:s.trim().slice(0,200)});break}}}return a}var z=2e3,E=512*1024,p=class{constructor(i,t,o={}){this.rootDir=i;this.filePaths=t;this.opts=o}symbols=[];built=!1;async build(i){let t=this.opts.maxFiles??z,o=this.opts.maxFileBytes??E,a=[],r=0;for(let e of this.filePaths){if(i?.aborted||r>=t)break;let s=f.isAbsolute(e)?e:f.join(this.rootDir,e);if(!y(s))continue;let c;try{let l=await k.stat(s);if(!l.isFile()||l.size>o)continue;c=await k.readFile(s,"utf8")}catch{continue}let n=f.relative(this.rootDir,s)||s;a.push(..._(n,c)),r+=1}return this.symbols=a,this.built=!0,this.symbols.length}isBuilt(){return this.built}size(){return this.symbols.length}search(i){let t=i.query.trim().toLowerCase();if(!t)return[];let o=i.maxResults??25,a=i.pathPrefix?.replace(/\\/g,"/").toLowerCase(),r=[];for(let e of this.symbols){if(i.kind&&e.kind!==i.kind||a&&!e.filePath.replace(/\\/g,"/").toLowerCase().includes(a))continue;let s=e.name.toLowerCase(),c=0;if(s===t)c=100;else if(s.startsWith(t))c=80;else if(s.includes(t))c=50;else if(e.snippet.toLowerCase().includes(t))c=20;else continue;r.push({s:e,score:c})}return r.sort((e,s)=>s.score-e.score||e.s.filePath.localeCompare(s.s.filePath)),r.slice(0,o).map(e=>e.s)}};var $=g("SYMBOL_SEARCH"),v=new Map,F=6e4,b=class extends h{constructor(t,o){super(o);this.config=t}async getDefaultPermission(){return"allow"}getDescription(){return`Find symbol \`${this.params.query}\``}async execute(t){let o=this.params.query?.trim();if(!o)return{llmContent:"Error: query is required",returnDisplay:"Error: query is required",error:{message:"query is required",type:"invalid_tool_params"}};let a=this.config.getTargetDir();try{let r=await this.getOrBuildIndex(a,t),e=r.search({query:o,pathPrefix:this.params.path,kind:this.params.kind,maxResults:this.params.max_results??25});if(e.length===0)return{llmContent:`No symbols matching "${o}". Try grep_search for textual matches.`,returnDisplay:"No symbols found"};let s=e.map(n=>`${n.kind} ${n.name} \u2014 ${n.filePath}:${n.line}
|
|
4
4
|
${n.snippet}`);return{llmContent:[`Found ${e.length} symbol(s) for "${o}" (index size ${r.size()}):`,...s].join(`
|
|
5
5
|
`),returnDisplay:`Found ${e.length} symbol(s)`}}catch(r){let e=r instanceof Error?r.message:String(r);return $.debug(`symbol_search failed: ${e}`),{llmContent:`symbol_search failed: ${e}`,returnDisplay:"symbol_search failed",error:{message:e,type:"execution_failed"}}}}async getOrBuildIndex(t,o){let a=v.get(t);if(a&&Date.now()-a.builtAt<F&&a.index.isBuilt())return a.index;let r=A({projectRoot:t,useGitignore:!0,useMatildaignore:!0,ignoreDirs:["node_modules","dist",".git","coverage","vendor"]}),e=[];try{e=await w({crawlDirectory:t,cwd:t,ignore:r,useGitignore:!0,maxDepth:12,maxFiles:5e3,cache:!0,cacheTtl:60})}catch(n){$.debug(`crawl failed, indexing empty: ${n instanceof Error?n.message:String(n)}`),e=[]}if(o.aborted)throw new Error("symbol_search aborted");let s=e.map(n=>C.isAbsolute(n)&&C.relative(t,n)||n),c=new p(t,s);return await c.build(o),v.set(t,{index:c,builtAt:Date.now()}),c}},P=class extends x{constructor(t){super(d.SYMBOL_SEARCH,S.SYMBOL_SEARCH,"Search the workspace for code symbols (functions, classes, types, methods) by name. Prefer this over blind grep when looking for definitions. Falls back gracefully when a language is not indexed.","search",{type:"object",properties:{query:{type:"string",description:"Symbol name or substring to find"},path:{type:"string",description:"Optional path prefix to limit the search"},kind:{type:"string",enum:["function","class","method","interface","type","const","enum"],description:"Optional symbol kind filter"},max_results:{type:"number",description:"Maximum results to return (default 25)"}},required:["query"]});this.config=t}static Name=d.SYMBOL_SEARCH;createInvocation(t){return new b(this.config,t)}};export{P as SymbolSearchTool};
|
|
6
6
|
/**
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{a,b}from"./chunk-
|
|
3
|
+
import{a,b}from"./chunk-WHG6N5X2.js";import"./chunk-T4P4KEDW.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{a as STRUCTURED_OUTPUT_REDACTED_ARGS,b as SyntheticOutputTool};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import{a,b}from"./chunk-YMIF2DMT.js";import"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-QKYGQLWC.js";import"./chunk-T4P4KEDW.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{b as TaskCreateTool,a as truncateForConfirmation};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{a as d}from"./chunk-
|
|
3
|
+
import{a as d}from"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import{g as i,i as c,p as n,q as u}from"./chunk-T4P4KEDW.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import{b as a}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";a();var o=class extends i{constructor(r,e){super(e);this.config=r}getDescription(){return`Detach background task ${this.params.task_id}`}async execute(r){let e=this.params.task_id,t=this.config.getBackgroundTaskRegistry().get(e)??this.config.getBackgroundShellRegistry().get(e)??this.config.getMonitorRegistry().get(e);return t?t.status!=="running"?{llmContent:`Error: Background ${t.kind} "${e}" is not running (status: ${t.status}).`,returnDisplay:`Task not running (${t.status}).`,error:{message:`${t.kind} is ${t.status}: ${e}`,type:"task_detach_not_running"}}:{llmContent:(d.detach(t)?`Detached background ${t.kind} "${e}". It keeps running after the current request ends and reports its completion separately. Stop it with ${n.TASK_STOP} when it is no longer needed.`:`Background ${t.kind} "${e}" is not holding a request open; it keeps running.`)+`
|
|
4
4
|
Description: ${t.description}`,returnDisplay:`Detached: ${t.description}`}:{llmContent:`Error: No background task found with ID "${e}".`,returnDisplay:"Task not found.",error:{message:`Task not found: ${e}`,type:"task_detach_not_found"}}}},l=class s extends c{constructor(r){super(s.Name,u.TASK_DETACH,"Let a running background task keep running after the current request ends. Background tasks join the request that started them by default, and the request cannot finish until they do. Detach servers, watchers and other work that should outlive the request; its completion is reported separately.","other",{type:"object",properties:{task_id:{type:"string",description:"The ID of the background task to detach (from the launch response or notification)."}},required:["task_id"],additionalProperties:!1},!0,!1,!0,!1,"task detach background server watcher keep running");this.config=r}static Name=n.TASK_DETACH;createInvocation(r){return new o(this.config,r)}};export{l as TaskDetachTool};
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{k as d}from"./chunk-
|
|
3
|
+
import{k as d}from"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import{e as u,f as g}from"./chunk-QKYGQLWC.js";import{g as l,i as m,p,q as c}from"./chunk-T4P4KEDW.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import{b as n}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";n();var r=class extends l{constructor(t,a){super(a);this.config=t}getDescription(){let t=[];return this.params.status&&t.push(`status=${this.params.status}`),this.params.owner&&t.push(`owner=${this.params.owner}`),this.params.blockedBy&&t.push(`blockedBy=${this.params.blockedBy}`),t.length>0?`List tasks (${t.join(", ")})`:"List all tasks"}async execute(){let t=g(this.config.getTeamContext()?.teamName);if(!t){let s="No active team. Create a team first.";return{llmContent:s,returnDisplay:s,error:{message:s}}}let a=await d(t,{status:this.params.status,owner:this.params.owner,blockedBy:this.params.blockedBy});if(a.length===0){let s="No tasks found.";return{llmContent:s,returnDisplay:s}}let e=a.map(s=>`#${s.id} [${s.status}]`+(s.owner?` @${s.owner}`:"")+` \u2014 ${s.subject}`),o=this.config.getTeamManager();if(o&&!u()){try{let s=await o.getLeaderMessages();if(s.length>0){e.push(""),e.push("--- Teammate messages ---");for(let y of o.formatLeaderEnvelope(s))e.push(y)}}catch{}o.hasActiveTeammates()&&(e.push(""),e.push("NOTE: Teammates are still working. Their results will be delivered as messages \u2014 do NOT call task_list again to check. End your turn and wait for teammate messages."))}let h=e.join(`
|
|
4
4
|
`),k={type:"task_list",tasks:a.map(s=>({id:s.id,subject:s.subject,status:s.status,owner:s.owner}))};return{llmContent:h,returnDisplay:k}}},f=class i extends m{constructor(t){super(i.Name,c.TASK_LIST,"List tasks in the team task list. All filter parameters are optional.","read",{type:"object",properties:{status:{type:"string",enum:["pending","in_progress","completed"],description:"Filter by task status."},owner:{type:"string",description:"Filter by owner agent name."},blockedBy:{type:"string",description:"Filter for tasks blocked by this task ID."}},additionalProperties:!1});this.config=t}static Name=p.TASK_LIST;createInvocation(t){return new r(this.config,t)}};export{f as TaskListTool};
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{g as T,i as y,p as h,q as $}from"./chunk-
|
|
3
|
+
import{g as T,i as y,p as h,q as $}from"./chunk-T4P4KEDW.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import{b as f}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";f();var u=class extends T{constructor(e,t){super(t);this.config=e}getDescription(){return`Stop background task ${this.params.task_id}`}async execute(e){let t=this.params.task_id,d=this.config.getBackgroundTaskRegistry(),a=d.get(t);if(a){if(a.status==="paused"){if(!this.config.abandonBackgroundAgent(t))return{llmContent:`Error: Background agent "${t}" could not be cancelled from paused state.`,returnDisplay:"Task could not be cancelled.",error:{message:`Task could not be cancelled: ${t}`,type:"task_stop_not_running"}};let k=a.description;return{llmContent:`Cancelled paused background agent "${t}".
|
|
4
4
|
Description: ${k}`,returnDisplay:`Cancelled: ${k}`}}if(a.status!=="running")return l("agent",t,a.status);d.cancel(t);let c=a.description;return{llmContent:`Cancellation requested for background agent "${t}". A final task-notification carrying the agent's last result will follow.
|
|
5
5
|
Description: ${c}`,returnDisplay:`Cancelled: ${c}`}}let g=this.config.getBackgroundShellRegistry(),r=g.get(t);if(r)return r.status!=="running"?l("shell",t,r.status):(g.requestCancel(t),{llmContent:`Cancellation requested for background shell "${t}". Final status will be visible via /tasks (text) or the interactive Background tasks dialog (focus the footer Background tasks pill, then Enter) once the process drains; captured output remains at ${r.outputPath}.
|
|
6
6
|
Command: ${r.command}`,returnDisplay:`Cancelled shell: ${r.command}`});let m=this.config.getMonitorRegistry(),s=m.get(t);if(s)return s.status!=="running"?l("monitor",t,s.status):(m.cancel(t),{llmContent:`Monitor "${t}" cancelled. Status is visible via /tasks (text) or the interactive Background tasks dialog (focus the footer Background tasks pill, then Enter).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{a as N}from"./chunk-
|
|
3
|
+
import{a as N}from"./chunk-YMIF2DMT.js";import{a as h,b as f,g as $,h as y,i as g,j as v,k as I}from"./chunk-2HQMJ2IU.js";import"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import{d as k,f as j,g as P}from"./chunk-QKYGQLWC.js";import{g as T,i as C,p as b,q as D}from"./chunk-T4P4KEDW.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import{b as w}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";w();async function A(u,n,e,s){let i=await I(u),d=new Map,l=(t,r)=>{let a=d.get(t);a||(a=new Set,d.set(t,a)),a.add(r)};for(let t of i){for(let r of t.blocks)l(t.id,r);for(let r of t.blockedBy)l(r,t.id)}for(let t of e)l(n,t);for(let t of s)l(t,n);let o=[],c=new Set,p=t=>{o.push(t);for(let r of d.get(t)??[]){if(r===n)return[...o,n];if(c.has(r))continue;c.add(r);let a=p(r);if(a)return a}return o.pop(),null};return c.add(n),p(n)}var B=class extends T{constructor(e,s){super(s);this.config=e}getDescription(){let e=[`Task #${this.params.taskId}`];return this.params.status&&e.push(`\u2192 ${this.params.status}`),this.params.owner&&e.push(`owner: ${this.params.owner}`),e.join(" ")}async getDefaultPermission(){return"ask"}getConfirmationDetails(e){let s=[this.getDescription()];this.params.subject!==void 0&&s.push(`subject: ${this.params.subject}`),this.params.addBlocks?.length&&s.push(`blocks: ${this.params.addBlocks.join(", ")}`),this.params.addBlockedBy?.length&&s.push(`blocked by: ${this.params.addBlockedBy.join(", ")}`),this.params.description!==void 0&&s.push("",N(this.params.description));let i={type:"info",title:"Confirm TaskUpdate",prompt:s.join(`
|
|
4
4
|
`),onConfirm:async()=>{}};return Promise.resolve(i)}async execute(){let e=j(this.config.getTeamContext()?.teamName);if(!e){let t="No active team. Create a team first.";return{llmContent:t,returnDisplay:t,error:{message:t}}}let{taskId:s}=this.params;try{f(s);for(let t of this.params.addBlocks??[])f(t);for(let t of this.params.addBlockedBy??[])f(t)}catch(t){let r=t instanceof Error?t.message:String(t);return{llmContent:r,returnDisplay:r,error:{message:r}}}let i=P()?k():void 0;if(this.params.status==="deleted"){let t;try{t=await v(e,s,i!==void 0?{callerName:i}:void 0)}catch(a){if(a instanceof y)return{llmContent:a.message,returnDisplay:a.message,error:{message:a.message}};throw a}if(!t){let a=`Task #${s} not found.`;return{llmContent:a,returnDisplay:a,error:{message:a}}}let r=`Task #${s} deleted.`;return{llmContent:r,returnDisplay:r}}if(this.params.addBlocks?.includes(s)||this.params.addBlockedBy?.includes(s)){let t=`Cannot update task #${s}: a task cannot block or be blocked by itself.`;return{llmContent:t,returnDisplay:t,error:{message:t}}}let d=new Set;for(let t of this.params.addBlocks??[])t!==s&&d.add(t);for(let t of this.params.addBlockedBy??[])t!==s&&d.add(t);if(d.size>0){let t=[];if(await Promise.all(Array.from(d).map(async a=>{await $(e,a)||t.push(a)})),t.length>0){let a=t.sort().map(U=>`#${U}`).join(", "),m=`Cannot update task #${s}: referenced task${t.length===1?"":"s"} ${a} not found.`;return{llmContent:m,returnDisplay:m,error:{message:m}}}let r=await A(e,s,this.params.addBlocks??[],this.params.addBlockedBy??[]);if(r){let a=`Cannot update task #${s}: this would create a dependency cycle (${r.map(m=>`#${m}`).join(" \u2192 ")}).`;return{llmContent:a,returnDisplay:a,error:{message:a}}}}let l=this.params.status==="in_progress"&&this.params.owner===void 0?k():void 0;if(this.params.status==="in_progress"&&!this.params.owner&&!l){let t=`Cannot move task #${s} to in_progress without an owner. Specify the "owner" parameter.`;return{llmContent:t,returnDisplay:t,error:{message:t}}}let o;try{o=await g(e,s,{status:this.params.status,owner:this.params.owner??l,subject:this.params.subject,description:this.params.description,activeForm:this.params.activeForm,metadata:this.params.metadata,addBlocks:this.params.addBlocks,addBlockedBy:this.params.addBlockedBy},i!==void 0?{callerName:i}:void 0)}catch(t){if(t instanceof y)return{llmContent:t.message,returnDisplay:t.message,error:{message:t.message}};throw t}if(!o){let t=`Task #${s} not found.`;return{llmContent:t,returnDisplay:t,error:{message:t}}}let c=[];if(this.params.addBlocks?.length&&this.params.status!=="completed")for(let t of this.params.addBlocks)t!==s&&c.push(g(e,t,{addBlockedBy:[s]},{callerName:h}));if(this.params.addBlockedBy?.length)for(let t of this.params.addBlockedBy)t!==s&&c.push(g(e,t,{addBlocks:[s]},{callerName:h}));c.length>0&&await Promise.all(c);let p=`Task #${s} updated (status: ${o.status}`+(o.owner?`, owner: ${o.owner}`:"")+").";return{llmContent:p,returnDisplay:p}}},S=class u extends C{constructor(e){super(u.Name,D.TASK_UPDATE,'Update an existing task. Can change status, owner, subject, description, and blocking relationships. Set status to "deleted" to remove a task. Setting status to "in_progress" auto-assigns you as owner if no owner is set.',"other",{type:"object",properties:{taskId:{type:"string",description:"ID of the task to update."},status:{type:"string",enum:["pending","in_progress","completed","deleted"],description:"New task status."},owner:{type:"string",description:"New owner agent name. Set to empty string to unassign."},subject:{type:"string",maxLength:200,description:"Updated task title."},description:{type:"string",maxLength:1e4,description:"Updated task description."},activeForm:{type:"string",maxLength:200,description:"Present tense label for UI."},metadata:{type:"object",description:"Metadata to merge. Set a key to null to delete it."},addBlocks:{type:"array",items:{type:"string"},description:"Task IDs that this task blocks."},addBlockedBy:{type:"array",items:{type:"string"},description:"Task IDs that block this task."}},required:["taskId"],additionalProperties:!1});this.config=e}static Name=b.TASK_UPDATE;createInvocation(e){return new B(this.config,e)}toAutoClassifierInput(e){return{taskId:e.taskId,status:e.status,owner:e.owner,subject:e.subject,description:e.description,addBlocks:e.addBlocks,addBlockedBy:e.addBlockedBy}}};export{S as TaskUpdateTool};
|
|
5
5
|
/**
|
|
6
6
|
* @license
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{Hg as D,wg as u}from"./chunk-
|
|
3
|
+
import{Hg as D,wg as u}from"./chunk-VVIJGBQK.js";import"./chunk-TZIDSCTF.js";import"./chunk-TXMXCR7D.js";import"./chunk-YULUB745.js";import"./chunk-NYEWHSBL.js";import{l as A}from"./chunk-QN6WSWMM.js";import{l as C}from"./chunk-2HQMJ2IU.js";import{e as w,h as T,i as k,j as b,t as o,u as v}from"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import"./chunk-MTMU7JYZ.js";import"./chunk-SPW5DXX4.js";import"./chunk-RNKDFE2S.js";import"./chunk-TO3ID3JW.js";import"./chunk-MKFQMX37.js";import"./chunk-47XR7IMP.js";import"./chunk-FFFZ2QMG.js";import"./chunk-SNLH42QJ.js";import"./chunk-HYVP4472.js";import{k as f,l as y}from"./chunk-QKYGQLWC.js";import"./chunk-QH7736R5.js";import"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-66NIIU2R.js";import"./chunk-GUFIMKF5.js";import"./chunk-YSIECQIZ.js";import"./chunk-DC7LAFZZ.js";import"./chunk-4F4DA5UI.js";import"./chunk-SUH3UUWZ.js";import"./chunk-4J6DC24J.js";import"./chunk-LJR4RZZ2.js";import"./chunk-U347OO7S.js";import"./chunk-SDTWBD62.js";import"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{g as c,i as g,p as h,q as p}from"./chunk-T4P4KEDW.js";import"./chunk-S4UT3QLV.js";import"./chunk-XCFLI3OC.js";import"./chunk-ESSYHTAZ.js";import"./chunk-3YLXGE6T.js";import"./chunk-GO2GA2GY.js";import{b as d}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as l}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";l();var i=class extends c{constructor(e,a){super(a);this.config=e}getDescription(){return`Create team "${this.params.team_name}"`}async execute(){let e=k(this.params.team_name);if(!e){let t="Team name is required.";return{llmContent:t,returnDisplay:t,error:{message:t}}}if(this.config.getArenaManager()){let t="Cannot create a team while an Arena session is active. End the Arena session first.";return{llmContent:t,returnDisplay:t,error:{message:t}}}if(this.config.getTeamManager()){let t="A team is already active. Delete it before creating a new one.";return{llmContent:t,returnDisplay:t,error:{message:t}}}let a=b(y,e),s={name:e,description:this.params.description,createdAt:Date.now(),leadAgentId:a,leadSessionId:this.config.getSessionId(),leadPid:process.pid,members:[]};try{await o(e,s)}catch(t){if(d(t)&&t.code==="EEXIST"){if(!await v(e)){let n=`Team "${e}" already exists and appears to be owned by a live matilda-code session. Pick a different name, or \u2014 if you're sure no other session is using it \u2014 remove the on-disk artifacts manually:
|
|
4
4
|
rm -rf "${w(e)}" "${T(e)}"`;return{llmContent:n,returnDisplay:n,error:{message:n}}}await o(e,s)}else throw t}await C(e),await A(e);let m=new u(this.config);await m.init();let x=new D(m,s,this.config.getSubagentManager(),{maxTeammates:this.config.getAgentsSettings().team?.maxTeammates});this.config.setTeamManager(x);let N={teamName:e,leadAgentId:a,teammates:{}};this.config.setTeamContext(N);let E={type:"team_result",teamName:e,action:"created"};return{llmContent:`Team "${e}" created.`+(this.params.description?` Description: ${this.params.description}`:""),returnDisplay:E}}},I=class r extends g{constructor(e){super(r.Name,p.TEAM_CREATE,`# TeamCreate
|
|
5
5
|
|
|
6
6
|
## When to Use
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{c as T,f}from"./chunk-
|
|
3
|
+
import{c as T,f}from"./chunk-QN6WSWMM.js";import{v as o}from"./chunk-W5CGKUM4.js";import"./chunk-TISQNFB5.js";import{g}from"./chunk-QKYGQLWC.js";import{g as l,i as c,p,q as u}from"./chunk-T4P4KEDW.js";import"./chunk-GO2GA2GY.js";import{ba as i}from"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import{b as m}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";m();var E=i("TEAM_DELETE"),r=class extends l{constructor(t,n){super(n);this.config=t}getDescription(){return"Delete current team"}async execute(){if(g()){let e="Only the team leader can delete the team.";return{llmContent:e,returnDisplay:e,error:{message:e}}}let t=this.config.getTeamManager();if(!t){let e="No active team to delete.";return{llmContent:e,returnDisplay:e,error:{message:e}}}let a=t.getTeamFile().name;try{await t.cleanup()}catch(e){E.warn("Team cleanup failed; resetting team state anyway:",e)}await o(a),await new Promise(e=>setTimeout(e,250)),await o(a),f(a),this.config.setTeamManager(null),this.config.setTeamContext(null),T();let y={type:"team_result",teamName:a,action:"deleted"};return{llmContent:`Team "${a}" deleted.`,returnDisplay:y}}},d=class s extends c{constructor(t){super(s.Name,u.TEAM_DELETE,"Delete the current team. Stops all teammates, cleans up team files, tasks, and inboxes. Only the team leader can use this.","delete",{type:"object",properties:{},additionalProperties:!1});this.config=t}static Name=p.TEAM_DELETE;createInvocation(t){return new r(this.config,t)}};export{d as TeamDeleteTool};
|
|
4
4
|
/**
|
|
5
5
|
* @license
|
|
6
6
|
* Copyright 2025 Matilda
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
// Force strict mode and setup for ESM
|
|
2
|
+
"use strict";
|
|
3
|
+
import{a,b,c}from"./chunk-4CSSDBOS.js";import"./chunk-JXUDKX6D.js";import"./chunk-T4P4KEDW.js";import"./chunk-GO2GA2GY.js";import"./chunk-MH2P4YXC.js";import"./chunk-FWDMPRKU.js";import"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";export{c as TodoWriteTool,b as listTodoSessions,a as readTodosForSession};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Force strict mode and setup for ESM
|
|
2
2
|
"use strict";
|
|
3
|
-
import{Cc as N}from"./chunk-
|
|
3
|
+
import{Cc as N}from"./chunk-FRRBNNEB.js";import"./chunk-WVY2P6WH.js";import"./chunk-UIRBHC5X.js";import"./chunk-ELH4YHJR.js";import"./chunk-WHG6N5X2.js";import{g as v,i as R,p as E,q as L}from"./chunk-T4P4KEDW.js";import"./chunk-GO2GA2GY.js";import{ba as S}from"./chunk-MH2P4YXC.js";import"./chunk-G7R2XEEF.js";import"./chunk-OA56BXPD.js";import"./chunk-FWDMPRKU.js";import{b as C}from"./chunk-GZPNIYVZ.js";import"./chunk-OWGSC52X.js";C();var y=S("TOOL_SEARCH"),D=5,A=20,b=10,x=5,$=4,k=2,q=12,M=6,P=`Fetches function declarations for deferred tools and registers them with the active session so subsequent turns can call them.
|
|
4
4
|
|
|
5
5
|
Deferred tools appear by name in the deferred-tools startup reminder. Until fetched, only the name is known \u2014 there is no parameter schema, so the tool cannot be invoked. This tool takes a query, matches it against the deferred tool list, and returns the matched tools' function declarations (name + description + parameter schema) inside a <functions> block.
|
|
6
6
|
|