@intent-hq/web 2.343.1 → 2.343.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/assets/0.BtTQsuHZ.css +1 -0
- package/web/app/immutable/assets/DiagramPresentation.C2GLYoBN.css +1 -0
- package/web/app/immutable/chunks/{BsDPTTmM.js → -PfxOD5O.js} +2 -2
- package/web/app/immutable/chunks/{BrNDzmoP.js → -a8kGB-5.js} +1 -1
- package/web/app/immutable/chunks/{r9qRR0z6.js → -v5-bXWK.js} +3 -3
- package/web/app/immutable/chunks/{CJlP-cGG.js → 1VG8gLVS.js} +4 -4
- package/web/app/immutable/chunks/{iGTwwZkZ.js → 4GiF-64P.js} +1 -1
- package/web/app/immutable/chunks/{B5tMdivj.js → 4gxaObsl.js} +2 -2
- package/web/app/immutable/chunks/{DYLHdssA.js → 5a7lyWYQ.js} +1 -1
- package/web/app/immutable/chunks/{DW4-9u0G.js → 84AlJNR3.js} +1 -1
- package/web/app/immutable/chunks/{BvXEM_ru.js → Af7wRQM_.js} +1 -1
- package/web/app/immutable/chunks/{D7Ydchf3.js → B-00FHnf.js} +1 -1
- package/web/app/immutable/chunks/B1ywot0G.js +344 -0
- package/web/app/immutable/chunks/{Cu8zpbs5.js → B2pRmyv7.js} +1 -1
- package/web/app/immutable/chunks/{D_n6c_yZ.js → B461Cu-8.js} +1 -1
- package/web/app/immutable/chunks/{BdI_W2oB.js → B4sr0yPI.js} +1 -1
- package/web/app/immutable/chunks/{ClQaWwZN.js → B5_270cz.js} +1 -1
- package/web/app/immutable/chunks/{BWar5Ve4.js → B7_gjxTl.js} +1 -1
- package/web/app/immutable/chunks/{CGAWDKVf.js → B9qFB97l.js} +1 -1
- package/web/app/immutable/chunks/{CJ557C-o.js → BAR7XkP3.js} +3 -3
- package/web/app/immutable/chunks/BAf7ckig.js +1 -0
- package/web/app/immutable/chunks/{CB2VdHhb.js → BBAp8oIt.js} +1 -1
- package/web/app/immutable/chunks/{BSJHYrig.js → BBC8ZwBc.js} +1 -1
- package/web/app/immutable/chunks/{m1QfmWoj.js → BBKQVY9d.js} +1 -1
- package/web/app/immutable/chunks/{C3Z0swGN.js → BBlRLBe7.js} +1 -1
- package/web/app/immutable/chunks/{DMte7IXf.js → BCQ-e5LR.js} +1 -1
- package/web/app/immutable/chunks/{N8Bwwvnf.js → BCXwgWax.js} +1 -1
- package/web/app/immutable/chunks/{kae1oT68.js → BCmtMsc3.js} +1 -1
- package/web/app/immutable/chunks/{DoWkfKYp.js → BDo7DlDu.js} +1 -1
- package/web/app/immutable/chunks/{D7rZCWdO.js → BFqED1Hh.js} +1 -1
- package/web/app/immutable/chunks/{Cx2Zr_EY.js → BHt8CzB9.js} +1 -1
- package/web/app/immutable/chunks/{kIGC16c9.js → BIY2S7K4.js} +1 -1
- package/web/app/immutable/chunks/{_wUGU0fc.js → BJJ1m47o.js} +1 -1
- package/web/app/immutable/chunks/{uXJ_E75I.js → BJO4jUAG.js} +1 -1
- package/web/app/immutable/chunks/{BOTuR8YM.js → BM1KP-FJ.js} +1 -1
- package/web/app/immutable/chunks/{L-Y-TBRM.js → BMQaU_PE.js} +1 -1
- package/web/app/immutable/chunks/{Dogvf-Iu.js → BQAjCr1w.js} +1 -1
- package/web/app/immutable/chunks/{C4omy0Us.js → BRhVB6Sv.js} +1 -1
- package/web/app/immutable/chunks/{wiuyjoXz.js → BUY1W-f0.js} +1 -1
- package/web/app/immutable/chunks/{DM_Dhcp5.js → BXTPVho9.js} +2 -2
- package/web/app/immutable/chunks/{C_AhBHEv.js → BYgJjg0e.js} +1 -1
- package/web/app/immutable/chunks/{v2vpkl1z.js → B_a_b8VS.js} +1 -1
- package/web/app/immutable/chunks/{CQLYGyEz.js → B_frQYKx.js} +1 -1
- package/web/app/immutable/chunks/{CrUW7uHI.js → BgN4cuBh.js} +1 -1
- package/web/app/immutable/chunks/{BfIFD0ql.js → BgzyvwGo.js} +1 -1
- package/web/app/immutable/chunks/{U7UFkZSE.js → BiVahgoJ.js} +1 -1
- package/web/app/immutable/chunks/{BgEFdEVh.js → BjcX_fOv.js} +1 -1
- package/web/app/immutable/chunks/{B70m4__L.js → BjnZ1Xf3.js} +2 -2
- package/web/app/immutable/chunks/{C1fHwcnr.js → Bk2hJ8Ly.js} +1 -1
- package/web/app/immutable/chunks/{BGvipfx2.js → BmB6-2Ft.js} +1 -1
- package/web/app/immutable/chunks/{CFK6lvfY.js → BnZdkxbc.js} +1 -1
- package/web/app/immutable/chunks/{I0uVE7V8.js → BnrnoFjd.js} +1 -1
- package/web/app/immutable/chunks/{BtXKsHf_.js → Bs3KgIll.js} +1 -1
- package/web/app/immutable/chunks/{BsjKNm-k.js → Bv5I7YDM.js} +1 -1
- package/web/app/immutable/chunks/{DbnF6Yok.js → Bwjn3GNi.js} +1 -1
- package/web/app/immutable/chunks/{Bka1VG1N.js → BxQzYe9E.js} +1 -1
- package/web/app/immutable/chunks/{Dlo7xxGg.js → By0eqGj-.js} +1 -1
- package/web/app/immutable/chunks/{AzBoScJz.js → ByiJOZiZ.js} +1 -1
- package/web/app/immutable/chunks/{BAyUfXYZ.js → Bzblbh-D.js} +1 -1
- package/web/app/immutable/chunks/{DuHksFog.js → C-s9_soQ.js} +1 -1
- package/web/app/immutable/chunks/{BqkRycEV.js → C0g2TqGQ.js} +1 -1
- package/web/app/immutable/chunks/{Ci-yONgL.js → C0v3RBBR.js} +1 -1
- package/web/app/immutable/chunks/{35fhULrG.js → C1h34H4x.js} +1 -1
- package/web/app/immutable/chunks/C2V9igbA.js +1 -0
- package/web/app/immutable/chunks/{BP2y3sRZ.js → C3bwGgmD.js} +1 -1
- package/web/app/immutable/chunks/{CHylN0y-.js → C4Jo6GXP.js} +1 -1
- package/web/app/immutable/chunks/{BXXxFrPj.js → C8j358_U.js} +1 -1
- package/web/app/immutable/chunks/{BoX75a7M.js → C91dOInA.js} +1 -1
- package/web/app/immutable/chunks/{CZt5ZBg4.js → CBnORL1F.js} +3 -3
- package/web/app/immutable/chunks/{DoNhrjWd.js → CD6GiPmw.js} +1 -1
- package/web/app/immutable/chunks/{CfJdaoIE.js → CDFRnJ8k.js} +1 -1
- package/web/app/immutable/chunks/{B0IMKrn3.js → CERb2-2E.js} +1 -1
- package/web/app/immutable/chunks/{C2Rkb1O5.js → CHFUz5Rr.js} +1 -1
- package/web/app/immutable/chunks/{CXHfGIt6.js → CHGTw2Bl.js} +1 -1
- package/web/app/immutable/chunks/{DHTa3FGv.js → CHhGO97x.js} +1 -1
- package/web/app/immutable/chunks/{C4Ninryq.js → CInXeVe5.js} +1 -1
- package/web/app/immutable/chunks/{DIL0XcL6.js → CMO4ot9F.js} +1 -1
- package/web/app/immutable/chunks/{BIGnKucK.js → CMQoXdpQ.js} +1 -1
- package/web/app/immutable/chunks/{ZN-mesLP.js → CN6xxeS_.js} +1 -1
- package/web/app/immutable/chunks/{BmmYJ5hU.js → CNsCzECr.js} +1 -1
- package/web/app/immutable/chunks/{C2NHyJHV.js → CSveVSnU.js} +1 -1
- package/web/app/immutable/chunks/{DJL0zbbT.js → CUp3pS17.js} +1 -1
- package/web/app/immutable/chunks/{D0TlsaAe.js → CVBmzjKd.js} +1 -1
- package/web/app/immutable/chunks/{DFkJzID4.js → CVc7LcaQ.js} +3 -3
- package/web/app/immutable/chunks/{DtxfuyBv.js → CWIcIgSm.js} +1 -1
- package/web/app/immutable/chunks/{DZiSQoCc.js → CXm95Q2a.js} +1 -1
- package/web/app/immutable/chunks/{CBq9ao8v.js → CZNjFz9H.js} +1 -1
- package/web/app/immutable/chunks/{CVEBue1Q.js → CbeK0M7M.js} +1 -1
- package/web/app/immutable/chunks/{Bgfnbjb4.js → CdN2Ihv_.js} +1 -1
- package/web/app/immutable/chunks/{D-2cdK33.js → CdqlgErf.js} +1 -1
- package/web/app/immutable/chunks/{DtVlaWMd.js → Cdx0eFWC.js} +1 -1
- package/web/app/immutable/chunks/{BaA_OrGq.js → CeizKDc4.js} +1 -1
- package/web/app/immutable/chunks/{DDaNHu84.js → CfPxdWJl.js} +1 -1
- package/web/app/immutable/chunks/{rPOaqvb6.js → Cftldgk7.js} +1 -1
- package/web/app/immutable/chunks/{1JAPG9y2.js → Cgm3wI9t.js} +1 -1
- package/web/app/immutable/chunks/{BjGmqNpS.js → CiTK-_b6.js} +1 -1
- package/web/app/immutable/chunks/{CnZcDXmL.js → CicdOSYm.js} +2 -2
- package/web/app/immutable/chunks/{Ptn6pOdb.js → Ciqm_fPa.js} +1 -1
- package/web/app/immutable/chunks/{CAHBBl9S.js → CjXLe_MO.js} +1 -1
- package/web/app/immutable/chunks/{C-DRfJcG.js → CjZIABEV.js} +1 -1
- package/web/app/immutable/chunks/{BayXe-e8.js → CjtYlgpc.js} +1 -1
- package/web/app/immutable/chunks/{w-1KkHyd.js → ClTZNeVO.js} +1 -1
- package/web/app/immutable/chunks/{BHekbKzn.js → CmSDhJgU.js} +1 -1
- package/web/app/immutable/chunks/{DwXYzqBQ.js → Cn19T3na.js} +1 -1
- package/web/app/immutable/chunks/{DrI6m-rY.js → Cn3xolhp.js} +1 -1
- package/web/app/immutable/chunks/{BpQOBsoR.js → CnJe4S2a.js} +1 -1
- package/web/app/immutable/chunks/{DwZUZouP.js → CpWbjqtx.js} +1 -1
- package/web/app/immutable/chunks/{DGznsmsL.js → CpXorioa.js} +1 -1
- package/web/app/immutable/chunks/{9kqz7dDm.js → Ct-2wSQ6.js} +1 -1
- package/web/app/immutable/chunks/{BXNFvqQr.js → CuXCq1os.js} +3 -3
- package/web/app/immutable/chunks/{BrU4OT9R.js → CusCKZ30.js} +2 -2
- package/web/app/immutable/chunks/{CVGmnzrp.js → CvmMeam2.js} +1 -1
- package/web/app/immutable/chunks/{C76q11mm.js → CwRpBR2e.js} +1 -1
- package/web/app/immutable/chunks/{CIwcmzpw.js → CxLPEkg7.js} +1 -1
- package/web/app/immutable/chunks/{BUUgD57b.js → CyGN0Rwg.js} +1 -1
- package/web/app/immutable/chunks/{QoUsFhvz.js → CzQCBVm9.js} +1 -1
- package/web/app/immutable/chunks/{D58P1mNO.js → Czmjmrib.js} +1 -1
- package/web/app/immutable/chunks/{BziNoOeQ.js → Czqd0ZZn.js} +1 -1
- package/web/app/immutable/chunks/{_0BFM6IU.js → D-aNPvuh.js} +2 -2
- package/web/app/immutable/chunks/{Bdd_Up9A.js → D0GCx3sO.js} +1 -1
- package/web/app/immutable/chunks/{DFq9n5nW.js → D2Ntkwf_.js} +1 -1
- package/web/app/immutable/chunks/D2pPI0H2.js +12 -0
- package/web/app/immutable/chunks/{atiG7mlf.js → D60l1rCk.js} +2 -2
- package/web/app/immutable/chunks/{DohG5a1a.js → D7QiNhGR.js} +1 -1
- package/web/app/immutable/chunks/{BHxqvJ6p.js → D89Fvz2g.js} +1 -1
- package/web/app/immutable/chunks/{DarHRPPY.js → D8gunWV0.js} +2 -2
- package/web/app/immutable/chunks/{COjSVIHG.js → D8lUkQ-B.js} +1 -1
- package/web/app/immutable/chunks/{CIR7skK5.js → D9ajM8uP.js} +1 -1
- package/web/app/immutable/chunks/{0sFbw5Xt.js → DAYo95RN.js} +1 -1
- package/web/app/immutable/chunks/{Bhmm0Csf.js → DHP1DFPI.js} +1 -1
- package/web/app/immutable/chunks/{Cvz-9_40.js → DIumxlqP.js} +1 -1
- package/web/app/immutable/chunks/{CeNWJyWT.js → DIyuJ_GU.js} +1 -1
- package/web/app/immutable/chunks/{DEipLocY.js → DJuVbNrB.js} +1 -1
- package/web/app/immutable/chunks/{CIQcnDuR.js → DOqpTP8b.js} +1 -1
- package/web/app/immutable/chunks/{DjI8eVMr.js → DPBk4F6a.js} +45 -45
- package/web/app/immutable/chunks/DQJminLw.js +1 -0
- package/web/app/immutable/chunks/{WQOeAOAl.js → DQR5oUDY.js} +1 -1
- package/web/app/immutable/chunks/{C-3x67fn.js → DRSdBoB7.js} +2 -2
- package/web/app/immutable/chunks/{HZ3QrylZ.js → DSnERXrp.js} +1 -1
- package/web/app/immutable/chunks/{Dp7jUSi9.js → DU0nfy_y.js} +1 -1
- package/web/app/immutable/chunks/{DxMdBYgz.js → DV6k5cHH.js} +1 -1
- package/web/app/immutable/chunks/{CCv3Lx_U.js → DVH2puba.js} +1 -1
- package/web/app/immutable/chunks/{DbboHfqH.js → DVN2Xze9.js} +1 -1
- package/web/app/immutable/chunks/{D2hN829h.js → DVYqzV0n.js} +1 -1
- package/web/app/immutable/chunks/{X4cuG_zB.js → DWiPdXwB.js} +1 -1
- package/web/app/immutable/chunks/{CepAUbyM.js → DXozNEH9.js} +1 -1
- package/web/app/immutable/chunks/{DRp_Nj0f.js → DaaneYTG.js} +1 -1
- package/web/app/immutable/chunks/{BaEEaJBP.js → Dab1wvUg.js} +1 -1
- package/web/app/immutable/chunks/{CsjdKc-0.js → DbNMpEC8.js} +1 -1
- package/web/app/immutable/chunks/{Dyc_CyAW.js → DdjlRG5U.js} +1 -1
- package/web/app/immutable/chunks/{Ci9pTyYA.js → DiAIgif8.js} +1 -1
- package/web/app/immutable/chunks/{DZGCpHpr.js → Djb279-4.js} +1 -1
- package/web/app/immutable/chunks/{CC401ReW.js → Dkh7OUxN.js} +1 -1
- package/web/app/immutable/chunks/{CDFewoTI.js → DnTKe3X-.js} +1 -1
- package/web/app/immutable/chunks/{wJj3WeBH.js → DrtMUjoh.js} +2 -2
- package/web/app/immutable/chunks/{BIqsMOOo.js → DuG2OZjB.js} +1 -1
- package/web/app/immutable/chunks/{BpLC2eO9.js → DuIazAmY.js} +1 -1
- package/web/app/immutable/chunks/{Dv_vjHi2.js → DxztdKvh.js} +1 -1
- package/web/app/immutable/chunks/FQr_NSnS.js +1 -0
- package/web/app/immutable/chunks/{p3CrvZe2.js → GVckKXJ5.js} +1 -1
- package/web/app/immutable/chunks/{DTVdw8r4.js → HLKPZgVy.js} +1 -1
- package/web/app/immutable/chunks/{z5uPT3dt.js → JTj2pw56.js} +1 -1
- package/web/app/immutable/chunks/{B422XfSt.js → KJX0Kw6L.js} +3 -3
- package/web/app/immutable/chunks/{D2waAEN7.js → L30ES58t.js} +1 -1
- package/web/app/immutable/chunks/{DA06uG-a.js → L_S2h6Yw.js} +1 -1
- package/web/app/immutable/chunks/{DJ0uFT5X.js → MZ6PO-qe.js} +1 -1
- package/web/app/immutable/chunks/{G8V-Z8rX.js → MgErAKgQ.js} +2 -2
- package/web/app/immutable/chunks/{Bc5tOdcb.js → NnMVp6ZM.js} +1 -1
- package/web/app/immutable/chunks/{CckzaWai.js → O6f99o2k.js} +1 -1
- package/web/app/immutable/chunks/{DySlMfKo.js → PDh5csw9.js} +1 -1
- package/web/app/immutable/chunks/{OrocR3hK.js → Pat1u3oY.js} +1 -1
- package/web/app/immutable/chunks/{TvbL6LZd.js → R9ODE8FL.js} +3 -3
- package/web/app/immutable/chunks/{DnouH0RQ.js → SrezSe0o.js} +1 -1
- package/web/app/immutable/chunks/{BPPRSM7X.js → SxNmK2GR.js} +3 -3
- package/web/app/immutable/chunks/{DWcJHqWX.js → TsEB3aw-.js} +1 -1
- package/web/app/immutable/chunks/{BYONj21e.js → ViWKv_qM.js} +1 -1
- package/web/app/immutable/chunks/{CHVKhAgJ.js → Wsz69q6g.js} +1 -1
- package/web/app/immutable/chunks/{BIIYAsFZ.js → WvxOnEzW.js} +4 -4
- package/web/app/immutable/chunks/{DJh_DDe7.js → XkS41G1k.js} +1 -1
- package/web/app/immutable/chunks/{CCaHJZV8.js → XvLHDIL-.js} +1 -1
- package/web/app/immutable/chunks/{Dnv7wJSL.js → ZjzfSXHu.js} +1 -1
- package/web/app/immutable/chunks/{DpjBemXH.js → _RGinDCt.js} +1 -1
- package/web/app/immutable/chunks/{DyhEd_D5.js → a1r6BT-e.js} +1 -1
- package/web/app/immutable/chunks/{Ae-1QeEg.js → b-gQtgOb.js} +4 -4
- package/web/app/immutable/chunks/{juKvR8YJ.js → blPVVvA0.js} +4 -4
- package/web/app/immutable/chunks/{D__c4Yl1.js → d_IAf8cB.js} +1 -1
- package/web/app/immutable/chunks/{CgFIU5ie.js → fCEIPyv5.js} +1 -1
- package/web/app/immutable/chunks/{C2uZ_VhE.js → gsElU_36.js} +1 -1
- package/web/app/immutable/chunks/{BznnhLs6.js → htyZQ7p9.js} +1 -1
- package/web/app/immutable/chunks/{v2YVbizz.js → iMyDpxOV.js} +1 -1
- package/web/app/immutable/chunks/{CgdsufvB.js → ihu83Gf7.js} +1 -1
- package/web/app/immutable/chunks/{DXw-WTZY.js → ivrPoCwd.js} +1 -1
- package/web/app/immutable/chunks/{51PCa81S.js → juUcLrve.js} +1 -1
- package/web/app/immutable/chunks/kHCC2X2-.js +1 -0
- package/web/app/immutable/chunks/{JIxwOKX_.js → lsICrwNh.js} +1 -1
- package/web/app/immutable/chunks/{BSDp34Kf.js → n5fDR6Ys.js} +1 -1
- package/web/app/immutable/chunks/{BytoSt_Z.js → nM9_StK8.js} +1 -1
- package/web/app/immutable/chunks/{DtbQslHZ.js → oYQw_s1S.js} +1 -1
- package/web/app/immutable/chunks/{nlN0b4Kg.js → ozzjQyCh.js} +1 -1
- package/web/app/immutable/chunks/{Bx3b0rPd.js → qdwxdMJ_.js} +1 -1
- package/web/app/immutable/chunks/{DMXJ8RT1.js → quYX3pdL.js} +1 -1
- package/web/app/immutable/chunks/{BANxp4gx.js → rElTuGMj.js} +1 -1
- package/web/app/immutable/chunks/{OmpkRRYb.js → tHDPdTwr.js} +1 -1
- package/web/app/immutable/chunks/{D8eBy-8s.js → uI0ZG7MM.js} +1 -1
- package/web/app/immutable/chunks/{iAu7Aj29.js → wjBrDDKR.js} +1 -1
- package/web/app/immutable/chunks/{BIjcjB3s.js → xNZ_GbEJ.js} +1 -1
- package/web/app/immutable/chunks/{BJ9asJd9.js → yl6pDKiQ.js} +1 -1
- package/web/app/immutable/chunks/{ClN0hrCD.js → zWI60sec.js} +1 -1
- package/web/app/immutable/entry/app.9r9RhFng.js +4 -0
- package/web/app/immutable/entry/start.C8tteIq6.js +1 -0
- package/web/app/immutable/nodes/{0.maNxDgKk.js → 0._MOrvR24.js} +1 -1
- package/web/app/immutable/nodes/{1.CrUOCJzJ.js → 1.DVvUSeXg.js} +1 -1
- package/web/app/immutable/nodes/{10.DAHzIxDn.js → 10.DIleurXr.js} +1 -1
- package/web/app/immutable/nodes/{11.QGXqc7LC.js → 11.CPz1gfx7.js} +1 -1
- package/web/app/immutable/nodes/{12.Deg0J99J.js → 12.IWuvbIEt.js} +1 -1
- package/web/app/immutable/nodes/{13.DYahTbd4.js → 13.K9ySk2sQ.js} +1 -1
- package/web/app/immutable/nodes/{14.DqcYIHGs.js → 14.BR3FpNbu.js} +1 -1
- package/web/app/immutable/nodes/{15.fBsD-rf2.js → 15.MdkxIvV5.js} +1 -1
- package/web/app/immutable/nodes/{16.BB4D0sXM.js → 16.CKCeF79S.js} +1 -1
- package/web/app/immutable/nodes/{17.C504DyaY.js → 17.DNzYNnAu.js} +2 -2
- package/web/app/immutable/nodes/2.DJLdbLzb.js +13 -0
- package/web/app/immutable/nodes/{3.C7nQO7Qp.js → 3.BgL634Ss.js} +1 -1
- package/web/app/immutable/nodes/{4.DOK8Tw7p.js → 4.CR0sD7s6.js} +1 -1
- package/web/app/immutable/nodes/{5.ubLsJnyC.js → 5.sL-y10DG.js} +1 -1
- package/web/app/immutable/nodes/{6.CyCRzMDW.js → 6.Ci8BcEFn.js} +1 -1
- package/web/app/immutable/nodes/{7.Bg70Q16x.js → 7.BxPcDZ4n.js} +1 -1
- package/web/app/immutable/nodes/{8.BvaAzEQm.js → 8.DfInEKdf.js} +10 -10
- package/web/app/immutable/nodes/{9.DO468RMT.js → 9.ChF6BmYv.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/index.html +16 -16
- package/web/app/immutable/assets/0.DZzKp2Fe.css +0 -1
- package/web/app/immutable/assets/DiagramPresentation.Bfi3xHm0.css +0 -1
- package/web/app/immutable/chunks/BvpPy--g.js +0 -1
- package/web/app/immutable/chunks/CAXcxCRW.js +0 -12
- package/web/app/immutable/chunks/CO2d8RwC.js +0 -1
- package/web/app/immutable/chunks/CQpQeUin.js +0 -1
- package/web/app/immutable/chunks/CTjSHpOw.js +0 -344
- package/web/app/immutable/chunks/DvnMaoHD.js +0 -1
- package/web/app/immutable/chunks/qiTOR0DK.js +0 -1
- package/web/app/immutable/entry/app.F35RZd_b.js +0 -4
- package/web/app/immutable/entry/start.Dg01C9a0.js +0 -1
- package/web/app/immutable/nodes/2.ByX1NsE4.js +0 -13
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a$ as Ft,aA as Rt,a1 as Je}from"./Ae-1QeEg.js";import{bI as At,aD as _,aG as Et,bH as Le,bV as it,bs as Bt,ca as Wt,a5 as W,bA as L,W as o,bS as c,b_ as u,bn as Lt,c9 as S,aA as O,bl as E,bO as l,b$ as A,aB as N,bf as H,a7 as G,ay as x,be as Pe,am as Re,ax as Ae}from"./DYhIMPy1.js";import{t as Ut,br as F,a_ as D,bz as jt,bv as Ve,bt as Mt,b as zt,bp as d}from"./CGWRZzdk.js";import{G as Xe}from"./Bhmm0Csf.js";import{s as Qe}from"./BEyWfhqM.js";import{I as V,b as Ze,D as le}from"./BOTuR8YM.js";import{w as Ee,v as et,u as tt}from"./B70m4__L.js";import{F as $t,bk as Gt,aJ as Kt,cF as Yt,ci as qt}from"./Dlo7xxGg.js";import{k as Ht}from"./CIwcmzpw.js";import{f as Be}from"./B422XfSt.js";import"./ChTqQfQN.js";import"./D2hN829h.js";import"./CnZcDXmL.js";import{q as Jt,h as Vt,S as Xt}from"./D8eBy-8s.js";import{O as We}from"./D0TlsaAe.js";import{bM as Qt,D as Zt,y as ea}from"./DYLHdssA.js";import{d as ta}from"./DwZUZouP.js";import{s as aa,f as ra,c as at}from"./DrI6m-rY.js";function ja(z){let C=0,$=!1;function _e(I){$!==I&&($=I,z.onDragChange(I))}function pe(){C=0,_e(!1)}function ae(I){return z.isEnabled&&!z.isEnabled()?!1:Rt(I)}return{handleDragEnter(I){ae(I)&&(I.preventDefault(),C++,_e(!0))},handleDragLeave(I){ae(I)&&(I.preventDefault(),C=Math.max(0,C-1),C===0&&_e(!1))},handleDragOver(I){ae(I)&&I.preventDefault()},handleDrop(I){if(!ae(I))return;I.preventDefault(),pe();const Y=Ft(I.dataTransfer);(Y.files.length>0||Y.folderFiles.length>0)&&z.onDrop(Y)},reset:pe}}const lt=Symbol("panel-file-drop-context");function Ma(){let z=it(null);const C={register($){Le(z,$)},unregister($){_(z)===$&&Le(z,null)}};return At(lt,C),{context:C,handler:{get current(){return _(z)}}}}function za(){return Et(lt)??null}var na=N('<span class="inline-flex items-center gap-1.5 svelte-enden2"> </span>'),sa=N('<h3 class="text-lg font-semibold tracking-[-0.016em] transition-colors duration-spring-slow ease-spring-slow motion-reduce:transition-none svelte-enden2"><!></h3>'),oa=N('<span class="inline-block col-span-1 row-span-1 svelte-enden2"> </span>'),ia=N('<span class="text-sm font-mono text-muted-foreground tabular-nums svelte-enden2"><span class="inline-grid *:[grid-area:1/1] svelte-enden2"><!></span> </span>'),la=N('<div class="absolute inset-0 left-5 svelte-enden2"><!></div>'),rt=N('<div class="svelte-enden2"><!></div>'),da=N('<div class="relative flex items-start overflow-hidden rounded-md py-0.75 text-base leading-relaxed svelte-enden2"><!> <span data-testid="workspace-setup-step-icon"><!></span> <div class="setup-step-content min-w-0 text-muted-foreground font-normal leading-snug relative z-10 svelte-enden2" data-testid="workspace-setup-step-content"><!></div></div>'),_a=N('<span data-testid="setup-card-progress-label" class="svelte-enden2"> </span> <div class="mt-1 h-[2px] w-full max-w-64 rounded-full bg-secondary overflow-hidden svelte-enden2"><div class="h-full bg-foreground/60 transition-[width] duration-spring-slow ease-spring-slow motion-reduce:transition-none svelte-enden2" role="progressbar" aria-valuemin="0" aria-valuemax="100" data-testid="setup-card-progress-bar"></div></div>',1),de=N(" <!>",1),pa=N('<span data-testid="setup-card-plain-folder" class="svelte-enden2"> <!> </span>'),va=N(' <code class="text-sm bg-secondary py-1 px-1.5 svelte-enden2"> </code> <!>',1),nt=N(" <!> <!>",1),ca=N(' <span class="svelte-enden2"> </span> ',1),ua=N(' <span class="svelte-enden2"> </span> <!>',1),ga=N('<span class="underline underline-offset-2 svelte-enden2"> </span><span class="whitespace-nowrap svelte-enden2"><span class="underline underline-offset-2 svelte-enden2"> </span><span class="setup-reference-punctuation svelte-enden2" aria-hidden="true"> </span></span>',1),fa=N("<!> ",1),st=N('<span class="svelte-enden2"> </span>'),te=N(" <!> ",1),ma=N('<pre class="text-xs text-muted-foreground font-mono leading-snug line-clamp-2 whitespace-pre-wrap svelte-enden2"> </pre>'),ot=N('<span class="text-xs text-muted-foreground opacity-50 svelte-enden2"> </span>'),ba=N(" <!> <!> ",1),xa=N('<p class="text-xs text-muted-foreground leading-snug svelte-enden2"> </p>'),ha=N('<div><div class="flex items-baseline gap-2.5 pt-3 pb-2 svelte-enden2"><div class="inline-grid *:[grid-area:1/1] svelte-enden2"><!></div> <!></div> <div class="space-y-0.5 pb-4 svelte-enden2"><!> <!> <!> <!></div></div>');function Ca(z,C){if(new.target)return Ut({component:Ca,...z});Bt(C,!0);const $=()=>Ve(dt,"$progressEntry$",pe),_e=()=>Ve(_t,"$specialists$",pe),[pe,ae]=Mt();let I=F(C,"repoName",7),Y=F(C,"repoPath",7),q=F(C,"worktreePath",7),ve=F(C,"workspaceId",7),K=F(C,"branch",7),ce=F(C,"baseRef",7,"origin/main"),re=F(C,"projectType",7),X=F(C,"setupScriptStatus",7),Ce=F(C,"setupScriptContent",7),we=F(C,"onFocusSetupTerminal",7),De=F(C,"specialistName",7),U=F(C,"specialistId",7),ne=F(C,"hasPrompt",7,!0),se=F(C,"repoStatus",7,"pending"),ue=F(C,"branchStatus",7,"pending"),ge=F(C,"agentStatus",7,"pending"),Q=F(C,"skipIsolation",7,!1),oe=F(C,"plainFolder",7,!1),Ie=F(C,"progressId",7);const dt=aa(Ie()??""),_t=Qt();let fe=it(0);Wt(()=>{const i=Math.min($()?.percent??0,100);i>_(fe)&&Le(fe,i,!0)});const pt=S(()=>$()?.sawFrame===!0),vt=S(()=>ce().replace(/^[^/]+\//,"")),Ne=S(()=>U()?ea(U()):void 0),ct=S(()=>U()?_e().find(i=>i.id===U()):void 0),ut=S(()=>_(ct)?.name||_(Ne)?.name||De()),Ue=S(()=>U()==="spec-writer"||U()===Zt),je=S(()=>{const i=oe()?[se()]:[se(),ue()];return X()&&i.push(X()),i.push(ge()),i}),Te=S(()=>_(je).length),Me=S(()=>_(je).filter(i=>i==="done").length),ze=S(()=>Math.min(_(Me)+1,_(Te))),Se=S(()=>_(Me)===_(Te)),$e=S(()=>_(Se)?d.onboarding_setupCard_ready_title():d.onboarding_setupCard_settingUp_title());function gt(i,R){navigator.clipboard.writeText(i),Ht.success(d.onboarding_setupCard_copied_label({label:R}))}function Oe(i){return i.replace(/^\/Users\/[^/]+/,"~")}function ft(){U()&&ta({specialist:U(),hash:"specialists"})}var mt={get repoName(){return I()},set repoName(i){I(i),O()},get repoPath(){return Y()},set repoPath(i){Y(i),O()},get worktreePath(){return q()},set worktreePath(i){q(i),O()},get workspaceId(){return ve()},set workspaceId(i){ve(i),O()},get branch(){return K()},set branch(i){K(i),O()},get baseRef(){return ce()},set baseRef(i="origin/main"){ce(i),O()},get projectType(){return re()},set projectType(i){re(i),O()},get setupScriptStatus(){return X()},set setupScriptStatus(i){X(i),O()},get setupScriptContent(){return Ce()},set setupScriptContent(i){Ce(i),O()},get onFocusSetupTerminal(){return we()},set onFocusSetupTerminal(i){we(i),O()},get specialistName(){return De()},set specialistName(i){De(i),O()},get specialistId(){return U()},set specialistId(i){U(i),O()},get hasPrompt(){return ne()},set hasPrompt(i=!0){ne(i),O()},get repoStatus(){return se()},set repoStatus(i="pending"){se(i),O()},get branchStatus(){return ue()},set branchStatus(i="pending"){ue(i),O()},get agentStatus(){return ge()},set agentStatus(i="pending"){ge(i),O()},get skipIsolation(){return Q()},set skipIsolation(i=!1){Q(i),O()},get plainFolder(){return oe()},set plainFolder(i=!1){oe(i),O()},get progressId(){return Ie()},set progressId(i){Ie(i),O()},$set:jt,$on:(i,R)=>zt(C,i,R)},ye=ha(),ke=W(ye);Ee(ke,"",{},{"padding-inline":"var(--operational-row-inline-padding)"});var Fe=W(ke),bt=W(Fe);Xe(bt,()=>_(Se),i=>{var R=sa(),Z=W(R);{var me=M=>{var B=na(),xe=E(B,!0);u(()=>l(xe,_($e))),o(M,B)},be=M=>{var B=A();u(()=>l(B,_($e))),o(M,B)};D(Z,M=>{_(Se)?M(me):M(be,-1)})}L(R),V(1,R,()=>Ze,()=>({tier:"slow",distance:3})),V(2,R,()=>Ze,()=>({tier:"slow",distance:3})),o(i,R)}),L(Fe);var xt=c(Fe,2);{var ht=i=>{var R=ia(),Z=W(R),me=W(Z);Xe(me,()=>_(ze),M=>{var B=oa(),xe=E(B,!0);u(()=>l(xe,_(ze))),V(1,B,()=>le,()=>({axis:"y",tier:"slow"})),o(M,B)}),L(Z);var be=c(Z);L(R),u(()=>l(be,`/${_(Te)??""}`)),o(i,R)};D(xt,i=>{_(Se)||i(ht)})}L(ke);var Ge=c(ke,2);{const i=(f,m=H,y=H,k=H,w=H,b=H)=>{var n=da();Ee(n,"",{},{gap:"0.25rem","padding-inline":"var(--operational-row-inline-padding)"});var t=W(n);{var e=h=>{var P=la(),T=W(P);Xt(T,{}),L(P),o(h,P)};D(t,h=>{m()==="active"&&h(e)})}var a=c(t,2),r=W(a);$t(r,{get icon(){return y()},size:14,get class(){return k()}}),L(a);var s=c(a,2),p=W(s);{var g=h=>{var P=rt(),T=W(P);Qe(T,w),L(P),V(1,P,()=>le,()=>({axis:"y",tier:"moderate"})),V(2,P,()=>le,()=>({axis:"y",tier:"moderate"})),o(h,P)},v=h=>{var P=rt(),T=W(P);Qe(T,b),L(P),V(1,P,()=>le,()=>({axis:"y",tier:"moderate"})),V(2,P,()=>le,()=>({axis:"y",tier:"moderate"})),o(h,P)};D(p,h=>{m()==="active"?h(g):h(v,-1)})}L(s),L(n),u(()=>et(a,1,`${Vt} relative z-10 mt-1 flex size-4 shrink-0 items-center justify-start`,"svelte-enden2")),V(3,n,()=>le,()=>({tier:"slow"})),o(f,n)},R=(f,m)=>{let y=Re(()=>Ae(m?.(),""));var k=G(),w=x(k);{var b=t=>{{let e=S(()=>d.onboarding_setupCard_originalFolder_label());B(t,I,()=>_(e),Y,()=>_(y))}},n=t=>{var e=A();u(()=>l(e,`${I()??""}${_(y)??""}`)),o(t,e)};D(w,t=>{Y()?t(b):t(n,-1)})}o(f,k)},Z=f=>{var m=G(),y=x(m);{var k=n=>{var t=_a(),e=x(t),a=E(e,!0),r=c(e,2),s=E(r);u((p,g)=>{l(a,p),Ee(s,`width: ${_(fe)??""}%`),tt(s,"aria-label",g),tt(s,"aria-valuenow",_(fe))},[()=>d.workspace_compactInitializer_progressWithPercent_label({label:at($()),percent:ra(_(fe))}),()=>at($())]),o(n,t)},w=n=>{var t=de(),e=x(t),a=c(e);{let r=S(()=>d.onboarding_setupCard_opening_after());R(a,()=>_(r))}u(r=>l(e,`${r??""} `),[()=>d.onboarding_setupCard_opening_before()]),o(n,t)},b=n=>{var t=de(),e=x(t),a=c(e);R(a),u(r=>l(e,`${r??""} `),[()=>d.onboarding_setupCard_creatingIsolatedCopy_before()]),o(n,t)};D(y,n=>{_(pt)&&$()?n(k):Q()||oe()?n(w,1):n(b,-1)})}o(f,m)},me=f=>{var m=G(),y=x(m);{var k=n=>{const t=S(()=>q()||Y());var e=pa(),a=W(e),r=c(a);{var s=v=>{We(v,{get filePath(){return _(t)},get workspaceId(){return ve()},isDirectory:!0,variant:"sidebar",compact:!0,inline:!0,class:"setup-path",children:(h,P)=>{{let T=S(()=>Oe(_(t)));M(h,()=>_(T),()=>".")}},$$slots:{default:!0}})},p=v=>{var h=A();u(()=>l(h,`${I()??""}.`)),o(v,h)};D(r,v=>{_(t)?v(s):v(p,-1)})}var g=c(r);L(e),u((v,h)=>{l(a,`${v??""} `),l(g,` ${h??""}`)},[()=>d.onboarding_setupCard_workingInFolder_before(),()=>d.onboarding_setupCard_plainFolderInPlace_label()]),o(n,e)},w=n=>{var t=va(),e=x(t),a=c(e),r=E(a,!0),s=c(a,2);{var p=v=>{var h=de(),P=x(h),T=c(P);We(T,{get filePath(){return q()},get workspaceId(){return ve()},isDirectory:!0,variant:"sidebar",compact:!0,inline:!0,class:"setup-path",children:(j,ee)=>{{let J=S(()=>Oe(q()));M(j,()=>_(J),()=>".")}},$$slots:{default:!0}}),u(j=>l(P,` ${j??""} `),[()=>d.onboarding_setupCard_at_label()]),o(v,h)},g=v=>{var h=A(".");o(v,h)};D(s,v=>{q()?v(p):v(g,-1)})}u(v=>{l(e,`${v??""} `),l(r,_(vt))},[()=>d.onboarding_setupCard_workingDirectlyOn_before()]),o(n,t)},b=n=>{var t=nt(),e=x(t),a=c(e);R(a);var r=c(a,2);{var s=g=>{var v=de(),h=x(v),P=c(h);We(P,{get filePath(){return q()},get workspaceId(){return ve()},isDirectory:!0,variant:"sidebar",compact:!0,inline:!0,class:"setup-path",children:(T,j)=>{{let ee=S(()=>Oe(q()));M(T,()=>_(ee),()=>".")}},$$slots:{default:!0}}),u(T=>l(h,` ${T??""} `),[()=>d.onboarding_setupCard_at_label()]),o(g,v)},p=g=>{var v=A(".");o(g,v)};D(r,g=>{q()?g(s):g(p,-1)})}u(g=>l(e,`${g??""} `),[()=>d.onboarding_setupCard_createdIsolatedCopy_before()]),o(n,t)};D(y,n=>{oe()?n(k):Q()?n(w,1):n(b,-1)})}o(f,m)},be=f=>{var m=G(),y=x(m);{var k=n=>{var t=G(),e=x(t);{var a=s=>{var p=ca(),g=x(p),v=c(g),h=E(v,!0),P=c(v,1,!0);u((T,j)=>{l(g,`${T??""} `),l(h,K()),l(P,j)},[()=>d.onboarding_setupCard_workingOnBranchNamed_before(),()=>d.onboarding_setupCard_workingOnBranchActive_after()]),o(s,p)},r=s=>{var p=A();u(g=>l(p,g),[()=>d.onboarding_setupCard_workingOnBranch_label()]),o(s,p)};D(e,s=>{K()?s(a):s(r,-1)})}o(n,t)},w=n=>{var t=ua(),e=x(t),a=c(e),r=E(a,!0),s=c(a),p=c(s);{let g=S(()=>d.onboarding_setupCard_baseRef_label()),v=S(()=>d.onboarding_setupCard_creatingBranch_after());B(p,ce,()=>_(g),()=>{},()=>_(v))}u((g,v)=>{l(e,`${g??""} `),l(r,K()),l(s,` ${v??""} `)},[()=>d.onboarding_setupCard_creatingBranch_before(),()=>d.onboarding_setupCard_creatingBranch_middle()]),o(n,t)},b=n=>{var t=A();u(e=>l(t,e),[()=>d.onboarding_setupCard_creatingBranchNoName_label()]),o(n,t)};D(y,n=>{Q()?n(k):K()?n(w,1):n(b,-1)})}o(f,m)},M=(f,m=H,y)=>{let k=Re(()=>Ae(y?.(),""));const w=S(()=>Array.from(m()));var b=ga(),n=x(b),t=E(n,!0),e=c(n),a=W(e),r=E(a,!0),s=c(a),p=E(s,!0);L(e),u((g,v)=>{l(t,g),l(r,v),l(p,_(k))},[()=>_(w).slice(0,-1).join(""),()=>_(w).at(-1)??""]),o(f,b)},B=(f,m=H,y=H,k=H,w)=>{let b=Re(()=>Ae(w?.(),""));const n=S(()=>_(b).match(/^\p{P}+/u)?.[0]??"");var t=fa(),e=x(t);Be(e,{variant:"plain",wrapContent:!1,class:"setup-inline-link cursor-pointer hover:text-foreground transition-colors",onclick:()=>gt(k()??m(),y()),children:(r,s)=>{M(r,m,()=>_(n))},$$slots:{default:!0}});var a=c(e,1,!0);u(r=>l(a,r),[()=>_(b).slice(_(n).length)]),o(f,t)},xe=f=>{var m=G(),y=x(m);{var k=n=>{var t=G(),e=x(t);{var a=s=>{var p=de(),g=x(p),v=c(g);{let h=S(()=>d.onboarding_setupCard_branchName_label()),P=S(()=>d.onboarding_setupCard_workingOnBranchDone_after());B(v,K,()=>_(h),()=>{},()=>_(P))}u(h=>l(g,`${h??""} `),[()=>d.onboarding_setupCard_workingOnBranchNamed_before()]),o(s,p)},r=s=>{var p=A();u(g=>l(p,g),[()=>d.onboarding_setupCard_workingDirectlyOnBranch_label()]),o(s,p)};D(e,s=>{K()?s(a):s(r,-1)})}o(n,t)},w=n=>{var t=nt(),e=x(t),a=c(e);{let s=S(()=>d.onboarding_setupCard_branchName_label()),p=S(()=>d.onboarding_setupCard_workingInNewBranch_middle());B(a,K,()=>_(s),()=>{},()=>_(p))}var r=c(a,2);{let s=S(()=>d.onboarding_setupCard_baseRef_label()),p=S(()=>d.onboarding_setupCard_workingInNewBranch_after());B(r,ce,()=>_(s),()=>{},()=>_(p))}u(s=>l(e,`${s??""} `),[()=>d.onboarding_setupCard_workingInNewBranch_before()]),o(n,t)},b=n=>{var t=A();u(e=>l(t,e),[()=>d.onboarding_setupCard_branchCreated_label()]),o(n,t)};D(y,n=>{Q()?n(k):K()?n(w,1):n(b,-1)})}o(f,m)},Dt=f=>{Pe();var m=te(),y=x(m),k=c(y);{var w=t=>{var e=st(),a=E(e,!0);u(()=>l(a,re())),o(t,e)},b=t=>{var e=A();u(a=>l(e,a),[()=>d.onboarding_setupCard_project_label()]),o(t,e)};D(k,t=>{re()?t(w):t(b,-1)})}var n=c(k);u((t,e)=>{l(y,`${t??""} `),l(n,` ${e??""}`)},[()=>d.onboarding_setupCard_runningSetup_before(),()=>d.onboarding_setupCard_runningSetup_after()]),o(f,m)},It=f=>{Pe();var m=ba(),y=x(m),k=c(y);{var w=r=>{var s=st(),p=E(s,!0);u(()=>l(p,re())),o(r,s)},b=r=>{var s=A();u(p=>l(s,p),[()=>d.onboarding_setupCard_project_label()]),o(r,s)};D(k,r=>{re()?r(w):r(b,-1)})}var n=c(k),t=c(n);{var e=r=>{var s=de(),p=x(s),g=c(p);Je(g,{class:"inline",side:"bottom",align:"start",interactive:!0,maxWidth:"22rem",delayDuration:300,trigger:T=>{Be(T,{variant:"plain",wrapContent:!1,class:"setup-inline-link underline underline-offset-2 cursor-pointer hover:text-foreground transition-colors",get onclick(){return we()},children:(j,ee)=>{Pe();var J=A();u(he=>l(J,he),[()=>d.onboarding_setupCard_terminalTab_label()]),o(j,J)},$$slots:{default:!0}})},content:T=>{var j=G(),ee=x(j);{var J=he=>{var He=ma(),Ot=E(He,!0);u(()=>l(Ot,Ce())),o(he,He)};D(ee,he=>{Ce()&&he(J)})}o(T,j)},footer:T=>{var j=ot(),ee=E(j,!0);u(J=>l(ee,J),[()=>d.onboarding_setupCard_openTerminal_footer()]),o(T,j)},$$slots:{trigger:!0,content:!0,footer:!0}}),u(v=>l(p,` ${v??""} `),[()=>d.onboarding_setupCard_ranSetupIn_middle()]),o(r,s)};D(t,r=>{we()&&r(e)})}var a=c(t,1,!0);u((r,s,p)=>{l(y,`${r??""} `),l(n,` ${s??""}`),l(a,p)},[()=>d.onboarding_setupCard_ranSetup_before(),()=>d.onboarding_setupCard_ranSetup_middle(),()=>d.onboarding_setupCard_ranSetup_after()]),o(f,m)},ie=f=>{Je(f,{class:"inline",side:"bottom",align:"start",interactive:!0,maxWidth:"22rem",delayDuration:300,trigger:w=>{Be(w,{variant:"plain",wrapContent:!1,class:"setup-inline-link underline underline-offset-2 cursor-pointer hover:text-foreground transition-colors",onclick:ft,children:(b,n)=>{Pe();var t=A();u(()=>l(t,_(ut))),o(b,t)},$$slots:{default:!0}})},content:w=>{var b=G(),n=x(b);{var t=e=>{var a=xa(),r=E(a,!0);u(()=>l(r,_(Ne).description)),o(e,a)};D(n,e=>{_(Ne)&&e(t)})}o(w,b)},footer:w=>{var b=ot(),n=E(b,!0);u(t=>l(n,t),[()=>d.onboarding_setupCard_editInSettings_footer()]),o(w,b)},$$slots:{trigger:!0,content:!0,footer:!0}})},Nt=f=>{var m=G(),y=x(m);{var k=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_agentReadyNamed_before(),()=>d.onboarding_setupCard_agentReadyNamed_after()]),o(e,a)},w=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_agentReady_label()]),o(e,a)},b=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_specStartingUp_before(),()=>d.onboarding_setupCard_specStartingUp_after()]),o(e,a)},n=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_startingUpNamed_before(),()=>d.onboarding_setupCard_startingUpNamed_after()]),o(e,a)},t=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_startingUp_label()]),o(e,a)};D(y,e=>{!ne()&&U()?e(k):ne()?_(Ue)?e(b,2):U()?e(n,3):e(t,-1):e(w,1)})}o(f,m)},Tt=f=>{var m=G(),y=x(m);{var k=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_agentReadyNamed_before(),()=>d.onboarding_setupCard_agentReadyNamed_after()]),o(e,a)},w=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_agentReady_label()]),o(e,a)},b=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_specDone_before(),()=>d.onboarding_setupCard_specDone_after()]),o(e,a)},n=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_agentDoneNamed_before(),()=>d.onboarding_setupCard_agentDoneNamed_after()]),o(e,a)},t=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_agentOrienting_label()]),o(e,a)};D(y,e=>{!ne()&&U()?e(k):ne()?_(Ue)?e(b,2):U()?e(n,3):e(t,-1):e(w,1)})}o(f,m)};var Ke=W(Ge);{var Ct=f=>{i(f,se,()=>Gt,()=>"-ml-px transform scale-[0.98]",()=>Z,()=>me)};D(Ke,f=>{se()!=="pending"&&f(Ct)})}var Ye=c(Ke,2);{var wt=f=>{i(f,ue,()=>Kt,()=>"",()=>be,()=>xe)};D(Ye,f=>{ue()!=="pending"&&!Q()&&!oe()&&f(wt)})}var qe=c(Ye,2);{var St=f=>{i(f,X,()=>Yt,()=>"ml-[0.5px]",()=>Dt,()=>It)};D(qe,f=>{X()&&X()!=="pending"&&f(St)})}var yt=c(qe,2);{var kt=f=>{i(f,ge,()=>qt,()=>"ml-[-0.5px]",()=>Nt,()=>Tt)};D(yt,f=>{ge()!=="pending"&&f(kt)})}L(Ge)}L(ye),u(()=>et(ye,1,`${Jt} w-full overflow-hidden transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none`,"svelte-enden2")),o(z,ye);var Pt=Lt(mt);return ae(),Pt}export{Ca as W,Ma as a,ja as c,za as g};
|
|
1
|
+
import{a$ as Ft,aA as Rt,a1 as Je}from"./b-gQtgOb.js";import{bI as At,aD as _,aG as Et,bH as Le,bV as it,bs as Bt,ca as Wt,a5 as W,bA as L,W as o,bS as c,b_ as u,bn as Lt,c9 as S,aA as O,bl as E,bO as l,b$ as A,aB as N,bf as H,a7 as G,ay as x,be as Pe,am as Re,ax as Ae}from"./DYhIMPy1.js";import{t as Ut,br as F,a_ as D,bz as jt,bv as Ve,bt as Mt,b as zt,bp as d}from"./CGWRZzdk.js";import{G as Xe}from"./DHP1DFPI.js";import{s as Qe}from"./BEyWfhqM.js";import{I as V,b as Ze,D as le}from"./BM1KP-FJ.js";import{w as Ee,v as et,u as tt}from"./BjnZ1Xf3.js";import{F as $t,bk as Gt,aJ as Kt,cF as Yt,ci as qt}from"./By0eqGj-.js";import{k as Ht}from"./CxLPEkg7.js";import{f as Be}from"./KJX0Kw6L.js";import"./ChTqQfQN.js";import"./DVYqzV0n.js";import"./CicdOSYm.js";import{q as Jt,h as Vt,S as Xt}from"./uI0ZG7MM.js";import{O as We}from"./CVBmzjKd.js";import{bM as Qt,D as Zt,y as ea}from"./5a7lyWYQ.js";import{d as ta}from"./CpWbjqtx.js";import{s as aa,f as ra,c as at}from"./Cn3xolhp.js";function ja(z){let C=0,$=!1;function _e(I){$!==I&&($=I,z.onDragChange(I))}function pe(){C=0,_e(!1)}function ae(I){return z.isEnabled&&!z.isEnabled()?!1:Rt(I)}return{handleDragEnter(I){ae(I)&&(I.preventDefault(),C++,_e(!0))},handleDragLeave(I){ae(I)&&(I.preventDefault(),C=Math.max(0,C-1),C===0&&_e(!1))},handleDragOver(I){ae(I)&&I.preventDefault()},handleDrop(I){if(!ae(I))return;I.preventDefault(),pe();const Y=Ft(I.dataTransfer);(Y.files.length>0||Y.folderFiles.length>0)&&z.onDrop(Y)},reset:pe}}const lt=Symbol("panel-file-drop-context");function Ma(){let z=it(null);const C={register($){Le(z,$)},unregister($){_(z)===$&&Le(z,null)}};return At(lt,C),{context:C,handler:{get current(){return _(z)}}}}function za(){return Et(lt)??null}var na=N('<span class="inline-flex items-center gap-1.5 svelte-enden2"> </span>'),sa=N('<h3 class="text-lg font-semibold tracking-[-0.016em] transition-colors duration-spring-slow ease-spring-slow motion-reduce:transition-none svelte-enden2"><!></h3>'),oa=N('<span class="inline-block col-span-1 row-span-1 svelte-enden2"> </span>'),ia=N('<span class="text-sm font-mono text-muted-foreground tabular-nums svelte-enden2"><span class="inline-grid *:[grid-area:1/1] svelte-enden2"><!></span> </span>'),la=N('<div class="absolute inset-0 left-5 svelte-enden2"><!></div>'),rt=N('<div class="svelte-enden2"><!></div>'),da=N('<div class="relative flex items-start overflow-hidden rounded-md py-0.75 text-base leading-relaxed svelte-enden2"><!> <span data-testid="workspace-setup-step-icon"><!></span> <div class="setup-step-content min-w-0 text-muted-foreground font-normal leading-snug relative z-10 svelte-enden2" data-testid="workspace-setup-step-content"><!></div></div>'),_a=N('<span data-testid="setup-card-progress-label" class="svelte-enden2"> </span> <div class="mt-1 h-[2px] w-full max-w-64 rounded-full bg-secondary overflow-hidden svelte-enden2"><div class="h-full bg-foreground/60 transition-[width] duration-spring-slow ease-spring-slow motion-reduce:transition-none svelte-enden2" role="progressbar" aria-valuemin="0" aria-valuemax="100" data-testid="setup-card-progress-bar"></div></div>',1),de=N(" <!>",1),pa=N('<span data-testid="setup-card-plain-folder" class="svelte-enden2"> <!> </span>'),va=N(' <code class="text-sm bg-secondary py-1 px-1.5 svelte-enden2"> </code> <!>',1),nt=N(" <!> <!>",1),ca=N(' <span class="svelte-enden2"> </span> ',1),ua=N(' <span class="svelte-enden2"> </span> <!>',1),ga=N('<span class="underline underline-offset-2 svelte-enden2"> </span><span class="whitespace-nowrap svelte-enden2"><span class="underline underline-offset-2 svelte-enden2"> </span><span class="setup-reference-punctuation svelte-enden2" aria-hidden="true"> </span></span>',1),fa=N("<!> ",1),st=N('<span class="svelte-enden2"> </span>'),te=N(" <!> ",1),ma=N('<pre class="text-xs text-muted-foreground font-mono leading-snug line-clamp-2 whitespace-pre-wrap svelte-enden2"> </pre>'),ot=N('<span class="text-xs text-muted-foreground opacity-50 svelte-enden2"> </span>'),ba=N(" <!> <!> ",1),xa=N('<p class="text-xs text-muted-foreground leading-snug svelte-enden2"> </p>'),ha=N('<div><div class="flex items-baseline gap-2.5 pt-3 pb-2 svelte-enden2"><div class="inline-grid *:[grid-area:1/1] svelte-enden2"><!></div> <!></div> <div class="space-y-0.5 pb-4 svelte-enden2"><!> <!> <!> <!></div></div>');function Ca(z,C){if(new.target)return Ut({component:Ca,...z});Bt(C,!0);const $=()=>Ve(dt,"$progressEntry$",pe),_e=()=>Ve(_t,"$specialists$",pe),[pe,ae]=Mt();let I=F(C,"repoName",7),Y=F(C,"repoPath",7),q=F(C,"worktreePath",7),ve=F(C,"workspaceId",7),K=F(C,"branch",7),ce=F(C,"baseRef",7,"origin/main"),re=F(C,"projectType",7),X=F(C,"setupScriptStatus",7),Ce=F(C,"setupScriptContent",7),we=F(C,"onFocusSetupTerminal",7),De=F(C,"specialistName",7),U=F(C,"specialistId",7),ne=F(C,"hasPrompt",7,!0),se=F(C,"repoStatus",7,"pending"),ue=F(C,"branchStatus",7,"pending"),ge=F(C,"agentStatus",7,"pending"),Q=F(C,"skipIsolation",7,!1),oe=F(C,"plainFolder",7,!1),Ie=F(C,"progressId",7);const dt=aa(Ie()??""),_t=Qt();let fe=it(0);Wt(()=>{const i=Math.min($()?.percent??0,100);i>_(fe)&&Le(fe,i,!0)});const pt=S(()=>$()?.sawFrame===!0),vt=S(()=>ce().replace(/^[^/]+\//,"")),Ne=S(()=>U()?ea(U()):void 0),ct=S(()=>U()?_e().find(i=>i.id===U()):void 0),ut=S(()=>_(ct)?.name||_(Ne)?.name||De()),Ue=S(()=>U()==="spec-writer"||U()===Zt),je=S(()=>{const i=oe()?[se()]:[se(),ue()];return X()&&i.push(X()),i.push(ge()),i}),Te=S(()=>_(je).length),Me=S(()=>_(je).filter(i=>i==="done").length),ze=S(()=>Math.min(_(Me)+1,_(Te))),Se=S(()=>_(Me)===_(Te)),$e=S(()=>_(Se)?d.onboarding_setupCard_ready_title():d.onboarding_setupCard_settingUp_title());function gt(i,R){navigator.clipboard.writeText(i),Ht.success(d.onboarding_setupCard_copied_label({label:R}))}function Oe(i){return i.replace(/^\/Users\/[^/]+/,"~")}function ft(){U()&&ta({specialist:U(),hash:"specialists"})}var mt={get repoName(){return I()},set repoName(i){I(i),O()},get repoPath(){return Y()},set repoPath(i){Y(i),O()},get worktreePath(){return q()},set worktreePath(i){q(i),O()},get workspaceId(){return ve()},set workspaceId(i){ve(i),O()},get branch(){return K()},set branch(i){K(i),O()},get baseRef(){return ce()},set baseRef(i="origin/main"){ce(i),O()},get projectType(){return re()},set projectType(i){re(i),O()},get setupScriptStatus(){return X()},set setupScriptStatus(i){X(i),O()},get setupScriptContent(){return Ce()},set setupScriptContent(i){Ce(i),O()},get onFocusSetupTerminal(){return we()},set onFocusSetupTerminal(i){we(i),O()},get specialistName(){return De()},set specialistName(i){De(i),O()},get specialistId(){return U()},set specialistId(i){U(i),O()},get hasPrompt(){return ne()},set hasPrompt(i=!0){ne(i),O()},get repoStatus(){return se()},set repoStatus(i="pending"){se(i),O()},get branchStatus(){return ue()},set branchStatus(i="pending"){ue(i),O()},get agentStatus(){return ge()},set agentStatus(i="pending"){ge(i),O()},get skipIsolation(){return Q()},set skipIsolation(i=!1){Q(i),O()},get plainFolder(){return oe()},set plainFolder(i=!1){oe(i),O()},get progressId(){return Ie()},set progressId(i){Ie(i),O()},$set:jt,$on:(i,R)=>zt(C,i,R)},ye=ha(),ke=W(ye);Ee(ke,"",{},{"padding-inline":"var(--operational-row-inline-padding)"});var Fe=W(ke),bt=W(Fe);Xe(bt,()=>_(Se),i=>{var R=sa(),Z=W(R);{var me=M=>{var B=na(),xe=E(B,!0);u(()=>l(xe,_($e))),o(M,B)},be=M=>{var B=A();u(()=>l(B,_($e))),o(M,B)};D(Z,M=>{_(Se)?M(me):M(be,-1)})}L(R),V(1,R,()=>Ze,()=>({tier:"slow",distance:3})),V(2,R,()=>Ze,()=>({tier:"slow",distance:3})),o(i,R)}),L(Fe);var xt=c(Fe,2);{var ht=i=>{var R=ia(),Z=W(R),me=W(Z);Xe(me,()=>_(ze),M=>{var B=oa(),xe=E(B,!0);u(()=>l(xe,_(ze))),V(1,B,()=>le,()=>({axis:"y",tier:"slow"})),o(M,B)}),L(Z);var be=c(Z);L(R),u(()=>l(be,`/${_(Te)??""}`)),o(i,R)};D(xt,i=>{_(Se)||i(ht)})}L(ke);var Ge=c(ke,2);{const i=(f,m=H,y=H,k=H,w=H,b=H)=>{var n=da();Ee(n,"",{},{gap:"0.25rem","padding-inline":"var(--operational-row-inline-padding)"});var t=W(n);{var e=h=>{var P=la(),T=W(P);Xt(T,{}),L(P),o(h,P)};D(t,h=>{m()==="active"&&h(e)})}var a=c(t,2),r=W(a);$t(r,{get icon(){return y()},size:14,get class(){return k()}}),L(a);var s=c(a,2),p=W(s);{var g=h=>{var P=rt(),T=W(P);Qe(T,w),L(P),V(1,P,()=>le,()=>({axis:"y",tier:"moderate"})),V(2,P,()=>le,()=>({axis:"y",tier:"moderate"})),o(h,P)},v=h=>{var P=rt(),T=W(P);Qe(T,b),L(P),V(1,P,()=>le,()=>({axis:"y",tier:"moderate"})),V(2,P,()=>le,()=>({axis:"y",tier:"moderate"})),o(h,P)};D(p,h=>{m()==="active"?h(g):h(v,-1)})}L(s),L(n),u(()=>et(a,1,`${Vt} relative z-10 mt-1 flex size-4 shrink-0 items-center justify-start`,"svelte-enden2")),V(3,n,()=>le,()=>({tier:"slow"})),o(f,n)},R=(f,m)=>{let y=Re(()=>Ae(m?.(),""));var k=G(),w=x(k);{var b=t=>{{let e=S(()=>d.onboarding_setupCard_originalFolder_label());B(t,I,()=>_(e),Y,()=>_(y))}},n=t=>{var e=A();u(()=>l(e,`${I()??""}${_(y)??""}`)),o(t,e)};D(w,t=>{Y()?t(b):t(n,-1)})}o(f,k)},Z=f=>{var m=G(),y=x(m);{var k=n=>{var t=_a(),e=x(t),a=E(e,!0),r=c(e,2),s=E(r);u((p,g)=>{l(a,p),Ee(s,`width: ${_(fe)??""}%`),tt(s,"aria-label",g),tt(s,"aria-valuenow",_(fe))},[()=>d.workspace_compactInitializer_progressWithPercent_label({label:at($()),percent:ra(_(fe))}),()=>at($())]),o(n,t)},w=n=>{var t=de(),e=x(t),a=c(e);{let r=S(()=>d.onboarding_setupCard_opening_after());R(a,()=>_(r))}u(r=>l(e,`${r??""} `),[()=>d.onboarding_setupCard_opening_before()]),o(n,t)},b=n=>{var t=de(),e=x(t),a=c(e);R(a),u(r=>l(e,`${r??""} `),[()=>d.onboarding_setupCard_creatingIsolatedCopy_before()]),o(n,t)};D(y,n=>{_(pt)&&$()?n(k):Q()||oe()?n(w,1):n(b,-1)})}o(f,m)},me=f=>{var m=G(),y=x(m);{var k=n=>{const t=S(()=>q()||Y());var e=pa(),a=W(e),r=c(a);{var s=v=>{We(v,{get filePath(){return _(t)},get workspaceId(){return ve()},isDirectory:!0,variant:"sidebar",compact:!0,inline:!0,class:"setup-path",children:(h,P)=>{{let T=S(()=>Oe(_(t)));M(h,()=>_(T),()=>".")}},$$slots:{default:!0}})},p=v=>{var h=A();u(()=>l(h,`${I()??""}.`)),o(v,h)};D(r,v=>{_(t)?v(s):v(p,-1)})}var g=c(r);L(e),u((v,h)=>{l(a,`${v??""} `),l(g,` ${h??""}`)},[()=>d.onboarding_setupCard_workingInFolder_before(),()=>d.onboarding_setupCard_plainFolderInPlace_label()]),o(n,e)},w=n=>{var t=va(),e=x(t),a=c(e),r=E(a,!0),s=c(a,2);{var p=v=>{var h=de(),P=x(h),T=c(P);We(T,{get filePath(){return q()},get workspaceId(){return ve()},isDirectory:!0,variant:"sidebar",compact:!0,inline:!0,class:"setup-path",children:(j,ee)=>{{let J=S(()=>Oe(q()));M(j,()=>_(J),()=>".")}},$$slots:{default:!0}}),u(j=>l(P,` ${j??""} `),[()=>d.onboarding_setupCard_at_label()]),o(v,h)},g=v=>{var h=A(".");o(v,h)};D(s,v=>{q()?v(p):v(g,-1)})}u(v=>{l(e,`${v??""} `),l(r,_(vt))},[()=>d.onboarding_setupCard_workingDirectlyOn_before()]),o(n,t)},b=n=>{var t=nt(),e=x(t),a=c(e);R(a);var r=c(a,2);{var s=g=>{var v=de(),h=x(v),P=c(h);We(P,{get filePath(){return q()},get workspaceId(){return ve()},isDirectory:!0,variant:"sidebar",compact:!0,inline:!0,class:"setup-path",children:(T,j)=>{{let ee=S(()=>Oe(q()));M(T,()=>_(ee),()=>".")}},$$slots:{default:!0}}),u(T=>l(h,` ${T??""} `),[()=>d.onboarding_setupCard_at_label()]),o(g,v)},p=g=>{var v=A(".");o(g,v)};D(r,g=>{q()?g(s):g(p,-1)})}u(g=>l(e,`${g??""} `),[()=>d.onboarding_setupCard_createdIsolatedCopy_before()]),o(n,t)};D(y,n=>{oe()?n(k):Q()?n(w,1):n(b,-1)})}o(f,m)},be=f=>{var m=G(),y=x(m);{var k=n=>{var t=G(),e=x(t);{var a=s=>{var p=ca(),g=x(p),v=c(g),h=E(v,!0),P=c(v,1,!0);u((T,j)=>{l(g,`${T??""} `),l(h,K()),l(P,j)},[()=>d.onboarding_setupCard_workingOnBranchNamed_before(),()=>d.onboarding_setupCard_workingOnBranchActive_after()]),o(s,p)},r=s=>{var p=A();u(g=>l(p,g),[()=>d.onboarding_setupCard_workingOnBranch_label()]),o(s,p)};D(e,s=>{K()?s(a):s(r,-1)})}o(n,t)},w=n=>{var t=ua(),e=x(t),a=c(e),r=E(a,!0),s=c(a),p=c(s);{let g=S(()=>d.onboarding_setupCard_baseRef_label()),v=S(()=>d.onboarding_setupCard_creatingBranch_after());B(p,ce,()=>_(g),()=>{},()=>_(v))}u((g,v)=>{l(e,`${g??""} `),l(r,K()),l(s,` ${v??""} `)},[()=>d.onboarding_setupCard_creatingBranch_before(),()=>d.onboarding_setupCard_creatingBranch_middle()]),o(n,t)},b=n=>{var t=A();u(e=>l(t,e),[()=>d.onboarding_setupCard_creatingBranchNoName_label()]),o(n,t)};D(y,n=>{Q()?n(k):K()?n(w,1):n(b,-1)})}o(f,m)},M=(f,m=H,y)=>{let k=Re(()=>Ae(y?.(),""));const w=S(()=>Array.from(m()));var b=ga(),n=x(b),t=E(n,!0),e=c(n),a=W(e),r=E(a,!0),s=c(a),p=E(s,!0);L(e),u((g,v)=>{l(t,g),l(r,v),l(p,_(k))},[()=>_(w).slice(0,-1).join(""),()=>_(w).at(-1)??""]),o(f,b)},B=(f,m=H,y=H,k=H,w)=>{let b=Re(()=>Ae(w?.(),""));const n=S(()=>_(b).match(/^\p{P}+/u)?.[0]??"");var t=fa(),e=x(t);Be(e,{variant:"plain",wrapContent:!1,class:"setup-inline-link cursor-pointer hover:text-foreground transition-colors",onclick:()=>gt(k()??m(),y()),children:(r,s)=>{M(r,m,()=>_(n))},$$slots:{default:!0}});var a=c(e,1,!0);u(r=>l(a,r),[()=>_(b).slice(_(n).length)]),o(f,t)},xe=f=>{var m=G(),y=x(m);{var k=n=>{var t=G(),e=x(t);{var a=s=>{var p=de(),g=x(p),v=c(g);{let h=S(()=>d.onboarding_setupCard_branchName_label()),P=S(()=>d.onboarding_setupCard_workingOnBranchDone_after());B(v,K,()=>_(h),()=>{},()=>_(P))}u(h=>l(g,`${h??""} `),[()=>d.onboarding_setupCard_workingOnBranchNamed_before()]),o(s,p)},r=s=>{var p=A();u(g=>l(p,g),[()=>d.onboarding_setupCard_workingDirectlyOnBranch_label()]),o(s,p)};D(e,s=>{K()?s(a):s(r,-1)})}o(n,t)},w=n=>{var t=nt(),e=x(t),a=c(e);{let s=S(()=>d.onboarding_setupCard_branchName_label()),p=S(()=>d.onboarding_setupCard_workingInNewBranch_middle());B(a,K,()=>_(s),()=>{},()=>_(p))}var r=c(a,2);{let s=S(()=>d.onboarding_setupCard_baseRef_label()),p=S(()=>d.onboarding_setupCard_workingInNewBranch_after());B(r,ce,()=>_(s),()=>{},()=>_(p))}u(s=>l(e,`${s??""} `),[()=>d.onboarding_setupCard_workingInNewBranch_before()]),o(n,t)},b=n=>{var t=A();u(e=>l(t,e),[()=>d.onboarding_setupCard_branchCreated_label()]),o(n,t)};D(y,n=>{Q()?n(k):K()?n(w,1):n(b,-1)})}o(f,m)},Dt=f=>{Pe();var m=te(),y=x(m),k=c(y);{var w=t=>{var e=st(),a=E(e,!0);u(()=>l(a,re())),o(t,e)},b=t=>{var e=A();u(a=>l(e,a),[()=>d.onboarding_setupCard_project_label()]),o(t,e)};D(k,t=>{re()?t(w):t(b,-1)})}var n=c(k);u((t,e)=>{l(y,`${t??""} `),l(n,` ${e??""}`)},[()=>d.onboarding_setupCard_runningSetup_before(),()=>d.onboarding_setupCard_runningSetup_after()]),o(f,m)},It=f=>{Pe();var m=ba(),y=x(m),k=c(y);{var w=r=>{var s=st(),p=E(s,!0);u(()=>l(p,re())),o(r,s)},b=r=>{var s=A();u(p=>l(s,p),[()=>d.onboarding_setupCard_project_label()]),o(r,s)};D(k,r=>{re()?r(w):r(b,-1)})}var n=c(k),t=c(n);{var e=r=>{var s=de(),p=x(s),g=c(p);Je(g,{class:"inline",side:"bottom",align:"start",interactive:!0,maxWidth:"22rem",delayDuration:300,trigger:T=>{Be(T,{variant:"plain",wrapContent:!1,class:"setup-inline-link underline underline-offset-2 cursor-pointer hover:text-foreground transition-colors",get onclick(){return we()},children:(j,ee)=>{Pe();var J=A();u(he=>l(J,he),[()=>d.onboarding_setupCard_terminalTab_label()]),o(j,J)},$$slots:{default:!0}})},content:T=>{var j=G(),ee=x(j);{var J=he=>{var He=ma(),Ot=E(He,!0);u(()=>l(Ot,Ce())),o(he,He)};D(ee,he=>{Ce()&&he(J)})}o(T,j)},footer:T=>{var j=ot(),ee=E(j,!0);u(J=>l(ee,J),[()=>d.onboarding_setupCard_openTerminal_footer()]),o(T,j)},$$slots:{trigger:!0,content:!0,footer:!0}}),u(v=>l(p,` ${v??""} `),[()=>d.onboarding_setupCard_ranSetupIn_middle()]),o(r,s)};D(t,r=>{we()&&r(e)})}var a=c(t,1,!0);u((r,s,p)=>{l(y,`${r??""} `),l(n,` ${s??""}`),l(a,p)},[()=>d.onboarding_setupCard_ranSetup_before(),()=>d.onboarding_setupCard_ranSetup_middle(),()=>d.onboarding_setupCard_ranSetup_after()]),o(f,m)},ie=f=>{Je(f,{class:"inline",side:"bottom",align:"start",interactive:!0,maxWidth:"22rem",delayDuration:300,trigger:w=>{Be(w,{variant:"plain",wrapContent:!1,class:"setup-inline-link underline underline-offset-2 cursor-pointer hover:text-foreground transition-colors",onclick:ft,children:(b,n)=>{Pe();var t=A();u(()=>l(t,_(ut))),o(b,t)},$$slots:{default:!0}})},content:w=>{var b=G(),n=x(b);{var t=e=>{var a=xa(),r=E(a,!0);u(()=>l(r,_(Ne).description)),o(e,a)};D(n,e=>{_(Ne)&&e(t)})}o(w,b)},footer:w=>{var b=ot(),n=E(b,!0);u(t=>l(n,t),[()=>d.onboarding_setupCard_editInSettings_footer()]),o(w,b)},$$slots:{trigger:!0,content:!0,footer:!0}})},Nt=f=>{var m=G(),y=x(m);{var k=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_agentReadyNamed_before(),()=>d.onboarding_setupCard_agentReadyNamed_after()]),o(e,a)},w=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_agentReady_label()]),o(e,a)},b=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_specStartingUp_before(),()=>d.onboarding_setupCard_specStartingUp_after()]),o(e,a)},n=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_startingUpNamed_before(),()=>d.onboarding_setupCard_startingUpNamed_after()]),o(e,a)},t=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_startingUp_label()]),o(e,a)};D(y,e=>{!ne()&&U()?e(k):ne()?_(Ue)?e(b,2):U()?e(n,3):e(t,-1):e(w,1)})}o(f,m)},Tt=f=>{var m=G(),y=x(m);{var k=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_agentReadyNamed_before(),()=>d.onboarding_setupCard_agentReadyNamed_after()]),o(e,a)},w=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_agentReady_label()]),o(e,a)},b=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_specDone_before(),()=>d.onboarding_setupCard_specDone_after()]),o(e,a)},n=e=>{var a=te(),r=x(a),s=c(r);ie(s);var p=c(s);u((g,v)=>{l(r,`${g??""} `),l(p,` ${v??""}`)},[()=>d.onboarding_setupCard_agentDoneNamed_before(),()=>d.onboarding_setupCard_agentDoneNamed_after()]),o(e,a)},t=e=>{var a=A();u(r=>l(a,r),[()=>d.onboarding_setupCard_agentOrienting_label()]),o(e,a)};D(y,e=>{!ne()&&U()?e(k):ne()?_(Ue)?e(b,2):U()?e(n,3):e(t,-1):e(w,1)})}o(f,m)};var Ke=W(Ge);{var Ct=f=>{i(f,se,()=>Gt,()=>"-ml-px transform scale-[0.98]",()=>Z,()=>me)};D(Ke,f=>{se()!=="pending"&&f(Ct)})}var Ye=c(Ke,2);{var wt=f=>{i(f,ue,()=>Kt,()=>"",()=>be,()=>xe)};D(Ye,f=>{ue()!=="pending"&&!Q()&&!oe()&&f(wt)})}var qe=c(Ye,2);{var St=f=>{i(f,X,()=>Yt,()=>"ml-[0.5px]",()=>Dt,()=>It)};D(qe,f=>{X()&&X()!=="pending"&&f(St)})}var yt=c(qe,2);{var kt=f=>{i(f,ge,()=>qt,()=>"ml-[-0.5px]",()=>Nt,()=>Tt)};D(yt,f=>{ge()!=="pending"&&f(kt)})}L(Ge)}L(ye),u(()=>et(ye,1,`${Jt} w-full overflow-hidden transition-all duration-spring-slow ease-spring-slow motion-reduce:transition-none`,"svelte-enden2")),o(z,ye);var Pt=Lt(mt);return ae(),Pt}export{Ca as W,Ma as a,ja as c,za as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as ht,br as E,bz as $t,bt as It,b as bt,bv as d}from"./CGWRZzdk.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as H,bV as N,aA as U}from"./DYhIMPy1.js";import{G as At}from"./
|
|
1
|
+
import{t as ht,br as E,bz as $t,bt as It,b as bt,bv as d}from"./CGWRZzdk.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as H,bV as N,aA as U}from"./DYhIMPy1.js";import{G as At}from"./DHP1DFPI.js";import{b as Dt}from"./BaIAhI85.js";import{Ix as a,et as Pt,eu as St,nU as Et,ze as Ut,nY as _t,nZ as xt,J2 as Ft,Jj as Tt,J7 as Wt,v3 as vt,uk as Lt}from"./CicdOSYm.js";import{b7 as Ht}from"./b-gQtgOb.js";import{g as Nt}from"./DfN8_dcw.js";import{dr as Ot,bN as qt,bC as Bt,bG as Gt,bE as Mt}from"./C0g2TqGQ.js";import{ae as Jt}from"./CVc7LcaQ.js";import{C as Kt}from"./DbNMpEC8.js";import{V as jt}from"./CMO4ot9F.js";import{bR as Vt,bL as zt,b6 as Yt}from"./CUp3pS17.js";import{i as Zt}from"./H2jLkRRS.js";function Qt(_,f){if(new.target)return ht({component:Qt,..._});yt(f,!0);const O=()=>d(X,"$gitRoots$",n),x=()=>d(Q,"$workspace",n),q=()=>d(st,"$ftCommits$",n),B=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),G=()=>d(Y,"$foldUnchanged",n),M=()=>d(z,"$lineWrapping",n),J=()=>d(Z,"$diffSideBySide",n),K=()=>d(at,"$ftLoading$",n),[n,j]=It(),V=e=>{jt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{H(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return G()},onToggleFold:()=>a.dispatch(Wt()),get wrapEnabled(){return M()},onToggleWrap:()=>a.dispatch(Tt()),get splitEnabled(){return J()},onToggleSplit:()=>a.dispatch(Ft())})},z=Vt(),Y=zt(),Z=Yt();let h=E(f,"tab",7),i=E(f,"workspaceId",7),$=E(f,"isActive",7);const F=Nt(),g=Ht(()=>i()),Q=Ot(g),X=Jt(g),w=crypto.randomUUID(),tt=qt(g,w),c=s(()=>h().data?.commitHash||""),T=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(Pt(e,"history")),()=>a.dispatch(St(e,"history"))});const r=s(()=>h().data?.gitRootId||""),W=s(()=>t(r)&&O().find(e=>e.id===t(r))?.path||""),et=s(()=>t(W)||x()?.worktreePath||x()?.repositoryPath||""),st=Bt(g),ot=Gt(g),at=Mt(g),nt=s(()=>q()||[]),it=s(()=>B()||[]),p=s(()=>t(r)?void 0:t(nt).find(e=>e.hash===t(c))||t(it).find(e=>e.hash===t(c))),A=s(()=>t(p)?.files||[]),D=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(D)?.result?.kind==="commitDetails"?t(D).result.details:null),rt=s(()=>t(l)?t(l).fileDetails.length>0?t(l).fileDetails:t(l).files.map(e=>({path:e,additions:0,deletions:0})):[]),dt=s(()=>t(D)?.loading??!1);k(()=>{const e=t(c),o=i(),I=t(r);if(!e||!o||t(A).length>0)return;const u=crypto.randomUUID();return a.dispatch(Et(o,w,u,{kind:"commitDetails",commitHash:e,gitRootId:I||void 0})),()=>a.dispatch(Ut(o,w,u))});const ct=s(()=>t(A).length>0?t(A):t(rt));let C=N(!0),R=N(null);const lt=s(()=>t(ct).map(e=>{const o=typeof e=="string"?e:e.path||"",I=typeof e=="string"?0:e.additions||0,u=typeof e=="string"?0:e.deletions||0;return{filePath:Zt(o)?o:`${t(et)}/${o}`,action:"modify",additions:I,deletions:u,toolName:"local",toolCallId:`commit-${t(c)}-${o}`,staged:!1,category:"committed",commitHash:t(c),commitMessage:t(T)}}));k(()=>{!F||!$()||F.registerActions({display:V})});const v=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(_t(e,v)),()=>a.dispatch(xt(e,v))});var mt={get tab(){return h()},set tab(e){h(e),U()},get workspaceId(){return i()},set workspaceId(e){i(e),U()},get isActive(){return $()},set isActive(e){$(e),U()},$set:$t,$on:(e,o)=>bt(f,e,o)},L=Ct(),gt=Rt(L);At(gt,()=>JSON.stringify([i(),t(r),t(c)]),e=>{{let o=s(()=>K()||t(dt)),I=s(()=>t(r)||void 0),u=s(()=>t(W)||void 0),ut=s(()=>({hash:t(c),message:t(T),author:t(p)?.author||t(l)?.author,authorEmail:t(p)?.authorEmail||t(l)?.authorEmail,date:t(p)?.date||t(l)?.date,agentId:t(p)?.agentId,linkedNoteId:t(p)?.linkedNoteId}));Dt(Kt(e,{get isLoading(){return t(o)},get changes(){return t(lt)},get gitRootId(){return t(I)},get gitRootPath(){return t(u)},get commitInfo(){return t(ut)},onOpenAgent:(b,m)=>{const P=m?.metaKey||m?.ctrlKey||!1,S=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Lt(i(),{agentId:b,openInAdjacentPanel:P,sourcePanelId:S}))},onOpenNote:(b,m)=>{const P=m?.metaKey||m?.ctrlKey||!1,S=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(vt(i(),b,{openInAdjacentPanel:P,sourcePanelId:S}))}}),b=>H(R,b,!0),()=>t(R))}}),kt(_,L);var pt=wt(mt);return j(),pt}export{Qt as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e}from"./
|
|
1
|
+
import{r as e}from"./BjnZ1Xf3.js";const s=[{id:"input-message-state-matrix",title:"Input message states",states:["helper","error","success","light","dark","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0}];e({id:"input-message",source:"src/lib/components/ui/input-message/input-message.svelte",publicImport:"$lib/components/ui/input-message",legacyImports:[],exports:["InputMessage","inputMessageMetadata"],category:"pattern",owner:"design-system",callers:["src/features/hud/components/DockConversationPanel.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/component-catalog/renderers/FieldPreviewCell.svelte","src/lib/component-catalog/renderers/ScreenStatesCatalogPreview.svelte","src/lib/components/ui/file-input/file-input.svelte","src/lib/components/ui/input-group/input-group.svelte","src/lib/components/ui/input/input.svelte","src/lib/components/ui/textarea/textarea.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/input-message/input-message.test.ts",removalGate:"Retain while helper and error semantics use fast-tier motion.",dynamicImports:[],fixtures:s,useWhen:["Explain a field or announce a validation error directly below its input."]});const t=[{id:"input-state-matrix",title:"Input states",states:["default","rest","hover","focus","empty","placeholder","disabled","read-only","invalid","error","described","keyboard-focus","long-content","light","dark","zoom-200","file","compact-28","medium-32","large-36","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0}];e({id:"input",source:"src/lib/components/ui/input/input.svelte",publicImport:"$lib/components/ui/input",legacyImports:["$lib/components/ui/input/index.js","$lib/components/ui/input/input.svelte"],exports:["Input","inputMetadata"],category:"primitive",owner:"007-B2",callers:["src/features/accept-changes/components/NativeReviewAttempt.svelte","src/features/accept-changes/components/NativeSidebarReview.svelte","src/features/accept-changes/components/RepositorySelectionEditor.svelte","src/features/collaboration-auth/renderer/CollaborationSignInModal.svelte","src/features/dev-console/DaemonLinksView.svelte","src/features/dev-console/TrafficInspector.svelte","src/features/home/HomeNewLabelDialog.svelte","src/features/home/HomeSearch.svelte","src/features/home/assistant-panels.preview.svelte","src/features/host-membership/HostInvitationDialog.svelte","src/features/hud/components/DockOverview.svelte","src/features/hud/media-editor/recording/DockRecordingFrameMarks.svelte","src/features/inline-html/InlineHtmlPreview.svelte","src/features/layout/components/content-header/ContentHeader.svelte","src/features/onboarding/messages/DirectoryPickerView.svelte","src/features/onboarding/messages/GitHubRepoTab.svelte","src/features/onboarding/messages/LocalRepoTab.svelte","src/features/onboarding/messages/NewProjectTab.svelte","src/lib/component-catalog/CatalogShell.svelte","src/lib/component-catalog/renderers/ContentFieldCatalogPreview.svelte","src/lib/component-catalog/renderers/FieldPreviewCell.svelte","src/lib/component-catalog/renderers/ModalCatalogPreview.svelte","src/lib/component-catalog/renderers/OverlayCatalogPreview.svelte","src/lib/component-catalog/renderers/PopoversCatalogPreview.svelte","src/lib/component-catalog/renderers/ProposalCatalogPreview.svelte","src/lib/components/CommandPalette.svelte","src/lib/components/GitLabConnectForm.svelte","src/lib/components/browser/BrowserViewerTabHeader.svelte","src/lib/components/browser/BrowserViewportDialog.svelte","src/lib/components/browser/EmbeddedBrowser.svelte","src/lib/components/chat/AgentCard.svelte","src/lib/components/chat/AssistantThreadTitle.svelte","src/lib/components/chat/ChatMessageNavigator.svelte","src/lib/components/chat/TaskProgressControl.svelte","src/lib/components/chat/input/ContextPickerButton.svelte","src/lib/components/chat/input/SimpleRichInput.svelte","src/lib/components/chat/input/mention-results.preview.svelte","src/lib/components/chat/proposals/ProposalCard.svelte","src/lib/components/chat/secrets/SecretRequestCard.svelte","src/lib/components/code-review/walkthrough/WalkthroughCommentThread.svelte","src/lib/components/code-review/walkthrough/WalkthroughInlineComment.svelte","src/lib/components/debug/DebugPanel.svelte","src/lib/components/file-explorer/VirtualizedFileTree.svelte","src/lib/components/file-explorer/file-explorer-sidebar.svelte","src/lib/components/layout/ConnectBackendForm.svelte","src/lib/components/layout/WorkspaceTabGroupChip.svelte","src/lib/components/layout/panel-system/PanelTabBar.svelte","src/lib/components/modals/FeatureCodeDialog.svelte","src/lib/components/modals/InputDialog.svelte","src/lib/components/modals/ShareWorkspaceDialog.svelte","src/lib/components/modals/modal-polish.preview.svelte","src/lib/components/patterns/confirm/ConfirmRequestView.svelte","src/lib/components/patterns/confirm/modal-heading-spacing.preview.svelte","src/lib/components/patterns/settings/SettingsControl.svelte","src/lib/components/patterns/settings/custom-controls.ts","src/lib/components/terminal/QuakeTerminalOverlay.svelte","src/lib/components/terminal/RootQuakeTerminalOverlay.svelte","src/lib/components/terminal/SetupScriptBanner.svelte","src/lib/components/terminal/TerminalSidebar.svelte","src/lib/components/tiptap/BubbleMenu.svelte","src/lib/components/ui/EditableName.svelte","src/lib/components/ui/dropdown/Dropdown.svelte","src/lib/components/ui/menu-search.preview.svelte","src/lib/components/ui/message-composer/message-composer.svelte","src/lib/components/ui/panel-find-bar/PanelFindBar.svelte","src/lib/components/ui/searchable-combobox/searchable-combobox.svelte","src/lib/components/ui/select/select.test-harness.svelte","src/lib/components/ui/sidebar/sidebar-input.svelte","src/lib/components/ui/text-entry-focus.preview.svelte","src/lib/components/ui/tooltip/tooltip-audit.preview.svelte","src/lib/components/workspace/CompactWorkspaceInitializer.svelte","src/lib/components/workspace/PullRequestCreator.svelte","src/lib/components/workspace/WorkspaceSidebarHeader.svelte","src/lib/components/workspace/initializer/AddRemoteSetupModal.svelte","src/lib/components/workspace/initializer/GitLabPickerList.svelte","src/lib/components/workspace/initializer/GitLabProjectPicker.svelte","src/lib/components/workspace/initializer/IssueSuggestions.svelte","src/lib/components/workspace/initializer/RepoSelector.svelte","src/lib/components/workspace/sidebar/BranchDisplay.svelte","src/lib/components/workspace/sidebar/CommitsTimeline.svelte","src/lib/components/workspace/sidebar/NotesPanel.svelte","src/lib/components/workspace/sidebar/PRSection.svelte","src/lib/components/workspace/sidebar/SidebarExpandableSearch.svelte","src/lib/components/workspace/sidebar/WorkspaceProgressCard.svelte","src/lib/components/workspace/sidebar/context-picker/BrowserUrlPicker.svelte","src/lib/components/workspace/sidebar/context-picker/LinearPicker.svelte","src/lib/components/workspace/sidebar/context-picker/SentryPicker.svelte","src/routes/sandbox/recipes/+page.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/input/input.test.ts",removalGate:"Retain while exported and binding, focus, validation, and fixture tests pass.",dynamicImports:[],fixtures:t});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{m as ds,j as ct}from"./uXuxG9cN.js";import{bp as c}from"./CGWRZzdk.js";import{Ia as it,Ix as o,c as A,bV as fs,g as U,h_ as gs,nx as T,q1 as ps,lO as hs,x_ as ms,nw as W,rn as _s,xZ as ut,rm as dt,nj as ft,no as bs,m1 as Ss,fE as gt,lK as ys,mc as ks,nN as $,iu as Cs,aR as ye,aM as se}from"./
|
|
1
|
+
import{m as ds,j as ct}from"./uXuxG9cN.js";import{bp as c}from"./CGWRZzdk.js";import{Ia as it,Ix as o,c as A,bV as fs,g as U,h_ as gs,nx as T,q1 as ps,lO as hs,x_ as ms,nw as W,rn as _s,xZ as ut,rm as dt,nj as ft,no as bs,m1 as Ss,fE as gt,lK as ys,mc as ks,nN as $,iu as Cs,aR as ye,aM as se}from"./CicdOSYm.js";import{bR as ws,cZ as vs,a_ as As,aF as Ts,ci as Is,bJ as Rs,bk as Es,br as Ps,al as xs,cF as Ms,cN as Ns,c3 as $s,bf as Ls}from"./By0eqGj-.js";import{a as Os,g as Ds,b as Ws,i as pe,C as le}from"./DypB-Dwi.js";import{bx as Us}from"./KJX0Kw6L.js";import{w as Fs}from"./DaaneYTG.js";import{d as Hs}from"./B10JrSzM.js";import{t as C,u as js}from"./BM1KP-FJ.js";var he=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(he||{});function al(e){return e.isPending===!0||e.status==="pending"}function Bs(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(it(e.model).providerId??t)||void 0}function ol(e){return e.messages.length>0}function qs(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function Gs(e){return e.contentBlocks?qs(e.contentBlocks):""}const ll=o.createSelector(e=>e.principal),Q=o.createSelector(Os),E=o.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===Q.select(e)?t.snapshot:null}),zs=o.createSelector(e=>E.select(e)?.daemonMode??null),cl=o.createSelector(e=>zs.select(e)==="orchestrator"),il=o.createSelector(e=>E.select(e)?.capabilities.agentPlugins===1),ul=o.createSelector(e=>E.select(e)?.capabilities.messageBlockPages===1),O=o.createSelector(e=>{const t=E.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),J=o.createSelector(e=>O.select(e)==="owner"),pt=o.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===Q.select(e)),dl=o.createSelector(e=>{const t=O.select(e);return t==="member"||t==="guest"||pt.select(e)}),fl=o.createSelector(e=>J.select(e)?Q.select(e):null),Zs=o.createSelector(e=>{const t=O.select(e);return t==="owner"||t==="member"}),ce=o.createSelector(e=>Fs.select(e)===!0&&!!E.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),gl=o.createSelector(e=>{const t=ce.select(e),s=E.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&J.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),ie=o.createSelector(Ds),pl=o.createSelector(Ws),hl=o.createSelector(e=>Zs.select(e)&&(J.select(e)||ce.select(e)));function Ks(e,t){const s=e.indexOf("/"),r=s===-1?void 0:e.slice(0,s),n=s===-1?e:e.slice(s+1),a=t?.indexOf("/")??-1,i=t&&a!==-1?t.slice(0,a):void 0;return r&&i&&r.toLowerCase()===i.toLowerCase()?n:e}function ht(e,t,s){return`${Ks(e,s)} #${t}`}function ke(e){return e.resource?.repository.provider==="gitlab"}function ml(e,t){return`${ke(e)?"!":"#"}${t}`}function Vs(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function Qs(e,t){return ke(e)?`${e.repo} !${e.prNumber}`:ht(e.repo,e.prNumber,t)}function _l(e){return e.resource?ds(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function bl(e){switch(e.monitorAvailability?.state){case void 0:case"available":return;case"pending":return c.chat_chatMessage_loading_label();case"reconnect-required":return c.chat_monitoredPrs_status_reconnect();case"restricted":return c.chat_monitoredPrs_status_restricted();case"unresolved":return c.chat_monitoredPrs_status_unresolved();default:return c.chat_monitoredPrs_status_unknown()}}function Sl(e){return e.isDraft===null||e.hasConflicts===null||e.isBehind===null||Object.values(e.checks).some(t=>t===null)||e.approvals.have===null||e.approvals.changesRequested===null||e.availability!==void 0&&Object.values(e.availability).some(t=>t!=="available")}function yl(e,t){if(!ke(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function mt(e){return e===A.Halted||e===A.Completed||e===A.Error||e===A.Deleted||e==="completed"||e==="failed"||e==="error"||e==="deleted"}function _t(e){return e.status===A.Halted?!1:!!(e.turnInFlight||e.liveTurnOpen||e.isStreaming||e.isProcessing||e.isResponding||e.isWaitingOnTool||e.lastToolUse?.status?.toLowerCase()==="running")}function bt(e){return e.status===A.Resuming||mt(e.status)||_t(e)?!1:!!(e.isWaitingForOtherAgents||e.status===A.Waiting||e.status==="waiting")}function Ys(e){return mt(e.status)||bt(e)?!1:!!(_t(e)||e.activationState==="activating"||e.status===A.Resuming||e.status===A.Active||e.status===A.Processing||e.status==="active"||e.status==="processing"||e.status==="responding"||e.status==="streaming")}function kl(e){return{isStreaming:e.isStreaming,isProcessing:e.isProcessing,isResponding:e.isResponding,turnInFlight:e.turnInFlight,liveTurnOpen:e.liveTurnOpen,isWaitingOnTool:e.isWaitingOnTool,isWaitingForOtherAgents:e.isWaitingForOtherAgents,lastToolUse:e.lastToolUse,activationState:e.activationState,status:e.status}}function Xs(e){if(!e)return null;const t=e.lastUserMessage||"";let s=e.lastAgentResponse||"",r;const n=e.digest||void 0,a=e.lastMessageRole==="user"||e.lastMessageRole==="assistant"?e.lastMessageRole:void 0;e.isStreaming&&e.lastToolUse?.name?(r={type:"tool_use",id:`live-tool:${e.id}`,name:e.lastToolUse.name,input:{}},s=""):!s&&!e.isStreaming&&e.lastToolUse?.name&&(r={type:"tool_use",id:`wire-tool:${e.id}`,name:e.lastToolUse.name,input:e.lastToolUse.input??{}});const i=e.metadata?.completionReport||void 0,l=fs(e)??void 0;return{id:e.id,name:e.name||c.chat_chatHeader_newChat_fallback(),status:e.status,lastUserMessage:t,lastResponse:s,lastToolUse:r,fileChanges:(e.fileChanges||[]).map(u=>({path:u.path,action:u.type||u.action||"modify",timestamp:u.timestamp||new Date().toISOString()})),messages:e.messages||[],completionReport:i,digest:n,parentAgentId:l,lastMessageRole:a}}function Cl(e,t){if(!e)return"";const s=e.split(`
|
|
2
2
|
`);for(;s.length>0&&s[s.length-1].trim()==="";)s.pop();return s.length===0?"":s.length<=t?s.join(`
|
|
3
3
|
`):`${s.slice(-t).join(`
|
|
4
4
|
`)}...`}const Js={prefix:"fas",iconName:"note-sticky",icon:[16,16,[],"e002","M2 3.75A.75.75 0 0 1 2.75 3h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 3.75ZM2 8a.75.75 0 0 1 .75-.75h10.5a.75.75 0 0 1 0 1.5H2.75A.75.75 0 0 1 2 8Zm0 4.25a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75Z"]},m={"file-read":Ls,"file-write":$s,"file-delete":Ns,terminal:Ms,search:ws,"context-engine":xs,api:Ps,workspace:Es,note:Js,meta:Rs,agent:Is,task:Ts,browser:As,generic:vs},er=["workspace-mcp_","workspace_mcp_","filesystem_","browser-mcp_","browser_mcp_"],tr=["_workspace-mcp","-workspace-mcp","_playwright","_browser_mcp","_context_7","_svelte","_npx","_sequential_thinking","_figma","_slack","_sentry","_github","_linear","_notion","_jira"];function St(e){return!!e&&/^(mcp__|mcp\.)/i.test(e)}const Oe=/select:\s*mcp(__|\.)/i,sr=/^select:\s*mcp(__|\.)/i;function rr(e,t={}){if(B(e).toLowerCase()==="toolsearch"||typeof t.query=="string"&&sr.test(t.query))return!0;const s=typeof t._acpTitle=="string"?t._acpTitle:"";return Oe.test(e||"")||Oe.test(s)}function B(e){if(!e)return"";const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]),e=e.replace(/^mcp__[^_]+__/,""),e=e.replace(/^mcp\.[^.]+\./,"");const s=e.toLowerCase();for(const n of er)if(s.startsWith(n)){e=e.slice(n.length);break}let r=!0;for(;r;){r=!1;const n=e.toLowerCase();for(const a of tr)if(n.endsWith(a)){e=e.slice(0,-a.length),r=!0;break}}return e}function yt(e){const t=e.trim();return/\s/.test(t)?/^[A-Za-z0-9._-]+:\s/.test(t)?!0:t.split(/\s+/).length>=3:!1}function kt(e){const t=e.trim().match(/^List\s+directory\s+\x60([^\x60]+)\x60$/i);if(!t)return null;const s=t[1].trim();return s.length===0?null:{category:"file-read",icon:m["file-read"],verb:c.chat_toolClassifier_listContents_label(),subject:R(s)||s,path:N(s)||null,filePath:s||null,isDirectory:!0}}function Ct(e){const t=e.toLowerCase(),s=t.includes("agent")?"agent":t.includes("note")?"note":t.includes("workspace")?"workspace":"generic";return{category:s,icon:m[s],verb:f(e.trim(),120),subject:null,path:null}}const nr=[{suffix:"_workspace-mcp",source:"workspace-mcp"},{suffix:"-workspace-mcp",source:"workspace-mcp"},{suffix:"_browser_mcp",source:"browser-mcp"},{suffix:"_playwright",source:"playwright"},{suffix:"_sequential_thinking",source:"sequential-thinking"},{suffix:"_context_7",source:"context7"},{suffix:"_figma",source:"figma"},{suffix:"_sentry",source:"sentry"},{suffix:"_github",source:"github"},{suffix:"_linear",source:"linear"},{suffix:"_slack",source:"slack"},{suffix:"_notion",source:"notion"},{suffix:"_jira",source:"jira"},{suffix:"_svelte",source:"svelte"},{suffix:"_npx",source:"npx"}],ar=[{prefix:"workspace-mcp_",source:"workspace-mcp"},{prefix:"workspace_mcp_",source:"workspace-mcp"},{prefix:"browser-mcp_",source:"browser-mcp"},{prefix:"browser_mcp_",source:"browser-mcp"},{prefix:"filesystem_",source:"filesystem"}],De={"github-api":"github",linear:"linear",glean:"glean"},or=new Set(["view","codebase-retrieval","codebase_retrieval","launch-process","launch_process","read-process","read_process","write-process","write_process","kill-process","kill_process","list-processes","list_processes","str-replace-editor","str_replace_editor","save-file","save_file","remove-files","remove_files","web-search","web_search","web-fetch","web_fetch","conversation-retrieval","conversation_retrieval","git-commit-retrieval","git_commit_retrieval","bash","read","edit","run","find","grep"]);function lr(e){if(!e)return;const t=e.match(/\/\/local\/mcp\/(.+)$/);t&&(e=t[1]);const s=e.match(/^mcp__([^_]+)__/);if(s)return s[1].toLowerCase();const r=e.match(/^mcp\.([^.]+)\./);if(r)return r[1].toLowerCase();const n=e.toLowerCase();for(const{prefix:a,source:i}of ar)if(n.startsWith(a))return i;for(const{suffix:a,source:i}of nr)if(n.endsWith(a))return i;if(De[n])return De[n];or.has(n)}function x(e){return typeof e=="string"?e:e==null?"":String(e)}function f(e,t=50){const s=x(e);return s.length>t?`${s.substring(0,t)}...`:s}function Ce(e){if(e==null)return null;if(typeof e=="string")return e;if(Array.isArray(e)){const t=e.filter(s=>s&&typeof s=="object"&&s.type==="text"&&s.text).map(s=>s.text);return t.length>0?t.join(`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{g as Ut}from"./Ci9pTyYA.js";import{s as Kt}from"./DbnF6Yok.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./CTjSHpOw.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
1
|
+
import{g as Ut}from"./DiAIgif8.js";import{s as Kt}from"./Bwjn3GNi.js";import{b as f,C as Tt,a_ as Zt,V as jt,aZ as Wt,U as qt,b0 as Ht,Y as Qt,X as tt,ay as F,z as Xt,r as Jt,$ as $t,am as te,aU as ee,ab as se,aG as ie,aT as re,p as ae,_ as ne,a1 as oe,aP as ce,aW as le,bh as he}from"./B1ywot0G.js";var Ct=(function(){var s=f(function(G,n,l,d){for(l=l||{},d=G.length;d--;l[G[d]]=n);return l},"o"),a=[6,9,21,23,25,27,34,37,38,39,40,41,43,46,47,51,53,54,55],o=[2,2],c=[1,7],r=[1,9],u=[1,10],y=[1,11],g=[1,12],k=[1,30],C=[1,23],p=[1,24],b=[1,25],A=[1,26],v=[1,27],O=[1,19],N=[1,28],I=[1,29],x=[1,20],D=[1,18],L=[1,21],w=[1,22],Ot=[2,6],h=[6,9,21,23,25,27,33,34,37,38,39,40,41,43,46,47,51,53,54,55],dt=[1,36],pt=[1,37],ft=[1,38],bt=[1,39],gt=[1,40],Z=[6,9,12,14,16,19,20,21,23,25,27,33,34,37,38,39,40,41,43,46,47,50,51,53,54,55,69,70,71,72,73],V=[1,46],M=[1,47],j=[1,57],W=[43,51,53,54,55,74,75],q=[1,70],H=[1,68],B=[1,65],Q=[1,69],X=[1,71],et=[6,9,12,16,21,23,25,27,33,34,37,38,39,40,41,43,44,45,46,47,51,52,53,54,55,69,70,71,72,73],st=[1,78],it=[1,77],rt=[1,76],Nt=[69,70,71,72,73],xt=[1,91],At=[6,9,45,50],z=[6,9,12,44,45,50,51,52],at=[1,101],nt=[1,100],ot=[1,99],J=[18,61],It=[1,110],Rt=[1,109],vt=[20,43,51,53,54,55],yt=[18,61,64,66],_t={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,statement:8,NEWLINE:9,entityName:10,relSpec:11,COLON:12,role:13,STYLE_SEPARATOR:14,idList:15,BLOCK_START:16,attributes:17,BLOCK_STOP:18,SQS:19,SQE:20,title:21,title_value:22,acc_title:23,acc_title_value:24,acc_descr:25,acc_descr_value:26,acc_descr_multiline_value:27,direction:28,classDefStatement:29,classStatement:30,styleStatement:31,subgraphHeader:32,END:33,SUBGRAPH:34,separator:35,subgraphTitle:36,direction_tb:37,direction_bt:38,direction_rl:39,direction_lr:40,CLASSDEF:41,stylesOpt:42,UNICODE_TEXT:43,STYLE_TEXT:44,COMMA:45,CLASS:46,STYLE:47,style:48,styleComponent:49,SEMI:50,NUM:51,BRKT:52,ENTITY_NAME:53,DECIMAL_NUM:54,ENTITY_ONE:55,attribute:56,attributeType:57,attributeName:58,attributeKeyTypeList:59,attributeComment:60,ATTRIBUTE_WORD:61,"?":62,attributeKeyType:63,",":64,ATTRIBUTE_KEY:65,COMMENT:66,cardinality:67,relType:68,ZERO_OR_ONE:69,ZERO_OR_MORE:70,ONE_OR_MORE:71,ONLY_ONE:72,MD_PARENT:73,NON_IDENTIFYING:74,IDENTIFYING:75,WORD:76,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"NEWLINE",12:"COLON",14:"STYLE_SEPARATOR",16:"BLOCK_START",18:"BLOCK_STOP",19:"SQS",20:"SQE",21:"title",22:"title_value",23:"acc_title",24:"acc_title_value",25:"acc_descr",26:"acc_descr_value",27:"acc_descr_multiline_value",33:"END",34:"SUBGRAPH",37:"direction_tb",38:"direction_bt",39:"direction_rl",40:"direction_lr",41:"CLASSDEF",43:"UNICODE_TEXT",44:"STYLE_TEXT",45:"COMMA",46:"CLASS",47:"STYLE",50:"SEMI",51:"NUM",52:"BRKT",53:"ENTITY_NAME",54:"DECIMAL_NUM",55:"ENTITY_ONE",61:"ATTRIBUTE_WORD",62:"?",64:",",65:"ATTRIBUTE_KEY",66:"COMMENT",69:"ZERO_OR_ONE",70:"ZERO_OR_MORE",71:"ONE_OR_MORE",72:"ONLY_ONE",73:"MD_PARENT",74:"NON_IDENTIFYING",75:"IDENTIFYING",76:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[7,1],[8,5],[8,9],[8,7],[8,7],[8,4],[8,6],[8,3],[8,5],[8,1],[8,3],[8,7],[8,9],[8,6],[8,8],[8,4],[8,6],[8,2],[8,2],[8,2],[8,1],[8,1],[8,1],[8,1],[8,1],[8,3],[32,3],[32,6],[36,1],[36,2],[28,1],[28,1],[28,1],[28,1],[29,4],[15,1],[15,1],[15,3],[15,3],[30,3],[31,4],[42,1],[42,3],[48,1],[48,2],[35,1],[35,1],[35,1],[49,1],[49,1],[49,1],[49,1],[10,1],[10,1],[10,1],[10,1],[10,1],[17,1],[17,2],[56,2],[56,3],[56,3],[56,4],[57,1],[57,2],[58,1],[59,1],[59,3],[63,1],[60,1],[11,3],[67,1],[67,1],[67,1],[67,1],[67,1],[68,1],[68,1],[13,1],[13,1],[13,1]],performAction:f(function(n,l,d,i,_,t,$){var e=t.length-1;switch(_){case 1:break;case 2:this.$=[];break;case 3:this.$=t[e-1].concat(t[e]);break;case 4:this.$=t[e];break;case 5:case 6:this.$=[];break;case 7:i.addEntity(t[e-4]),i.addEntity(t[e-2]),i.addRelationship(t[e-4],t[e],t[e-2],t[e-3]),this.$=[t[e-4],t[e-2]];break;case 8:i.addEntity(t[e-8]),i.addEntity(t[e-4]),i.addRelationship(t[e-8],t[e],t[e-4],t[e-5]),i.setClass([t[e-8]],t[e-6]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-8],t[e-4]];break;case 9:i.addEntity(t[e-6]),i.addEntity(t[e-2]),i.addRelationship(t[e-6],t[e],t[e-2],t[e-3]),i.setClass([t[e-6]],t[e-4]),this.$=[t[e-6],t[e-2]];break;case 10:i.addEntity(t[e-6]),i.addEntity(t[e-4]),i.addRelationship(t[e-6],t[e],t[e-4],t[e-5]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-6],t[e-4]];break;case 11:i.addEntity(t[e-3]),i.addAttributes(t[e-3],t[e-1]),this.$=[t[e-3]];break;case 12:i.addEntity(t[e-5]),i.addAttributes(t[e-5],t[e-1]),i.setClass([t[e-5]],t[e-3]),this.$=[t[e-5]];break;case 13:i.addEntity(t[e-2]),this.$=[t[e-2]];break;case 14:i.addEntity(t[e-4]),i.setClass([t[e-4]],t[e-2]),this.$=[t[e-4]];break;case 15:i.addEntity(t[e]),this.$=[t[e]];break;case 16:i.addEntity(t[e-2]),i.setClass([t[e-2]],t[e]),this.$=[t[e-2]];break;case 17:i.addEntity(t[e-6],t[e-4]),i.addAttributes(t[e-6],t[e-1]),this.$=[t[e-6]];break;case 18:i.addEntity(t[e-8],t[e-6]),i.addAttributes(t[e-8],t[e-1]),i.setClass([t[e-8]],t[e-3]),this.$=[t[e-8]];break;case 19:i.addEntity(t[e-5],t[e-3]),this.$=[t[e-5]];break;case 20:i.addEntity(t[e-7],t[e-5]),i.setClass([t[e-7]],t[e-2]),this.$=[t[e-7]];break;case 21:i.addEntity(t[e-3],t[e-1]);break;case 22:i.addEntity(t[e-5],t[e-3]),i.setClass([t[e-5]],t[e]);break;case 23:case 24:this.$=t[e].trim(),i.setAccTitle(this.$);break;case 25:case 26:this.$=t[e].trim(),i.setAccDescription(this.$);break;case 27:i.subgraphDepth?this.$=t[e]:(i.setDirection(t[e].value),this.$=[]);break;case 31:i.subgraphDepth=(i.subgraphDepth||1)-1,this.$=i.addSubGraph({text:t[e-2].id},t[e-1],{text:t[e-2].text});break;case 32:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-1],text:t[e-1]};break;case 33:i.subgraphDepth=(i.subgraphDepth||0)+1,this.$={id:t[e-4],text:t[e-2]};break;case 34:case 59:case 60:case 61:case 62:case 86:this.$=t[e];break;case 35:this.$=t[e-1]+" "+t[e];break;case 36:this.$={stmt:"dir",value:"TB"};break;case 37:this.$={stmt:"dir",value:"BT"};break;case 38:this.$={stmt:"dir",value:"RL"};break;case 39:this.$={stmt:"dir",value:"LR"};break;case 40:this.$=t[e-3],i.addClass(t[e-2],t[e-1]);break;case 41:case 42:case 63:case 72:this.$=[t[e]];break;case 43:case 44:this.$=t[e-2].concat([t[e]]);break;case 45:this.$=t[e-2],i.setClass(t[e-1],t[e]);break;case 46:this.$=t[e-3],i.addCssStyles(t[e-2],t[e-1]);break;case 47:this.$=[t[e]];break;case 48:t[e-2].push(t[e]),this.$=t[e-2];break;case 50:this.$=t[e-1]+t[e];break;case 58:case 84:case 85:this.$=t[e].replace(/"/g,"");break;case 64:t[e].push(t[e-1]),this.$=t[e];break;case 65:this.$={type:t[e-1],name:t[e]};break;case 66:this.$={type:t[e-2],name:t[e-1],keys:t[e]};break;case 67:this.$={type:t[e-2],name:t[e-1],comment:t[e]};break;case 68:this.$={type:t[e-3],name:t[e-2],keys:t[e-1],comment:t[e]};break;case 69:case 71:case 74:this.$=t[e];break;case 70:this.$=t[e-1]+t[e];break;case 73:t[e-2].push(t[e]),this.$=t[e-2];break;case 75:this.$=t[e].replace(/"/g,"");break;case 76:this.$={cardA:t[e],relType:t[e-1],cardB:t[e-2]};break;case 77:this.$=i.Cardinality.ZERO_OR_ONE;break;case 78:this.$=i.Cardinality.ZERO_OR_MORE;break;case 79:this.$=i.Cardinality.ONE_OR_MORE;break;case 80:this.$=i.Cardinality.ONLY_ONE;break;case 81:this.$=i.Cardinality.MD_PARENT;break;case 82:this.$=i.Identification.NON_IDENTIFYING;break;case 83:this.$=i.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},s(a,o,{5:3}),{6:[1,4],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},s(a,Ot,{1:[2,1]}),s(h,[2,3]),s(h,[2,4]),s(h,[2,5]),s(h,[2,15],{11:31,67:35,14:[1,32],16:[1,33],19:[1,34],69:dt,70:pt,71:ft,72:bt,73:gt}),{22:[1,41]},{24:[1,42]},{26:[1,43]},s(h,[2,26]),s(h,[2,27]),s(h,[2,28]),s(h,[2,29]),s(h,[2,30]),s(h,o,{5:44}),s(Z,[2,58]),s(Z,[2,59]),s(Z,[2,60]),s(Z,[2,61]),s(Z,[2,62]),s(h,[2,36]),s(h,[2,37]),s(h,[2,38]),s(h,[2,39]),{15:45,43:V,44:M},{15:48,43:V,44:M},{15:49,43:V,44:M},{10:50,43:O,51:x,53:D,54:L,55:w},{10:51,43:O,51:x,53:D,54:L,55:w},{15:52,43:V,44:M},{17:53,18:[1,54],56:55,57:56,61:j},{10:58,43:O,51:x,53:D,54:L,55:w},{68:59,74:[1,60],75:[1,61]},s(W,[2,77]),s(W,[2,78]),s(W,[2,79]),s(W,[2,80]),s(W,[2,81]),s(h,[2,23]),s(h,[2,24]),s(h,[2,25]),{6:[1,63],7:5,8:6,9:c,10:8,21:r,23:u,25:y,27:g,28:13,29:14,30:15,31:16,32:17,33:[1,62],34:k,37:C,38:p,39:b,40:A,41:v,43:O,46:N,47:I,51:x,53:D,54:L,55:w},{12:q,42:64,44:H,45:B,48:66,49:67,51:Q,52:X},s(et,[2,41]),s(et,[2,42]),{15:72,43:V,44:M,45:B},{12:q,42:73,44:H,45:B,48:66,49:67,51:Q,52:X},{6:st,9:it,19:[1,75],35:74,50:rt},{12:[1,79],14:[1,80]},s(h,[2,16],{67:35,11:81,16:[1,82],45:B,69:dt,70:pt,71:ft,72:bt,73:gt}),{18:[1,83]},s(h,[2,13]),{17:84,18:[2,63],56:55,57:56,61:j},{58:85,61:[1,86]},{61:[2,69],62:[1,87]},{20:[1,88]},{67:89,69:dt,70:pt,71:ft,72:bt,73:gt},s(Nt,[2,82]),s(Nt,[2,83]),s(h,[2,31]),s(h,Ot),{6:st,9:it,35:90,45:xt,50:rt},{43:[1,92],44:[1,93]},s(At,[2,47],{49:94,12:q,44:H,51:Q,52:X}),s(z,[2,49]),s(z,[2,54]),s(z,[2,55]),s(z,[2,56]),s(z,[2,57]),s(h,[2,45],{45:B}),{6:st,9:it,35:95,45:xt,50:rt},s(h,[2,32]),{10:97,36:96,43:O,51:x,53:D,54:L,55:w},s(h,[2,51]),s(h,[2,52]),s(h,[2,53]),{13:98,43:at,53:nt,76:ot},{15:102,43:V,44:M},{10:103,43:O,51:x,53:D,54:L,55:w},{17:104,18:[1,105],56:55,57:56,61:j},s(h,[2,11]),{18:[2,64]},s(J,[2,65],{59:106,60:107,63:108,65:It,66:Rt}),s([18,61,65,66],[2,71]),{61:[2,70]},s(h,[2,21],{14:[1,112],16:[1,111]}),s([43,51,53,54,55],[2,76]),s(h,[2,40]),{12:q,44:H,48:113,49:67,51:Q,52:X},s(et,[2,43]),s(et,[2,44]),s(z,[2,50]),s(h,[2,46]),{10:115,20:[1,114],43:O,51:x,53:D,54:L,55:w},s(vt,[2,34]),s(h,[2,7]),s(h,[2,84]),s(h,[2,85]),s(h,[2,86]),{12:[1,116],45:B},{12:[1,118],14:[1,117]},{18:[1,119]},s(h,[2,14]),s(J,[2,66],{60:120,64:[1,121],66:Rt}),s(J,[2,67]),s(yt,[2,72]),s(J,[2,75]),s(yt,[2,74]),{17:122,18:[1,123],56:55,57:56,61:j},{15:124,43:V,44:M},s(At,[2,48],{49:94,12:q,44:H,51:Q,52:X}),{6:st,9:it,35:125,50:rt},s(vt,[2,35]),{13:126,43:at,53:nt,76:ot},{15:127,43:V,44:M},{13:128,43:at,53:nt,76:ot},s(h,[2,12]),s(J,[2,68]),{63:129,65:It},{18:[1,130]},s(h,[2,19]),s(h,[2,22],{16:[1,131],45:B}),s(h,[2,33]),s(h,[2,10]),{12:[1,132],45:B},s(h,[2,9]),s(yt,[2,73]),s(h,[2,17]),{17:133,18:[1,134],56:55,57:56,61:j},{13:135,43:at,53:nt,76:ot},{18:[1,136]},s(h,[2,20]),s(h,[2,8]),s(h,[2,18])],defaultActions:{84:[2,64],87:[2,70]},parseError:f(function(n,l){if(l.recoverable)this.trace(n);else{var d=new Error(n);throw d.hash=l,d}},"parseError"),parse:f(function(n){var l=this,d=[0],i=[],_=[null],t=[],$=this.table,e="",lt=0,Dt=0,Ft=2,Lt=1,Yt=t.slice.call(arguments,1),m=Object.create(this.lexer),Y={yy:{}};for(var kt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,kt)&&(Y.yy[kt]=this.yy[kt]);m.setInput(n,Y.yy),Y.yy.lexer=m,Y.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var mt=m.yylloc;t.push(mt);var Pt=m.options&&m.options.ranges;typeof Y.yy.parseError=="function"?this.parseError=Y.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function zt(S){d.length=d.length-2*S,_.length=_.length-S,t.length=t.length-S}f(zt,"popStack");function wt(){var S;return S=i.pop()||m.lex()||Lt,typeof S!="number"&&(S instanceof Array&&(i=S,S=i.pop()),S=l.symbols_[S]||S),S}f(wt,"lex");for(var E,P,T,Et,U={},ht,R,Vt,ut;;){if(P=d[d.length-1],this.defaultActions[P]?T=this.defaultActions[P]:((E===null||typeof E>"u")&&(E=wt()),T=$[P]&&$[P][E]),typeof T>"u"||!T.length||!T[0]){var St="";ut=[];for(ht in $[P])this.terminals_[ht]&&ht>Ft&&ut.push("'"+this.terminals_[ht]+"'");m.showPosition?St="Parse error on line "+(lt+1)+`:
|
|
2
2
|
`+m.showPosition()+`
|
|
3
3
|
Expecting `+ut.join(", ")+", got '"+(this.terminals_[E]||E)+"'":St="Parse error on line "+(lt+1)+": Unexpected "+(E==Lt?"end of input":"'"+(this.terminals_[E]||E)+"'"),this.parseError(St,{text:m.match,token:this.terminals_[E]||E,line:m.yylineno,loc:mt,expected:ut})}if(T[0]instanceof Array&&T.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+E);switch(T[0]){case 1:d.push(E),_.push(m.yytext),t.push(m.yylloc),d.push(T[1]),E=null,Dt=m.yyleng,e=m.yytext,lt=m.yylineno,mt=m.yylloc;break;case 2:if(R=this.productions_[T[1]][1],U.$=_[_.length-R],U._$={first_line:t[t.length-(R||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(R||1)].first_column,last_column:t[t.length-1].last_column},Pt&&(U._$.range=[t[t.length-(R||1)].range[0],t[t.length-1].range[1]]),Et=this.performAction.apply(U,[e,Dt,lt,Y.yy,T[1],_,t].concat(Yt)),typeof Et<"u")return Et;R&&(d=d.slice(0,-1*R*2),_=_.slice(0,-1*R),t=t.slice(0,-1*R)),d.push(this.productions_[T[1]][0]),_.push(U.$),t.push(U._$),Vt=$[d[d.length-2]][d[d.length-1]],d.push(Vt);break;case 3:return!0}}return!0},"parse")},Gt=(function(){var G={EOF:1,parseError:f(function(l,d){if(this.yy.parser)this.yy.parser.parseError(l,d);else throw new Error(l)},"parseError"),setInput:f(function(n,l){return this.yy=l||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var l=n.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),n},"input"),unput:f(function(n){var l=n.length,d=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===i.length?this.yylloc.first_column:0)+i[i.length-d.length].length-d[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(n){this.unput(this.match.slice(n))},"less"),pastInput:f(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var n=this.match;return n.length<20&&(n+=this._input.substr(0,20-n.length)),(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var n=this.pastInput(),l=new Array(n.length+1).join("-");return n+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{p as I}from"./
|
|
1
|
+
import{p as I}from"./DJuVbNrB.js";import{aZ as _,U as E,Y as F,b0 as D,V as P,a_ as z,b as c,aX as G,r as B,q as w,W as C,O as W,ay as b,a6 as V,B as H}from"./B1ywot0G.js";import{p as U}from"./DkvJR80T.js";var m={showLegend:!0,ticks:5,max:null,min:0,graticule:"circle"},y=32,A={axes:[],curves:[],options:m},x=structuredClone(A),X=W.radar,j=c(()=>w({...X,...C().radar}),"getConfig"),M=c(()=>x.axes,"getAxes"),Y=c(()=>x.curves,"getCurves"),Z=c(()=>x.options,"getOptions"),q=c(a=>{x.axes=a.map(t=>({name:t.name,label:t.label??t.name}))},"setAxes"),K=c(a=>{x.curves=a.map(t=>({name:t.name,label:t.label??t.name,entries:N(t.entries)}))},"setCurves"),N=c(a=>{if(a[0].axis==null)return a.map(e=>e.value);const t=M();if(t.length===0)throw new Error("Axes must be populated before curves for reference entries");return t.map(e=>{const r=a.find(s=>s.axis?.$refText===e.name);if(r===void 0)throw new Error("Missing entry for axis "+e.label);return r.value})},"computeCurveEntries"),J=c(a=>{const t=a.reduce((e,r)=>(e[r.name]=r,e),{});x.options={showLegend:t.showLegend?.value??m.showLegend,ticks:t.ticks?.value??m.ticks,max:t.max?.value??m.max,min:t.min?.value??m.min,graticule:t.graticule?.value??m.graticule},x.options.ticks>y&&(b.warn(`Radar diagram ticks (${x.options.ticks}) exceeds maximum allowed (${y}). Using ${y} instead.`),x.options.ticks=y)},"setOptions"),Q=c(()=>{B(),x=structuredClone(A)},"clear"),$={getAxes:M,getCurves:Y,getOptions:Z,setAxes:q,setCurves:K,setOptions:J,getConfig:j,clear:Q,setAccTitle:z,getAccTitle:P,setDiagramTitle:D,getDiagramTitle:F,getAccDescription:E,setAccDescription:_},tt=c(a=>{I(a,$);const{axes:t,curves:e,options:r}=a;$.setAxes(t),$.setCurves(e),$.setOptions(r)},"populate"),et={parse:c(async a=>{const t=await U("radar",a);b.debug(t),tt(t)},"parse")},at=c((a,t,e,r)=>{const s=r.db,i=s.getAxes(),l=s.getCurves(),n=s.getOptions(),o=s.getConfig(),d=s.getDiagramTitle(),p=G(t),u=rt(p,o),g=n.max??Math.max(...l.map(f=>Math.max(...f.entries))),h=n.min,v=Math.min(o.width,o.height)/2;st(u,i,v,n.ticks,n.graticule),nt(u,i,v,o),L(u,i,l,h,g,n.graticule,o),k(u,l,n.showLegend,o),u.append("text").attr("class","radarTitle").text(d).attr("x",0).attr("y",-o.height/2-o.marginTop)},"draw"),rt=c((a,t)=>{const e=t.width+t.marginLeft+t.marginRight,r=t.height+t.marginTop+t.marginBottom,s={x:t.marginLeft+t.width/2,y:t.marginTop+t.height/2};return H(a,r,e,t.useMaxWidth??!0),a.attr("viewBox",`0 0 ${e} ${r}`).attr("overflow","visible"),a.append("g").attr("transform",`translate(${s.x}, ${s.y})`)},"drawFrame"),st=c((a,t,e,r,s)=>{if(s==="circle")for(let i=0;i<r;i++){const l=e*(i+1)/r;a.append("circle").attr("r",l).attr("class","radarGraticule")}else if(s==="polygon"){const i=t.length;for(let l=0;l<r;l++){const n=e*(l+1)/r,o=t.map((d,p)=>{const u=2*p*Math.PI/i-Math.PI/2,g=n*Math.cos(u),h=n*Math.sin(u);return`${g},${h}`}).join(" ");a.append("polygon").attr("points",o).attr("class","radarGraticule")}}},"drawGraticule"),nt=c((a,t,e,r)=>{const s=t.length;for(let i=0;i<s;i++){const l=t[i].label,n=2*i*Math.PI/s-Math.PI/2,o=Math.cos(n),d=Math.sin(n);a.append("line").attr("x1",0).attr("y1",0).attr("x2",e*r.axisScaleFactor*o).attr("y2",e*r.axisScaleFactor*d).attr("class","radarAxisLine");const p=o>.01?"start":o<-.01?"end":"middle",u=d>.01?"hanging":d<-.01?"auto":"central",g=4;a.append("text").text(l).attr("x",e*r.axisLabelFactor*o+g*o).attr("y",e*r.axisLabelFactor*d+g*d).attr("text-anchor",p).attr("dominant-baseline",u).attr("class","radarAxisLabel")}},"drawAxes");function L(a,t,e,r,s,i,l){const n=t.length,o=Math.min(l.width,l.height)/2;e.forEach((d,p)=>{if(d.entries.length!==n)return;const u=d.entries.map((g,h)=>{const v=2*Math.PI*h/n-Math.PI/2,f=T(g,r,s,o),O=f*Math.cos(v),R=f*Math.sin(v);return{x:O,y:R}});i==="circle"?a.append("path").attr("d",S(u,l.curveTension)).attr("class",`radarCurve-${p}`):i==="polygon"&&a.append("polygon").attr("points",u.map(g=>`${g.x},${g.y}`).join(" ")).attr("class",`radarCurve-${p}`)})}c(L,"drawCurves");function T(a,t,e,r){const s=Math.min(Math.max(a,t),e);return r*(s-t)/(e-t)}c(T,"relativeRadius");function S(a,t){const e=a.length;let r=`M${a[0].x},${a[0].y}`;for(let s=0;s<e;s++){const i=a[(s-1+e)%e],l=a[s],n=a[(s+1)%e],o=a[(s+2)%e],d={x:l.x+(n.x-i.x)*t,y:l.y+(n.y-i.y)*t},p={x:n.x-(o.x-l.x)*t,y:n.y-(o.y-l.y)*t};r+=` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`}return`${r} Z`}c(S,"closedRoundCurve");function k(a,t,e,r){if(!e)return;const s=(r.width/2+r.marginRight)*3/4,i=-(r.height/2+r.marginTop)*3/4,l=20;t.forEach((n,o)=>{const d=a.append("g").attr("transform",`translate(${s}, ${i+o*l})`);d.append("rect").attr("width",12).attr("height",12).attr("class",`radarLegendBox-${o}`),d.append("text").attr("x",16).attr("y",0).attr("class","radarLegendText").text(n.label)})}c(k,"drawLegend");var ot={draw:at},it=c((a,t)=>{let e="";for(let r=0;r<a.THEME_COLOR_LIMIT;r++){const s=a[`cScale${r}`];e+=`
|
|
2
2
|
.radarCurve-${r} {
|
|
3
3
|
color: ${s};
|
|
4
4
|
fill: ${s};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as t}from"./YqTahsxp.js";import{Ix as r}from"./CicdOSYm.js";import{bT as o}from"./CvmMeam2.js";function a(e){return!e||t().status!=="connected"?null:o.select(r.state,e)}export{a as resolveConnectedWorkspaceKeySlot};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a3,br as p,a_ as I,bz as t3,b as s3}from"./CGWRZzdk.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as f,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as m,bH as B}from"./DYhIMPy1.js";import{z as v3}from"./
|
|
1
|
+
import{t as a3,br as p,a_ as I,bz as t3,b as s3}from"./CGWRZzdk.js";import{bs as r3,a5 as l3,aD as t,bA as L,b_ as v,W as f,bn as o3,c9 as o,bV as S,aA as u,ay as n3,bS as i3,aw as N,bz as c3,bl as Z,bO as A,aB as m,bH as B}from"./DYhIMPy1.js";import{z as v3}from"./MgErAKgQ.js";import{v as _,w as x,u as F}from"./BjnZ1Xf3.js";import{F as f3,aP as m3,aH as g3,aY as p3,cq as u3,al as d3}from"./By0eqGj-.js";var h3=m("<div></div>"),b3=m('<span class="type-caption absolute text-subtle font-medium"> </span>'),w3=m("<img/> <!>",1),C3=m('<span class="type-caption text-subtle font-medium"> </span>'),_3=m("<div><!></div>");function x3(y,n){if(new.target)return a3({component:x3,...y});r3(n,!0);let r=p(n,"iconName",7),i=p(n,"label",7),l=p(n,"size",7,20),d=p(n,"class",7,"");const j={redis:"redis",mongodb:"mongodb",circleci:"circleci",vercel:"vercel",railway:"railway",convex:"convex",snowflake:"snowflake",sentry:"sentry",figma:"figma",github:"github",linear:"linear"},D={figma:"https://upload.wikimedia.org/wikipedia/commons/thumb/3/33/Figma-logo.svg/960px-Figma-logo.svg.png",playwright:"https://ray.run/playwright-brand-assets/playwright-logo.svg"},E={context7:'<svg width="28" height="28" viewBox="0 0 28 28" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M24 0C26.2091 0 28 1.79086 28 4V24C28 26.2091 26.2091 28 24 28H4C1.79086 28 0 26.2091 0 24V4C0 1.79086 1.79086 0 4 0H24ZM8.58008 15.2559C8.58008 17.8621 7.95482 19.3557 6.33398 21.1885V22.7783H11.6309V21.1045H8.17773C9.66098 19.3776 10.5723 17.5019 10.5723 15.2559H8.58008ZM17.4268 15.2559C17.4268 17.5019 18.338 19.3776 19.8213 21.1045H16.3672V22.7783H21.6641V21.1885C20.0433 19.3558 19.4189 17.862 19.4189 15.2559H17.4268ZM6.33398 6.80957C7.95495 8.64244 8.58008 10.137 8.58008 12.7432H10.5713C10.5713 10.4972 9.66094 8.62143 8.17773 6.89453H11.6309V5.2207H6.33398V6.80957ZM16.3672 5.2207V6.89453H19.8213C18.338 8.62145 17.4268 10.4972 17.4268 12.7432H19.4189C19.4189 10.137 20.0432 8.64242 21.6641 6.80957V5.2207H16.3672Z" fill="black"/></svg>',slack:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 128 128"><path d="M27.255 80.719c0 7.33-5.978 13.317-13.309 13.317C6.616 94.036.63 88.049.63 80.719s5.987-13.317 13.317-13.317h13.309zm6.709 0c0-7.33 5.987-13.317 13.317-13.317s13.317 5.986 13.317 13.317v33.335c0 7.33-5.986 13.317-13.317 13.317-7.33 0-13.317-5.987-13.317-13.317zm0 0" fill="#de1c59"/><path d="M47.281 27.255c-7.33 0-13.317-5.978-13.317-13.309C33.964 6.616 39.951.63 47.281.63s13.317 5.987 13.317 13.317v13.309zm0 6.709c7.33 0 13.317 5.987 13.317 13.317s-5.986 13.317-13.317 13.317H13.946C6.616 60.598.63 54.612.63 47.281c0-7.33 5.987-13.317 13.317-13.317zm0 0" fill="#35c5f0"/><path d="M100.745 47.281c0-7.33 5.978-13.317 13.309-13.317 7.33 0 13.317 5.987 13.317 13.317s-5.987 13.317-13.317 13.317h-13.309zm-6.709 0c0 7.33-5.987 13.317-13.317 13.317s-13.317-5.986-13.317-13.317V13.946C67.402 6.616 73.388.63 80.719.63c7.33 0 13.317 5.987 13.317 13.317zm0 0" fill="#2eb57d"/><path d="M80.719 100.745c7.33 0 13.317 5.978 13.317 13.309 0 7.33-5.987 13.317-13.317 13.317s-13.317-5.987-13.317-13.317v-13.309zm0-6.709c-7.33 0-13.317-5.987-13.317-13.317s5.986-13.317 13.317-13.317h33.335c7.33 0 13.317 5.986 13.317 13.317 0 7.33-5.987 13.317-13.317 13.317zm0 0" fill="#ebb02e"/></svg>'},U=new Set(["context7","github","linear"]),h={brain:d3,server:u3,database:p3,cloud:g3,default:m3},z=o(()=>j[r().toLowerCase()]),W=o(()=>h[r().toLowerCase()]||h.default),H=o(()=>E[r().toLowerCase()]||null),M=o(()=>U.has(r().toLowerCase()));let b=S(!1),V=S(!1);const k=o(()=>D[r().toLowerCase()]||(t(z)?`https://cdn.simpleicons.org/${t(z)}`:null));function q(){B(b,!0)}function O(){B(V,!0)}var P={get iconName(){return r()},set iconName(e){r(e),u()},get label(){return i()},set label(e){i(e),u()},get size(){return l()},set size(e=20){l(e),u()},get class(){return d()},set class(e=""){d(e),u()},$set:t3,$on:(e,a)=>s3(n,e,a)},c=_3(),Y=l3(c);{var G=e=>{var a=h3();v3(a,()=>t(H),!0),L(a),v(()=>_(a,1,`w-full h-full flex items-center justify-center [&>svg]:w-full [&>svg]:h-full ${t(M)?"dark:invert":""}`)),f(e,a)},J=e=>{var a=w3(),s=n3(a);let g;var T=i3(s,2);{var X=w=>{var C=b3(),$=Z(C,!0);v(e3=>{x(C,`font-size: ${l()*.45}px;`),A($,e3)},[()=>i().charAt(0)]),f(w,C)};I(T,w=>{t(b)||w(X)})}v(()=>{F(s,"src",t(k)),F(s,"alt",i()),g=_(s,1,`w-full h-full object-contain ${t(M)?"dark:invert":""}`,null,g,{"opacity-0":!t(b)})}),N("load",s,q),N("error",s,O),c3(s),f(e,a)},K=e=>{{let a=o(()=>l()*.7);f3(e,{get icon(){return t(W)},class:"text-ghost",get style(){return`font-size: ${t(a)??""}px;`}})}},Q=o(()=>h[r().toLowerCase()]),R=e=>{var a=C3(),s=Z(a,!0);v(g=>{x(a,`font-size: ${l()*.45}px;`),A(s,g)},[()=>i().charAt(0)]),f(e,a)};I(Y,e=>{t(H)?e(G):t(k)&&!t(V)?e(J,1):t(Q)?e(K,2):e(R,-1)})}return L(c),v(()=>{_(c,1,`flex items-center justify-center shrink-0 ${d()??""}`),x(c,`width: ${l()??""}px; height: ${l()??""}px;`)}),f(y,c),o3(P)}export{x3 as M};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ix as o,b1 as d}from"./
|
|
1
|
+
import{Ix as o,b1 as d}from"./CicdOSYm.js";const f=o.createSelector((t,r)=>t.uiHighlight.activeById[r.trim()]??0),m=o.createSelector((t,r)=>t.uiHighlight.durationMsById[r.trim()]),n="ui-highlight-pulse-ring";function u(t){return(t??"").trim()}function T(t,r={}){let s=u(r.id??t.dataset.highlightId),a=0,l;function c(){t.classList.remove(n)}function g(e){t.classList.remove(n),t.offsetWidth,t.classList.add(n),l&&clearTimeout(l),l=setTimeout(c,e??d)}function h(){if(!s)return;let e;try{e=o.state}catch{return}const i=f.select(e,s);i>0&&i!==a&&(a=i,g(m.select(e,s)))}const I=setInterval(h,100);return h(),{update(e={}){const i=u(e.id??t.dataset.highlightId);i!==s&&(s=i,a=0,c(),h())},destroy(){clearInterval(I),l&&clearTimeout(l),c()}}}export{T as h};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Ix as o,nx as d,nw as n,oo as i,bd as a,ry as S,p7 as p,ol as k}from"./
|
|
1
|
+
import{Ix as o,nx as d,nw as n,oo as i,bd as a,ry as S,p7 as p,ol as k}from"./CicdOSYm.js";import{ba as g,aV as m,dD as v,dq as W,c as h,cG as I,c1 as w}from"./C0g2TqGQ.js";const R={status:"loading",members:[]},u=o.createSelector(e=>d(e.guestSessions.sessions)),K=o.createSelector(e=>e.guestSessions.hasReceivedList),l=o.createSelector(e=>n(e.guestSessions.sessions,e.connections.windowBackendId)??null);o.createSelector(e=>l.select(e)!==null);const M=o.createSelector(e=>e.guestSessions.openIds),x=o.createSelector(e=>e.guestSessions.connectedIds),F=o.createSelector(e=>e.guestSessions.leavingIds),O=o.createSelector(e=>e.guestSessions.leavingWorkspaceKeys),P=o.createSelector(e=>u.select(e).filter(s=>e.guestSessions.failedLeaveIds.includes(s.id))),B=o.createSelector(e=>u.select(e).flatMap(s=>(s.workspaces??[]).filter(t=>e.guestSessions.failedLeaveWorkspaceKeys.includes(i(s.id,t.id))).map(t=>({session:s,workspace:t})))),A=o.createSelector(e=>e.guestSessions.failedLeaveIds),N=o.createSelector(e=>d(e.guestSessions.sweepReports)),$=o.createSelector((e,s)=>n(e.guestSessions.sweepReports,s)),j=o.createSelector(e=>e.guestSessions.clearingWorkspaceIds),q=o.createSelector((e,s)=>n(e.workspace.workspaces,a(s))!==void 0),L=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]?.status==="withheld"?!1:n(e.workspace.workspaces,a(s))!==void 0&&g.select(e)&&m.select(e,s)),y=o.createSelector((e,s)=>{const t=n(e.workspace.workspaces,a(s));if(t?.openInviteCount!=null)return t.openInviteCount;const c=e.guestSessions.hostedRosters[s];return c?.guestCount!=null?Math.max(0,c.guestCount-c.members.filter(S).length):null}),D=o.createSelector(e=>e.workspace.error?"error":v.select(e,e.connections.windowBackendId)?"loaded":"loading"),E=o.createSelector(e=>{const s=W.select(e);return d(e.workspace.workspaces).filter(t=>{if(!s.collaborationReady||!h(s,t.id,()=>t))return!1;const c=y.select(e,t.id);if((t.memberCount??1/0)<=1&&c===0)return!1;const r=e.guestSessions.hostedRosters[t.id];return!r||r.status!=="loaded"?!0:r.members.some(S)||c===null||c>0})}),f=o.createSelector(e=>{const s=l.select(e),t=I.select(e);return u.select(e).filter(c=>{const r=s?.id===c.id&&t?.principal.id===c.principalId?w.select(e):null;return r?r!=="guest":c.hostRole==="member"})}),J=o.createSelector(e=>{const s=new Set(f.select(e).map(t=>t.id));return u.select(e).filter(t=>!s.has(t.id))}),U=o.createSelector(e=>e.guestSessions.listUnavailable),b=o.createSelector((e,s)=>e.guestSessions.hostedRosters[s]??R),V=o.createSelector((e,s)=>b.select(e,s).members.filter(t=>e.guestSessions.failedMemberKeys.includes(p(s,t.principalId)))),C=[],_=o.createSelector((e,s)=>{const t=p(s,""),c=e.guestSessions.removingMemberKeys.filter(r=>r.startsWith(t)).map(r=>r.slice(t.length));return c.length===0?C:c}),z=o.createSelector((e,s)=>e.guestSessions.clearingWorkspaceIds.includes(s)),T=o.createSelector(e=>{const s=[];for(const[t,c]of Object.entries(e.guestSessions.hostedRosters)){if(c.status==="withheld")continue;const r=n(e.workspace.workspaces,a(t));!r||!L.select(e,t)||s.push(`${t}:${r.memberCount??0},${c.invalidation??0}`)}return s.sort()}),Q=o.createSelector(e=>e.guestSessions.inheritedWorkspaceKeys),X=o.createSelector(e=>e.guestSessions.leaveConfirmations),Y=o.createSelector((e,s)=>k(n(e.guestSessions.sessions,s))),Z=o.createSelector((e,s)=>{if(!s||!g.select(e))return!1;const t=l.select(e);return!t||!(t.workspaces??[]).some(c=>c.id===s)||f.select(e).some(c=>c.id===t.id)||e.guestSessions.inheritedWorkspaceKeys.includes(i(t.id,s))?!1:n(e.workspace.workspaces,a(s))?.myRole!=="owner"}),ee=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.selfLeaveWorkspaceKeys.includes(i(t.id,s))}),se=o.createSelector((e,s)=>{const t=l.select(e);return!!t&&e.guestSessions.leavingWorkspaceKeys.includes(i(t.id,s))});export{q as A,se as B,ee as C,f as D,J as E,l as F,L as a,P as b,B as c,X as d,A as e,F as f,O as g,Y as h,u as i,x as j,K as k,M as l,U as m,j as n,V as o,y as p,_ as q,b as r,Z as s,T as t,D as u,$ as v,N as w,E as x,Q as y,z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var w=Object.defineProperty;var b=(o,s,a)=>s in o?w(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a;var g=(o,s,a)=>b(o,typeof s!="symbol"?s+"":s,a);import{b as I}from"./
|
|
1
|
+
var w=Object.defineProperty;var b=(o,s,a)=>s in o?w(o,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[s]=a;var g=(o,s,a)=>b(o,typeof s!="symbol"?s+"":s,a);import{b as I}from"./DHP1DFPI.js";import{o as t,_ as c,n as f,s as e,c as r,b as p,r as i,a as n,u as y}from"./CIyUrgF0.js";import{a as E}from"./BdWqymET.js";const l=t({id:e(),name:e().optional(),title:e(),branch:e(),baseRef:e().optional(),baseCommitSha:e().optional(),initialPrompt:e().optional(),status:c(["active","archived","deleted","initializing"]),createdAt:e(),updatedAt:e(),lastActivity:e().optional(),tags:p(e()).optional(),path:e().optional(),repositoryPath:e().optional(),repositoryOwner:e().optional(),repositoryName:e().optional(),worktreePath:e().optional(),scope:e().optional(),isRemote:r().optional(),prUrl:e().optional(),prNumber:f().optional(),prStatus:c(["open","closed","merged","draft"]).optional(),checkoutMode:c(["cow","worktree","direct"]).optional(),defaultAgentPlacement:I.optional()}),v=t({id:e(),workspaceId:e(),title:e(),content:e(),contentType:c(["markdown","plaintext","code"]),visibility:c(["private","workspace","public"]),author:e(),authorType:c(["user","agent","system"]),createdAt:e(),updatedAt:e(),tags:p(e()).optional(),metadata:i(e(),n()).optional(),parentId:e().optional(),threadId:e().optional()}),q=t({path:e(),name:e(),owner:e().optional(),githubUrl:e().optional(),addedAt:e(),lastUsedAt:e()});t({workspaceId:e(),workspacePath:e(),name:e(),agentId:e().optional(),model:e().optional(),provider:e().optional(),agentType:e().optional(),behaviorPrompt:e().optional(),specialistName:e().optional(),roleReminder:e().optional(),systemPrompt:e().optional(),rules:e().optional(),initialMessage:e().optional(),contextReferences:p(n()).optional(),metadata:i(e(),n()).optional()}),t({agent:n(),sessionId:e()}),t({agentId:e(),content:e(),contextReferences:p(n()).optional(),metadata:i(e(),n()).optional()}),t({messageId:e(),status:c(["sent","queued","failed"])}),t({title:e(),branch:e().optional(),baseRef:e().optional(),tags:p(e()).optional()}),t({workspace:l}),t({workspaceId:e(),title:e(),content:e(),contentType:c(["markdown","plaintext","code"]).optional(),tags:p(e()).optional(),metadata:i(e(),n()).optional()}),t({note:v}),t({sessionId:e(),context:i(e(),n())}),t({success:r()}),t({workspaceId:e()}),t({context:i(e(),n())}),t({sessionId:e()}),t({context:i(e(),n())}),t({}),t({success:r(),data:p(l).optional(),error:e().optional()}),y([e(),t({id:e()})]),t({success:r(),data:l.optional(),error:e().optional()}),t({workspaceId:e()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e(),title:e().optional(),baseCommitSha:e().optional(),worktreePath:e().optional(),gitInfo:t({branch:e().optional(),remote:e().optional()}).optional()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e()}),t({success:r(),error:e().optional()}),t({id:e()}),t({success:r(),data:l.optional(),error:e().optional()}),t({id:e()}),t({success:r(),error:e().optional()}),t({workspaceId:e()}),e().nullable(),t({limit:f().optional()}),t({success:r(),data:p(q),error:e().optional()}),t({repository:e(),name:e().optional(),owner:e().optional(),githubUrl:e().optional()}),t({success:r()}),t({}),t({success:r()}),t({workspaceId:e(),gitInfo:t({branch:e().optional(),remote:e().optional(),status:e().optional()})}),t({success:r()}),t({workspaceId:e()}),t({settings:i(e(),n())}),t({workspaceId:e(),settings:i(e(),n())}),t({success:r()}),t({workspaceId:e()}),t({rules:e()}),t({path:e(),encoding:e().optional()}),t({success:r(),data:e().optional(),error:e().optional()}),t({path:e(),content:e(),encoding:e().optional()}),t({success:r(),error:e().optional()}),t({path:e()}),t({success:r(),exists:r().optional(),error:e().optional()}),t({path:e(),recursive:r().optional()}),t({success:r(),files:p(e()).optional(),error:e().optional()}),t({}),t({platform:e(),version:e(),arch:e()}),t({}),t({version:e()}),t({}),t({onBattery:r()});new E("TypeValidation");const k=new Map,u=new Map,m=new Map([["workspace:get-root",void 0],["auggie:get-user-info",void 0],["config:get",null],["config:set",{success:!1,error:"Legacy config store is not bridged to the daemon (renderer persistence uses localStorage)"}],["git:get-auto-commit-status",void 0],["debug:trigger-backend-resume",{success:!1,error:"The backend-resume debug trigger is not bridged in this build"}],["system:write-clipboard",{success:!1,error:"Clipboard IPC is not available in this build"}],["patch:apply",{ok:!1,error:"Applying patches is not available in this build"}],["patch:revert",{ok:!1,error:"Reverting patches is not available in this build"}],["reference:resolve",{ok:!1,error:"Code-reference resolution is not bridged to the daemon"}],["remote-fs:exists",{success:!1,error:"Remote SSH file access is not available in this build"}],["workspace:get-info",void 0]]),T=new Set(["terminal:created","workspace:updated","task:ready-tasks-changed","window:fullscreen","power:battery-changed"]),S=["terminal:professional:exit:"],_=new Map([["note-suggestion","legacy agent note-suggestion flow not ported — no producer"]]);function N(o){return T.has(o)?!0:S.some(s=>o.startsWith(s))}const h=new Set;class L extends Error{constructor(a){super(`No mock IPC handler registered for channel '${a}'. This build routes legacy renderer→main IPC through the in-memory mock router; an unbridged channel used to resolve undefined and silently corrupt the caller. Bridge the channel to the daemon in a seeder under src/store/renderer/seeders/ (see agent-ipc-bridge-seeder.ts), or — only if every caller legitimately tolerates absence — add it to UNBRIDGED_INVOKE_ALLOWLIST in src/shared/ipc-mock-router.ts with a justification.`);g(this,"channel");this.name="UnbridgedMockIpcChannelError",this.channel=a}}function O(o,s){k.set(o,s)}async function M(o,...s){const a=k.get(o);if(a)return await a(...s);if(m.has(o))return m.get(o);throw new L(o)}function U(o,s){return!N(o)&&!_.has(o)&&!h.has(o)&&(h.add(o),console.error(`[ipc-mock-router] Listener registered on event channel '${o}' that NO production emitter delivers — it will never fire (silent-gap class). Wire an emitter (a seeder under src/store/renderer/seeders/ or the daemon-events-bridge legacy relay) and declare it in EMITTED_MOCK_IPC_EVENT_CHANNELS, or — only if the listener legitimately stays silent in this build — justify an UNEMITTED_LISTENER_ALLOWLIST entry in src/shared/ipc-mock-router.ts.`)),C(o,s)}function C(o,s){let a=u.get(o);return a||(a=new Set,u.set(o,a)),a.add(s),()=>{const d=u.get(o);d&&(d.delete(s),d.size===0&&u.delete(o))}}function D(o,s){const a=u.get(o);if(a)for(const d of[...a])d(s)}async function W(o,...s){return M(o,...s)}export{U as a,D as e,W as i,O as r};
|