@intent-hq/web 2.359.0 → 2.360.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Dwycp9kz.js → -UDhr0q5.js} +1 -1
  3. package/web/app/immutable/chunks/{DYd8nNWc.js → 1R56Qj8Y.js} +1 -1
  4. package/web/app/immutable/chunks/{DoZBqkYF.js → 32iKFv4-.js} +1 -1
  5. package/web/app/immutable/chunks/{Cl9D9QD8.js → 4f4S0sUh.js} +1 -1
  6. package/web/app/immutable/chunks/{j2jTU61E.js → 4kuiywlQ.js} +1 -1
  7. package/web/app/immutable/chunks/{0GiDyxSH.js → 5nGPNxrH.js} +1 -1
  8. package/web/app/immutable/chunks/{DrJhzfF1.js → 6HkyTXcq.js} +1 -1
  9. package/web/app/immutable/chunks/{B2VWtQXD.js → 8JflFTpI.js} +1 -1
  10. package/web/app/immutable/chunks/{BM8PGEcO.js → 9GiEkE-P.js} +1 -1
  11. package/web/app/immutable/chunks/{BjRCAf8X.js → 9y5vkRaS.js} +1 -1
  12. package/web/app/immutable/chunks/{C-KmDSVv.js → A91xcSiw.js} +1 -1
  13. package/web/app/immutable/chunks/{BR6nXvi2.js → B-wvdvfF.js} +1 -1
  14. package/web/app/immutable/chunks/{_KJ048jX.js → B2pIq9fg.js} +1 -1
  15. package/web/app/immutable/chunks/{D5XiG13m.js → B34oQCN1.js} +1 -1
  16. package/web/app/immutable/chunks/{8RYLPrR5.js → B3fJGWt9.js} +1 -1
  17. package/web/app/immutable/chunks/{C0HpRgD4.js → B4P8KmTp.js} +1 -1
  18. package/web/app/immutable/chunks/{C8BKrcE1.js → B4R_0jQo.js} +1 -1
  19. package/web/app/immutable/chunks/{vkhyqDoZ.js → B5IW1VlE.js} +1 -1
  20. package/web/app/immutable/chunks/{CzCt7LFa.js → B6OxFt0S.js} +1 -1
  21. package/web/app/immutable/chunks/{CS2E7BOf.js → B7KiQTDj.js} +2 -2
  22. package/web/app/immutable/chunks/{BDu_-2pO.js → B7hW9x49.js} +1 -1
  23. package/web/app/immutable/chunks/B8PCLBxN.js +1 -0
  24. package/web/app/immutable/chunks/{vKIItbxs.js → BBFx0QAL.js} +1 -1
  25. package/web/app/immutable/chunks/{CNjFQiNk.js → BBnLbsoD.js} +3 -3
  26. package/web/app/immutable/chunks/{CfdrPzuS.js → BCnWCh48.js} +3 -3
  27. package/web/app/immutable/chunks/{CeXrdQTj.js → BDrSOwDu.js} +1 -1
  28. package/web/app/immutable/chunks/{t1Reg1-l.js → BEJv0Pc9.js} +1 -1
  29. package/web/app/immutable/chunks/{GLifdN8w.js → BFPmZe29.js} +1 -1
  30. package/web/app/immutable/chunks/{Bff7OX_M.js → BFeZEby1.js} +1 -1
  31. package/web/app/immutable/chunks/{DNvbM_Jw.js → BFoEwS3N.js} +14 -14
  32. package/web/app/immutable/chunks/{DNhi2pnC.js → BGGHmOCQ.js} +1 -1
  33. package/web/app/immutable/chunks/{Bxt1GZdu.js → BHUOcy1d.js} +1 -1
  34. package/web/app/immutable/chunks/{BomWh1eD.js → BHlsW_o1.js} +1 -1
  35. package/web/app/immutable/chunks/{C-ZYRRid.js → BJtZTy_N.js} +1 -1
  36. package/web/app/immutable/chunks/{YNY2RV1c.js → BL0zmkuy.js} +1 -1
  37. package/web/app/immutable/chunks/{B_VapsyM.js → BLyqJ_tX.js} +1 -1
  38. package/web/app/immutable/chunks/{CVwloYeX.js → BMl2xNoL.js} +1 -1
  39. package/web/app/immutable/chunks/{-6O_hwvF.js → BNoTLiJq.js} +1 -1
  40. package/web/app/immutable/chunks/{B08-5Fsn.js → BOCQKOZ_.js} +1 -1
  41. package/web/app/immutable/chunks/{Bn81D_5T.js → BOWtLHmq.js} +1 -1
  42. package/web/app/immutable/chunks/{fXQtWVk2.js → BREs1pEK.js} +1 -1
  43. package/web/app/immutable/chunks/{Ci5YRbmm.js → BRT5I2VH.js} +1 -1
  44. package/web/app/immutable/chunks/{Clfqtwbt.js → BSWgqRaC.js} +1 -1
  45. package/web/app/immutable/chunks/{pYgZjzLi.js → BVSy1i1c.js} +1 -1
  46. package/web/app/immutable/chunks/{DB4pEg85.js → BVtazWzZ.js} +1 -1
  47. package/web/app/immutable/chunks/{CWnW1H_r.js → BWW2m17x.js} +1 -1
  48. package/web/app/immutable/chunks/{Blu36gU0.js → BX-wlbf1.js} +1 -1
  49. package/web/app/immutable/chunks/{DtAi5eiG.js → BX3Qm7r_.js} +1 -1
  50. package/web/app/immutable/chunks/{B7ID5lhM.js → BXVqjGzF.js} +1 -1
  51. package/web/app/immutable/chunks/{CfTOR9Xs.js → BY8Zvp_5.js} +1 -1
  52. package/web/app/immutable/chunks/{BghNeZnO.js → BYHyHMOf.js} +1 -1
  53. package/web/app/immutable/chunks/{DyM6oXRa.js → B_PtieXN.js} +1 -1
  54. package/web/app/immutable/chunks/{CmjC2IOn.js → BctdwcHy.js} +1 -1
  55. package/web/app/immutable/chunks/{lJ2hrkPe.js → Bd92b52s.js} +1 -1
  56. package/web/app/immutable/chunks/{CILpVksu.js → Bd_P-L3U.js} +2 -2
  57. package/web/app/immutable/chunks/{BDECMwd0.js → BdkhvtBn.js} +3 -3
  58. package/web/app/immutable/chunks/{XsqUZwYc.js → Be4cU-9x.js} +1 -1
  59. package/web/app/immutable/chunks/{CdQskv_M.js → BeCv1r50.js} +1 -1
  60. package/web/app/immutable/chunks/{C9k6syqr.js → BeJ9dLu2.js} +1 -1
  61. package/web/app/immutable/chunks/{C61zN4kC.js → BifMsF0g.js} +1 -1
  62. package/web/app/immutable/chunks/{jg75CCgI.js → BioI1i4g.js} +2 -2
  63. package/web/app/immutable/chunks/{utZHhb7g.js → BkAhwE4C.js} +1 -1
  64. package/web/app/immutable/chunks/{K9El2yPE.js → BkqaxMfg.js} +1 -1
  65. package/web/app/immutable/chunks/{DrjLBq4b.js → BkzHDegO.js} +2 -2
  66. package/web/app/immutable/chunks/{Dvz4y7lb.js → Bldr-p8H.js} +1 -1
  67. package/web/app/immutable/chunks/{BO1UvMYh.js → BmCHTIDH.js} +1 -1
  68. package/web/app/immutable/chunks/{D7Fu5qfY.js → BnE71Sxv.js} +1 -1
  69. package/web/app/immutable/chunks/{BKkJ5wmq.js → BoPOsJod.js} +1 -1
  70. package/web/app/immutable/chunks/{BEUX_9Gf.js → BpCBwtvA.js} +1 -1
  71. package/web/app/immutable/chunks/{Cqo5h0cq.js → BpE3z_V4.js} +1 -1
  72. package/web/app/immutable/chunks/{C3DfjxaV.js → BpozSsrs.js} +1 -1
  73. package/web/app/immutable/chunks/{Di9Z0x4r.js → BqCQZYkF.js} +1 -1
  74. package/web/app/immutable/chunks/{BNdkWvF7.js → BrbwH5yU.js} +1 -1
  75. package/web/app/immutable/chunks/{DvKZFqCo.js → Brujc5Qs.js} +1 -1
  76. package/web/app/immutable/chunks/{fPif4XLT.js → BsRAiU3M.js} +1 -1
  77. package/web/app/immutable/chunks/{BTTOyJaN.js → BsRUTEry.js} +1 -1
  78. package/web/app/immutable/chunks/{BUwnMspE.js → BsVek4ep.js} +1 -1
  79. package/web/app/immutable/chunks/{C0LUTbI7.js → Bsozz-8j.js} +1 -1
  80. package/web/app/immutable/chunks/{DJtAtlMe.js → Bst2sLeL.js} +1 -1
  81. package/web/app/immutable/chunks/{CFYbMOQh.js → BtWZ63FE.js} +1 -1
  82. package/web/app/immutable/chunks/{Da2l_kGL.js → BuHRLZKa.js} +1 -1
  83. package/web/app/immutable/chunks/{B5OEBl_F.js → Bvu_tazq.js} +1 -1
  84. package/web/app/immutable/chunks/{BibvkaKz.js → Bx2B90L7.js} +1 -1
  85. package/web/app/immutable/chunks/{EM0-8M4u.js → Bx903o6z.js} +1 -1
  86. package/web/app/immutable/chunks/{Chk2VmFC.js → BzFtQkIk.js} +1 -1
  87. package/web/app/immutable/chunks/{waNhHeBe.js → BzhmxD74.js} +1 -1
  88. package/web/app/immutable/chunks/{D1AHHNz_.js → C0GOL7QH.js} +1 -1
  89. package/web/app/immutable/chunks/{CjyYp1d6.js → C0s3H3cX.js} +1 -1
  90. package/web/app/immutable/chunks/{bDYVRgHv.js → C2Q_f-Ao.js} +1 -1
  91. package/web/app/immutable/chunks/{BN2Xx7qY.js → C2gV5GaR.js} +4 -4
  92. package/web/app/immutable/chunks/{CwN0y7xj.js → C54_KTzu.js} +4 -4
  93. package/web/app/immutable/chunks/{CMOu7J7m.js → C5hIBQ3i.js} +1 -1
  94. package/web/app/immutable/chunks/{BlfSgRgz.js → C6gTWqQd.js} +1 -1
  95. package/web/app/immutable/chunks/{C9g6kBvz.js → C7xMm-xs.js} +1 -1
  96. package/web/app/immutable/chunks/{CELWxQ_U.js → C8PDklve.js} +1 -1
  97. package/web/app/immutable/chunks/{CkjVC7MP.js → C9JwZT8z.js} +1 -1
  98. package/web/app/immutable/chunks/{B8TUirrt.js → C9m9xaQX.js} +1 -1
  99. package/web/app/immutable/chunks/{ZlUXDv9w.js → CB0BBmB3.js} +2 -2
  100. package/web/app/immutable/chunks/{BGfY3mAg.js → CB8Kg0_N.js} +1 -1
  101. package/web/app/immutable/chunks/{CQGkGXEd.js → CCW4xg3d.js} +1 -1
  102. package/web/app/immutable/chunks/{Ba7JIG6D.js → CCq7LQoR.js} +1 -1
  103. package/web/app/immutable/chunks/{o4jWsDx5.js → CDAGrCMS.js} +1 -1
  104. package/web/app/immutable/chunks/{CvCQt2D9.js → CDCwuoNC.js} +1 -1
  105. package/web/app/immutable/chunks/{BJrEWx4G.js → CEdXFb7B.js} +1 -1
  106. package/web/app/immutable/chunks/{CQeKyPfB.js → CFPO-Gdn.js} +1 -1
  107. package/web/app/immutable/chunks/{D3dCNwq6.js → CGpu-8LN.js} +4 -4
  108. package/web/app/immutable/chunks/{BiD0cL9w.js → CIBrW7Ku.js} +1 -1
  109. package/web/app/immutable/chunks/{wSDPkPFW.js → CIQ39w4Y.js} +1 -1
  110. package/web/app/immutable/chunks/{o7jQDkBd.js → CJD0yCmp.js} +1 -1
  111. package/web/app/immutable/chunks/{_9zJA_sE.js → CJftmRaI.js} +2 -2
  112. package/web/app/immutable/chunks/{CjCKLQJ9.js → CJmMm5OV.js} +3 -3
  113. package/web/app/immutable/chunks/{Cy1jfWDK.js → CJx5kB-H.js} +1 -1
  114. package/web/app/immutable/chunks/{wV3FJ8_B.js → CK9vN0Vx.js} +1 -1
  115. package/web/app/immutable/chunks/{DaBtQ4Rq.js → CKZSqILX.js} +1 -1
  116. package/web/app/immutable/chunks/{BhHMFSp2.js → CLN26_YU.js} +1 -1
  117. package/web/app/immutable/chunks/{yfZcC2N6.js → CMFCeNSK.js} +1 -1
  118. package/web/app/immutable/chunks/{tkvqiJWu.js → CMPYMsb3.js} +1 -1
  119. package/web/app/immutable/chunks/{Dqvqq37X.js → CMUpwbv3.js} +1 -1
  120. package/web/app/immutable/chunks/{DB3uT95Q.js → CMlZAr5p.js} +1 -1
  121. package/web/app/immutable/chunks/{B_41a3se.js → CNfKBI6L.js} +1 -1
  122. package/web/app/immutable/chunks/{BKY4Q0TT.js → CO3XLT45.js} +1 -1
  123. package/web/app/immutable/chunks/{BNSN6XCP.js → COnJo1Ps.js} +1 -1
  124. package/web/app/immutable/chunks/COqplkxR.js +1 -0
  125. package/web/app/immutable/chunks/{D_eImbVR.js → CS70Dx2B.js} +1 -1
  126. package/web/app/immutable/chunks/{DM_khyu7.js → CSKp9zzd.js} +1 -1
  127. package/web/app/immutable/chunks/{RqQMOZAT.js → CU4KWWbD.js} +1 -1
  128. package/web/app/immutable/chunks/{Dwp84kQu.js → CVmPa1mG.js} +1 -1
  129. package/web/app/immutable/chunks/{CabY5Ajz.js → CWwVTuEX.js} +1 -1
  130. package/web/app/immutable/chunks/{D_LNh-Ja.js → CWz2XNBO.js} +1 -1
  131. package/web/app/immutable/chunks/{Bzcuhxw_.js → CXFlWWO4.js} +1 -1
  132. package/web/app/immutable/chunks/{BFfFhR1D.js → CZ-QhNUI.js} +1 -1
  133. package/web/app/immutable/chunks/{G3F9ni6B.js → C_9mGNUw.js} +1 -1
  134. package/web/app/immutable/chunks/{ZY6P3elZ.js → Ca98gcvs.js} +1 -1
  135. package/web/app/immutable/chunks/{CEM8KTTx.js → Cak06Ipv.js} +1 -1
  136. package/web/app/immutable/chunks/{BtBvnlNb.js → Cb4SpXNJ.js} +1 -1
  137. package/web/app/immutable/chunks/{cw-15yhi.js → Cd1q1wWY.js} +1 -1
  138. package/web/app/immutable/chunks/{Dh18lLbG.js → CdEPpK5c.js} +1 -1
  139. package/web/app/immutable/chunks/{DR4IFZXy.js → CdIWJpFL.js} +1 -1
  140. package/web/app/immutable/chunks/{CMxGr_ey.js → CeXNhl9e.js} +1 -1
  141. package/web/app/immutable/chunks/{Dp6TtOQM.js → CgGU0gTh.js} +1 -1
  142. package/web/app/immutable/chunks/{MlkHiaSF.js → ChjOKBnG.js} +1 -1
  143. package/web/app/immutable/chunks/{C_ZgD3DB.js → Cho0-9KA.js} +1 -1
  144. package/web/app/immutable/chunks/{DfUAlDfK.js → Ci0DCXei.js} +1 -1
  145. package/web/app/immutable/chunks/{CwnD43Xy.js → CiPzAmKo.js} +1 -1
  146. package/web/app/immutable/chunks/{g7hC9VeO.js → CjPOxOh3.js} +1 -1
  147. package/web/app/immutable/chunks/{D-sEMjzy.js → CkWz1mLV.js} +1 -1
  148. package/web/app/immutable/chunks/{B0RvqECX.js → CkY0UrZh.js} +1 -1
  149. package/web/app/immutable/chunks/{CIOI2vcP.js → CkdaiT2c.js} +1 -1
  150. package/web/app/immutable/chunks/{FdrUgkC6.js → CktoO_4b.js} +1 -1
  151. package/web/app/immutable/chunks/{Dl4PtwLv.js → ClPEPp33.js} +1 -1
  152. package/web/app/immutable/chunks/{CQ2L5Zaq.js → CmQUy1iX.js} +1 -1
  153. package/web/app/immutable/chunks/Cn0dUMcV.js +1 -0
  154. package/web/app/immutable/chunks/{CrTnLjrr.js → Con90c3P.js} +1 -1
  155. package/web/app/immutable/chunks/{BWvY9nb-.js → CpYOvNz6.js} +1 -1
  156. package/web/app/immutable/chunks/{CZhfnI2G.js → Crm_Oabm.js} +1 -1
  157. package/web/app/immutable/chunks/{Ce7GGwjY.js → CsZJMlJ8.js} +1 -1
  158. package/web/app/immutable/chunks/{BZWFeX8A.js → CsxWziDD.js} +1 -1
  159. package/web/app/immutable/chunks/{DB5XpEWp.js → CukxP3bH.js} +1 -1
  160. package/web/app/immutable/chunks/{CIe_IdcQ.js → CurjThIN.js} +1 -1
  161. package/web/app/immutable/chunks/{C5SRkSUi.js → CwhU2GJj.js} +1 -1
  162. package/web/app/immutable/chunks/{DWHgu0is.js → CycTTYyM.js} +1 -1
  163. package/web/app/immutable/chunks/{DHAp2Kc0.js → CzX6D7dd.js} +1 -1
  164. package/web/app/immutable/chunks/{dvtB8PCn.js → CzaiY1Hd.js} +1 -1
  165. package/web/app/immutable/chunks/{6myNhyGM.js → CzxOAjWm.js} +1 -1
  166. package/web/app/immutable/chunks/{klnEQWHo.js → D0TCMhf8.js} +1 -1
  167. package/web/app/immutable/chunks/{C7eqIAuZ.js → D0bF1ewx.js} +1 -1
  168. package/web/app/immutable/chunks/{5wkpHjhE.js → D0j6Pw9H.js} +1 -1
  169. package/web/app/immutable/chunks/{Dla5GTQo.js → D2BBYrzr.js} +1 -1
  170. package/web/app/immutable/chunks/{CGVGh8Xh.js → D3nmUaz-.js} +1 -1
  171. package/web/app/immutable/chunks/{CvLyzc7I.js → D3rExJpy.js} +2 -2
  172. package/web/app/immutable/chunks/{lzlrZOOx.js → D6WUVWA7.js} +3 -3
  173. package/web/app/immutable/chunks/{BsfZKUyJ.js → D6ag701e.js} +1 -1
  174. package/web/app/immutable/chunks/{D5TVVdCO.js → D77SC-WI.js} +1 -1
  175. package/web/app/immutable/chunks/{B3gMfjd-.js → D79Xzbwc.js} +1 -1
  176. package/web/app/immutable/chunks/{CzOKs-9h.js → D7XN10mW.js} +1 -1
  177. package/web/app/immutable/chunks/{DhJiUMGh.js → D7saN_TE.js} +1 -1
  178. package/web/app/immutable/chunks/{DS1-LIJo.js → D88N7fik.js} +1 -1
  179. package/web/app/immutable/chunks/{D7S6-tcN.js → D9e6EkDi.js} +1 -1
  180. package/web/app/immutable/chunks/{DY_VgpBE.js → DA1JRBSr.js} +1 -1
  181. package/web/app/immutable/chunks/{CUgyGwcZ.js → DB1FUARM.js} +1 -1
  182. package/web/app/immutable/chunks/{XDFbJjVz.js → DB2nf3HK.js} +1 -1
  183. package/web/app/immutable/chunks/{D2C9COn-.js → DB5oJv4b.js} +2 -2
  184. package/web/app/immutable/chunks/{BQqk8D2k.js → DBeaWkI6.js} +1 -1
  185. package/web/app/immutable/chunks/{DkXhJ1BL.js → DCAdK-TK.js} +1 -1
  186. package/web/app/immutable/chunks/{YDiGw5NX.js → DDEi4ohI.js} +3 -3
  187. package/web/app/immutable/chunks/{BxzohA4k.js → DEFiLw0G.js} +1 -1
  188. package/web/app/immutable/chunks/{CW-B1B_2.js → DFA3fNuM.js} +1 -1
  189. package/web/app/immutable/chunks/{hpioGaKy.js → DFngs4Y1.js} +2 -2
  190. package/web/app/immutable/chunks/{10-QywS9.js → DG1-cBAz.js} +1 -1
  191. package/web/app/immutable/chunks/{Di3YCBTy.js → DKvrlewQ.js} +2 -2
  192. package/web/app/immutable/chunks/{CJGJtaIh.js → DLx-21ka.js} +1 -1
  193. package/web/app/immutable/chunks/{DVqlnAf4.js → DMDLNgZw.js} +1 -1
  194. package/web/app/immutable/chunks/{CZnzjQ8w.js → DNSvJh5E.js} +1 -1
  195. package/web/app/immutable/chunks/{DMicUhyp.js → DODIyxsG.js} +1 -1
  196. package/web/app/immutable/chunks/{BAB5cGdR.js → DP1Kxs4G.js} +1 -1
  197. package/web/app/immutable/chunks/{C-6RTvqK.js → DRfuH7ia.js} +1 -1
  198. package/web/app/immutable/chunks/{DJXbxolz.js → DSGWdxMc.js} +1 -1
  199. package/web/app/immutable/chunks/{BveCGFpc.js → DSgbJdfR.js} +1 -1
  200. package/web/app/immutable/chunks/{BosvHmXn.js → DT7EyIEo.js} +1 -1
  201. package/web/app/immutable/chunks/{C9c1XoGB.js → DTY9Anmi.js} +3 -3
  202. package/web/app/immutable/chunks/{ADgiB_JD.js → DTzZbirR.js} +1 -1
  203. package/web/app/immutable/chunks/{BwCXlNwV.js → DUUOaZUX.js} +1 -1
  204. package/web/app/immutable/chunks/{R_gbTJLb.js → DUyvq6BR.js} +1 -1
  205. package/web/app/immutable/chunks/{CdhsB6Tk.js → DYhAW_nh.js} +1 -1
  206. package/web/app/immutable/chunks/{CZuwX70n.js → DYv-ImbG.js} +1 -1
  207. package/web/app/immutable/chunks/{i6o2muyh.js → D_tjJvUn.js} +1 -1
  208. package/web/app/immutable/chunks/{DCDVRPan.js → Db1vsTVc.js} +1 -1
  209. package/web/app/immutable/chunks/{CLgO49-n.js → Dcity0ZX.js} +1 -1
  210. package/web/app/immutable/chunks/{BJKM0aco.js → DcsVySxU.js} +2 -2
  211. package/web/app/immutable/chunks/{DreRsNdo.js → DdAEgsrh.js} +2 -2
  212. package/web/app/immutable/chunks/{CbwoPYB3.js → DfCpph1F.js} +1 -1
  213. package/web/app/immutable/chunks/{DE2DQy0T.js → DfQtmVKc.js} +1 -1
  214. package/web/app/immutable/chunks/{By3Fe9OQ.js → DhbB133w.js} +1 -1
  215. package/web/app/immutable/chunks/{Uz0kppPo.js → DjkW13rw.js} +1 -1
  216. package/web/app/immutable/chunks/{g1QznGhp.js → DkGGr_35.js} +1 -1
  217. package/web/app/immutable/chunks/{C5Pv37ZW.js → DlVBS_bY.js} +1 -1
  218. package/web/app/immutable/chunks/{bqipvca_.js → DmOmVRF-.js} +1 -1
  219. package/web/app/immutable/chunks/{B_3LwjEE.js → DmSe6pPh.js} +1 -1
  220. package/web/app/immutable/chunks/{BFZDKSps.js → DmfXn75c.js} +1 -1
  221. package/web/app/immutable/chunks/{uDkSpspe.js → Dn7IHtB4.js} +1 -1
  222. package/web/app/immutable/chunks/{CmxpZd0C.js → DnR6iKmC.js} +1 -1
  223. package/web/app/immutable/chunks/{DsLK0lhE.js → Dqbu3Xgt.js} +1 -1
  224. package/web/app/immutable/chunks/{BnFk2thR.js → DqvZHD0T.js} +1 -1
  225. package/web/app/immutable/chunks/{BqUNG33_.js → DrPmlbuk.js} +1 -1
  226. package/web/app/immutable/chunks/{BPDm13z6.js → Drhk0kLj.js} +1 -1
  227. package/web/app/immutable/chunks/{BpJkEHyp.js → DsB0QHTZ.js} +1 -1
  228. package/web/app/immutable/chunks/{BgwmEIlo.js → DsDqvgC9.js} +2 -2
  229. package/web/app/immutable/chunks/{CUF6AFLj.js → Dt2PgbAx.js} +1 -1
  230. package/web/app/immutable/chunks/{XfZ7vUz0.js → DtrdP8PT.js} +1 -1
  231. package/web/app/immutable/chunks/{BduQZGB-.js → Dw86rOY4.js} +1 -1
  232. package/web/app/immutable/chunks/{CHJwDFbB.js → Dwc9p0hU.js} +1 -1
  233. package/web/app/immutable/chunks/{BH8Pvo2Y.js → DxFe9Sj2.js} +1 -1
  234. package/web/app/immutable/chunks/{BjE588G3.js → DzCNJq2j.js} +1 -1
  235. package/web/app/immutable/chunks/{CHwCT_tY.js → EBip0AWO.js} +1 -1
  236. package/web/app/immutable/chunks/{CyqRVYAu.js → ELAGDjsa.js} +6 -6
  237. package/web/app/immutable/chunks/{Dv95zz7s.js → F5q6OMDX.js} +1 -1
  238. package/web/app/immutable/chunks/{C-3h7Yfn.js → FNy8h0Ka.js} +1 -1
  239. package/web/app/immutable/chunks/{Bh3EI3zr.js → HjEy7vfo.js} +1 -1
  240. package/web/app/immutable/chunks/{CWYIb5h_.js → HxrItRGs.js} +1 -1
  241. package/web/app/immutable/chunks/{COizPexY.js → LQm_WUG-.js} +1 -1
  242. package/web/app/immutable/chunks/{CRQ7p08H.js → MNJDbe1l.js} +1 -1
  243. package/web/app/immutable/chunks/{ryJoABjA.js → MQB3-RUl.js} +1 -1
  244. package/web/app/immutable/chunks/{BRhTL40m.js → NtBDgvZ2.js} +1 -1
  245. package/web/app/immutable/chunks/NtxbXOxK.js +1 -0
  246. package/web/app/immutable/chunks/{CDthvhNa.js → O077287M.js} +1 -1
  247. package/web/app/immutable/chunks/{BldMt0qe.js → OJdRtUTM.js} +1 -1
  248. package/web/app/immutable/chunks/{BNxYYK1k.js → OfJYxV7d.js} +1 -1
  249. package/web/app/immutable/chunks/{YXtDIgke.js → OvgkhrA7.js} +1 -1
  250. package/web/app/immutable/chunks/{yFbmvZcp.js → P3QocI-G.js} +1 -1
  251. package/web/app/immutable/chunks/{BddjjpyI.js → S6AtfZPI.js} +1 -1
  252. package/web/app/immutable/chunks/{CUqDFxUi.js → SM6VUydw.js} +1 -1
  253. package/web/app/immutable/chunks/{Cq94dOBc.js → SXQhdPre.js} +1 -1
  254. package/web/app/immutable/chunks/{ByA2IWok.js → S_DaaRo9.js} +3 -3
  255. package/web/app/immutable/chunks/{q9ZyJAa1.js → SmHZXgwN.js} +1 -1
  256. package/web/app/immutable/chunks/{Bm2P91T0.js → UunyqK3Z.js} +1 -1
  257. package/web/app/immutable/chunks/{DiJNvptO.js → W6sF2Cur.js} +1 -1
  258. package/web/app/immutable/chunks/{wM59GHbh.js → WoXHXc-b.js} +1 -1
  259. package/web/app/immutable/chunks/{CLp5K2Cv.js → XFXlU9Ox.js} +1 -1
  260. package/web/app/immutable/chunks/{MqeYlZEc.js → Z14_HVFv.js} +1 -1
  261. package/web/app/immutable/chunks/{DRzVKoEr.js → ZdVOG1YL.js} +1 -1
  262. package/web/app/immutable/chunks/{DryREkHP.js → ZyHSqKKz.js} +1 -1
  263. package/web/app/immutable/chunks/{Cb35PO19.js → a-uzFDRe.js} +1 -1
  264. package/web/app/immutable/chunks/{BiVxPdNt.js → b_O4pZtc.js} +1 -1
  265. package/web/app/immutable/chunks/{WVUqAkKa.js → cNKe5jVM.js} +1 -1
  266. package/web/app/immutable/chunks/{BtE8ng9B.js → cPv_DFdy.js} +1 -1
  267. package/web/app/immutable/chunks/{DUpzlKAB.js → dRfjsn2g.js} +1 -1
  268. package/web/app/immutable/chunks/{B-Q3uU6_.js → frxcf8rJ.js} +1 -1
  269. package/web/app/immutable/chunks/{DgrkG05k.js → guxjwWAr.js} +1 -1
  270. package/web/app/immutable/chunks/{C2sr3EWe.js → h3NGlSjH.js} +1 -1
  271. package/web/app/immutable/chunks/{FQFJV7C0.js → h9OLCnwu.js} +1 -1
  272. package/web/app/immutable/chunks/{CCAjvk0X.js → hCt1V8jO.js} +3 -3
  273. package/web/app/immutable/chunks/{DqJHcisc.js → hLkstuSa.js} +1 -1
  274. package/web/app/immutable/chunks/{DCtyzj03.js → jSlXIbXa.js} +1 -1
  275. package/web/app/immutable/chunks/{DiW8XnY5.js → kBqzcezI.js} +1 -1
  276. package/web/app/immutable/chunks/{CMziHXPQ.js → kNipFpJ2.js} +1 -1
  277. package/web/app/immutable/chunks/{Fd-rEJnu.js → liwjXrkc.js} +1 -1
  278. package/web/app/immutable/chunks/{Dk51AkwK.js → oB7eN-Qf.js} +1 -1
  279. package/web/app/immutable/chunks/{Bn37CRsE.js → oIy1WGn7.js} +1 -1
  280. package/web/app/immutable/chunks/{BrJIlZXG.js → plaTXQg3.js} +1 -1
  281. package/web/app/immutable/chunks/{DrzhapyO.js → puisNM3r.js} +1 -1
  282. package/web/app/immutable/chunks/{BpMUTlD3.js → qW1_mixC.js} +1 -1
  283. package/web/app/immutable/chunks/{Bl7A2mT8.js → qzRpsGdv.js} +1 -1
  284. package/web/app/immutable/chunks/{BugaF9Gz.js → roVeGd8G.js} +1 -1
  285. package/web/app/immutable/chunks/{Bw4cxMjz.js → tU-erPwy.js} +1 -1
  286. package/web/app/immutable/chunks/{D5HWvTpD.js → tguQ0uKY.js} +1 -1
  287. package/web/app/immutable/chunks/{BTLBASJX.js → wZqQTU3s.js} +1 -1
  288. package/web/app/immutable/chunks/{D94cTefs.js → yerK1wE4.js} +3 -3
  289. package/web/app/immutable/chunks/{BL7BGzQb.js → z-LfKEyT.js} +1 -1
  290. package/web/app/immutable/chunks/{CNgTnn6E.js → zKe1EQER.js} +1 -1
  291. package/web/app/immutable/chunks/{CLGFCqMt.js → zsS-jFOF.js} +1 -1
  292. package/web/app/immutable/entry/{app.B_j9AtYN.js → app.xn8bouEy.js} +3 -3
  293. package/web/app/immutable/entry/start.8SWo5eaL.js +1 -0
  294. package/web/app/immutable/nodes/{0.DI5KXj3q.js → 0.Czkxq6nC.js} +1 -1
  295. package/web/app/immutable/nodes/{1.BvUSq5GT.js → 1.CO4mj6IJ.js} +1 -1
  296. package/web/app/immutable/nodes/{10.ybliADtC.js → 10.BComrAcc.js} +5 -5
  297. package/web/app/immutable/nodes/{11.CWdfbS9L.js → 11.CNzRS9fn.js} +1 -1
  298. package/web/app/immutable/nodes/{12.DSU3TNHa.js → 12.C2n7WplF.js} +1 -1
  299. package/web/app/immutable/nodes/{13.B395oPY5.js → 13.D60oIlHW.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DPnho-i5.js → 14.RHTyY8ed.js} +3 -3
  301. package/web/app/immutable/nodes/{15.IPdMXrpa.js → 15.DXCA05Q9.js} +1 -1
  302. package/web/app/immutable/nodes/{16.Cw2bhRT9.js → 16.BHGcOoK4.js} +1 -1
  303. package/web/app/immutable/nodes/{17.B-8GZWIV.js → 17.DMb17SuB.js} +1 -1
  304. package/web/app/immutable/nodes/{18.B_8rjYQB.js → 18.DZXncr1W.js} +1 -1
  305. package/web/app/immutable/nodes/{19.xCKjx5de.js → 19.BtsQ8Lfg.js} +2 -2
  306. package/web/app/immutable/nodes/{2.4eqTbGC7.js → 2.9HsLNQbg.js} +4 -4
  307. package/web/app/immutable/nodes/{20.DOuPBU4q.js → 20.JY9Qq_nG.js} +1 -1
  308. package/web/app/immutable/nodes/{3.gnGgxc2q.js → 3.BlmNm3mg.js} +1 -1
  309. package/web/app/immutable/nodes/{4.DhWSCpDA.js → 4.Cpy2Xerc.js} +1 -1
  310. package/web/app/immutable/nodes/{5.D-CLZiU3.js → 5.DeXJEhFX.js} +1 -1
  311. package/web/app/immutable/nodes/{6.D8GgaYC7.js → 6.Bpl-_47P.js} +1 -1
  312. package/web/app/immutable/nodes/{7.CYuvhsU8.js → 7.B1PEqe7o.js} +1 -1
  313. package/web/app/immutable/nodes/{8.Cfa_YzNb.js → 8.DEBn-U8f.js} +1 -1
  314. package/web/app/immutable/nodes/{9.Cjn8-jSI.js → 9.DtFfiQ9-.js} +4 -4
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +45 -45
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/ClwCcrCE.js +0 -1
  319. package/web/app/immutable/chunks/D4MngzTk.js +0 -1
  320. package/web/app/immutable/chunks/DkN1HOvv.js +0 -1
  321. package/web/app/immutable/chunks/cRhti_97.js +0 -1
  322. package/web/app/immutable/entry/start.D5KmTXnC.js +0 -1
