@intent-hq/web 2.292.0 → 2.292.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.DvlMYzZB.css +1 -0
- package/web/app/immutable/assets/5.DBgC2kSL.css +1 -0
- package/web/app/immutable/chunks/{D0FrwYUQ.js → 06CP606v.js} +1 -1
- package/web/app/immutable/chunks/{xKX_8KWn.js → 0OdOYZJi.js} +1 -1
- package/web/app/immutable/chunks/{BUN1yF1L.js → 0icrH9cf.js} +1 -1
- package/web/app/immutable/chunks/{BHNxqf_R.js → 1cxr91i_.js} +1 -1
- package/web/app/immutable/chunks/{fqEAyqsN.js → 2dp9mihz.js} +1 -1
- package/web/app/immutable/chunks/{C4QILlBJ.js → 4i4DPzKd.js} +1 -1
- package/web/app/immutable/chunks/{Cm5CZ7YY.js → 6P4u1Qpi.js} +1 -1
- package/web/app/immutable/chunks/{Uc38XdXI.js → 8wbw8Mxv.js} +1 -1
- package/web/app/immutable/chunks/{BXWlOAyO.js → 9-D0Q0S6.js} +1 -1
- package/web/app/immutable/chunks/{BDaXmtmH.js → B1Geyr6r.js} +1 -1
- package/web/app/immutable/chunks/{CyFgel5k.js → B3a0tOmN.js} +1 -1
- package/web/app/immutable/chunks/{B3HK-q5A.js → B3tYyD3l.js} +1 -1
- package/web/app/immutable/chunks/{lbGH4X3r.js → B4RJxt1j.js} +1 -1
- package/web/app/immutable/chunks/{DBNNnuPG.js → B57g6nRd.js} +1 -1
- package/web/app/immutable/chunks/{Brep-rEI.js → B5IU8QZY.js} +3 -3
- package/web/app/immutable/chunks/{LldlwJUi.js → B6AHBw_w.js} +1 -1
- package/web/app/immutable/chunks/{a-vNpAtT.js → B6ZWdQk3.js} +1 -1
- package/web/app/immutable/chunks/{BRyWfrpo.js → B6yR2ywv.js} +1 -1
- package/web/app/immutable/chunks/{CRhEb0yi.js → B706oMxy.js} +3 -3
- package/web/app/immutable/chunks/{BTkrC1UW.js → B7U-tfjb.js} +1 -1
- package/web/app/immutable/chunks/{0EWUI_tF.js → BBIRqZm8.js} +1 -1
- package/web/app/immutable/chunks/{C4WMSxMK.js → BBW6O_MW.js} +1 -1
- package/web/app/immutable/chunks/{DVnaYm9M.js → BBZy8W_D.js} +1 -1
- package/web/app/immutable/chunks/{DGzLoy-z.js → BGGu7czf.js} +1 -1
- package/web/app/immutable/chunks/{DCuB-wUt.js → BIYsIqQO.js} +1 -1
- package/web/app/immutable/chunks/{l7ze94qr.js → BJ0eJuEr.js} +1 -1
- package/web/app/immutable/chunks/{CmtSXIlz.js → BJ9BJ5kr.js} +1 -1
- package/web/app/immutable/chunks/{n50bwg6w.js → BJudpy0q.js} +2 -2
- package/web/app/immutable/chunks/BKO5A3Iw.js +324 -0
- package/web/app/immutable/chunks/{BvW_0loN.js → BKrYyTXN.js} +1 -1
- package/web/app/immutable/chunks/{qiHCX_SZ.js → BO7H-py_.js} +1 -1
- package/web/app/immutable/chunks/{BaqlfWKa.js → BRO1WLab.js} +1 -1
- package/web/app/immutable/chunks/{ClioxoZj.js → BS6j7OE5.js} +1 -1
- package/web/app/immutable/chunks/{U2CIkvme.js → BTveGMUJ.js} +1 -1
- package/web/app/immutable/chunks/{D7_sioj1.js → BW2PW2g6.js} +1 -1
- package/web/app/immutable/chunks/{BrbLiL_x.js → BX6z7vlb.js} +1 -1
- package/web/app/immutable/chunks/{BgntEy_5.js → BXOgEfnf.js} +1 -1
- package/web/app/immutable/chunks/{Du8OSMBA.js → BYGgXMOe.js} +1 -1
- package/web/app/immutable/chunks/{DkZNeDFv.js → BZt_MPAk.js} +1 -1
- package/web/app/immutable/chunks/{DKaqc51P.js → B_Ea7vd_.js} +1 -1
- package/web/app/immutable/chunks/{BnQ8VATH.js → B_POKarf.js} +1 -1
- package/web/app/immutable/chunks/{CDGvuOsQ.js → B_yx8Ej4.js} +1 -1
- package/web/app/immutable/chunks/{DsD7VXOH.js → BbJ89n0c.js} +1 -1
- package/web/app/immutable/chunks/{bHHGnVsz.js → BfyhvmiH.js} +1 -1
- package/web/app/immutable/chunks/{ZWPXcFOT.js → BhCkZjyI.js} +1 -1
- package/web/app/immutable/chunks/{DOVovLIq.js → BjDw9Ajo.js} +1 -1
- package/web/app/immutable/chunks/{B5iywc0c.js → BkasMNMq.js} +1 -1
- package/web/app/immutable/chunks/{DvbSI76r.js → Bn4oEwGS.js} +2 -2
- package/web/app/immutable/chunks/{aVsZmAEF.js → BnVbje9V.js} +1 -1
- package/web/app/immutable/chunks/{B-gmfAcJ.js → BoZO-tBm.js} +1 -1
- package/web/app/immutable/chunks/{BW3vrEnw.js → Bp1cd1IE.js} +5 -5
- package/web/app/immutable/chunks/{4tDE6wja.js → BqJBJZqA.js} +1 -1
- package/web/app/immutable/chunks/{C1YheCPG.js → BsDnrJk1.js} +1 -1
- package/web/app/immutable/chunks/{BFY-b65a.js → BxXIBuVD.js} +1 -1
- package/web/app/immutable/chunks/{C99wXtMe.js → Bxg-DNLJ.js} +1 -1
- package/web/app/immutable/chunks/{s0Q29iiv.js → Byw0HZRE.js} +1 -1
- package/web/app/immutable/chunks/{DhCIIOya.js → C-0pU5-0.js} +1 -1
- package/web/app/immutable/chunks/{RKlkXviB.js → C-65lWvx.js} +1 -1
- package/web/app/immutable/chunks/{ZvX5e3AH.js → C0-5oyod.js} +1 -1
- package/web/app/immutable/chunks/{DsSlZ8Hs.js → C16OaEIp.js} +1 -1
- package/web/app/immutable/chunks/{Bn8I_2eM.js → C1xcY5Vk.js} +1 -1
- package/web/app/immutable/chunks/{C2-6X3Z3.js → C235722L.js} +2 -2
- package/web/app/immutable/chunks/{Bp70Vk4U.js → C2XyHZMq.js} +1 -1
- package/web/app/immutable/chunks/{BJrl0upY.js → C2_XBdun.js} +1 -1
- package/web/app/immutable/chunks/{Dm7OUuES.js → C2kcG-kr.js} +1 -1
- package/web/app/immutable/chunks/{CXbFPa4P.js → C2kqq4BW.js} +1 -1
- package/web/app/immutable/chunks/{CW4guVPa.js → C3II6JxD.js} +1 -1
- package/web/app/immutable/chunks/{Xj89EZIy.js → C3pHQ0Lo.js} +1 -1
- package/web/app/immutable/chunks/{BGSYASTg.js → C6Oo8BXq.js} +1 -1
- package/web/app/immutable/chunks/{D0lwnaH3.js → C7GMlsQo.js} +1 -1
- package/web/app/immutable/chunks/{DwDCAMLG.js → C88qqh5O.js} +1 -1
- package/web/app/immutable/chunks/{BRCenWT1.js → CActW8-2.js} +1 -1
- package/web/app/immutable/chunks/{D7mzoI7P.js → CEFUN1Sl.js} +1 -1
- package/web/app/immutable/chunks/{BjdiF3NU.js → CF5fp47H.js} +1 -1
- package/web/app/immutable/chunks/{DQ7w3NbE.js → CFIlMuyb.js} +1 -1
- package/web/app/immutable/chunks/{DWGee_yL.js → CGSuk0Cy.js} +1 -1
- package/web/app/immutable/chunks/{BrdmgcMW.js → CGye2JSh.js} +1 -1
- package/web/app/immutable/chunks/CGzJEpSM.js +1 -0
- package/web/app/immutable/chunks/{B-dUAUrx.js → CHja51xm.js} +1 -1
- package/web/app/immutable/chunks/{C2v5W_yU.js → CIJAu6bi.js} +1 -1
- package/web/app/immutable/chunks/{CsY3AFxY.js → CJhyAq2H.js} +1 -1
- package/web/app/immutable/chunks/{Bdylonvo.js → CLVYtAgH.js} +1 -1
- package/web/app/immutable/chunks/{DHfLNRUe.js → CNIcxzrf.js} +1 -1
- package/web/app/immutable/chunks/{BnbR-3eC.js → CPVCyy9H.js} +1 -1
- package/web/app/immutable/chunks/{lr5ofxhO.js → CPWUKQMq.js} +1 -1
- package/web/app/immutable/chunks/{DP7kbgS0.js → CQ8ioTJp.js} +1 -1
- package/web/app/immutable/chunks/{CNx8jMag.js → CRA4LiiZ.js} +3 -3
- package/web/app/immutable/chunks/{1gqakjEk.js → CTq4Ne1T.js} +1 -1
- package/web/app/immutable/chunks/{Cowgfae1.js → CU6_e7nb.js} +1 -1
- package/web/app/immutable/chunks/{BhHMVKkK.js → CUBgSKLj.js} +1 -1
- package/web/app/immutable/chunks/{CACMvEIk.js → CURoGd7C.js} +1 -1
- package/web/app/immutable/chunks/{B-68oH2S.js → CXfUMyfW.js} +1 -1
- package/web/app/immutable/chunks/CXhBPURx.js +1 -0
- package/web/app/immutable/chunks/{Bebubi_u.js → C_XZ4OIT.js} +2 -2
- package/web/app/immutable/chunks/{D3jsqDWq.js → CaO-jYXw.js} +1 -1
- package/web/app/immutable/chunks/{DWQ1jwFW.js → CbfVN0ay.js} +1 -1
- package/web/app/immutable/chunks/{DI0BmYmu.js → Cbte3-vF.js} +1 -1
- package/web/app/immutable/chunks/{BekOxliD.js → Cg-g09n8.js} +1 -1
- package/web/app/immutable/chunks/{Dj03b8fr.js → Cgqr4kLy.js} +1 -1
- package/web/app/immutable/chunks/{aLb41s5K.js → Ci0Iahfv.js} +1 -1
- package/web/app/immutable/chunks/{CehXkbc-.js → Ck0Y6rq2.js} +1 -1
- package/web/app/immutable/chunks/{Bu8Bi7-A.js → ClloJpHM.js} +1 -1
- package/web/app/immutable/chunks/{CJhZDVuE.js → Clof0uHU.js} +6 -6
- package/web/app/immutable/chunks/{Cxk1hw1U.js → Cn7C61pS.js} +1 -1
- package/web/app/immutable/chunks/{DHSIOEln.js → CnJRK_4k.js} +1 -1
- package/web/app/immutable/chunks/{BSwJfQ4v.js → CpvoaoFn.js} +1 -1
- package/web/app/immutable/chunks/{D_J63Zyl.js → CqR78knd.js} +2 -2
- package/web/app/immutable/chunks/{DYtAwHmE.js → Cr7b2ytM.js} +1 -1
- package/web/app/immutable/chunks/{Corw6Jrh.js → CrDYXSjm.js} +1 -1
- package/web/app/immutable/chunks/{BA_vIobR.js → Cu9PRb5L.js} +1 -1
- package/web/app/immutable/chunks/{C3J1SYpT.js → CuXdjaeB.js} +1 -1
- package/web/app/immutable/chunks/{73DumGL9.js → CyiV6pD0.js} +1 -1
- package/web/app/immutable/chunks/{CabEUy8J.js → Cyt8YDgF.js} +1 -1
- package/web/app/immutable/chunks/{Bw0bJwpw.js → D0pB9PrJ.js} +1 -1
- package/web/app/immutable/chunks/{ObcETXIn.js → D1erkeWj.js} +4 -4
- package/web/app/immutable/chunks/{BEsSRpwf.js → D3RlZ9WF.js} +1 -1
- package/web/app/immutable/chunks/{QwMkFOLD.js → D3ZCs28F.js} +1 -1
- package/web/app/immutable/chunks/{47q6TsqV.js → D3vOZLLK.js} +7 -7
- package/web/app/immutable/chunks/{DBLawIp_.js → D74IXn65.js} +1 -1
- package/web/app/immutable/chunks/{BHL5MsfB.js → D7wJhAnY.js} +1 -1
- package/web/app/immutable/chunks/{Cppe-wSX.js → DBIZsiql.js} +1 -1
- package/web/app/immutable/chunks/{DshT-ERa.js → DBV1CnUE.js} +1 -1
- package/web/app/immutable/chunks/{B2hdZBro.js → DDWW4aEF.js} +1 -1
- package/web/app/immutable/chunks/{DUl0e4O4.js → DE5PIUSw.js} +1 -1
- package/web/app/immutable/chunks/{C4tLIUi-.js → DFes1OFO.js} +1 -1
- package/web/app/immutable/chunks/{DN9Sgz-I.js → DGQD3c01.js} +1 -1
- package/web/app/immutable/chunks/{3Y9y-sdV.js → DHiM-AM5.js} +1 -1
- package/web/app/immutable/chunks/DIZ4FVb2.js +18 -0
- package/web/app/immutable/chunks/{DB0od0be.js → DImKkYU8.js} +1 -1
- package/web/app/immutable/chunks/{-GL8Xg-u.js → DIzn_5le.js} +1 -1
- package/web/app/immutable/chunks/{CwQ4F1Ab.js → DLuzW_sw.js} +1 -1
- package/web/app/immutable/chunks/{Bqwi0BWF.js → DLwjoPi-.js} +1 -1
- package/web/app/immutable/chunks/{Bi0GbwSO.js → DMBgFuVn.js} +1 -1
- package/web/app/immutable/chunks/{o8OJf27v.js → DNbwLiOD.js} +1 -1
- package/web/app/immutable/chunks/{BZNhUzh7.js → DPgIFT9a.js} +1 -1
- package/web/app/immutable/chunks/{CgjVDtx1.js → DPr1KaRP.js} +1 -1
- package/web/app/immutable/chunks/{wozemaTW.js → DQZE5Czs.js} +3 -3
- package/web/app/immutable/chunks/{BGFHZ0Gn.js → DQxz8V0J.js} +1 -1
- package/web/app/immutable/chunks/{D2Fb9aao.js → DShqgEnv.js} +1 -1
- package/web/app/immutable/chunks/{DDghWae5.js → DUl_-rTL.js} +1 -1
- package/web/app/immutable/chunks/{BhEPk3lK.js → DVDkPCJb.js} +1 -1
- package/web/app/immutable/chunks/{C9iz-mkw.js → DV_kwNjV.js} +1 -1
- package/web/app/immutable/chunks/{BcLb4U6k.js → DV_mjaDS.js} +1 -1
- package/web/app/immutable/chunks/{aCBgdpmi.js → DVtTRYro.js} +4 -4
- package/web/app/immutable/chunks/{Vj7OREkP.js → DW8KsuX4.js} +1 -1
- package/web/app/immutable/chunks/{CFBVUms-.js → D_TV1KoB.js} +1 -1
- package/web/app/immutable/chunks/{BdllAkCb.js → Da1sSxnj.js} +1 -1
- package/web/app/immutable/chunks/{Cal0nWOf.js → Da4Iij0H.js} +1 -1
- package/web/app/immutable/chunks/{BGhLlR2Z.js → Dc2cxcpy.js} +1 -1
- package/web/app/immutable/chunks/{CvLqwfko.js → Dc9RwHk1.js} +1 -1
- package/web/app/immutable/chunks/{C5vF3pAx.js → DddS0Lxi.js} +1 -1
- package/web/app/immutable/chunks/{xgWQsr-g.js → De2qZObv.js} +3 -3
- package/web/app/immutable/chunks/{CUtP3PhY.js → Dfq3kecl.js} +1 -1
- package/web/app/immutable/chunks/{DUgG-2k6.js → Di_Co9NR.js} +1 -1
- package/web/app/immutable/chunks/{CeOSarF3.js → Dix5ieD0.js} +1 -1
- package/web/app/immutable/chunks/{Bgg-wBTF.js → DjrWSiZH.js} +1 -1
- package/web/app/immutable/chunks/{9RsJ-LA0.js → Dky-2Jfq.js} +1 -1
- package/web/app/immutable/chunks/{an5t-R7s.js → Dl-1cK26.js} +1 -1
- package/web/app/immutable/chunks/{z5Kqmpp_.js → DlZGWt2o.js} +1 -1
- package/web/app/immutable/chunks/{DKmM0bqR.js → DpVk5aau.js} +1 -1
- package/web/app/immutable/chunks/{DRKAw6pI.js → Dpq4LLhj.js} +1 -1
- package/web/app/immutable/chunks/{CFvkwWFr.js → DprVQ2cA.js} +1 -1
- package/web/app/immutable/chunks/{VIItGFPL.js → Dq9gyYYW.js} +3 -3
- package/web/app/immutable/chunks/{gjFD8LCr.js → Dr8h9pQh.js} +1 -1
- package/web/app/immutable/chunks/{BiTsq1kw.js → DtA3iCKc.js} +1 -1
- package/web/app/immutable/chunks/{BrMgU118.js → DuDV8ZK3.js} +1 -1
- package/web/app/immutable/chunks/{CRtL6sYK.js → DvjdgbnN.js} +1 -1
- package/web/app/immutable/chunks/{CtFCyWOY.js → DyqEo12-.js} +1 -1
- package/web/app/immutable/chunks/{Bc_8WxDl.js → DzDKk1gg.js} +1 -1
- package/web/app/immutable/chunks/{DyJ_15yQ.js → E0mAs65C.js} +1 -1
- package/web/app/immutable/chunks/{D44dgkjW.js → FWWAmx1z.js} +2 -2
- package/web/app/immutable/chunks/{DY3dk38M.js → Ffkre1hG.js} +1 -1
- package/web/app/immutable/chunks/{BL9BSWt_.js → G3nZ7pCW.js} +1 -1
- package/web/app/immutable/chunks/{H0XHH9Lx.js → IXLuPeCo.js} +1 -1
- package/web/app/immutable/chunks/{CIP1ZfWd.js → JdvuJp6h.js} +2 -2
- package/web/app/immutable/chunks/{CdL46F2Z.js → JpmjV7Db.js} +1 -1
- package/web/app/immutable/chunks/{ClCKezvS.js → Jx27GIgX.js} +2 -2
- package/web/app/immutable/chunks/{B7Wb6zTq.js → K1lMPseK.js} +1 -1
- package/web/app/immutable/chunks/{_3D340Va.js → LXOG-o0_.js} +1 -1
- package/web/app/immutable/chunks/{DhMj2plM.js → MTrJWGR3.js} +1 -1
- package/web/app/immutable/chunks/{xO5nwwWo.js → MXy6fSLt.js} +1 -1
- package/web/app/immutable/chunks/{W4t3dmSv.js → MyzIOb1W.js} +1 -1
- package/web/app/immutable/chunks/{D8DZcNyr.js → PTBua5Xh.js} +1 -1
- package/web/app/immutable/chunks/{Dn9JK5a2.js → QM7Mq3rU.js} +1 -1
- package/web/app/immutable/chunks/{BxWSOWVO.js → QOrjinFU.js} +3 -3
- package/web/app/immutable/chunks/{DRkmccaa.js → SrK4MHE8.js} +1 -1
- package/web/app/immutable/chunks/{DDI0uI_H.js → SvwZEEzi.js} +1 -1
- package/web/app/immutable/chunks/{CKHgkzsh.js → U9kPfLYu.js} +1 -1
- package/web/app/immutable/chunks/{FNHey2fE.js → UZLf_gOh.js} +1 -1
- package/web/app/immutable/chunks/{CekHYIsk.js → WEBZ_o06.js} +1 -1
- package/web/app/immutable/chunks/{h1uEjX6Q.js → WcA2iudD.js} +1 -1
- package/web/app/immutable/chunks/{CNB2bBwk.js → XsSJjm3Z.js} +8 -8
- package/web/app/immutable/chunks/{HECvQSCC.js → Z8gxmaiy.js} +1 -1
- package/web/app/immutable/chunks/{h3ky2Xtl.js → ZXJR49AE.js} +1 -1
- package/web/app/immutable/chunks/{DYFkelx6.js → Zy5yxdde.js} +1 -1
- package/web/app/immutable/chunks/{DtYBp20I.js → aum-ppe_.js} +1 -1
- package/web/app/immutable/chunks/{BE4lD4BS.js → dIHdrZ0J.js} +1 -1
- package/web/app/immutable/chunks/{BLqH6j99.js → e4uVi_xz.js} +1 -1
- package/web/app/immutable/chunks/{CHF-Yq0C.js → gZyD4Xgg.js} +1 -1
- package/web/app/immutable/chunks/{EpMOyykO.js → hO5lTYJC.js} +1 -1
- package/web/app/immutable/chunks/{B4RPI3PE.js → iQC_aRCT.js} +1 -1
- package/web/app/immutable/chunks/{IoeO06yf.js → j08cx_T3.js} +1 -1
- package/web/app/immutable/chunks/{Duw-IZjh.js → koCKQeZ_.js} +1 -1
- package/web/app/immutable/chunks/{DNMw7H4R.js → laFj_6My.js} +1 -1
- package/web/app/immutable/chunks/{C6yKW00v.js → ljoDFKjK.js} +1 -1
- package/web/app/immutable/chunks/{WTd8htj2.js → ngC86qBA.js} +1 -1
- package/web/app/immutable/chunks/{D8dxdzMn.js → olmjZOKg.js} +1 -1
- package/web/app/immutable/chunks/{YNqVM6Pn.js → ozsIGez9.js} +1 -1
- package/web/app/immutable/chunks/{kslXii-P.js → p0XTH9N8.js} +1 -1
- package/web/app/immutable/chunks/{DQ0fhYWC.js → pJfd5MmO.js} +1 -1
- package/web/app/immutable/chunks/{DlAbpA5d.js → qKduNlhU.js} +1 -1
- package/web/app/immutable/chunks/{y6VRBo2M.js → qRsIi_ln.js} +1 -1
- package/web/app/immutable/chunks/{B5F8O-gO.js → rbIA3dG7.js} +1 -1
- package/web/app/immutable/chunks/{CWhinB9Y.js → tJ-CDXo8.js} +12 -12
- package/web/app/immutable/chunks/{D1gMbWP8.js → tksjIHll.js} +1 -1
- package/web/app/immutable/chunks/{GM1mBWt-.js → ufjD9HMd.js} +1 -1
- package/web/app/immutable/chunks/{D8a7wHlQ.js → vAfS3WCg.js} +1 -1
- package/web/app/immutable/chunks/{9a62qcQ7.js → vzubbBuY.js} +1 -1
- package/web/app/immutable/chunks/{Tbbe1dbh.js → xP-uKOUF.js} +1 -1
- package/web/app/immutable/entry/{app.D05YlZME.js → app.Dc4YeEY_.js} +2 -2
- package/web/app/immutable/entry/start.PtYCYwR4.js +1 -0
- package/web/app/immutable/nodes/{0.LnuswXdL.js → 0.DbnCL5nQ.js} +1 -1
- package/web/app/immutable/nodes/{1.BBz2p_l7.js → 1.CVS85gWq.js} +1 -1
- package/web/app/immutable/nodes/{10.Bkss7kyV.js → 10.CZl73L63.js} +1 -1
- package/web/app/immutable/nodes/{12.ahtCER6A.js → 12.ovtxIhM8.js} +1 -1
- package/web/app/immutable/nodes/{13.DYGu0QHS.js → 13.Bu_iJM_J.js} +1 -1
- package/web/app/immutable/nodes/{14.CHRRgsAs.js → 14.CT1XXzad.js} +1 -1
- package/web/app/immutable/nodes/{15.De0cpvot.js → 15.LrePapt-.js} +1 -1
- package/web/app/immutable/nodes/{16.DJqmOr4R.js → 16.CVL9-Zg8.js} +2 -2
- package/web/app/immutable/nodes/2.BoJKKzRY.js +9 -0
- package/web/app/immutable/nodes/{3.CjrKR4es.js → 3.DyGbBGpY.js} +1 -1
- package/web/app/immutable/nodes/{4.Cc1Wrh3X.js → 4.Bv-XaVrT.js} +1 -1
- package/web/app/immutable/nodes/{5.riH2s22o.js → 5.D3L4L-Jl.js} +1 -1
- package/web/app/immutable/nodes/{6.DFzfBxxH.js → 6.CCiQpsFo.js} +1 -1
- package/web/app/immutable/nodes/{7.DuBvggKz.js → 7.BmWbhC6E.js} +1 -1
- package/web/app/immutable/nodes/{8.D0_snN-z.js → 8.DqfjoiGI.js} +4 -4
- package/web/app/immutable/nodes/{9.FxuJzZaQ.js → 9.B6Z2Rp8_.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +10 -10
- package/web/app/immutable/assets/0.Hnrlh_nF.css +0 -1
- package/web/app/immutable/assets/5.MJsnOXij.css +0 -1
- package/web/app/immutable/chunks/CZOawK4P.js +0 -18
- package/web/app/immutable/chunks/Cf3hiWsI.js +0 -1
- package/web/app/immutable/chunks/Dmk6CuVf.js +0 -324
- package/web/app/immutable/chunks/l87kbv25.js +0 -1
- package/web/app/immutable/entry/start.CltNpI3_.js +0 -1
- package/web/app/immutable/nodes/2.0WZE4VZ1.js +0 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as pt,bq as S,a_ as E,by as bt,bs as Pt,b as Ct,bo as vt,bu as h}from"./DMsRLycu.js";import{bs as $t,ca as G,aD as n,c9 as i,a7 as L,ay as _,W as w,bn as kt,bS as yt,aA as B,aB as St}from"./B8o4lNgr.js";import{D as _t}from"./CY7B0zXs.js";import{c as wt}from"./i6wjEWTF.js";import{aU as Bt}from"./
|
|
1
|
+
import{t as pt,bq as S,a_ as E,by as bt,bs as Pt,b as Ct,bo as vt,bu as h}from"./DMsRLycu.js";import{bs as $t,ca as G,aD as n,c9 as i,a7 as L,ay as _,W as w,bn as kt,bS as yt,aA as B,aB as St}from"./B8o4lNgr.js";import{D as _t}from"./CY7B0zXs.js";import{c as wt}from"./i6wjEWTF.js";import{aU as Bt}from"./DVtTRYro.js";import{Gt as u,em as It,en as Ut,G_ as Wt,Hd as Dt,H3 as Rt,tj as Tt,n5 as V}from"./Ba4gy30X.js";import{g as Ht}from"./CoSk1zgY.js";import{by as At,bA as Ft,dk as Mt}from"./DIZ4FVb2.js";import{C as f}from"./DypB-Dwi.js";import"./C-65lWvx.js";import"./ZX1TUMY0.js";import"./BsvsTmot.js";import{bb as xt}from"./Cy5UaoOp.js";import"./XsSJjm3Z.js";import"./Jx27GIgX.js";import{T as Nt}from"./CXfUMyfW.js";import"./06CP606v.js";import{M as qt}from"./DyqEo12-.js";import{V as Et}from"./BJ9BJ5kr.js";import{O as Gt}from"./C2kqq4BW.js";import{bG as Lt,bE as Vt,a$ as Kt}from"./8wbw8Mxv.js";import{i as Ot}from"./H2jLkRRS.js";var jt=St("<!> <!>",1);function zt(I,p){if(new.target)return pt({component:zt,...I});$t(p,!0);const U=()=>h(et,"$workspace",l),P=()=>h(Y,"$ftChanges$",l),K=()=>h(Z,"$ftCommits$",l),W=()=>h(Q,"$foldUnchanged",l),D=()=>h(J,"$lineWrapping",l),R=()=>h(X,"$diffSideBySide",l),[l,O]=Pt(),j=t=>{Et(t,{embedded:!0,get foldEnabled(){return W()},onToggleFold:()=>u.dispatch(Rt()),get wrapEnabled(){return D()},onToggleWrap:()=>u.dispatch(Dt()),get splitEnabled(){return R()},onToggleSplit:()=>u.dispatch(Wt())})},z=t=>{var e=jt(),r=_(e);{let m=i(()=>vt.layout_diffHeader_goToFile_tooltip());wt(r,()=>qt,(y,ht)=>{ht(y,{get icon(){return xt},get label(){return n(m)},onclick:Jt=>ft()})})}var s=yt(r,2);{var d=m=>{Gt(m,{get filePath(){return n($)},get workspaceId(){return o()},isDirectory:!1,embedded:!0,get workspaceFolderPath(){return n(v)}})};E(s,m=>{n($)&&m(d)})}w(t,e)},J=Lt(),Q=Vt(),X=Kt();let a=S(p,"tab",7),o=S(p,"workspaceId",7),b=S(p,"isActive",7);const C=Bt(()=>o()),Y=At(C),Z=Ft(C),tt=new Set([f.Committed,f.Pushed,f.PullRequest,f.Merged,f.Trunk]),T=Ht(),et=Mt(C),nt=i(()=>U()?.worktreePath||U()?.repositoryPath||void 0);G(()=>{const t=o();if(!(!b()||!t||n(c)))return u.dispatch(It(t,"all")),()=>u.dispatch(Ut(t,"all"))});const c=i(()=>a().data?.gitRootId),H=i(()=>a().data?.gitRootPath),v=i(()=>n(H)||n(nt)),$=i(()=>a().diffPath&&n(v)?Ot(a().diffPath)?a().diffPath:`${n(v)}/${a().diffPath}`:null);function A(t,e){return!!(t.file===e||t.relativePath===e||t.relativePath&&e.endsWith("/"+t.relativePath)||t.file&&e.endsWith("/"+t.file)||t.relativePath&&t.relativePath.endsWith("/"+e)||t.file&&t.file.endsWith("/"+e))}function F(t){return!t||n(c)?null:P().find(e=>A(e,t)&&(e.stage==="staged"||e.stage==="unstaged"))??null}function at(t){if(!t||n(c))return null;let e=null,r=-1/0;for(const s of P()){if(!A(s,t)||!tt.has(s.stage)||!s.commitHash)continue;const d=s.attribution?.timestamp??0;d>=r&&(e=s,r=d)}return e}function it(t,e){return!!(t===e||e.endsWith("/"+t)||t.endsWith("/"+e))}function rt(t){if(!t||n(c))return null;for(const e of K())if(e?.hash&&e.files?.some(r=>r?.path&&it(r.path,t)))return{id:`diff-${t}-${e.hash}`,file:t,relativePath:t,status:"modified",stage:f.Committed,commitHash:e.hash,stats:{additions:0,deletions:0},attribution:{timestamp:e.timestamp??Date.now()}};return null}const M=i(()=>a().diffPath?F(a().diffPath):null),st=i(()=>{if(!a().diffPath)return 0;const t=F(a().diffPath),e=P().length;if(t){const r=t.stage==="staged"?1:t.stage==="unstaged"?2:3,s=(t.stats?.additions||0)+(t.stats?.deletions||0),d=t.attribution?.timestamp?t.attribution.timestamp%1e5:0;return r*1e6+s*1e3+d+e}return e}),g=i(()=>a().data?.change),x=i(()=>a().data?.branchBaseRef),N=i(()=>a().data?.branchBaseCommitSha),ot=i(()=>!!(n(x)||n(N))),k=i(()=>{if(n(g)?.commitHash)return n(g);if(n(M))return n(M);if(n(ot)&&n(g))return n(g);const t=at(a().diffPath??null);if(t)return t;const e=rt(a().diffPath??null);return e||(n(g)?n(g):{id:`diff-${a().diffPath}`,file:a().diffPath||"",relativePath:a().diffPath||"",status:"modified",stage:f.Unstaged,stats:{additions:0,deletions:0},attribution:{timestamp:Date.now()}})});function ft(t){if(!a().diffPath)return;const r={type:"file",title:a().diffPath.split("/").pop()||a().diffPath,closable:!0,filePath:n($)||a().diffPath,workspaceId:o()};u.dispatch(Tt(o(),r))}G(()=>{!T||!b()||T.registerActions({display:j,actions:z})});function dt(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"stageHunk",filePath:t,hunkPatch:e,source:"diff"}))}function ut(t,e){u.dispatch(V(o(),crypto.randomUUID(),{kind:"unstageHunk",filePath:t,hunkPatch:e,source:"diff"}))}var ct={get tab(){return a()},set tab(t){a(t),B()},get workspaceId(){return o()},set workspaceId(t){o(t),B()},get isActive(){return b()},set isActive(t){b(t),B()},$set:bt,$on:(t,e)=>Ct(p,t,e)},q=L(),mt=_(q);{var lt=t=>{var e=L(),r=_(e);_t(r,()=>a().diffPath,s=>{{let d=i(()=>R()?"split":"unified"),m=i(()=>!n(c)&&n(k).stage===f.Unstaged?dt:void 0),y=i(()=>!n(c)&&n(k).stage===f.Staged?ut:void 0);Nt(s,{get active(){return b()},get change(){return n(k)},get workspaceId(){return o()},get viewMode(){return n(d)},get foldUnchanged(){return W()},get lineWrapping(){return D()},get refreshKey(){return n(st)},get branchBaseRef(){return n(x)},get branchBaseCommitSha(){return n(N)},get gitRootId(){return n(c)},get gitRootPath(){return n(H)},get onStageHunk(){return n(m)},get onUnstageHunk(){return n(y)}})}}),w(t,e)};E(mt,t=>{a().diffPath&&t(lt)})}w(I,q);var gt=kt(ct);return O(),gt}export{zt as default};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/
|
|
2
|
-
import{z as te,N as ne,x as se,dA as D,cD as C,dk as re,ak as oe,a$ as N,y as ae,dL as ie}from"./
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/PTBua5Xh.js","/app/immutable/chunks/Dky-2Jfq.js","/app/immutable/chunks/DMsRLycu.js","/app/immutable/chunks/B8o4lNgr.js","/app/immutable/chunks/ZX1TUMY0.js","/app/immutable/chunks/CpHIRYx9.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/XsSJjm3Z.js","/app/immutable/chunks/BsvsTmot.js","/app/immutable/chunks/D2g8BuR1.js","/app/immutable/chunks/i6wjEWTF.js","/app/immutable/chunks/CY7B0zXs.js","/app/immutable/chunks/Dg4AJKkW.js","/app/immutable/chunks/DVkfuwKw.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/AEjnVR5F.js","/app/immutable/chunks/utwal-1U.js","/app/immutable/chunks/Ba4gy30X.js","/app/immutable/chunks/CjSUqH7t.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/D2AmAQEr.js","/app/immutable/chunks/Cy5UaoOp.js","/app/immutable/chunks/CUrlpJj4.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/CAZb3-k9.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/DdwJKoPl.js","/app/immutable/chunks/BqJBJZqA.js","/app/immutable/chunks/BdrU1VNg.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/D7gNyfhu.js","/app/immutable/chunks/DypB-Dwi.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{z as te,N as ne,x as se,dA as D,cD as C,dk as re,ak as oe,a$ as N,y as ae,dL as ie}from"./DIZ4FVb2.js";import{_ as v,bo as S}from"./DMsRLycu.js";import{u4 as ue,zK as V,mB as f,u6 as ce,AX as F,Gt as c,cs as le,ct as de,mC as W,mo as fe,c as $,fv as me,g as pe,kS as ge,cA as he}from"./Ba4gy30X.js";import{bM as Se}from"./8wbw8Mxv.js";import{x as ye,J as Ae,ag as be,ao as Me}from"./B5IU8QZY.js";import{a as H}from"./DypB-Dwi.js";import{s as we}from"./D0pB9PrJ.js";import{by as Ie}from"./XsSJjm3Z.js";import{C as _e}from"./BdrU1VNg.js";import{q as Ce,v as ve}from"./AEjnVR5F.js";import{a as Te}from"./B6ZWdQk3.js";function Re(e){try{return new URL(e.pageUrl).hostname||e.pageUrl}catch{return e.pageUrl}}function bt(e,t){return e.targetAgentId===t}function Mt(e){const t=e.element,n=e.viewport,s=Re(e),r=t?`<${t.tagName.toLowerCase()}> · ${s}`:e.title||s,o=["<browser-element-capture>",`Page URL: ${e.pageUrl}`,`Page title: ${e.title}`,...t?[`DOM path: ${t.domPath}`,`CSS selector: ${t.selector}`,`Text snippet: ${t.textSnippet}`,...t.sourceRef?[`Source ref: ${t.sourceRef}`]:[],...n?[`Viewport: ${n.width}×${n.height}`]:[],`Element bounds: ${t.rect.width}×${t.rect.height} at (${t.rect.x}, ${t.rect.y})`]:[],"</browser-element-capture>"].join(`
|
|
3
3
|
`);return[{id:`${e.id}-image`,type:"file",label:r,imageData:e.image.data,imageMimeType:e.image.mimeType},{id:`${e.id}-context`,type:"selection",label:r,content:o}]}function $e(e,t){const n=t.filter(s=>s.type==="selection").flatMap(s=>s.content?.trim()?[s.content.trim()]:[]);return[e.trim(),...n].filter(Boolean).join(`
|
|
4
4
|
`)}function ke(e){const t=e.filter(s=>(s.imageData||s.attachmentId)&&s.imageMimeType).map(s=>s.attachmentId?{type:"image",attachmentId:s.attachmentId,...s.imageMimeType.includes("/")?{mimeType:s.imageMimeType}:{}}:{type:"image",data:s.imageData,mimeType:s.imageMimeType,...s.placementFileName?{placementFileName:s.placementFileName}:{}}),n=e.filter(s=>s.attachmentId&&!s.imageMimeType).map(s=>({type:"file",attachmentId:s.attachmentId,fileName:s.label,...s.attachmentMimeType?{mimeType:s.attachmentMimeType}:{},...s.attachmentSize!==void 0?{size:s.attachmentSize}:{}}));return{imageBlocks:t,fileBlocks:n}}function Ee(e=[],t=[],n=[]){const s=[];for(const r of t)r.type==="file"&&r.filePath?s.push(`[Currently viewing file: ${r.filePath}]`):r.type==="diff"&&r.filePath?s.push(`[Currently viewing diff for: ${r.filePath}]`):r.type==="note"&&r.noteId?s.push(`[Currently viewing note: "${r.label}" (ID: ${r.noteId}). Read it with ws.note.read("${r.noteId}").]`):r.type==="spec"?s.push("[Currently viewing: Spec]"):r.type==="browser"&&r.browserUrl&&s.push(`[Currently viewing browser: ${r.browserUrl}]`);for(const r of n){const o=r.text.trim(),a=o.length>500?o.substring(0,500)+"...":o,i=r.sourceLabel?` from ${r.sourceLabel}`:"";s.push(`[Selected text${i}:
|
|
5
5
|
\`\`\`
|
|
6
6
|
${a}
|
|
7
7
|
\`\`\`]`)}return $e(s.join(`
|
|
8
|
-
`),e)}function wt(e,t,n){if(e==="suggested-prompt")return{fields:{},hasAttachments:!1,cleanup:{clearInput:!1,followBottom:!0,historyText:null}};const s=n(),{imageBlocks:r,fileBlocks:o}=ke(s.contextItems);return{fields:{contextItems:s.contextItems,workspaceContextStr:Ee(s.contextItems,s.checkedPanels,s.checkedSelections),noteIds:s.noteIds,...r.length>0?{imageBlocks:r}:{},...o.length>0?{fileBlocks:o}:{},...s.pickedMentions?{messageMetadata:s.pickedMentions}:{}},hasAttachments:r.length>0||o.length>0,cleanup:{clearInput:!0,followBottom:!0,historyText:t}}}function It(e,t){if(e)return e.model}function Le({messages:e,pendingInitialPrompt:t,pendingContextReferenceCount:n=0}){return e.length>0||!!t||n>0}function _t({session:e,messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s=0}){return!(e?te(e):!1)&&!Le({messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s})}function Ct(e){return ne(e.messageMetadata)}function vt(e,t){const n=new Set;for(const s of t){const r=se(s.metadata);r&&n.add(r)}return n.size===0?[...e]:e.filter(s=>!n.has(s.id))}function xe(e){return{id:e.id,appMessageId:e.appMessageId,role:"user",timestamp:new Date(e.createdAt??0).toISOString(),contentBlocks:[...e.content?[{type:"text",text:e.content}]:[],...e.imageBlocks??[],...e.fileBlocks??[]],metadata:e.messageMetadata,...e.author!==void 0?{author:e.author}:{}}}function Tt(e){return xe({...e,createdAt:Date.parse(e.queuedAt)})}const Pe="chat-read:",y=new Map,T=new Set;function Rt(e,t){let n=y.get(e);n||(n=new Set,y.set(e,n)),n.add(t)}function $t(e,t){const n=y.get(e);if(!(!n||!n.delete(t))&&n.size===0){y.delete(e);for(const s of[...T])s(e)}}function kt(e){return T.add(e),()=>T.delete(e)}function Et(e){return y.has(e)}function Lt(e){const t=y.get(e);if(!t)return!1;for(const n of t)if(!n.startsWith(Pe))return!0;return!1}function De(e,t,n){const s=e.state.pendingSubmissions.byAgentId[t.agentId];if(!s||!V(s.scope,t))return null;const r={...structuredClone(n),id:crypto.randomUUID(),createdAt:Date.now()};e.dispatch(ce(t,r));const o=e.state.pendingSubmissions.byAgentId[t.agentId];return o&&f(o.submissions,r.id)?r:null}function He(e,t,n,s,r){const o=D.select(e.state,n),a=C.select(e.state)?.principal.id,i=H(e.state);if(!o||!a||!i)return null;const u=ye(t,n),l={agentId:t,workspaceId:n,principalId:a,participation:o,authority:i,owner:u.key,lifetime:e.state.pendingSubmissions.byAgentId[t]?.scope.lifetime??crypto.randomUUID()},m=()=>u.isCurrent(e.state.agentSessions?.byAgentId[t]?.workspaceId)&&D.select(e.state,n)===o&&C.select(e.state)?.principal.id===a&&H(e.state)===i;if(!m())return null;e.dispatch(ue(l,s,re.select(e.state,n)));const d=De(e,l,r);return d?{scope:l,submission:d,isCurrent:()=>{const h=e.state.pendingSubmissions.byAgentId[t];return m()&&!!h&&V(h.scope,l)&&(!!f(h.operations,d.id)||!!f(h.submissions,d.id))}}:null}function R(e,t,n){if(!n.text.trim()&&!n.imageBlocks?.length&&!n.fileBlocks?.length)return null;const s=n.userAppMessageId??Ae();return He(e,t,n.wsId,C.select(e.state)?.capabilities.submissionCorrelation,{content:n.text.trim(),appMessageId:s,destination:!n.forceSubmit&&oe.select(e.state,t)?"queue":"conversation",contextItems:n.contextItems,imageBlocks:n.imageBlocks,fileBlocks:n.fileBlocks,messageMetadata:n.messageMetadata})}function Be(e,t,n){const s=R(e,t,n);return s?(e.dispatch(F(t,{...n,userAppMessageId:s.submission.appMessageId,submission:{scope:s.scope,id:s.submission.id}})),!0):!1}async function Oe(e,t,n,s){const r=n.submission;if(!r)return"legacy";const o=r.reference,a=()=>o.scope.agentId===e&&o.scope.workspaceId===t&&N.select(c.state,e)===n?Se.select(c.state,o.scope):void 0,i=a();if(!i)return null;if(!i.supported)return"legacy";const u={wsId:t,text:n.text,imageBlocks:n.options?.imageBlocks,fileBlocks:n.options?.fileBlocks,noteIds:n.options?.noteIds,messageMetadata:n.options?.messageMetadata,model:s??n.options?.model};if(r.outcome==="rejected"){const p=f(i.tombstones,o.id);return f(i.submissions,o.id)||p&&p.reason!=="rejected"?null:R(c,e,u)}if(r.outcome==="accepted")return R(c,e,u);await Promise.all([be(e,t).catch(()=>{}),Me(e,t).catch(()=>{})]);const l=a();if(!l||f(l.submissions,o.id)?.status!=="uncertain")return null;const{notify:m}=await v(async()=>{const{notify:p}=await import("./D8DZcNyr.js").then(ee=>ee.i);return{notify:p}},__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);if(a()!==l)return null;let d=!1;const h=()=>{d=!0};return m.warning(S.agent_chatSend_uncertainRetry_description(),{key:`submission-retry:${t}:${e}:${o.id}`,duration:Number.POSITIVE_INFINITY,action:{label:S.agent_chatSend_resend_label(),onClick:()=>{if(d)return;d=!0;const p=a();!p||p.generation!==l.generation||p.submissions!==l.submissions||p.observationVersion!==l.observationVersion||f(p.submissions,o.id)?.status!=="uncertain"||Be(c,e,u)}},cancel:{label:S.chat_richInput_cancel_label(),onClick:h},onDismiss:h}),null}async function xt(e,t,n){const s=N.select(c.state,e),r=s?.submission?await Oe(e,t,s,n):"legacy";if(r){if(r==="legacy"){await c.dispatch(n===void 0?le(e,t):de(e,t,n));return}!r.isCurrent()||!s||c.dispatch(F(e,{wsId:t,text:s.text,imageBlocks:s.options?.imageBlocks,fileBlocks:s.options?.fileBlocks,noteIds:s.options?.noteIds,messageMetadata:s.options?.messageMetadata,model:n??s.options?.model,userAppMessageId:r.submission.appMessageId,submission:{scope:r.scope,id:r.submission.id}}))}}const Pt=c.createSelector((e,t)=>{const n=f(e.chatDrafts.owners,t);return n?{restore:n.restore,saves:W(n.saves)}:void 0});function Ue(e,t){return t.workspaceId===e&&!t.retiredAt&&!t.pendingDeleteAt&&t.status!==$.Deleted&&!t.notificationsMuted&&me(t)==="topLevel"}function Ne(e){const t=e.metadata?.pendingQuestionsMessageId;return typeof t=="string"&&t.length>0&&!we(e.metadata,t)?t:null}function Ve(e){return e.status===$.Error&&!ae(ie(e))}function Dt(e,t){return t.filter(n=>Ue(e,n)).flatMap(n=>{const s=fe(n),r=Ne(n),o=n.status===$.Error;if(!s&&!r&&!o)return[];const a=s?.timestamp??(o?n.stopReasonTimestamp:void 0);return[{agentId:n.id,agentName:n.name,kind:s?.kind??(o?"failed":"question"),reason:s?.reason,timestamp:a&&Number.isFinite(Date.parse(a))?a:void 0,questionMessageId:r,canRetry:Ve(n)}]})}function Ht(e){return e.displayStatus==="failed"?"failed":e.displayStatus==="blocked"?"blocked":e.attention==="review_required"?"review":e.displayStatus==="needs_attention"?"question":e.activity==="agent_running"||e.displayStatus==="in_progress"?"running":e.scriptsRunning===!0?"scripts_running":e.backgroundTasksRunning===!0?"background_tasks_running":e.displayStatus==="pr_ready"?"pr_ready":e.displayStatus==="pr_merged"?"merged":e.displayStatus==="complete"?"complete":e.attention==="unread"?"unread":e.displayStatus==="pr_open"||e.displayStatus==="pr_queued"?e.displayStatus:"idle"}function Bt(e){const t=e.kind==="prs"?e.organization?.trim().toLowerCase():void 0;return{key:JSON.stringify([e.kind,e.workspaceId,t||null,[...new Set((t?[]:e.repositories).map(n=>JSON.stringify([n.key,n.owner,n.name])))].sort()]),hasGitHubRepositories:!!t||e.repositories.some(n=>!!n.owner),hasLocalRepositories:!t&&e.repositories.some(n=>!n.owner)}}function k(e){const t=Ie(e);if(t?.kind!=="pr"||!Number.isSafeInteger(t.number)||t.number<=0)return null;const n=t.owner.toLowerCase(),s=t.repo.toLowerCase();return{owner:n,repo:s,number:t.number,id:`${n}/${s}#${t.number}`,url:`https://github.com/${n}/${s}/pull/${t.number}`}}function Ot(e,t,n,s){const r=e.filter(o=>s?s.includes(o.id):n?o.repositoryOwner?.toLowerCase()===n.toLowerCase():t.some(a=>a.owner?.toLowerCase()===o.repositoryOwner?.toLowerCase()&&a.name.toLowerCase()===o.repositoryName?.toLowerCase()));return[...new Map(r.flatMap(o=>[...(o.pullRequests??[]).map(a=>a.url),o.activePullRequest?.url,o.prUrl]).flatMap(o=>{const a=o?k(o):null;return a?[[a.id,{owner:a.owner,repo:a.repo,number:a.number}]]:[]})).values()].sort((o,a)=>`${o.owner}/${o.repo}#${o.number}`.localeCompare(`${a.owner}/${a.repo}#${a.number}`))}function Ut(e,t){const[n]=t;return t.length!==1||e.owner?.toLowerCase()!==n?.owner?.toLowerCase()||e.repo?.toLowerCase()!==n?.name.toLowerCase()}const Nt=c.createSelector(e=>e.homeIntegrations),Vt=c.createSelector(e=>{const t=e.homeIntegrations;return!t.linkedItems||!Object.keys(t.linkedItems).length?t:{...t,items:[...new Map([...Object.values(t.linkedItems),...t.items].map(n=>[n.id,n])).values()].sort((n,s)=>(s.updatedAt??"").localeCompare(n.updatedAt??""))}}),q=c.createSelector(e=>W(e.workspace.workspaces).flatMap(t=>[...(t.pullRequests??[]).map(n=>n.url),t.activePullRequest?.url,t.prUrl].filter(n=>!!n).map(n=>({url:k(n)?.url??n.replace(/\/$/,"").toLowerCase(),workspaceId:t.id,name:t.title||t.id})))),Ft=c.createSelector(e=>{const t=e.homeIntegrations.detail?.url,n=t?k(t)?.url??t.replace(/\/$/,"").toLowerCase():void 0;return q.select(e).find(s=>s.url===n)??null}),Wt=c.createSelector(e=>q.select(e).map(t=>t.url));function qt(e){return ve(e)}function Fe(e){return Ce(e)}function We(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function w(e){if(e.length===0)return[];const t=[];let n=null;for(const s of e){const r=s.timestamp?typeof s.timestamp=="string"?new Date(s.timestamp):s.timestamp:new Date;(!n||!We(n.date,r))&&(n={date:r,label:Fe(r),messages:[]},t.push(n)),n.messages.push(s)}return t}function Gt(e){const t=new Map;return e.map(({date:n})=>{const s=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`,r=t.get(s)??0;return t.set(s,r+1),r===0?s:`${s}#${r}`})}function Kt(e,t){const n=new Map;let s=t?null:void 0;for(const[r,o]of e.groups.entries()){r===e.gapBeforeGroupIndex&&(s=void 0);for(const a of o.messages)s!==void 0&&n.set(a.id,s),a.role==="user"&&!Te(a)&&(s=a)}return n}function qe(e){return`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`}function _(e,t){const n=new Map;return e.map(s=>{const r=`${t}-${qe(s.date)}`,o=(n.get(r)??0)+1;return n.set(r,o),{...s,groupKey:o===1?r:`${r}-${o}`}})}function Ge(e,t){if(e.length===0||t.length===0)return e;const n=new Set(t.map(o=>o.id)),s=new Set(t.map(o=>o.appMessageId).filter(o=>typeof o=="string"&&o.length>0)),r=e.filter(o=>!n.has(o.id)&&!(typeof o.appMessageId=="string"&&o.appMessageId.length>0&&s.has(o.appMessageId)));return r.length===e.length?e:r}function jt(e,t,n){if(e=Ge(e,t),e.length===0)return{groups:w(t),gapBeforeGroupIndex:null};if(!n)return{groups:_(w([...e,...t]),"d"),gapBeforeGroupIndex:null};const s=_(w(e),"h"),r=_(w(t),"t");return{groups:[...s,...r],gapBeforeGroupIndex:s.length}}function zt(e){const{scrollTop:t,threshold:n,fetching:s,exhausted:r,historyCount:o,tailCount:a,tailTruncated:i,totalMessages:u,spacerAbove:l=0}=e;return t>n+l||s||r?!1:o>0||i||u>a+o}const Qt=300;function Yt(e){const{fetching:t,chainEvaluationPending:n,visible:s,hideArmed:r}=e;return t||n?s&&!r?"none":"show":s&&!r?"arm-hide":"none"}const B=24,Ke=320;function E(e){return Number.isFinite(e)?Math.min(Ke,Math.max(B,e)):B}const je=.2,ze=.12;function Qe(e,t,n=je){const s=E(t);return e===null||!Number.isFinite(e)?s:e+n*(s-e)}function Xt(e,t){const n=E(t??Number.NaN);return{above:Math.round(Math.max(0,e.above)*n),below:Math.round(Math.max(0,e.below)*n)}}function Jt(e){const{totalMessages:t,residentCount:n,exhausted:s,residentContentHeight:r,currentSpacerHeight:o,viewportHeight:a}=e;let i=e.rowHeightEma;n>0&&r>0&&(i=Qe(i,r/n));const u=e.unloadedRows??t-n,m=s||t<=0||n<=0||u<=0||i===null?0:Math.round(u*i),d=Math.abs(m-o);return d===0?{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}:m===0||o===0||d>o*ze||a>0&&d>a?{spacerHeight:m,rowHeightEma:i,applied:!0,scrollTopDelta:m-o}:{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}}const Ye=_e,Xe=2;function Zt(e){const{scrollTop:t,spacerAboveHeight:n,rowHeightEstimate:s,pageSize:r=Ye,nearPages:o=Xe}=e;if(n<=0||t>=n)return"serial";const a=E(s??Number.NaN);return(n-Math.max(0,t))/a>o*r?"seek":"serial"}const G=200,Je=1;function en(e,t,n=G){const s=t.timestamp-n;return[...e.filter(r=>r.timestamp>=s),t]}function tn(e){const{samples:t,viewportHeight:n,windowMs:s=G,viewportFactor:r=Je}=e;if(n<=0||t.length<2)return"gentle";const o=t[t.length-1].timestamp-s,a=t.filter(u=>u.timestamp>=o);if(a.length<2)return"gentle";let i=0;for(let u=1;u<a.length;u+=1)i+=Math.abs(a[u].scrollTop-a[u-1].scrollTop);return i>n*r?"rapid":"gentle"}function nn(e){const{scrollTop:t,spacerAboveHeight:n,unloadedRowsAbove:s}=e;if(s<=0||n<=0)return 0;const r=Math.min(1,Math.max(0,t/n));return Math.min(s-1,Math.max(0,Math.floor(r*s)))}function sn(e){const{totalMessages:t,residentCount:n,exhausted:s,startOrdinalEstimate:r,gapToTail:o}=e,a=Math.max(0,t-n);if(a===0)return{above:0,below:0};if(!o)return{above:s?0:a,below:0};if(s)return{above:0,below:a};if(r!==null){const u=Math.min(a,Math.max(0,Math.round(r)));return{above:u,below:a-u}}const i=Math.min(a,Math.max(0,Math.round(e.holeRowsEstimate??0)));return{above:a-i,below:i}}function rn(e){const{exhausted:t,historyCount:n,tailCount:s,tailTruncated:r,totalMessages:o}=e;return t?!0:n>0?!1:!r&&o<=s}const K=new Map;function j(e,t){return`${e}\0${t}`}function on(e,t){return K.get(j(e,t))}function an(e,t,n){K.set(j(e,t),n)}const un=c.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.userMessageIndexes,n):void 0}),cn=c.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.retryAgents,n):void 0});function Ze(e){e=Math.max(0,e);const t=Math.floor(e/1e3);if(t<10){const o=e/1e3,a=o.toFixed(1);return a.endsWith(".0")?`${Math.round(o)}s`:`${a}s`}if(t<60)return`${t}s`;const n=Math.floor(t/3600),s=Math.floor(t%3600/60),r=t%60;return n>0?`${n}h ${s}m ${r}s`:`${s}m ${r}s`}function ln(e){return Ze(Math.max(1e3,Math.round(e/1e3)*1e3))}const et=new Set(["launch","init","session-create","session-load","prompt"]),tt=new Set(["tool-call","tool-waiting"]);function nt(e){let t=null;for(const n of e)(!t||n.timestamp>=t.timestamp)&&(t=n);return t}function dn(e){return e&&et.has(e)?"pulse":e&&tt.has(e)?"twist":"bloom"}const z="stalled";function fn(e,t){const n=nt(e);return!n||n.phase!==z||typeof t=="number"&&t>n.timestamp?null:n}function mn(e){let t=null;for(const n of e)n.phase!==z&&(!t||n.timestamp>=t.timestamp)&&(t=n);return t}const O={get title(){return S.chat_streamingStatus_sessionCorrupted_title()},get message(){return S.chat_streamingStatus_sessionCorrupted_message()}};function pn(e,t){return e?t===!0?{corrupted:!0,title:O.title,message:O.message,detail:e}:{corrupted:!1,title:S.chat_streamingStatus_responseFailed_label(),message:e,detail:null}:null}const gn=c.createSelector((e,t)=>e.unreadTracking.dividerSessionByAgentId[t]??null),hn=c.createSelector(e=>e.unreadTracking.currentlyViewedAgentId),Sn=c.createSelector(e=>{const t=[];for(const o of Object.values(e.panelLayout.byWorkspaceId))for(const a of Object.values(o.panels))for(const i of a.tabs)i.type==="agent"&&i.agentId&&t.push(i.agentId);const n=Object.keys(e.unreadTracking.dividerSessionByAgentId),s=new Set(e.agentSessions.agentIdsByWorkspace[pe]??[]);return{chiefCardVisible:e.sidebarNav.panelItem==="chief",chiefSessionAgentIds:n.filter(o=>s.has(o)),dividerSessionAgentIds:n,openAgentTabIds:t}}),yn=c.createSelector((e,t)=>f(e.questionUi.consumers,t)),st=3e4,b=new Map;function An(e,t){const n=b.get(e);n&&clearTimeout(n.timer);const s=setTimeout(()=>b.delete(e),st);b.set(e,{value:t,timer:s})}function bn(e){const t=b.get(e);if(t)return clearTimeout(t.timer),b.delete(e),t.value}const Q=c.createSelector((e,t,n)=>e.agentWorkers?.byKey[he(t,n)]??ge),rt=c.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="unsupported"?[]:(s.snapshot?.workers??[]).filter(r=>r.status==="running"||r.status==="unknown")}),Mn=c.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="failed"?!0:s.status!=="ready"||!s.snapshot?!1:s.snapshot.truncated?!0:s.snapshot.support.status!=="supported"&&rt.select(e,t,n).length>0}),ot=1e3,Y={requireViewedAndFocused:!0,requireAssistantTail:!0},M=new Map,g=new Map;let A=null;function L(e){(e===void 0||A===e)&&(A=null)}const at=200;function it(e,t){if(g.delete(e),g.set(e,t),g.size>at){const n=g.keys().next().value;n!==void 0&&g.delete(n)}}function X(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(!n.isStreaming&&typeof n.id=="string"&&n.id.length>0)return n}return null}function wn(e){return X(e)?.id??null}function In(e){x(e,{requireViewedAndFocused:!0})}function _n(e){x(e,{requireViewedAndFocused:!1})}function Cn(e){L(),x(e,Y)}function vn(e){A===e&&(M.has(e)||(A=null,P(e,Y)))}function Tn(e){for(const t of e)typeof t!="string"||t.length===0||(J(t),L(t),P(t,{requireViewedAndFocused:!1}))}function J(e){const t=M.get(e);t&&(clearTimeout(t.timer),M.delete(e))}function x(e,t){J(e),L(e);const n=setTimeout(()=>{M.delete(e),P(e,t)},ot);M.set(e,{timer:n,gates:t})}let U=null;function ut(){return U??=Promise.all([v(()=>import("./CAZb3-k9.js"),__vite__mapDeps([25,17,18,3,19,20,13,5,8,2,11,26,27]),import.meta.url),v(()=>import("./4tDE6wja.js").then(e=>e.X),__vite__mapDeps([28,29,18,3,17,19,20,13,5,8,2,11,7,4,6,9,10,12,14,30,31,32]),import.meta.url)]).then(([e,t])=>({appStore:e.store,appClient:t.appClient})),U}async function P(e,t){let n=null;try{const{appStore:s,appClient:r}=await ut(),o=s.state;if(t.requireViewedAndFocused&&(o.unreadTracking?.currentlyViewedAgentId!==e||typeof document<"u"&&!document.hasFocus()))return;const a=o.agentSessions?.byAgentId[e];if(!a)return;const i=typeof a.workspaceId=="string"?a.workspaceId:"";if(i.length===0)return;if(t.requireAssistantTail&&o.chatState?.byAgentId[e]?.initialHistoryPending){A=e;return}const u=X(a.messages??[]);if(!u){t.requireAssistantTail&&(A=e);return}if(t.requireAssistantTail&&u.role!=="assistant")return;const l=u.id;if(g.get(e)===l)return;it(e,l),n=l,!(await r.agents.markSeen({workspaceId:i,agentId:e,messageId:l})).success&&g.get(e)===n&&g.delete(e)}catch{n!==null&&g.get(e)===n&&g.delete(e)}}const I=new Map;function Z(e,t){return`${e}\0${t}`}function Rn(e,t){return I.get(Z(e,t))}function $n(e,t,n){I.set(Z(e,t),n)}function kn(e){if(e.length===0)return;const t=new Set(e);for(const n of[...I.keys()]){const s=n.slice(n.indexOf("\0")+1);t.has(s)&&I.delete(n)}}export{xt as $,Et as A,Lt as B,Kt as C,rn as D,Ct as E,nn as F,Tn as G,Pe as H,vn as I,In as J,_n as K,Cn as L,ot as M,wn as N,Qt as O,Yt as P,vt as Q,G as R,kt as S,xe as T,wt as U,B as V,Oe as W,Tt as X,Jt as Y,$t as Z,L as _,Rt as a,It as a0,Xt as a1,rt as a2,Q as a3,Mn as a4,Pt as a5,hn as a6,Sn as a7,gn as a8,Nt as a9,Ft as aa,Vt as ab,Wt as ac,q as ad,yn as ae,cn as af,un as ag,$n as ah,an as ai,zt as aj,Ut as ak,sn as al,An as am,Be as an,bn as ao,R as b,en as c,bt as d,Mt as e,Gt as f,Ee as g,_t as h,tn as i,Zt as j,kn as k,Ot as l,jt as m,pn as n,Bt as o,Ge as p,ke as q,ln as r,qt as s,fn as t,Rn as u,on as v,Dt as w,Ht as x,mn as y,dn as z};
|
|
8
|
+
`),e)}function wt(e,t,n){if(e==="suggested-prompt")return{fields:{},hasAttachments:!1,cleanup:{clearInput:!1,followBottom:!0,historyText:null}};const s=n(),{imageBlocks:r,fileBlocks:o}=ke(s.contextItems);return{fields:{contextItems:s.contextItems,workspaceContextStr:Ee(s.contextItems,s.checkedPanels,s.checkedSelections),noteIds:s.noteIds,...r.length>0?{imageBlocks:r}:{},...o.length>0?{fileBlocks:o}:{},...s.pickedMentions?{messageMetadata:s.pickedMentions}:{}},hasAttachments:r.length>0||o.length>0,cleanup:{clearInput:!0,followBottom:!0,historyText:t}}}function It(e,t){if(e)return e.model}function Le({messages:e,pendingInitialPrompt:t,pendingContextReferenceCount:n=0}){return e.length>0||!!t||n>0}function _t({session:e,messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s=0}){return!(e?te(e):!1)&&!Le({messages:t,pendingInitialPrompt:n,pendingContextReferenceCount:s})}function Ct(e){return ne(e.messageMetadata)}function vt(e,t){const n=new Set;for(const s of t){const r=se(s.metadata);r&&n.add(r)}return n.size===0?[...e]:e.filter(s=>!n.has(s.id))}function xe(e){return{id:e.id,appMessageId:e.appMessageId,role:"user",timestamp:new Date(e.createdAt??0).toISOString(),contentBlocks:[...e.content?[{type:"text",text:e.content}]:[],...e.imageBlocks??[],...e.fileBlocks??[]],metadata:e.messageMetadata,...e.author!==void 0?{author:e.author}:{}}}function Tt(e){return xe({...e,createdAt:Date.parse(e.queuedAt)})}const Pe="chat-read:",y=new Map,T=new Set;function Rt(e,t){let n=y.get(e);n||(n=new Set,y.set(e,n)),n.add(t)}function $t(e,t){const n=y.get(e);if(!(!n||!n.delete(t))&&n.size===0){y.delete(e);for(const s of[...T])s(e)}}function kt(e){return T.add(e),()=>T.delete(e)}function Et(e){return y.has(e)}function Lt(e){const t=y.get(e);if(!t)return!1;for(const n of t)if(!n.startsWith(Pe))return!0;return!1}function De(e,t,n){const s=e.state.pendingSubmissions.byAgentId[t.agentId];if(!s||!V(s.scope,t))return null;const r={...structuredClone(n),id:crypto.randomUUID(),createdAt:Date.now()};e.dispatch(ce(t,r));const o=e.state.pendingSubmissions.byAgentId[t.agentId];return o&&f(o.submissions,r.id)?r:null}function He(e,t,n,s,r){const o=D.select(e.state,n),a=C.select(e.state)?.principal.id,i=H(e.state);if(!o||!a||!i)return null;const u=ye(t,n),l={agentId:t,workspaceId:n,principalId:a,participation:o,authority:i,owner:u.key,lifetime:e.state.pendingSubmissions.byAgentId[t]?.scope.lifetime??crypto.randomUUID()},m=()=>u.isCurrent(e.state.agentSessions?.byAgentId[t]?.workspaceId)&&D.select(e.state,n)===o&&C.select(e.state)?.principal.id===a&&H(e.state)===i;if(!m())return null;e.dispatch(ue(l,s,re.select(e.state,n)));const d=De(e,l,r);return d?{scope:l,submission:d,isCurrent:()=>{const h=e.state.pendingSubmissions.byAgentId[t];return m()&&!!h&&V(h.scope,l)&&(!!f(h.operations,d.id)||!!f(h.submissions,d.id))}}:null}function R(e,t,n){if(!n.text.trim()&&!n.imageBlocks?.length&&!n.fileBlocks?.length)return null;const s=n.userAppMessageId??Ae();return He(e,t,n.wsId,C.select(e.state)?.capabilities.submissionCorrelation,{content:n.text.trim(),appMessageId:s,destination:!n.forceSubmit&&oe.select(e.state,t)?"queue":"conversation",contextItems:n.contextItems,imageBlocks:n.imageBlocks,fileBlocks:n.fileBlocks,messageMetadata:n.messageMetadata})}function Be(e,t,n){const s=R(e,t,n);return s?(e.dispatch(F(t,{...n,userAppMessageId:s.submission.appMessageId,submission:{scope:s.scope,id:s.submission.id}})),!0):!1}async function Oe(e,t,n,s){const r=n.submission;if(!r)return"legacy";const o=r.reference,a=()=>o.scope.agentId===e&&o.scope.workspaceId===t&&N.select(c.state,e)===n?Se.select(c.state,o.scope):void 0,i=a();if(!i)return null;if(!i.supported)return"legacy";const u={wsId:t,text:n.text,imageBlocks:n.options?.imageBlocks,fileBlocks:n.options?.fileBlocks,noteIds:n.options?.noteIds,messageMetadata:n.options?.messageMetadata,model:s??n.options?.model};if(r.outcome==="rejected"){const p=f(i.tombstones,o.id);return f(i.submissions,o.id)||p&&p.reason!=="rejected"?null:R(c,e,u)}if(r.outcome==="accepted")return R(c,e,u);await Promise.all([be(e,t).catch(()=>{}),Me(e,t).catch(()=>{})]);const l=a();if(!l||f(l.submissions,o.id)?.status!=="uncertain")return null;const{notify:m}=await v(async()=>{const{notify:p}=await import("./PTBua5Xh.js").then(ee=>ee.i);return{notify:p}},__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);if(a()!==l)return null;let d=!1;const h=()=>{d=!0};return m.warning(S.agent_chatSend_uncertainRetry_description(),{key:`submission-retry:${t}:${e}:${o.id}`,duration:Number.POSITIVE_INFINITY,action:{label:S.agent_chatSend_resend_label(),onClick:()=>{if(d)return;d=!0;const p=a();!p||p.generation!==l.generation||p.submissions!==l.submissions||p.observationVersion!==l.observationVersion||f(p.submissions,o.id)?.status!=="uncertain"||Be(c,e,u)}},cancel:{label:S.chat_richInput_cancel_label(),onClick:h},onDismiss:h}),null}async function xt(e,t,n){const s=N.select(c.state,e),r=s?.submission?await Oe(e,t,s,n):"legacy";if(r){if(r==="legacy"){await c.dispatch(n===void 0?le(e,t):de(e,t,n));return}!r.isCurrent()||!s||c.dispatch(F(e,{wsId:t,text:s.text,imageBlocks:s.options?.imageBlocks,fileBlocks:s.options?.fileBlocks,noteIds:s.options?.noteIds,messageMetadata:s.options?.messageMetadata,model:n??s.options?.model,userAppMessageId:r.submission.appMessageId,submission:{scope:r.scope,id:r.submission.id}}))}}const Pt=c.createSelector((e,t)=>{const n=f(e.chatDrafts.owners,t);return n?{restore:n.restore,saves:W(n.saves)}:void 0});function Ue(e,t){return t.workspaceId===e&&!t.retiredAt&&!t.pendingDeleteAt&&t.status!==$.Deleted&&!t.notificationsMuted&&me(t)==="topLevel"}function Ne(e){const t=e.metadata?.pendingQuestionsMessageId;return typeof t=="string"&&t.length>0&&!we(e.metadata,t)?t:null}function Ve(e){return e.status===$.Error&&!ae(ie(e))}function Dt(e,t){return t.filter(n=>Ue(e,n)).flatMap(n=>{const s=fe(n),r=Ne(n),o=n.status===$.Error;if(!s&&!r&&!o)return[];const a=s?.timestamp??(o?n.stopReasonTimestamp:void 0);return[{agentId:n.id,agentName:n.name,kind:s?.kind??(o?"failed":"question"),reason:s?.reason,timestamp:a&&Number.isFinite(Date.parse(a))?a:void 0,questionMessageId:r,canRetry:Ve(n)}]})}function Ht(e){return e.displayStatus==="failed"?"failed":e.displayStatus==="blocked"?"blocked":e.attention==="review_required"?"review":e.displayStatus==="needs_attention"?"question":e.activity==="agent_running"||e.displayStatus==="in_progress"?"running":e.scriptsRunning===!0?"scripts_running":e.backgroundTasksRunning===!0?"background_tasks_running":e.displayStatus==="pr_ready"?"pr_ready":e.displayStatus==="pr_merged"?"merged":e.displayStatus==="complete"?"complete":e.attention==="unread"?"unread":e.displayStatus==="pr_open"||e.displayStatus==="pr_queued"?e.displayStatus:"idle"}function Bt(e){const t=e.kind==="prs"?e.organization?.trim().toLowerCase():void 0;return{key:JSON.stringify([e.kind,e.workspaceId,t||null,[...new Set((t?[]:e.repositories).map(n=>JSON.stringify([n.key,n.owner,n.name])))].sort()]),hasGitHubRepositories:!!t||e.repositories.some(n=>!!n.owner),hasLocalRepositories:!t&&e.repositories.some(n=>!n.owner)}}function k(e){const t=Ie(e);if(t?.kind!=="pr"||!Number.isSafeInteger(t.number)||t.number<=0)return null;const n=t.owner.toLowerCase(),s=t.repo.toLowerCase();return{owner:n,repo:s,number:t.number,id:`${n}/${s}#${t.number}`,url:`https://github.com/${n}/${s}/pull/${t.number}`}}function Ot(e,t,n,s){const r=e.filter(o=>s?s.includes(o.id):n?o.repositoryOwner?.toLowerCase()===n.toLowerCase():t.some(a=>a.owner?.toLowerCase()===o.repositoryOwner?.toLowerCase()&&a.name.toLowerCase()===o.repositoryName?.toLowerCase()));return[...new Map(r.flatMap(o=>[...(o.pullRequests??[]).map(a=>a.url),o.activePullRequest?.url,o.prUrl]).flatMap(o=>{const a=o?k(o):null;return a?[[a.id,{owner:a.owner,repo:a.repo,number:a.number}]]:[]})).values()].sort((o,a)=>`${o.owner}/${o.repo}#${o.number}`.localeCompare(`${a.owner}/${a.repo}#${a.number}`))}function Ut(e,t){const[n]=t;return t.length!==1||e.owner?.toLowerCase()!==n?.owner?.toLowerCase()||e.repo?.toLowerCase()!==n?.name.toLowerCase()}const Nt=c.createSelector(e=>e.homeIntegrations),Vt=c.createSelector(e=>{const t=e.homeIntegrations;return!t.linkedItems||!Object.keys(t.linkedItems).length?t:{...t,items:[...new Map([...Object.values(t.linkedItems),...t.items].map(n=>[n.id,n])).values()].sort((n,s)=>(s.updatedAt??"").localeCompare(n.updatedAt??""))}}),q=c.createSelector(e=>W(e.workspace.workspaces).flatMap(t=>[...(t.pullRequests??[]).map(n=>n.url),t.activePullRequest?.url,t.prUrl].filter(n=>!!n).map(n=>({url:k(n)?.url??n.replace(/\/$/,"").toLowerCase(),workspaceId:t.id,name:t.title||t.id})))),Ft=c.createSelector(e=>{const t=e.homeIntegrations.detail?.url,n=t?k(t)?.url??t.replace(/\/$/,"").toLowerCase():void 0;return q.select(e).find(s=>s.url===n)??null}),Wt=c.createSelector(e=>q.select(e).map(t=>t.url));function qt(e){return ve(e)}function Fe(e){return Ce(e)}function We(e,t){return!e||!t?!1:e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function w(e){if(e.length===0)return[];const t=[];let n=null;for(const s of e){const r=s.timestamp?typeof s.timestamp=="string"?new Date(s.timestamp):s.timestamp:new Date;(!n||!We(n.date,r))&&(n={date:r,label:Fe(r),messages:[]},t.push(n)),n.messages.push(s)}return t}function Gt(e){const t=new Map;return e.map(({date:n})=>{const s=`${n.getFullYear()}-${n.getMonth()+1}-${n.getDate()}`,r=t.get(s)??0;return t.set(s,r+1),r===0?s:`${s}#${r}`})}function Kt(e,t){const n=new Map;let s=t?null:void 0;for(const[r,o]of e.groups.entries()){r===e.gapBeforeGroupIndex&&(s=void 0);for(const a of o.messages)s!==void 0&&n.set(a.id,s),a.role==="user"&&!Te(a)&&(s=a)}return n}function qe(e){return`${e.getFullYear()}-${e.getMonth()+1}-${e.getDate()}`}function _(e,t){const n=new Map;return e.map(s=>{const r=`${t}-${qe(s.date)}`,o=(n.get(r)??0)+1;return n.set(r,o),{...s,groupKey:o===1?r:`${r}-${o}`}})}function Ge(e,t){if(e.length===0||t.length===0)return e;const n=new Set(t.map(o=>o.id)),s=new Set(t.map(o=>o.appMessageId).filter(o=>typeof o=="string"&&o.length>0)),r=e.filter(o=>!n.has(o.id)&&!(typeof o.appMessageId=="string"&&o.appMessageId.length>0&&s.has(o.appMessageId)));return r.length===e.length?e:r}function jt(e,t,n){if(e=Ge(e,t),e.length===0)return{groups:w(t),gapBeforeGroupIndex:null};if(!n)return{groups:_(w([...e,...t]),"d"),gapBeforeGroupIndex:null};const s=_(w(e),"h"),r=_(w(t),"t");return{groups:[...s,...r],gapBeforeGroupIndex:s.length}}function zt(e){const{scrollTop:t,threshold:n,fetching:s,exhausted:r,historyCount:o,tailCount:a,tailTruncated:i,totalMessages:u,spacerAbove:l=0}=e;return t>n+l||s||r?!1:o>0||i||u>a+o}const Qt=300;function Yt(e){const{fetching:t,chainEvaluationPending:n,visible:s,hideArmed:r}=e;return t||n?s&&!r?"none":"show":s&&!r?"arm-hide":"none"}const B=24,Ke=320;function E(e){return Number.isFinite(e)?Math.min(Ke,Math.max(B,e)):B}const je=.2,ze=.12;function Qe(e,t,n=je){const s=E(t);return e===null||!Number.isFinite(e)?s:e+n*(s-e)}function Xt(e,t){const n=E(t??Number.NaN);return{above:Math.round(Math.max(0,e.above)*n),below:Math.round(Math.max(0,e.below)*n)}}function Jt(e){const{totalMessages:t,residentCount:n,exhausted:s,residentContentHeight:r,currentSpacerHeight:o,viewportHeight:a}=e;let i=e.rowHeightEma;n>0&&r>0&&(i=Qe(i,r/n));const u=e.unloadedRows??t-n,m=s||t<=0||n<=0||u<=0||i===null?0:Math.round(u*i),d=Math.abs(m-o);return d===0?{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}:m===0||o===0||d>o*ze||a>0&&d>a?{spacerHeight:m,rowHeightEma:i,applied:!0,scrollTopDelta:m-o}:{spacerHeight:o,rowHeightEma:i,applied:!1,scrollTopDelta:0}}const Ye=_e,Xe=2;function Zt(e){const{scrollTop:t,spacerAboveHeight:n,rowHeightEstimate:s,pageSize:r=Ye,nearPages:o=Xe}=e;if(n<=0||t>=n)return"serial";const a=E(s??Number.NaN);return(n-Math.max(0,t))/a>o*r?"seek":"serial"}const G=200,Je=1;function en(e,t,n=G){const s=t.timestamp-n;return[...e.filter(r=>r.timestamp>=s),t]}function tn(e){const{samples:t,viewportHeight:n,windowMs:s=G,viewportFactor:r=Je}=e;if(n<=0||t.length<2)return"gentle";const o=t[t.length-1].timestamp-s,a=t.filter(u=>u.timestamp>=o);if(a.length<2)return"gentle";let i=0;for(let u=1;u<a.length;u+=1)i+=Math.abs(a[u].scrollTop-a[u-1].scrollTop);return i>n*r?"rapid":"gentle"}function nn(e){const{scrollTop:t,spacerAboveHeight:n,unloadedRowsAbove:s}=e;if(s<=0||n<=0)return 0;const r=Math.min(1,Math.max(0,t/n));return Math.min(s-1,Math.max(0,Math.floor(r*s)))}function sn(e){const{totalMessages:t,residentCount:n,exhausted:s,startOrdinalEstimate:r,gapToTail:o}=e,a=Math.max(0,t-n);if(a===0)return{above:0,below:0};if(!o)return{above:s?0:a,below:0};if(s)return{above:0,below:a};if(r!==null){const u=Math.min(a,Math.max(0,Math.round(r)));return{above:u,below:a-u}}const i=Math.min(a,Math.max(0,Math.round(e.holeRowsEstimate??0)));return{above:a-i,below:i}}function rn(e){const{exhausted:t,historyCount:n,tailCount:s,tailTruncated:r,totalMessages:o}=e;return t?!0:n>0?!1:!r&&o<=s}const K=new Map;function j(e,t){return`${e}\0${t}`}function on(e,t){return K.get(j(e,t))}function an(e,t,n){K.set(j(e,t),n)}const un=c.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.userMessageIndexes,n):void 0}),cn=c.createSelector((e,t,n)=>{const s=e.chatPanelUi.byWorkspaceId[t];return s?f(s.retryAgents,n):void 0});function Ze(e){e=Math.max(0,e);const t=Math.floor(e/1e3);if(t<10){const o=e/1e3,a=o.toFixed(1);return a.endsWith(".0")?`${Math.round(o)}s`:`${a}s`}if(t<60)return`${t}s`;const n=Math.floor(t/3600),s=Math.floor(t%3600/60),r=t%60;return n>0?`${n}h ${s}m ${r}s`:`${s}m ${r}s`}function ln(e){return Ze(Math.max(1e3,Math.round(e/1e3)*1e3))}const et=new Set(["launch","init","session-create","session-load","prompt"]),tt=new Set(["tool-call","tool-waiting"]);function nt(e){let t=null;for(const n of e)(!t||n.timestamp>=t.timestamp)&&(t=n);return t}function dn(e){return e&&et.has(e)?"pulse":e&&tt.has(e)?"twist":"bloom"}const z="stalled";function fn(e,t){const n=nt(e);return!n||n.phase!==z||typeof t=="number"&&t>n.timestamp?null:n}function mn(e){let t=null;for(const n of e)n.phase!==z&&(!t||n.timestamp>=t.timestamp)&&(t=n);return t}const O={get title(){return S.chat_streamingStatus_sessionCorrupted_title()},get message(){return S.chat_streamingStatus_sessionCorrupted_message()}};function pn(e,t){return e?t===!0?{corrupted:!0,title:O.title,message:O.message,detail:e}:{corrupted:!1,title:S.chat_streamingStatus_responseFailed_label(),message:e,detail:null}:null}const gn=c.createSelector((e,t)=>e.unreadTracking.dividerSessionByAgentId[t]??null),hn=c.createSelector(e=>e.unreadTracking.currentlyViewedAgentId),Sn=c.createSelector(e=>{const t=[];for(const o of Object.values(e.panelLayout.byWorkspaceId))for(const a of Object.values(o.panels))for(const i of a.tabs)i.type==="agent"&&i.agentId&&t.push(i.agentId);const n=Object.keys(e.unreadTracking.dividerSessionByAgentId),s=new Set(e.agentSessions.agentIdsByWorkspace[pe]??[]);return{chiefCardVisible:e.sidebarNav.panelItem==="chief",chiefSessionAgentIds:n.filter(o=>s.has(o)),dividerSessionAgentIds:n,openAgentTabIds:t}}),yn=c.createSelector((e,t)=>f(e.questionUi.consumers,t)),st=3e4,b=new Map;function An(e,t){const n=b.get(e);n&&clearTimeout(n.timer);const s=setTimeout(()=>b.delete(e),st);b.set(e,{value:t,timer:s})}function bn(e){const t=b.get(e);if(t)return clearTimeout(t.timer),b.delete(e),t.value}const Q=c.createSelector((e,t,n)=>e.agentWorkers?.byKey[he(t,n)]??ge),rt=c.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="unsupported"?[]:(s.snapshot?.workers??[]).filter(r=>r.status==="running"||r.status==="unknown")}),Mn=c.createSelector((e,t,n)=>{const s=Q.select(e,t,n);return s.status==="failed"?!0:s.status!=="ready"||!s.snapshot?!1:s.snapshot.truncated?!0:s.snapshot.support.status!=="supported"&&rt.select(e,t,n).length>0}),ot=1e3,Y={requireViewedAndFocused:!0,requireAssistantTail:!0},M=new Map,g=new Map;let A=null;function L(e){(e===void 0||A===e)&&(A=null)}const at=200;function it(e,t){if(g.delete(e),g.set(e,t),g.size>at){const n=g.keys().next().value;n!==void 0&&g.delete(n)}}function X(e){for(let t=e.length-1;t>=0;t--){const n=e[t];if(!n.isStreaming&&typeof n.id=="string"&&n.id.length>0)return n}return null}function wn(e){return X(e)?.id??null}function In(e){x(e,{requireViewedAndFocused:!0})}function _n(e){x(e,{requireViewedAndFocused:!1})}function Cn(e){L(),x(e,Y)}function vn(e){A===e&&(M.has(e)||(A=null,P(e,Y)))}function Tn(e){for(const t of e)typeof t!="string"||t.length===0||(J(t),L(t),P(t,{requireViewedAndFocused:!1}))}function J(e){const t=M.get(e);t&&(clearTimeout(t.timer),M.delete(e))}function x(e,t){J(e),L(e);const n=setTimeout(()=>{M.delete(e),P(e,t)},ot);M.set(e,{timer:n,gates:t})}let U=null;function ut(){return U??=Promise.all([v(()=>import("./CAZb3-k9.js"),__vite__mapDeps([25,17,18,3,19,20,13,5,8,2,11,26,27]),import.meta.url),v(()=>import("./BqJBJZqA.js").then(e=>e.X),__vite__mapDeps([28,29,18,3,17,19,20,13,5,8,2,11,7,4,6,9,10,12,14,30,31,32]),import.meta.url)]).then(([e,t])=>({appStore:e.store,appClient:t.appClient})),U}async function P(e,t){let n=null;try{const{appStore:s,appClient:r}=await ut(),o=s.state;if(t.requireViewedAndFocused&&(o.unreadTracking?.currentlyViewedAgentId!==e||typeof document<"u"&&!document.hasFocus()))return;const a=o.agentSessions?.byAgentId[e];if(!a)return;const i=typeof a.workspaceId=="string"?a.workspaceId:"";if(i.length===0)return;if(t.requireAssistantTail&&o.chatState?.byAgentId[e]?.initialHistoryPending){A=e;return}const u=X(a.messages??[]);if(!u){t.requireAssistantTail&&(A=e);return}if(t.requireAssistantTail&&u.role!=="assistant")return;const l=u.id;if(g.get(e)===l)return;it(e,l),n=l,!(await r.agents.markSeen({workspaceId:i,agentId:e,messageId:l})).success&&g.get(e)===n&&g.delete(e)}catch{n!==null&&g.get(e)===n&&g.delete(e)}}const I=new Map;function Z(e,t){return`${e}\0${t}`}function Rn(e,t){return I.get(Z(e,t))}function $n(e,t,n){I.set(Z(e,t),n)}function kn(e){if(e.length===0)return;const t=new Set(e);for(const n of[...I.keys()]){const s=n.slice(n.indexOf("\0")+1);t.has(s)&&I.delete(n)}}export{xt as $,Et as A,Lt as B,Kt as C,rn as D,Ct as E,nn as F,Tn as G,Pe as H,vn as I,In as J,_n as K,Cn as L,ot as M,wn as N,Qt as O,Yt as P,vt as Q,G as R,kt as S,xe as T,wt as U,B as V,Oe as W,Tt as X,Jt as Y,$t as Z,L as _,Rt as a,It as a0,Xt as a1,rt as a2,Q as a3,Mn as a4,Pt as a5,hn as a6,Sn as a7,gn as a8,Nt as a9,Ft as aa,Vt as ab,Wt as ac,q as ad,yn as ae,cn as af,un as ag,$n as ah,an as ai,zt as aj,Ut as ak,sn as al,An as am,Be as an,bn as ao,R as b,en as c,bt as d,Mt as e,Gt as f,Ee as g,_t as h,tn as i,Zt as j,kn as k,Ot as l,jt as m,pn as n,Bt as o,Ge as p,ke as q,ln as r,qt as s,fn as t,Rn as u,on as v,Dt as w,Ht as x,mn as y,dn as z};
|