@intent-hq/web 2.317.0 → 2.317.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/chunks/{D2MdcX20.js → -oBRwUwo.js} +1 -1
- package/web/app/immutable/chunks/{1MM4WffX.js → -pQB0SQC.js} +1 -1
- package/web/app/immutable/chunks/{cf1Brjzn.js → 0gFz0POF.js} +1 -1
- package/web/app/immutable/chunks/{gUC3lRBd.js → 1HLMWEVR.js} +3 -3
- package/web/app/immutable/chunks/{DljOzx1o.js → 2qAiupor.js} +1 -1
- package/web/app/immutable/chunks/{GOcCF0xv.js → 3ABUvTUz.js} +1 -1
- package/web/app/immutable/chunks/{C_xALoSF.js → 4UMD9xsX.js} +1 -1
- package/web/app/immutable/chunks/{Bys31tzi.js → 4gTuF-Ct.js} +1 -1
- package/web/app/immutable/chunks/{BlGpoHuO.js → 51i2b0Zy.js} +4 -4
- package/web/app/immutable/chunks/{avnay2CS.js → 5FkB6ttu.js} +1 -1
- package/web/app/immutable/chunks/{2sa8qIAB.js → 5s1JeAQX.js} +1 -1
- package/web/app/immutable/chunks/{WDQu-iPa.js → 70jzMwhc.js} +1 -1
- package/web/app/immutable/chunks/{DmgwTJaD.js → 7LP4OqPX.js} +1 -1
- package/web/app/immutable/chunks/AZ_GDgFb.js +1 -0
- package/web/app/immutable/chunks/{C2_aeUYM.js → B-7x7ULv.js} +1 -1
- package/web/app/immutable/chunks/{Ch6n50QZ.js → B-yP-PGc.js} +1 -1
- package/web/app/immutable/chunks/{BAcscHZ9.js → B0ViTaXX.js} +1 -1
- package/web/app/immutable/chunks/{CYX6S8VK.js → B19l4IVQ.js} +1 -1
- package/web/app/immutable/chunks/{DM0CXxx0.js → B1JwdW4Q.js} +1 -1
- package/web/app/immutable/chunks/{h1OZX-ME.js → B3DLTfYH.js} +1 -1
- package/web/app/immutable/chunks/{CFe8-T5F.js → B4pMa2Ff.js} +1 -1
- package/web/app/immutable/chunks/{CO_zjcSy.js → B5U_Qd5T.js} +1 -1
- package/web/app/immutable/chunks/{NSkm34Jv.js → B8MMU67d.js} +1 -1
- package/web/app/immutable/chunks/{B1NJ5pzL.js → B9pc_pKk.js} +3 -3
- package/web/app/immutable/chunks/{DgYP6-Ts.js → BDRH2dQc.js} +1 -1
- package/web/app/immutable/chunks/{DLnrKStT.js → BDe_nklR.js} +1 -1
- package/web/app/immutable/chunks/{C4Z1vjzd.js → BFCJosLD.js} +1 -1
- package/web/app/immutable/chunks/{BqkqHfzf.js → BH-KJlp3.js} +1 -1
- package/web/app/immutable/chunks/{BGl5gjhT.js → BJw5wnOV.js} +1 -1
- package/web/app/immutable/chunks/{DKZU30Gj.js → BKE1GgFG.js} +1 -1
- package/web/app/immutable/chunks/{WU5yHhJ9.js → BLbOCNKp.js} +1 -1
- package/web/app/immutable/chunks/{DMQUXENv.js → BPiLsEn1.js} +2 -2
- package/web/app/immutable/chunks/{DbZ_zQlq.js → BQ4SUKhz.js} +1 -1
- package/web/app/immutable/chunks/{CW0E9xqo.js → BQpiQojj.js} +1 -1
- package/web/app/immutable/chunks/{MTqrPgXh.js → BRpw_Wa2.js} +1 -1
- package/web/app/immutable/chunks/{COtDauzr.js → BSi1rsrO.js} +1 -1
- package/web/app/immutable/chunks/{yLCQj9vq.js → BTtki0b6.js} +1 -1
- package/web/app/immutable/chunks/{Cl0jxY31.js → BUjUgUAA.js} +1 -1
- package/web/app/immutable/chunks/{DroMvY3m.js → BUz6aP3C.js} +3 -3
- package/web/app/immutable/chunks/{CPv5PsAl.js → BWj5RUp1.js} +1 -1
- package/web/app/immutable/chunks/{DcDUL2lD.js → BXrsorfX.js} +1 -1
- package/web/app/immutable/chunks/{CmwCaFMB.js → BXyOJh3J.js} +2 -2
- package/web/app/immutable/chunks/{78ciQIXP.js → BZ0Iewxk.js} +1 -1
- package/web/app/immutable/chunks/{BNdZ_9uw.js → BZ3_6s6_.js} +1 -1
- package/web/app/immutable/chunks/{DEXbUvgl.js → BZypROSK.js} +1 -1
- package/web/app/immutable/chunks/{DcSgegeE.js → B_-M_Rk1.js} +4 -4
- package/web/app/immutable/chunks/{DmMf-gSU.js → BcHWqFY-.js} +1 -1
- package/web/app/immutable/chunks/Bd8Du0Fd.js +1 -0
- package/web/app/immutable/chunks/{DvnqGv6n.js → Be5Er9P3.js} +1 -1
- package/web/app/immutable/chunks/{H_E0v0IH.js → BeTxGqXI.js} +3 -3
- package/web/app/immutable/chunks/{D21siGJn.js → BefL-1js.js} +3 -3
- package/web/app/immutable/chunks/{Bv5S3aez.js → Beo1BUT8.js} +3 -3
- package/web/app/immutable/chunks/{XJFhLiIT.js → Bho7eqFf.js} +1 -1
- package/web/app/immutable/chunks/{CGvw_v2X.js → BmwCvXG3.js} +1 -1
- package/web/app/immutable/chunks/{CYZanEy-.js → BoC-gLSw.js} +1 -1
- package/web/app/immutable/chunks/{BTUdYLJq.js → BpkV1q6g.js} +1 -1
- package/web/app/immutable/chunks/BqI9uavK.js +2 -0
- package/web/app/immutable/chunks/{L-gnvTJU.js → Brobdake.js} +1 -1
- package/web/app/immutable/chunks/{Cz7C_97W.js → Bscf_BG7.js} +1 -1
- package/web/app/immutable/chunks/{D9I5kjGH.js → BtgBL_Zs.js} +1 -1
- package/web/app/immutable/chunks/{C4Go0ZUc.js → BuPHrdQM.js} +1 -1
- package/web/app/immutable/chunks/{Bo8ZBCqJ.js → BvdQxsGv.js} +1 -1
- package/web/app/immutable/chunks/{CbFHvbCz.js → Bya-ggU-.js} +1 -1
- package/web/app/immutable/chunks/{DdCI35A_.js → BypSPjBC.js} +26 -26
- package/web/app/immutable/chunks/{3FY3HcmJ.js → C-QwlfDr.js} +1 -1
- package/web/app/immutable/chunks/{D5EAAcY_.js → C-e-yd98.js} +1 -1
- package/web/app/immutable/chunks/{37Ot8ebN.js → C-eLL0ai.js} +1 -1
- package/web/app/immutable/chunks/{CW4Luigb.js → C-oQiQ3z.js} +4 -4
- package/web/app/immutable/chunks/{BYzPqnCf.js → C0dWqch7.js} +1 -1
- package/web/app/immutable/chunks/{C_dkWQA1.js → C1MXqCUp.js} +2 -2
- package/web/app/immutable/chunks/{e1GtcuZv.js → C1wi1pKa.js} +1 -1
- package/web/app/immutable/chunks/{C04pXnsd.js → C2gHzjc8.js} +1 -1
- package/web/app/immutable/chunks/{CMcSelvo.js → C3Sa4Adg.js} +1 -1
- package/web/app/immutable/chunks/{DCkl9dqS.js → C68vqe0o.js} +1 -1
- package/web/app/immutable/chunks/{DizHcyTH.js → C6o6HQ6t.js} +1 -1
- package/web/app/immutable/chunks/{B1L6cKI-.js → C7G5eU0Q.js} +1 -1
- package/web/app/immutable/chunks/{CBVy9_dl.js → C7vWSpiv.js} +1 -1
- package/web/app/immutable/chunks/{COZ2SNJx.js → C9abnHnH.js} +1 -1
- package/web/app/immutable/chunks/{Ja3gSQQ2.js → C9dseNmc.js} +1 -1
- package/web/app/immutable/chunks/C9sYEPAV.js +1 -0
- package/web/app/immutable/chunks/{DH5x-Yq6.js → CBMSMN2h.js} +1 -1
- package/web/app/immutable/chunks/{ssptyjur.js → CC1bGpw_.js} +1 -1
- package/web/app/immutable/chunks/{B47DviaX.js → CFgZJYqX.js} +1 -1
- package/web/app/immutable/chunks/{zUDGDDVj.js → CG4aq4mO.js} +1 -1
- package/web/app/immutable/chunks/CGE0UuGs.js +2 -0
- package/web/app/immutable/chunks/{CSakj4K5.js → CHKHRxNs.js} +1 -1
- package/web/app/immutable/chunks/{Bnw1c_hY.js → CJeg57-s.js} +1 -1
- package/web/app/immutable/chunks/{L_RZq0s4.js → CK4Yr90U.js} +1 -1
- package/web/app/immutable/chunks/{D_niS0o-.js → CNxs5gLd.js} +1 -1
- package/web/app/immutable/chunks/{BM3p7pnM.js → CRcCx-zt.js} +1 -1
- package/web/app/immutable/chunks/{Cekvr7WJ.js → CRs-kuPG.js} +1 -1
- package/web/app/immutable/chunks/{DTRBfwcm.js → CSxQeikv.js} +6 -6
- package/web/app/immutable/chunks/{D6ZAQOK2.js → CWbBNWZY.js} +1 -1
- package/web/app/immutable/chunks/{DP8Psy6A.js → CYGCz9Jd.js} +2 -2
- package/web/app/immutable/chunks/{Dh3jIeqa.js → CZdhGhqW.js} +1 -1
- package/web/app/immutable/chunks/{BH9Sx0uO.js → C_sy4_IS.js} +1 -1
- package/web/app/immutable/chunks/{CqveaVR5.js → CbwL0mcB.js} +1 -1
- package/web/app/immutable/chunks/{Dl2Egpks.js → CcKi_DP7.js} +1 -1
- package/web/app/immutable/chunks/{Cbrc9SCK.js → CdYIhP6H.js} +1 -1
- package/web/app/immutable/chunks/{BN2r45vo.js → CdwxdSGH.js} +1 -1
- package/web/app/immutable/chunks/{CnMPeQg8.js → CeqH6gGg.js} +1 -1
- package/web/app/immutable/chunks/{gFd3Neq8.js → Cg8ePZn3.js} +1 -1
- package/web/app/immutable/chunks/{sLJTRKQx.js → ChjNagFp.js} +1 -1
- package/web/app/immutable/chunks/{Cc639qSq.js → CiY5WTYK.js} +1 -1
- package/web/app/immutable/chunks/{UZKstsLl.js → CiohM4ZQ.js} +1 -1
- package/web/app/immutable/chunks/{C6eBXrOa.js → CisIj7pL.js} +1 -1
- package/web/app/immutable/chunks/{BZddI90c.js → CjMpc_Ln.js} +1 -1
- package/web/app/immutable/chunks/{BKF9zMkW.js → Cja4JOdS.js} +1 -1
- package/web/app/immutable/chunks/{CmBbNgSg.js → Cjl8Nti8.js} +1 -1
- package/web/app/immutable/chunks/{YaCrKYp7.js → CnURdtcx.js} +1 -1
- package/web/app/immutable/chunks/{DdGu-kox.js → CnqPz2zD.js} +1 -1
- package/web/app/immutable/chunks/{DOryYkjQ.js → CsZRWQFM.js} +1 -1
- package/web/app/immutable/chunks/{BH5bBEdq.js → CtUwk2M2.js} +1 -1
- package/web/app/immutable/chunks/{CxTpD-K5.js → Cwi8--0W.js} +1 -1
- package/web/app/immutable/chunks/CzXnFot6.js +1 -0
- package/web/app/immutable/chunks/{C_FwJcIF.js → D000Y3U2.js} +1 -1
- package/web/app/immutable/chunks/{PJ8z0v-B.js → D1WNxwkF.js} +1 -1
- package/web/app/immutable/chunks/D25d-Koj.js +1 -0
- package/web/app/immutable/chunks/{DIRuUXBx.js → D27--FO7.js} +1 -1
- package/web/app/immutable/chunks/{J6yrfnLz.js → D2CQaCZ1.js} +1 -1
- package/web/app/immutable/chunks/{D2MqWUlq.js → D2bBadyn.js} +1 -1
- package/web/app/immutable/chunks/{7srhf39r.js → D3Av1JMy.js} +3 -3
- package/web/app/immutable/chunks/{CBZcUhKz.js → D3Nrkkzz.js} +1 -1
- package/web/app/immutable/chunks/{CuUeXXzt.js → D4X9mCj-.js} +1 -1
- package/web/app/immutable/chunks/{DKwfCr3E.js → D4rfShJ_.js} +1 -1
- package/web/app/immutable/chunks/{DHAWV_GR.js → D5hnBZtr.js} +1 -1
- package/web/app/immutable/chunks/{BCzNrJEe.js → D6pC8C8o.js} +1 -1
- package/web/app/immutable/chunks/{BvB-t2O9.js → D7IWr17d.js} +1 -1
- package/web/app/immutable/chunks/{CERj1M8p.js → D8Imihe0.js} +1 -1
- package/web/app/immutable/chunks/{BccYWCmP.js → D9o0T9ir.js} +1 -1
- package/web/app/immutable/chunks/{W_RYksqv.js → DBaJKI7v.js} +1 -1
- package/web/app/immutable/chunks/{CfhDPr30.js → DBsrgEQY.js} +1 -1
- package/web/app/immutable/chunks/DC-9q6_j.js +4 -0
- package/web/app/immutable/chunks/{Ht2fgYKG.js → DDUX5dm3.js} +4 -4
- package/web/app/immutable/chunks/{CsbDr056.js → DFCtaoTZ.js} +2 -2
- package/web/app/immutable/chunks/{D-uj1csY.js → DHW0b2jP.js} +8 -8
- package/web/app/immutable/chunks/DJ6NhP2E.js +1 -0
- package/web/app/immutable/chunks/{DpuVuyCy.js → DKo_4wJv.js} +1 -1
- package/web/app/immutable/chunks/{D_-A7-a3.js → DKtu3kW5.js} +1 -1
- package/web/app/immutable/chunks/{BtWNHufE.js → DMQ6-OMm.js} +1 -1
- package/web/app/immutable/chunks/{DtiKniGk.js → DO9ueLS2.js} +1 -1
- package/web/app/immutable/chunks/{ODW3_QQQ.js → DOd57FMZ.js} +1 -1
- package/web/app/immutable/chunks/{BoF5X4p9.js → DQ2gC3bu.js} +1 -1
- package/web/app/immutable/chunks/{DPmIqgtZ.js → DUjKQudc.js} +3 -3
- package/web/app/immutable/chunks/{C5QU6wj-.js → DUxBQfgs.js} +1 -1
- package/web/app/immutable/chunks/{DXh7O-mG.js → DUyiOtrK.js} +1 -1
- package/web/app/immutable/chunks/{DpiTd0jU.js → DVfPvRIS.js} +1 -1
- package/web/app/immutable/chunks/{0T7sNxcZ.js → DX9fSZrc.js} +1 -1
- package/web/app/immutable/chunks/{DGZtqpTN.js → DYMvJtQy.js} +1 -1
- package/web/app/immutable/chunks/{Dv6NvIa-.js → DYZwkmyf.js} +1 -1
- package/web/app/immutable/chunks/{DKWOCcke.js → D_1oX83y.js} +2 -2
- package/web/app/immutable/chunks/{CJrxetkR.js → Dc-hoPaD.js} +1 -1
- package/web/app/immutable/chunks/{B9JhhaHF.js → Dc0z-1f1.js} +1 -1
- package/web/app/immutable/chunks/{Bco_b5Ku.js → Dd6RDWfk.js} +1 -1
- package/web/app/immutable/chunks/{DFuME8T0.js → DdOkmX2F.js} +1 -1
- package/web/app/immutable/chunks/{T3eo2phD.js → DdgOahmz.js} +1 -1
- package/web/app/immutable/chunks/{CgkAypA6.js → Df_KaPO2.js} +2 -2
- package/web/app/immutable/chunks/{Dn5ABN6W.js → DfcN0vl7.js} +1 -1
- package/web/app/immutable/chunks/{D4EWm27H.js → Dgw2Wjgi.js} +2 -2
- package/web/app/immutable/chunks/{DYuU0Arz.js → Dh8_IDIo.js} +1 -1
- package/web/app/immutable/chunks/{D-nAlgSv.js → DhRnAAAs.js} +1 -1
- package/web/app/immutable/chunks/{DBW7NNdL.js → DiOG4aSP.js} +1 -1
- package/web/app/immutable/chunks/{Cxf643iJ.js → DjKRH19J.js} +1 -1
- package/web/app/immutable/chunks/{BpeC_-MT.js → DjsRyxTd.js} +1 -1
- package/web/app/immutable/chunks/{DKQzovq-.js → DlL3hXg0.js} +2 -2
- package/web/app/immutable/chunks/{CzO9GGdp.js → DmU7vUKt.js} +2 -2
- package/web/app/immutable/chunks/{fiKabgyF.js → DppOK7dU.js} +1 -1
- package/web/app/immutable/chunks/{dyeihP5s.js → DpsivgKH.js} +1 -1
- package/web/app/immutable/chunks/{BM-JMWD0.js → DqsogpbZ.js} +1 -1
- package/web/app/immutable/chunks/{Dqjk8pvU.js → DrPG1fDs.js} +1 -1
- package/web/app/immutable/chunks/{BNLH5vU8.js → DsYVkI49.js} +1 -1
- package/web/app/immutable/chunks/{GcCPIK4y.js → DtMv5TQ8.js} +1 -1
- package/web/app/immutable/chunks/{CtnmDc5U.js → DugGE-AO.js} +1 -1
- package/web/app/immutable/chunks/{B7gGY21y.js → DvnkuohG.js} +1 -1
- package/web/app/immutable/chunks/{DeG2Ac-N.js → Dw27dq0-.js} +1 -1
- package/web/app/immutable/chunks/{pd-R-VJ_.js → DwBOVRcA.js} +1 -1
- package/web/app/immutable/chunks/{DpHVu4cd.js → DwZdimp9.js} +1 -1
- package/web/app/immutable/chunks/{DgikbYWH.js → DwqkyGAS.js} +1 -1
- package/web/app/immutable/chunks/{DD8iC1J4.js → FHutRMli.js} +1 -1
- package/web/app/immutable/chunks/{D2mMBmvL.js → FLKfalOo.js} +1 -1
- package/web/app/immutable/chunks/{Dho1VckI.js → FN5msAy_.js} +1 -1
- package/web/app/immutable/chunks/{CFY6lIZ1.js → GKBPqrFt.js} +1 -1
- package/web/app/immutable/chunks/{DvG_D_NN.js → HiFzG501.js} +1 -1
- package/web/app/immutable/chunks/{cDR744Wh.js → IxA57nJL.js} +1 -1
- package/web/app/immutable/chunks/{CJEarPic.js → JtPc08so.js} +1 -1
- package/web/app/immutable/chunks/{Cs4SXj6b.js → KTsXxUF5.js} +1 -1
- package/web/app/immutable/chunks/{T3vgYRzj.js → LPZkKDIt.js} +1 -1
- package/web/app/immutable/chunks/{Djcp6v1f.js → LbC7skPD.js} +1 -1
- package/web/app/immutable/chunks/{B-XDLOUH.js → MaU6O01C.js} +1 -1
- package/web/app/immutable/chunks/{KQXpZ8Ws.js → MzIeIzDc.js} +1 -1
- package/web/app/immutable/chunks/{CXMtFxok.js → NySn8Jgs.js} +1 -1
- package/web/app/immutable/chunks/{POMSQzHT.js → OXAE4Y56.js} +1 -1
- package/web/app/immutable/chunks/{YhsLhIAa.js → PnruPu-v.js} +1 -1
- package/web/app/immutable/chunks/{DOBsmdO0.js → S75JqWQs.js} +1 -1
- package/web/app/immutable/chunks/{ChfKK8O6.js → SN7QywhL.js} +1 -1
- package/web/app/immutable/chunks/{C3YdXEWZ.js → W27HQR6z.js} +1 -1
- package/web/app/immutable/chunks/{BcDs9dVa.js → Y2IQMTgy.js} +1 -1
- package/web/app/immutable/chunks/{DRji3Jgq.js → ZOX3f8YP.js} +1 -1
- package/web/app/immutable/chunks/{DxgBueKf.js → ZqQeKane.js} +1 -1
- package/web/app/immutable/chunks/{Bsy8wJg4.js → aNsVO8E4.js} +1 -1
- package/web/app/immutable/chunks/d1VpYuEe.js +4 -0
- package/web/app/immutable/chunks/{BXf-4olS.js → dkrfHkms.js} +1 -1
- package/web/app/immutable/chunks/{Cpq9N-cZ.js → gGle0ySs.js} +1 -1
- package/web/app/immutable/chunks/{aAnKrNHf.js → geGZi_w1.js} +1 -1
- package/web/app/immutable/chunks/{Chdzh45_.js → iWHbHYgP.js} +1 -1
- package/web/app/immutable/chunks/{POr_IUHX.js → ibhfo-VE.js} +1 -1
- package/web/app/immutable/chunks/{-Nlmdtho.js → jWThE6-J.js} +1 -1
- package/web/app/immutable/chunks/{DwuWRler.js → jiHQQ6wA.js} +1 -1
- package/web/app/immutable/chunks/{C1Dz1Ew8.js → jlIjptN1.js} +1 -1
- package/web/app/immutable/chunks/{BrQZ2Dsu.js → keABhBJs.js} +1 -1
- package/web/app/immutable/chunks/{cDMR84sh.js → ldht3A_H.js} +1 -1
- package/web/app/immutable/chunks/{7nZxhE5n.js → m5qFicCP.js} +1 -1
- package/web/app/immutable/chunks/{BgIOCdbx.js → n5756WrC.js} +1 -1
- package/web/app/immutable/chunks/{B9eFBnbu.js → nGdwLZhF.js} +1 -1
- package/web/app/immutable/chunks/{jjBmKMM6.js → nHpG5p0C.js} +1 -1
- package/web/app/immutable/chunks/{TfyyLY4T.js → o0LuLePs.js} +1 -1
- package/web/app/immutable/chunks/{DAW5vHcX.js → o17TbegD.js} +1 -1
- package/web/app/immutable/chunks/{BB-0D-f1.js → oxPAVHuu.js} +1 -1
- package/web/app/immutable/chunks/{CQbqgij-.js → pj4mR3lP.js} +1 -1
- package/web/app/immutable/chunks/{zXad5N8i.js → r-K_cVbp.js} +1 -1
- package/web/app/immutable/chunks/{2_ode0S7.js → rEk7AsyC.js} +1 -1
- package/web/app/immutable/chunks/{cmyT5Ste.js → rU5MX2nQ.js} +1 -1
- package/web/app/immutable/chunks/{DAMO7X4u.js → uYanh5GD.js} +1 -1
- package/web/app/immutable/chunks/{b6em44WJ.js → uxlSCqIr.js} +1 -1
- package/web/app/immutable/chunks/{CsfdLqAC.js → vsaQBZyB.js} +1 -1
- package/web/app/immutable/chunks/{K2dbGfSN.js → wprVZZpe.js} +1 -1
- package/web/app/immutable/chunks/{BEmgVD15.js → x2wsoUAP.js} +1 -1
- package/web/app/immutable/chunks/{AgeRGt9n.js → z4Ol2X5C.js} +1 -1
- package/web/app/immutable/entry/{app.IKpMMA4c.js → app.CjL_ESb3.js} +3 -3
- package/web/app/immutable/entry/start.DVcgL5VV.js +1 -0
- package/web/app/immutable/nodes/{0.pdrjpoDI.js → 0.u-mqmdJF.js} +1 -1
- package/web/app/immutable/nodes/{1.BA6cXWWv.js → 1.CWA4VVhg.js} +1 -1
- package/web/app/immutable/nodes/{10.1sUbjlmF.js → 10.COfYFCM4.js} +1 -1
- package/web/app/immutable/nodes/{11.CEkVMeXp.js → 11.CpSfU1GN.js} +1 -1
- package/web/app/immutable/nodes/{12.DeIYVacr.js → 12.RwHtMfg8.js} +1 -1
- package/web/app/immutable/nodes/{13.DVLyn8WD.js → 13.CGls5oXL.js} +3 -3
- package/web/app/immutable/nodes/{14.C_i1Czx9.js → 14.Dd42XRi5.js} +1 -1
- package/web/app/immutable/nodes/{15.7M_vr67p.js → 15.B6VjCrjj.js} +1 -1
- package/web/app/immutable/nodes/{16.3WccacnP.js → 16.CucYoMvi.js} +2 -2
- package/web/app/immutable/nodes/{2.Ddjtp5Dx.js → 2.Ccc1TwNU.js} +4 -4
- package/web/app/immutable/nodes/{3.CFJOautq.js → 3.Ce2k2EUY.js} +1 -1
- package/web/app/immutable/nodes/{4.D_TbMI2Z.js → 4.m_i1ZxYH.js} +1 -1
- package/web/app/immutable/nodes/{5.DjSN4aAb.js → 5.BzAilpoC.js} +2 -2
- package/web/app/immutable/nodes/{6.BHOPCP8I.js → 6.C9ZiA6w4.js} +1 -1
- package/web/app/immutable/nodes/{7.BxX4NXTv.js → 7.t5Jghx_n.js} +1 -1
- package/web/app/immutable/nodes/{8.gIY5eOtx.js → 8.aKcaX52l.js} +9 -9
- package/web/app/immutable/nodes/{9.DmagtOOH.js → 9.DeLiPEkd.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +45 -45
- package/web/index.html +18 -18
- package/web/app/immutable/chunks/6zh_liBN.js +0 -1
- package/web/app/immutable/chunks/CZMDLdIA.js +0 -2
- package/web/app/immutable/chunks/C_NaHwAa.js +0 -4
- package/web/app/immutable/chunks/CruGdHPf.js +0 -4
- package/web/app/immutable/chunks/DcU8FJ67.js +0 -1
- package/web/app/immutable/chunks/Df8cCnvS.js +0 -1
- package/web/app/immutable/chunks/Dn5Nqyl8.js +0 -1
- package/web/app/immutable/chunks/Ds1KbjtE.js +0 -2
- package/web/app/immutable/chunks/JsVsuvN3.js +0 -1
- package/web/app/immutable/chunks/pqe4mxuk.js +0 -1
- package/web/app/immutable/entry/start.BVs3dcNA.js +0 -1
package/web/index.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
7
|
<meta
|
|
8
8
|
http-equiv="Content-Security-Policy"
|
|
9
|
-
content="default-src 'self'; script-src 'self' 'sha256-FKwlwMwwvUNhi3N9iTNc68hX2F4Rqib0HS7Wgv5Egz0=' 'sha256-MiutOtqi0qHvQgl1IFbxH9ihchjB7IS3OX7uGrUcE/Y=' 'sha256-2SbiJTQTD3LKMsLk4fseCFivcYGgwzAZd7gIOUxAxb4=' 'sha256-
|
|
9
|
+
content="default-src 'self'; script-src 'self' 'sha256-FKwlwMwwvUNhi3N9iTNc68hX2F4Rqib0HS7Wgv5Egz0=' 'sha256-MiutOtqi0qHvQgl1IFbxH9ihchjB7IS3OX7uGrUcE/Y=' 'sha256-2SbiJTQTD3LKMsLk4fseCFivcYGgwzAZd7gIOUxAxb4=' 'sha256-gJhujYEHp5mclPfG20Y0uMQgzsONXcYefRCGErhZA9U='; style-src 'self' 'unsafe-inline'; img-src 'self' data: blob: https: workspace-asset: workspace-file:; font-src 'self' data:; media-src 'self' data: blob: https: workspace-asset: workspace-file:; connect-src 'self' blob: https: wss: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* workspace-file: workspace-asset:; worker-src 'self' blob: data:;"
|
|
10
10
|
/>
|
|
11
11
|
<title>Intent</title>
|
|
12
12
|
<!-- Runtime web configuration is a same-origin deployment asset, never a Vite-bundled secret. -->
|
|
@@ -171,30 +171,30 @@
|
|
|
171
171
|
import('/@vite/client').catch(() => {});
|
|
172
172
|
}
|
|
173
173
|
</script>
|
|
174
|
-
<link href="/app/immutable/entry/start.
|
|
175
|
-
<link href="/app/immutable/chunks/
|
|
174
|
+
<link href="/app/immutable/entry/start.DVcgL5VV.js" rel="modulepreload">
|
|
175
|
+
<link href="/app/immutable/chunks/CSxQeikv.js" rel="modulepreload">
|
|
176
176
|
<link href="/app/immutable/chunks/DYhIMPy1.js" rel="modulepreload">
|
|
177
|
-
<link href="/app/immutable/entry/app.
|
|
178
|
-
<link href="/app/immutable/chunks/
|
|
177
|
+
<link href="/app/immutable/entry/app.CjL_ESb3.js" rel="modulepreload">
|
|
178
|
+
<link href="/app/immutable/chunks/DJ6NhP2E.js" rel="modulepreload">
|
|
179
179
|
<link href="/app/immutable/chunks/BJzHxIyr.js" rel="modulepreload">
|
|
180
180
|
<link href="/app/immutable/chunks/D-N7efrx.js" rel="modulepreload">
|
|
181
|
-
<link href="/app/immutable/chunks
|
|
181
|
+
<link href="/app/immutable/chunks/jWThE6-J.js" rel="modulepreload">
|
|
182
182
|
<link href="/app/immutable/chunks/BaIAhI85.js" rel="modulepreload">
|
|
183
|
-
<link href="/app/immutable/nodes/0.
|
|
184
|
-
<link href="/app/immutable/chunks/
|
|
185
|
-
<link href="/app/immutable/chunks/
|
|
183
|
+
<link href="/app/immutable/nodes/0.u-mqmdJF.js" rel="modulepreload">
|
|
184
|
+
<link href="/app/immutable/chunks/DBaJKI7v.js" rel="modulepreload">
|
|
185
|
+
<link href="/app/immutable/chunks/Dd6RDWfk.js" rel="modulepreload">
|
|
186
186
|
<link href="/app/immutable/chunks/UyBYtOpv.js" rel="modulepreload">
|
|
187
|
-
<link href="/app/immutable/chunks/
|
|
188
|
-
<link href="/app/immutable/chunks/
|
|
187
|
+
<link href="/app/immutable/chunks/CNxs5gLd.js" rel="modulepreload">
|
|
188
|
+
<link href="/app/immutable/chunks/CG4aq4mO.js" rel="modulepreload">
|
|
189
189
|
<link href="/app/immutable/chunks/WFvSJ9zU.js" rel="modulepreload">
|
|
190
190
|
<link href="/app/immutable/chunks/ChTqQfQN.js" rel="modulepreload">
|
|
191
191
|
<link href="/app/immutable/chunks/D5B1sycf.js" rel="modulepreload">
|
|
192
192
|
<link href="/app/immutable/chunks/BlOn95cv.js" rel="modulepreload">
|
|
193
|
-
<link href="/app/immutable/chunks/
|
|
193
|
+
<link href="/app/immutable/chunks/C9dseNmc.js" rel="modulepreload">
|
|
194
194
|
<link href="/app/immutable/chunks/CMiilI_P.js" rel="modulepreload">
|
|
195
|
-
<link href="/app/immutable/chunks/
|
|
196
|
-
<link href="/app/immutable/chunks/
|
|
197
|
-
<link href="/app/immutable/chunks/
|
|
195
|
+
<link href="/app/immutable/chunks/CjMpc_Ln.js" rel="modulepreload">
|
|
196
|
+
<link href="/app/immutable/chunks/CBMSMN2h.js" rel="modulepreload">
|
|
197
|
+
<link href="/app/immutable/chunks/DlL3hXg0.js" rel="modulepreload">
|
|
198
198
|
|
|
199
199
|
<link href="/app/immutable/assets/spinner.D_TRo5Hy.css" rel="stylesheet">
|
|
200
200
|
<link href="/app/immutable/assets/button.-yaUNjRS.css" rel="stylesheet">
|
|
@@ -242,15 +242,15 @@
|
|
|
242
242
|
<div style="display: contents" id="app">
|
|
243
243
|
<script>
|
|
244
244
|
{
|
|
245
|
-
|
|
245
|
+
__sveltekit_pba1qy = {
|
|
246
246
|
base: ""
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
const element = document.currentScript.parentElement;
|
|
250
250
|
|
|
251
251
|
Promise.all([
|
|
252
|
-
import("/app/immutable/entry/start.
|
|
253
|
-
import("/app/immutable/entry/app.
|
|
252
|
+
import("/app/immutable/entry/start.DVcgL5VV.js"),
|
|
253
|
+
import("/app/immutable/entry/app.CjL_ESb3.js")
|
|
254
254
|
]).then(([kit, app]) => {
|
|
255
255
|
kit.start(app, element);
|
|
256
256
|
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as Zt,bq as K,by as jt,b as Nt,a_ as P,bu as Z,bs as Ie,bo as i}from"./DcU8FJ67.js";import{bs as Qt,ay as yt,be as h,b$ as x,b_ as s,bO as o,W as n,bS as l,bl as H,bn as Xt,aA as V,a7 as Se,aD as t,c9 as g,aB as I,bo as we,bV as kt,br as Ge,ca as Ht,bH as M,bk as Le,a5 as E,bA as O}from"./DYhIMPy1.js";import{h as Ae,i as Pe,k as ze,d as De,I as Bt,s as qt}from"./DwuWRler.js";import{c as Te}from"./-Nlmdtho.js";import{f as z}from"./B1NJ5pzL.js";import"./L_RZq0s4.js";import{e as Fe,L as Mt}from"./CXMtFxok.js";import"./DgYP6-Ts.js";import"./CruGdHPf.js";import{k as Ue,G as Ee,J as Oe}from"./C_NaHwAa.js";import{I as Wt}from"./POr_IUHX.js";import"./W_RYksqv.js";import{HD as W,fq as Kt,z as He,ei as Vt,q5 as Be,tb as qe,Hu as Me,nW as We,hE as Ke}from"./zUDGDDVj.js";import{aY as Jt,aZ as Rt,a_ as Ve,aT as Je,aU as Yt,aV as Re,aW as Ye,b2 as Ze}from"./CZMDLdIA.js";var je=I('<!> <p class="type-body"> </p>',1);function Ne(it,m){if(new.target)return Zt({component:Ne,...it});Qt(m,!0);let D=K(m,"open",15,!1),B=K(m,"static",7,!1),st=K(m,"title",7),_=K(m,"message",7),k=K(m,"buttons",7),b=K(m,"cancelIndex",7,0),j=K(m,"onSelect",7);function J(r){D(!1),j()?.(r)}var vt={get open(){return D()},set open(r=!1){D(r),V()},get static(){return B()},set static(r=!1){B(r),V()},get title(){return st()},set title(r){st(r),V()},get message(){return _()},set message(r){_(r),V()},get buttons(){return k()},set buttons(r){k(r),V()},get cancelIndex(){return b()},set cancelIndex(r=0){b(r),V()},get onSelect(){return j()},set onSelect(r){j(r),V()},$set:jt,$on:(r,q)=>Nt(m,r,q)};return Ue(it,{get static(){return B()},role:"alertdialog",get title(){return st()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>J(k().length-1),onCancel:()=>J(b()),get open(){return D()},set open(q){D(q)},footer:q=>{var T=Se(),w=yt(T);Ae(w,17,k,Pe,(N,Q,R)=>{{let X=g(()=>R===b()?"ghost":R===k().length-1?"primary":"outline");z(N,{get variant(){return t(X)},onclick:()=>J(R),children:(ct,pt)=>{h();var ut=x();s(()=>o(ut,t(Q))),n(ct,ut)},$$slots:{default:!0}})}}),n(q,T)},children:(q,T)=>{var w=je(),N=yt(w);Te(N,()=>Fe,(X,ct)=>{ct(X,{class:"sr-only",children:(pt,ut)=>{h();var _t=x();s(()=>o(_t,_())),n(pt,_t)},$$slots:{default:!0}})});var Q=l(N,2),R=H(Q,!0);s(()=>o(R,_())),n(q,w)},$$slots:{footer:!0,default:!0}}),Xt(vt)}var Qe=I('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),Xe=I('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),ta=I('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),ea=I('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),aa=I('<p class="text-xs text-danger" role="alert"> </p>'),na=I('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),ra=I('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),sa=I('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),oa=I('<p class="text-sm text-subtle" role="status"> </p>'),la=I('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),ia=I('<p class="text-sm text-danger" role="alert"> </p>'),ca=I('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function ua(it,m){const D=we();if(new.target)return Zt({component:ua,...it});Qt(m,!0);const B=()=>Z(ct,"$storedInstance$",r),st=()=>Z(ee,"$deviceGrantSupported$",r),_=()=>Z(ne,"$instanceSetupSupported$",r),k=()=>Z(pt,"$isAuthenticating$",r),b=()=>Z(ut,"$isCancelling$",r),j=()=>Z(te,"$deviceFlow$",r),J=()=>Z(_t,"$cancelOutcome$",r),vt=()=>Z(ae,"$error$",r),[r,q]=Ie();let T=K(m,"compact",7,!1),w=K(m,"onCancel",7);const N=`${D}-host`,Q=`${D}-host-help`,R=`${D}-host-error`,X=`${D}-token`,ct=Jt(),pt=Rt(),ut=Ve(),_t=Je(),te=Yt(),ee=Re(),ae=Ye(),ne=Ze();let bt=kt(Ge(Jt.select(W.state))),St=kt(!1),tt=kt(""),ft=kt(!1);const p=g(()=>qe(t(bt))),wt=g(()=>t(ft)||t(p)===B()&&st()===!1),Ct=g(()=>t(p)?We(t(p)):null),re=g(()=>_()&&t(p)!==null&&t(tt).trim().length>0);Ht(()=>{const c=B();t(St)||M(bt,c,!0)}),Ht(()=>{_()||M(tt,"")}),Le(()=>{const c=()=>{const e=W.state;Rt.select(e)&&Yt.select(e)&&W.dispatch(Kt())};return window.addEventListener("focus",c),()=>window.removeEventListener("focus",c)});function Gt(){!_()||!t(p)||t(p)===B()||k()||b()||W.dispatch(Be(t(p)))}function se(){M(St,!0),M(tt,"")}function Lt(){!_()||!t(p)||k()||b()||W.dispatch(Me(t(p)))}function At(){const c=t(tt).trim();!_()||!c||!t(p)||k()||b()||(W.dispatch(Ke(t(p),c)),M(tt,""))}function Pt(){!_()||b()||(k()&&W.dispatch(Vt()),M(ft,!0))}function oe(){M(ft,!1)}function le(){b()||W.dispatch(Vt())}function ie(){t(Ct)&&Oe(t(Ct),{})}function ce(c){c.key==="Enter"&&(c.preventDefault(),Gt(),t(wt)?document.getElementById(X)?.focus():Lt())}function ue(c){c.key==="Enter"&&(c.preventDefault(),At())}const zt=g(()=>T()?"sm":"xl"),gt=g(()=>T()?"sm":"default");var de={get compact(){return T()},set compact(c=!1){T(c),V()},get onCancel(){return w()},set onCancel(c){w(c),V()},$set:jt,$on:(c,e)=>Nt(m,c,e)},$t=ca();{const c=e=>{z(e,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return b()},onclick:le,children:(a,u)=>{h();var f=x();s(G=>o(f,G),[()=>b()?i.lib_gitlabConnect_cancelling_label():i.lib_gitlabConnect_cancel_label()]),n(a,f)},$$slots:{default:!0}})};var Dt=E($t);{var ve=e=>{var a=Qe(),u=H(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_updateRequired_description()]),n(e,a)};P(Dt,e=>{_()||e(ve)})}var Tt=l(Dt,2);{var pe=e=>{var a=Xe(),u=H(a,!0);s(()=>o(u,B())),n(e,a)};P(Tt,e=>{(k()||b())&&e(pe)})}var Ft=l(Tt,2);{var _e=e=>{var a=ta(),u=E(a);{let at=g(()=>i.lib_gitlabConnect_openGitlab_label());Ee(u,{get userCode(){return j().userCode},get verificationUri(){return j().verificationUri},get openLabel(){return t(at)},get compact(){return T()}})}var f=l(u,2),G=E(f);Bt(G,{size:16,class:"shrink-0"});var S=l(G,2),ot=H(S,!0),et=l(S,2);{let at=g(()=>b()||!_());z(et,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return t(at)},onclick:Pt,children:(It,Et)=>{h();var d=x();s($=>o(d,$),[()=>i.lib_gitlabConnect_useToken_label()]),n(It,d)},$$slots:{default:!0}})}var dt=l(et,2);c(dt),O(f),O(a),s(at=>o(ot,at),[()=>i.lib_gitlabConnect_waitingForAuthorization_label()]),n(e,a)},be=e=>{var a=ea(),u=E(a);Bt(u,{size:16,class:"shrink-0"});var f=l(u,2),G=H(f,!0),S=l(f,2);c(S),O(a),s(ot=>o(G,ot),[()=>i.lib_gitlabConnect_connecting_label()]),n(e,a)},fe=e=>{var a=sa(),u=yt(a),f=E(u);Mt(f,{get for(){return N},children:(d,$)=>{h();var y=x();s(L=>o(y,L),[()=>i.lib_gitlabConnect_host_label()]),n(d,y)},$$slots:{default:!0}});var G=l(f,2);{let d=g(()=>!_()),$=g(()=>!t(p)||void 0),y=g(()=>t(p)?Q:`${Q} ${R}`);Wt(G,{get id(){return N},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return t(d)},get"aria-invalid"(){return t($)},get"aria-describedby"(){return t(y)},get placeholder(){return He},oninput:se,onchange:Gt,onkeydown:ce,get value(){return t(bt)},set value(L){M(bt,L,!0)}})}var S=l(G,2),ot=H(S,!0),et=l(S,2);{var dt=d=>{var $=aa(),y=H($,!0);s(L=>{qt($,"id",R),o(y,L)},[()=>i.lib_gitlabConnect_invalidInstance_error()]),n(d,$)};P(et,d=>{t(p)||d(dt)})}O(u);var at=l(u,2);{var It=d=>{var $=na(),y=yt($),L=E(y);Mt(L,{get for(){return X},children:(v,U)=>{h();var lt=x();s(C=>o(lt,C),[()=>i.lib_gitlabConnect_token_label()]),n(v,lt)},$$slots:{default:!0}});var mt=l(L,2);{let v=g(()=>!_());Wt(mt,{get id(){return X},type:"password",autocomplete:"off",get disabled(){return t(v)},placeholder:"glpat-...",onkeydown:ue,get value(){return t(tt)},set value(U){M(tt,U,!0)}})}var ht=l(mt,2),F=E(ht),nt=l(F);{var xt=v=>{z(v,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:ie,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_createToken_label({host:t(p)})]),n(U,C)},$$slots:{default:!0}})};P(nt,v=>{t(Ct)&&t(p)&&v(xt)})}O(ht),O(y);var A=l(y,2),Y=E(A);{let v=g(()=>!t(re));z(Y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:At,get disabled(){return t(v)},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_connect_label()]),n(U,C)},$$slots:{default:!0}})}var Ot=l(Y,2);{var ke=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",onclick:oe,children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_useDevice_label()]),n(U,C)},$$slots:{default:!0}})};P(Ot,v=>{t(ft)&&!(t(p)===B()&&st()===!1)&&v(ke)})}var ye=l(Ot,2);{var Ce=v=>{z(v,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(U,lt)=>{h();var C=x();s(rt=>o(C,rt),[()=>i.lib_gitlabConnect_cancel_label()]),n(U,C)},$$slots:{default:!0}})};P(ye,v=>{w()&&v(Ce)})}O(A),s(v=>o(F,`${v??""} `),[()=>i.lib_gitlabConnect_token_description()]),n(d,$)},Et=d=>{var $=ra(),y=E($);{let F=g(()=>!t(p)||!_());z(y,{variant:"primary",get size(){return t(zt)},type:"button",onclick:Lt,get disabled(){return t(F)},children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_connect_label()]),n(nt,A)},$$slots:{default:!0}})}var L=l(y,2);{let F=g(()=>!_());z(L,{variant:"ghost",get size(){return t(gt)},type:"button",get disabled(){return t(F)},onclick:Pt,children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_useToken_label()]),n(nt,A)},$$slots:{default:!0}})}var mt=l(L,2);{var ht=F=>{z(F,{variant:"ghost",get size(){return t(gt)},type:"button",get onclick(){return w()},children:(nt,xt)=>{h();var A=x();s(Y=>o(A,Y),[()=>i.lib_gitlabConnect_cancel_label()]),n(nt,A)},$$slots:{default:!0}})};P(mt,F=>{w()&&F(ht)})}O($),n(d,$)};P(at,d=>{t(wt)?d(It):d(Et,-1)})}s(d=>{qt(S,"id",Q),o(ot,d)},[()=>i.lib_gitlabConnect_host_description()]),n(e,a)};P(Ft,e=>{(k()||b())&&j()?e(_e):k()||b()?e(be,1):e(fe,-1)})}var Ut=l(Ft,2);{var ge=e=>{var a=oa(),u=H(a,!0);s(f=>o(u,f),[()=>i.lib_gitlabConnect_cancelled_label()]),n(e,a)},$e=e=>{var a=la(),u=E(a),f=H(u,!0),G=l(u,2);z(G,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return b()},onclick:()=>W.dispatch(Kt()),children:(S,ot)=>{h();var et=x();s(dt=>o(et,dt),[()=>i.lib_gitlabConnect_checkStatus_label()]),n(S,et)},$$slots:{default:!0}}),O(a),s(S=>o(f,S),[()=>J()==="already-started"?i.lib_gitlabConnect_alreadyStarted_description():i.lib_gitlabConnect_cancelFailed_description()]),n(e,a)};P(Ut,e=>{J()==="cancelled"?e(ge):(J()==="already-started"||J()==="failed")&&e($e,1)})}var me=l(Ut,2);{var he=e=>{var a=ia(),u=H(a,!0);s(()=>o(u,vt())),n(e,a)};P(me,e=>{vt()&&e(he)})}O($t)}s(()=>ze($t,1,De(T()?"space-y-2":"space-y-4"))),n(it,$t);var xe=Xt(de);return q(),xe}export{ua as G,Ne as M};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/cf1Brjzn.js","/app/immutable/chunks/b6em44WJ.js","/app/immutable/chunks/DcU8FJ67.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/DwuWRler.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/B1NJ5pzL.js","/app/immutable/chunks/W_RYksqv.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/-Nlmdtho.js","/app/immutable/chunks/Bco_b5Ku.js","/app/immutable/chunks/POMSQzHT.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/Cl0jxY31.js","/app/immutable/chunks/cmyT5Ste.js","/app/immutable/chunks/zUDGDDVj.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/CMcSelvo.js","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/assets/notify.BeL_JB6L.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
var me=Object.defineProperty;var be=(e,t,r)=>t in e?me(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var u=(e,t,r)=>be(e,typeof t!="symbol"?t+"":t,r);import{HD as i,tb as Se,nf as k,ne as m,lJ as _e,xu as M,xv as x,xs as ve,xt as Ee,qW as V,xf as ke,uA as Q,c as Ae,Hp as Re,a8 as ye,b$ as Me,b_ as we,cd as Pe,cc as Ce,nh as A}from"./zUDGDDVj.js";import{cD as Te,cs as Fe,bt as Ie,c5 as Oe,ck as Le,c7 as De,cI as xe,cH as Ne,cM as Be,cB as Y,aw as We,bP as Ve,cJ as Ge}from"./zXad5N8i.js";import{a as Ue,i as He}from"./BH9Sx0uO.js";import{c as G}from"./ChTqQfQN.js";import{i as I}from"./DBW7NNdL.js";import{bo as a,_ as qe}from"./DcU8FJ67.js";import{n as je}from"./DKQzovq-.js";import{ay as ze,J as ee,bz as Ke,k as $e,bM as U,g as Qe,K as Je,bN as Ze,c as Xe,az as Ye,bu as H,ac as et,aO as tt,Q as rt,au as st,bB as it,O as nt,L as at,M as ot,bx as ct,t as lt}from"./CruGdHPf.js";import{u as ut}from"./DH5x-Yq6.js";const Zr=i.createSelector(e=>Te.select(e)?.capabilities.gitlabCheckout===!0),Xr=i.createSelector(e=>e.gitlabAuth.host),Yr=i.createSelector(e=>e.gitlabAuth.instanceBaseUrl??e.gitlabAuth.host),es=i.createSelector(e=>Se(e.gitlabAuth.instanceBaseUrl??e.gitlabAuth.host)??""),ts=i.createSelector(e=>e.gitlabAuth.isCancelling),rs=i.createSelector(e=>e.gitlabAuth.cancelOutcome),ss=i.createSelector(e=>e.gitlabAuth.isConfigured),is=i.createSelector(e=>e.gitlabAuth.isAuthenticating),ns=i.createSelector(e=>e.gitlabAuth.deviceFlow),as=i.createSelector(e=>e.gitlabAuth.deviceGrantSupported),os=i.createSelector(e=>e.gitlabAuth.user),cs=i.createSelector(e=>e.gitlabAuth.error);i.createSelector(e=>e.gitlabAuth.method);const ls=i.createSelector(e=>e.gitlabAuth.statusReady===!0),E=[{id:"pr-reviewer",icon:"pr-reviewer",get name(){return a.specialists_builtin_prReviewer_name()},get description(){return a.specialists_builtin_prReviewer_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"ui-designer",icon:"ui-designer",get name(){return a.specialists_builtin_uiDesigner_name()},get description(){return a.specialists_builtin_uiDesigner_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"vulnerability-scanner",icon:"pr-reviewer",get name(){return a.specialists_builtin_vulnerabilityScanner_name()},get description(){return a.specialists_builtin_vulnerabilityScanner_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"developer",icon:"verifier",get name(){return a.specialists_builtin_developer_name()},get description(){return a.specialists_builtin_developer_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"product-manager",icon:"coordinator",get name(){return a.specialists_builtin_productManager_name()},get description(){return a.specialists_builtin_productManager_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"maintenance-coordinator",icon:"ralph",get name(){return a.specialists_builtin_maintenanceCoordinator_name()},get description(){return a.specialists_builtin_maintenanceCoordinator_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"chief-of-staff",icon:"chief-of-staff",get name(){return a.specialists_builtin_chiefOfStaff_name()},get description(){return a.specialists_builtin_chiefOfStaff_description()},hidden:!0,defaultBehaviorPrompt:"",promptUnavailable:!0}],te=new Set(["pr-reviewer"]),us="developer";function ds(e){return E.find(t=>t.id===e)}const dt=i.createSelector(e=>e.githubAuth.mutationRequestId),pt=i.createSelector(e=>e.githubAuth.callbacksCancelled),ft=i.createSelector(e=>e.githubAuth.isDisconnecting),re=i.createSelector(e=>e.githubAuth.isAuthenticated),gt=i.createSelector(e=>e.githubAuth.statusSettled===!0),ht=i.createSelector(e=>e.githubAuth.requiresDaemonAuth),mt=i.createSelector(e=>e.githubAuth.user),bt=i.createSelector(e=>e.githubAuth.isAuthenticating),St=i.createSelector(e=>e.githubAuth.deviceFlow),_t=i.createSelector(e=>e.githubAuth.error),ps=Object.freeze(Object.defineProperty({__proto__:null,selectGitHubAuthCallbacksCancelled:pt,selectGitHubAuthDeviceFlow:St,selectGitHubAuthError:_t,selectGitHubAuthIsAuthenticated:re,selectGitHubAuthIsAuthenticating:bt,selectGitHubAuthIsDisconnecting:ft,selectGitHubAuthMutationRequestId:dt,selectGitHubAuthRequiresDaemonAuth:ht,selectGitHubAuthStatusSettled:gt,selectGitHubAuthUser:mt},Symbol.toStringTag,{value:"Module"}));function d(e){return e??""}function vt(e,t){const r=e??[],s=t??[];return r.length===s.length&&r.every((n,o)=>d(n.provider)===d(s[o].provider)&&n.model===s[o].model&&n.hint===s[o].hint&&d(n.reasoningEffort)===d(s[o].reasoningEffort))}function J(e,t){if(e.source!=="user"||!t?.ignoreModelPin&&(e.model||e.codingAgent))return!1;const r=e.bundled;return r?d(e.name)===d(r.name)&&d(e.description)===d(r.description)&&d(e.behaviorPrompt)===d(r.behaviorPrompt)&&d(e.roleReminder)===d(r.roleReminder)&&d(e.reasoningEffort)===d(r.reasoningEffort)&&vt(e.modelOptions,r.modelOptions):!1}const fs=i.createSelector(e=>e.specialists.bundledSpecialists),Et=i.createSelector(e=>e.specialists.fileSpecialists),gs=i.createSelector(e=>k(Et.select(e))),hs=i.createSelector(e=>e.specialists.userOverrides);i.createSelector(e=>e.specialists.overridesLoaded);const ms=i.createSelector(e=>e.specialists.customSpecialistsLoaded),bs=i.createSelector(e=>e.specialists.fileSpecialistsLoaded),Ss=i.createSelector(e=>e.specialists.bundledSpecialistsLoaded),_s=i.createSelector(e=>e.specialists.specialistsFolderPath),vs=i.createSelector((e,t)=>{if(!t)return e.specialists.defaultSpecialistId??"";const r=e.providerCatalog?.byWorkspaceId?.[t]?.settings.find(s=>s.path==="specialists.default")?.value;return typeof r=="string"?r:""});i.createSelector(e=>e.specialists.providerModelOverrides);const O=i.createSelector((e,t)=>!(te.has(t)&&!re.select(e)));function kt(e,t){return t?e:e.filter(r=>!te.has(r.id))}function At(e,t){return kt(e,t).filter(r=>!r.hidden)}function Es(e,t){return At(e,t).filter(r=>r.role!=="internal")}const b=i.createSelector((e,t)=>{if(t)return(e.providerCatalog?.byWorkspaceId?.[t]?.specialists??[]).map(l=>({...l,defaultModel:l.model,defaultBehaviorPrompt:l.behaviorPrompt??l.prompt??"",defaultAgentType:l.agentType}));const r=k(e.specialists.fileSpecialists),s=e.specialists.bundledSpecialists,n=new Set,o=[];for(const l of r)!n.has(l.id)&&O.select(e,l.id)&&(n.add(l.id),o.push({id:l.id,name:l.name,description:l.description,codingAgent:l.codingAgent,defaultModel:l.model||void 0,defaultBehaviorPrompt:l.behaviorPrompt,roleReminder:l.roleReminder,source:l.source,importedFrom:l.importedFrom,unsupportedFields:l.unsupportedFields,requiredSkills:l.requiredSkills,missingSkills:l.missingSkills,hidden:l.hidden,resolvedModel:l.resolvedModel,resolvedProvider:l.resolvedProvider,modelOptions:l.modelOptions,reasoningEffort:l.reasoningEffort,role:l.role,teamAgents:l.teamAgents,icon:l.icon}));for(const l of s)!n.has(l.id)&&O.select(e,l.id)&&(n.add(l.id),o.push(l));if(!e.specialists.bundledSpecialistsLoaded&&r.length===0&&s.length===0)for(const l of E)!n.has(l.id)&&O.select(e,l.id)&&(n.add(l.id),o.push(l));const c=new Map;for(const l of E)c.has(l.id)||c.set(l.id,c.size);for(const l of s)c.has(l.id)||c.set(l.id,c.size);return o.sort((l,g)=>{const S=c.has(l.id),F=c.has(g.id);return S&&F?(c.get(l.id)??0)-(c.get(g.id)??0):S&&!F?-1:!S&&F?1:l.name.localeCompare(g.name)}),o}),ks=i.createSelector(e=>{const t=b.select(e).filter(s=>s.role==="orchestrator");if(t.length===0)return null;const r=new Set([...E.map(({id:s})=>s),...e.specialists.bundledSpecialists.map(({id:s})=>s)]);return t.sort((s,n)=>+!r.has(s.id)-+!r.has(n.id)||s.id.localeCompare(n.id)),t[0]}),Rt=i.createSelector((e,t)=>{const r=m(e.specialists.fileSpecialists,t);if(r)return{id:r.id,name:r.name,description:r.description,source:r.source};const s=e.specialists.bundledSpecialists.find(n=>n.id===t);if(s)return{id:s.id,name:s.name,description:s.description,source:"builtin"};if(!e.specialists.bundledSpecialistsLoaded&&k(e.specialists.fileSpecialists).length===0&&e.specialists.bundledSpecialists.length===0){const n=E.find(o=>o.id===t);if(n)return{id:n.id,name:n.name,description:n.description,source:"builtin"}}return null}),As=i.createSelector((e,t)=>Rt.select(e,t)?.name??null),Rs=i.createSelector((e,t,r)=>{const n=b.select(e,r).find(o=>o.id===t);return n?n.defaultModel?n.defaultModel:n.resolvedModel??"":""}),ys=i.createSelector((e,t,r)=>b.select(e,r).find(o=>o.id===t)?.defaultModel||void 0),Ms=i.createSelector((e,t,r)=>b.select(e,r).find(o=>o.id===t)?.reasoningEffort||void 0),ws=i.createSelector((e,t,r)=>{const n=b.select(e,r).find(o=>o.id===t);return n?n.defaultBehaviorPrompt:""});function w(e,t){return t.some(r=>r.id===e)||E.some(r=>r.id===e)}const Ps=i.createSelector((e,t,r)=>{if(r){const s=e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(n=>n.id===t);return!s||s.importedFrom?!1:s.source==="bundled"||s.source==="user"&&w(t,e.specialists.bundledSpecialists)}return w(t,e.specialists.bundledSpecialists)}),Cs=i.createSelector((e,t,r)=>r?!!q.select(e,t,r):!!m(e.specialists.fileSpecialists,t)),Ts=i.createSelector((e,t,r)=>{if(r){const o=q.select(e,t,r);return!o||o.importedFrom||o.source==="project"?!1:w(t,e.specialists.bundledSpecialists)&&!J(o)}if(!w(t,e.specialists.bundledSpecialists))return!1;const n=m(e.specialists.fileSpecialists,t);return!n||n.source!=="user"?!1:!J(n)}),q=i.createSelector((e,t,r)=>{if(r){const s=e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(n=>n.id===t);return!s||s.source==="bundled"?void 0:{...s,source:s.source,model:s.model??"",behaviorPrompt:s.behaviorPrompt??s.prompt??"",filePath:s.path??""}}return m(e.specialists.fileSpecialists,t)}),Fs=i.createSelector((e,t,r)=>{const s=q.select(e,t,r);return r&&!s?e.providerCatalog?.byWorkspaceId?.[r]?.specialists.some(n=>n.id===t)?"Built-in":null:s?.source==="project"?"Project":s?.source==="user"?"User":e.specialists.bundledSpecialists.some(n=>n.id===t)?"Built-in":null}),Is=i.createSelector((e,t,r)=>{if(r)return e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(o=>o.id===t)?.path;const s=m(e.specialists.fileSpecialists,t);if(s)return s.filePath;const n=e.specialists.bundledSpecialists.find(o=>o.id===t);if(n&&"filePath"in n)return n.filePath}),Os=i.createSelector((e,t,r)=>{if(r){const n=b.select(e,r).find(l=>l.id===t),o=n?.codingAgent||n?.resolvedProvider;if(o)return Fe.select(e,o,r);const c=Ie.select(e,r);return e.providerCatalog?.byWorkspaceId?.[r]?.readiness[c]?.available?c:""}const s=m(e.specialists.fileSpecialists,t);return s?.codingAgent?s.codingAgent:yt.select(e,t)}),yt=i.createSelector((e,t)=>{const s=b.select(e).find(n=>n.id===t);return s?.codingAgent?s.codingAgent:ze.select(e)?ee.select(e):""}),Ls=i.createSelector((e,t)=>{if(t)return e.providerCatalog?.byWorkspaceId?.[t]?.importDiagnostics??[];const r=e.specialists.importDiagnostics;return r?k(r):[]}),Ds=i.createSelector((e,t)=>e.specialists.creationByContext?.[t]??_e),xs=i.createSelector(e=>Object.values(e.specialists.creationByContext??{}).flatMap(t=>t.specialistId?[t.specialistId]:[])),L=G("Clipboard");async function Ns(e){let t;if(Ue())try{const r=await He("system:write-clipboard",{text:e});if(r?.success===!1)throw new Error(r.error||"Electron clipboard write failed");return}catch(r){t=r,L.warn("Electron clipboard write failed; falling back to browser clipboard",{error:r})}if(typeof navigator<"u"&&navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch(r){throw L.error("Browser clipboard write failed",r,{electronError:t}),r}throw L.error("No clipboard write API is available",void 0,{electronError:t}),t instanceof Error?t:new Error("Clipboard write API unavailable")}const Mt=G("WorkspaceValidation");async function Bs(e,t=!1,r=!1){if(!e||e.trim().length===0)return{valid:!1,error:a.workspace_validation_repoPathRequired_error(),suggestion:a.workspace_validation_repoPathRequired_suggestion()};const s=e.trim();return wt(s)?Ct(s):Tt(s,t,r)}function wt(e){return[/^https?:\/\/github\.com\//i,/^git@github\.com:/i,/^github\.com\//i,/^([a-zA-Z0-9\-_]+)\/([a-zA-Z0-9\-_\.]+)$/].some(r=>r.test(e.trim()))}function Pt(e){const t=e.trim(),r=[/^https?:\/\/github\.com\/([^\/]+)\/([^\/]+)$/i,/^git@github\.com:([^\/]+)\/([^\/]+)$/i,/^github\.com\/([^\/]+)\/([^\/]+)$/i];for(const n of r){const o=t.match(n);if(o){const c=o[2].replace(/\.git$/,"");return c?{owner:o[1],repo:c}:null}}const s=t.match(/^([a-zA-Z0-9\-_]+)\/([a-zA-Z0-9\-_\.]+)$/);if(s&&!t.includes("\\")&&!t.includes(":")){const n=s[2].replace(/\.git$/,"");return n?{owner:s[1],repo:n}:null}return null}async function Ct(e){return Pt(e)?{valid:!0,warning:a.workspace_validation_githubCloneLocally_warning()}:{valid:!1,error:a.workspace_validation_invalidGithubUrl_error(),suggestion:a.workspace_validation_invalidGithubUrl_suggestion()}}async function Tt(e,t=!1,r=!1){if(e.includes("\0"))return{valid:!1,error:a.workspace_validation_nullCharacters_error()};if(!e.startsWith("/")&&!e.startsWith("~")&&!e.startsWith(".")&&!e.includes(":\\")&&!/^[a-zA-Z]:\//.test(e))return{valid:!1,error:a.workspace_validation_pathNotAbsolute_error(),suggestion:a.workspace_validation_pathNotAbsolute_suggestion()};if(typeof window<"u"&&window.electronAPI)try{const s=await I("file:getDirectoryStatus",{path:e});if(s.success&&s.data){const c=s.data;return c.exists?c.isDirectory?c.isGitRepo?{valid:!0,isNewRepo:!1,directoryStatus:c}:c.isSubdirectoryOfGitRepo?{valid:!0,isNewRepo:!1,directoryStatus:c,warning:a.workspace_validation_insideParentRepo_warning({path:c.parentGitRoot??""})}:r?{valid:!0,isNewRepo:!1,directoryStatus:c}:t?c.isEmpty?{valid:!0,isNewRepo:!0,directoryStatus:c,warning:a.workspace_validation_emptyDirInit_warning()}:{valid:!0,isNewRepo:!0,directoryStatus:c,warning:a.workspace_validation_nonGitDirInit_warning()}:{valid:!1,error:a.workspace_repoSelector_notGitRepository_label(),directoryStatus:c}:{valid:!1,error:a.workspace_validation_notDirectory_error(),suggestion:a.workspace_validation_notDirectory_suggestion(),directoryStatus:c}:t?{valid:!0,isNewRepo:!0,directoryStatus:c,warning:a.workspace_validation_willCreateRepo_warning()}:{valid:!1,error:a.workspace_validation_dirNotExist_error(),suggestion:a.workspace_validation_dirNotExist_suggestion(),directoryStatus:c}}if(!(await I("file:exists",{path:e})).exists)return t?{valid:!0,isNewRepo:!0,warning:a.workspace_validation_willCreateRepo_warning()}:{valid:!1,error:a.workspace_validation_dirNotExist_error(),suggestion:a.workspace_validation_dirNotExistLegacy_suggestion()};const o=await I("git:isRepository",{path:e});if(!t&&o?.isRepository!==!0)return{valid:!1,error:o?.isRepository===!1?a.workspace_repoSelector_notGitRepository_label():a.workspace_compactInitializer_gitCheckUnknown_label()};if(!o.isRepository)return{valid:!0,isNewRepo:!0,warning:a.workspace_validation_nonGitInit_warning()}}catch(s){if(Mt.warn("Could not validate path existence",s),!t)return{valid:!1,error:a.workspace_compactInitializer_gitCheckUnknown_label()}}return{valid:!0,isNewRepo:!1}}function Ws(e){if(!e||e.trim().length===0)return{valid:!0};const t=e.trim();return/[\s~^:?*\[\]\\]/.test(t)?{valid:!1,error:a.workspace_validation_branchPrefixInvalidChars_error(),suggestion:a.workspace_validation_branchChars_suggestion()}:t==="."||t===".."||t.startsWith(".")?{valid:!1,error:a.workspace_validation_branchPrefixDot_error()}:t.includes("..")||t.includes("//")?{valid:!1,error:a.workspace_validation_branchPrefixConsecutive_error()}:t.startsWith("/")?{valid:!1,error:a.workspace_validation_branchPrefixSlash_error()}:t.endsWith(".lock")?{valid:!1,error:a.workspace_validation_branchPrefixLock_error()}:t.length>50?{valid:!1,error:a.workspace_validation_branchPrefixTooLong_error()}:{valid:!0}}function Vs(e){if(!e||e.trim().length===0)return"";let t=e.trim().replace(/^[./]+/,"").replace(/[\s~^:?*\[\]\\]/g,"-").replace(/\.{2,}/g,"-").replace(/\/{2,}/g,"/").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/\.lock$/,"").toLowerCase();return t.length>0&&!t.endsWith("/")&&!t.endsWith("-")&&(t=t.includes("/")?`${t}/`:`${t}/`),t}function Gs(e){if(!e||e.trim().length===0)return{valid:!1,error:a.workspace_validation_branchNameRequired_error()};const t=e.trim();return/[\s~^:?*\[\]\\]/.test(t)?{valid:!1,error:a.workspace_validation_branchNameInvalidChars_error(),suggestion:a.workspace_validation_branchChars_suggestion()}:["HEAD",".",".."].includes(t)?{valid:!1,error:a.workspace_validation_branchNameReserved_error()}:t.includes("..")||t.includes("//")?{valid:!1,error:a.workspace_validation_branchNameConsecutive_error()}:t.startsWith("/")||t.endsWith("/")?{valid:!1,error:a.workspace_validation_branchNameSlash_error()}:t.endsWith(".lock")?{valid:!1,error:a.workspace_validation_branchNameLock_error()}:{valid:!0}}function Us(e){return!e||e.trim().length===0?{valid:!0}:e.trim().length>1e5?{valid:!1,error:a.workspace_validation_promptTooLong_error(),suggestion:a.workspace_validation_promptTooLong_suggestion()}:{valid:!0}}function Hs(e){const t=e.toLowerCase();return t.includes("maxbuffer")?a.workspace_gitError_maxBuffer():t.includes("clone")&&t.includes("timed out")?a.workspace_gitError_cloneTimeout():t.includes("json-rpc request timed out: workspace.create")?a.workspace_gitError_createTimeout():t.includes("timed out")&&["git","clone","fetch","worktree","pull","push","rebase","merge"].some(r=>t.includes(r))?a.workspace_gitError_gitTimeout():t.includes("git clone failed")?t.includes("could not read from remote")?a.workspace_gitError_cloneRemote():t.includes("authentication")||t.includes("permission denied")||t.includes("access denied")?a.workspace_gitError_cloneAuth():a.workspace_gitError_cloneFailed():t.includes("could not resolve any ref to create worktree")?a.workspace_gitError_worktreeRef():t.includes("failed to write file")?t.includes("eacces")||t.includes("permission denied")?a.workspace_gitError_writePermission():t.includes("enospc")||t.includes("disk space")?a.workspace_gitError_diskSpaceFree():t.includes("enoent")||t.includes("no such file")?a.workspace_gitError_writeNoEnt():e:t.includes("failed to read file")?t.includes("enoent")||t.includes("no such file")?a.workspace_gitError_readNotFound():t.includes("eacces")||t.includes("permission denied")?a.workspace_gitError_readPermission():e:t.includes("permission denied")?a.workspace_gitError_permissionDenied():t.includes("not found")||t.includes("enoent")?a.workspace_gitError_notFound():t.includes("already exists")?a.workspace_gitError_alreadyExists():t.includes("network")||t.includes("etimedout")?a.workspace_gitError_network():t.includes("authentication")||t.includes("401")?t.includes("private repositor")?e:a.workspace_gitError_authFailed():t.includes("rate limit")||t.includes("403")?a.workspace_gitError_rateLimit():t.includes("disk space")||t.includes("enospc")?a.workspace_gitError_diskSpace():e}const Ft=["idle","exited"];function It(e){return e===void 0||!Ft.includes(e)}function qs(e){return e.status==="restarting"?"restarting":It(e.status)?"running":e.status==="idle"?"idle":e.exitCode===0?"succeeded":e.exitCode===null||e.exitCode===void 0?"exited":e.exitCode>=128?"stopped":"failed"}function Ot(e){return e.engine==="os"?"os":e.isLoading||e.keyConfigured[e.provider]===!0?"daemon":e.osEngineAvailable?"os":"unavailable"}const js=i.createSelector(e=>e.voiceSettings.isLoading),zs=i.createSelector(e=>e.voiceSettings.available),Ks=i.createSelector(e=>e.voiceSettings.provider),$s=i.createSelector(e=>e.voiceSettings.engine),Qs=i.createSelector(e=>e.voiceSettings.osEngineAvailable),Js=i.createSelector(e=>e.voiceSettings.keyConfigured),Zs=i.createSelector(e=>e.voiceSettings.vocabulary),Xs=i.createSelector(e=>e.voiceSettings.openaiModel),Ys=i.createSelector(e=>e.voiceSettings.language),ei=i.createSelector(e=>e.voiceSettings.workspaceVocabularyMaxTerms),ti=i.createSelector(e=>e.voiceSettings.inputDeviceId),ri=i.createSelector(e=>e.voiceSettings.inputDevices),si=i.createSelector(e=>e.voiceSettings.busyProvider),ii=i.createSelector(e=>e.voiceSettings.error),ni=i.createSelector(e=>Oe.select(e)?"unavailable":Ot(e.voiceSettings)),N="intent.voice.inputDevice";let B;function Lt(){if(B!==void 0)return B;try{const e=localStorage.getItem(N);return typeof e=="string"&&e!==""?e:null}catch{return null}}function ai(e){B=e;try{e===null?localStorage.removeItem(N):localStorage.setItem(N,e)}catch{}}let P=null;function oi(e){P=e}function ci(){const e=P;return P=null,e}function Dt(){P=null}const xt=300,Nt=300;class Bt{constructor(t){u(this,"holdThresholdMs");u(this,"doublePressWindowMs");u(this,"onRecordStart");u(this,"onRecordStop");u(this,"currentState","idle");u(this,"timer",null);this.holdThresholdMs=t.holdThresholdMs??xt,this.doublePressWindowMs=t.doublePressWindowMs??Nt,this.onRecordStart=t.onRecordStart,this.onRecordStop=t.onRecordStop}get state(){return this.currentState}keyDown(){switch(this.currentState){case"idle":this.currentState="first-press",this.armTimer(this.holdThresholdMs,()=>{this.currentState="holding"}),this.onRecordStart();break;case"await-second-press":this.clearTimer(),this.currentState="second-press",this.armTimer(this.holdThresholdMs,()=>{this.currentState="holding-send"});break;case"latched":this.currentState="latched-press";break;case"latched-await-second":this.clearTimer(),this.currentState="draining",this.onRecordStop({stopReason:"double-press",autoSend:!0});break}}keyUp(){switch(this.currentState){case"first-press":this.clearTimer(),this.currentState="await-second-press",this.armTimer(this.doublePressWindowMs,()=>{this.currentState="latched"});break;case"holding":this.currentState="idle",this.onRecordStop({stopReason:"hold-release",autoSend:!1});break;case"second-press":this.clearTimer(),this.currentState="idle",this.onRecordStop({stopReason:"double-press",autoSend:!0});break;case"holding-send":this.currentState="idle",this.onRecordStop({stopReason:"double-hold-release",autoSend:!0});break;case"latched-press":this.currentState="latched-await-second",this.armTimer(this.doublePressWindowMs,()=>{this.currentState="idle",this.onRecordStop({stopReason:"latch-stop",autoSend:!1})});break;case"draining":this.currentState="idle";break}}reset(){this.clearTimer(),this.currentState="idle"}armTimer(t,r){this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,r()},t)}clearTimer(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}}let C=null;function li(e){C=e}function ui(){const e=C;return C=null,e}function Wt(){C=null}const Vt=12e4,Gt=["audio/webm;codecs=opus","audio/webm"];function di(){return typeof navigator<"u"&&typeof navigator.mediaDevices?.getUserMedia=="function"&&typeof MediaRecorder<"u"}function Ut(e){return e?{audio:{deviceId:{ideal:e}}}:{audio:!0}}function Ht(){if(!(typeof MediaRecorder>"u"||typeof MediaRecorder.isTypeSupported!="function"))return Gt.find(e=>MediaRecorder.isTypeSupported(e))}class qt{constructor(t){u(this,"maxDurationMs");u(this,"now");u(this,"callbacks");u(this,"deviceId");u(this,"currentState","idle");u(this,"recorder",null);u(this,"stream",null);u(this,"chunks",[]);u(this,"startedAt",0);u(this,"maxTimer",null);u(this,"discardRequested",!1);u(this,"cancelRequested",!1);this.maxDurationMs=t.maxDurationMs??Vt,this.now=t.now??Date.now,this.callbacks={onFinished:t.onFinished,onError:t.onError},this.deviceId=t.deviceId??null}get state(){return this.currentState}async start(){if(this.currentState!=="idle")return"discarded";this.currentState="starting";let t;try{t=await navigator.mediaDevices.getUserMedia(Ut(this.deviceId))}catch(n){const o=this.discardRequested;return this.currentState="stopped",o||this.callbacks.onError(n),o?"discarded":"error"}if(this.discardRequested){for(const n of t.getTracks())n.stop();return this.currentState="stopped","discarded"}this.stream=t;const r=Ht(),s=r?new MediaRecorder(t,{mimeType:r}):new MediaRecorder(t);return this.recorder=s,s.ondataavailable=n=>{n.data&&n.data.size>0&&this.chunks.push(n.data)},s.onstop=()=>this.handleRecorderStop(),s.onerror=n=>this.handleRecorderError(n),s.start(),this.startedAt=this.now(),this.currentState="recording",this.maxTimer=setTimeout(()=>this.stop(),this.maxDurationMs),"recording"}stop(){if(this.currentState==="starting"){this.discardRequested=!0;return}this.currentState==="recording"&&this.recorder?.stop()}cancel(){if(this.currentState==="starting"){this.discardRequested=!0;return}this.currentState==="recording"&&(this.cancelRequested=!0,this.recorder?.stop())}handleRecorderStop(){const t=this.now()-this.startedAt,r=this.recorder?.mimeType||"audio/webm",s=this.chunks,n=this.cancelRequested;this.teardown(),!n&&this.callbacks.onFinished({blob:new Blob(s,{type:r}),durationMs:t,mimeType:r})}handleRecorderError(t){const r=t?.error??t;this.teardown(),this.callbacks.onError(r)}teardown(){this.maxTimer!==null&&clearTimeout(this.maxTimer),this.maxTimer=null,this.recorder&&(this.recorder.ondataavailable=null,this.recorder.onstop=null,this.recorder.onerror=null),this.recorder=null;for(const t of this.stream?.getTracks()??[])t.stop();this.stream=null,this.chunks=[],this.currentState="stopped"}}const jt=300;function zt(e){const t=e?.name;return t==="NotAllowedError"||t==="SecurityError"}const Kt={stopReason:"manual",autoSend:!1};let p=null,h=null,_=0,R=null;const T=new Bt({onRecordStart:()=>{R&&$t(R)},onRecordStop:e=>{se(R,e)}});function pi(){return p!==null}function fi(){return p}function gi(e){R=e,_+=1,_===1&&T.keyDown()}function hi(e){R=e,_!==0&&(_-=1,_===0&&T.keyUp())}function $t(e){if(p!==null)return;Wt(),Dt();const t=new qt({deviceId:Lt(),onFinished:r=>{p===t&&(p=null);const s=h??{stopReason:"auto-stop",autoSend:!1},n=h!==null;if(h=null,e.dispatch(M()),n||T.reset(),r.durationMs<jt){s.autoSend&&e.dispatch(x());return}e.dispatch(ve({...r,stopReason:s.stopReason,autoSend:s.autoSend}))},onError:r=>{p===t&&(p=null),h=null,e.dispatch(M()),e.showHint(zt(r)?a.hardwareConsole_ptt_micDenied_message():a.hardwareConsole_ptt_recordingFailed_message())}});p=t,e.dispatch(Ee()),t.start().then(r=>{if(r!=="recording"&&(p===t&&(p=null),r==="discarded")){const s=h?.autoSend===!0;h=null,e.dispatch(M()),s&&e.dispatch(x())}})}function se(e,t){const r=p;if(r===null){t.autoSend&&e?.dispatch(x());return}h=t,r.stop()}function mi(){se(null,Kt)}function bi(e){T.reset(),_=0,h=null;const t=p;t!==null&&(p=null,t.cancel(),e.dispatch(M()))}const Qt=G("HardwareConsoleVoiceSetupToast"),Jt="hardware-console-voice-setup";let D=null;function Zt(){return D||(D=qe(()=>import("./cf1Brjzn.js").then(e=>e.i),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url).then(e=>e.notify)),D}function Xt(){je("/settings?tab=connections#voice").catch(e=>{Qt.error("Failed to open voice settings from setup toast",e)})}function Yt(){return{label:a.hardwareConsole_voice_openSettings_label(),onClick:()=>Xt()}}function Si(){Zt().then(e=>{e.error(a.hardwareConsole_voice_noKey_error(),{id:Jt,action:Yt()})})}const _i=i.createSelector(e=>e.externalEditors.selectedAction),er=i.createSelector(e=>e.externalEditors.editors),tr=i.createSelector(e=>{const t=k(er.select(e)),r=e.externalEditors.editorOrder??[];if(!r.length)return t;const s=new Map(t.map(c=>[c.id,c])),n=r.flatMap(c=>{const l=s.get(c);return l?[l]:[]}),o=new Set(r);return[...n,...t.filter(({id:c})=>!o.has(c))]}),vi=i.createSelector(e=>e.externalEditors.editorOrder??[]),Ei=i.createSelector(e=>e.externalEditors.loading),ki=i.createSelector(e=>e.externalEditors.lastFetched),rr=i.createSelector(e=>e.externalEditors.hiddenEditorIds),Ai=i.createSelector((e,t)=>{if(!(t?Le.select(e,t):De.select(e)))return[];const s=rr.select(e);return tr.select(e).filter(n=>n.installed&&!s.includes(n.id))});function sr(e){return e.catalogProfiles.some(t=>typeof t.remoteCompatible=="boolean")||e.defaultRemoteIncompatibility||e.defaultRemoteLaunch||e.profileDefaults.some(t=>typeof t.remoteCompatible=="boolean")?"supported":e.catalogProfiles.length>0?"unsupported":e.profilesLoadStatus==="idle"?"unknown":"unsupported"}function Ri(e,t,r){if(V(e)){const s=t.find(n=>n.providerRef===e);return s?.remoteCompatible!==!1?null:s.remoteIncompatibility??{reason:"unknown",keys:[]}}return null}const ir=1440*60*1e3;function yi(e,t){if(!e?.capabilities)return"missing";const r=e.observedAt?Date.parse(e.observedAt):Number.NaN;return Number.isFinite(r)&&t-r>ir?"stale":"fresh"}const Mi=new Set(["cli-missing","prerequisite-missing"]),nr=new Set(["signed-out","auth-failed"]);function ar(e){return nr.has(e)}function or(e,t){if(V(t))return!1;const r=ke(t),s=e?.capabilities?.providers.find(n=>n.id===r);return!!s&&ar(s.status)}function cr(e,t){return(t.defaultRemoteLaunch?t.defaultRemoteLaunch[e]==="send":!t.defaultRemoteIncompatibility?.[e])&&t.defaultHasOverrides?.[e]!==!1}function lr(e,t,r){return r.defaultRemoteLaunch?.[t]==="refused"?!1:!e.cloud&&!or(e,t)}function wi(e){const{machine:t,providerRef:r}=e;return V(r)||lr(t,r,e)||cr(r,e)?null:e.catalogProfiles.find(s=>s.baseProviderId===r&&s.remoteCompatible===!0)??null}const ur={macos:"macOS",linux:"Linux",windows:"Windows"},dr={aarch64:"arm64",arm64:"arm64",x86_64:"x64",x64:"x64"};function v(e,t){const r=[e&&(ur[e]??e),t&&(dr[t]??t)].filter(s=>!!s);return r.length?r.join(" "):null}function pr(e){return e?.placement?.target==="remote"||e?.placement?.target==="e2b"}const fr=new Set(["running","paused","resuming","pausing","stopping"]);function gr(e,t){if(e.placementError)return null;if(e.cloudStart)return"starting";if(!e.nodeId)return e.effectiveIsolation==="pending"?"starting":null;const r=t?.cloud?.state;return r&&fr.has(r)?r:e.effectiveIsolation==="pending"?"starting":null}function ie(e,t){if(!e||!pr(e))return null;const r=e.nodeId??e.placement?.nodeId??"",s=t&&t.id===r?t:null;if(e.placement?.target==="e2b")return{nodeId:r,name:e.nodeName?.trim()||"E2B",platform:v(s?.platform?.os,s?.platform?.arch),state:"ready",cloud:{state:gr(e,s)}};const n=v(e.placement?.os,e.placement?.arch)??v(s?.platform?.os,s?.platform?.arch),o=s?.state==="revoked"?"revoked":s?.state==="unreachable"||e.nodeState==="offline"?"unreachable":"ready";return{nodeId:r,name:e.nodeName?.trim()||s?.name||a.remoteAgent_location_unknownMachine(),platform:n,state:o}}function Pi(e,t){if(!e)return null;const r=t&&t.id===e?t:null;return{nodeId:e,name:r?.name||a.remoteAgent_location_unknownMachine(),platform:v(r?.platform?.os,r?.platform?.arch),state:r?.state==="revoked"?"revoked":r?.state==="unreachable"?"unreachable":"ready"}}function ne(e){switch(e){case"starting":return a.cloudMachines_agent_starting();case"running":return a.cloudMachines_agent_running();case"paused":return a.cloudMachines_agent_paused();case"resuming":return a.cloudMachines_agent_resuming();case"pausing":return a.cloudMachines_agent_pausing();case"stopping":return a.cloudMachines_agent_stopping();default:return null}}function Ci(e){const t=ne(e.cloud?.state);return t?a.cloudMachines_agent_chip({machine:e.name,state:t}):e.name}function Ti(e){if(e.cloud){const r=ne(e.cloud.state),s=a.remoteAgent_location_tooltipNoPlatform({machine:e.name});return r?a.remoteAgent_location_tooltipWithState({location:s,state:r}):s}const t=e.platform?a.remoteAgent_location_tooltip({machine:e.name,platform:e.platform}):a.remoteAgent_location_tooltipNoPlatform({machine:e.name});switch(e.state){case"unreachable":return a.remoteAgent_location_tooltipWithState({location:t,state:a.remoteMachines_state_unreachable_label()});case"revoked":return a.remoteAgent_location_tooltipWithState({location:t,state:a.remoteMachines_state_revoked_label()});default:return t}}function ae(e,t){return!e||!t?null:e.placementError?"failed":t.state==="revoked"?"revoked":t.state==="unreachable"?"unreachable":e.effectiveIsolation==="pending"||e.cloudStart?"starting":e.setup?.state==="failed"?"setup-failed":null}function oe(e){if(!e.endsWith("}"))return null;for(let t=e.indexOf(" {");t>=0;t=e.indexOf(" {",t+1))try{const r=JSON.parse(e.slice(t+1));if(r&&typeof r=="object"&&typeof r.code=="string")return{message:e.slice(0,t).trim(),data:r}}catch{}return null}function hr(e,t){const r=e.detail??"",s=oe(r),n=e.code==="machine-update-required"||s?.data.code==="machine-update-required";if(n&&s?.data.reason==="prepared-checkout")return{updateRequired:n,message:a.remoteAgent_updateRequired_preparedCheckout({machine:t})};const o=Q(s?.data),c=o??(e.code?Q({code:e.code}):null);return c?{updateRequired:n,message:s?.message||r,cloud:c,cloudDetailKnown:!!o}:{updateRequired:n,message:s?.message||r}}function Fi(e){if(e?.placement?.target!=="e2b"||!e.placementError||e.status!==Ae.Error)return null;const t=hr(e.placementError,"");return t.cloud?t:null}const mr=["attachments-too-large-for-machine:","node-prompt-too-large:"],br="remote-agent-unsupported:";function Z(e){return new Intl.NumberFormat(void 0,{maximumFractionDigits:1}).format(e/1048576)}function Ii(e){const t=oe(e)?.message??e;for(const s of mr){const n=t.indexOf(s);if(n<0)continue;const o=t.slice(n+s.length).trim().replace(/^[a-z][\w]*(?:\.[\w]+)+:\s*/i,""),c=/come to (\d+) bytes\b.*?over its (\d+)-byte limit/.exec(o);return c?a.remoteAgent_attachmentsTooLargeSized_error({size:Z(Number(c[1])),limit:Z(Number(c[2]))}):o?a.remoteAgent_attachmentsTooLarge_error({detail:o}):a.remoteAgent_attachmentsTooLargeNoDetail_error()}const r=t.indexOf(br);return r>=0&&/attachment/i.test(t.slice(r))?a.remoteAgent_attachmentsUnsupported_error():null}function Oi(e){return e?.placement?.target==="e2b"&&ae(e,ie(e))==="starting"}function Li(e,t){if(e?.placement?.target!=="e2b")return!1;const r=ie(e,t);return r?.cloud?.state==="resuming"&&ae(e,r)===null}const y="",W="cloud:";function j(e){return`${W}${e}`}function ce(e){return e?.startsWith(W)&&e.slice(W.length)||null}const Di=j("e2b");function Sr(e,t){return e?.find(r=>j(r.cloudMachineId)===t&&r.unavailableReason===null)}const _r=new Set(["connected","disconnected"]);function vr(e){switch(e){case"unreachable":return a.remoteMachines_state_unreachable_label();case"revoked":return a.remoteMachines_state_revoked_label();case"update-required":return a.remoteMachines_state_updateRequired_label();default:return}}function z(e){return _r.has(e.state)}function Er({backendLabel:e,backendPlatform:t,machines:r,cloud:s}){const n=[{id:y,label:e,platform:v(t?.os,t?.arch),disabled:!1},...r.map(o=>{const c=v(o.platform?.os,o.platform?.arch);return z(o)?{id:o.id,label:o.name,platform:c,disabled:!1}:{id:o.id,label:o.name,platform:c,disabled:!0,reason:vr(o.state)}})];for(const o of s??[])n.push({id:j(o.cloudMachineId),label:o.label,platform:null,kind:"cloud",disabled:o.unavailableReason!==null,...o.unavailableReason?{reason:o.unavailableReason}:{hint:a.cloudMachines_startOn_hint()}});return n}function kr({remoteMachinesVisible:e,supported:t,machines:r,cloud:s}){return e&&t&&(r.some(z)||(s??[]).some(n=>n.unavailableReason===null))}function Ar(e,t,r){if(!e)return y;if(ce(e))return Sr(r,e)?e:y;const s=t.find(n=>n.id===e);return s&&z(s)?s.id:y}function xi(e,{cloudEntries:t=!1}={}){const r=ce(e);return r?t?{target:"e2b",checkout:"isolated",cloudMachineId:r}:{target:"e2b",checkout:"isolated"}:e?{target:"remote",checkout:"isolated",nodeId:e}:void 0}function Ni({groups:e,providerRef:t,model:r}){const s=c=>c.options.filter(l=>!l.disabled),n=e.find(c=>c.key===t),o=n?s(n):[];if(r){const c=Re(r).modelId;if(o.some(l=>l.value===c))return null}else if(o.length>0)return null;if(n&&o.length>0)return{providerId:n.key,modelId:o[0].value};for(const c of e){if(c.key==="default")continue;const l=s(c);if(l.length>0)return{providerId:c.key,modelId:l[0].value}}return null}const le=i.createSelector(e=>ut.select(e)&&e.remoteMachines?.supported===!0),Bi=i.createSelector(e=>le.select(e)&&Ke.select(e)),K=i.createSelector(e=>Object.values(e.remoteMachines?.machines??{}).sort((t,r)=>t.name.localeCompare(r.name))),Wi=i.createSelector(e=>e.remoteMachines.localFingerprint),Vi=i.createSelector(e=>e.remoteMachines.pending),Gi=i.createSelector(e=>e.remoteMachines.failures),Ui=i.createSelector(e=>e.remoteMachines.executorBackends??[]),Rr=i.createSelector((e,t)=>{if(t===ye)return a.layout_daemonStatus_localConnection_label();const r=m(e.connections.connections,t);return r?$e(r):t}),yr=i.createSelector(e=>Rr.select(e,e.connections.windowBackendId)),Hi=i.createSelector((e,t)=>(t?e.remoteMachines.machines[t]??e.cloudMachines?.machines[t]:void 0)??null),qi=i.createSelector((e,t)=>{const r=e.providerSettings?.profiles;return sr({catalogProfiles:Be.select(e,t),defaultRemoteIncompatibility:Ne.select(e,t),defaultRemoteLaunch:xe.select(e,t),profileDefaults:Object.values(r?.defaults??{}),profilesLoadStatus:r?.loadStatus??"idle"})}),ji=i.createSelector(e=>Object.fromEntries(Object.values(e.providerSettings?.profiles?.defaults??{}).map(t=>[t.baseProviderId,t.env.length>0]))),ue=i.createSelector(e=>kr({remoteMachinesVisible:le.select(e),supported:e.remoteMachines?.initialAgentPlacement===!0,machines:K.select(e),cloud:U(e)}));function Mr(e){const t=m(e.connections.connections,e.connections.windowBackendId);return t?.hostOs?{os:t.hostOs,arch:t.hostArch}:void 0}const wr=i.createSelector(e=>Er({backendLabel:yr.select(e),backendPlatform:Mr(e),machines:K.select(e),cloud:U(e)})),zi=i.createSelector(e=>ue.select(e)?wr.select(e):[]),Ki=i.createSelector(e=>e.remoteMachines?.initialAgentPlacement===!0),$i=i.createSelector((e,t,r)=>ue.select(e)?Ar(t,K.select(e),de(e,r)):y);function de(e,t){const r=U(e);if(!r||!t)return r;const s=e.cloudMachines?.providers??{};return r.map(n=>{if(n.unavailableReason)return n;const o=Qe(e,t,s[n.cloudMachineId]??null);return o?{...n,unavailableReason:o}:n})}const Qi=i.createSelector((e,t)=>de(e,t));function Ji(e,t){if(!e||!t||t===e.providerId)return!1;const r=e.providerSettings[t];return!!(r&&[r.defaultModel,...Object.values(r.typeOverrides??{})].some(s=>typeof s=="string"&&s.includes(":")))}let Pr=0;function Cr(e,t){const r=++Pr;return i.dispatch(we(e,t,r)),r}function Zi(e,t,r){i.dispatch(Me(e,t,r))}async function pe(e,t,r,s){const n=crypto.randomUUID(),o=s?.source??"control";try{return(await i.dispatch(Pe({requestId:n,consumerId:o,agentId:e,workspaceId:t,operation:r,connection:Y.select(i.state)},{...s,intent:s?.intent??Cr(e,t)}))).status==="success"}finally{i.dispatch(Ce(n,o))}}async function Xi(e,t,r,s,n){return pe(e,t,{kind:"effort",effort:r,previous:s},n)}async function Yi(e,t,r,s,n){return pe(e,t,{kind:"reconcile",current:r??null,levels:s},n)}const Tr=i.createSelector((e,t)=>k(e.agentModel.mutations).filter(r=>r.consumerId===t)),en=i.createSelector((e,t)=>Tr.select(e,t).some(r=>r.status==="pending")),tn=i.createSelector((e,t,r)=>{const s=e.agentSessions.byAgentId[t],n=We.select(e,t),o=Je.select(e,t),c=e.daemonHealth.stats?.protocolVersion,l=Ze(c),g=l?Xe(s?.model,null,o):s?.model;return{session:s,providerId:n,levels:o,legacy:l,identity:JSON.stringify([g,n]),connection:Y.select(e),canWrite:!!s&&s.workspaceId===r&&!Ve.select(e,r)}});function Fr(e,t,r=!1){return e!=="auggie"||t===!0||r}const rn=i.createSelector(e=>Ye.select(e)?null:H.select(e)),Ir=i.createSelector(e=>e.providerCatalog?.workspaceEpoch??0),f=i.createSelector((e,t)=>t?e.providerCatalog?.byWorkspaceId?.[t]:void 0),sn=i.createSelector(e=>Object.keys(e.providerCatalog?.byWorkspaceId??{})),nn=i.createSelector((e,t)=>!!f.select(e,t)&&e.providerCatalog.workspaceSnapshotEpochs?.[t]===Ir.select(e)),fe=i.createSelector((e,t)=>t?f.select(e,t)?.catalog.providers??[]:Ge.select(e)),ge=i.createSelector((e,t)=>{if(!t)return ee.select(e);const r=f.select(e,t)?.settings.find(s=>s.path==="model.defaultProvider")?.value;return typeof r=="string"?r:""}),$=i.createSelector((e,t)=>{if(!t)return et.select(e);const r=f.select(e,t)?.settings.find(s=>s.path==="providers.enabled")?.value;return r&&typeof r=="object"?r:{}}),he=i.createSelector((e,t)=>{if(!t)return tt.select(e);const r=$.select(e,t),s=ge.select(e,t),n=f.select(e,t)?.readiness??{};return fe.select(e,t).filter(o=>o.visible&&(!o.canBeDisabled||r[o.id]||o.id===s)&&n[o.id]?.available).map(o=>o.id)}),an=i.createSelector((e,t)=>{const r=$.select(e,t),s=t?f.select(e,t)?.readiness??{}:H.select(e);return fe.select(e,t).filter(n=>Fr(n.id,s[n.id]?.available,r[n.id]===!0)).map(n=>n.id)}),on=i.createSelector((e,t)=>t?he.select(e,t):rt.select(e)),cn=i.createSelector((e,t)=>b.select(e,t)),ln=i.createSelector((e,t)=>t?!!f.select(e,t):st.select(e)),un=i.createSelector((e,t)=>{if(!t)return it.select(e);const r=f.select(e,t)?.settings??[],s=ge.select(e,t),n=r.find(l=>l.path==="model.providerDefaults")?.value,o=n&&typeof n=="object"?n[s]:void 0;if(typeof o=="string")return o;const c=r.find(l=>l.path==="model.default")?.value;return typeof c=="string"?c:""}),dn=i.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).flatMap(([r,s])=>s.warning?[[r,s.warning]]:[])):nt.select(e)),pn=i.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).map(([r,s])=>[r,s.stale===!0])):at.select(e)),fn=i.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).flatMap(([r,s])=>s.warning&&s.warningKind?[[r,s.warningKind]]:[])):ot.select(e)),gn=i.createSelector((e,t,r)=>{if(!r)return ct.select(e,t);const s=$.select(e,r),n=f.select(e,r);return he.select(e,r).filter(o=>o!==t&&(s[o]||n?.catalog.providers.find(c=>c.id===o)?.canBeDisabled===!1)&<(o,n?.readiness[o]?.authenticated))}),hn=i.createSelector((e,t)=>t?f.select(e,t)?.readiness??{}:H.select(e)),Or={},mn=i.createSelector(e=>e.providerSettings?.profiles?.status??Or),bn=i.createSelector(e=>e.directoryPicker.listing),Sn=i.createSelector(e=>e.directoryPicker.loading),_n=i.createSelector(e=>e.directoryPicker.error),vn=i.createSelector(e=>e.directoryPicker.pathError),En=i.createSelector(e=>e.directoryPicker.createError),X={},Lr=i.createSelector((e,t)=>t?e.providerCatalog?.byWorkspaceId?.[t]?.mcpServers??[]:e.mcpSettings.servers),kn=i.createSelector((e,t,r)=>{const s=e.providerCatalog?.byWorkspaceId?.[t];return s?s.mcpServers?.find(n=>n.id===r)?.name:e.providerCatalog?.mcpServerNamesByWorkspaceId?.[t]?.[r]}),An=i.createSelector(e=>e.mcpSettings.loading),Rn=i.createSelector(e=>e.mcpSettings.error),yn=i.createSelector(e=>e.mcpSettings.mutationError??null),Mn=i.createSelector(e=>e.mcpSettings.enabled),Dr=i.createSelector(e=>e.mcpSettings.disabledServers),xr=i.createSelector(e=>e.mcpSettings.statusMap),Nr=i.createSelector(e=>e.mcpSettings.toolsMap),Br=i.createSelector((e,t)=>{if(!t)return e.mcpSettings.errorMessages;const r=e.providerCatalog?.byWorkspaceId?.[t],s=new Map(r?.mcpServers?.map(n=>[n.id,A(n)])??[]);return Object.fromEntries((r?.mcpStatuses??[]).flatMap(n=>{const o=s.get(n.serverId);return o&&n.lastError?[[o,n.lastError]]:[]}))}),Wr=i.createSelector((e,t)=>t?e.mcpSettings.byWorkspaceId[t]?.disabledServers??X:X),wn=i.createSelector((e,t)=>Object.keys(Wr.select(e,t))),Pn=i.createSelector(e=>{const t=Lr.select(e),r=xr.select(e),s=Nr.select(e),n=Dr.select(e),o=Br.select(e);return t.map(c=>{const l=A(c)in n,g=s[A(c)]||[];let S=r[A(c)]||"disconnected";return l&&(S="disabled"),{...c,disabled:l,status:S,tools:g,toolCount:g.length,errorMessage:o[A(c)]}})});i.createSelector((e,t)=>e.mcpSettings.errorMessages[t]);const Cn=i.createSelector(e=>e.mcpSettings.lastImportedCount),Tn=i.createSelector(e=>e.mcpSettings.advancedSaveStatus),Fn=i.createSelector(e=>e.mcpSettings.advancedSaveError),In=["agentFeatures.backgroundHooks","agentFeatures.hostExec","agentFeatures.scripts","agentFeatures.terminalAccess","agentFeatures.browserAutomation","agentFeatures.desktopControl","agentFeatures.richChatBlocks","agentFeatures.structuredQuestions","agentFeatures.secretRequests","agentFeatures.attentionRequests","agentFeatures.stateSnapshot","agentFeatures.prMonitor","agentFeatures.taskGraph","agentFeatures.peerAgents","agentFeatures.mcpTools"],Vr=[{path:"agentFeatures.backgroundHooks",label:()=>a.settings_agentFeatures_backgroundHooks_label(),description:()=>a.settings_agentFeatures_backgroundHooks_description(),defaultValue:!0},{path:"agentFeatures.hostExec",label:()=>a.settings_agentFeatures_hostExec_label(),description:()=>a.settings_agentFeatures_hostExec_description(),defaultValue:!0},{path:"agentFeatures.scripts",label:()=>a.settings_agentFeatures_scripts_label(),description:()=>a.settings_agentFeatures_scripts_description(),defaultValue:!0},{path:"agentFeatures.terminalAccess",label:()=>a.settings_agentFeatures_terminalAccess_label(),description:()=>a.settings_agentFeatures_terminalAccess_description(),defaultValue:!0},{path:"agentFeatures.browserAutomation",label:()=>a.settings_agentFeatures_browserAutomation_label(),description:()=>a.settings_agentFeatures_browserAutomation_description(),defaultValue:!0},{path:"agentFeatures.desktopControl",label:()=>a.settings_agentFeatures_desktopControl_label(),description:()=>a.settings_agentFeatures_desktopControl_description(),defaultValue:!0},{path:"agentFeatures.richChatBlocks",label:()=>a.settings_agentFeatures_richChatBlocks_label(),description:()=>a.settings_agentFeatures_richChatBlocks_description(),defaultValue:!0},{path:"agentFeatures.structuredQuestions",label:()=>a.settings_agentFeatures_structuredQuestions_label(),description:()=>a.settings_agentFeatures_structuredQuestions_description(),defaultValue:!0},{path:"agentFeatures.secretRequests",label:()=>a.settings_agentFeatures_secretRequests_label(),description:()=>a.settings_agentFeatures_secretRequests_description(),defaultValue:!1},{path:"agentFeatures.attentionRequests",label:()=>a.settings_agentFeatures_attentionRequests_label(),description:()=>a.settings_agentFeatures_attentionRequests_description(),defaultValue:!0},{path:"agentFeatures.stateSnapshot",label:()=>a.settings_agentFeatures_stateSnapshot_label(),description:()=>a.settings_agentFeatures_stateSnapshot_description(),defaultValue:!0},{path:"agentFeatures.prMonitor",label:()=>a.settings_agentFeatures_prMonitor_label(),description:()=>a.settings_agentFeatures_prMonitor_description(),defaultValue:!0},{path:"agentFeatures.taskGraph",label:()=>a.settings_agentFeatures_taskGraph_label(),description:()=>a.settings_agentFeatures_taskGraph_description(),defaultValue:!0},{path:"agentFeatures.peerAgents",label:()=>a.settings_agentFeatures_peerAgents_label(),description:()=>a.settings_agentFeatures_peerAgents_description(),defaultValue:!0},{path:"agentFeatures.mcpTools",label:()=>a.settings_agentFeatures_mcpTools_label(),description:()=>a.settings_agentFeatures_mcpTools_description(),defaultValue:!0}],On=Object.fromEntries(Vr.map(e=>[e.path,e.defaultValue]));export{wi as $,ps as A,gi as B,hi as C,us as D,xi as E,Vr as F,te as G,It as H,Fr as I,pi as J,Ji as K,J as L,Mi as M,or as N,di as O,Lt as P,Pi as Q,Ni as R,E as S,v as T,yi as U,Cr as V,Pt as W,hr as X,Yi as Y,Zi as Z,Ii as _,On as a,ss as a$,Ri as a0,Ot as a1,Ar as a2,Vs as a3,ai as a4,en as a5,Tr as a6,tn as a7,fs as a8,Ss as a9,Os as aA,Rs as aB,$i as aC,ni as aD,Ui as aE,ys as aF,Ms as aG,gs as aH,bs as aI,q as aJ,pt as aK,St as aL,_t as aM,re as aN,bt as aO,ft as aP,dt as aQ,ht as aR,mt as aS,rs as aT,ns as aU,as as aV,cs as aW,Xr as aX,es as aY,is as aZ,ts as a_,Rr as aa,on as ab,ge as ac,$ as ad,an as ae,he as af,fe as ag,pn as ah,fn as ai,dn as aj,gn as ak,hn as al,ln as am,un as an,cn as ao,yr as ap,ms as aq,ji as ar,vs as as,En as at,_n as au,bn as av,Sn as aw,vn as ax,vi as ay,ws as az,In as b,js as b$,Yr as b0,os as b1,Zr as b2,ls as b3,Ts as b4,rr as b5,Ki as b6,tr as b7,Ai as b8,Ei as b9,Bi as bA,rn as bB,Rt as bC,Ds as bD,xs as bE,Is as bF,Ls as bG,As as bH,Fs as bI,b as bJ,_s as bK,Qi as bL,zi as bM,wr as bN,ue as bO,hs as bP,si as bQ,$s as bR,ti as bS,ri as bT,Js as bU,Ys as bV,Xs as bW,Qs as bX,Ks as bY,zs as bZ,ii as b_,Ps as ba,Cs as bb,ki as bc,Wi as bd,Fn as be,Tn as bf,Dr as bg,Mn as bh,Rn as bi,Br as bj,Cn as bk,An as bl,yn as bm,Lr as bn,Pn as bo,xr as bp,Nr as bq,_i as br,ks as bs,mn as bt,Hi as bu,Gi as bv,Vi as bw,K as bx,le as by,qi as bz,y as c,Zs as c0,ei as c1,f as c2,Ir as c3,nn as c4,sn as c5,wn as c6,kn as c7,oi as c8,li as c9,Si as ca,j as cb,ce as cc,$t as cd,mi as ce,Gs as cf,Ws as cg,Us as ch,Bs as ci,Yt as cj,Ns as ck,Di as d,Fi as e,Oi as f,Li as g,Ci as h,ie as i,Ti as j,ae as k,Xi as l,bi as m,Dt as n,Wt as o,ci as p,ui as q,lr as r,cr as s,Es as t,At as u,kt as v,fi as w,Hs as x,qs as y,ds as z};
|