@@ -1 +1 @@
1
- import{t as N,bo as m,bw as R,b as T,bm as y}from"./D4MngzTk.js";import{bs as U,a7 as Y,ay as q,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as P,bA as S,bS as Q,aD as V,aB as L,c9 as X,aG as Z,bI as tt}from"./CJxGDkBm.js";import{i as C}from"./BqUNG33_.js";import{E as z}from"./CwnD43Xy.js";import"./DrzhapyO.js";import"./BM8PGEcO.js";import"./BJKM0aco.js";import{f as A}from"./DJtAtlMe.js";import{F as et,a2 as at,bO as ot}from"./BddjjpyI.js";import"./C3DfjxaV.js";import{I as st}from"./DCtyzj03.js";import{i as nt,b as rt}from"./C9k6syqr.js";var it=L('<span aria-hidden="true"><!></span>'),lt=L('<div class="flex flex-wrap justify-center gap-2"><!> <!></div>');function ct(g,n){if(new.target)return N({component:ct,...g});U(n,!0);let o=m(n,"view",7),b=m(n,"canMove",7,!1),w=m(n,"waiting",7,!1),h=m(n,"onWait",7),x=m(n,"onMove",7);var I={get view(){return o()},set view(t){o(t),v()},get canMove(){return b()},set canMove(t=!1){b(t),v()},get waiting(){return w()},set waiting(t=!1){w(t),v()},get onWait(){return h()},set onWait(t){h(t),v()},get onMove(){return x()},set onMove(t){x(t),v()},$set:R,$on:(t,k)=>T(n,t,k)},H=Y(),$=q(H);{var B=t=>{z(t,{class:"h-full min-h-0",density:"compact","data-workspace-home-panel-notice":"starting",icon:_=>{var r=it(),e=P(r);st(e,{size:16}),S(r),s(_,r)},title:_=>{p();var r=f();u(e=>d(r,e),[()=>y.workspaceHome_starting_label()]),s(_,r)},$$slots:{icon:!0,title:!0}})},F=t=>{z(t,{class:"h-full",get"data-workspace-home-panel-notice"(){return o().state},icon:e=>{{let a=X(()=>o().state==="moving"?at:ot);et(e,{get icon(){return V(a)},class:"size-5"})}},title:e=>{p();var a=f();u(l=>d(a,l),[()=>rt(o().state==="moving"?"moving":"detached")]),s(e,a)},description:e=>{p();var a=f();u(l=>d(a,l),[()=>nt(o())]),s(e,a)},actions:e=>{var a=lt(),l=P(a);{var j=i=>{A(i,{variant:"outline",size:"sm",get disabled(){return w()},onclick:()=>h()?.(),children:(M,K)=>{p();var c=f();u(W=>d(c,W),[()=>y.workspaceHome_wait_label()]),s(M,c)},$$slots:{default:!0}})};C(l,i=>{o().canWait&&i(j)})}var D=Q(l,2);{var G=i=>{A(i,{variant:"outline",size:"sm",onclick:()=>x()?.(),children:(M,K)=>{p();var c=f();u(W=>d(c,W),[()=>y.workspaceHome_move_label()]),s(M,c)},$$slots:{default:!0}})};C(D,i=>{b()&&i(G)})}S(a),s(e,a)},$$slots:{icon:!0,title:!0,description:!0,actions:!0}})};C($,t=>{o().starting?t(B):t(F,-1)})}return s(g,H),J(I)}const E=Symbol("workspace-home-panel");function kt(g){tt(E,g)}function Mt(){return Z(E)}export{ct as W,Mt as g,kt as s};
1
+ import{t as N,bo as m,bw as R,b as T,bm as y}from"./NtxbXOxK.js";import{bs as U,a7 as Y,ay as q,W as s,bn as J,aA as v,be as p,b$ as f,b_ as u,bO as d,a5 as P,bA as S,bS as Q,aD as V,aB as L,c9 as X,aG as Z,bI as tt}from"./CJxGDkBm.js";import{i as C}from"./DrPmlbuk.js";import{E as z}from"./CiPzAmKo.js";import"./puisNM3r.js";import"./9GiEkE-P.js";import"./DcsVySxU.js";import{f as A}from"./Bst2sLeL.js";import{F as et,a2 as at,bO as ot}from"./S6AtfZPI.js";import"./BpozSsrs.js";import{I as st}from"./jSlXIbXa.js";import{i as nt,b as rt}from"./BeJ9dLu2.js";var it=L('<span aria-hidden="true"><!></span>'),lt=L('<div class="flex flex-wrap justify-center gap-2"><!> <!></div>');function ct(g,n){if(new.target)return N({component:ct,...g});U(n,!0);let o=m(n,"view",7),b=m(n,"canMove",7,!1),w=m(n,"waiting",7,!1),h=m(n,"onWait",7),x=m(n,"onMove",7);var I={get view(){return o()},set view(t){o(t),v()},get canMove(){return b()},set canMove(t=!1){b(t),v()},get waiting(){return w()},set waiting(t=!1){w(t),v()},get onWait(){return h()},set onWait(t){h(t),v()},get onMove(){return x()},set onMove(t){x(t),v()},$set:R,$on:(t,k)=>T(n,t,k)},H=Y(),$=q(H);{var B=t=>{z(t,{class:"h-full min-h-0",density:"compact","data-workspace-home-panel-notice":"starting",icon:_=>{var r=it(),e=P(r);st(e,{size:16}),S(r),s(_,r)},title:_=>{p();var r=f();u(e=>d(r,e),[()=>y.workspaceHome_starting_label()]),s(_,r)},$$slots:{icon:!0,title:!0}})},F=t=>{z(t,{class:"h-full",get"data-workspace-home-panel-notice"(){return o().state},icon:e=>{{let a=X(()=>o().state==="moving"?at:ot);et(e,{get icon(){return V(a)},class:"size-5"})}},title:e=>{p();var a=f();u(l=>d(a,l),[()=>rt(o().state==="moving"?"moving":"detached")]),s(e,a)},description:e=>{p();var a=f();u(l=>d(a,l),[()=>nt(o())]),s(e,a)},actions:e=>{var a=lt(),l=P(a);{var j=i=>{A(i,{variant:"outline",size:"sm",get disabled(){return w()},onclick:()=>h()?.(),children:(M,K)=>{p();var c=f();u(W=>d(c,W),[()=>y.workspaceHome_wait_label()]),s(M,c)},$$slots:{default:!0}})};C(l,i=>{o().canWait&&i(j)})}var D=Q(l,2);{var G=i=>{A(i,{variant:"outline",size:"sm",onclick:()=>x()?.(),children:(M,K)=>{p();var c=f();u(W=>d(c,W),[()=>y.workspaceHome_move_label()]),s(M,c)},$$slots:{default:!0}})};C(D,i=>{b()&&i(G)})}S(a),s(e,a)},$$slots:{icon:!0,title:!0,description:!0,actions:!0}})};C($,t=>{o().starting?t(B):t(F,-1)})}return s(g,H),J(I)}const E=Symbol("workspace-home-panel");function kt(g){tt(E,g)}function Mt(){return Z(E)}export{ct as W,Mt as g,kt as s};
@@ -1 +1 @@
1
- import{aG as r}from"./CJxGDkBm.js";import{bh as e}from"./BwCXlNwV.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
1
+ import{aG as r}from"./CJxGDkBm.js";import{bh as e}from"./DUUOaZUX.js";const n=Symbol("workspace-route-context");function s(t){return t&&t!=="new"?e(t):null}function u(t,o){return t?.startsWith("/workspace/")?s(o):null}function p(){try{return r(n)}catch{return}}export{n as W,s as a,p as g,u as w};
@@ -1 +1 @@
1
- import{t as ht,bo as P,bw as $t,bq as It,b as bt,bs as d}from"./D4MngzTk.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 N,bV as H,aA as U}from"./CJxGDkBm.js";import{k as At}from"./Cl9D9QD8.js";import{b as Et}from"./NtFyWdpR.js";import{IS as a,ex as St,ey as Dt,o2 as Pt,zE as Ut,o6 as _t,o7 as Ft,Jq as Tt,JF as xt,Jv as Wt,vn as qt,uE as vt}from"./BwCXlNwV.js";import{t as Nt}from"./D2MmXC4A.js";import{g as Ht}from"./BrMXrCxP.js";import{ds as Lt,bN as Ot,bC as Bt,bG as Mt,bE as Gt}from"./lJ2hrkPe.js";import{af as Jt}from"./ByA2IWok.js";import{C as Kt}from"./DR4IFZXy.js";import{V as Vt}from"./ryJoABjA.js";import{bT as jt,bN as zt,b8 as Qt}from"./D7S6-tcN.js";import{i as Xt}from"./H2jLkRRS.js";function Yt(_,f){if(new.target)return ht({component:Yt,..._});yt(f,!0);const L=()=>d(Z,"$gitRoots$",n),F=()=>d(Y,"$workspace",n),O=()=>d(st,"$ftCommits$",n),B=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),M=()=>d(Q,"$foldUnchanged",n),G=()=>d(z,"$lineWrapping",n),J=()=>d(X,"$diffSideBySide",n),K=()=>d(at,"$ftLoading$",n),[n,V]=It(),j=e=>{Vt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{N(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return M()},onToggleFold:()=>a.dispatch(Wt()),get wrapEnabled(){return G()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return J()},onToggleSplit:()=>a.dispatch(Tt())})},z=jt(),Q=zt(),X=Qt();let h=P(f,"tab",7),i=P(f,"workspaceId",7),$=P(f,"isActive",7);const T=Ht(),g=Nt(()=>i()),Y=Lt(g),Z=Jt(g),w=crypto.randomUUID(),tt=Ot(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(St(e,"history")),()=>a.dispatch(Dt(e,"history"))});const r=s(()=>h().data?.gitRootId||""),W=s(()=>t(r)&&L().find(e=>e.id===t(r))?.path||""),et=s(()=>t(W)||F()?.worktreePath||F()?.repositoryPath||""),st=Bt(g),ot=Mt(g),at=Gt(g),nt=s(()=>O()||[]),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||[]),E=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(E)?.result?.kind==="commitDetails"?t(E).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(E)?.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(Pt(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=H(!0),R=H(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:Xt(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(x)}}));k(()=>{!T||!$()||T.registerActions({display:j})});const q=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(_t(e,q)),()=>a.dispatch(Ft(e,q))});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)},v=Ct(),gt=Rt(v);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(x),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}));Et(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 S=m?.metaKey||m?.ctrlKey||!1,D=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(vt(i(),{agentId:b,openInAdjacentPanel:S,sourcePanelId:D}))},onOpenNote:(b,m)=>{const S=m?.metaKey||m?.ctrlKey||!1,D=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(qt(i(),b,{openInAdjacentPanel:S,sourcePanelId:D}))}}),b=>N(R,b,!0),()=>t(R))}}),kt(_,v);var pt=wt(mt);return V(),pt}export{Yt as default};
1
+ import{t as ht,bo as P,bw as $t,bq as It,b as bt,bs as d}from"./NtxbXOxK.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 N,bV as H,aA as U}from"./CJxGDkBm.js";import{k as At}from"./4f4S0sUh.js";import{b as Et}from"./NtFyWdpR.js";import{IS as a,ex as St,ey as Dt,o2 as Pt,zE as Ut,o6 as _t,o7 as Ft,Jq as Tt,JF as xt,Jv as Wt,vn as qt,uE as vt}from"./DUUOaZUX.js";import{t as Nt}from"./D2MmXC4A.js";import{g as Ht}from"./BrMXrCxP.js";import{ds as Lt,bN as Ot,bC as Bt,bG as Mt,bE as Gt}from"./Bd92b52s.js";import{af as Jt}from"./S_DaaRo9.js";import{C as Kt}from"./CdIWJpFL.js";import{V as Vt}from"./MQB3-RUl.js";import{bT as jt,bN as zt,b8 as Qt}from"./D9e6EkDi.js";import{i as Xt}from"./H2jLkRRS.js";function Yt(_,f){if(new.target)return ht({component:Yt,..._});yt(f,!0);const L=()=>d(Z,"$gitRoots$",n),F=()=>d(Y,"$workspace",n),O=()=>d(st,"$ftCommits$",n),B=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),M=()=>d(Q,"$foldUnchanged",n),G=()=>d(z,"$lineWrapping",n),J=()=>d(X,"$diffSideBySide",n),K=()=>d(at,"$ftLoading$",n),[n,V]=It(),j=e=>{Vt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{N(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return M()},onToggleFold:()=>a.dispatch(Wt()),get wrapEnabled(){return G()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return J()},onToggleSplit:()=>a.dispatch(Tt())})},z=jt(),Q=zt(),X=Qt();let h=P(f,"tab",7),i=P(f,"workspaceId",7),$=P(f,"isActive",7);const T=Ht(),g=Nt(()=>i()),Y=Lt(g),Z=Jt(g),w=crypto.randomUUID(),tt=Ot(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(St(e,"history")),()=>a.dispatch(Dt(e,"history"))});const r=s(()=>h().data?.gitRootId||""),W=s(()=>t(r)&&L().find(e=>e.id===t(r))?.path||""),et=s(()=>t(W)||F()?.worktreePath||F()?.repositoryPath||""),st=Bt(g),ot=Mt(g),at=Gt(g),nt=s(()=>O()||[]),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||[]),E=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(E)?.result?.kind==="commitDetails"?t(E).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(E)?.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(Pt(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=H(!0),R=H(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:Xt(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(x)}}));k(()=>{!T||!$()||T.registerActions({display:j})});const q=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(_t(e,q)),()=>a.dispatch(Ft(e,q))});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)},v=Ct(),gt=Rt(v);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(x),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}));Et(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 S=m?.metaKey||m?.ctrlKey||!1,D=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(vt(i(),{agentId:b,openInAdjacentPanel:S,sourcePanelId:D}))},onOpenNote:(b,m)=>{const S=m?.metaKey||m?.ctrlKey||!1,D=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(qt(i(),b,{openInAdjacentPanel:S,sourcePanelId:D}))}}),b=>N(R,b,!0),()=>t(R))}}),kt(_,v);var pt=wt(mt);return V(),pt}export{Yt as default};
@@ -1,4 +1,4 @@
1
- import{c as P}from"./MqeYlZEc.js";import{c as J,f as Q,C as Y,H as y,g as G,b as X,F as Z,S as $,a as K}from"./D_LNh-Ja.js";import{D as Oe,d as Ie,e as Le,R as Ne,h as Ee,i as Ue,j as De,t as Be,k as Re}from"./D_LNh-Ja.js";import{l as _,g as B}from"./C9c1XoGB.js";const x=120*1e3;class C{constructor(i){this._defaults=i,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>x&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=P({moduleId:"vs/language/json/jsonWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/json.worker-Cgaz53LV.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...i){let t;return this._getClient().then(n=>{t=n}).then(n=>{if(this._worker)return this._worker.withSyncedResources(i)}).then(n=>t)}}function ee(e,i=!1){const t=e.length;let n=0,o="",p=0,l=16,u=0,g=0,w=0,v=0,c=0;function O(s,m){let a=0,r=0;for(;a<s;){let f=e.charCodeAt(n);if(f>=48&&f<=57)r=r*16+f-48;else if(f>=65&&f<=70)r=r*16+f-65+10;else if(f>=97&&f<=102)r=r*16+f-97+10;else break;n++,a++}return a<s&&(r=-1),r}function U(s){n=s,o="",p=0,l=16,c=0}function N(){let s=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&T(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&T(e.charCodeAt(n)))for(n++;n<e.length&&T(e.charCodeAt(n));)n++;else return c=3,e.substring(s,n);let m=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&T(e.charCodeAt(n))){for(n++;n<e.length&&T(e.charCodeAt(n));)n++;m=n}else c=3;return e.substring(s,m)}function q(){let s="",m=n;for(;;){if(n>=t){s+=e.substring(m,n),c=2;break}const a=e.charCodeAt(n);if(a===34){s+=e.substring(m,n),n++;break}if(a===92){if(s+=e.substring(m,n),n++,n>=t){c=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=`
1
+ import{c as P}from"./Z14_HVFv.js";import{c as J,f as Q,C as Y,H as y,g as G,b as X,F as Z,S as $,a as K}from"./CWz2XNBO.js";import{D as Oe,d as Ie,e as Le,R as Ne,h as Ee,i as Ue,j as De,t as Be,k as Re}from"./CWz2XNBO.js";import{l as _,g as B}from"./DTY9Anmi.js";const x=120*1e3;class C{constructor(i){this._defaults=i,this._worker=null,this._client=null,this._idleCheckInterval=window.setInterval(()=>this._checkIfIdle(),30*1e3),this._lastUsedTime=0,this._configChangeListener=this._defaults.onDidChange(()=>this._stopWorker())}_stopWorker(){this._worker&&(this._worker.dispose(),this._worker=null),this._client=null}dispose(){clearInterval(this._idleCheckInterval),this._configChangeListener.dispose(),this._stopWorker()}_checkIfIdle(){if(!this._worker)return;Date.now()-this._lastUsedTime>x&&this._stopWorker()}_getClient(){return this._lastUsedTime=Date.now(),this._client||(this._worker=P({moduleId:"vs/language/json/jsonWorker",createWorker:()=>new Worker(new URL("/app/immutable/workers/json.worker-Cgaz53LV.js",import.meta.url),{type:"module"}),label:this._defaults.languageId,createData:{languageSettings:this._defaults.diagnosticsOptions,languageId:this._defaults.languageId,enableSchemaRequest:this._defaults.diagnosticsOptions.enableSchemaRequest}}),this._client=this._worker.getProxy()),this._client}getLanguageServiceWorker(...i){let t;return this._getClient().then(n=>{t=n}).then(n=>{if(this._worker)return this._worker.withSyncedResources(i)}).then(n=>t)}}function ee(e,i=!1){const t=e.length;let n=0,o="",p=0,l=16,u=0,g=0,w=0,v=0,c=0;function O(s,m){let a=0,r=0;for(;a<s;){let f=e.charCodeAt(n);if(f>=48&&f<=57)r=r*16+f-48;else if(f>=65&&f<=70)r=r*16+f-65+10;else if(f>=97&&f<=102)r=r*16+f-97+10;else break;n++,a++}return a<s&&(r=-1),r}function U(s){n=s,o="",p=0,l=16,c=0}function N(){let s=n;if(e.charCodeAt(n)===48)n++;else for(n++;n<e.length&&T(e.charCodeAt(n));)n++;if(n<e.length&&e.charCodeAt(n)===46)if(n++,n<e.length&&T(e.charCodeAt(n)))for(n++;n<e.length&&T(e.charCodeAt(n));)n++;else return c=3,e.substring(s,n);let m=n;if(n<e.length&&(e.charCodeAt(n)===69||e.charCodeAt(n)===101))if(n++,(n<e.length&&e.charCodeAt(n)===43||e.charCodeAt(n)===45)&&n++,n<e.length&&T(e.charCodeAt(n))){for(n++;n<e.length&&T(e.charCodeAt(n));)n++;m=n}else c=3;return e.substring(s,m)}function q(){let s="",m=n;for(;;){if(n>=t){s+=e.substring(m,n),c=2;break}const a=e.charCodeAt(n);if(a===34){s+=e.substring(m,n),n++;break}if(a===92){if(s+=e.substring(m,n),n++,n>=t){c=2;break}switch(e.charCodeAt(n++)){case 34:s+='"';break;case 92:s+="\\";break;case 47:s+="/";break;case 98:s+="\b";break;case 102:s+="\f";break;case 110:s+=`
2
2
  `;break;case 114:s+="\r";break;case 116:s+=" ";break;case 117:const f=O(4);f>=0?s+=String.fromCharCode(f):c=4;break;default:c=5}m=n;continue}if(a>=0&&a<=31)if(I(a)){s+=e.substring(m,n),c=2;break}else c=6;n++}return s}function D(){if(o="",c=0,p=n,g=u,v=w,n>=t)return p=t,l=17;let s=e.charCodeAt(n);if(E(s)){do n++,o+=String.fromCharCode(s),s=e.charCodeAt(n);while(E(s));return l=15}if(I(s))return n++,o+=String.fromCharCode(s),s===13&&e.charCodeAt(n)===10&&(n++,o+=`
3
3
  `),u++,w=n,l=14;switch(s){case 123:return n++,l=1;case 125:return n++,l=2;case 91:return n++,l=3;case 93:return n++,l=4;case 58:return n++,l=6;case 44:return n++,l=5;case 34:return n++,o=q(),l=10;case 47:const m=n-1;if(e.charCodeAt(n+1)===47){for(n+=2;n<t&&!I(e.charCodeAt(n));)n++;return o=e.substring(m,n),l=12}if(e.charCodeAt(n+1)===42){n+=2;const a=t-1;let r=!1;for(;n<a;){const f=e.charCodeAt(n);if(f===42&&e.charCodeAt(n+1)===47){n+=2,r=!0;break}n++,I(f)&&(f===13&&e.charCodeAt(n)===10&&n++,u++,w=n)}return r||(n++,c=1),o=e.substring(m,n),l=13}return o+=String.fromCharCode(s),n++,l=16;case 45:if(o+=String.fromCharCode(s),n++,n===t||!T(e.charCodeAt(n)))return l=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return o+=N(),l=11;default:for(;n<t&&z(s);)n++,s=e.charCodeAt(n);if(p!==n){switch(o=e.substring(p,n),o){case"true":return l=8;case"false":return l=9;case"null":return l=7}return l=16}return o+=String.fromCharCode(s),n++,l=16}}function z(s){if(E(s)||I(s))return!1;switch(s){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function d(){let s;do s=D();while(s>=12&&s<=15);return s}return{setPosition:U,getPosition:()=>n,scan:i?d:D,getToken:()=>l,getTokenValue:()=>o,getTokenOffset:()=>p,getTokenLength:()=>n-p,getTokenStartLine:()=>g,getTokenStartCharacter:()=>p-v,getTokenError:()=>c}}function E(e){return e===32||e===9}function I(e){return e===10||e===13}function T(e){return e>=48&&e<=57}var R;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(R||(R={}));new Array(20).fill(0).map((e,i)=>" ".repeat(i));const A=200;new Array(A).fill(0).map((e,i)=>`
4
4
  `+" ".repeat(i)),new Array(A).fill(0).map((e,i)=>"\r"+" ".repeat(i)),new Array(A).fill(0).map((e,i)=>`\r
@@ -1,2 +1,2 @@
1
- import{O as G,g as Q,ao as V,al as j,aw as J,p as X,a as $}from"./lJ2hrkPe.js";import{IS as l,nG as h,nH as R,I$ as N,bi as T,_ as z,nt as _,ru as H,rQ as Y,kc as Z,rO as B,Jk as O,r9 as ee,fI as q,rv as P,a0 as te,bg as ne,i as se}from"./BwCXlNwV.js";import{m as F,a0 as oe,l as ie}from"./CUqDFxUi.js";import{g as K}from"./DypB-Dwi.js";const re=["[WORKSPACE EVENTS]","[TASK WAKE]","[AGENT MESSAGE]"];function ae(e){const t=e.metadata;if(t&&typeof t=="object"){if(t.type==="question_answers")return!1;if(!G(t))return!0}const n=Q(e);return re.some(s=>n.startsWith(s))}const x=1440*60*1e3;function ce(e){let t=null;for(const n of e){if(ae({id:n.id,timestamp:n.createdAt,metadata:n.metadata,contentBlocks:[{type:"text",text:n.preview.trimStart()}]}))continue;const s=Date.parse(n.createdAt);Number.isFinite(s)&&(t===null||s>t)&&(t=s)}return t}const de=50,le=20;function W(e,t){return e===null||t!==null&&t>e?t:e}async function Be(e,t){let n,s=null;for(let o=0;o<le;o++){const i=await e({limit:de,nextToken:n});if(!i.ok)return null;const a=i.items;s===null&&a.length>0&&(s=a[a.length-1].id);const d=t?.newestId!=null?a.findIndex(c=>c.id===t.newestId):-1,r=ce(d>=0?a.slice(d+1):a);if(d>=0)return{latest:W(r,t?.latest??null),newestId:s};if(r!==null)return{latest:W(r,t?.latest??null),newestId:s};if(typeof i.nextToken!="string")return{latest:null,newestId:s};n=i.nextToken}return{latest:t?.latest??null,newestId:s}}function ue(e,t){return e!=null&&e<=t&&e>t-x}function ge(e,t){return e!=null&&Number.isFinite(e)&&e>0&&e<=t-x}function fe(e,t){const{workspaceId:n,agentId:s,authority:o,nativePairId:i,evidence:a}=e;if(!n||!s||!o||o!==t)return null;const d=JSON.stringify([n,s]);if(i!==d||a?.id!==d)return null;const r=a.clips.find(c=>c.status==="recording");return!r||r.discarding||!Number.isFinite(r.startedAt)||!Number.isFinite(r.pausedMs??0)||r.pausedAt!=null&&!Number.isFinite(r.pausedAt)?null:{workspaceId:n,agentId:s,clipId:r.id,startedAt:r.startedAt,pausedAt:r.pausedAt??null,pausedMs:r.pausedMs??0}}function We(e,t){return t!==void 0&&e!==t?"ignore":e?"stop":"start"}const De=l.createSelector(e=>{const t=e.dockConversation,n=t.workspaceId&&t.agentId?JSON.stringify([t.workspaceId,t.agentId]):null;return fe({workspaceId:t.workspaceId,agentId:t.agentId,authority:t.authority,nativePairId:t.nativeSpeech.pairId,evidence:n?h(t.evidence,n):null},K(e))});l.createSelector(e=>e.hud.active);l.createSelector(e=>e.hud.feed);l.createSelector(e=>e.hud.usage);l.createSelector(e=>e.hud.usageError);const Ee=l.createSelector(e=>e.hud.rateHistory),Ne=l.createSelector(e=>R(e.workspace.workspaces)),He=l.createSelector(e=>{const t=e.hud.usage?.totals;return t?N(t):0}),qe=l.createSelector(e=>e.hud.burnRatePerMin),Pe=l.createSelector(e=>e.hud.burnTrend),Fe=l.createSelector(e=>{const{health:t,stats:n,lastUpdated:s,hostLocality:o}=e.daemonHealth,i=n?.hostname;return{online:t!=="down",uptimeSeconds:typeof n?.uptimeSeconds=="number"?n.uptimeSeconds:null,version:n?.version??null,fetchedAtMs:s?Date.parse(s):null,remoteHostname:o==="remote"&&i?i.split(".",1)[0]??i:null}}),Ke=l.createSelector(e=>e.hud.gridFilter);l.createSelector(e=>e.hud.attentionByWorkspaceId);const xe=l.createSelector((e,t)=>{const n=e.hud?.questionsByAgentId?.[t];if(!n)return!1;const s=e.agentSessions?.byAgentId[t]?.metadata??{};return!F(s,n.messageId)}),Le=l.createSelector(e=>e.hud.takeoverRequestWorkspaceId);function pe(e,t){return t[String(e.id)]??e.displayStatus}const S=l.createSelector(e=>{const t=e.hud.displayStatusByWorkspaceId;return R(e.workspace.workspaces).filter(n=>n.status!==T.Archived&&n.status!==T.Retired&&n.status!==T.Deleted).map(n=>{const s=pe(n,t);return s&&s!==n.displayStatus?{...n,displayStatus:s}:n})});function I(e){const t=e.agentSummary;return!t||!Array.isArray(t.agents)?[]:t.agents.filter(n=>!!n&&typeof n=="object"&&typeof n.id=="string"&&n.status!=="deleted"&&!ie(n.id))}const Ue=l.createSelector(e=>{const t=Object.fromEntries(z.map(n=>[n,0]));for(const n of S.select(e))for(const s of I(n))t[y(e,s).bucket]+=1;return t}),Ge=l.createSelector(e=>{const t={idle:0,unread:0,progress:0,attention:0,waiting:0,prOpen:0,prMerged:0,failed:0,completed:0,total:0};for(const n of C.select(e))switch(t.total+=1,n.isUnread&&(t.unread+=1),n.isWaiting&&(t.waiting+=1),n.stateKey){case"wait":case"blocked":t.attention+=1;break;case"failed":t.failed+=1;break;case"in_progress":t.progress+=1;break;case"complete":t.completed+=1;break;case"pr_open":case"pr_ready":case"pr_queued":t.prOpen+=1;break;case"pr_merged":t.prMerged+=1;break;default:t.idle+=1}return t}),ke=l.createSelector(e=>{const t={};for(const n of S.select(e))for(const s of I(n))typeof s.name=="string"&&s.name.length>0&&(t[s.id]=s.name);return t});function D(e){if(!e.sinceTs)return 0;const t=Date.parse(e.sinceTs);return Number.isFinite(t)?t:0}const Qe=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=e.hud.questionsByAgentId,s=[];for(const o of S.select(e)){const i=String(o.id);let a=!1;for(const r of b(o,e)){const{bucket:c,attentionKind:u,hasQuestion:g}=r;if(c!=="needs-attention"&&c!=="failed"||!r.topLevel||r.isBackground||A(e,r.id))continue;const k=g?n[r.id]:void 0,f=u?_(e.agentSessions?.byAgentId[r.id])?.reason:void 0,p=k?"question":u??void 0;s.push({workspaceId:i,workspaceTitle:o.title,kind:c==="needs-attention"?"agent_waiting":"agent_failed",...c==="needs-attention"&&p?{signal:p}:{},agentName:r.name,message:k?.question??f??null,sinceTs:r.lastActivityTs}),a=!0}const d=t[i];d&&H(d.attention)&&(s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",attention:d.attention,message:null,sinceTs:d.raisedAtTs}),a=!0),L.has(w(o))&&!a&&s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",message:null,sinceTs:null})}return s.sort((o,i)=>D(i)-D(o))}),Ve=l.createSelector(e=>{const t=ke.select(e);return e.hud.feed.map(n=>({...n,workspaceTitle:h(e.workspace.workspaces,n.source)?.title??null,resolvedAgentName:n.agentName??(n.agentId?t[n.agentId]??null:null)}))}),Se={total:0,completed:0,inProgress:0};function w(e){const t=Y(e.displayStatus)?e.displayStatus:"not_started";return Z(t)??"not_started"}const L=new Set(["wait","blocked","failed"]);function Ae(e,t,n){if(t==="failed"){const o=n.find(a=>a.bucket==="failed"&&!A(e,a.id)),i=o?e.agentSessions?.byAgentId[o.id]?.stopReason:null;return{kind:"failed",text:typeof i=="string"&&i.length>0?i:""}}if(t!=="wait"&&t!=="blocked")return null;const s=n.filter(o=>o.topLevel&&!o.isBackground&&!A(e,o.id));for(const o of s){if(!o.hasQuestion)continue;const i=e.hud.questionsByAgentId[o.id];if(i?.question)return{kind:"question",text:i.question}}for(const o of["blocker","discussion"])for(const i of s){if(i.attentionKind!==o)continue;const a=e.agentSessions?.byAgentId[i.id],d=_(a)?.reason;if(d)return{kind:o,text:d}}return{kind:"pending",text:""}}const m=new Set(["running","needs-attention","failed"]);function E(e){const t=typeof e.lastActivity=="string"?Date.parse(e.lastActivity):NaN;return Number.isFinite(t)?t:-1/0}function he(e){const t=n=>{const s=e.get(n.id)?.bucket;return s!==void 0&&m.has(s)?0:1};return(n,s)=>{const o=n.specialist==="spec-writer",i=s.specialist==="spec-writer";if(o!==i)return o?-1:1;const a=t(n)-t(s);if(a!==0)return a;const d=E(n),r=E(s);return d!==r?r-d:n.id<s.id?-1:n.id>s.id?1:0}}function me(e,t){const n=new Set(e.map(r=>r.id)),s=new Map,o=[];for(const r of e){const c=typeof r.parentAgentId=="string"&&r.parentAgentId!==r.id&&n.has(r.parentAgentId)?r.parentAgentId:null;if(c){const u=s.get(c)??[];u.push(r),s.set(c,u)}else o.push(r)}o.sort(t);for(const r of s.values())r.sort(t);const i=[],a=new Set,d=(r,c,u)=>{if(!a.has(r.id)){a.add(r.id),i.push({info:r,depth:c,parentAgentId:u});for(const g of s.get(r.id)??[])d(g,c+1,r.id)}};for(const r of o)d(r,0,null);for(const r of e)d(r,0,null);return i}function y(e,t){const n=e.agentSessions?.byAgentId[t.id],s=n?.metadata??{},o=n?_(n)?.kind??null:null,i=n?V.select(e,t.id)||typeof n.status=="string"&&B(n.status):B(t.status),a=n?O(typeof n.status=="string"?n.status:t.status):null,d=!!n&&a!=="failed"&&a!=="done"&&(n.isWaitingForOtherAgents===!0||Array.isArray(n.waitingForAgentIds)&&n.waitingForAgentIds.length>0||Array.isArray(n.waitingOnHooks)&&n.waitingOnHooks.length>0||Array.isArray(n.waitingOnPrMonitors)&&n.waitingOnPrMonitors.length>0||Array.isArray(n.waitingOnScriptMonitors)&&n.waitingOnScriptMonitors.length>0),r=!!n&&(n.turnInFlight===!0||n.liveTurnOpen===!0);let c;n?d&&!r&&n.isStreaming!==!0&&n.isProcessing!==!0?c="idle":j.select(e,t.id)?c="running":i?c="idle":c=O(typeof n.status=="string"?n.status:t.status):c=t.isResponding===!0||t.isStreaming===!0?"running":O(t.status);const u=e.hud.questionsByAgentId[t.id],g=c!=="failed"&&!!u&&!F(s,u.messageId);return{bucket:c==="failed"?"failed":o!==null||g?"needs-attention":c,attentionKind:o,hasQuestion:g,isRunning:c==="running"}}function U(e,t){const n=o=>typeof o=="string"&&o!==e.id?o:null,s=o=>({isBackground:o?.isBackground,createdByAgentId:n(o?.createdByAgentId)});return{parentAgentId:n(e.parentAgentId)??n(t?.parentAgentId),isBackground:e.isBackground??t?.isBackground,metadata:s(t?.metadata),agentMetadata:s(t?.agentMetadata)}}function A(e,t){return e.agentSessions?.byAgentId[t]?.notificationsMuted===!0}function ye(e){if(!e)return null;switch(e.kind){case"attention":return e.attention.reason??null;case"live-tool":case"last-tool":{const t=$(e.toolUse.name,e.toolUse.input||{});return t.hidden?null:[t.verb,t.subject,t.path].filter(Boolean).join(" ").trim()||null}default:{const t=e.text||"";return t?t.includes(`
1
+ import{O as G,g as Q,ao as V,al as j,aw as J,p as X,a as $}from"./Bd92b52s.js";import{IS as l,nG as h,nH as R,I$ as N,bi as T,_ as z,nt as _,ru as H,rQ as Y,kc as Z,rO as B,Jk as O,r9 as ee,fI as q,rv as P,a0 as te,bg as ne,i as se}from"./DUUOaZUX.js";import{m as F,a0 as oe,l as ie}from"./SM6VUydw.js";import{g as K}from"./DypB-Dwi.js";const re=["[WORKSPACE EVENTS]","[TASK WAKE]","[AGENT MESSAGE]"];function ae(e){const t=e.metadata;if(t&&typeof t=="object"){if(t.type==="question_answers")return!1;if(!G(t))return!0}const n=Q(e);return re.some(s=>n.startsWith(s))}const x=1440*60*1e3;function ce(e){let t=null;for(const n of e){if(ae({id:n.id,timestamp:n.createdAt,metadata:n.metadata,contentBlocks:[{type:"text",text:n.preview.trimStart()}]}))continue;const s=Date.parse(n.createdAt);Number.isFinite(s)&&(t===null||s>t)&&(t=s)}return t}const de=50,le=20;function W(e,t){return e===null||t!==null&&t>e?t:e}async function Be(e,t){let n,s=null;for(let o=0;o<le;o++){const i=await e({limit:de,nextToken:n});if(!i.ok)return null;const a=i.items;s===null&&a.length>0&&(s=a[a.length-1].id);const d=t?.newestId!=null?a.findIndex(c=>c.id===t.newestId):-1,r=ce(d>=0?a.slice(d+1):a);if(d>=0)return{latest:W(r,t?.latest??null),newestId:s};if(r!==null)return{latest:W(r,t?.latest??null),newestId:s};if(typeof i.nextToken!="string")return{latest:null,newestId:s};n=i.nextToken}return{latest:t?.latest??null,newestId:s}}function ue(e,t){return e!=null&&e<=t&&e>t-x}function ge(e,t){return e!=null&&Number.isFinite(e)&&e>0&&e<=t-x}function fe(e,t){const{workspaceId:n,agentId:s,authority:o,nativePairId:i,evidence:a}=e;if(!n||!s||!o||o!==t)return null;const d=JSON.stringify([n,s]);if(i!==d||a?.id!==d)return null;const r=a.clips.find(c=>c.status==="recording");return!r||r.discarding||!Number.isFinite(r.startedAt)||!Number.isFinite(r.pausedMs??0)||r.pausedAt!=null&&!Number.isFinite(r.pausedAt)?null:{workspaceId:n,agentId:s,clipId:r.id,startedAt:r.startedAt,pausedAt:r.pausedAt??null,pausedMs:r.pausedMs??0}}function We(e,t){return t!==void 0&&e!==t?"ignore":e?"stop":"start"}const De=l.createSelector(e=>{const t=e.dockConversation,n=t.workspaceId&&t.agentId?JSON.stringify([t.workspaceId,t.agentId]):null;return fe({workspaceId:t.workspaceId,agentId:t.agentId,authority:t.authority,nativePairId:t.nativeSpeech.pairId,evidence:n?h(t.evidence,n):null},K(e))});l.createSelector(e=>e.hud.active);l.createSelector(e=>e.hud.feed);l.createSelector(e=>e.hud.usage);l.createSelector(e=>e.hud.usageError);const Ee=l.createSelector(e=>e.hud.rateHistory),Ne=l.createSelector(e=>R(e.workspace.workspaces)),He=l.createSelector(e=>{const t=e.hud.usage?.totals;return t?N(t):0}),qe=l.createSelector(e=>e.hud.burnRatePerMin),Pe=l.createSelector(e=>e.hud.burnTrend),Fe=l.createSelector(e=>{const{health:t,stats:n,lastUpdated:s,hostLocality:o}=e.daemonHealth,i=n?.hostname;return{online:t!=="down",uptimeSeconds:typeof n?.uptimeSeconds=="number"?n.uptimeSeconds:null,version:n?.version??null,fetchedAtMs:s?Date.parse(s):null,remoteHostname:o==="remote"&&i?i.split(".",1)[0]??i:null}}),Ke=l.createSelector(e=>e.hud.gridFilter);l.createSelector(e=>e.hud.attentionByWorkspaceId);const xe=l.createSelector((e,t)=>{const n=e.hud?.questionsByAgentId?.[t];if(!n)return!1;const s=e.agentSessions?.byAgentId[t]?.metadata??{};return!F(s,n.messageId)}),Le=l.createSelector(e=>e.hud.takeoverRequestWorkspaceId);function pe(e,t){return t[String(e.id)]??e.displayStatus}const S=l.createSelector(e=>{const t=e.hud.displayStatusByWorkspaceId;return R(e.workspace.workspaces).filter(n=>n.status!==T.Archived&&n.status!==T.Retired&&n.status!==T.Deleted).map(n=>{const s=pe(n,t);return s&&s!==n.displayStatus?{...n,displayStatus:s}:n})});function I(e){const t=e.agentSummary;return!t||!Array.isArray(t.agents)?[]:t.agents.filter(n=>!!n&&typeof n=="object"&&typeof n.id=="string"&&n.status!=="deleted"&&!ie(n.id))}const Ue=l.createSelector(e=>{const t=Object.fromEntries(z.map(n=>[n,0]));for(const n of S.select(e))for(const s of I(n))t[y(e,s).bucket]+=1;return t}),Ge=l.createSelector(e=>{const t={idle:0,unread:0,progress:0,attention:0,waiting:0,prOpen:0,prMerged:0,failed:0,completed:0,total:0};for(const n of C.select(e))switch(t.total+=1,n.isUnread&&(t.unread+=1),n.isWaiting&&(t.waiting+=1),n.stateKey){case"wait":case"blocked":t.attention+=1;break;case"failed":t.failed+=1;break;case"in_progress":t.progress+=1;break;case"complete":t.completed+=1;break;case"pr_open":case"pr_ready":case"pr_queued":t.prOpen+=1;break;case"pr_merged":t.prMerged+=1;break;default:t.idle+=1}return t}),ke=l.createSelector(e=>{const t={};for(const n of S.select(e))for(const s of I(n))typeof s.name=="string"&&s.name.length>0&&(t[s.id]=s.name);return t});function D(e){if(!e.sinceTs)return 0;const t=Date.parse(e.sinceTs);return Number.isFinite(t)?t:0}const Qe=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=e.hud.questionsByAgentId,s=[];for(const o of S.select(e)){const i=String(o.id);let a=!1;for(const r of b(o,e)){const{bucket:c,attentionKind:u,hasQuestion:g}=r;if(c!=="needs-attention"&&c!=="failed"||!r.topLevel||r.isBackground||A(e,r.id))continue;const k=g?n[r.id]:void 0,f=u?_(e.agentSessions?.byAgentId[r.id])?.reason:void 0,p=k?"question":u??void 0;s.push({workspaceId:i,workspaceTitle:o.title,kind:c==="needs-attention"?"agent_waiting":"agent_failed",...c==="needs-attention"&&p?{signal:p}:{},agentName:r.name,message:k?.question??f??null,sinceTs:r.lastActivityTs}),a=!0}const d=t[i];d&&H(d.attention)&&(s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",attention:d.attention,message:null,sinceTs:d.raisedAtTs}),a=!0),L.has(w(o))&&!a&&s.push({workspaceId:i,workspaceTitle:o.title,kind:"workspace_attention",message:null,sinceTs:null})}return s.sort((o,i)=>D(i)-D(o))}),Ve=l.createSelector(e=>{const t=ke.select(e);return e.hud.feed.map(n=>({...n,workspaceTitle:h(e.workspace.workspaces,n.source)?.title??null,resolvedAgentName:n.agentName??(n.agentId?t[n.agentId]??null:null)}))}),Se={total:0,completed:0,inProgress:0};function w(e){const t=Y(e.displayStatus)?e.displayStatus:"not_started";return Z(t)??"not_started"}const L=new Set(["wait","blocked","failed"]);function Ae(e,t,n){if(t==="failed"){const o=n.find(a=>a.bucket==="failed"&&!A(e,a.id)),i=o?e.agentSessions?.byAgentId[o.id]?.stopReason:null;return{kind:"failed",text:typeof i=="string"&&i.length>0?i:""}}if(t!=="wait"&&t!=="blocked")return null;const s=n.filter(o=>o.topLevel&&!o.isBackground&&!A(e,o.id));for(const o of s){if(!o.hasQuestion)continue;const i=e.hud.questionsByAgentId[o.id];if(i?.question)return{kind:"question",text:i.question}}for(const o of["blocker","discussion"])for(const i of s){if(i.attentionKind!==o)continue;const a=e.agentSessions?.byAgentId[i.id],d=_(a)?.reason;if(d)return{kind:o,text:d}}return{kind:"pending",text:""}}const m=new Set(["running","needs-attention","failed"]);function E(e){const t=typeof e.lastActivity=="string"?Date.parse(e.lastActivity):NaN;return Number.isFinite(t)?t:-1/0}function he(e){const t=n=>{const s=e.get(n.id)?.bucket;return s!==void 0&&m.has(s)?0:1};return(n,s)=>{const o=n.specialist==="spec-writer",i=s.specialist==="spec-writer";if(o!==i)return o?-1:1;const a=t(n)-t(s);if(a!==0)return a;const d=E(n),r=E(s);return d!==r?r-d:n.id<s.id?-1:n.id>s.id?1:0}}function me(e,t){const n=new Set(e.map(r=>r.id)),s=new Map,o=[];for(const r of e){const c=typeof r.parentAgentId=="string"&&r.parentAgentId!==r.id&&n.has(r.parentAgentId)?r.parentAgentId:null;if(c){const u=s.get(c)??[];u.push(r),s.set(c,u)}else o.push(r)}o.sort(t);for(const r of s.values())r.sort(t);const i=[],a=new Set,d=(r,c,u)=>{if(!a.has(r.id)){a.add(r.id),i.push({info:r,depth:c,parentAgentId:u});for(const g of s.get(r.id)??[])d(g,c+1,r.id)}};for(const r of o)d(r,0,null);for(const r of e)d(r,0,null);return i}function y(e,t){const n=e.agentSessions?.byAgentId[t.id],s=n?.metadata??{},o=n?_(n)?.kind??null:null,i=n?V.select(e,t.id)||typeof n.status=="string"&&B(n.status):B(t.status),a=n?O(typeof n.status=="string"?n.status:t.status):null,d=!!n&&a!=="failed"&&a!=="done"&&(n.isWaitingForOtherAgents===!0||Array.isArray(n.waitingForAgentIds)&&n.waitingForAgentIds.length>0||Array.isArray(n.waitingOnHooks)&&n.waitingOnHooks.length>0||Array.isArray(n.waitingOnPrMonitors)&&n.waitingOnPrMonitors.length>0||Array.isArray(n.waitingOnScriptMonitors)&&n.waitingOnScriptMonitors.length>0),r=!!n&&(n.turnInFlight===!0||n.liveTurnOpen===!0);let c;n?d&&!r&&n.isStreaming!==!0&&n.isProcessing!==!0?c="idle":j.select(e,t.id)?c="running":i?c="idle":c=O(typeof n.status=="string"?n.status:t.status):c=t.isResponding===!0||t.isStreaming===!0?"running":O(t.status);const u=e.hud.questionsByAgentId[t.id],g=c!=="failed"&&!!u&&!F(s,u.messageId);return{bucket:c==="failed"?"failed":o!==null||g?"needs-attention":c,attentionKind:o,hasQuestion:g,isRunning:c==="running"}}function U(e,t){const n=o=>typeof o=="string"&&o!==e.id?o:null,s=o=>({isBackground:o?.isBackground,createdByAgentId:n(o?.createdByAgentId)});return{parentAgentId:n(e.parentAgentId)??n(t?.parentAgentId),isBackground:e.isBackground??t?.isBackground,metadata:s(t?.metadata),agentMetadata:s(t?.agentMetadata)}}function A(e,t){return e.agentSessions?.byAgentId[t]?.notificationsMuted===!0}function ye(e){if(!e)return null;switch(e.kind){case"attention":return e.attention.reason??null;case"live-tool":case"last-tool":{const t=$(e.toolUse.name,e.toolUse.input||{});return t.hidden?null:[t.verb,t.subject,t.path].filter(Boolean).join(" ").trim()||null}default:{const t=e.text||"";return t?t.includes(`
2
2
  `)?X(t)||null:t:null}}}function b(e,t){const n=I(e),s=new Map(n.map(i=>[i.id,y(t,i)]));return me(n,he(s)).map(({info:i,depth:a,parentAgentId:d})=>{const r=t.agentSessions?.byAgentId[i.id],c=U(i,r),{bucket:u,attentionKind:g,hasQuestion:k}=s.get(i.id)??y(t,i),f=Array.isArray(r?.waitingForAgentIds)?r.waitingForAgentIds.filter(p=>typeof p=="string"):[];return{id:i.id,name:i.name,bucket:u,lastActivityTs:i.lastActivity??null,line:ye(J.select(t,i.id)),parentAgentId:d,depth:a,treePrefix:"",topLevel:q(c)==="topLevel",isBackground:ee(c),attentionKind:g,hasQuestion:k,isWaitingForAgents:r?.isWaitingForOtherAgents===!0||f.length>0||Array.isArray(r?.waitingOnHooks)&&r.waitingOnHooks.length>0||Array.isArray(r?.waitingOnPrMonitors)&&r.waitingOnPrMonitors.length>0||Array.isArray(r?.waitingOnScriptMonitors)&&r.waitingOnScriptMonitors.length>0,waitingForAgentIds:f}})}function Ie(e){const t=new Set;for(const o of e)for(const i of o.waitingForAgentIds)t.add(i);const n=o=>m.has(o.bucket)||o.isWaitingForAgents||t.has(o.id);return e.filter((o,i)=>{if(n(o))return!0;for(let a=i+1;a<e.length&&!(e[a].depth<=o.depth);a++)if(n(e[a]))return!0;return!1}).map((o,i,a)=>{if(o.depth===0)return{...o,treePrefix:""};let d=!0;for(let r=i+1;r<a.length&&!(a[r].depth<o.depth);r++)if(a[r].depth===o.depth){d=!1;break}return{...o,treePrefix:(o.depth>=2?"│ ":"")+(d?"└─":"├─")}})}const C=l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId,n=oe.select(e);return S.select(e).map(s=>{const o=String(s.id),i=n.indexOf(o),a=t[o]?.attention??(typeof s.attention=="string"&&P(s.attention)?s.attention:null),d=b(s,e),r=w(s),c=e.tokenUsage?.byWorkspaceId[o]?.totals,u=e.workspaceTasks?.byWorkspaceId[o]?.stats,g=typeof s.statusMessage=="string"&&s.statusMessage.trim().length>0?s.statusMessage:null;return{workspaceId:o,title:s.title,repoRef:s.repositoryName?`${s.repositoryOwner?`${s.repositoryOwner}/`:""}${s.repositoryName}`:s.branch,stateKey:r,attention:a,isUnread:a===te,isWaiting:s.waiting===!0,statusMessage:g,attentionSnippet:Ae(e,r,d),prNumber:typeof s.prNumber=="number"?s.prNumber:null,keySlot:i===-1?null:i,tasks:u?{total:u.total,completed:u.completed,inProgress:u.inProgress}:Se,tokens:c?N(c):0,agents:Ie(d)}})}),M=4;function we(e,t,n){const s=e.agentSessions?.byAgentId[n.id];return!s||String(s.workspaceId)!==t||s.pendingDeleteAt||q(U(n,s))!=="topLevel"?!1:!A(e,n.id)}const be=l.createSelector(e=>{const t={},n=e.hud.attentionByWorkspaceId;for(const s of S.select(e)){const o=String(s.id),i=new Map,a=(f,p)=>{const v=i.get(f)??[];v.includes(p)||v.push(p),i.set(f,v)},r=I(s).filter(f=>we(e,o,f));for(const f of r){const p=y(e,f);p.bucket==="failed"?a("failed",f.name):p.hasQuestion?a("question",f.name):p.attentionKind==="blocker"?a("blocker",f.name):p.attentionKind==="discussion"&&a("discussion",f.name),p.isRunning&&a("running",f.name)}const c=w(s);c==="failed"&&!i.has("failed")&&i.set("failed",[]),c==="blocked"&&!i.has("blocker")&&i.set("blocker",[]),c==="wait"&&!i.has("question")&&!i.has("blocker")&&!i.has("discussion")&&i.set("needs_input",[]);const u=n[o]?.attention??(typeof s.attention=="string"&&P(s.attention)?s.attention:null);u==="review_required"&&i.set("review",[]),u==="unread"&&i.set("unread",[]),s.activity==="agent_running"&&!i.has("running")&&i.set("running",[]);const g=ne.flatMap(f=>{const p=i.get(f);return p?[{category:f,count:Math.max(1,p.length),agentNames:p}]:[]});if(g.length===0)continue;const k=g.length>M;t[o]={agentCount:r.length,categories:g,visibleCategories:k?g.slice(0,M-1):g,hiddenCategoryCount:k?g.length-(M-1):0}}return t});l.createSelector(e=>{const t=e.hud.attentionByWorkspaceId;let n=0;for(const s of S.select(e)){let o=!1;for(const d of b(s,e))d.topLevel&&!d.isBackground&&!A(e,d.id)&&(d.bucket==="failed"||d.attentionKind!==null||d.hasQuestion)&&(n+=1,o=!0);const i=t[String(s.id)],a=i!==void 0&&H(i.attention);a&&(n+=1),L.has(w(s))&&!o&&!a&&(n+=1)}return n});function ve(e,t,n,s){const o=s.slice().sort((r,c)=>c.createdAt-r.createdAt);for(const r of o){const u=e.agentSessions?.byAgentId[r.agentId]?.metadata?.completionReport;if(typeof u=="string"&&u.trim().length>0)return u}const i=e.workspaceNotes?.byWorkspaceId[t]?.notes,a=i?h(i,n):void 0,d=a?.content||a?.contentPreview;return typeof d=="string"&&d.trim().length>0?d:null}const je=l.createSelector((e,t)=>{const n=C.select(e).find(c=>c.workspaceId===t);if(!n)return null;const s=h(e.workspace.workspaces,t),o=s?b(s,e):[],i=new Map(o.map(c=>[c.id,c])),a=e.taskAgentAssociations?.byWorkspaceId[t]?.byNoteId??{},d=e.workspaceTasks?.byWorkspaceId[t],r=d?R(d.tasks).filter(c=>c.status!=="cancelled").map(c=>{const u=Object.values(a[c.id]??{});return{id:c.id,title:c.title,status:c.status,agents:u.map(g=>i.get(g.agentId)).filter(g=>!!g),report:c.status==="complete"?ve(e,t,c.id,u):null,...c.specLinked!==void 0?{specLinked:c.specLinked}:{},...c.dependsOn?{dependsOn:c.dependsOn}:{},...c.conflictsWith?{conflictsWith:c.conflictsWith}:{},...c.unmetDependsOn?{unmetDependsOn:c.unmetDependsOn}:{}}}):[];return{workspaceId:t,title:n.title,repoRef:n.repoRef,statusMessage:n.statusMessage,keySlot:n.keySlot,stats:n.tasks,tasks:r,activeAgents:o.filter(c=>m.has(c.bucket)),idleAgents:o.filter(c=>!m.has(c.bucket))}}),Te=new Set(["failed","blocker","question","discussion","needs_input","review"]);function Oe(e){for(const t of e?.categories??[])switch(t.category){case"failed":return"failure";case"blocker":return"blocker";case"question":return"question";case"review":return"review"}return"none"}const Je=l.createSelector((e,t="recent")=>{const n=C.select(e),s=be.select(e),o=new Map(S.select(e).map(a=>[String(a.id),a])),i={action:[],unread:[],active:[]};for(const a of n){const d=o.get(a.workspaceId);if(!d||d.id===se||!(t==="older"?ge:ue)(e.hud.dockConversationAtByWorkspaceId[a.workspaceId],e.hud.dockRecencyNow))continue;const r=s[a.workspaceId],c=r?.categories??[],u=c.some(p=>Te.has(p.category)),g=a.isUnread,k=c.some(p=>p.category==="running"),f=u?"action":g?"unread":"active";i[f].push({workspace:d,badgeKind:Oe(r),priorityGroup:f,isUnread:g,isRunning:k,isWaiting:a.isWaiting})}return[...i.action,...i.unread,...i.active].sort((a,d)=>e.hud.dockConversationAtByWorkspaceId[String(d.workspace.id)]-e.hud.dockConversationAtByWorkspaceId[String(a.workspace.id)]||String(a.workspace.id).localeCompare(String(d.workspace.id)))}),Xe=l.createSelector(e=>e.hud.dockPlacement),$e=l.createSelector(e=>e.hud.dockPlacementError),ze=l.createSelector(e=>e.hud.dockFocusRequest),Ye=l.createSelector(e=>e.hud.dockCloseRequest),Ze=l.createSelector(e=>e.hud.dockDragStartResult),et=l.createSelector(e=>e.hud.dockResizeStartResult),tt=l.createSelector(e=>({pending:e.hud.dockMachineSwitching,error:e.hud.dockMachineSwitchError})),nt=l.createSelector(e=>{const t=e.hud.dockEditorCompactRequest,n=e.dockConversation,s=n.workspaceId&&n.agentId?h(n.evidence,JSON.stringify([n.workspaceId,n.agentId])):null,o=!!n.nativeSpeech.activeId||!!s?.annotation||s?.clips.some(i=>i.status==="recording")||e.hardwareConsole.pttRecording||e.hardwareConsole.voiceTranscribing;return t&&!o&&e.hud.active&&t.conversationGeneration===n.generation&&t.authority===K(e)&&t.backendId===e.connections.windowBackendId&&t.workspaceId===e.dockConversation.workspaceId&&t.agentId===e.dockConversation.agentId?t:null});export{Ne as A,Ge as B,be as C,Ye as a,Ze as b,nt as c,ze as d,tt as e,Xe as f,$e as g,De as h,ae as i,et as j,Je as k,xe as l,Ue as m,Qe as n,qe as o,Pe as p,Ve as q,We as r,Be as s,Ke as t,Ee as u,Fe as v,Le as w,je as x,He as y,C as z};