@intent-hq/web 2.369.0 → 2.370.0
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/bin/intent-web.mjs +113 -2
- package/package.json +1 -1
- package/web/app/immutable/chunks/{DodshHwq.js → -7AqlW5j.js} +1 -1
- package/web/app/immutable/chunks/{Qnx8Hmfg.js → 1DKpnRTj.js} +1 -1
- package/web/app/immutable/chunks/{Ck5xuk0H.js → 1GGKXNxU.js} +1 -1
- package/web/app/immutable/chunks/{C6vnD-WG.js → 1GrJvO3a.js} +1 -1
- package/web/app/immutable/chunks/{s1m3ujOc.js → 1pIqWRUk.js} +1 -1
- package/web/app/immutable/chunks/{CV10cSI4.js → 1q0xL14K.js} +1 -1
- package/web/app/immutable/chunks/{C6yPb5D8.js → 5lieSvED.js} +1 -1
- package/web/app/immutable/chunks/{oZkhvgMl.js → 9-nUCsGi.js} +1 -1
- package/web/app/immutable/chunks/{V6SVTu37.js → 9sCF_0su.js} +1 -1
- package/web/app/immutable/chunks/{D0Z6csIX.js → A4nvdmL6.js} +1 -1
- package/web/app/immutable/chunks/{9wk-Hes5.js → B-1iBpaq.js} +1 -1
- package/web/app/immutable/chunks/{CDqnAH9U.js → B-_ROixI.js} +2 -2
- package/web/app/immutable/chunks/{iI6LFAGI.js → B-kUJzil.js} +1 -1
- package/web/app/immutable/chunks/{AIQuxhpV.js → B0SoVMRS.js} +1 -1
- package/web/app/immutable/chunks/{ykNMRL6H.js → B1hj1DGj.js} +1 -1
- package/web/app/immutable/chunks/{tVHyNPqL.js → B1lYPzEU.js} +1 -1
- package/web/app/immutable/chunks/{DF0Pm5yp.js → B2AfKG58.js} +2 -2
- package/web/app/immutable/chunks/{DyBkeTEM.js → B3Gso1ut.js} +1 -1
- package/web/app/immutable/chunks/{BJTl-SyI.js → B8_Ff8zl.js} +1 -1
- package/web/app/immutable/chunks/{CMRXUPn9.js → B9BjyTgZ.js} +1 -1
- package/web/app/immutable/chunks/{B3rtR-T9.js → B9mj0qwd.js} +1 -1
- package/web/app/immutable/chunks/{SX1khnGy.js → BAymCgEX.js} +1 -1
- package/web/app/immutable/chunks/{DMl4Z5o_.js → BBWuirRW.js} +1 -1
- package/web/app/immutable/chunks/{Dy_4BU07.js → BCQ1W7zT.js} +3 -3
- package/web/app/immutable/chunks/{C3CJZFT3.js → BDA31WCY.js} +1 -1
- package/web/app/immutable/chunks/{DZTT1V6G.js → BDcauMkX.js} +1 -1
- package/web/app/immutable/chunks/{CQw_RyF_.js → BEV9WkWU.js} +1 -1
- package/web/app/immutable/chunks/{D4q8ggLU.js → BG2RPA7A.js} +2 -2
- package/web/app/immutable/chunks/{CxVedbHg.js → BGT9uvaQ.js} +5 -5
- package/web/app/immutable/chunks/{BUHAwVs7.js → BHaE4286.js} +1 -1
- package/web/app/immutable/chunks/{CGOlqeU_.js → BIv0yV05.js} +1 -1
- package/web/app/immutable/chunks/{CuHlAB4d.js → BR2t5nsF.js} +2 -2
- package/web/app/immutable/chunks/{DUItrdZb.js → BRRvOx4M.js} +1 -1
- package/web/app/immutable/chunks/{B6P0nIFd.js → BSD34ZVo.js} +1 -1
- package/web/app/immutable/chunks/{oOuL5l8A.js → BSfkjlLx.js} +1 -1
- package/web/app/immutable/chunks/{DWLnWMNZ.js → BSsEOl8-.js} +1 -1
- package/web/app/immutable/chunks/{ge7HDe-3.js → BUA7BUyu.js} +1 -1
- package/web/app/immutable/chunks/{CJb9CQqu.js → BVLa_5Le.js} +1 -1
- package/web/app/immutable/chunks/{CpL3Nqus.js → BX9hgO_H.js} +1 -1
- package/web/app/immutable/chunks/{BgJ-6yg0.js → BYMXwcID.js} +1 -1
- package/web/app/immutable/chunks/{DNieQhK8.js → B_IEMfS6.js} +3 -3
- package/web/app/immutable/chunks/{C5rcw_c7.js → Bc7pHsTy.js} +1 -1
- package/web/app/immutable/chunks/{BipEZFvA.js → Bg7YNbVH.js} +1 -1
- package/web/app/immutable/chunks/{nRmTo2Eh.js → BgPtjifd.js} +1 -1
- package/web/app/immutable/chunks/{Cp81xhuN.js → BhZDGIfe.js} +1 -1
- package/web/app/immutable/chunks/{COmDhl6S.js → Bi0vr71w.js} +1 -1
- package/web/app/immutable/chunks/{DfSzfqox.js → BimRiD6s.js} +1 -1
- package/web/app/immutable/chunks/{Ckp5O1pb.js → BinPWBvt.js} +1 -1
- package/web/app/immutable/chunks/{Ch30XVIS.js → BkFHmpuY.js} +1 -1
- package/web/app/immutable/chunks/{6i_wfV3v.js → Blu9C_Vv.js} +1 -1
- package/web/app/immutable/chunks/{CgXGPBF5.js → BmBa9vQp.js} +1 -1
- package/web/app/immutable/chunks/{BTIkMWVv.js → BmjF1SON.js} +1 -1
- package/web/app/immutable/chunks/{ByCxDC-R.js → BnNJN3Ls.js} +1 -1
- package/web/app/immutable/chunks/{BxOfEPjL.js → BnhOIUmr.js} +1 -1
- package/web/app/immutable/chunks/{DzFkUqsC.js → Bp098-aN.js} +1 -1
- package/web/app/immutable/chunks/{BLzqYDED.js → BpEHjU4g.js} +1 -1
- package/web/app/immutable/chunks/Bqd7fdCF.js +1 -0
- package/web/app/immutable/chunks/{BuveYyQe.js → Bqm2Rf6d.js} +1 -1
- package/web/app/immutable/chunks/{BuLzqNKd.js → BqxcrzZH.js} +1 -1
- package/web/app/immutable/chunks/{TaTYmBM5.js → Bu13V5mO.js} +1 -1
- package/web/app/immutable/chunks/{B2CG0f08.js → BulBKnVz.js} +1 -1
- package/web/app/immutable/chunks/{P4OctF9m.js → Bus1Z5ou.js} +1 -1
- package/web/app/immutable/chunks/{CLalkdxk.js → BvKqDQXM.js} +1 -1
- package/web/app/immutable/chunks/{U3137Ii1.js → BvZfa6RH.js} +1 -1
- package/web/app/immutable/chunks/{DWsHBNeU.js → Bvo32SXP.js} +1 -1
- package/web/app/immutable/chunks/{DLEm9Cyg.js → BwtGEQS3.js} +1 -1
- package/web/app/immutable/chunks/{BE2y8JEQ.js → BzFy3u2D.js} +1 -1
- package/web/app/immutable/chunks/{CqesqBNM.js → C0wua3Vt.js} +1 -1
- package/web/app/immutable/chunks/{Cmm2Uwq6.js → C14Hgf8a.js} +1 -1
- package/web/app/immutable/chunks/{zhSFUcJz.js → C1AEP5wW.js} +1 -1
- package/web/app/immutable/chunks/{D1cY0pVs.js → C2Vj5Vs6.js} +1 -1
- package/web/app/immutable/chunks/{ClSUFCtq.js → C2YH0P-B.js} +1 -1
- package/web/app/immutable/chunks/{DQUvqa9o.js → CA2ANaNj.js} +1 -1
- package/web/app/immutable/chunks/{C3SM2b7L.js → CADQyVDS.js} +2 -2
- package/web/app/immutable/chunks/{DMjF7NYG.js → CBRZjI7P.js} +2 -2
- package/web/app/immutable/chunks/{BDbtK9be.js → CBafvv8h.js} +1 -1
- package/web/app/immutable/chunks/{BnRltR11.js → CCSbqNiH.js} +1 -1
- package/web/app/immutable/chunks/{DzMdBKPh.js → CCrwZkau.js} +1 -1
- package/web/app/immutable/chunks/{Q8rtHwbz.js → CCsCF1Mh.js} +1 -1
- package/web/app/immutable/chunks/CFNJHO2G.js +1 -0
- package/web/app/immutable/chunks/{CxmJEenA.js → CGzD6XfW.js} +1 -1
- package/web/app/immutable/chunks/{3_UV1UgL.js → CH7fgKro.js} +1 -1
- package/web/app/immutable/chunks/CK4eAyad.js +1 -0
- package/web/app/immutable/chunks/{Cstrfm23.js → CKnpbRTh.js} +4 -4
- package/web/app/immutable/chunks/{DCOxMTSf.js → CL3a4Hm1.js} +1 -1
- package/web/app/immutable/chunks/{uWDJKH9B.js → CMLBE7U6.js} +1 -1
- package/web/app/immutable/chunks/{C7H74phM.js → CPlH-52U.js} +1 -1
- package/web/app/immutable/chunks/{XPs8BW44.js → CQAAihrI.js} +1 -1
- package/web/app/immutable/chunks/{CnM1-KSC.js → CQHtdg39.js} +1 -1
- package/web/app/immutable/chunks/{dx9b_0TP.js → CQ_NwL45.js} +2 -2
- package/web/app/immutable/chunks/{DupNtpYi.js → CR2m4w2U.js} +1 -1
- package/web/app/immutable/chunks/{CFvGekuw.js → CRNfAyhd.js} +1 -1
- package/web/app/immutable/chunks/{CLg2G62j.js → CRY4aELR.js} +3 -3
- package/web/app/immutable/chunks/{BsjFeGOg.js → CSBGusi9.js} +1 -1
- package/web/app/immutable/chunks/{BgVn7-pK.js → CUMRLgxB.js} +1 -1
- package/web/app/immutable/chunks/{DrBi0w5G.js → CUNx-_2d.js} +4 -4
- package/web/app/immutable/chunks/{CSFyiYHp.js → CUdMuhJF.js} +1 -1
- package/web/app/immutable/chunks/{CF2xUnmW.js → CY-vjmpy.js} +1 -1
- package/web/app/immutable/chunks/{C1McR-sz.js → CYKOPxuJ.js} +1 -1
- package/web/app/immutable/chunks/{CMqhKAKf.js → C_-WdiR8.js} +1 -1
- package/web/app/immutable/chunks/{DZCGZjzG.js → C_E26DWe.js} +1 -1
- package/web/app/immutable/chunks/{CxF8L5mw.js → CaHds95Q.js} +1 -1
- package/web/app/immutable/chunks/{CJj_lU-4.js → Caqml6gj.js} +1 -1
- package/web/app/immutable/chunks/{BXHaIh_f.js → CbRNm5he.js} +1 -1
- package/web/app/immutable/chunks/{Zldsekdv.js → CbRsc9i4.js} +1 -1
- package/web/app/immutable/chunks/{Bf02lG8Y.js → CblB0zCN.js} +1 -1
- package/web/app/immutable/chunks/{BQGSaBlM.js → CbyU6cEf.js} +1 -1
- package/web/app/immutable/chunks/{Cdw_CIdg.js → CdOh_Fmv.js} +1 -1
- package/web/app/immutable/chunks/{BsE4jMhr.js → CfUtc4-L.js} +1 -1
- package/web/app/immutable/chunks/{Bq_CYpxm.js → CgS_FiQI.js} +1 -1
- package/web/app/immutable/chunks/{CF1Tu_8c.js → Cgn_eC9-.js} +3 -3
- package/web/app/immutable/chunks/{XJqoy2ap.js → CgwFGLCK.js} +1 -1
- package/web/app/immutable/chunks/{sG8VksRm.js → Chnr0_jK.js} +1 -1
- package/web/app/immutable/chunks/{BR9s3igW.js → CiZzqOpk.js} +1 -1
- package/web/app/immutable/chunks/{0jRiL-di.js → CjTGc2Y5.js} +1 -1
- package/web/app/immutable/chunks/{Cs_DX3BC.js → Cj_UUgNI.js} +1 -1
- package/web/app/immutable/chunks/{Bo900RGs.js → CkrbZXJF.js} +1 -1
- package/web/app/immutable/chunks/{E_jRuW-b.js → CmVXj6KK.js} +2 -2
- package/web/app/immutable/chunks/{DWjKA8Pm.js → CmW3Zqh6.js} +1 -1
- package/web/app/immutable/chunks/{LKW_Bid7.js → CnztNSaN.js} +1 -1
- package/web/app/immutable/chunks/{C3YB0zcV.js → Cq4X6ptS.js} +1 -1
- package/web/app/immutable/chunks/{8TQkfju3.js → CqVZxU_G.js} +1 -1
- package/web/app/immutable/chunks/{CASKMy_V.js → CqwiFk32.js} +1 -1
- package/web/app/immutable/chunks/{DdkDv5Sd.js → Cv2YUgTX.js} +1 -1
- package/web/app/immutable/chunks/{CeBDdapO.js → CwWm64yZ.js} +1 -1
- package/web/app/immutable/chunks/{D3SYIfTl.js → CyWgrZMk.js} +4 -4
- package/web/app/immutable/chunks/{p8jwzOYN.js → CylWx-GB.js} +1 -1
- package/web/app/immutable/chunks/{BVVyDeyd.js → CzS5ny-g.js} +1 -1
- package/web/app/immutable/chunks/{Bs9TCQJX.js → CzW29tkb.js} +1 -1
- package/web/app/immutable/chunks/{Cc2FSrQK.js → D-NrCL67.js} +1 -1
- package/web/app/immutable/chunks/{BgLPrJ77.js → D0DIS-cT.js} +1 -1
- package/web/app/immutable/chunks/{dP7u_sPF.js → D1V2Et17.js} +1 -1
- package/web/app/immutable/chunks/{DRLOB6Gw.js → D1bivTve.js} +2 -2
- package/web/app/immutable/chunks/{C7RXZVwZ.js → D2dAlclh.js} +3 -3
- package/web/app/immutable/chunks/{CC08YY4X.js → D5_auhOU.js} +2 -2
- package/web/app/immutable/chunks/{hHeBjODU.js → D69ZLPjW.js} +1 -1
- package/web/app/immutable/chunks/{BswUVSRu.js → D6VfSAVQ.js} +1 -1
- package/web/app/immutable/chunks/{JKboQXkL.js → D6dNunKo.js} +1 -1
- package/web/app/immutable/chunks/{Cu0mADIg.js → D9MwZkzV.js} +1 -1
- package/web/app/immutable/chunks/{KykWEhyB.js → DB9n2KBT.js} +1 -1
- package/web/app/immutable/chunks/{v2EYTTpI.js → DBdkAKrm.js} +3 -3
- package/web/app/immutable/chunks/{6GNWsakm.js → DCW2c0FY.js} +1 -1
- package/web/app/immutable/chunks/{CiyIhnuP.js → DC_1j_gh.js} +3 -3
- package/web/app/immutable/chunks/{Druyrynh.js → DELYEsRi.js} +1 -1
- package/web/app/immutable/chunks/{B_QtiZYt.js → DFBd8tOh.js} +1 -1
- package/web/app/immutable/chunks/{Dbpb1w7S.js → DFr6bn5t.js} +3 -3
- package/web/app/immutable/chunks/{CgeBiXYG.js → DISyGoja.js} +1 -1
- package/web/app/immutable/chunks/{C-dUgTvj.js → DIukqb9l.js} +1 -1
- package/web/app/immutable/chunks/{lVHjTAAb.js → DJFAYXyc.js} +1 -1
- package/web/app/immutable/chunks/{BR5vKj6f.js → DL1CE4TH.js} +1 -1
- package/web/app/immutable/chunks/{D-2bQKif.js → DONrLvvt.js} +1 -1
- package/web/app/immutable/chunks/{DpSi4PLY.js → DRy2oEmj.js} +1 -1
- package/web/app/immutable/chunks/{RsJMsDHX.js → DSacn4II.js} +1 -1
- package/web/app/immutable/chunks/{DcvxsgOZ.js → DUGztmZo.js} +1 -1
- package/web/app/immutable/chunks/{Bp0nVWtT.js → DWDPOFkL.js} +1 -1
- package/web/app/immutable/chunks/{CMh2xRIF.js → DWEA_zul.js} +1 -1
- package/web/app/immutable/chunks/{BgDYQZ_0.js → DZIz7Wk9.js} +1 -1
- package/web/app/immutable/chunks/{D1FzC71c.js → DZRLhNnQ.js} +1 -1
- package/web/app/immutable/chunks/{D8BdISor.js → D_-ztW_Y.js} +1 -1
- package/web/app/immutable/chunks/{D9d8HfDB.js → D_hG-oZK.js} +1 -1
- package/web/app/immutable/chunks/{C2jA6pM8.js → D_r5h8IL.js} +1 -1
- package/web/app/immutable/chunks/{aHO4L7kg.js → Dawt227W.js} +1 -1
- package/web/app/immutable/chunks/{Csxq8_TN.js → Db8-C0Zq.js} +1 -1
- package/web/app/immutable/chunks/{B3Zt92Gh.js → DbCFTbwM.js} +1 -1
- package/web/app/immutable/chunks/{CLZkKjaI.js → DcUCHDGY.js} +1 -1
- package/web/app/immutable/chunks/{DcmaumPg.js → DeE0yn_3.js} +1 -1
- package/web/app/immutable/chunks/{C9r0mVfa.js → Dekzflbl.js} +1 -1
- package/web/app/immutable/chunks/{DqgCp5ae.js → Df-HaYIr.js} +1 -1
- package/web/app/immutable/chunks/{B5L5kFMu.js → DgMr61cU.js} +1 -1
- package/web/app/immutable/chunks/{S5vPfW1A.js → DkJkWZTE.js} +1 -1
- package/web/app/immutable/chunks/{BW6PhteS.js → DksUdusM.js} +1 -1
- package/web/app/immutable/chunks/{CtFSFfLz.js → Dp9fBXaC.js} +1 -1
- package/web/app/immutable/chunks/{CZTVb5IB.js → DrOwYgbZ.js} +1 -1
- package/web/app/immutable/chunks/{CS3R6Yuh.js → Dsn82AW0.js} +1 -1
- package/web/app/immutable/chunks/{Deg_SlHr.js → DtHX0_aW.js} +2 -2
- package/web/app/immutable/chunks/{3IxT-Mrl.js → DtfuSWPd.js} +1 -1
- package/web/app/immutable/chunks/{Ct_Zx4ru.js → Dv0Jc2Nv.js} +1 -1
- package/web/app/immutable/chunks/{DumeSIrz.js → DvATy2o1.js} +1 -1
- package/web/app/immutable/chunks/{M18r7swD.js → DvrEye74.js} +1 -1
- package/web/app/immutable/chunks/{93RUSyHg.js → DwXKCf3Q.js} +1 -1
- package/web/app/immutable/chunks/{Cdhrdfve.js → DxyI4IUi.js} +1 -1
- package/web/app/immutable/chunks/{DCrqv4Go.js → Ev5lig9W.js} +1 -1
- package/web/app/immutable/chunks/{a34jwGLW.js → EzpfJOSe.js} +1 -1
- package/web/app/immutable/chunks/{BsKhFZ0Q.js → FtGWFokI.js} +1 -1
- package/web/app/immutable/chunks/{4pFiTcXi.js → Hd1u2Z-S.js} +1 -1
- package/web/app/immutable/chunks/{k3tEZZCe.js → Iq8JI4_0.js} +1 -1
- package/web/app/immutable/chunks/{gcij4Gee.js → MifrdpDQ.js} +1 -1
- package/web/app/immutable/chunks/{_UNYBFXm.js → NQru5r2h.js} +1 -1
- package/web/app/immutable/chunks/{WHfdsTrE.js → NqK_XT0y.js} +1 -1
- package/web/app/immutable/chunks/{D5sw7nR1.js → R1s5ARST.js} +1 -1
- package/web/app/immutable/chunks/{DaXgwzm7.js → R2N5eDxY.js} +1 -1
- package/web/app/immutable/chunks/{B5ht1e3g.js → TE7UDCh6.js} +1 -1
- package/web/app/immutable/chunks/{DmhHEMPi.js → THdp5Vpk.js} +1 -1
- package/web/app/immutable/chunks/UGr2VEtG.js +1 -0
- package/web/app/immutable/chunks/{BUNNt_Jr.js → UN8KT7fR.js} +1 -1
- package/web/app/immutable/chunks/{B9XvejAu.js → UQXXh4U7.js} +1 -1
- package/web/app/immutable/chunks/{5NOp7PNZ.js → VJkCr9xp.js} +1 -1
- package/web/app/immutable/chunks/VdR0DXlW.js +410 -0
- package/web/app/immutable/chunks/{CvC_PTf7.js → WlqVlpOk.js} +1 -1
- package/web/app/immutable/chunks/{0NGflniG.js → YV53nLSc.js} +1 -1
- package/web/app/immutable/chunks/{TrRXD94r.js → YcqSYZ1W.js} +1 -1
- package/web/app/immutable/chunks/{DtnAdLQg.js → ZIOU9Sxd.js} +1 -1
- package/web/app/immutable/chunks/{Bn5goMn4.js → _EqQOSVK.js} +1 -1
- package/web/app/immutable/chunks/{eln8hjjQ.js → bb5Wjkri.js} +1 -1
- package/web/app/immutable/chunks/{DPLuga0X.js → cFozej4U.js} +3 -3
- package/web/app/immutable/chunks/{D_MzuSit.js → d1EmVp98.js} +1 -1
- package/web/app/immutable/chunks/{BkrPhcBU.js → eCVtubQ8.js} +1 -1
- package/web/app/immutable/chunks/{DeVwq4Xj.js → f686-QUd.js} +1 -1
- package/web/app/immutable/chunks/{BVUXyHGH.js → fr0BmHL-.js} +1 -1
- package/web/app/immutable/chunks/{BUtBz-tz.js → gHT8Z5q-.js} +1 -1
- package/web/app/immutable/chunks/{BTYfh5fW.js → gySpGbnA.js} +2 -2
- package/web/app/immutable/chunks/i8PKWJT0.js +1 -0
- package/web/app/immutable/chunks/{DdkBNH3W.js → ir8Qz45r.js} +1 -1
- package/web/app/immutable/chunks/{5E3JQYey.js → jG-4Z8qH.js} +1 -1
- package/web/app/immutable/chunks/{DA4getmI.js → qHChsLZZ.js} +1 -1
- package/web/app/immutable/chunks/{DOi8NPXE.js → qi41b1Ac.js} +1 -1
- package/web/app/immutable/chunks/{CFybzafc.js → qjcf4Gb9.js} +1 -1
- package/web/app/immutable/chunks/{dSvJdwG_.js → qvt-0QTi.js} +3 -3
- package/web/app/immutable/chunks/{Cu91VTQn.js → rB5UfCey.js} +1 -1
- package/web/app/immutable/chunks/{DVy6H5Ng.js → sS3MW5B6.js} +1 -1
- package/web/app/immutable/chunks/{Bi5_2qbB.js → t7yAUuZn.js} +2 -2
- package/web/app/immutable/chunks/{BEjEPSxp.js → tDUnXf7O.js} +1 -1
- package/web/app/immutable/chunks/{CQt5NIo9.js → uCQEgTob.js} +1 -1
- package/web/app/immutable/chunks/{CZ_Dk1nz.js → vLtMR-kj.js} +1 -1
- package/web/app/immutable/chunks/{iBqqkWL_.js → wEnqV1Ol.js} +1 -1
- package/web/app/immutable/chunks/{CNAilJvj.js → wgljT0D3.js} +1 -1
- package/web/app/immutable/chunks/{DlqetqWw.js → zye35u-t.js} +1 -1
- package/web/app/immutable/entry/{app.AtsW0EhM.js → app.jT7Rd2u4.js} +2 -2
- package/web/app/immutable/entry/start.CSuXA93h.js +1 -0
- package/web/app/immutable/nodes/{0.CegL6Bfc.js → 0.9lwWQtfB.js} +1 -1
- package/web/app/immutable/nodes/{1.B6-BTMS1.js → 1.Ck4yEk2l.js} +1 -1
- package/web/app/immutable/nodes/{10.qlZM4NPl.js → 10.C4FEQjC7.js} +16 -16
- package/web/app/immutable/nodes/{11.BR5ZtLjn.js → 11.C-vXNNmX.js} +1 -1
- package/web/app/immutable/nodes/{13.DYH2a5Wx.js → 13.DhKVmEQi.js} +1 -1
- package/web/app/immutable/nodes/{14.B6MrEg8x.js → 14.INZu_e5k.js} +1 -1
- package/web/app/immutable/nodes/{15.Bitx8r2v.js → 15.DdKSdQ-h.js} +1 -1
- package/web/app/immutable/nodes/{16.CKbY5VRM.js → 16.Ad-t6nft.js} +1 -1
- package/web/app/immutable/nodes/{17.DPSU7Eqq.js → 17.pLS5JsPi.js} +1 -1
- package/web/app/immutable/nodes/{18.BlD6ustd.js → 18.DIVxEUeB.js} +1 -1
- package/web/app/immutable/nodes/{19.BRj21xes.js → 19.BB9LuT5j.js} +2 -2
- package/web/app/immutable/nodes/{2.BBHXaN8p.js → 2.Bp80wZmn.js} +4 -4
- package/web/app/immutable/nodes/{20.Cj4TGw20.js → 20.BGTcjiLa.js} +1 -1
- package/web/app/immutable/nodes/{3.JJmMGjhS.js → 3.DRJnaOSe.js} +1 -1
- package/web/app/immutable/nodes/{4.C3VD-4KP.js → 4.p67SnElB.js} +1 -1
- package/web/app/immutable/nodes/{5.DIJ6nzqY.js → 5.DRmIJA2c.js} +1 -1
- package/web/app/immutable/nodes/{6.DIzZZwt4.js → 6.Bjeibumi.js} +1 -1
- package/web/app/immutable/nodes/{7.Xo0EbJUd.js → 7.CjIaxqZ1.js} +1 -1
- package/web/app/immutable/nodes/{8.xZANL-qg.js → 8.DAlxovqG.js} +1 -1
- package/web/app/immutable/nodes/{9.BVBQgdJj.js → 9.BKQZzsCi.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +15 -15
- package/web/app/immutable/chunks/BxTyo7yU.js +0 -1
- package/web/app/immutable/chunks/C1FbWx7h.js +0 -1
- package/web/app/immutable/chunks/C_qOm4aX.js +0 -410
- package/web/app/immutable/chunks/CcNIw4Px.js +0 -1
- package/web/app/immutable/chunks/CqJQ3ikU.js +0 -1
- package/web/app/immutable/chunks/DW3gkA_F.js +0 -1
- package/web/app/immutable/entry/start.DHsRk6-P.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as Ts,j as kt}from"./uXuxG9cN.js";import{bm as l}from"./51_h0jm2.js";import{IJ as Ct,J4 as i,e as I,c1 as Es,i as F,i5 as Rs,nM as T,qm as xs,m0 as Ps,yr as Ms,nL as j,rM as wt,yq as vt,rL as At,iz as Ns,ny as It,nD as $s,mf as Ls,fM as Tt,lY as Os,mq as Ds,o0 as $,iC as Ws,aW as Ee,aP as ie}from"./
|
|
1
|
+
import{m as Ts,j as kt}from"./uXuxG9cN.js";import{bm as l}from"./51_h0jm2.js";import{IJ as Ct,J4 as i,e as I,c1 as Es,i as F,i5 as Rs,nM as T,qm as xs,m0 as Ps,yr as Ms,nL as j,rM as wt,yq as vt,rL as At,iz as Ns,ny as It,nD as $s,mf as Ls,fM as Tt,lY as Os,mq as Ds,o0 as $,iC as Ws,aW as Ee,aP as ie}from"./CbRsc9i4.js";import{bV as Us,d2 as js,b2 as Fs,aJ as Hs,cn as Bs,bN as qs,bo as zs,bv as Gs,ap as Zs,cK as Ks,cS as Vs,c8 as Qs,bj as Ys}from"./DSQT151l.js";import{g as Xs,i as Js,a as er}from"./BEklUrxK.js";import{n as ze,o as Ge,b as q,s as Q,_ as be,e as tr}from"./CIyUrgF0.js";import{a as sr,g as rr,b as nr,i as Ce,C as fe}from"./DypB-Dwi.js";import{Q as ar}from"./Cgn_eC9-.js";import{u as or}from"./CnztNSaN.js";import{d as ir}from"./BQDGTBxC.js";import{l as w,m as cr}from"./DqFWZ_g1.js";var we=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(we||{});function Di(e){return e.isPending===!0||e.status==="pending"}function lr(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(Ct(e.model).providerId??t)||void 0}function Wi(e){return e.messages.length>0}function dr(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function ur(e){return e.contentBlocks?dr(e.contentBlocks):""}const Ui=i.createSelector(e=>e.principal),ee=i.createSelector(sr),x=i.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===ee.select(e)?t.snapshot:null}),fr=i.createSelector(e=>x.select(e)?.daemonMode??null),ji=i.createSelector(e=>fr.select(e)==="orchestrator"),Fi=i.createSelector(e=>x.select(e)?.capabilities.agentPlugins===1),Hi=i.createSelector(e=>x.select(e)?.capabilities.messageBlockPages===1),O=i.createSelector(e=>{const t=x.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),ne=i.createSelector(e=>O.select(e)==="owner"),Et=i.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===ee.select(e)),Bi=i.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||Et.select(e)}),qi=i.createSelector(e=>ne.select(e)?ee.select(e):null),gr=i.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ge=i.createSelector(e=>or.select(e)===!0&&!!x.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),zi=i.createSelector(e=>{const t=ge.select(e),s=x.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&ne.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),pe=i.createSelector(rr),Gi=i.createSelector(nr),Zi=i.createSelector(e=>gr.select(e)&&(ne.select(e)||ge.select(e)));function pr(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,c=t&&a!==-1?t.slice(0,a):void 0;return r&&c&&r.toLowerCase()===c.toLowerCase()?n:e}function Rt(e,t,s){return`${pr(e,s)} #${t}`}function Re(e){return e.resource?.repository.provider==="gitlab"}function Ki(e,t){return`${Re(e)?"!":"#"}${t}`}function hr(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function mr(e,t){return Re(e)?`${e.repo} !${e.prNumber}`:Rt(e.repo,e.prNumber,t)}function Vi(e){return e.resource?Ts(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function Qi(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return l.chat_chatMessage_loading_label();case"reconnect-required":return l.chat_monitoredPrs_status_reconnect();case"restricted":return l.chat_monitoredPrs_status_restricted();case"unresolved":return l.chat_monitoredPrs_status_unresolved();default:return l.chat_monitoredPrs_status_unknown()}}function Yi(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function Xi(e,t){if(!Re(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function xt(e){return e===I.Halted||e===I.Completed||e===I.Error||e===I.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function Pt(e){return e.status===I.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function Mt(e){return e.status===I.Resuming||xt(e.status)||Pt(e)?!1:!!(e.isWaitingForOtherAgents||e.status===I.Waiting||e.status==="waiting")}function _r(e){return xt(e.status)||Mt(e)?!1:!!(Pt(e)||e.activationState==="activating"||e.status===I.Resuming||e.status===I.Active||e.status===I.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function Ji(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function br(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const c=e.metadata?.completionReport||void 0,o=Es(e)??void 0;return{id:e.id,name:e.name||l.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(d=>({path:d.path,action:d.type||d.action||"modify",timestamp:d.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:c,digest:n,parentAgentId:o,lastMessageRole:a}}function ec(e,t){if(!e)return"";const s=e.split(`
|
|
2
2
|
`);for(;s.length>0&&s[s.length-1].trim()==="";)s.pop();return s.length===0?"":s.length<=t?s.join(`
|
|
3
3
|
`):`${s.slice(-t).join(`
|
|
4
4
|
`)}...`}const yr={prefix:"fas",iconName:"note-sticky",icon:[16,16,[],"e002","M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"]},b={"file-read":Ys,"file-write":Qs,"file-delete":Vs,terminal:Ks,search:Us,"context-engine":Zs,api:Gs,workspace:zs,note:yr,meta:qs,agent:Bs,task:Hs,browser:Fs,generic:js},Sr=["workspace-mcp_","workspace_mcp_","filesystem_","browser-mcp_","browser_mcp_"],kr=["_workspace-mcp","-workspace-mcp","_playwright","_browser_mcp","_context_7","_svelte","_npx","_sequential_thinking","_figma","_slack","_sentry","_github","_linear","_notion","_jira"];function Nt(e){return!!e&&/^(mcp__|mcp\.)/i.test(e)}const Ze=/select:\s*mcp(__|\.)/i,Cr=/^select:\s*mcp(__|\.)/i;function wr(e,t={}){if(G(e).toLowerCase()==="toolsearch"||typeof t.query=="string"&&Cr.test(t.query))return!0;const s=typeof t._acpTitle=="string"?t._acpTitle:"";return Ze.test(e||"")||Ze.test(s)}function G(e){if(!e)return"";const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^mcp\.[^.]+\./,"");const s=e.toLowerCase();for(const n of Sr)if(s.startsWith(n)){e=e.slice(n.length);break}let r=!0;for(;r;){r=!1;const n=e.toLowerCase();for(const a of kr)if(n.endsWith(a)){e=e.slice(0,-a.length),r=!0;break}}return e}function $t(e){const t=e.trim();return/\s/.test(t)?/^[A-Za-z0-9._-]+:\s/.test(t)?!0:t.split(/\s+/).length>=3:!1}function Lt(e){const t=e.trim().match(/^List\s+directory\s+\x60([^\x60]+)\x60$/i);if(!t)return null;const s=t[1].trim();return s.length===0?null:{category:"file-read",icon:b["file-read"],verb:l.chat_toolClassifier_listContents_label(),subject:R(s)||s,path:N(s)||null,filePath:s||null,isDirectory:!0}}function Ot(e){const t=e.toLowerCase(),s=t.includes("agent")?"agent":t.includes("note")?"note":t.includes("workspace")?"workspace":"generic";return{category:s,icon:b[s],verb:p(e.trim(),120),subject:null,path:null}}const vr=[{suffix:"_workspace-mcp",source:"workspace-mcp"},{suffix:"-workspace-mcp",source:"workspace-mcp"},{suffix:"_browser_mcp",source:"browser-mcp"},{suffix:"_playwright",source:"playwright"},{suffix:"_sequential_thinking",source:"sequential-thinking"},{suffix:"_context_7",source:"context7"},{suffix:"_figma",source:"figma"},{suffix:"_sentry",source:"sentry"},{suffix:"_github",source:"github"},{suffix:"_linear",source:"linear"},{suffix:"_slack",source:"slack"},{suffix:"_notion",source:"notion"},{suffix:"_jira",source:"jira"},{suffix:"_svelte",source:"svelte"},{suffix:"_npx",source:"npx"}],Ar=[{prefix:"workspace-mcp_",source:"workspace-mcp"},{prefix:"workspace_mcp_",source:"workspace-mcp"},{prefix:"browser-mcp_",source:"browser-mcp"},{prefix:"browser_mcp_",source:"browser-mcp"},{prefix:"filesystem_",source:"filesystem"}],Ke={"github-api":"github",linear:"linear",glean:"glean"},Ir=new Set(["view","codebase-retrieval","codebase_retrieval","launch-process","launch_process","read-process","read_process","write-process","write_process","kill-process","kill_process","list-processes","list_processes","str-replace-editor","str_replace_editor","save-file","save_file","remove-files","remove_files","web-search","web_search","web-fetch","web_fetch","conversation-retrieval","conversation_retrieval","git-commit-retrieval","git_commit_retrieval","bash","read","edit","run","find","grep"]);function Tr(e){if(!e)return;const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]);const s=e.match(/^mcp__([^_]+)__/);if(s)return s[1].toLowerCase();const r=e.match(/^mcp\.([^.]+)\./);if(r)return r[1].toLowerCase();const n=e.toLowerCase();for(const{prefix:a,source:c}of Ar)if(n.startsWith(a))return c;for(const{suffix:a,source:c}of vr)if(n.endsWith(a))return c;if(Ke[n])return Ke[n];Ir.has(n)}function A(e){return typeof e=="string"?e:e==null?"":String(e)}function p(e,t=50){const s=A(e);return s.length>t?`${s.substring(0,t)}...`:s}function xe(e){if(e==null)return null;if(typeof e=="string")return e;if(Array.isArray(e)){const t=e.filter(s=>s&&typeof s=="object"&&s.type==="text"&&s.text).map(s=>s.text);return t.length>0?t.join(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as he,bo as a,bw as be,b as pe,bm as _}from"./51_h0jm2.js";import{bs as me,a7 as w,ay as c,W as l,bn as xe,aA as n,bS as E,aD as M,bH as Ee,a5 as Se,bA as Te,c9 as le,aB as ie,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./CJxGDkBm.js";import{i as m}from"./PXCFrn2V.js";import{c as v}from"./DGmOjLYi.js";import{b as ke}from"./CpPNoOk-.js";import{F as Ce,cA as De,be as Fe,ab as We,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./DSQT151l.js";import{f as Ve}from"./
|
|
1
|
+
import{t as he,bo as a,bw as be,b as pe,bm as _}from"./51_h0jm2.js";import{bs as me,a7 as w,ay as c,W as l,bn as xe,aA as n,bS as E,aD as M,bH as Ee,a5 as Se,bA as Te,c9 as le,aB as ie,bV as Pe,be as S,b$ as T,b_ as P,bO as k}from"./CJxGDkBm.js";import{i as m}from"./PXCFrn2V.js";import{c as v}from"./DGmOjLYi.js";import{b as ke}from"./CpPNoOk-.js";import{F as Ce,cA as De,be as Fe,ab as We,a9 as Oe,a5 as Me,aU as ze,ce as Ae}from"./DSQT151l.js";import{f as Ve}from"./CdOh_Fmv.js";import"./Cgn_eC9-.js";import{l as ye,d as Le,M as Ie,c as C}from"./DvrEye74.js";import"./THdp5Vpk.js";var Ue=ie("<!> <!> <!> <!> <!> <!>",1),Be=ie("<span><!></span>"),He=ie("<!> <!>",1);function Ne(de,r){if(new.target)return he({component:Ne,...de});me(r,!0);const ge=e=>{var h=Ue(),z=c(h);{var ne=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Fe},get checked(){return R()},closeOnSelect:!1,get onCheckedChange(){return X()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_markdownPreview_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(z,t=>{Q()&&t(ne)})}var A=E(z,2);{var D=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return We},get checked(){return Z()},closeOnSelect:!1,get onCheckedChange(){return $()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_allFilesExpanded_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(A,t=>{Y()&&t(D)})}var se=E(A,2);{var V=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Oe},get checked(){return L()},closeOnSelect:!1,get onCheckedChange(){return I()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_foldUnchanged_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(se,t=>{y()&&t(V)})}var F=E(se,2);{var oe=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Me},get checked(){return B()},closeOnSelect:!1,get onCheckedChange(){return H()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_wrapLines_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(F,t=>{U()&&t(oe)})}var x=E(F,2);{var b=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return ze},get checked(){return j()},closeOnSelect:!1,get onCheckedChange(){return q()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_splitView_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(x,t=>{N()&&t(b)})}var p=E(x,2);{var W=t=>{var s=w(),i=c(s);v(i,()=>C,(d,g)=>{g(d,{indicator:"switch",get icon(){return Ae},get checked(){return J()},closeOnSelect:!1,get onCheckedChange(){return K()},children:(f,O)=>{S();var o=T();P(u=>k(o,u),[()=>_.ui_viewSettings_diffIndicators_label()]),l(f,o)},$$slots:{default:!0}})}),l(t,s)};m(p,t=>{G()&&t(W)})}l(e,h)};let y=a(r,"showFold",7,!0),L=a(r,"foldEnabled",7,!1),I=a(r,"onToggleFold",7),U=a(r,"showWrap",7,!0),B=a(r,"wrapEnabled",7,!1),H=a(r,"onToggleWrap",7),N=a(r,"showSplit",7,!0),j=a(r,"splitEnabled",7,!1),q=a(r,"onToggleSplit",7),G=a(r,"showDiff",7,!1),J=a(r,"diffEnabled",7,!1),K=a(r,"onToggleDiff",7),Q=a(r,"showPreview",7,!1),R=a(r,"previewEnabled",7,!1),X=a(r,"onTogglePreview",7),Y=a(r,"showExpand",7,!1),Z=a(r,"expanded",7,!1),$=a(r,"onToggleExpand",7),ee=a(r,"class",7,""),te=a(r,"size",7,"xs"),re=a(r,"embedded",7,!1),ae=Pe(!1);const ue={xs:"icon-xs",sm:"icon-sm",md:"icon"};var ce={get showFold(){return y()},set showFold(e=!0){y(e),n()},get foldEnabled(){return L()},set foldEnabled(e=!1){L(e),n()},get onToggleFold(){return I()},set onToggleFold(e){I(e),n()},get showWrap(){return U()},set showWrap(e=!0){U(e),n()},get wrapEnabled(){return B()},set wrapEnabled(e=!1){B(e),n()},get onToggleWrap(){return H()},set onToggleWrap(e){H(e),n()},get showSplit(){return N()},set showSplit(e=!0){N(e),n()},get splitEnabled(){return j()},set splitEnabled(e=!1){j(e),n()},get onToggleSplit(){return q()},set onToggleSplit(e){q(e),n()},get showDiff(){return G()},set showDiff(e=!1){G(e),n()},get diffEnabled(){return J()},set diffEnabled(e=!1){J(e),n()},get onToggleDiff(){return K()},set onToggleDiff(e){K(e),n()},get showPreview(){return Q()},set showPreview(e=!1){Q(e),n()},get previewEnabled(){return R()},set previewEnabled(e=!1){R(e),n()},get onTogglePreview(){return X()},set onTogglePreview(e){X(e),n()},get showExpand(){return Y()},set showExpand(e=!1){Y(e),n()},get expanded(){return Z()},set expanded(e=!1){Z(e),n()},get onToggleExpand(){return $()},set onToggleExpand(e){$(e),n()},get class(){return ee()},set class(e=""){ee(e),n()},get size(){return te()},set size(e="xs"){te(e),n()},get embedded(){return re()},set embedded(e=!1){re(e),n()},$set:be,$on:(e,h)=>pe(r,e,h)},fe=w(),_e=c(fe);{var ve=e=>{ge(e)},we=e=>{var h=w(),z=c(h);v(z,()=>Ie,(ne,A)=>{A(ne,{get open(){return M(ae)},set open(D){Ee(ae,D,!0)},children:(D,se)=>{var V=He(),F=c(V);{const x=(b,p)=>{let W=()=>(p?.()).props;var t=Be();ke(t,()=>({class:"contents",...W()}));var s=Se(t);{let i=le(()=>_.ui_viewSettings_trigger_tooltip()),d=le(()=>_.ui_viewSettings_trigger_tooltip());Ve(s,{variant:"ghost-light",get size(){return ue[te()]},get tooltip(){return M(i)},tooltipSide:"bottom",get"aria-label"(){return M(d)},get"aria-expanded"(){return M(ae)},get class(){return ee()},"data-testid":"view-settings-trigger",children:(g,f)=>{Ce(g,{get icon(){return De},size:"xs"})},$$slots:{default:!0}})}Te(t),l(b,t)};v(F,()=>ye,(b,p)=>{p(b,{child:x,$$slots:{child:!0}})})}var oe=E(F,2);{let x=le(()=>_.ui_dropdownMenu_ariaLabel());v(oe,()=>Le,(b,p)=>{p(b,{align:"end",class:"w-56 p-3!",get"aria-label"(){return M(x)},children:(W,t)=>{ge(W)},$$slots:{default:!0}})})}l(D,V)},$$slots:{default:!0}})}),l(e,h)};m(_e,e=>{re()?e(ve):e(we,-1)})}return l(de,fe),xe(ce)}export{Ne as V};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as et,bo as h,bw as tt,bs as ee,bq as nt,b as ot,bm as M}from"./51_h0jm2.js";import{bs as it,bk as rt,a7 as Tt,ay as _e,aD as i,W as D,bn as at,c9 as xe,aA as v,a5 as K,bS as $,bl as Ce,bA as Y,b_ as me,bO as re,aB as te,cd as It,ca as P,bH as T,bj as Pt,bV as oe}from"./CJxGDkBm.js";import{i as Q}from"./PXCFrn2V.js";import{b as zt}from"./NtFyWdpR.js";import{ensureMonacoInitialized as Ae,initializeMonaco as He,monaco as Nt}from"./Gr7b8MIr.js";import{defineMonacoThemes as Ue,getActiveMonacoThemeName as ye}from"./ByfLGh4b.js";import{c as At}from"./ChTqQfQN.js";import{g as Ve,f as Vt}from"./CpPNoOk-.js";import{J4 as st}from"./Zldsekdv.js";import{f as Ge}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import{F as Je,bd as Wt,bo as $t}from"./DSQT151l.js";import{i as Xe}from"./DCOxMTSf.js";import{w as Ze}from"./CqJQ3ikU.js";import{dE as Dt,cy as Ot}from"./XJqoy2ap.js";import{g as Rt}from"./LKW_Bid7.js";import{c as jt}from"./JKboQXkL.js";import{d as ie}from"./B0Z-1lwJ.js";import{g as Bt}from"./D0Z6csIX.js";import{g as B,R as Ke,U as Ye}from"./DyHCBf0T.js";const lt=st.createSelector(s=>s.agentFollow.isFollowing),qt=st.createSelector(s=>s.agentFollow.agentColor);var Ht=te('<div class="absolute top-2 right-2 flex items-center gap-2 px-2 py-1 rounded-md z-50 svelte-440ct6"><div></div> <span class="text-xs svelte-440ct6"> </span></div>');function ct(s,a){if(new.target)return et({component:ct,...s});it(a,!0);const f=()=>ee(ae,"$isFollowing$",C),k=()=>ee(z,"$agentColor$",C),[C,N]=nt(),ae=lt(),z=qt();let E=h(a,"content",15),l=h(a,"onContentChange",7),A=h(a,"isActive",7,!1),g=null,w=null,pe="";rt(()=>(window.addEventListener("agent-follow-animation",O),()=>{window.removeEventListener("agent-follow-animation",O),R()}));function O(c){if(!A()||!f())return;const b=c.detail;if(!b||typeof b.content!="string")return;const{content:F,isAddition:S,speed:I=30}=b;R(),S?he(F,I):ve(F,I)}function R(){g&&(g.abort(),g=null),w=null}async function he(c,b){g=new AbortController;const F=g.signal,S=c.split("");w=(async()=>{for(let I=0;I<S.length&&!F.aborted;I++){pe+=S[I],E(E()+S[I]),l()(E());const V=b+(Math.random()*10-5);await new Promise(H=>setTimeout(H,V))}})(),await w}async function ve(c,b){g=new AbortController;const F=g.signal,S=E().indexOf(c);if(S===-1)return;const I=E().slice(0,S),V=E().slice(S+c.length);w=(async()=>{for(let H=c.length;H>0&&!F.aborted;H--){const Me=c.slice(0,H-1);E(I+Me+V),l()(E());const ke=b*.7+(Math.random()*5-2.5);await new Promise(Ee=>setTimeout(Ee,ke))}})(),await w}let se=xe(()=>w!==null),x=xe(()=>i(se)?"animate-blink":"");var j={get content(){return E()},set content(c){E(c),v()},get onContentChange(){return l()},set onContentChange(c){l(c),v()},get isActive(){return A()},set isActive(c=!1){A(c),v()},$set:tt,$on:(c,b)=>ot(a,c,b)},ne=Tt(),le=_e(ne);{var q=c=>{var b=Ht(),F=K(b),S=$(F,2),I=Ce(S,!0);Y(b),me(V=>{Ve(b,`background: ${k()?.start??""}20; border: 1px solid ${k()?.start??""}40;`),Vt(F,1,`w-2 h-2 rounded-full ${i(x)??""}`,"svelte-440ct6"),Ve(F,`background: ${k()?.start??""};`),Ve(S,`color: ${k()?.start??""};`),re(I,V)},[()=>M.editor_typingAnimation_agentTyping_label()]),D(c,b)};Q(le,c=>{i(se)&&f()&&c(q)})}D(s,ne);var L=at(j);return N(),L}function En(s){const a=[];for(const f of s){let k=f.newStart;for(const C of f.lines)C.startsWith("+")?(a.push({line:k,type:"added"}),k++):C.startsWith("-")||C.startsWith(" ")&&k++}return a}function Ut(s,a){return a.map(f=>{const k=Gt(f.type),C=Jt(f.type);return{range:new s.Range(f.line,1,f.line,1),options:{isWholeLine:!1,linesDecorationsClassName:`line-change-indicator line-change-${f.type}`,overviewRuler:{color:k,position:s.editor.OverviewRulerLane.Left},glyphMarginHoverMessage:{value:C}}}})}function Gt(s){switch(s){case"added":return"#22c55e";case"modified":return"#3b82f6";case"deleted":return"#ef4444";default:return"#6b7280"}}function Jt(s){switch(s){case"added":return M.editor_lineChanges_added_tooltip();case"modified":return M.editor_lineChanges_modified_tooltip();case"deleted":return M.editor_lineChanges_deleted_tooltip();default:return M.editor_lineChanges_changed_tooltip()}}const Xt=[".d.mts",".d.cts",".d.ts",".mts",".cts",".tsx",".ts",".jsx",".mjs",".cjs",".js",".json"];function dt(s){return s.startsWith("/")?s:`/${s}`}function Zt(s){return s.replace(/[^a-zA-Z0-9_-]/g,"_")}function Kt(s,a){const f=dt(s),k=f.toLowerCase(),C=`.__editor_${Zt(a)}`,N=Xt.find(E=>k.endsWith(E));if(N)return`${f.slice(0,-N.length)}${C}${f.slice(-N.length)}`;const ae=f.lastIndexOf("/"),z=f.lastIndexOf(".");return z>ae?`${f.slice(0,z)}${C}${f.slice(z)}`:`${f}${C}`}function Yt(s){return dt(s)}var Qe=te("<!> ",1),Qt=te('<div class="mt-4 flex items-center justify-center gap-2"><!> <!></div>'),en=te('<div class="content-too-large svelte-2n2z1y"><div class="text-center space-y-4 max-w-md"><div class="text-subtle"><svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg> <h3 class="text-lg font-medium mb-2"> </h3> <p class="text-sm"> </p> <!></div></div></div>'),tn=te('<div class="placeholder-overlay svelte-2n2z1y"><span class="text-subtle text-sm italic"> </span></div>'),nn=te('<!> <div class="native-scrollbars w-full h-full"></div> <!>',1),on=te('<div class="relative h-full w-full"><!></div>');function rn(s,a){if(new.target)return et({component:rn,...s});it(a,!0);const f=()=>ee(ut,"$workspaceById",z),k=()=>ee(ht,"$isFollowing$",z),C=()=>ee(I,"$isDarkTheme",z),N=()=>ee(S,"$codeFontFamilyCSS",z),ae=()=>ee(ft,"$isWorkspaceHostLocal$",z),[z,E]=nt(),l=At("CodeEditor"),A=500*1024;let g=h(a,"value",15,""),w=h(a,"language",7,"javascript"),pe=h(a,"theme",7,"light"),O=h(a,"readOnly",7,!1),R=h(a,"lineNumbers",7,!0),he=h(a,"highlightActiveLine",7,!0),ve=h(a,"diffMode",7,!1),se=h(a,"originalValue",7,""),x=h(a,"fileName",7,""),j=h(a,"lineWrapping",7,!0),ne=h(a,"jumpTo",7,void 0),le=h(a,"lineChanges",23,()=>[]),q=h(a,"workspaceId",7),L=h(a,"filePath",7),c=h(a,"placeholder",7),b=h(a,"isPanelFocused",7,!0),F=h(a,"externalContentVersion",7,0);const S=Rt(),I=jt(),V=Bt()?.workspaceId,H=typeof navigator<"u"&&navigator.platform?.startsWith("Win"),Me=typeof navigator<"u"&&(navigator.userAgentData?.platform==="macOS"||/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)),ke=H?M.layout_panelTabBar_fileManagerExplorer_label():Me?M.layout_panelTabBar_fileManagerFinder_label():M.layout_panelTabBar_fileManagerGeneric_label(),Ee=xe(()=>q()??V??void 0),Le=It(q()??V??"");P(()=>{Le.set(q()??V??"")});const ut=Dt(Le),ft=Ot(Le),We=Ze("externalEditors"),$e=Ze("systemFileManager");function De(){return f()}let U=oe(!1),we=oe(0);function gt(e){return e<1024?M.editor_codeEditor_fileSizeBytes_label({size:e}):e<1024*1024?M.editor_codeEditor_fileSizeKb_label({size:(e/1024).toFixed(1)}):M.editor_codeEditor_fileSizeMb_label({size:(e/(1024*1024)).toFixed(1)})}async function mt(){if(!L()){l.error("Cannot open file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot open file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("vscode:openFile",{file:e})}catch(n){l.error("Failed to open file in VS Code:",n)}}async function pt(){if(!L()){l.error("Cannot reveal file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot reveal file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("shell:showItemInFolder",{path:e})}catch(n){l.error("Failed to reveal file:",n)}}let d=oe(void 0),t=null,G=null,J=oe(!1);const ht=lt();let Fe=xe(k),Oe=oe(0);const vt=`${Date.now()}-${Math.random().toString(36).slice(2)}`;let ce=[],Re;function de(e){if(typeof e=="string")return e;if(e==null)return"";try{return JSON.stringify(e,null,2)}catch{return String(e)}}function wt(e){const n=Ye.file(Yt(e));return B.getModel(n)?Ye.file(Kt(e,vt)):n}function Se(e,n){je();const o=L()||x();return o?(G=B.createModel(e,n,wt(o)),G):(G=B.createModel(e,n),G)}function je(){G&&(G.dispose(),G=null)}function Be(){if(t){try{t.dispose()}catch{}t=null,T(J,!1)}je()}let Te=oe(!1);P(()=>{const n=de(g()).length;n<=A?i(U)&&(l.debug("Content size now acceptable, resetting contentTooLarge",{fileName:x(),size:n,limit:A}),T(U,!1),T(we,0),T(Te,!0)):i(U)||(l.warn("Content too large for Monaco editor",{fileName:x(),size:n,limit:A}),T(U,!0),T(we,n,!0),t&&Be())}),P(()=>{i(Te)&&i(d)&&!t&&!i(U)&&(T(Te,!1),(async()=>{try{const e=de(g());if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}Ue();const n=be(w()),o=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}const u=Se(e,n);t=B.create(i(d),{model:u,theme:o,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(m=>{const y=m.selection;if(!y.isEmpty()&&t?.hasTextFocus()){const r=t?.getModel()?.getValueInRange(y)||"";r&&ie("editor:selection-change",{text:r,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})}),l.debug("Editor re-initialized after contentTooLarge was cleared")}catch(e){l.error("Failed to initialize editor after contentTooLarge cleared:",e)}})())}),P(()=>{const e=de(g()),n=F(),o=n!==i(Oe);if(t){if(t.getValue()!==e&&(!i(Fe)||o)){const m=t.getPosition();t.setValue(e),m&&t.setPosition(m)}o&&t.getValue()===e&&T(Oe,n,!0)}}),P(()=>{const e=le();if(!t||!e||e.length===0){t&&ce.length>0&&(ce=t.deltaDecorations(ce,[]));return}const n=Ut(Nt,e);ce=t.deltaDecorations(ce,n)}),P(()=>{if(!t||!i(Fe))return;const e=n=>{const o=n.detail;if(!o||typeof o.content!="string")return;const{content:u,isAddition:m,lineNumber:y,column:_}=o;if(t)if(m){const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r){const p=new Ke(r.lineNumber,r.column,r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:u,forceMoveMarkers:!0}]);const W={lineNumber:r.lineNumber,column:r.column+u.length};t.setPosition(W),t.revealPositionInCenterIfOutsideViewport(W,0)}}else{const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r&&u.length>0){const p=new Ke(r.lineNumber,Math.max(1,r.column-u.length),r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:"",forceMoveMarkers:!0}]),t.revealPositionInCenterIfOutsideViewport(r,0)}}};return window.addEventListener("agent-follow-animation",e),()=>{window.removeEventListener("agent-follow-animation",e)}}),P(()=>{const e=w();if(t&&e){const n=be(e),o=t.getModel();o&&B.setModelLanguage(o,n)}}),P(()=>{const e=j();t&&t.updateOptions({wordWrap:e?"on":"off"})}),P(()=>{const e=N();t&&t.updateOptions({fontFamily:e})}),P(()=>{const e=C();t&&B.setTheme(ye(e))});function be(e){return{js:"javascript",ts:"typescript",jsx:"javascript",tsx:"typescript",py:"python",rs:"rust",html:"html",css:"css",scss:"scss",less:"less",json:"json",md:"markdown",yaml:"yaml",yml:"yaml",xml:"xml",cpp:"cpp",c:"c",java:"java",sh:"shell",bash:"shell",zsh:"shell",sql:"sql",svelte:"svelte",vue:"html",go:"go",rb:"ruby",php:"php",swift:"swift",kt:"kotlin",scala:"scala",r:"r",lua:"lua",dockerfile:"dockerfile",toml:"ini",ini:"ini",graphql:"graphql",gql:"graphql"}[e]||e}rt(async()=>{if(!i(d))return;try{const o=de(g());if(o.length>A){l.warn("Content too large for Monaco editor",{fileName:x(),size:o.length,limit:A}),T(U,!0),T(we,o.length,!0);return}if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}Ue();const u=be(w()),m=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}const y=Se(o,u);t=B.create(i(d),{model:y,theme:m,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(_=>{const r=_.selection;if(!r.isEmpty()&&t?.hasTextFocus()){const W=t?.getModel()?.getValueInRange(r)||"";W&&ie("editor:selection-change",{text:W,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(o){l.error("[CodeEditor] Failed to create Monaco editor:",o);try{await Ae();const u=de(g()),m=Se(u,be(w()));t=B.create(i(d),{model:m,theme:ye(C()),readOnly:O(),lineNumbers:R()?"on":"off",minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",fontFamily:N(),guides:{indentation:!1}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(y=>{const _=y.selection;if(!_.isEmpty()&&t?.hasTextFocus()){const p=t?.getModel()?.getValueInRange(_)||"";p&&ie("editor:selection-change",{text:p,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(u){l.error("[CodeEditor] Failed to create fallback editor:",u)}}const e=o=>{if(t){const u=t.getScrollTop();o.detail.callback(u)}},n=o=>{o.detail.filePath&&o.detail.filePath!==x()||t&&typeof o.detail.scrollPosition=="number"&&requestAnimationFrame(()=>{t&&(t.setScrollTop(o.detail.scrollPosition),l.debug("[CodeEditor] Restored scroll position",{fileName:x(),scrollPosition:o.detail.scrollPosition}))})};window.addEventListener("file:save-scroll-position",e),window.addEventListener("file:restore-scroll-position",n),Re=()=>{window.removeEventListener("file:save-scroll-position",e),window.removeEventListener("file:restore-scroll-position",n)}});function bt(){if(t)try{return t.focus(),!0}catch(e){l.debug("[CodeEditor] Editor not ready for focus:",e)}return!1}function yt(e){if(!t||!t.hasTextFocus())return!1;const n={undo:"undo",redo:"redo",copy:"editor.action.clipboardCopyAction","select-all":"editor.action.selectAll"}[e];return t.trigger("shortcut-preferences",n,null),!0}Pt(()=>{Re?.(),Be()}),P(()=>{const e=ne(),n=i(J);if(!t||!e||!n)return;const o=Math.max(1,Math.floor(e.line??1)),u=Math.max(1,Math.floor(e.column??1)),y=t.getModel?.()?.getLineCount?.()??o,r={lineNumber:Math.min(o,y),column:u};try{t.setPosition(r),t.revealPositionInCenterIfOutsideViewport(r,0),t.focus()}catch{}}),P(()=>{if(!i(J)||!t)return;const n=()=>{t?.hasTextFocus()&&t.trigger("keyboard","editor.action.revealDefinition",{})};return window.addEventListener("editor:go-to-definition",n),()=>{window.removeEventListener("editor:go-to-definition",n)}}),P(()=>{if(!i(J)||!t)return;const n=o=>{const u=o.detail;!u?.line||!t||b()&&setTimeout(()=>{if(!t||!b())return;const m=Math.max(1,Math.floor(u.line)),_=t.getModel?.()?.getLineCount?.()??m,p={lineNumber:Math.min(m,_),column:1};try{t.focus(),t.setPosition(p),t.revealPositionInCenterIfOutsideViewport(p,0)}catch{}},100)};return window.addEventListener("workspace:go-to-line",n),()=>{window.removeEventListener("workspace:go-to-line",n)}});var _t={focus:bt,runShortcut:yt,get value(){return g()},set value(e=""){g(e),v()},get language(){return w()},set language(e="javascript"){w(e),v()},get theme(){return pe()},set theme(e="light"){pe(e),v()},get readOnly(){return O()},set readOnly(e=!1){O(e),v()},get lineNumbers(){return R()},set lineNumbers(e=!0){R(e),v()},get highlightActiveLine(){return he()},set highlightActiveLine(e=!0){he(e),v()},get diffMode(){return ve()},set diffMode(e=!1){ve(e),v()},get originalValue(){return se()},set originalValue(e=""){se(e),v()},get fileName(){return x()},set fileName(e=""){x(e),v()},get lineWrapping(){return j()},set lineWrapping(e=!0){j(e),v()},get jumpTo(){return ne()},set jumpTo(e=void 0){ne(e),v()},get lineChanges(){return le()},set lineChanges(e=[]){le(e),v()},get workspaceId(){return q()},set workspaceId(e){q(e),v()},get filePath(){return L()},set filePath(e){L(e),v()},get placeholder(){return c()},set placeholder(e){c(e),v()},get isPanelFocused(){return b()},set isPanelFocused(e=!0){b(e),v()},get externalContentVersion(){return F()},set externalContentVersion(e=0){F(e),v()},$set:tt,$on:(e,n)=>ot(a,e,n)},Ie=on(),Ct=K(Ie);{var xt=e=>{var n=en(),o=K(n),u=K(o),m=$(K(u),2),y=Ce(m,!0),_=$(m,2),r=Ce(_,!0),p=$(_,2);{var W=X=>{var ue=Qt(),qe=K(ue);{var Et=Z=>{Ge(Z,{variant:"secondary",size:"sm",onclick:mt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return Wt},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.editor_codeEditor_openInVsCode_label()]),D(Pe,fe)},$$slots:{default:!0}})};Q(qe,Z=>{We&&Z(Et)})}var Lt=$(qe,2);{var Ft=Z=>{Ge(Z,{variant:"ghost",size:"sm",onclick:pt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return $t},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.layout_panelTabBar_revealIn_label({fileManager:ke})]),D(Pe,fe)},$$slots:{default:!0}})};Q(Lt,Z=>{$e&&Z(Ft)})}Y(ue),D(X,ue)};Q(p,X=>{i(Ee)&&L()&&ae()&&(We||$e)&&X(W)})}Y(u),Y(o),Y(n),me((X,ue)=>{re(y,X),re(r,ue)},[()=>M.editor_codeEditor_fileTooLarge_title(),()=>M.editor_codeEditor_fileTooLarge_description({size:gt(i(we))})]),D(e,n)},Mt=e=>{var n=nn(),o=_e(n);{var u=r=>{ct(r,{onContentChange:p=>g(p),isActive:!0,get content(){return g()},set content(p){g(p)}})};Q(o,r=>{i(Fe)&&r(u)})}var m=$(o,2);zt(m,r=>T(d,r),()=>i(d));var y=$(m,2);{var _=r=>{var p=tn(),W=K(p),X=Ce(W,!0);Y(p),me(()=>re(X,c())),D(r,p)};Q(y,r=>{c()&&!g()&&r(_)})}D(e,n)};Q(Ct,e=>{i(U)?e(xt):e(Mt,-1)})}Y(Ie),D(s,Ie);var kt=at(_t);return E(),kt}export{rn as C,En as p};
|
|
1
|
+
import{t as et,bo as h,bw as tt,bs as ee,bq as nt,b as ot,bm as M}from"./51_h0jm2.js";import{bs as it,bk as rt,a7 as Tt,ay as _e,aD as i,W as D,bn as at,c9 as xe,aA as v,a5 as K,bS as $,bl as Ce,bA as Y,b_ as me,bO as re,aB as te,cd as It,ca as P,bH as T,bj as Pt,bV as oe}from"./CJxGDkBm.js";import{i as Q}from"./PXCFrn2V.js";import{b as zt}from"./NtFyWdpR.js";import{ensureMonacoInitialized as Ae,initializeMonaco as He,monaco as Nt}from"./Gr7b8MIr.js";import{defineMonacoThemes as Ue,getActiveMonacoThemeName as ye}from"./ByfLGh4b.js";import{c as At}from"./ChTqQfQN.js";import{g as Ve,f as Vt}from"./CpPNoOk-.js";import{J4 as st}from"./CbRsc9i4.js";import{f as Ge}from"./CdOh_Fmv.js";import"./Cgn_eC9-.js";import{F as Je,bd as Wt,bo as $t}from"./DSQT151l.js";import{i as Xe}from"./CL3a4Hm1.js";import{w as Ze}from"./Bqd7fdCF.js";import{dE as Dt,cy as Ot}from"./CgwFGLCK.js";import{g as Rt}from"./CnztNSaN.js";import{c as jt}from"./D6dNunKo.js";import{d as ie}from"./B0Z-1lwJ.js";import{g as Bt}from"./A4nvdmL6.js";import{g as B,R as Ke,U as Ye}from"./DyHCBf0T.js";const lt=st.createSelector(s=>s.agentFollow.isFollowing),qt=st.createSelector(s=>s.agentFollow.agentColor);var Ht=te('<div class="absolute top-2 right-2 flex items-center gap-2 px-2 py-1 rounded-md z-50 svelte-440ct6"><div></div> <span class="text-xs svelte-440ct6"> </span></div>');function ct(s,a){if(new.target)return et({component:ct,...s});it(a,!0);const f=()=>ee(ae,"$isFollowing$",C),k=()=>ee(z,"$agentColor$",C),[C,N]=nt(),ae=lt(),z=qt();let E=h(a,"content",15),l=h(a,"onContentChange",7),A=h(a,"isActive",7,!1),g=null,w=null,pe="";rt(()=>(window.addEventListener("agent-follow-animation",O),()=>{window.removeEventListener("agent-follow-animation",O),R()}));function O(c){if(!A()||!f())return;const b=c.detail;if(!b||typeof b.content!="string")return;const{content:F,isAddition:S,speed:I=30}=b;R(),S?he(F,I):ve(F,I)}function R(){g&&(g.abort(),g=null),w=null}async function he(c,b){g=new AbortController;const F=g.signal,S=c.split("");w=(async()=>{for(let I=0;I<S.length&&!F.aborted;I++){pe+=S[I],E(E()+S[I]),l()(E());const V=b+(Math.random()*10-5);await new Promise(H=>setTimeout(H,V))}})(),await w}async function ve(c,b){g=new AbortController;const F=g.signal,S=E().indexOf(c);if(S===-1)return;const I=E().slice(0,S),V=E().slice(S+c.length);w=(async()=>{for(let H=c.length;H>0&&!F.aborted;H--){const Me=c.slice(0,H-1);E(I+Me+V),l()(E());const ke=b*.7+(Math.random()*5-2.5);await new Promise(Ee=>setTimeout(Ee,ke))}})(),await w}let se=xe(()=>w!==null),x=xe(()=>i(se)?"animate-blink":"");var j={get content(){return E()},set content(c){E(c),v()},get onContentChange(){return l()},set onContentChange(c){l(c),v()},get isActive(){return A()},set isActive(c=!1){A(c),v()},$set:tt,$on:(c,b)=>ot(a,c,b)},ne=Tt(),le=_e(ne);{var q=c=>{var b=Ht(),F=K(b),S=$(F,2),I=Ce(S,!0);Y(b),me(V=>{Ve(b,`background: ${k()?.start??""}20; border: 1px solid ${k()?.start??""}40;`),Vt(F,1,`w-2 h-2 rounded-full ${i(x)??""}`,"svelte-440ct6"),Ve(F,`background: ${k()?.start??""};`),Ve(S,`color: ${k()?.start??""};`),re(I,V)},[()=>M.editor_typingAnimation_agentTyping_label()]),D(c,b)};Q(le,c=>{i(se)&&f()&&c(q)})}D(s,ne);var L=at(j);return N(),L}function En(s){const a=[];for(const f of s){let k=f.newStart;for(const C of f.lines)C.startsWith("+")?(a.push({line:k,type:"added"}),k++):C.startsWith("-")||C.startsWith(" ")&&k++}return a}function Ut(s,a){return a.map(f=>{const k=Gt(f.type),C=Jt(f.type);return{range:new s.Range(f.line,1,f.line,1),options:{isWholeLine:!1,linesDecorationsClassName:`line-change-indicator line-change-${f.type}`,overviewRuler:{color:k,position:s.editor.OverviewRulerLane.Left},glyphMarginHoverMessage:{value:C}}}})}function Gt(s){switch(s){case"added":return"#22c55e";case"modified":return"#3b82f6";case"deleted":return"#ef4444";default:return"#6b7280"}}function Jt(s){switch(s){case"added":return M.editor_lineChanges_added_tooltip();case"modified":return M.editor_lineChanges_modified_tooltip();case"deleted":return M.editor_lineChanges_deleted_tooltip();default:return M.editor_lineChanges_changed_tooltip()}}const Xt=[".d.mts",".d.cts",".d.ts",".mts",".cts",".tsx",".ts",".jsx",".mjs",".cjs",".js",".json"];function dt(s){return s.startsWith("/")?s:`/${s}`}function Zt(s){return s.replace(/[^a-zA-Z0-9_-]/g,"_")}function Kt(s,a){const f=dt(s),k=f.toLowerCase(),C=`.__editor_${Zt(a)}`,N=Xt.find(E=>k.endsWith(E));if(N)return`${f.slice(0,-N.length)}${C}${f.slice(-N.length)}`;const ae=f.lastIndexOf("/"),z=f.lastIndexOf(".");return z>ae?`${f.slice(0,z)}${C}${f.slice(z)}`:`${f}${C}`}function Yt(s){return dt(s)}var Qe=te("<!> ",1),Qt=te('<div class="mt-4 flex items-center justify-center gap-2"><!> <!></div>'),en=te('<div class="content-too-large svelte-2n2z1y"><div class="text-center space-y-4 max-w-md"><div class="text-subtle"><svg class="w-16 h-16 mx-auto mb-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"></path></svg> <h3 class="text-lg font-medium mb-2"> </h3> <p class="text-sm"> </p> <!></div></div></div>'),tn=te('<div class="placeholder-overlay svelte-2n2z1y"><span class="text-subtle text-sm italic"> </span></div>'),nn=te('<!> <div class="native-scrollbars w-full h-full"></div> <!>',1),on=te('<div class="relative h-full w-full"><!></div>');function rn(s,a){if(new.target)return et({component:rn,...s});it(a,!0);const f=()=>ee(ut,"$workspaceById",z),k=()=>ee(ht,"$isFollowing$",z),C=()=>ee(I,"$isDarkTheme",z),N=()=>ee(S,"$codeFontFamilyCSS",z),ae=()=>ee(ft,"$isWorkspaceHostLocal$",z),[z,E]=nt(),l=At("CodeEditor"),A=500*1024;let g=h(a,"value",15,""),w=h(a,"language",7,"javascript"),pe=h(a,"theme",7,"light"),O=h(a,"readOnly",7,!1),R=h(a,"lineNumbers",7,!0),he=h(a,"highlightActiveLine",7,!0),ve=h(a,"diffMode",7,!1),se=h(a,"originalValue",7,""),x=h(a,"fileName",7,""),j=h(a,"lineWrapping",7,!0),ne=h(a,"jumpTo",7,void 0),le=h(a,"lineChanges",23,()=>[]),q=h(a,"workspaceId",7),L=h(a,"filePath",7),c=h(a,"placeholder",7),b=h(a,"isPanelFocused",7,!0),F=h(a,"externalContentVersion",7,0);const S=Rt(),I=jt(),V=Bt()?.workspaceId,H=typeof navigator<"u"&&navigator.platform?.startsWith("Win"),Me=typeof navigator<"u"&&(navigator.userAgentData?.platform==="macOS"||/Mac|iPhone|iPad|iPod/.test(navigator.userAgent)),ke=H?M.layout_panelTabBar_fileManagerExplorer_label():Me?M.layout_panelTabBar_fileManagerFinder_label():M.layout_panelTabBar_fileManagerGeneric_label(),Ee=xe(()=>q()??V??void 0),Le=It(q()??V??"");P(()=>{Le.set(q()??V??"")});const ut=Dt(Le),ft=Ot(Le),We=Ze("externalEditors"),$e=Ze("systemFileManager");function De(){return f()}let U=oe(!1),we=oe(0);function gt(e){return e<1024?M.editor_codeEditor_fileSizeBytes_label({size:e}):e<1024*1024?M.editor_codeEditor_fileSizeKb_label({size:(e/1024).toFixed(1)}):M.editor_codeEditor_fileSizeMb_label({size:(e/(1024*1024)).toFixed(1)})}async function mt(){if(!L()){l.error("Cannot open file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot open file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("vscode:openFile",{file:e})}catch(n){l.error("Failed to open file in VS Code:",n)}}async function pt(){if(!L()){l.error("Cannot reveal file: missing file path");return}let e;if(L().startsWith("/"))e=L();else{const n=De(),o=n?.worktreePath||n?.repositoryPath;if(!o){l.error("Cannot reveal file: missing workspace path for relative file path");return}e=`${o}/${L()}`}try{await Xe("shell:showItemInFolder",{path:e})}catch(n){l.error("Failed to reveal file:",n)}}let d=oe(void 0),t=null,G=null,J=oe(!1);const ht=lt();let Fe=xe(k),Oe=oe(0);const vt=`${Date.now()}-${Math.random().toString(36).slice(2)}`;let ce=[],Re;function de(e){if(typeof e=="string")return e;if(e==null)return"";try{return JSON.stringify(e,null,2)}catch{return String(e)}}function wt(e){const n=Ye.file(Yt(e));return B.getModel(n)?Ye.file(Kt(e,vt)):n}function Se(e,n){je();const o=L()||x();return o?(G=B.createModel(e,n,wt(o)),G):(G=B.createModel(e,n),G)}function je(){G&&(G.dispose(),G=null)}function Be(){if(t){try{t.dispose()}catch{}t=null,T(J,!1)}je()}let Te=oe(!1);P(()=>{const n=de(g()).length;n<=A?i(U)&&(l.debug("Content size now acceptable, resetting contentTooLarge",{fileName:x(),size:n,limit:A}),T(U,!1),T(we,0),T(Te,!0)):i(U)||(l.warn("Content too large for Monaco editor",{fileName:x(),size:n,limit:A}),T(U,!0),T(we,n,!0),t&&Be())}),P(()=>{i(Te)&&i(d)&&!t&&!i(U)&&(T(Te,!1),(async()=>{try{const e=de(g());if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}Ue();const n=be(w()),o=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor reinitialization, skipping");return}const u=Se(e,n);t=B.create(i(d),{model:u,theme:o,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(m=>{const y=m.selection;if(!y.isEmpty()&&t?.hasTextFocus()){const r=t?.getModel()?.getValueInRange(y)||"";r&&ie("editor:selection-change",{text:r,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})}),l.debug("Editor re-initialized after contentTooLarge was cleared")}catch(e){l.error("Failed to initialize editor after contentTooLarge cleared:",e)}})())}),P(()=>{const e=de(g()),n=F(),o=n!==i(Oe);if(t){if(t.getValue()!==e&&(!i(Fe)||o)){const m=t.getPosition();t.setValue(e),m&&t.setPosition(m)}o&&t.getValue()===e&&T(Oe,n,!0)}}),P(()=>{const e=le();if(!t||!e||e.length===0){t&&ce.length>0&&(ce=t.deltaDecorations(ce,[]));return}const n=Ut(Nt,e);ce=t.deltaDecorations(ce,n)}),P(()=>{if(!t||!i(Fe))return;const e=n=>{const o=n.detail;if(!o||typeof o.content!="string")return;const{content:u,isAddition:m,lineNumber:y,column:_}=o;if(t)if(m){const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r){const p=new Ke(r.lineNumber,r.column,r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:u,forceMoveMarkers:!0}]);const W={lineNumber:r.lineNumber,column:r.column+u.length};t.setPosition(W),t.revealPositionInCenterIfOutsideViewport(W,0)}}else{const r=y&&_?{lineNumber:y,column:_}:t.getPosition();if(r&&u.length>0){const p=new Ke(r.lineNumber,Math.max(1,r.column-u.length),r.lineNumber,r.column);t.executeEdits("agent-typing",[{range:p,text:"",forceMoveMarkers:!0}]),t.revealPositionInCenterIfOutsideViewport(r,0)}}};return window.addEventListener("agent-follow-animation",e),()=>{window.removeEventListener("agent-follow-animation",e)}}),P(()=>{const e=w();if(t&&e){const n=be(e),o=t.getModel();o&&B.setModelLanguage(o,n)}}),P(()=>{const e=j();t&&t.updateOptions({wordWrap:e?"on":"off"})}),P(()=>{const e=N();t&&t.updateOptions({fontFamily:e})}),P(()=>{const e=C();t&&B.setTheme(ye(e))});function be(e){return{js:"javascript",ts:"typescript",jsx:"javascript",tsx:"typescript",py:"python",rs:"rust",html:"html",css:"css",scss:"scss",less:"less",json:"json",md:"markdown",yaml:"yaml",yml:"yaml",xml:"xml",cpp:"cpp",c:"c",java:"java",sh:"shell",bash:"shell",zsh:"shell",sql:"sql",svelte:"svelte",vue:"html",go:"go",rb:"ruby",php:"php",swift:"swift",kt:"kotlin",scala:"scala",r:"r",lua:"lua",dockerfile:"dockerfile",toml:"ini",ini:"ini",graphql:"graphql",gql:"graphql"}[e]||e}rt(async()=>{if(!i(d))return;try{const o=de(g());if(o.length>A){l.warn("Content too large for Monaco editor",{fileName:x(),size:o.length,limit:A}),T(U,!0),T(we,o.length,!0);return}if(await Ae(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}if(await He(),!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}Ue();const u=be(w()),m=ye(C());if(!i(d)||!i(d).parentNode||!document.body.contains(i(d))){l.debug("Container removed from DOM before editor creation, skipping");return}const y=Se(o,u);t=B.create(i(d),{model:y,theme:m,readOnly:O(),lineNumbers:R()?"on":"off",lineNumbersMinChars:5,minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",overviewRulerLanes:0,scrollBeyondLastLine:!1,fontSize:13,fontFamily:N(),fontWeight:"500",fontLigatures:!0,guides:{indentation:!1},scrollbar:{vertical:"auto",horizontal:"auto",verticalScrollbarSize:10,horizontalScrollbarSize:10}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(_=>{const r=_.selection;if(!r.isEmpty()&&t?.hasTextFocus()){const W=t?.getModel()?.getValueInRange(r)||"";W&&ie("editor:selection-change",{text:W,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(o){l.error("[CodeEditor] Failed to create Monaco editor:",o);try{await Ae();const u=de(g()),m=Se(u,be(w()));t=B.create(i(d),{model:m,theme:ye(C()),readOnly:O(),lineNumbers:R()?"on":"off",minimap:{enabled:!1},automaticLayout:!0,wordWrap:j()?"on":"off",fontFamily:N(),guides:{indentation:!1}}),T(J,!0),t?.onDidChangeModelContent(()=>{g(t?.getValue()||"")}),t?.onDidChangeCursorSelection(y=>{const _=y.selection;if(!_.isEmpty()&&t?.hasTextFocus()){const p=t?.getModel()?.getValueInRange(_)||"";p&&ie("editor:selection-change",{text:p,file:x(),language:w(),source:"monaco"})}else t?.hasTextFocus()&&ie("editor:selection-change",{text:"",file:x(),language:w(),source:"monaco"})})}catch(u){l.error("[CodeEditor] Failed to create fallback editor:",u)}}const e=o=>{if(t){const u=t.getScrollTop();o.detail.callback(u)}},n=o=>{o.detail.filePath&&o.detail.filePath!==x()||t&&typeof o.detail.scrollPosition=="number"&&requestAnimationFrame(()=>{t&&(t.setScrollTop(o.detail.scrollPosition),l.debug("[CodeEditor] Restored scroll position",{fileName:x(),scrollPosition:o.detail.scrollPosition}))})};window.addEventListener("file:save-scroll-position",e),window.addEventListener("file:restore-scroll-position",n),Re=()=>{window.removeEventListener("file:save-scroll-position",e),window.removeEventListener("file:restore-scroll-position",n)}});function bt(){if(t)try{return t.focus(),!0}catch(e){l.debug("[CodeEditor] Editor not ready for focus:",e)}return!1}function yt(e){if(!t||!t.hasTextFocus())return!1;const n={undo:"undo",redo:"redo",copy:"editor.action.clipboardCopyAction","select-all":"editor.action.selectAll"}[e];return t.trigger("shortcut-preferences",n,null),!0}Pt(()=>{Re?.(),Be()}),P(()=>{const e=ne(),n=i(J);if(!t||!e||!n)return;const o=Math.max(1,Math.floor(e.line??1)),u=Math.max(1,Math.floor(e.column??1)),y=t.getModel?.()?.getLineCount?.()??o,r={lineNumber:Math.min(o,y),column:u};try{t.setPosition(r),t.revealPositionInCenterIfOutsideViewport(r,0),t.focus()}catch{}}),P(()=>{if(!i(J)||!t)return;const n=()=>{t?.hasTextFocus()&&t.trigger("keyboard","editor.action.revealDefinition",{})};return window.addEventListener("editor:go-to-definition",n),()=>{window.removeEventListener("editor:go-to-definition",n)}}),P(()=>{if(!i(J)||!t)return;const n=o=>{const u=o.detail;!u?.line||!t||b()&&setTimeout(()=>{if(!t||!b())return;const m=Math.max(1,Math.floor(u.line)),_=t.getModel?.()?.getLineCount?.()??m,p={lineNumber:Math.min(m,_),column:1};try{t.focus(),t.setPosition(p),t.revealPositionInCenterIfOutsideViewport(p,0)}catch{}},100)};return window.addEventListener("workspace:go-to-line",n),()=>{window.removeEventListener("workspace:go-to-line",n)}});var _t={focus:bt,runShortcut:yt,get value(){return g()},set value(e=""){g(e),v()},get language(){return w()},set language(e="javascript"){w(e),v()},get theme(){return pe()},set theme(e="light"){pe(e),v()},get readOnly(){return O()},set readOnly(e=!1){O(e),v()},get lineNumbers(){return R()},set lineNumbers(e=!0){R(e),v()},get highlightActiveLine(){return he()},set highlightActiveLine(e=!0){he(e),v()},get diffMode(){return ve()},set diffMode(e=!1){ve(e),v()},get originalValue(){return se()},set originalValue(e=""){se(e),v()},get fileName(){return x()},set fileName(e=""){x(e),v()},get lineWrapping(){return j()},set lineWrapping(e=!0){j(e),v()},get jumpTo(){return ne()},set jumpTo(e=void 0){ne(e),v()},get lineChanges(){return le()},set lineChanges(e=[]){le(e),v()},get workspaceId(){return q()},set workspaceId(e){q(e),v()},get filePath(){return L()},set filePath(e){L(e),v()},get placeholder(){return c()},set placeholder(e){c(e),v()},get isPanelFocused(){return b()},set isPanelFocused(e=!0){b(e),v()},get externalContentVersion(){return F()},set externalContentVersion(e=0){F(e),v()},$set:tt,$on:(e,n)=>ot(a,e,n)},Ie=on(),Ct=K(Ie);{var xt=e=>{var n=en(),o=K(n),u=K(o),m=$(K(u),2),y=Ce(m,!0),_=$(m,2),r=Ce(_,!0),p=$(_,2);{var W=X=>{var ue=Qt(),qe=K(ue);{var Et=Z=>{Ge(Z,{variant:"secondary",size:"sm",onclick:mt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return Wt},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.editor_codeEditor_openInVsCode_label()]),D(Pe,fe)},$$slots:{default:!0}})};Q(qe,Z=>{We&&Z(Et)})}var Lt=$(qe,2);{var Ft=Z=>{Ge(Z,{variant:"ghost",size:"sm",onclick:pt,children:(Pe,St)=>{var fe=Qe(),ge=_e(fe);Je(ge,{get icon(){return $t},class:"mr-2"});var ze=$(ge);me(Ne=>re(ze,` ${Ne??""}`),[()=>M.layout_panelTabBar_revealIn_label({fileManager:ke})]),D(Pe,fe)},$$slots:{default:!0}})};Q(Lt,Z=>{$e&&Z(Ft)})}Y(ue),D(X,ue)};Q(p,X=>{i(Ee)&&L()&&ae()&&(We||$e)&&X(W)})}Y(u),Y(o),Y(n),me((X,ue)=>{re(y,X),re(r,ue)},[()=>M.editor_codeEditor_fileTooLarge_title(),()=>M.editor_codeEditor_fileTooLarge_description({size:gt(i(we))})]),D(e,n)},Mt=e=>{var n=nn(),o=_e(n);{var u=r=>{ct(r,{onContentChange:p=>g(p),isActive:!0,get content(){return g()},set content(p){g(p)}})};Q(o,r=>{i(Fe)&&r(u)})}var m=$(o,2);zt(m,r=>T(d,r),()=>i(d));var y=$(m,2);{var _=r=>{var p=tn(),W=K(p),X=Ce(W,!0);Y(p),me(()=>re(X,c())),D(r,p)};Q(y,r=>{c()&&!g()&&r(_)})}D(e,n)};Q(Ct,e=>{i(U)?e(xt):e(Mt,-1)})}Y(Ie),D(s,Ie);var kt=at(_t);return E(),kt}export{rn as C,En as p};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{J4 as l,rM as u,IJ as b}from"./
|
|
1
|
+
import{J4 as l,rM as u,IJ as b}from"./CbRsc9i4.js";import{at as v}from"./CzW29tkb.js";import{bG as m}from"./CgwFGLCK.js";import{be as S,ba as M}from"./BSsEOl8-.js";import{J as P}from"./sS3MW5B6.js";import{bm as s}from"./51_h0jm2.js";import{l as E}from"./DqFWZ_g1.js";const D=l.createSelector(t=>t.backgroundAgentSettings.defaultModel),O=l.createSelector(t=>t.backgroundAgentSettings.typeOverrides),j=l.createSelector(t=>t.backgroundAgentSettings.defaultReasoningEffort),H=l.createSelector(t=>t.backgroundAgentSettings.typeReasoningEffortOverrides),w=l.createSelector(t=>t.backgroundAgentSettings),A=l.createSelector(t=>{const a=new Map,o=(e,i)=>{const n=a.get(e)??new Set;n.add(i),a.set(e,n)},f=m.select(t),d=P.select(t),g=v.select(t)[d];g&&d&&o(d,s.settings_providers_inUseDefaultModel_label({model:g})),u(d)&&!g&&o(d,s.settings_providers_inUseDefaultProvider_label());const p=t.backgroundAgentSettings?.providerId;p&&u(p)&&o(p,s.settings_providers_inUseQuickActions_label());for(const e of S.select(t)){const i=M.select(t,e.id),n=e.source?{project:s.settings_providers_pinSourceProject_label(),user:s.settings_providers_pinSourceUser_label(),bundled:s.settings_providers_pinSourceBundled_label(),builtin:s.settings_providers_pinSourceBuiltin_label(),"electron-store":s.settings_providers_pinSourceLegacy_label()}[e.source]:void 0,c=r=>n&&i?s.settings_providers_inUseSourcePath_label({reason:r,source:n,path:i}):n?s.settings_providers_inUseSource_label({reason:r,source:n}):i?s.settings_providers_inUsePath_label({reason:r,path:i}):r;if(e.codingAgent&&o(e.codingAgent,c(s.settings_providers_inUseSpecialistAgent_label({name:e.name}))),e.modelOptions?.forEach((r,_)=>{r.provider&&u(r.provider)&&o(r.provider,c(s.settings_providers_inUseSpecialistModelOption_label({name:e.name,position:E(_+1)})))}),e.defaultModel)if(e.defaultModel.includes(":")){const r=b(e.defaultModel).providerId??f;o(r,c(s.settings_providers_inUseSpecialistModel_label({name:e.name,model:e.defaultModel})))}else e.codingAgent||o(f,c(s.settings_providers_inUseSpecialistModel_label({name:e.name,model:e.defaultModel})))}return Object.fromEntries([...a].map(([e,i])=>[e,[...i].join(`
|
|
2
2
|
`)]))});l.createSelector((t,a)=>A.select(t)[a]??null);const I=[{id:"dracula",label:"Dracula"},{id:"nord",label:"Nord"},{id:"rose-pine",label:"Rosé Pine"},{id:"tokyo-night",label:"Tokyo Night"},{id:"solarized",label:"Solarized"},{id:"github",label:"GitHub"},{id:"high-contrast",label:"High Contrast"}],J=I.map(({id:t})=>t);export{J as T,I as a,j as b,w as c,O as d,H as e,A as f,D as s};
|