@intent-hq/web 2.321.0 → 2.321.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{Cz8iOYm8.js → -OAW1EMW.js} +1 -1
  3. package/web/app/immutable/chunks/{CDsY8gY8.js → -WHIysNv.js} +1 -1
  4. package/web/app/immutable/chunks/{BZyfa8QR.js → 1hja73nv.js} +1 -1
  5. package/web/app/immutable/chunks/{CvBuWqyP.js → 595JSfYJ.js} +4 -4
  6. package/web/app/immutable/chunks/{DZtstCLQ.js → 9ZBkr0Qf.js} +1 -1
  7. package/web/app/immutable/chunks/{DwsRDnkS.js → B-obUB2z.js} +4 -4
  8. package/web/app/immutable/chunks/{vzGm0J_h.js → B0SbPsRb.js} +1 -1
  9. package/web/app/immutable/chunks/{O0CxvO89.js → B1Ss_ZJB.js} +1 -1
  10. package/web/app/immutable/chunks/{Dritbi2C.js → B21V7_mT.js} +1 -1
  11. package/web/app/immutable/chunks/{D6dCvfQe.js → B3X_dqJy.js} +1 -1
  12. package/web/app/immutable/chunks/{DwNzQjT_.js → B5plHk_3.js} +1 -1
  13. package/web/app/immutable/chunks/{-x_SoK5J.js → B6l2HPmZ.js} +1 -1
  14. package/web/app/immutable/chunks/{CPKLysog.js → B7Ka_0Oj.js} +1 -1
  15. package/web/app/immutable/chunks/{Cqay3Iio.js → B8EyUhsU.js} +1 -1
  16. package/web/app/immutable/chunks/{BflC9e-C.js → B8lRKrSj.js} +1 -1
  17. package/web/app/immutable/chunks/{C0mBOV7w.js → B8z7D92E.js} +1 -1
  18. package/web/app/immutable/chunks/{BM51eWC-.js → B9_x-PiX.js} +1 -1
  19. package/web/app/immutable/chunks/{w6mFE4SD.js → BA_dLJoi.js} +1 -1
  20. package/web/app/immutable/chunks/{Ced26xBL.js → BBFIIkt3.js} +1 -1
  21. package/web/app/immutable/chunks/{CZEWv-Gf.js → BC2qBoqJ.js} +1 -1
  22. package/web/app/immutable/chunks/{BBeErNG6.js → BCXXXhph.js} +1 -1
  23. package/web/app/immutable/chunks/{CulY8r4s.js → BGDIUFls.js} +1 -1
  24. package/web/app/immutable/chunks/{Bgw4M5Hc.js → BIyU-DJK.js} +1 -1
  25. package/web/app/immutable/chunks/{BtTBXjdJ.js → BJevbZ6b.js} +1 -1
  26. package/web/app/immutable/chunks/{D2zJp5fS.js → BKGDTzxi.js} +4 -4
  27. package/web/app/immutable/chunks/{PUalo3UE.js → BKjTzecb.js} +1 -1
  28. package/web/app/immutable/chunks/BLK9_MXJ.js +1 -0
  29. package/web/app/immutable/chunks/{C6-BVYMv.js → BLPUk2wE.js} +1 -1
  30. package/web/app/immutable/chunks/{DjqPgoUP.js → BMeK3RDc.js} +1 -1
  31. package/web/app/immutable/chunks/{BwICfRz9.js → BOCB_5Mq.js} +1 -1
  32. package/web/app/immutable/chunks/{DMRQ6CDd.js → BOIp2sA8.js} +2 -2
  33. package/web/app/immutable/chunks/{4iRc0E9v.js → BOXp2u2v.js} +1 -1
  34. package/web/app/immutable/chunks/{CYOvUFvY.js → BQSDfUdM.js} +1 -1
  35. package/web/app/immutable/chunks/{CVrH3Neh.js → BTFetavf.js} +1 -1
  36. package/web/app/immutable/chunks/{BtWwzwrf.js → BUJszVQU.js} +1 -1
  37. package/web/app/immutable/chunks/{BeqbwVaJ.js → BUgNMnQK.js} +1 -1
  38. package/web/app/immutable/chunks/{CAgY0H5Q.js → BVu_zw0i.js} +1 -1
  39. package/web/app/immutable/chunks/{CmAVmm3T.js → BW92tDoj.js} +1 -1
  40. package/web/app/immutable/chunks/{5QXDo1_h.js → BaY77ElS.js} +1 -1
  41. package/web/app/immutable/chunks/{DnfX8iZ_.js → BepfjQky.js} +1 -1
  42. package/web/app/immutable/chunks/{DPoarPZL.js → BfDD9-8-.js} +1 -1
  43. package/web/app/immutable/chunks/{DJKXcaw9.js → BfLoMdoJ.js} +1 -1
  44. package/web/app/immutable/chunks/{C3lgqjB4.js → BhLhuxzO.js} +1 -1
  45. package/web/app/immutable/chunks/{CY9IKMQG.js → BhQoULkp.js} +1 -1
  46. package/web/app/immutable/chunks/{BD8I8FK1.js → BhptSt_t.js} +1 -1
  47. package/web/app/immutable/chunks/{C804xHCz.js → BnfqUxHy.js} +1 -1
  48. package/web/app/immutable/chunks/{CCsRc7xx.js → BoRJGEYY.js} +1 -1
  49. package/web/app/immutable/chunks/{CoUfnBeR.js → BqY6zXt8.js} +1 -1
  50. package/web/app/immutable/chunks/{DlZzAKZ2.js → Bswi_ddk.js} +1 -1
  51. package/web/app/immutable/chunks/{DZAWjsA4.js → BuSLaAvw.js} +1 -1
  52. package/web/app/immutable/chunks/{BziQ6zwo.js → Bv8X8HVG.js} +1 -1
  53. package/web/app/immutable/chunks/{CHRkLzGl.js → BxYEiUJG.js} +1 -1
  54. package/web/app/immutable/chunks/{BDgfVkJh.js → BxwVL-Fm.js} +1 -1
  55. package/web/app/immutable/chunks/{DNNMwmDG.js → By6RneNn.js} +1 -1
  56. package/web/app/immutable/chunks/{jvHJQ-Xz.js → ByHaUdGf.js} +1 -1
  57. package/web/app/immutable/chunks/{Cb3FWEmc.js → ByrMuSC8.js} +1 -1
  58. package/web/app/immutable/chunks/{DXySew1R.js → Bz3RpCLK.js} +1 -1
  59. package/web/app/immutable/chunks/{Du7yAEgM.js → BzxV99e1.js} +1 -1
  60. package/web/app/immutable/chunks/{CLmrIbfi.js → C-Bae4WT.js} +1 -1
  61. package/web/app/immutable/chunks/{DuMlpvYZ.js → C49MHRWB.js} +1 -1
  62. package/web/app/immutable/chunks/{DFyBaL9d.js → C4v4cxss.js} +1 -1
  63. package/web/app/immutable/chunks/{Ab2YxsyL.js → C7ROHbZN.js} +1 -1
  64. package/web/app/immutable/chunks/{DDdLPEvL.js → C8PJPEyt.js} +1 -1
  65. package/web/app/immutable/chunks/{Bcc7Bzbg.js → C8j9JMqo.js} +1 -1
  66. package/web/app/immutable/chunks/{z3QVK190.js → C9X3oeee.js} +2 -2
  67. package/web/app/immutable/chunks/{DOzF5uE-.js → CAlQoToi.js} +1 -1
  68. package/web/app/immutable/chunks/{DYhpST_X.js → CAqQ6ocO.js} +1 -1
  69. package/web/app/immutable/chunks/{Bi4OiJD3.js → CBB0H9gy.js} +1 -1
  70. package/web/app/immutable/chunks/{0Orrh1Id.js → CBt1geRx.js} +1 -1
  71. package/web/app/immutable/chunks/{C7JWgw8J.js → CCFv83XE.js} +3 -3
  72. package/web/app/immutable/chunks/{0x0gscua.js → CEifkBBF.js} +1 -1
  73. package/web/app/immutable/chunks/{CdVKa6AF.js → CF05BHVg.js} +1 -1
  74. package/web/app/immutable/chunks/{csuWDYc9.js → CFUuuOCk.js} +1 -1
  75. package/web/app/immutable/chunks/{DYfBNrOV.js → CFpa0qKK.js} +1 -1
  76. package/web/app/immutable/chunks/{C76-jvlr.js → CKVMwQIU.js} +1 -1
  77. package/web/app/immutable/chunks/{BcpqnYRX.js → CKwUXTNV.js} +1 -1
  78. package/web/app/immutable/chunks/{BWHu0fap.js → CNfmWkr2.js} +1 -1
  79. package/web/app/immutable/chunks/{ByKL05wN.js → COHcJhIZ.js} +1 -1
  80. package/web/app/immutable/chunks/{Cwv7iryQ.js → CPTVx1j_.js} +1 -1
  81. package/web/app/immutable/chunks/{B1WyTcs2.js → CQR2-ULA.js} +1 -1
  82. package/web/app/immutable/chunks/{CvegPRPp.js → CRIiIVFe.js} +1 -1
  83. package/web/app/immutable/chunks/{DRpDjwRs.js → CRVLGDX1.js} +1 -1
  84. package/web/app/immutable/chunks/{CIh8Ybhq.js → CShmL-bJ.js} +1 -1
  85. package/web/app/immutable/chunks/{CGIf2jXM.js → CVXLAap3.js} +1 -1
  86. package/web/app/immutable/chunks/{aLZSbque.js → CVpyP8V1.js} +1 -1
  87. package/web/app/immutable/chunks/{CEj75uMJ.js → CVxxrZlU.js} +1 -1
  88. package/web/app/immutable/chunks/{B-WefpDP.js → CZHW0zTR.js} +1 -1
  89. package/web/app/immutable/chunks/{Bknqawxe.js → C_J-ZvyS.js} +1 -1
  90. package/web/app/immutable/chunks/{Bok30zBH.js → C_etBYrd.js} +1 -1
  91. package/web/app/immutable/chunks/{BOrghaSd.js → Ccao0BPS.js} +2 -2
  92. package/web/app/immutable/chunks/{D7q-DSVP.js → Cd2nCrGL.js} +1 -1
  93. package/web/app/immutable/chunks/{7fl6VDRo.js → Cg1Q3Vce.js} +1 -1
  94. package/web/app/immutable/chunks/{UEd-gngc.js → Cg1YDdPt.js} +1 -1
  95. package/web/app/immutable/chunks/{nR16njgN.js → CgTaoYRE.js} +1 -1
  96. package/web/app/immutable/chunks/{I0eHZGMz.js → CgX-NR2x.js} +1 -1
  97. package/web/app/immutable/chunks/{CxZuxrAL.js → CgYFLqPV.js} +1 -1
  98. package/web/app/immutable/chunks/{CchM71Qw.js → ChoOa3ue.js} +1 -1
  99. package/web/app/immutable/chunks/{DlBxdhh5.js → ChwJR7tq.js} +2 -2
  100. package/web/app/immutable/chunks/{DS2Q5gr9.js → CjMMRJKO.js} +1 -1
  101. package/web/app/immutable/chunks/{CqGkRJXi.js → Cjt2NmNL.js} +1 -1
  102. package/web/app/immutable/chunks/{BMH4mbSd.js → CkCvlKVo.js} +2 -2
  103. package/web/app/immutable/chunks/{CXIZuwd7.js → CkFyNl9C.js} +1 -1
  104. package/web/app/immutable/chunks/{CdGIN-T1.js → CkO5mH9l.js} +3 -3
  105. package/web/app/immutable/chunks/{Bmmshx2M.js → CkVv_2uN.js} +1 -1
  106. package/web/app/immutable/chunks/{DDnwQoVq.js → CksqvVEv.js} +1 -1
  107. package/web/app/immutable/chunks/{C-RJDuZ9.js → ClKXAKis.js} +1 -1
  108. package/web/app/immutable/chunks/{5MGYaOe_.js → CmdmUBjO.js} +1 -1
  109. package/web/app/immutable/chunks/{Cbqk5Mud.js → Cn3sgfe9.js} +1 -1
  110. package/web/app/immutable/chunks/{Ob5NWDgS.js → CnGmyG1N.js} +1 -1
  111. package/web/app/immutable/chunks/{BC1v75_H.js → Cnv2xfJ5.js} +1 -1
  112. package/web/app/immutable/chunks/{C5aeZ3Yo.js → CpHf2NNU.js} +2 -2
  113. package/web/app/immutable/chunks/{QjpXu0Du.js → CpqBzFAh.js} +1 -1
  114. package/web/app/immutable/chunks/{Dix9BiYu.js → Cs29mItj.js} +1 -1
  115. package/web/app/immutable/chunks/{o5rEX9Xy.js → CtlvWnL2.js} +1 -1
  116. package/web/app/immutable/chunks/{CVjlpAWj.js → CukTrqVi.js} +3 -3
  117. package/web/app/immutable/chunks/{B6DUgu-2.js → CvEJT2Bp.js} +1 -1
  118. package/web/app/immutable/chunks/{BGFrQA7m.js → CwCU1Sl2.js} +1 -1
  119. package/web/app/immutable/chunks/{CM7Hb3PZ.js → Cx6BBijv.js} +1 -1
  120. package/web/app/immutable/chunks/{Cja4W1Zb.js → CxFIgZQh.js} +4 -4
  121. package/web/app/immutable/chunks/{ubLEbEcV.js → CxH_XgDD.js} +1 -1
  122. package/web/app/immutable/chunks/{DhtKWu39.js → CyDNFzzR.js} +1 -1
  123. package/web/app/immutable/chunks/{BEQ_aNVt.js → CzJkcVDg.js} +2 -2
  124. package/web/app/immutable/chunks/{CKO4faLg.js → D0t3600U.js} +1 -1
  125. package/web/app/immutable/chunks/{Bc-CUZMV.js → D2cK1lQ1.js} +1 -1
  126. package/web/app/immutable/chunks/{B0FYEeEw.js → D4GiefG7.js} +1 -1
  127. package/web/app/immutable/chunks/{DR4i54x0.js → D58l9gbk.js} +1 -1
  128. package/web/app/immutable/chunks/{8biy-UQv.js → D7DC5szJ.js} +1 -1
  129. package/web/app/immutable/chunks/{CKwPlZ66.js → D7G7K7c-.js} +1 -1
  130. package/web/app/immutable/chunks/{BX-dt_Uh.js → D7Ooq-cX.js} +1 -1
  131. package/web/app/immutable/chunks/{hxIWaKu8.js → D7T2_Y9j.js} +1 -1
  132. package/web/app/immutable/chunks/{NeHKo0ZG.js → D7gneRCc.js} +1 -1
  133. package/web/app/immutable/chunks/{Cts399i7.js → D8UKP7YR.js} +1 -1
  134. package/web/app/immutable/chunks/{tGqA6xQ9.js → DA-H5C8Y.js} +1 -1
  135. package/web/app/immutable/chunks/{CS7dHtKw.js → DA6yyw4t.js} +1 -1
  136. package/web/app/immutable/chunks/{k4eU_FWk.js → DCK0Naee.js} +1 -1
  137. package/web/app/immutable/chunks/{DsRLPs6I.js → DDQNWelJ.js} +3 -3
  138. package/web/app/immutable/chunks/{Byv2GcxJ.js → DEG0t0e4.js} +2 -2
  139. package/web/app/immutable/chunks/{DMvfzQWM.js → DFNIzPXh.js} +1 -1
  140. package/web/app/immutable/chunks/{C3AKbypo.js → DG59horb.js} +6 -6
  141. package/web/app/immutable/chunks/{CTlGDL05.js → DGwsJJPM.js} +1 -1
  142. package/web/app/immutable/chunks/{Dgqdx3pd.js → DHDWM67z.js} +1 -1
  143. package/web/app/immutable/chunks/{BkR5Qiti.js → DI5kEG-f.js} +1 -1
  144. package/web/app/immutable/chunks/{CGVJO4eq.js → DILsnJHr.js} +1 -1
  145. package/web/app/immutable/chunks/{XV0T3w4n.js → DJ4kCFeu.js} +1 -1
  146. package/web/app/immutable/chunks/{B9MBednq.js → DK60Gbnz.js} +1 -1
  147. package/web/app/immutable/chunks/{BG-UHIO1.js → DLL1CDAX.js} +1 -1
  148. package/web/app/immutable/chunks/{D84A4J8d.js → DN-zwgZs.js} +1 -1
  149. package/web/app/immutable/chunks/{dmSYAakE.js → DNmwPq0o.js} +1 -1
  150. package/web/app/immutable/chunks/{C11XjPnf.js → DPbHVaEp.js} +3 -3
  151. package/web/app/immutable/chunks/{BGiTQR4x.js → DPu6l1xr.js} +1 -1
  152. package/web/app/immutable/chunks/{CztKENY4.js → DQ5722kb.js} +1 -1
  153. package/web/app/immutable/chunks/{C-neqscP.js → DQJIFwfN.js} +1 -1
  154. package/web/app/immutable/chunks/{Bo4s1kgI.js → DSAz0okZ.js} +1 -1
  155. package/web/app/immutable/chunks/{B0pgN3Jj.js → DSK0s2id.js} +1 -1
  156. package/web/app/immutable/chunks/{p5gLe3PS.js → DSemZQdl.js} +1 -1
  157. package/web/app/immutable/chunks/{Dd0rdLMI.js → DWE0HeOH.js} +1 -1
  158. package/web/app/immutable/chunks/DXQjqgTI.js +2 -0
  159. package/web/app/immutable/chunks/{C8zzua9V.js → DXUSKOBi.js} +1 -1
  160. package/web/app/immutable/chunks/{BS5yagDq.js → Db4tMHqD.js} +1 -1
  161. package/web/app/immutable/chunks/{JfyBNQs2.js → DbEloQVd.js} +1 -1
  162. package/web/app/immutable/chunks/{uyOfKmty.js → DbSExeuK.js} +3 -3
  163. package/web/app/immutable/chunks/DdyXhBml.js +1 -0
  164. package/web/app/immutable/chunks/{DSdY0J1g.js → DeAs3CrV.js} +1 -1
  165. package/web/app/immutable/chunks/{Dd7A9glX.js → DfmFIVGk.js} +1 -1
  166. package/web/app/immutable/chunks/{BXean12D.js → DgH1Kxzo.js} +1 -1
  167. package/web/app/immutable/chunks/{C_Vz3LCC.js → DhupuNdm.js} +1 -1
  168. package/web/app/immutable/chunks/{CCnP87Jb.js → DjlgzWYz.js} +1 -1
  169. package/web/app/immutable/chunks/{QGE3iD8D.js → Djo4jLAK.js} +1 -1
  170. package/web/app/immutable/chunks/{CHM5tGJ6.js → DknRplPn.js} +1 -1
  171. package/web/app/immutable/chunks/{D_HysCp7.js → Dkqghfib.js} +1 -1
  172. package/web/app/immutable/chunks/{B5nbjbRb.js → Dl9O9El0.js} +1 -1
  173. package/web/app/immutable/chunks/{BwYRCP9e.js → DlVuwwPm.js} +1 -1
  174. package/web/app/immutable/chunks/{jMKjj8ae.js → Do2QraPX.js} +1 -1
  175. package/web/app/immutable/chunks/{CxQ0SCX2.js → Dpt5qRH-.js} +1 -1
  176. package/web/app/immutable/chunks/{DI4wCe7O.js → DqoSmmzJ.js} +1 -1
  177. package/web/app/immutable/chunks/{CGBBhq8k.js → DrLFKkMN.js} +1 -1
  178. package/web/app/immutable/chunks/{gCXIPBa3.js → DrV9FRnq.js} +1 -1
  179. package/web/app/immutable/chunks/DtA2OOMb.js +1 -0
  180. package/web/app/immutable/chunks/{DyVNmy1r.js → Dw8vhMX8.js} +1 -1
  181. package/web/app/immutable/chunks/{pnKMO5U0.js → Dx4FwkUV.js} +12 -12
  182. package/web/app/immutable/chunks/{BLhWzQz2.js → Dy273g_c.js} +1 -1
  183. package/web/app/immutable/chunks/{Ci959ZOg.js → DyAwtID_.js} +1 -1
  184. package/web/app/immutable/chunks/{QSR6vsk4.js → HjZp7lPh.js} +1 -1
  185. package/web/app/immutable/chunks/IVwolD3l.js +1 -0
  186. package/web/app/immutable/chunks/{CBxbaIvA.js → J2Ik-qgk.js} +1 -1
  187. package/web/app/immutable/chunks/{BdWpSBC4.js → Jyvn4VFV.js} +2 -2
  188. package/web/app/immutable/chunks/{vUGF5JqJ.js → KbX4WJa3.js} +1 -1
  189. package/web/app/immutable/chunks/{BsB3ty-n.js → LJbiiLoF.js} +1 -1
  190. package/web/app/immutable/chunks/{8OpKoiOO.js → M2KsQzCE.js} +1 -1
  191. package/web/app/immutable/chunks/{CEFpGNTq.js → P5ksjIJq.js} +1 -1
  192. package/web/app/immutable/chunks/{BBZiE97y.js → QH2SEUTS.js} +1 -1
  193. package/web/app/immutable/chunks/{YO4PhogQ.js → Qo3qzRgV.js} +1 -1
  194. package/web/app/immutable/chunks/{6cxhz2FS.js → R4RwwAIT.js} +1 -1
  195. package/web/app/immutable/chunks/{D4e2w8TP.js → R6TUWaQq.js} +1 -1
  196. package/web/app/immutable/chunks/{reR1kPlm.js → R7JNw0Kj.js} +1 -1
  197. package/web/app/immutable/chunks/{45y_L1a9.js → R7cFQfJw.js} +1 -1
  198. package/web/app/immutable/chunks/{XF_IbTR1.js → ShyOFQId.js} +3 -3
  199. package/web/app/immutable/chunks/{B2yYgkwz.js → UJOJMGUV.js} +1 -1
  200. package/web/app/immutable/chunks/{VEkj47bo.js → UrKpUjsc.js} +1 -1
  201. package/web/app/immutable/chunks/{CN70DRE5.js → W3fvY0y9.js} +1 -1
  202. package/web/app/immutable/chunks/{DNFHGDC9.js → Yemr8tAr.js} +1 -1
  203. package/web/app/immutable/chunks/{Cq6ekj5I.js → Z9C8BZgq.js} +1 -1
  204. package/web/app/immutable/chunks/{D2iCI9dn.js → ZXnl98NQ.js} +1 -1
  205. package/web/app/immutable/chunks/{nLw8YrmA.js → ZZRQ9A5E.js} +1 -1
  206. package/web/app/immutable/chunks/{VeIqG7dc.js → _tiHrnhs.js} +1 -1
  207. package/web/app/immutable/chunks/{D5lr7eae.js → bsuDfMJ7.js} +1 -1
  208. package/web/app/immutable/chunks/{CsqvO7xN.js → cSE4WxMO.js} +1 -1
  209. package/web/app/immutable/chunks/{CHZAzCO9.js → cb3YK4cU.js} +2 -2
  210. package/web/app/immutable/chunks/{BMc6OzJ-.js → fR46xO2d.js} +1 -1
  211. package/web/app/immutable/chunks/{0TFOtiMK.js → hbDKUMfp.js} +1 -1
  212. package/web/app/immutable/chunks/{BXPwex0u.js → hiomoPR0.js} +1 -1
  213. package/web/app/immutable/chunks/{BbCn81lZ.js → jG9ZxBG9.js} +1 -1
  214. package/web/app/immutable/chunks/{D26IPp5S.js → kJEAqQBZ.js} +1 -1
  215. package/web/app/immutable/chunks/{DFcwI6Rh.js → kYECwxqW.js} +1 -1
  216. package/web/app/immutable/chunks/{B0FM877X.js → knj_j9t3.js} +1 -1
  217. package/web/app/immutable/chunks/{C8xPpxcv.js → oeKvwm9n.js} +1 -1
  218. package/web/app/immutable/chunks/rVUl07zm.js +1 -0
  219. package/web/app/immutable/chunks/{BvkV35-O.js → s0WtN5GJ.js} +1 -1
  220. package/web/app/immutable/chunks/{Ctggj9Y1.js → tF6DpP53.js} +1 -1
  221. package/web/app/immutable/chunks/{Bm_1OUSw.js → vZMKGyZD.js} +1 -1
  222. package/web/app/immutable/chunks/{CG9qWr93.js → wCe59Qn_.js} +3 -3
  223. package/web/app/immutable/chunks/{BMvbnoDk.js → wL4DOyzk.js} +1 -1
  224. package/web/app/immutable/chunks/{C0VXEpDj.js → waagD0cO.js} +1 -1
  225. package/web/app/immutable/chunks/{B7BTR3Z_.js → wsChBzD5.js} +1 -1
  226. package/web/app/immutable/chunks/{C06rhFz-.js → xXOd43YN.js} +1 -1
  227. package/web/app/immutable/chunks/{BOaNSc_1.js → y427XYTC.js} +1 -1
  228. package/web/app/immutable/chunks/{B0JWnOsx.js → yDAFOpKJ.js} +1 -1
  229. package/web/app/immutable/chunks/{BPp7FHiR.js → yYa77Hy1.js} +1 -1
  230. package/web/app/immutable/entry/{app.PHHlgSoZ.js → app.C4lGM6VF.js} +3 -3
  231. package/web/app/immutable/entry/start.Dm-EgTQN.js +1 -0
  232. package/web/app/immutable/nodes/{0.D7bJjS_y.js → 0.qAsdYGwF.js} +1 -1
  233. package/web/app/immutable/nodes/{1.B3gH8FG5.js → 1.xPfapkeR.js} +1 -1
  234. package/web/app/immutable/nodes/{10.NQcSgQgq.js → 10.B15mzUUg.js} +1 -1
  235. package/web/app/immutable/nodes/{11.Drfz7PRj.js → 11.DQfonRjI.js} +1 -1
  236. package/web/app/immutable/nodes/{12.gXokqM9g.js → 12.BhFeMS2H.js} +1 -1
  237. package/web/app/immutable/nodes/{13.DFxxGy6Y.js → 13.BhRY0bGm.js} +3 -3
  238. package/web/app/immutable/nodes/{14.7T2ChNl_.js → 14.a47lQm__.js} +1 -1
  239. package/web/app/immutable/nodes/{15.CgEeXtgJ.js → 15.ByMIoKJb.js} +1 -1
  240. package/web/app/immutable/nodes/{16.CWrHY2VB.js → 16.BZyTPRIV.js} +2 -2
  241. package/web/app/immutable/nodes/{2.DQ6QcB9c.js → 2.C4xwnwcF.js} +4 -4
  242. package/web/app/immutable/nodes/{3.Fjkgohv2.js → 3.Bp1zelve.js} +1 -1
  243. package/web/app/immutable/nodes/{4.D1BNF_ep.js → 4.CVUqia69.js} +1 -1
  244. package/web/app/immutable/nodes/{5.C5OySrRk.js → 5.CeZEr5fx.js} +1 -1
  245. package/web/app/immutable/nodes/{6.BrxG9qCf.js → 6.D4BurFfy.js} +1 -1
  246. package/web/app/immutable/nodes/{7.CvdabbdY.js → 7.B6cTk0vB.js} +1 -1
  247. package/web/app/immutable/nodes/{8.BSQtFfFS.js → 8.orOAWU1G.js} +8 -8
  248. package/web/app/immutable/nodes/{9.D6DS9Z9f.js → 9.CgJhFQrz.js} +5 -5
  249. package/web/app/version.json +1 -1
  250. package/web/generated/paraglide.js +46 -46
  251. package/web/index.html +18 -18
  252. package/web/app/immutable/chunks/B2c_0_UD.js +0 -2
  253. package/web/app/immutable/chunks/CCaX_DIa.js +0 -1
  254. package/web/app/immutable/chunks/CRyHSgI1.js +0 -1
  255. package/web/app/immutable/chunks/CmYXfe7_.js +0 -1
  256. package/web/app/immutable/chunks/eK7OULll.js +0 -1
  257. package/web/app/immutable/chunks/uLB4Kp9c.js +0 -1
  258. package/web/app/immutable/entry/start.Cltn4m6a.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/BdWpSBC4.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/eK7OULll.js","/app/immutable/chunks/p5gLe3PS.js","/app/immutable/chunks/DJKXcaw9.js","/app/immutable/chunks/DYfBNrOV.js","/app/immutable/chunks/DZtstCLQ.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CVjlpAWj.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/DFcwI6Rh.js","/app/immutable/chunks/Dix9BiYu.js","/app/immutable/chunks/XV0T3w4n.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DOzF5uE-.js","/app/immutable/chunks/jMKjj8ae.js","/app/immutable/chunks/Bo4s1kgI.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/w6mFE4SD.js","/app/immutable/chunks/Bok30zBH.js","/app/immutable/chunks/B0JWnOsx.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/DhtKWu39.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/aLZSbque.js","/app/immutable/chunks/BXean12D.js","/app/immutable/chunks/B-WefpDP.js","/app/immutable/chunks/C-RJDuZ9.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/NeHKo0ZG.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/dmSYAakE.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/D6dCvfQe.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/BD8I8FK1.js","/app/immutable/chunks/-x_SoK5J.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/Bmmshx2M.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/z3QVK190.js","/app/immutable/chunks/CCnP87Jb.js","/app/immutable/chunks/4iRc0E9v.js","/app/immutable/chunks/CHZAzCO9.js","/app/immutable/chunks/Bknqawxe.js","/app/immutable/chunks/C3AKbypo.js","/app/immutable/chunks/Bcc7Bzbg.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/DNFHGDC9.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
2
- import{bo as v,t as Ft,bq as y,a_ as D,by as zt,b as Ht,br as zf,bu as St,bs as ia,bt as yi,b7 as dl,ba as Hf,bl as jf,bb as Wf,bm as Uf,a$ as qf,b9 as Vf,b8 as Kf,b2 as Gf,bf as Jf,bg as Yf,bk as Xf,be as Zf,bn as Qf,b0 as $f,b4 as ep,bi as tp,bh as rp,b6 as np,b5 as ap,b3 as sp,bd as op,bc as ip,bj as lp,b1 as cp,_ as dp}from"./eK7OULll.js";import{bI as up,bj as Is,aG as fp,bs as jt,aD as e,a5 as I,bS as m,bA as w,W as d,bn as Wt,c9 as u,aA as _,a7 as wt,ay as qe,be as tr,b$ as Mt,aC as wa,bl as R,b_ as k,bO as x,aB as S,bo as Cs,ca as It,bH as L,bV as be,br as Vr,bk as Es,c0 as Qn,ai as Na,cd as Qa,aw as Cn,a as pp,aj as Nr,c7 as gp,c6 as ul,c5 as En,bf as Vs,bz as $c}from"./DYhIMPy1.js";import{F as Ks,I as vp,y as mp}from"./Dix9BiYu.js";import{c as hp,s as ne,a as Bn,l as An,f as Pn,d as dr,k as gt,I as Ps,h as Lt,i as Mr,o as bp,j as yp,g as _p,m as xp}from"./DZtstCLQ.js";import{s as vn}from"./p5gLe3PS.js";import{c as en}from"./DFcwI6Rh.js";import{H as Vo,t as or,n as wp,i as fl,u as pl}from"./DYfBNrOV.js";import{b as vr}from"./BaIAhI85.js";import{h as ed,bt as kp,cJ as Sp,dC as Ip,dn as Cp,aw as Ep,cs as Pp,a1 as Ap,cP as Tp,dm as vs,aB as ao,c1 as Rp,H as Lp,c as Mp,$ as gl,cV as Np,bR as Op,L as Dp,dj as Bp,V as Fp,dt as zp,ae as Hp,as as jp,f as Wp,t as Up}from"./C-RJDuZ9.js";import{c as qp}from"./D-62MVd3.js";import{n as na,w as Vp,C as td,d as Kp,R as Gp}from"./-x_SoK5J.js";import{f as bt,ap as Xa,ai as Jp,am as Ko,bc as Yp}from"./CVjlpAWj.js";import{an as Xp,ab as vl,$ as Zp,aA as Qp,ac as $p,i as eg,aS as tg,I as rg,R as ng,as as ag,ag as sg,a0 as og,b as ml,at as ig,s as lg,o as cg,aY as dg,n as ug,a_ as Go,A as hl,af as fg,aZ as pg,ap as rd,T as nd,a7 as gg,a6 as bl,V as vg,L as yl}from"./D2zJp5fS.js";import{c$ as mg,F as Pt,bh as Jo,bL as hg,ap as bg,aQ as yg,cL as _g,bl as _i,bB as xg,aG as ad,aL as xi,c_ as Gs,ac as Yo,cn as wg,cd as kg,ci as wi,cF as sd,bs as Sg,e as Ig,b$ as _l,c9 as Cg,cl as Eg,cW as od,bV as xl,b8 as So,be as us,aF as Pg,aA as Xo,av as id,bc as ld,bC as Ag,B as Tg,bv as Rg,a7 as cd,ch as Lg,am as dd,cN as ud,cJ as wl,at as fd,aK as kl,a1 as Mg,cv as Ng,cU as Og,aJ as Dg,a$ as Bg,bO as pd,bn as Fg,c5 as Sl,ao as gd,az as zg,aa as Hg,a8 as jg}from"./B0JWnOsx.js";import{c as vd}from"./ChTqQfQN.js";import{h as Wg}from"./dmSYAakE.js";import{HR as Nt,bQ as Ug,rv as Il,s5 as qg,IE as Vg,IK as Kg,g as md,HD as Gg,nj as hd,nz as bd,ny as yd,nc as so,pP as ki,xo as Jg,us as zs,tK as Zo,uu as Yg,n0 as _d,HW as Xg,sE as Zg,on as xd,qU as Si,lJ as Cl,a6 as El,qq as Qg,qm as $g,qr as ev,qi as tv,qo as rv,ui as nv,zY as wd,A0 as kd,nA as Pl,bi as Qo,Gm as av,Hz as sv,hg as ov,hf as iv,nu as lv,vv as cv,vw as dv,vu as Al,AZ as Xn,cv as uv,cj as fv,d5 as pv,dc as gv,A6 as vv}from"./Bo4s1kgI.js";import{bG as mv,bP as hv,i as bv,z as yv,bS as _v,ag as xv,ai as wv,ak as kv,a4 as Sv,a3 as Iv}from"./aLZSbque.js";import{n as Cv,m as Ev,u as $o,c7 as Pv,K as Av,c6 as Tv,c1 as Rv,aw as Tl,c3 as Lv,bC as ei,aG as Mv,s as Nv,c as ms,d as ti,c4 as Sd,c5 as ri,br as Ov,a$ as Dv,bG as Bv,bE as Fv,B as zv,bl as Hv,x as jv}from"./z3QVK190.js";import{cd as Wv,cf as Uv,ce as qv,b0 as Vv,a_ as Kv,a$ as Gv,a3 as Jv,ak as Ns,aj as Yv,az as Rl,aH as Xv,ai as Zv,C as Qv,i as $v,E as Hs,cO as em,aV as Ll,cT as tm,af as rm,a7 as nm,r as am,p as sm,aE as om,cW as im,cF as lm,cy as cm,cp as dm,bO as um}from"./C0VXEpDj.js";import{s as fm,j as pm,i as gm,I as $a,c as Ml}from"./DOzF5uE-.js";import"./jMKjj8ae.js";import{k as Id,f as Nl,K as Ol,M as vm,r as mm,q as hm,N as Cd,J as ni,e as hs,a0 as es,i as bm}from"./BdWpSBC4.js";import"./DhtKWu39.js";import{J as Ii,P as ym,s as _m,k as xm,G as wm,o as km,l as Sm,M as Im,H as Cm,w as Ja,a as Em,K as Pm,n as Am,R as Tm}from"./w6mFE4SD.js";import{t as bs,n as Rm,O as Lm,M as Mm,S as _a}from"./Bok30zBH.js";import{C as ai}from"./BziQ6zwo.js";import{aQ as Nm,aY as Om,aB as Dm,b0 as Bm,aO as Fm,aU as zm,a7 as rs,b3 as Dl,aK as Hm,aR as jm,aX as Ci,aS as Ei,W as Io,aq as Wm,X as Um,a_ as qm,aJ as Vm,aT as Km,aW as Gm,b6 as Jm,b4 as Ym,ay as Ed,p as Xm,n as Zm,aV as Qm,_ as $m,ao as eh,aD as th,z as rh,aC as nh,a8 as ah}from"./DsRLPs6I.js";import{s as si}from"./CY9IKMQG.js";import{M as sh}from"./nLw8YrmA.js";import{u as Pi,w as oh,v as oo,I as ih,A as Bl,e as ys,d as xa,J as Fl,c as lh,f as ch,g as zl,i as dh,b as uh,o as Pd,j as fh,O as ph,x as gh,k as Ad,S as vh,N as mh,q as Hl,p as hh,n as jl,z as bh,s as yh}from"./BtTBXjdJ.js";import{o as Wl,a as Ul,T as Co,b as _h}from"./BOrghaSd.js";import{ag as xh,a6 as wh,M as kh,J as Sh,aj as Ih}from"./Dritbi2C.js";import{D as _s}from"./BM51eWC-.js";import"./o5rEX9Xy.js";import{C as aa}from"./5QXDo1_h.js";import{M as Ch}from"./DwsRDnkS.js";import{g as Ai}from"./DJKXcaw9.js";import{f as ql}from"./Bknqawxe.js";import{c as js}from"./uLB4Kp9c.js";import{handleIntentLink as Eh}from"./Byv2GcxJ.js";import{s as Ph,a as Ah,f as Th,d as Rh,r as Lh,h as Mh,w as fs,g as Nh,W as Oh,H as Dh,c as Bh,M as Td}from"./Cja4W1Zb.js";import{e as Fh,q as zh}from"./BXean12D.js";import{showAssistantContent as Hh}from"./DlBxdhh5.js";import{o as Js,c as jh,n as Wh}from"./DNFHGDC9.js";import{p as Uh}from"./DyVNmy1r.js";import{m as qh}from"./7k5ozo9c.js";import{h as Os}from"./DPoarPZL.js";import{i as Rd}from"./CCnP87Jb.js";import{g as Vh,e as Kh,f as Gh,h as Jh}from"./BvFAWM27.js";import{T as Eo}from"./Ctggj9Y1.js";import{i as Yh,r as Vl}from"./BLhWzQz2.js";import{a as Xh}from"./Bmmshx2M.js";import{a as Zh}from"./BJzHxIyr.js";import{p as Qh}from"./CYOvUFvY.js";const $h="intent:inline-visual-draft";function XI(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Jyvn4VFV.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/BLK9_MXJ.js","/app/immutable/chunks/DSemZQdl.js","/app/immutable/chunks/BfLoMdoJ.js","/app/immutable/chunks/CFpa0qKK.js","/app/immutable/chunks/9ZBkr0Qf.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/CukTrqVi.js","/app/immutable/chunks/BaIAhI85.js","/app/immutable/chunks/kYECwxqW.js","/app/immutable/chunks/Cs29mItj.js","/app/immutable/chunks/DJ4kCFeu.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/CAlQoToi.js","/app/immutable/chunks/Do2QraPX.js","/app/immutable/chunks/DSAz0okZ.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BA_dLJoi.js","/app/immutable/chunks/C_etBYrd.js","/app/immutable/chunks/yDAFOpKJ.js","/app/immutable/chunks/DfxQWSVU.js","/app/immutable/chunks/CyDNFzzR.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/assets/observe-overflow.CJJmE3_P.css","/app/immutable/chunks/CVpyP8V1.js","/app/immutable/chunks/DgH1Kxzo.js","/app/immutable/chunks/CZHW0zTR.js","/app/immutable/chunks/ClKXAKis.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/D7gneRCc.js","/app/immutable/chunks/BvFAWM27.js","/app/immutable/chunks/DNmwPq0o.js","/app/immutable/assets/pending-agent-deletions.UE5obH5A.css","/app/immutable/chunks/BWYr8u9e.js","/app/immutable/chunks/BeP4UORy.js","/app/immutable/chunks/B3X_dqJy.js","/app/immutable/assets/SettingsPage.D8u26cHZ.css","/app/immutable/chunks/BhptSt_t.js","/app/immutable/chunks/B6l2HPmZ.js","/app/immutable/assets/notify.BeL_JB6L.css","/app/immutable/chunks/CkVv_2uN.js","/app/immutable/chunks/BJzHxIyr.js","/app/immutable/chunks/C9X3oeee.js","/app/immutable/chunks/DjlgzWYz.js","/app/immutable/chunks/BOXp2u2v.js","/app/immutable/chunks/cb3YK4cU.js","/app/immutable/chunks/C_J-ZvyS.js","/app/immutable/chunks/DG59horb.js","/app/immutable/chunks/C8j9JMqo.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/Yemr8tAr.js","/app/immutable/assets/directory-picker-service.CzNEA6Ot.css"])))=>i.map(i=>d[i]);
2
+ import{bo as v,t as Ft,bq as y,a_ as D,by as zt,b as Ht,br as zf,bu as St,bs as ia,bt as yi,b7 as dl,ba as Hf,bl as jf,bb as Wf,bm as Uf,a$ as qf,b9 as Vf,b8 as Kf,b2 as Gf,bf as Jf,bg as Yf,bk as Xf,be as Zf,bn as Qf,b0 as $f,b4 as ep,bi as tp,bh as rp,b6 as np,b5 as ap,b3 as sp,bd as op,bc as ip,bj as lp,b1 as cp,_ as dp}from"./BLK9_MXJ.js";import{bI as up,bj as Is,aG as fp,bs as jt,aD as e,a5 as I,bS as m,bA as w,W as d,bn as Wt,c9 as u,aA as _,a7 as wt,ay as qe,be as tr,b$ as Mt,aC as wa,bl as R,b_ as k,bO as x,aB as S,bo as Cs,ca as It,bH as L,bV as be,br as Vr,bk as Es,c0 as Qn,ai as Na,cd as Qa,aw as Cn,a as pp,aj as Nr,c7 as gp,c6 as ul,c5 as En,bf as Vs,bz as $c}from"./DYhIMPy1.js";import{F as Ks,I as vp,y as mp}from"./Cs29mItj.js";import{c as hp,s as ne,a as Bn,l as An,f as Pn,d as dr,k as gt,I as Ps,h as Lt,i as Mr,o as bp,j as yp,g as _p,m as xp}from"./9ZBkr0Qf.js";import{s as vn}from"./DSemZQdl.js";import{c as en}from"./kYECwxqW.js";import{H as Vo,t as or,n as wp,i as fl,u as pl}from"./CFpa0qKK.js";import{b as vr}from"./BaIAhI85.js";import{h as ed,bt as kp,cJ as Sp,dC as Ip,dn as Cp,aw as Ep,cs as Pp,a1 as Ap,cP as Tp,dm as vs,aB as ao,c1 as Rp,H as Lp,c as Mp,$ as gl,cV as Np,bR as Op,L as Dp,dj as Bp,V as Fp,dt as zp,ae as Hp,as as jp,f as Wp,t as Up}from"./ClKXAKis.js";import{c as qp}from"./D-62MVd3.js";import{n as na,w as Vp,C as td,d as Kp,R as Gp}from"./B6l2HPmZ.js";import{f as bt,ap as Xa,ai as Jp,am as Ko,bc as Yp}from"./CukTrqVi.js";import{an as Xp,ab as vl,$ as Zp,aA as Qp,ac as $p,i as eg,aS as tg,I as rg,R as ng,as as ag,ag as sg,a0 as og,b as ml,at as ig,s as lg,o as cg,aY as dg,n as ug,a_ as Go,A as hl,af as fg,aZ as pg,ap as rd,T as nd,a7 as gg,a6 as bl,V as vg,L as yl}from"./BKGDTzxi.js";import{c$ as mg,F as Pt,bh as Jo,bL as hg,ap as bg,aQ as yg,cL as _g,bl as _i,bB as xg,aG as ad,aL as xi,c_ as Gs,ac as Yo,cn as wg,cd as kg,ci as wi,cF as sd,bs as Sg,e as Ig,b$ as _l,c9 as Cg,cl as Eg,cW as od,bV as xl,b8 as So,be as us,aF as Pg,aA as Xo,av as id,bc as ld,bC as Ag,B as Tg,bv as Rg,a7 as cd,ch as Lg,am as dd,cN as ud,cJ as wl,at as fd,aK as kl,a1 as Mg,cv as Ng,cU as Og,aJ as Dg,a$ as Bg,bO as pd,bn as Fg,c5 as Sl,ao as gd,az as zg,aa as Hg,a8 as jg}from"./yDAFOpKJ.js";import{c as vd}from"./ChTqQfQN.js";import{h as Wg}from"./DNmwPq0o.js";import{HR as Nt,bQ as Ug,rv as Il,s5 as qg,IE as Vg,IK as Kg,g as md,HD as Gg,nj as hd,nz as bd,ny as yd,nc as so,pP as ki,xo as Jg,us as zs,tK as Zo,uu as Yg,n0 as _d,HW as Xg,sE as Zg,on as xd,qU as Si,lJ as Cl,a6 as El,qq as Qg,qm as $g,qr as ev,qi as tv,qo as rv,ui as nv,zY as wd,A0 as kd,nA as Pl,bi as Qo,Gm as av,Hz as sv,hg as ov,hf as iv,nu as lv,vv as cv,vw as dv,vu as Al,AZ as Xn,cv as uv,cj as fv,d5 as pv,dc as gv,A6 as vv}from"./DSAz0okZ.js";import{bG as mv,bP as hv,i as bv,z as yv,bS as _v,ag as xv,ai as wv,ak as kv,a4 as Sv,a3 as Iv}from"./CVpyP8V1.js";import{n as Cv,m as Ev,u as $o,c7 as Pv,K as Av,c6 as Tv,c1 as Rv,aw as Tl,c3 as Lv,bC as ei,aG as Mv,s as Nv,c as ms,d as ti,c4 as Sd,c5 as ri,br as Ov,a$ as Dv,bG as Bv,bE as Fv,B as zv,bl as Hv,x as jv}from"./C9X3oeee.js";import{cd as Wv,cf as Uv,ce as qv,b0 as Vv,a_ as Kv,a$ as Gv,a3 as Jv,ak as Ns,aj as Yv,az as Rl,aH as Xv,ai as Zv,C as Qv,i as $v,E as Hs,cO as em,aV as Ll,cT as tm,af as rm,a7 as nm,r as am,p as sm,aE as om,cW as im,cF as lm,cy as cm,cp as dm,bO as um}from"./waagD0cO.js";import{s as fm,j as pm,i as gm,I as $a,c as Ml}from"./CAlQoToi.js";import"./Do2QraPX.js";import{k as Id,f as Nl,K as Ol,M as vm,r as mm,q as hm,N as Cd,J as ni,e as hs,a0 as es,i as bm}from"./Jyvn4VFV.js";import"./CyDNFzzR.js";import{J as Ii,P as ym,s as _m,k as xm,G as wm,o as km,l as Sm,M as Im,H as Cm,w as Ja,a as Em,K as Pm,n as Am,R as Tm}from"./BA_dLJoi.js";import{t as bs,n as Rm,O as Lm,M as Mm,S as _a}from"./C_etBYrd.js";import{C as ai}from"./Bv8X8HVG.js";import{aQ as Nm,aY as Om,aB as Dm,b0 as Bm,aO as Fm,aU as zm,a7 as rs,b3 as Dl,aK as Hm,aR as jm,aX as Ci,aS as Ei,W as Io,aq as Wm,X as Um,a_ as qm,aJ as Vm,aT as Km,aW as Gm,b6 as Jm,b4 as Ym,ay as Ed,p as Xm,n as Zm,aV as Qm,_ as $m,ao as eh,aD as th,z as rh,aC as nh,a8 as ah}from"./DDQNWelJ.js";import{s as si}from"./BhQoULkp.js";import{M as sh}from"./ZZRQ9A5E.js";import{u as Pi,w as oh,v as oo,I as ih,A as Bl,e as ys,d as xa,J as Fl,c as lh,f as ch,g as zl,i as dh,b as uh,o as Pd,j as fh,O as ph,x as gh,k as Ad,S as vh,N as mh,q as Hl,p as hh,n as jl,z as bh,s as yh}from"./BJevbZ6b.js";import{o as Wl,a as Ul,T as Co,b as _h}from"./Ccao0BPS.js";import{ag as xh,a6 as wh,M as kh,J as Sh,aj as Ih}from"./B21V7_mT.js";import{D as _s}from"./B9_x-PiX.js";import"./CtlvWnL2.js";import{C as aa}from"./BaY77ElS.js";import{M as Ch}from"./B-obUB2z.js";import{g as Ai}from"./BfLoMdoJ.js";import{f as ql}from"./C_J-ZvyS.js";import{c as js}from"./DtA2OOMb.js";import{handleIntentLink as Eh}from"./DEG0t0e4.js";import{s as Ph,a as Ah,f as Th,d as Rh,r as Lh,h as Mh,w as fs,g as Nh,W as Oh,H as Dh,c as Bh,M as Td}from"./CxFIgZQh.js";import{e as Fh,q as zh}from"./DgH1Kxzo.js";import{showAssistantContent as Hh}from"./ChwJR7tq.js";import{o as Js,c as jh,n as Wh}from"./Yemr8tAr.js";import{p as Uh}from"./Dw8vhMX8.js";import{m as qh}from"./7k5ozo9c.js";import{h as Os}from"./BfDD9-8-.js";import{i as Rd}from"./DjlgzWYz.js";import{g as Vh,e as Kh,f as Gh,h as Jh}from"./BvFAWM27.js";import{T as Eo}from"./tF6DpP53.js";import{i as Yh,r as Vl}from"./Dy273g_c.js";import{a as Xh}from"./CkVv_2uN.js";import{a as Zh}from"./BJzHxIyr.js";import{p as Qh}from"./BQSDfUdM.js";const $h="intent:inline-visual-draft";function XI(r,t){const n=t.title.replace(/\s+/g," ").trim(),a=JSON.stringify({inputs:t.inputs,results:t.results},null,2),s=(a.match(/`+/g)??[]).reduce((c,l)=>Math.max(c,l.length),0),o="`".repeat(Math.max(3,s+1));return`${r}${r?`
3
3
 
4
4
  `:""}${n}
5
5
 
@@ -260,7 +260,7 @@ ${r.content}`:a.content=r.content,a):r.old_text!==void 0&&r.new_text!==void 0?(a
260
260
  `,c0=["background","foreground","card","card-foreground","primary","primary-ink","primary-foreground","secondary","secondary-foreground","muted","muted-foreground","border","input","ring","danger","danger-background","info","info-foreground","success","success-foreground","warning","warning-foreground","font-ui","font-code","text-body-size","text-body-line-height","text-body-weight","text-body-tracking","radius-small","radius-medium","radius-large","app-background","sidebar","sidebar-accent","agent-avatar-surface-active","agent-avatar-foreground","diagram-host-surface","diagram-canvas","diagram-label-surface","diagram-node-surface","diagram-node-hover-surface","diagram-node-outline","diagram-node-title","diagram-metadata","diagram-group-outline","diagram-connector","diagram-connector-hover","diagram-connector-muted","diagram-connector-inactive","diagram-connector-danger","diagram-connector-success","diagram-connector-warning","diagram-connector-active","diagram-accent","diagram-accent-foreground","diagram-node-radius","diagram-group-radius","diagram-connector-width","text-caption-size","text-caption-line-height","text-caption-weight","text-caption-tracking","text-body-strong-size","text-body-strong-line-height","text-body-strong-weight","text-body-strong-tracking","space-1","space-2","space-3","space-4","space-5","space-6","space-7","control-height-compact","control-height-small","control-height-medium","control-height-large","radius-full","spring-fast","spring-fast-exit","spring-fast-ease","spring-moderate","spring-moderate-exit","spring-moderate-ease","spring-slow","spring-slow-exit","spring-slow-ease","spring-exit-ease","motion-fast","motion-standard","motion-slow","ease-standard","ease-emphasized-out","motion-reduced"],Ho=96,Nc=2e4,d0=480,Fu=512,u0=["default-src 'none'","script-src 'unsafe-inline'","style-src 'unsafe-inline'","img-src data:","connect-src 'none'","font-src data:","media-src 'none'","object-src 'none'","frame-src 'none'","child-src 'none'","worker-src 'none'","manifest-src 'none'","base-uri 'none'","form-action 'none'"].join("; ");function f0(r,t,n,a,s,o){const c=new MessageChannel,l=MessagePort.prototype.postMessage.bind(c.port1);window.parent.postMessage({channel:r,type:"scroll-port"},"*",[c.port2]);const f=(C,z={})=>{window.parent.postMessage({channel:r,type:C,...z},"*")};let i=s?.state??null,p=null,g=!1;Object.defineProperty(window,"intentVisual",{configurable:!1,writable:!1,value:Object.freeze({get state(){return i},publish(C){try{if(!o(C))return!1;const z=JSON.parse(JSON.stringify(C));return i=z.state,p=z,g||(g=!0,requestAnimationFrame(()=>{g=!1,p&&f("snapshot",{snapshot:p}),p=null})),!0}catch{return!1}}})});let T=!1,b=-1,h=innerHeight,P=Number.NaN,A=0,B=0;const F=()=>{if(T=!1,!document.body)return;let C=Math.ceil(Math.max(document.body.scrollHeight,document.body.getBoundingClientRect().height));const z=innerHeight,J=C-z;if(z>h+1&&J>1&&Math.abs(J-P)<=1?A+=1:(z!==h||J<=1)&&(A=0),h=z,P=J,!B&&A>=3){B=Math.max(a,z);const Q="Page height follows the frame (vh units or height: 100%); frame height held.";console.warn(Q),f("layout",{message:Q})}B&&(C=Math.min(C,B)),C!==b&&(b=C,f("resize",{height:C}))},O=()=>{T||(T=!0,requestAnimationFrame(F))},N=C=>{if(!C||typeof C.dark!="boolean"||!C.variables)return;const z=document.documentElement;z.classList.toggle("dark",C.dark),z.style.colorScheme=C.dark?"dark":"light";const J=C.variables["--inline-html-root-font-size"];"--inline-html-root-font-size"in t.variables&&typeof J=="string"&&J.length<512&&z.style.setProperty("--inline-html-root-font-size",J);for(const Q of Object.keys(t.variables)){if(Q==="--inline-html-root-font-size")continue;const $=C.variables[Q];typeof $=="string"&&$.length<512&&z.style.setProperty(Q,$)}O()};window.addEventListener("message",C=>{C.source!==window.parent||!C.data||C.data.channel!==r||C.data.type==="theme"&&N(C.data.theme)});const U=C=>{if(C.defaultPrevented||!C.isTrusted||C.ctrlKey||C.metaKey||C.shiftKey||!C.deltaY||Math.abs(C.deltaX)>Math.abs(C.deltaY))return;const z=$=>{const Ie=getComputedStyle($);if($!==document.scrollingElement&&!/^(auto|scroll|overlay)$/.test(Ie.overflowY)||/^(hidden|clip)$/.test(Ie.overflowY))return!1;const le=$.scrollHeight-$.clientHeight;return le>1&&(C.deltaY<0?$.scrollTop>1:$.scrollTop<le-1)};if(C.composedPath().some($=>$ instanceof Element&&z($))||document.scrollingElement&&z(document.scrollingElement))return;const J=C.deltaMode===WheelEvent.DOM_DELTA_LINE?parseFloat(getComputedStyle(document.body).lineHeight)||16:C.deltaMode===WheelEvent.DOM_DELTA_PAGE?innerHeight:1,Q=Math.max(-n,Math.min(n,C.deltaY*J));Number.isFinite(Q)&&(C.preventDefault(),l({deltaY:Q}))};window.addEventListener("wheel",()=>{window.removeEventListener("wheel",U),window.addEventListener("wheel",U,{passive:!1})},{capture:!0,passive:!1}),window.addEventListener("error",C=>{C.message&&f("error",{message:C.message.slice(0,300)})}),window.addEventListener("unhandledrejection",C=>{const z=C.reason;f("error",{message:String(z instanceof Error?z.message:z).slice(0,300)})}),window.addEventListener("click",C=>{const z=C.target instanceof Element?C.target.closest("a, area"):null;if(!z)return;(z.getAttribute("href")??z.getAttribute("xlink:href"))?.startsWith("#")||C.preventDefault()},!0),window.addEventListener("submit",C=>C.preventDefault(),!0),N(t),window.addEventListener("DOMContentLoaded",()=>{new ResizeObserver(O).observe(document.body),new MutationObserver(O).observe(document.body,{childList:!0,subtree:!0,attributes:!0,characterData:!0}),window.addEventListener("resize",O),document.addEventListener("load",O,!0),document.fonts.ready.then(O),f("ready"),O()},{once:!0})}function p0(r,t,n,a,s){const o=document.createElement("iframe");o.setAttribute("sandbox","allow-scripts"),o.setAttribute("referrerpolicy","no-referrer"),o.title=n,o.style.cssText="display:block;width:100%;height:100%;border:0;";let c;const l=f=>{const i=f.data?.deltaY;typeof i=="number"&&Number.isFinite(i)&&i!==0&&Math.abs(i)<=a&&window.parent.postMessage({channel:r,type:"wheel",deltaY:i},"*")};window.addEventListener("message",f=>{const i=f.data;if(!(!i||typeof i!="object"||i.channel!==r)){if(f.source===window.parent&&i.type==="theme"){o.contentWindow?.postMessage({channel:r,type:"theme",theme:i.theme},"*");return}if(!(f.source!==o.contentWindow||f.origin!=="null")){if(i.type==="scroll-port"&&!c&&f.ports.length===1){c=f.ports[0],c.onmessage=l;return}i.type==="resize"&&typeof i.height=="number"&&Number.isFinite(i.height)&&i.height>=0?window.parent.postMessage({channel:r,type:"resize",height:i.height},"*"):i.type==="ready"?window.parent.postMessage({channel:r,type:"ready"},"*"):(i.type==="error"||i.type==="layout")&&typeof i.message=="string"?window.parent.postMessage({channel:r,type:i.type,message:i.message.slice(0,300)},"*"):i.type==="snapshot"&&s(i.snapshot)&&window.parent.postMessage({channel:r,type:"snapshot",snapshot:i.snapshot},"*")}}}),window.addEventListener("DOMContentLoaded",()=>{o.srcdoc=t,document.body.append(o)},{once:!0})}function g0(r,t,n,a,s,o,c,l){const f=document.implementation.createHTMLDocument(""),i=f.createElement("template");i.innerHTML=n,f.body.append(i.content);const p=Q=>{Q.querySelectorAll("meta, base, link, iframe, frame, frameset, object, embed").forEach($=>$.remove()),Q.querySelectorAll("template").forEach($=>p($.content)),Q.querySelectorAll("a, area").forEach($=>{for(const Ie of["href","xlink:href"])$.getAttribute(Ie)?.startsWith("#")||$.removeAttribute(Ie);$.removeAttribute("target"),$.removeAttribute("ping"),$.removeAttribute("download")})};p(f);const g=Q=>JSON.stringify(Q).replace(/</g,"\\u003c"),T=f.createElement("meta");T.httpEquiv="Content-Security-Policy",T.content=r.csp;const b=f.createElement("meta");b.setAttribute("charset","utf-8");const h=f.createElement("style"),P=/^data:[\w.+/-]+;base64,[A-Za-z0-9+/=]+$/.test(l)?`@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900;
261
261
  font-display: swap; src: url('${l}') format('woff2'); }`:"";h.textContent=`${P}${r.styles}`;const A=f.createElement("script"),B=g([a,s,r.maxScrollDelta,r.lockHeight,t(c)?c:null]);A.textContent=`(${r.bridge})(...${B}, (${r.validate}));`,f.head.prepend(T,b,h,A);const F=`<!doctype html>${f.documentElement.outerHTML}`,O=document.implementation.createHTMLDocument(""),N=O.createElement("meta");N.httpEquiv="Content-Security-Policy",N.content=r.csp.replace("frame-src 'none'","frame-src about:");const U=O.createElement("meta");U.setAttribute("charset","utf-8");const C=O.createElement("style");C.textContent="html, body { margin: 0; width: 100%; height: 100%; overflow: hidden; }";const z=O.createElement("script"),J=g([a,F,o,r.maxScrollDelta]);return z.textContent=`(${r.shell})(...${J}, (${r.validate}));`,O.head.prepend(N,U,C,z),`<!doctype html>${O.documentElement.outerHTML}`}const v0=()=>({csp:u0,styles:l0,maxScrollDelta:Fu,lockHeight:d0,bridge:f0.toString(),shell:p0.toString(),validate:Si.toString()});function m0(r,t,n,a,s=null,o=""){return g0(v0(),Si,r,t,n,a,s,o)}function Oc(r){const t=getComputedStyle(r);return{dark:document.documentElement.classList.contains("dark"),variables:{...Object.fromEntries(c0.map(n=>[`--${n}`,t.getPropertyValue(`--${n}`).trim()])),"--inline-html-root-font-size":getComputedStyle(document.documentElement).fontSize}}}function h0(r,t,n,a,s=null){return m0(r,t,n,a,s,i0)}var b0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground"> </p>'),y0=S('<div class="type-body flex items-center justify-between gap-3 px-4 py-2" role="status"><span class="text-danger"> </span> <!></div> <!>',1),_0=S('<p class="sr-only" role="status"> </p>'),x0=S('<p class="type-body m-0 px-4 py-3 text-muted-foreground" role="status"> </p>'),w0=S('<div class="type-body px-4 py-2 text-danger" role="status"><p class="m-0"> </p> <p class="type-code m-0 break-words"> </p></div>'),k0=S('<iframe sandbox="allow-scripts" referrerpolicy="no-referrer"></iframe>'),S0=S('<div class="space-y-4 p-4" aria-hidden="true"><div class="space-y-2"><!> <!></div> <!> <div class="flex items-center gap-4"><!> <!> <!></div></div>'),I0=S('<span class="type-caption ml-auto text-muted-foreground" role="status"> </span>'),C0=S('<p class="type-caption m-0 break-words px-4 pb-2 text-muted-foreground" role="status"> <!></p>'),E0=S('<th class="min-w-40 px-2 pb-3 align-top font-normal"><!> <div class="mt-1 flex gap-1"><!> <!></div></th>'),P0=S('<td class="max-w-56 px-2 py-2 align-top break-words tabular-nums"> </td>'),A0=S('<tr><th class="max-w-48 py-2 pr-4 align-top font-normal break-words text-muted-foreground"> </th><!></tr>'),T0=S('<div class="overflow-x-auto px-4 pb-4" data-inline-visual-comparison=""><table class="type-body w-full border-separate border-spacing-0 text-left"><thead><tr><th class="min-w-28 pr-4 pb-3 font-normal text-muted-foreground"> </th><th class="min-w-32 px-2 pb-3 align-top font-medium"> </th><!></tr></thead><tbody></tbody></table></div>'),R0=S('<div class="flex flex-wrap items-center gap-1 px-4 py-2" data-inline-visual-actions=""><!> <!> <!> <!> <!></div> <!> <!>',1),L0=S('<div data-inline-html="" class="my-3 min-w-0 overflow-hidden rounded-lg bg-background text-foreground"><div class="flex min-w-0 items-center justify-end gap-1 p-1"><!> <!></div> <!> <!> <div class="relative min-w-0"><!> <!></div> <!></div>');function zu(r,t){if(new.target)return Ft({component:zu,...r});jt(t,!0);const n=720;let a=y(t,"source",7),s=y(t,"isStreaming",7,!1),o=y(t,"isComplete",7,!0),c=y(t,"record",7),l=y(t,"storageStatus",7,"ready"),f=y(t,"onRecordChange",7),i=y(t,"onUseConfiguration",7),p=y(t,"onExport",7),g=y(t,"onRetry",7),T=y(t,"storageError",7),b=y(t,"exportStatus",7),h=y(t,"exportPath",7),P=y(t,"exportError",7),A,B=be(void 0),F=be(!1),O=be(!1),N=be(0),U=be(""),C=be(""),z=be(!1),J=be(""),Q=be(Vr(Ho)),$=be(n),Ie=be(""),le=be(Cl()),se=be(void 0),ue,we=be(void 0),G=be(!1);const pe=u(()=>c()??e(le)),oe=u(()=>l()!=="loading"&&(l()!=="error"||!!e(pe).current)),Ne=u(()=>!s()&&o()&&!!a().trim()&&e(oe)),Le=u(()=>Math.min(Nc,Math.max(Ho,e(Q)))),Se=u(()=>s()||l()==="loading"?"loading":o()?a().trim()?e(J)?"error":e(z)?"ready":"loading":"empty":"incomplete"),_e=u(()=>s()||l()==="loading"||e(Ne)&&!e(z)&&!e(J));function He(Y){const xe={...Y,current:e(se)??Y.current};L(le,xe),f()?.(xe)}function Ue(){const Y=e(se);!Y||e(pe).scenarios.length>=El||(He({...e(pe),scenarios:[...e(pe).scenarios,{id:crypto.randomUUID(),name:Xf({number:pl(e(pe).scenarios.length+1)}),snapshot:structuredClone(Y)}]}),L(G,!0))}function ie(Y,xe){const Ke=xe.trim().slice(0,120);Ke&&He({...e(pe),scenarios:e(pe).scenarios.map(rt=>rt.id===Y?{...rt,name:Ke}:rt)})}function ee(Y){const xe=structuredClone(Y);L(se,xe),L(we,xe),He({...e(pe),current:xe}),L(N,e(N)+1)}function Ze(Y){return typeof Y=="number"?pl(Y):typeof Y=="string"?Y:JSON.stringify(Y)}function V(){!e(B)?.contentWindow||!e(C)||e(B).contentWindow.postMessage({channel:e(C),type:"theme",theme:Oc(A)},"*")}function K(Y){let xe=A.parentElement;for(;xe;){const Ke=getComputedStyle(xe),rt=xe.scrollHeight-xe.clientHeight;if(/^(auto|scroll|overlay)$/.test(Ke.overflowY)&&rt>1){if(Y<0?xe.scrollTop>0:xe.scrollTop<rt){xe.dispatchEvent(new WheelEvent("wheel",{deltaY:Y,bubbles:!0})),xe.scrollTop+=Y;return}if(/^(contain|none)$/.test(Ke.overscrollBehaviorY))return}xe=xe.parentElement}window.scrollBy({top:Y,behavior:"instant"})}It(()=>{if(!e(F))return;const Y=a(),xe=e(Ne);e(N),En(()=>{ue!==Y&&(L(le,Cl()),L(se,void 0),L(G,!1),L(we,void 0),ue=Y),L(z,!1),L(J,""),L(Ie,""),L(Q,Ho,!0),L(C,crypto.randomUUID(),!0),L(U,xe?h0(Y,e(C),Oc(A),dl(),e(we)??e(se)??e(pe).current):"",!0),L(we,void 0)})}),Es(()=>{L(F,!0);const Y=ht=>{if(ht.source!==e(B)?.contentWindow||ht.origin!=="null")return;const je=ht.data;if(!(!je||typeof je!="object"||je.channel!==e(C)))if(je.type==="resize"&&typeof je.height=="number"&&Number.isFinite(je.height)&&je.height>=0)L(Q,Math.min(Nc,Math.ceil(je.height)),!0);else if(je.type==="ready")L(z,!0),V();else if(je.type==="error"&&typeof je.message=="string")L(J,je.message.slice(0,300),!0);else if(je.type==="layout"&&typeof je.message=="string")L(Ie,je.message.slice(0,300),!0);else if(je.type==="snapshot"&&e(Ne)&&Si(je.snapshot)){const vt=je.snapshot;L(se,vt),He({...e(pe),current:vt})}else je.type==="wheel"&&e(z)&&e(Ne)&&!e(O)&&!e(_e)&&typeof je.deltaY=="number"&&Number.isFinite(je.deltaY)&&je.deltaY!==0&&Math.abs(je.deltaY)<=Fu&&K(je.deltaY)},xe=()=>{L($,Math.min(n,Math.max(160,Math.floor(window.innerHeight*.8))),!0)},Ke=new MutationObserver(V);Ke.observe(document.documentElement,{attributes:!0,attributeFilter:["class","style","data-theme"]});const rt=window.matchMedia("(prefers-color-scheme: dark)");return rt.addEventListener("change",V),window.addEventListener("message",Y),window.addEventListener("resize",xe),xe(),()=>{Ke.disconnect(),rt.removeEventListener("change",V),window.removeEventListener("message",Y),window.removeEventListener("resize",xe)}});var W={get source(){return a()},set source(Y){a(Y),_()},get isStreaming(){return s()},set isStreaming(Y=!1){s(Y),_()},get isComplete(){return o()},set isComplete(Y=!0){o(Y),_()},get record(){return c()},set record(Y){c(Y),_()},get storageStatus(){return l()},set storageStatus(Y="ready"){l(Y),_()},get onRecordChange(){return f()},set onRecordChange(Y){f(Y),_()},get onUseConfiguration(){return i()},set onUseConfiguration(Y){i(Y),_()},get onExport(){return p()},set onExport(Y){p(Y),_()},get onRetry(){return g()},set onRetry(Y){g(Y),_()},get storageError(){return T()},set storageError(Y){T(Y),_()},get exportStatus(){return b()},set exportStatus(Y){b(Y),_()},get exportPath(){return h()},set exportPath(Y){h(Y),_()},get exportError(){return P()},set exportError(Y){P(Y),_()},$set:zt,$on:(Y,xe)=>Ht(t,Y,xe)},ae=L0(),Ce=I(ae),Z=I(Ce);bt(Z,{variant:"ghost",size:"sm",get active(){return e(O)},get"aria-pressed"(){return e(O)},onclick:()=>{L(O,!e(O))},children:(Y,xe)=>{tr();var Ke=Mt();k(rt=>x(Ke,rt),[()=>e(O)?Hf():jf()]),d(Y,Ke)},$$slots:{default:!0}});var de=m(Z,2);{let Y=u(()=>!e(Ne));bt(de,{variant:"ghost",size:"sm",get disabled(){return e(Y)},onclick:()=>{L(N,e(N)+1)},children:(xe,Ke)=>{tr();var rt=Mt();k(ht=>x(rt,ht),[()=>Wf()]),d(xe,rt)},$$slots:{default:!0}})}w(Ce);var Ae=m(Ce,2);{var Fe=Y=>{var xe=y0(),Ke=qe(xe),rt=I(Ke),ht=R(rt,!0),je=m(rt,2);{var vt=ct=>{bt(ct,{variant:"ghost",size:"sm",get onclick(){return g()},children:(Ut,qt)=>{tr();var Zt=Mt();k(_t=>x(Zt,_t),[()=>Zf()]),d(Ut,Zt)},$$slots:{default:!0}})};D(je,ct=>{g()&&ct(vt)})}w(Ke);var ot=m(Ke,2);{var it=ct=>{var Ut=b0(),qt=R(Ut,!0);k(()=>x(qt,T())),d(ct,Ut)};D(ot,ct=>{T()&&ct(it)})}k(ct=>x(ht,ct),[()=>Uf()]),d(Y,xe)};D(Ae,Y=>{l()==="error"&&Y(Fe)})}var tt=m(Ae,2);{var ge=Y=>{var xe=_0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>s()?qf():Vf()]),d(Y,xe)},Oe=Y=>{var xe=x0(),Ke=R(xe,!0);k(rt=>x(Ke,rt),[()=>o()?Gf():Kf()]),d(Y,xe)},q=Y=>{var xe=w0(),Ke=I(xe),rt=R(Ke,!0),ht=m(Ke,2),je=R(ht,!0);w(xe),k(vt=>{x(rt,vt),x(je,e(J))},[()=>Jf()]),d(Y,xe)};D(tt,Y=>{e(_e)?Y(ge):e(Ne)?e(J)&&Y(q,2):Y(Oe,1)})}var Me=m(tt,2),ve=I(Me);{var M=Y=>{var xe=k0();let Ke,rt;vr(xe,ht=>L(B,ht),()=>e(B)),k(ht=>{ne(xe,"title",ht),ne(xe,"srcdoc",e(U)),Ke=gt(xe,1,"block w-full border-0 svelte-1kkow1d",null,Ke,{"preview-hidden":e(O)||e(_e)}),ne(xe,"aria-hidden",e(O)||e(_e)),rt=An(xe,"",rt,{height:`${e(Le)}px`})},[()=>dl()]),d(Y,xe)};D(ve,Y=>{e(Ne)&&e(U)&&Y(M)})}var H=m(ve,2);{var me=Y=>{aa(Y,{get code(){return a()},language:"html",noBorder:!0,noMargin:!0,get maxHeight(){return e($)}})},Qe=Y=>{var xe=S0(),Ke=I(xe),rt=I(Ke);Ja(rt,{class:"h-4 w-32 max-w-1/2"});var ht=m(rt,2);Ja(ht,{class:"h-3 w-2/3"}),w(Ke);var je=m(Ke,2);Ja(je,{class:"aspect-video max-h-60 w-full rounded-lg"});var vt=m(je,2),ot=I(vt);Ja(ot,{class:"h-3 w-16"});var it=m(ot,2);Ja(it,{class:"h-2 min-w-0 flex-1"});var ct=m(it,2);Ja(ct,{class:"h-3 w-10"}),w(vt),w(xe),d(Y,xe)};D(H,Y=>{e(O)?Y(me):e(_e)&&Y(Qe,1)})}w(Me);var Te=m(Me,2);{var ze=Y=>{var xe=R0(),Ke=qe(xe),rt=I(Ke);{var ht=Ct=>{{let Yt=u(()=>!e(z)||!!e(J));bt(Ct,{size:"sm",get disabled(){return e(Yt)},onclick:()=>e(se)&&i()(e(se)),children:(At,he)=>{tr();var re=Mt();k(Ve=>x(re,Ve),[()=>Qf()]),d(At,re)},$$slots:{default:!0}})}};D(rt,Ct=>{i()&&Ct(ht)})}var je=m(rt,2);{let Ct=u(()=>!e(z)||!!e(J)||e(pe).scenarios.length>=El);bt(je,{variant:"ghost",size:"sm",get disabled(){return e(Ct)},onclick:Ue,children:(Yt,At)=>{tr();var he=Mt();k(re=>x(he,re),[()=>Yf()]),d(Yt,he)},$$slots:{default:!0}})}var vt=m(je,2);{var ot=Ct=>{bt(Ct,{variant:"ghost",size:"sm",get active(){return e(G)},get"aria-expanded"(){return e(G)},onclick:()=>L(G,!e(G)),children:(Yt,At)=>{tr();var he=Mt();k(re=>x(he,re),[()=>$f()]),d(Yt,he)},$$slots:{default:!0}})};D(vt,Ct=>{e(pe).scenarios.length&&Ct(ot)})}var it=m(vt,2);{var ct=Ct=>{{let Yt=u(()=>!e(z)||b()==="saving");bt(Ct,{variant:"ghost",size:"sm",get disabled(){return e(Yt)},onclick:()=>p()({...e(pe),current:e(se)??null}),children:(At,he)=>{tr();var re=Mt();k(Ve=>x(re,Ve),[()=>ep()]),d(At,re)},$$slots:{default:!0}})}};D(it,Ct=>{p()&&Ct(ct)})}var Ut=m(it,2);{var qt=Ct=>{var Yt=I0(),At=R(Yt,!0);k(he=>x(At,he),[()=>l()==="saving"?tp():l()==="ready"?rp():""]),d(Ct,Yt)};D(Ut,Ct=>{f()&&Ct(qt)})}w(Ke);var Zt=m(Ke,2);{var _t=Ct=>{var Yt=C0(),At=I(Yt),he=m(At);{var re=Ve=>{var nt=Mt();k(()=>x(nt,P())),d(Ve,nt)};D(he,Ve=>{b()==="error"&&P()&&Ve(re)})}w(Yt),k(Ve=>x(At,`${Ve??""} `),[()=>b()==="saving"?np():b()==="saved"?ap({path:h()??""}):sp()]),d(Ct,Yt)};D(Zt,Ct=>{b()&&Ct(_t)})}var Kt=m(Zt,2);{var Vt=Ct=>{var Yt=T0(),At=I(Yt),he=I(At),re=I(he),Ve=I(re),nt=R(Ve,!0),dt=m(Ve),We=R(dt,!0),X=m(dt);Lt(X,17,()=>e(pe).scenarios,ce=>ce.id,(ce,Pe)=>{var Ee=E0(),Be=I(Ee);{let ke=u(()=>lp());$a(Be,{get value(){return e(Pe).name},get"aria-label"(){return e(ke)},maxlength:120,onblur:$e=>{$e.currentTarget.value.trim()||($e.currentTarget.value=e(Pe).name),ie(e(Pe).id,$e.currentTarget.value)},onkeydown:$e=>{$e.key==="Enter"&&$e.currentTarget.blur(),$e.key==="Escape"&&($e.currentTarget.value=e(Pe).name,$e.currentTarget.blur())}})}var De=m(Be,2),Ge=I(De);bt(Ge,{variant:"ghost",size:"sm",onclick:()=>ee(e(Pe).snapshot),children:(ke,$e)=>{tr();var Je=Mt();k(et=>x(Je,et),[()=>op()]),d(ke,Je)},$$slots:{default:!0}});var Ye=m(Ge,2);bt(Ye,{variant:"ghost",size:"sm",onclick:()=>He({...e(pe),scenarios:e(pe).scenarios.filter(ke=>ke.id!==e(Pe).id)}),children:(ke,$e)=>{tr();var Je=Mt();k(et=>x(Je,et),[()=>ip()]),d(ke,Je)},$$slots:{default:!0}}),w(De),w(Ee),d(ce,Ee)}),w(re),w(he);var fe=m(he);Lt(fe,20,()=>["inputs","results"],Mr,(ce,Pe)=>{const Ee=u(()=>Pe),Be=u(()=>Array.from(new Set([...Object.keys(e(se)[e(Ee)]),...e(pe).scenarios.flatMap(Ye=>Object.keys(Ye.snapshot[e(Ee)]))])));var De=wt(),Ge=qe(De);Lt(Ge,16,()=>e(Be),Ye=>Ye,(Ye,ke)=>{var $e=A0(),Je=I($e),et=R(Je,!0),st=m(Je);Lt(st,17,()=>[e(se),...e(pe).scenarios.map(at=>at.snapshot)],Mr,(at,ut)=>{var kt=P0(),mt=R(kt,!0);k(Ot=>x(mt,Ot),[()=>Object.hasOwn(e(ut)[e(Ee)],ke)?Ze(e(ut)[e(Ee)][ke]):"—"]),d(at,kt)}),w($e),k(()=>x(et,ke)),d(Ye,$e)}),d(ce,De)}),w(fe),w(At),w(Yt),k(ce=>{x(nt,e(se).title),x(We,ce)},[()=>cp()]),d(Ct,Yt)};D(Kt,Ct=>{e(G)&&e(pe).scenarios.length&&Ct(Vt)})}d(Y,xe)};D(Te,Y=>{e(se)&&e(Ne)&&Y(ze)})}return w(ae),vr(ae,Y=>A=Y,()=>A),k(()=>{ne(ae,"data-inline-html-status",e(Se)),ne(ae,"data-inline-html-layout",e(Ie)?"viewport-locked":void 0),ne(ae,"aria-busy",e(_e))}),d(r,ae),Wt(W)}var M0=S('<div class="w-full min-w-0"><!></div>');function N0(r,t){if(new.target)return Ft({component:N0,...r});jt(t,!0);const n=()=>St(e(b),"$agent$",s),a=()=>St(e(B),"$entry$",s),[s,o]=ia();let c=y(t,"block",7),l=y(t,"role",7),f=y(t,"workspaceId",7),i=y(t,"agentId",7),p=y(t,"messageId",7),g=y(t,"contentBlockKey",7,""),T=be(void 0);const b=u(()=>ao(i()??"")),h=u(()=>l()==="assistant"&&f()&&i()&&p()&&c().metadata?.fenceClosed&&!c().metadata?.isStreaming&&n()&&!xd(n())?{workspaceId:f(),agentId:i(),messageId:p(),blockKey:JSON.stringify([g(),c().metadata?.fenceStart??0]),source:c().content}:void 0),P=u(()=>!!(f()&&i()&&p()&&c().metadata?.fenceClosed&&!n())),A=u(()=>e(h)?rv(e(h)):""),B=u(()=>Fm(e(A)));It(()=>{e(h)&&Nt.dispatch(Qg(e(h)))});function F(Q){!f()||!i()||n()?.retiredAt||e(T)?.dispatchEvent(new CustomEvent($h,{bubbles:!0,detail:{workspaceId:f(),agentId:i(),snapshot:Q}}))}var O={get block(){return c()},set block(Q){c(Q),_()},get role(){return l()},set role(Q){l(Q),_()},get workspaceId(){return f()},set workspaceId(Q){f(Q),_()},get agentId(){return i()},set agentId(Q){i(Q),_()},get messageId(){return p()},set messageId(Q){p(Q),_()},get contentBlockKey(){return g()},set contentBlockKey(Q=""){g(Q),_()},$set:zt,$on:(Q,$)=>Ht(t,Q,$)},N=wt(),U=qe(N);{var C=Q=>{var $=M0(),Ie=I($);{let le=u(()=>c().metadata?.isStreaming??!1),se=u(()=>c().metadata?.fenceClosed??!1),ue=u(()=>a()?.record),we=u(()=>e(h)?a()?.status??"loading":e(P)?"loading":"ready"),G=u(()=>a()?.error),pe=u(()=>e(h)?Ue=>Nt.dispatch(tv(e(A),Ue)):void 0),oe=u(()=>f()&&i()&&n()&&!n().retiredAt?F:void 0),Ne=u(()=>e(h)?()=>Nt.dispatch(ev(e(A))):void 0),Le=u(()=>e(h)?Ue=>Nt.dispatch($g(e(A),crypto.randomUUID(),Ue)):void 0),Se=u(()=>a()?.export?.status),_e=u(()=>a()?.export?.path),He=u(()=>a()?.export?.error);zu(Ie,{get source(){return c().content},get isStreaming(){return e(le)},get isComplete(){return e(se)},get record(){return e(ue)},get storageStatus(){return e(we)},get storageError(){return e(G)},get onRecordChange(){return e(pe)},get onUseConfiguration(){return e(oe)},get onRetry(){return e(Ne)},get onExport(){return e(Le)},get exportStatus(){return e(Se)},get exportPath(){return e(_e)},get exportError(){return e(He)}})}w($),vr($,le=>L(T,le),()=>e(T)),d(Q,$)},z=Q=>{aa(Q,{get code(){return c().content},language:"html"})};D(U,Q=>{l()==="assistant"?Q(C):Q(z,-1)})}d(r,N);var J=Wt(O);return o(),J}var O0=S('<div class="digest-card flex items-start gap-2.5 py-5 px-6 my-4 shadow-xs text-base leading-normal border border-border"> </div>');function D0(r,t){if(new.target)return Ft({component:D0,...r});jt(t,!0);let n=y(t,"digest",7);var a={get digest(){return n()},set digest(c){n(c),_()},$set:zt,$on:(c,l)=>Ht(t,c,l)},s=O0(),o=R(s,!0);return k(()=>x(o,n())),d(r,s),Wt(a)}var B0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-blue-500/15 text-blue-600 dark:text-blue-400"> </span>'),F0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground"> </span>'),z0=S('<span class="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-primary/10 text-primary/80"> </span>'),H0=S('<div class="flex items-start gap-3 px-4 py-2.5"><div class="flex-1 min-w-0"><div class="flex items-center gap-2 flex-wrap"><span class="text-sm font-semibold text-foreground"> </span> <!> <!></div> <div class="mt-0.5 text-xs font-mono text-muted-foreground truncate"> </div></div></div>'),j0=S('<div class="detected-scripts-card my-3 rounded-lg border border-border bg-muted/30 overflow-hidden"><div class="flex items-center gap-2 px-4 py-2.5 border-b border-border bg-muted/40"><!> <span class="text-sm font-semibold text-foreground"> </span></div> <div class="divide-y divide-border"></div> <div class="px-4 py-2 border-t border-border bg-muted/20"><span class="text-xs text-muted-foreground"> </span></div></div>');function W0(r,t){if(new.target)return Ft({component:W0,...r});jt(t,!0);let n=y(t,"scripts",7);var a={get scripts(){return n()},set scripts(b){n(b),_()},$set:zt,$on:(b,h)=>Ht(t,b,h)},s=j0(),o=I(s),c=I(o);Pt(c,{get icon(){return od},size:"sm",class:"text-primary-ink/70"});var l=m(c,2),f=R(l,!0);w(o);var i=m(o,2);Lt(i,21,n,b=>b.name+b.command,(b,h)=>{var P=H0(),A=I(P),B=I(A),F=I(B),O=R(F,!0),N=m(F,2);{var U=Ie=>{var le=B0(),se=R(le,!0);k(ue=>x(se,ue),[()=>v.chat_detectedScripts_service_badge()]),d(Ie,le)},C=Ie=>{var le=F0(),se=R(le,!0);k(ue=>x(se,ue),[()=>v.chat_detectedScripts_command_badge()]),d(Ie,le)};D(N,Ie=>{e(h).mode==="service"?Ie(U):Ie(C,-1)})}var z=m(N,2);{var J=Ie=>{var le=z0(),se=R(le,!0);k(()=>x(se,e(h).category)),d(Ie,le)};D(z,Ie=>{e(h).category&&e(h).category!=="other"&&Ie(J)})}w(B);var Q=m(B,2),$=R(Q,!0);w(A),w(P),k(()=>{x(O,e(h).name),x($,e(h).command)}),d(b,P)}),w(i);var p=m(i,2),g=I(p),T=R(g,!0);return w(p),w(s),k((b,h)=>{x(f,b),x(T,h)},[()=>v.chat_detectedScripts_title(),()=>n().length===1?v.chat_detectedScripts_count_one({count:or(n().length)}):v.chat_detectedScripts_count_many({count:or(n().length)})]),d(r,s),Wt(a)}function U0(r,t){if(new.target)return Ft({component:U0,...r});jt(t,!0);let n=y(t,"diff",7),a=y(t,"filePath",7),s=y(t,"language",7),o=y(t,"onApply",7),c=y(t,"onReject",7);function l(){o()?.(),na.success(v.chat_diffViewer_applied_toast())}function f(){c()?.(),na.info(v.chat_diffViewer_rejected_toast())}const i=u(()=>{const g=[];return o()&&g.push({label:v.chat_diffViewer_apply_label(),variant:"success",onClick:l}),c()&&g.push({label:v.chat_diffViewer_reject_label(),variant:"danger",onClick:f}),g});var p={get diff(){return n()},set diff(g){n(g),_()},get filePath(){return a()},set filePath(g){a(g),_()},get language(){return s()},set language(g){s(g),_()},get onApply(){return o()},set onApply(g){o(g),_()},get onReject(){return c()},set onReject(g){c(g),_()},$set:zt,$on:(g,T)=>Ht(t,g,T)};{let g=u(()=>a()||v.chat_diffViewer_suggestedChanges_fallback());_s(r,{get patch(){return n()},get fileName(){return e(g)},get language(){return s()},get actions(){return e(i)},collapsible:!0,initialCollapsed:!1,maxHeight:"500px"})}return Wt(p)}var q0=wa('<circle fill="none" style="transition: stroke-dasharray 0.3s ease-out"></circle>'),Dc=wa("<circle></circle>"),V0=wa('<svg class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 fill-background" viewBox="0 0 8 6"><path fill-rule="evenodd" clip-rule="evenodd" d="M7.69471 1.69471C7.87687 1.50611 7.97766 1.25351 7.97539 0.991311C7.97311 0.729114 7.86794 0.478302 7.68253 0.292894C7.49712 0.107485 7.24631 0.00231622 6.98411 3.78025e-05C6.72192 -0.00224062 6.46931 0.0985542 6.28071 0.280712L2.98771 3.57371L1.69471 2.28071C1.50611 2.09855 1.25351 1.99776 0.991311 2.00004C0.729114 2.00232 0.478302 2.10749 0.292894 2.29289C0.107485 2.4783 0.00231622 2.72911 3.78025e-05 2.99131C-0.00224062 3.25351 0.0985542 3.50611 0.280712 3.69471L2.28071 5.69471C2.46824 5.88218 2.72255 5.9875 2.98771 5.9875C3.25288 5.9875 3.50718 5.88218 3.69471 5.69471L7.69471 1.69471Z"></path></svg>'),K0=S('<div class="relative"><svg fill="none" xmlns="http://www.w3.org/2000/svg"><circle fill="none"></circle><!></svg> <!></div>');function qs(r,t){if(new.target)return Ft({component:qs,...r});jt(t,!0);let n=y(t,"phase",7),a=y(t,"progress",7,0),s=y(t,"size",7,16),o=y(t,"class",7,""),c=u(()=>s()/2),l=u(()=>e(c)),f=u(()=>e(c)),i=u(()=>s()*.12),p=u(()=>e(c)-e(i)/2),g=u(()=>e(c)*.35),T=u(()=>2*Math.PI*e(g)),b=u(()=>Math.max(0,Math.min(1,a()))*e(T));const h={planning:"#99999999",building:"#54B1F3",reviewing:"#6D7FF5",shipped:"var(--color-foreground)"};let P=u(()=>h[n()]||"currentColor");var A={get phase(){return n()},set phase(le){n(le),_()},get progress(){return a()},set progress(le=0){a(le),_()},get size(){return s()},set size(le=16){s(le),_()},get class(){return o()},set class(le=""){o(le),_()},$set:zt,$on:(le,se)=>Ht(t,le,se)},B=K0(),F=I(B),O=I(F),N=m(O);{var U=le=>{},C=le=>{var se=q0();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(g)*.8),ne(se,"stroke",e(P)),ne(se,"stroke-width",e(g)*1.5),ne(se,"stroke-dasharray",`${e(b)??""} ${e(T)??""}`),ne(se,"stroke-dashoffset",e(T)*.25),ne(se,"transform",`rotate(-90 ${e(l)??""} ${e(f)??""})`)}),d(le,se)},z=le=>{var se=Dc();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(p)*.6),ne(se,"fill",e(P))}),d(le,se)},J=le=>{var se=Dc();k(()=>{ne(se,"cx",e(l)),ne(se,"cy",e(f)),ne(se,"r",e(p)),ne(se,"fill",e(P))}),d(le,se)};D(N,le=>{n()==="planning"?le(U):n()==="building"?le(C,1):n()==="reviewing"?le(z,2):n()==="shipped"&&le(J,3)})}w(F);var Q=m(F,2);{var $=le=>{},Ie=le=>{var se=V0();k(()=>ne(se,"width",s()*.5)),d(le,se)};D(Q,le=>{n()==="reviewing"?le($):n()==="shipped"&&le(Ie,1)})}return w(B),k(()=>{ne(F,"width",s()),ne(F,"height",s()),ne(F,"viewBox",`0 0 ${s()??""} ${s()??""}`),gt(F,0,dr(o())),ne(O,"cx",e(l)),ne(O,"cy",e(f)),ne(O,"r",e(p)),ne(O,"stroke",e(P)),ne(O,"stroke-width",e(i))}),d(r,B),Wt(A)}var Bc=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full"></span> </span>'),G0=S('<span class="flex items-center gap-1"><span class="size-1.5 rounded-full bg-border"></span> </span>'),Fc=S('<span class="text-ui text-subtle truncate"> </span>'),zc=S('<div class="flex items-center gap-1 mt-0.5"><!> <!></div>'),Hc=S('<div class="flex items-start gap-2"><div class="shrink-0 mt-0.5"><!></div> <div class="flex-1 min-w-0"><div class="text-xs leading-snug truncate"> </div> <!></div></div>'),J0=S('<div class="flex items-center gap-2"><div class="shrink-0"><!></div> <span class="text-ui text-subtle truncate line-through"> </span></div>'),Y0=S('<span class="text-ui text-subtle pl-4"> </span>'),X0=S('<div class="flex flex-col gap-0.5 pt-1 border-t border-border"><!> <!></div>'),Z0=S('<div class="text-ui text-subtle"> </div>'),Q0=S("<!> <!> <!> <!>",1),$0=S('<div class="flex flex-col py-2 px-3 gap-2 max-h-80 overflow-y-auto"><div class="flex items-center justify-between gap-3"><span class="text-xs font-semibold text-foreground"> </span> <div class="flex items-center gap-3 text-ui text-subtle"><!> <!> <!></div></div> <!></div>'),ek=S('<div class="rounded-[0.5px]"></div>');function Hu(r,t){if(new.target)return Ft({component:Hu,...r});jt(t,!0);let n=y(t,"stats",7),a=y(t,"tasks",23,()=>[]),s=y(t,"maxBars",7,20),o=y(t,"barWidth",7,"1px"),c=y(t,"barHeight",7,"16px"),l=y(t,"gap",7,"1px"),f=y(t,"class",7);const i={completed:"#22c55e",inProgress:"#4F7BF7",notStarted:"var(--border)"};let p=u(()=>{const{completed:N,inProgress:U,notStarted:C,total:z}=n();if(z===0)return[];const J=[...Array(N).fill("completed"),...Array(U).fill("inProgress"),...Array(Math.max(0,C)).fill("notStarted")];return J.length<=s()?J:J.slice(J.length-s())}),g=u(()=>a().filter(N=>N.status==="complete")),T=u(()=>a().filter(N=>N.status==="in_progress"||N.status==="review_required")),b=u(()=>a().filter(N=>N.status!=="complete"&&N.status!=="in_progress"&&N.status!=="review_required"&&N.status!=="cancelled")),h=u(()=>a().filter(N=>N.status==="cancelled")),P=u(()=>a().length>0);var A={get stats(){return n()},set stats(N){n(N),_()},get tasks(){return a()},set tasks(N=[]){a(N),_()},get maxBars(){return s()},set maxBars(N=20){s(N),_()},get barWidth(){return o()},set barWidth(N="1px"){o(N),_()},get barHeight(){return c()},set barHeight(N="16px"){c(N),_()},get gap(){return l()},set gap(N="1px"){l(N),_()},get class(){return f()},set class(N){f(N),_()},$set:zt,$on:(N,U)=>Ht(t,N,U)},B=wt(),F=qe(B);{var O=N=>{Ko(N,{side:"top",align:"start",sideOffset:6,contentClass:"max-w-xs p-0",delayDuration:200,disableHoverableContent:!1,content:C=>{var z=$0(),J=I(z),Q=I(J),$=R(Q,!0),Ie=m(Q,2),le=I(Ie);{var se=Le=>{var Se=Bc(),_e=I(Se);An(_e,"",{},{"background-color":"#22c55e"});var He=m(_e);w(Se),k(()=>x(He,` ${n().completed??""}`)),d(Le,Se)};D(le,Le=>{n().completed>0&&Le(se)})}var ue=m(le,2);{var we=Le=>{var Se=Bc(),_e=I(Se);An(_e,"",{},{"background-color":"#4F7BF7"});var He=m(_e);w(Se),k(()=>x(He,` ${n().inProgress??""}`)),d(Le,Se)};D(ue,Le=>{n().inProgress>0&&Le(we)})}var G=m(ue,2);{var pe=Le=>{var Se=G0(),_e=m(I(Se));w(Se),k(()=>x(_e,` ${n().notStarted??""}`)),d(Le,Se)};D(G,Le=>{n().notStarted>0&&Le(pe)})}w(Ie),w(J);var oe=m(J,2);{var Ne=Le=>{var Se=Q0(),_e=qe(Se);Lt(_e,17,()=>e(T),Mr,(V,K)=>{var W=Hc(),ae=I(W),Ce=I(ae);Co(Ce,{get status(){return e(K).status},size:14}),w(ae);var Z=m(ae,2),de=I(Z),Ae=R(de,!0),Fe=m(de,2);{var tt=ge=>{var Oe=zc(),q=I(Oe);{let M=u(()=>e(K).agentState||"idle");hl(q,{get agentId(){return e(K).agentId},get state(){return e(M)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=M=>{var H=Fc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(M,H)};D(Me,M=>{e(K).agentName&&M(ve)})}w(Oe),d(ge,Oe)};D(Fe,ge=>{e(K).agentId&&ge(tt)})}w(Z),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var He=m(_e,2);Lt(He,17,()=>e(b),Mr,(V,K)=>{var W=Hc(),ae=I(W),Ce=I(ae);Co(Ce,{get status(){return e(K).status},size:14}),w(ae);var Z=m(ae,2),de=I(Z),Ae=R(de,!0),Fe=m(de,2);{var tt=ge=>{var Oe=zc(),q=I(Oe);{let M=u(()=>e(K).agentState||"idle");hl(q,{get agentId(){return e(K).agentId},get state(){return e(M)},size:12,get specialist(){return e(K).agentSpecialist}})}var Me=m(q,2);{var ve=M=>{var H=Fc(),me=R(H,!0);k(()=>x(me,e(K).agentName)),d(M,H)};D(Me,M=>{e(K).agentName&&M(ve)})}w(Oe),d(ge,Oe)};D(Fe,ge=>{e(K).agentId&&ge(tt)})}w(Z),w(W),k(()=>x(Ae,e(K).title)),d(V,W)});var Ue=m(He,2);{var ie=V=>{var K=X0(),W=I(K);Lt(W,17,()=>e(g).slice(0,3),Mr,(Z,de)=>{var Ae=J0(),Fe=I(Ae),tt=I(Fe);Co(tt,{status:"complete",size:12}),w(Fe);var ge=m(Fe,2),Oe=R(ge,!0);w(Ae),k(()=>x(Oe,e(de).title)),d(Z,Ae)});var ae=m(W,2);{var Ce=Z=>{var de=Y0(),Ae=R(de,!0);k(Fe=>x(Ae,Fe),[()=>v.workspace_taskProgressBar_moreCompleted_label({count:or(e(g).length-3)})]),d(Z,de)};D(ae,Z=>{e(g).length>3&&Z(Ce)})}w(K),d(V,K)};D(Ue,V=>{e(g).length>0&&V(ie)})}var ee=m(Ue,2);{var Ze=V=>{var K=Z0(),W=R(K,!0);k(ae=>x(W,ae),[()=>v.workspace_taskProgressBar_cancelled_label({count:or(e(h).length)})]),d(V,K)};D(ee,V=>{e(h).length>0&&V(Ze)})}d(Le,Se)};D(oe,Le=>{e(P)&&Le(Ne)})}w(z),k(Le=>x($,Le),[()=>v.workspace_taskProgressBar_tasksRatio_label({completed:or(n().completed),total:or(n().total)})]),d(C,z)},children:(C,z)=>{{let J=u(()=>Pn("flex h-auto min-w-0 shrink items-end justify-start cursor-default rounded-none border-0",f())),Q=u(()=>`gap: ${l()}`),$=u(()=>v.workspace_taskProgressBar_tasksRatio_label({completed:or(n().completed),total:or(n().total)}));bt(C,{variant:"plain",type:"button",wrapContent:!1,get class(){return e(J)},get style(){return e(Q)},get"aria-label"(){return e($)},"data-task-progress-trigger":!0,children:(Ie,le)=>{var se=wt(),ue=qe(se);Lt(ue,17,()=>e(p),Mr,(we,G)=>{var pe=ek();let oe;k(()=>oe=An(pe,"",oe,{width:o(),height:c(),"background-color":i[e(G)]})),d(we,pe)}),d(Ie,se)},$$slots:{default:!0}})}},$$slots:{content:!0,default:!0}})};D(F,N=>{n().total>0&&N(O)})}return d(r,B),Wt(A)}function Wi(r,t){if(new.target)return Ft({component:Wi,...r});jt(t,!0);let n=y(t,"items",7),a=y(t,"ariaLabel",7),s=y(t,"open",15,!1),o=y(t,"orientation",7,"vertical"),c=y(t,"selection",7),l=y(t,"class",7,"");const f=u(()=>pg(n(),c(),a()));var i={get items(){return n()},set items(p){n(p),_()},get ariaLabel(){return a()},set ariaLabel(p){a(p),_()},get open(){return s()},set open(p=!1){s(p),_()},get orientation(){return o()},set orientation(p="vertical"){o(p),_()},get selection(){return c()},set selection(p){c(p),_()},get class(){return l()},set class(p=""){l(p),_()},$set:zt,$on:(p,g)=>Ht(t,p,g)};return Em(r,{get actions(){return e(f)},align:"end",get ariaLabel(){return a()},onAction:g=>fg(n(),g)?.onClick(),get open(){return s()},set open(g){s(g)},trigger:(g,T)=>{let b=()=>(T?.()).props;bt(g,yi(b,{variant:"plain",size:"icon-compact",iconOnly:!0,type:"button",get class(){return l()},get"aria-label"(){return a()},onclick:h=>{h.stopPropagation(),b().onclick?.(h)},oncontextmenu:h=>{h.preventDefault(),h.stopPropagation()},children:(h,P)=>{Pm(h,{get orientation(){return o()},class:"size-3.5"})},$$slots:{default:!0}}))},$$slots:{trigger:!0}}),Wt(i)}var tk=S('<span class="contents"><!></span>'),rk=S("<!> <!>",1);function ju(r,t){if(new.target)return Ft({component:ju,...r});jt(t,!0);let n=y(t,"workspaceId",7),a=y(t,"slot",7);const s=u(()=>Wg(a()));let o=be(null);It(()=>{e(o)&&e(o).workspaceId!==n()&&L(o,null)});function c(h){const P=rd(h);P&&L(o,{...P,workspaceId:n()},!0)}function l(h){h.preventDefault(),h.stopPropagation();const P=h.currentTarget.getBoundingClientRect();L(o,{x:P.left,y:P.bottom+2,returnFocus:h.currentTarget,workspaceId:n()},!0)}function f(){L(o,null)}var i={get workspaceId(){return n()},set workspaceId(h){n(h),_()},get slot(){return a()},set slot(h){a(h),_()},$set:zt,$on:(h,P)=>Ht(t,h,P)},p=rk(),g=qe(p);{let h=u(()=>v.workspace_microKeyBadge_ariaLabel({number:or(a()+1)})),P=u(()=>v.workspace_microKeyBadge_tooltip({number:or(a()+1)})),A=u(()=>e(o)!==null);bt(g,{variant:"ghost",size:"icon",type:"button",class:"micro-key-slot-badge size-4 min-w-0 shrink-0 cursor-pointer rounded-[3px] p-0 a11y-ignore",get"aria-label"(){return e(h)},get title(){return e(P)},onclick:l,oncontextmenu:c,onkeydown:c,"aria-haspopup":"menu",get"aria-expanded"(){return e(A)},children:(B,F)=>{var O=tk(),N=I(O);Kp(N,{get slot(){return a()},get class(){return`transition-colors ${e(s)??""}`}}),w(O),d(B,O)},$$slots:{default:!0}})}var T=m(g,2);{var b=h=>{{let P=u(()=>e(o)?.x??0),A=u(()=>e(o)?.y??0),B=u(()=>e(o)?.returnFocus),F=u(()=>v.workspace_card_assignMicroKey_label()),O=u(()=>Th(n(),f));nd(h,{get x(){return e(P)},get y(){return e(A)},get returnFocus(){return e(B)},selection:"single",get ariaLabel(){return e(F)},get items(){return e(O)},onClickOutside:f})}};D(T,h=>{e(o)&&h(b)})}return d(r,p),Wt(i)}var nk=S('<span class="flex size-4 shrink-0 items-center justify-center"><!></span>'),ak=S('<span data-workspace-card-pin-indicator="" aria-hidden="true"><!></span> <span class="sr-only"> </span>',1),sk=S('<span class="type-caption shrink-0 rounded-sm bg-muted-foreground/10 px-1.5 font-normal text-muted-foreground" data-workspace-card-trailing-label=""> </span>'),ok=S('<span data-workspace-card-pr-item=""><!></span>'),ik=S('<span class="flex shrink-0 items-center" data-workspace-card-pr-list=""><!></span>'),lk=S('<span data-workspace-card-time=""><!></span>'),ck=S('<span aria-hidden="true"><!></span>'),dk=S("<div><!> <!> <!> <!></div>"),uk=S('<div data-workspace-card-hover-surface=""><!></div>'),fk=S('<div role="group" data-workspace-card-row=""><!> <div class="relative z-10 flex shrink-0 items-center gap-1.5"><!> <!> <span class="sr-only"> </span></div> <div class="relative z-10 flex min-w-0 flex-1 items-center gap-2"><span class="flex min-w-0 flex-1 items-center gap-1" data-workspace-card-title-group=""><span dir="ltr" data-workspace-card-title=""><span class="wc-title-text svelte-1ct56pd"> </span></span> <!></span> <!> <!> <!></div> <!></div> <!> <!>',1),pk=S('<div class="relative z-10 flex shrink-0 items-center"><!></div>'),gk=S('<div><!> <!> <span class="font-medium truncate"> </span> <span class="shrink-0 text-muted-foreground">·</span> <span class="truncate text-xs text-muted-foreground"> </span> <!></div>'),vk=S('<div class="text-sm font-semibold truncate"> </div>'),jc=S('<span class="truncate"> </span>'),mk=S('<span class="text-muted-foreground">·</span>'),hk=S('<div class="flex items-center gap-1 truncate text-xs text-muted-foreground"><!> <!> <!></div>'),bk=S('<div><!> <!> <div class="flex items-center gap-2 text-xs"><!> <span class="truncate text-muted-foreground"> </span> <span> </span></div> <!></div>'),yk=S('<div class="flex items-center gap-2"><!> <span class="text-ui shrink-0 tabular-nums text-muted-foreground"> </span></div>'),_k=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span> <span class="tabular-nums"><span class="text-success"> </span> <span class="ml-1 text-danger"> </span></span></div>'),xk=S('<div class="flex items-center justify-between text-ui"><span class="text-muted-foreground"> </span></div>'),wk=S('<div class="flex items-center text-ui"><span> </span></div>'),kk=S('<div class="flex flex-col gap-1 px-3 pb-2.5"><!> <!> <!> <!></div>'),Sk=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!></div>'),Ik=S('<div class="relative z-10 flex items-center gap-1.5 px-2 pb-2"><!> <!></div>'),Ck=S('<div role="group"><!> <div class="flex items-start gap-2.5 px-3 pt-3 pb-2"><!> <div class="flex-1 min-w-0"><div class="text-sm font-medium"> </div> <div class="mt-0.5 line-clamp-2 text-xs leading-snug text-muted-foreground"> </div></div></div> <!> <!></div>');function Wu(r,t){if(new.target)return Ft({component:Wu,...r});jt(t,!0);const n=()=>St(He,"$prMonitors$",c),a=()=>St(Ue,"$microConnected$",c),s=()=>St(ee,"$hidesOwnerActions$",c),o=()=>St(ie,"$workspaceKeySlot$",c),[c,l]=ia();let f=y(t,"workspace",7),i=y(t,"phase",7),p=y(t,"stats",7),g=y(t,"variant",7,"compact"),T=y(t,"showTime",7,!0),b=y(t,"isRunning",7,!1),h=y(t,"isUnread",7,!1),P=y(t,"isWaiting",7),A=y(t,"isPinned",7,!1),B=y(t,"streamingAgentIds",23,()=>[]),F=y(t,"hasSpec",7,!1),O=y(t,"isAgentRunning",7,!1),N=y(t,"agentDigest",7),U=y(t,"trailingLabel",7),C=y(t,"title",7),z=y(t,"repoName",7),J=y(t,"branch",7),Q=y(t,"onClick",7),$=y(t,"onAction",7),Ie=y(t,"onTogglePin",7),le=y(t,"onMarkAsRead",7),se=y(t,"onOpenInNewWindow",7),ue=y(t,"onHover",7),we=y(t,"highlighted",7,!1),G=y(t,"selected",7,!1),pe=y(t,"highlightId",7),oe=y(t,"suppressHover",7,!1),Ne=y(t,"isolateHoverReveal",7,!1),Le=y(t,"class",7),Se=y(t,"actions",7);const _e=Qa("");It(()=>{_e.set(f()?.id??"")});const He=Np(_e),Ue=qh(),ie=_v(_e),ee=Op(_e),Ze=u(()=>Lh(f()??{})),V=u(()=>Mh(e(Ze)));let K=u(()=>f()?Uh.url.pathname===`/workspace/${f().id}`:!1),W=u(()=>f()?`workspace-hover-card-${f().id}`:void 0),ae=be(!1),Ce=be(null),Z=be(null);It(()=>{if(!e(Z))return;const te=Os(e(Z),{id:pe()});return()=>te.destroy()});let de=be(null),Ae=be(null),Fe=be(null),tt=be(0),ge=be(0),Oe=u(()=>e(tt)+(e(ge)>0?e(ge)+4:0));function q(){const te=e(de),pt=e(Fe);L(tt,te?Math.max(0,te.scrollWidth-te.clientWidth):0,!0),L(ge,te&&pt&&pt.getClientRects().length>0?Math.max(0,te.getBoundingClientRect().right-pt.getBoundingClientRect().left):0,!0)}It(()=>{const te=e(de),pt=e(Ae),Dt=e(Fe);if(!te||!pt||(q(),typeof ResizeObserver>"u"))return;const br=new ResizeObserver(q);return br.observe(te),br.observe(pt),Dt&&br.observe(Dt),()=>br.disconnect()});let Me=null,ve=null,M=!1,H=!1,me=!1,Qe=!1,Te=!1,ze=!1,Y=be(!1),xe=!1,Ke=null,rt=be(null),ht=null,je;function vt(){Me!==null&&(clearTimeout(Me),Me=null)}function ot(){ve!==null&&(clearTimeout(ve),ve=null),ht?.(),ht=null}function it(){ot(),L(Y,!0),L(ae,!0),!Te&&(Te=!0,fs.notifyOpened())}function ct(){ot(),clearTimeout(je),L(Y,!1),L(ae,!1),H=!1,Qe=!1,Te&&(Te=!1,fs.notifyClosed())}function Ut(){return M||H||me||Qe}function qt(){if(!e(ae)){ct();return}ot(),ve=setTimeout(()=>{ve=null,Ut()||ct()},Oh),ht=fs.deferClose(ct)}function Zt(){H=!0,ot()}function _t(){H=!1,!me&&!Qe&&qt()}function Kt(){Qe=!0,clearTimeout(je),ot()}function Vt(te){const pt=te.relatedTarget instanceof Node?te.relatedTarget:null;if(pt&&fe()?.contains(pt)||(Qe=!1,pt&&e(Ce)?.contains(pt)))return;if(pt){!M&&!H&&ct();return}const Dt=te.target;clearTimeout(je),je=setTimeout(()=>{const br=document.activeElement,yr=fe()?.contains(br)||e(Ce)?.contains(br);br&&br!==Dt&&yr||!M&&!H&&ct()},0)}function Ct(){Ke!==null&&clearTimeout(Ke),xe=!0,Ke=setTimeout(()=>{xe=!1,Ke=null},0)}function Yt(te){const pt=te.target,Dt=fe();pt instanceof Node&&Dt?.contains(pt)||te.type==="scroll"&&e(Ce)&&pt instanceof Node&&!pt.contains(e(Ce))||(te.type==="pointerdown"&&Ct(),vt(),ct())}It(()=>{if(e(Y))return window.addEventListener("pointerdown",Yt,!0),window.addEventListener("scroll",Yt,!0),()=>{window.removeEventListener("pointerdown",Yt,!0),window.removeEventListener("scroll",Yt,!0)}});function At(te){if(te.key!=="Escape")return;const pt=te.target;pt instanceof Node&&fe()?.contains(pt)||(te.preventDefault(),te.stopPropagation(),ze=me,vt(),ct())}It(()=>{if(e(ae))return window.addEventListener("keydown",At,!0),()=>window.removeEventListener("keydown",At,!0)});const he=u(()=>f()?Bp.select(Nt.state,f().id):null),re=u(()=>e(he)?e(he):f()?.activePullRequest?f().activePullRequest:!f()?.prStatus||f().prNumber==null?null:{id:`legacy-pr-${f().prNumber}`,number:f().prNumber,url:f().prUrl??"",title:v.workspace_hoverCard_pullRequest_label(),status:f().prStatus,createdAt:f().updatedAt,updatedAt:f().updatedAt}),Ve=u(()=>Dp(f())),nt=u(()=>{if(!f()||e(Ve))return[];const te=f(),pt=te.repositoryOwner&&te.repositoryName?`${te.repositoryOwner}/${te.repositoryName}`:void 0;return gg({workspacePRs:te.pullRequests,activePR:e(re),monitors:n(),workspaceRepo:pt,buildPrUrl:(Dt,br)=>sm(Dt,te.repositoryOwner,te.repositoryName,br),getDisplayTitle:Dt=>Dt.title})}),dt=u(()=>e(nt)[0]);function We(te){const pt=te.resource?.repository.provider==="gitlab"?`${te.repo} !${te.number}`:te.repo?v.workspace_card_prBadge_repoLine_tooltip({repo:te.repo,number:te.number}):v.workspace_card_prBadge_label({number:` #${te.number}`});return[Fp(pt,te),te.title,te.details].filter(Boolean).join(`
262
262
  `)}function X(te){te.key==="Enter"&&Q()?.(te)}function fe(){return e(W)?document.getElementById(e(W)):null}function ce(){return Array.from(fe()?.querySelectorAll("button:not(:disabled), a[href]")??[])}function Pe(){const te=e(Ce)?.querySelector("[data-workspace-card-trigger]"),pt=fe();if(!te||!pt)return null;const Dt=Array.from(document.querySelectorAll('button:not(:disabled), a[href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex="-1"])')).filter(yr=>yr.tabIndex>=0&&!pt.contains(yr)),br=Dt.indexOf(te);return br>=0?Dt[br+1]:null}function Ee(te){ze=!!e(Ce)?.contains(te),ct(),te.focus({preventScroll:!0})}function Be(){const te=e(Ce)?.querySelector("[data-workspace-card-trigger]");te&&Ee(te)}async function De(te){if(te.key==="Escape"&&e(ae)){te.preventDefault(),te.stopPropagation(),ct();return}te.key!=="ArrowDown"||oe()||!f()||(te.preventDefault(),te.stopPropagation(),L(Y,!0),L(ae,!0),await Qn(),ce()[0]?.focus({preventScroll:!0}))}function Ge(te){const pt=ce(),Dt=te.key==="Tab"&&te.shiftKey&&te.currentTarget===pt[0],yr=te.key==="Tab"&&!te.shiftKey&&te.currentTarget===pt.at(-1)?Pe():null;te.key!=="Escape"&&!Dt&&!yr||(te.preventDefault(),te.stopPropagation(),yr?Ee(yr):Be())}function Ye(){M=!0,ot(),fs.settleDeferredCloses(),q(),ue()?.(),f()&&!oe()&&!me&&(vt(),L(Y,!0),Me=setTimeout(()=>{Me=null,it()},fs.currentOpenDelay))}function ke(){M=!1,vt(),!me&&!Qe&&qt()}function $e(){me=!0,vt(),ot(),!ze&&(xe||f()&&!oe()&&(L(Y,!0),L(ae,!0)))}function Je(te){const pt=te.relatedTarget instanceof Node?te.relatedTarget:null;pt&&e(Ce)?.contains(pt)||(ze=!1,me=!1,!(pt&&fe()?.contains(pt))&&!M&&!H&&ct())}It(()=>{oe()&&(vt(),ot(),ct())});let et=be(null),st=be(!1),at;It(()=>{const te=f()?.id;at!==te&&(at=te,L(st,!1)),e(et)&&e(et).workspaceId!==f()?.id&&kt()});function ut(te){if(!f())return;const pt=rd(te);if(pt){if(L(st,!1),mt().length===0){L(et,null);return}L(et,{...pt,returnFocus:te.target instanceof HTMLElement?te.target.closest("button")??e(Ce)?.querySelector("button")??null:null,workspaceId:f().id},!0)}}function kt(){L(et,null),L(st,!1)}It(()=>{e(st)&&L(et,null)}),Is(()=>{vt(),ot(),Ke!==null&&(clearTimeout(Ke),Ke=null),ct()});function mt(){if(!f())return[];const te=[];return se()&&te.push({id:"open-new-window",label:v.workspace_card_openNewWindow_label(),icon:cd,onClick:()=>{se()?.(),kt()}}),te.push(...Nh(f().id,{connected:a(),onClose:kt})),s()||(e(Ve)||te.push({id:"transfer",label:v.workspace_card_transfer_label(),icon:Lg,onClick:()=>{Nt.dispatch(nv({workspaceId:f().id,workspaceTitle:f().title})),kt()}}),te.push({id:"archive",label:v.workspace_card_archive_label(),icon:dd,onClick:()=>{Nt.dispatch(wd(f().id)),kt()}}),te.push({id:"delete",label:v.workspace_card_deleteSpace_label(),icon:ud,destructive:!0,onClick:()=>{Nt.dispatch(kd(f().id)),kt()}})),te}let Ot=u(()=>O()&&N()?N():i()?.subtitle??""),Gt=u(()=>p()&&p().tasks.total>0?p().tasks.completed/p().tasks.total:0),$t=u(()=>!!p()&&(p().tasks.total>0||p().files.changed>0||p().commits.total>0||p().pr.hasOpen||p().pr.hasMerged)),fr=u(()=>e(Ve)?void 0:J()),Br=u(()=>!p()||e(Ve)?"":p().pr.hasMerged?v.workspace_card_prMerged_label({number:p().pr.number??""}):p().pr.hasOpen?v.workspace_card_prOpen_label({number:p().pr.number?`#${p().pr.number}`:""}):""),fn=u(()=>i()?.phase==="planning"?O()?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:F()||(p()?.tasks.total??0)>0?{primary:{label:v.workspace_card_approveStart_label(),action:"approve"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_viewSpec_label(),action:"view-spec"}}:i()?.phase==="building"?{primary:{label:v.workspace_card_showCoordinator_label(),action:"show-coordinator"},secondary:{label:v.workspace_card_pause_label(),action:"pause"}}:i()?.phase==="reviewing"?{primary:{label:v.workspace_card_createPr_label(),action:"create-pr"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}}:{primary:{label:v.workspace_card_archive_label(),action:"archive"},secondary:{label:v.workspace_card_showChanges_label(),action:"show-changes"}});const Tn={planning:"bg-muted/20 text-muted-foreground",building:"bg-info/15 text-info",reviewing:"bg-primary/15 text-primary",shipped:"bg-foreground/10 text-foreground"};var Fn={get workspace(){return f()},set workspace(te){f(te),_()},get phase(){return i()},set phase(te){i(te),_()},get stats(){return p()},set stats(te){p(te),_()},get variant(){return g()},set variant(te="compact"){g(te),_()},get showTime(){return T()},set showTime(te=!0){T(te),_()},get isRunning(){return b()},set isRunning(te=!1){b(te),_()},get isUnread(){return h()},set isUnread(te=!1){h(te),_()},get isWaiting(){return P()},set isWaiting(te){P(te),_()},get isPinned(){return A()},set isPinned(te=!1){A(te),_()},get streamingAgentIds(){return B()},set streamingAgentIds(te=[]){B(te),_()},get hasSpec(){return F()},set hasSpec(te=!1){F(te),_()},get isAgentRunning(){return O()},set isAgentRunning(te=!1){O(te),_()},get agentDigest(){return N()},set agentDigest(te){N(te),_()},get trailingLabel(){return U()},set trailingLabel(te){U(te),_()},get title(){return C()},set title(te){C(te),_()},get repoName(){return z()},set repoName(te){z(te),_()},get branch(){return J()},set branch(te){J(te),_()},get onClick(){return Q()},set onClick(te){Q(te),_()},get onAction(){return $()},set onAction(te){$(te),_()},get onTogglePin(){return Ie()},set onTogglePin(te){Ie(te),_()},get onMarkAsRead(){return le()},set onMarkAsRead(te){le(te),_()},get onOpenInNewWindow(){return se()},set onOpenInNewWindow(te){se(te),_()},get onHover(){return ue()},set onHover(te){ue(te),_()},get highlighted(){return we()},set highlighted(te=!1){we(te),_()},get selected(){return G()},set selected(te=!1){G(te),_()},get highlightId(){return pe()},set highlightId(te){pe(te),_()},get suppressHover(){return oe()},set suppressHover(te=!1){oe(te),_()},get isolateHoverReveal(){return Ne()},set isolateHoverReveal(te=!1){Ne(te),_()},get class(){return Le()},set class(te){Le(te),_()},get actions(){return Se()},set actions(te){Se(te),_()},$set:zt,$on:(te,pt)=>Ht(t,te,pt)},kn=wt(),ua=qe(kn);{var Ar=te=>{var pt=fk(),Dt=qe(pt);let br;var yr=I(Dt);{let yt=u(()=>f().title||v.workspace_links_untitled_label()),Et=u(()=>`workspace-status-state-${f().id}${A()?` workspace-pinned-state-${f().id}`:""}${e(ae)?` ${e(W)}`:""}`),ur=u(()=>e(K)?"page":void 0);bt(yr,{variant:"plain",class:"absolute inset-0 z-0 h-auto w-auto rounded-md focus-visible:border-transparent focus-visible:bg-background/50 focus-visible:ring-0",get"aria-label"(){return e(yt)},get"aria-describedby"(){return e(Et)},get"aria-current"(){return e(ur)},"data-workspace-card-trigger":!0,onkeydown:De,onclick:_r=>{_r.stopPropagation(),Q()?.(_r)}})}var mn=m(yr,2),jr=I(mn);{var zn=yt=>{var Et=nk(),ur=I(Et);{var _r=Rr=>{ju(Rr,{get workspaceId(){return f().id},get slot(){return o()}})};D(ur,Rr=>{o()!==null&&Rr(_r)})}w(Et),d(yt,Et)};D(jr,yt=>{a()&&yt(zn)})}var Hn=m(jr,2);Ko(Hn,{get content(){return e(V).tooltip},side:"bottom",sideOffset:4,children:(yt,Et)=>{Rh(yt,{get status(){return e(Ze)},size:14,decorative:!0,class:"justify-start"})},$$slots:{default:!0}});var jn=m(Hn,2),Kn=R(jn,!0);w(mn);var Kr=m(mn,2),hn=I(Kr),Jt=I(hn),tn=I(Jt),$n=R(tn,!0);vr(tn,yt=>L(Ae,yt),()=>e(Ae)),w(Jt),vr(Jt,yt=>L(de,yt),()=>e(de));var Pr=m(Jt,2);{var Tr=yt=>{var Et=ak(),ur=qe(Et),_r=I(ur);Pt(_r,{get icon(){return wl},size:"xs"}),w(ur);var Rr=m(ur,2),j=R(Rr,!0);k(Re=>{gt(ur,1,`wc-pin-indicator inline-flex shrink-0 items-center text-muted-foreground transition-opacity
263
- ${Ie()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ne(Rr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Re)},[()=>v.layout_activeCard_pinned_header()]),d(yt,Et)};D(Pr,yt=>{A()&&yt(Tr)})}w(hn);var rn=m(hn,2);{var fa=yt=>{var Et=sk(),ur=R(Et,!0);k(()=>x(ur,U())),d(yt,Et)};D(rn,yt=>{U()&&yt(fa)})}var Gr=m(rn,2);{var Jr=yt=>{const Et=u(()=>e(dt));var ur=ik(),_r=I(ur);{let Rr=u(()=>We(e(Et)));Ko(_r,{get content(){return e(Rr)},side:"bottom",sideOffset:4,children:(j,Re)=>{var ft=wt(),Qt=qe(ft);{var lr=xr=>{{let Ir=u(()=>We(e(Et)));bt(xr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Et).foregroundClass??""}`},get"aria-label"(){return e(Ir)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Et).identity},get"data-pr-status"(){return e(Et).status},onclick:Qr=>{Qr.stopPropagation();const Or=f().id;dp(async()=>{const{handleLink:nn}=await import("./BdWpSBC4.js").then(Gn=>Gn.Q);return{handleLink:nn}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]),import.meta.url).then(({handleLink:nn})=>nn(e(Et).url,{workspaceId:Or,event:Qr}))},children:(Qr,Or)=>{Pt(Qr,{get icon(){return e(Et).statusIcon},size:14})},$$slots:{default:!0}})}},ar=xr=>{var Ir=ok(),Qr=I(Ir);Pt(Qr,{get icon(){return e(Et).statusIcon},size:14}),w(Ir),k(Or=>{gt(Ir,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Et).foregroundClass??""}`,"svelte-1ct56pd"),ne(Ir,"aria-label",Or),ne(Ir,"data-pr-identity",e(Et).identity),ne(Ir,"data-pr-status",e(Et).status)},[()=>We(e(Et))]),d(xr,Ir)};D(Qt,xr=>{e(Et).url?xr(lr):xr(ar,-1)})}d(j,ft)},$$slots:{default:!0}})}w(ur),k(Rr=>ne(ur,"aria-label",Rr),[()=>e(Et).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(yt,ur)};D(Gr,yt=>{e(dt)&&yt(Jr)})}var Yr=m(Gr,2);{var ea=yt=>{var Et=lk(),ur=I(Et);{var _r=j=>{{let Re=u(()=>Pl(f()));Gp(j,{get date(){return e(Re)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Rr=u(()=>Pl(f())>0);D(ur,j=>{e(Rr)&&j(_r)})}w(Et),k(()=>gt(Et,1,`wc-secondary shrink-0 ${Se()||Ie()||h()&&le()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(yt,Et)};D(Yr,yt=>{T()&&yt(ea)})}w(Kr);var Pa=m(Kr,2);{var Da=yt=>{var Et=dk(),ur=I(Et);{var _r=lr=>{{let ar=u(()=>A()?"text-primary-ink":"text-muted-foreground"),xr=u(()=>A()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),Ir=u(()=>A()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
263
+ ${Ie()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-focus-within/wc:opacity-0":"group-hover:opacity-0 group-focus-within:opacity-0":""}`,"svelte-1ct56pd"),ne(Rr,"id",`workspace-pinned-state-${f().id??""}`),x(j,Re)},[()=>v.layout_activeCard_pinned_header()]),d(yt,Et)};D(Pr,yt=>{A()&&yt(Tr)})}w(hn);var rn=m(hn,2);{var fa=yt=>{var Et=sk(),ur=R(Et,!0);k(()=>x(ur,U())),d(yt,Et)};D(rn,yt=>{U()&&yt(fa)})}var Gr=m(rn,2);{var Jr=yt=>{const Et=u(()=>e(dt));var ur=ik(),_r=I(ur);{let Rr=u(()=>We(e(Et)));Ko(_r,{get content(){return e(Rr)},side:"bottom",sideOffset:4,children:(j,Re)=>{var ft=wt(),Qt=qe(ft);{var lr=xr=>{{let Ir=u(()=>We(e(Et)));bt(xr,{variant:"plain",size:"icon-compact",iconOnly:!0,get class(){return`size-5 shrink-0 rounded-sm ${e(Et).foregroundClass??""}`},get"aria-label"(){return e(Ir)},"data-workspace-card-pr-item":!0,get"data-pr-identity"(){return e(Et).identity},get"data-pr-status"(){return e(Et).status},onclick:Qr=>{Qr.stopPropagation();const Or=f().id;dp(async()=>{const{handleLink:nn}=await import("./Jyvn4VFV.js").then(Gn=>Gn.Q);return{handleLink:nn}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56]),import.meta.url).then(({handleLink:nn})=>nn(e(Et).url,{workspaceId:Or,event:Qr}))},children:(Qr,Or)=>{Pt(Qr,{get icon(){return e(Et).statusIcon},size:14})},$$slots:{default:!0}})}},ar=xr=>{var Ir=ok(),Qr=I(Ir);Pt(Qr,{get icon(){return e(Et).statusIcon},size:14}),w(Ir),k(Or=>{gt(Ir,1,`inline-flex size-5 shrink-0 items-center justify-center rounded-sm ${e(Et).foregroundClass??""}`,"svelte-1ct56pd"),ne(Ir,"aria-label",Or),ne(Ir,"data-pr-identity",e(Et).identity),ne(Ir,"data-pr-status",e(Et).status)},[()=>We(e(Et))]),d(xr,Ir)};D(Qt,xr=>{e(Et).url?xr(lr):xr(ar,-1)})}d(j,ft)},$$slots:{default:!0}})}w(ur),k(Rr=>ne(ur,"aria-label",Rr),[()=>e(Et).resource?.repository.provider==="gitlab"?v.workspace_hoverCard_mergeRequest_label():v.workspace_hoverCard_pullRequest_label()]),d(yt,ur)};D(Gr,yt=>{e(dt)&&yt(Jr)})}var Yr=m(Gr,2);{var ea=yt=>{var Et=lk(),ur=I(Et);{var _r=j=>{{let Re=u(()=>Pl(f()));Gp(j,{get date(){return e(Re)},class:"type-caption whitespace-nowrap tabular-nums text-muted-foreground",compact:!0})}},Rr=u(()=>Pl(f())>0);D(ur,j=>{e(Rr)&&j(_r)})}w(Et),k(()=>gt(Et,1,`wc-secondary shrink-0 ${Se()||Ie()||h()&&le()?we()?"opacity-0":oe()?"":Ne()?"group-hover/wc:opacity-0 group-hover/message:opacity-0":"group-hover:opacity-0 group-hover/message:opacity-0":""}`,"svelte-1ct56pd")),d(yt,Et)};D(Yr,yt=>{T()&&yt(ea)})}w(Kr);var Pa=m(Kr,2);{var Da=yt=>{var Et=dk(),ur=I(Et);{var _r=lr=>{{let ar=u(()=>A()?"text-primary-ink":"text-muted-foreground"),xr=u(()=>A()?v.workspace_card_unpin_ariaLabel():v.workspace_card_pin_ariaLabel()),Ir=u(()=>A()?v.workspace_card_unpin_tooltip():v.workspace_card_pin_tooltip());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,get class(){return`transition-all hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0
264
264
  ${e(ar)??""}`},onclick:Qr=>{Qr.stopPropagation(),Ie()?.(Qr)},get"aria-label"(){return e(xr)},get title(){return e(Ir)},children:(Qr,Or)=>{var nn=ck(),Gn=I(nn);Pt(Gn,{get icon(){return wl},size:"xs"}),w(nn),d(Qr,nn)},$$slots:{default:!0}})}};D(ur,lr=>{Ie()&&lr(_r)})}var Rr=m(ur,2);{var j=lr=>{{let ar=u(()=>v.workspace_card_markAsRead_label()),xr=u(()=>v.workspace_card_markAsRead_label());bt(lr,{variant:"plain",size:"icon-xs",iconOnly:!0,class:"text-muted-foreground hover:bg-muted/50 hover:text-foreground focus-visible:border-transparent focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:ring-0",onclick:Ir=>{Ir.stopPropagation(),le()?.(Ir)},get"aria-label"(){return e(ar)},get title(){return e(xr)},children:(Ir,Qr)=>{Pt(Ir,{get icon(){return fd},size:"xs"})},$$slots:{default:!0}})}};D(Rr,lr=>{h()&&le()&&lr(j)})}var Re=m(Rr,2);vn(Re,()=>Se()??Vs);var ft=m(Re,2);{var Qt=lr=>{{let ar=u(mt),xr=u(()=>v.workspace_progressCard_actions_ariaLabel());Wi(lr,{get items(){return e(ar)},get ariaLabel(){return e(xr)},class:"flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground transition-colors hover:bg-muted/50 hover:text-foreground focus-visible:bg-muted/50 focus-visible:text-foreground focus-visible:outline-none",get open(){return e(st)},set open(Ir){L(st,Ir,!0)}})}};D(ft,lr=>{se()&&lr(Qt)})}w(Et),vr(Et,lr=>L(Fe,lr),()=>e(Fe)),k(()=>gt(Et,1,`wc-actions absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center gap-0.5 rounded-md bg-accent/95 px-0.5 focus-within:opacity-100
265
265
  ${Ne()?"group-focus-within/wc:opacity-100":"group-focus-within:opacity-100"}
266
266
  ${we()?"opacity-100":oe()?"opacity-0":Ne()?"opacity-0 group-hover/wc:opacity-100":"opacity-0 group-hover:opacity-100"}`,"svelte-1ct56pd")),d(yt,Et)};D(Pa,yt=>{(Se()||se()||Ie()||h()&&le())&&yt(Da)})}w(Dt),vr(Dt,yt=>L(Ce,yt),()=>e(Ce)),Bn(Dt,(yt,Et)=>Os?.(yt,Et),()=>({id:pe()}));var Xr=m(Dt,2);{var Zr=yt=>{Dh(yt,{get id(){return e(W)},get anchor(){return`--workspace-list-${f().id??""}`},position:"right",get anchorElement(){return e(Ce)},class:"w-auto overflow-visible! rounded-lg border-0! bg-background! shadow-none!",onmouseenter:Zt,onmouseleave:_t,onfocusin:Kt,onfocusout:Vt,children:(Et,ur)=>{var _r=uk(),Rr=I(_r);Bh(Rr,{get workspace(){return f()},get activeAgentIds(){return B()},onkeydown:Ge}),w(_r),vr(_r,j=>L(rt,j),()=>e(rt)),Cn("pointerenter",_r,Zt),Cn("pointerleave",_r,_t),Nr("focusin",_r,Kt),Nr("focusout",_r,Vt),d(Et,_r)},$$slots:{default:!0}})};D(Xr,yt=>{e(ae)&&!oe()&&yt(Zr)})}var bn=m(Xr,2);{var ta=yt=>{const Et=u(mt);var ur=wt(),_r=qe(ur);{var Rr=j=>{{let Re=u(()=>e(et)?.x??0),ft=u(()=>e(et)?.y??0),Qt=u(()=>e(et)?.returnFocus),lr=u(()=>v.workspace_progressCard_actions_ariaLabel());nd(j,{get x(){return e(Re)},get y(){return e(ft)},get returnFocus(){return e(Qt)},get ariaLabel(){return e(lr)},get items(){return e(Et)},onClickOutside:kt})}};D(_r,j=>{e(Et).length>0&&j(Rr)})}d(yt,ur)};D(bn,yt=>{e(et)&&yt(ta)})}k((yt,Et,ur)=>{gt(Dt,1,yt,"svelte-1ct56pd"),ne(Dt,"data-pinned",A()),ne(Dt,"data-highlight-id",pe()),br=An(Dt,"",br,{"anchor-name":`--workspace-list-${f().id??""}`}),ne(jn,"id",`workspace-status-state-${f().id??""}`),x(Kn,e(V).accessibleName),gt(Jt,1,`wc-title type-body min-w-0 truncate font-normal!
@@ -1 +1 @@
1
- var U=Object.defineProperty;var P=e=>{throw TypeError(e)};var K=(e,t,r)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var x=(e,t,r)=>K(e,typeof t!="symbol"?t+"":t,r),Q=(e,t,r)=>t.has(e)||P("Cannot "+r);var T=(e,t,r)=>(Q(e,t,"read from private field"),r?r.call(e):t.get(e)),j=(e,t,r)=>t.has(e)?P("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);import{at as V,ca as X,c9 as G,aD as M,bH as Y,bo as Z,bs as $,a7 as q,ay as E,W as z,bn as ee,aA as m,a5 as te,bf as re,bA as oe,aB as se}from"./DYhIMPy1.js";import{j as F,s as ie}from"./DOzF5uE-.js";import{o as ne,j as N,c as ae}from"./DZtstCLQ.js";import{S as ce}from"./DYfBNrOV.js";import{t as le,bq as b,a_ as de,by as ue,b as fe,br as he}from"./eK7OULll.js";import{s as k}from"./p5gLe3PS.js";import{av as pe,aG as ve,aS as ge,aT as D,aJ as S,bn as me}from"./CVjlpAWj.js";function A(e){return typeof e=="object"?{open:e.open??!0,tier:e.tier??"slow",onClosed:e.onClosed}:{open:e??!0,tier:"slow",onClosed:void 0}}function be(e){const t=e.querySelectorAll("[data-animated-height-target]"),r=t.item(t.length-1)||e.firstElementChild;if(!r)return e.scrollHeight;const a=getComputedStyle(r),c=Number.parseFloat(a.height);return Number.isFinite(c)?a.boxSizing==="border-box"?c:c+["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"].reduce((s,l)=>s+(Number.parseFloat(a[l])||0),0):r.offsetHeight}const Re=(e,t=!0)=>{let{open:r,onClosed:a}=A(t);const{tier:c}=A(t),s=new ce(0,c);let l=!r,h,n=!1,v,g,d;const H=e.style.overflow,w=e.style.height,C=()=>{e.style.overflow="clip",h=s.current,e.style.height=`${h}px`},O=V(()=>{X(()=>{const u=s.current;!l||n||u===h||(d?.(),d=F(()=>{d=void 0,n||C()}))})}),p=()=>{if(n)return;v?.(),g?.();const u=y=>{g=F(()=>{if(g=void 0,n)return;const J=s.set(y,{instant:!l||N()});l=!0,r||J.then(()=>{!n&&!r&&s.current===0&&a?.()}),d?.(),d=void 0,C()})};r?v=ie(()=>{v=void 0,u(be(e))}):u(0)},o=()=>{N()&&p()},i=typeof ResizeObserver>"u"?void 0:new ResizeObserver(()=>{r&&p()});let f=null;const B=()=>{const u=e.querySelectorAll("[data-animated-height-target]"),y=u.item(u.length-1)||e.firstElementChild||e;y!==f&&(f&&i?.unobserve(f),f=y,i?.observe(y))};B();const L=typeof MutationObserver>"u"?void 0:new MutationObserver(()=>{n||(B(),r&&p())});L?.observe(e,{childList:!0,subtree:!0});const I=ne(o);return p(),{update(u=!0){({open:r,onClosed:a}=A(u)),p()},destroy(){n=!0,v?.(),g?.(),d?.(),s.set(s.current,{instant:!0}),i?.disconnect(),L?.disconnect(),I(),O(),e.style.height=w,e.style.overflow=H}}},ye=ge({component:"separator",parts:["root"]});var _;const W=class W{constructor(t){x(this,"opts");x(this,"attachment");j(this,_,G(()=>({id:this.opts.id.current,role:this.opts.decorative.current?"none":"separator","aria-orientation":this.opts.orientation.current,"aria-hidden":ve(this.opts.decorative.current),"data-orientation":this.opts.orientation.current,[ye.root]:"",...this.attachment})));this.opts=t,this.attachment=pe(t.ref)}static create(t){return new W(t)}get props(){return M(T(this,_))}set props(t){Y(T(this,_),t)}};_=new WeakMap;let R=W;var _e=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","decorative","orientation"]),we=se("<div><!></div>");function Ce(e,t){const r=Z();if(new.target)return le({component:Ce,...e});$(t,!0);let a=b(t,"id",23,()=>D(r)),c=b(t,"ref",15,null),s=b(t,"child",7),l=b(t,"children",7),h=b(t,"decorative",7,!1),n=b(t,"orientation",7,"horizontal"),v=he(t,_e);const g=R.create({ref:S(()=>c(),o=>c(o)),id:S(()=>a()),decorative:S(()=>h()),orientation:S(()=>n())}),d=G(()=>me(v,g.props));var H={get id(){return a()},set id(o=D(r)){a(o),m()},get ref(){return c()},set ref(o=null){c(o),m()},get child(){return s()},set child(o){s(o),m()},get children(){return l()},set children(o){l(o),m()},get decorative(){return h()},set decorative(o=!1){h(o),m()},get orientation(){return n()},set orientation(o="horizontal"){n(o),m()},$set:ue,$on:(o,i)=>fe(t,o,i)},w=q(),C=E(w);{var O=o=>{var i=q(),f=E(i);k(f,s,()=>({props:M(d)})),z(o,i)},p=o=>{var i=we();ae(i,()=>({...M(d)}));var f=te(i);k(f,()=>l()??re),oe(i),z(o,i)};de(C,o=>{s()?o(O):o(p,-1)})}return z(e,w),ee(H)}export{Ce as S,Re as a};
1
+ var U=Object.defineProperty;var P=e=>{throw TypeError(e)};var K=(e,t,r)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var x=(e,t,r)=>K(e,typeof t!="symbol"?t+"":t,r),Q=(e,t,r)=>t.has(e)||P("Cannot "+r);var T=(e,t,r)=>(Q(e,t,"read from private field"),r?r.call(e):t.get(e)),j=(e,t,r)=>t.has(e)?P("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);import{at as V,ca as X,c9 as G,aD as M,bH as Y,bo as Z,bs as $,a7 as q,ay as E,W as z,bn as ee,aA as m,a5 as te,bf as re,bA as oe,aB as se}from"./DYhIMPy1.js";import{j as F,s as ie}from"./CAlQoToi.js";import{o as ne,j as N,c as ae}from"./9ZBkr0Qf.js";import{S as ce}from"./CFpa0qKK.js";import{t as le,bq as b,a_ as de,by as ue,b as fe,br as he}from"./BLK9_MXJ.js";import{s as k}from"./DSemZQdl.js";import{av as pe,aG as ve,aS as ge,aT as D,aJ as S,bn as me}from"./CukTrqVi.js";function A(e){return typeof e=="object"?{open:e.open??!0,tier:e.tier??"slow",onClosed:e.onClosed}:{open:e??!0,tier:"slow",onClosed:void 0}}function be(e){const t=e.querySelectorAll("[data-animated-height-target]"),r=t.item(t.length-1)||e.firstElementChild;if(!r)return e.scrollHeight;const a=getComputedStyle(r),c=Number.parseFloat(a.height);return Number.isFinite(c)?a.boxSizing==="border-box"?c:c+["paddingTop","paddingBottom","borderTopWidth","borderBottomWidth"].reduce((s,l)=>s+(Number.parseFloat(a[l])||0),0):r.offsetHeight}const Re=(e,t=!0)=>{let{open:r,onClosed:a}=A(t);const{tier:c}=A(t),s=new ce(0,c);let l=!r,h,n=!1,v,g,d;const H=e.style.overflow,w=e.style.height,C=()=>{e.style.overflow="clip",h=s.current,e.style.height=`${h}px`},O=V(()=>{X(()=>{const u=s.current;!l||n||u===h||(d?.(),d=F(()=>{d=void 0,n||C()}))})}),p=()=>{if(n)return;v?.(),g?.();const u=y=>{g=F(()=>{if(g=void 0,n)return;const J=s.set(y,{instant:!l||N()});l=!0,r||J.then(()=>{!n&&!r&&s.current===0&&a?.()}),d?.(),d=void 0,C()})};r?v=ie(()=>{v=void 0,u(be(e))}):u(0)},o=()=>{N()&&p()},i=typeof ResizeObserver>"u"?void 0:new ResizeObserver(()=>{r&&p()});let f=null;const B=()=>{const u=e.querySelectorAll("[data-animated-height-target]"),y=u.item(u.length-1)||e.firstElementChild||e;y!==f&&(f&&i?.unobserve(f),f=y,i?.observe(y))};B();const L=typeof MutationObserver>"u"?void 0:new MutationObserver(()=>{n||(B(),r&&p())});L?.observe(e,{childList:!0,subtree:!0});const I=ne(o);return p(),{update(u=!0){({open:r,onClosed:a}=A(u)),p()},destroy(){n=!0,v?.(),g?.(),d?.(),s.set(s.current,{instant:!0}),i?.disconnect(),L?.disconnect(),I(),O(),e.style.height=w,e.style.overflow=H}}},ye=ge({component:"separator",parts:["root"]});var _;const W=class W{constructor(t){x(this,"opts");x(this,"attachment");j(this,_,G(()=>({id:this.opts.id.current,role:this.opts.decorative.current?"none":"separator","aria-orientation":this.opts.orientation.current,"aria-hidden":ve(this.opts.decorative.current),"data-orientation":this.opts.orientation.current,[ye.root]:"",...this.attachment})));this.opts=t,this.attachment=pe(t.ref)}static create(t){return new W(t)}get props(){return M(T(this,_))}set props(t){Y(T(this,_),t)}};_=new WeakMap;let R=W;var _e=new Set(["$$slots","$$events","$$legacy","id","ref","child","children","decorative","orientation"]),we=se("<div><!></div>");function Ce(e,t){const r=Z();if(new.target)return le({component:Ce,...e});$(t,!0);let a=b(t,"id",23,()=>D(r)),c=b(t,"ref",15,null),s=b(t,"child",7),l=b(t,"children",7),h=b(t,"decorative",7,!1),n=b(t,"orientation",7,"horizontal"),v=he(t,_e);const g=R.create({ref:S(()=>c(),o=>c(o)),id:S(()=>a()),decorative:S(()=>h()),orientation:S(()=>n())}),d=G(()=>me(v,g.props));var H={get id(){return a()},set id(o=D(r)){a(o),m()},get ref(){return c()},set ref(o=null){c(o),m()},get child(){return s()},set child(o){s(o),m()},get children(){return l()},set children(o){l(o),m()},get decorative(){return h()},set decorative(o=!1){h(o),m()},get orientation(){return n()},set orientation(o="horizontal"){n(o),m()},$set:ue,$on:(o,i)=>fe(t,o,i)},w=q(),C=E(w);{var O=o=>{var i=q(),f=E(i);k(f,s,()=>({props:M(d)})),z(o,i)},p=o=>{var i=we();ae(i,()=>({...M(d)}));var f=te(i);k(f,()=>l()??re),oe(i),z(o,i)};de(C,o=>{s()?o(O):o(p,-1)})}return z(e,w),ee(H)}export{Ce as S,Re as a};
@@ -1 +1 @@
1
- import{conf as t,language as e}from"./B9MBednq.js";const i=t,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{i as conf,o as language};
1
+ import{conf as t,language as e}from"./DK60Gbnz.js";const i=t,o={defaultToken:"invalid",tokenPostfix:".js",keywords:["break","case","catch","class","continue","const","constructor","debugger","default","delete","do","else","export","extends","false","finally","for","from","function","get","if","import","in","instanceof","let","new","null","return","set","static","super","switch","symbol","this","throw","true","try","typeof","undefined","var","void","while","with","yield","async","await","of"],typeKeywords:[],operators:e.operators,symbols:e.symbols,escapes:e.escapes,digits:e.digits,octaldigits:e.octaldigits,binarydigits:e.binarydigits,hexdigits:e.hexdigits,regexpctl:e.regexpctl,regexpesc:e.regexpesc,tokenizer:e.tokenizer};export{i as conf,o as language};
@@ -1,4 +1,4 @@
1
- import{m as as,j as lt}from"./BlOn95cv.js";import{bo as c}from"./eK7OULll.js";import{HD as ct,HR as o,c as A,b_ as os,g as W,i6 as ls,nl as T,pP as cs,lB as is,xp as us,nk as U,r1 as ds,xo as it,r0 as ut,n7 as dt,nc as fs,lQ as gs,fK as ft,lx as ps,l$ as hs,nB as $,iC as _s,aV as ie,aQ as re}from"./Bo4s1kgI.js";import{bS as ms,cZ as bs,b0 as Ss,aH as ys,ci as ks,bK as Cs,bm as ws,bs as vs,ao as As,cF as Ts,cN as Is,c4 as Rs,bh as Ps}from"./B0JWnOsx.js";import{a as Es,g as xs,b as Ms,i as _e,C as ue}from"./DypB-Dwi.js";import{bx as Ns}from"./CVjlpAWj.js";import{r as $s}from"./NeHKo0ZG.js";import{d as Ls}from"./XV0T3w4n.js";import{t as C,u as Os}from"./DYfBNrOV.js";var me=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(me||{});function Ko(e){return e.isPending===!0||e.status==="pending"}function Ds(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(ct(e.model).providerId??t)||void 0}function Vo(e){return e.messages.length>0}function Ws(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function Us(e){return e.contentBlocks?Ws(e.contentBlocks):""}const Qo=o.createSelector(e=>e.principal),Q=o.createSelector(Es),I=o.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===Q.select(e)?t.snapshot:null}),Yo=o.createSelector(e=>I.select(e)?.capabilities.agentPlugins===1),Xo=o.createSelector(e=>I.select(e)?.capabilities.messageBlockPages===1),L=o.createSelector(e=>{const t=I.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),H=o.createSelector(e=>L.select(e)==="owner"),gt=o.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===Q.select(e)),Jo=o.createSelector(e=>{const t=L.select(e);return t==="member"||t==="guest"||gt.select(e)}),el=o.createSelector(e=>H.select(e)?Q.select(e):null),Hs=o.createSelector(e=>{const t=L.select(e);return t==="owner"||t==="member"}),J=o.createSelector(e=>$s.select(e)===!0&&!!I.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),tl=o.createSelector(e=>{const t=J.select(e),s=I.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&H.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),G=o.createSelector(xs),sl=o.createSelector(Ms),rl=o.createSelector(e=>Hs.select(e)&&(H.select(e)||J.select(e)));function Fs(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 pt(e,t,s){return`${Fs(e,s)} #${t}`}function Ce(e){return e.resource?.repository.provider==="gitlab"}function nl(e,t){return`${Ce(e)?"!":"#"}${t}`}function js(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function Bs(e,t){return Ce(e)?`${e.repo} !${e.prNumber}`:pt(e.repo,e.prNumber,t)}function al(e){return e.resource?as(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function ol(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 ll(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 cl(e,t){if(!Ce(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function ht(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 mt(e){return e.status===A.Resuming||ht(e.status)||_t(e)?!1:!!(e.isWaitingForOtherAgents||e.status===A.Waiting||e.status==="waiting")}function qs(e){return ht(e.status)||mt(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 il(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 Gs(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=os(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 ul(e,t){if(!e)return"";const s=e.split(`
1
+ import{m as as,j as lt}from"./BlOn95cv.js";import{bo as c}from"./BLK9_MXJ.js";import{HD as ct,HR as o,c as A,b_ as os,g as W,i6 as ls,nl as T,pP as cs,lB as is,xp as us,nk as U,r1 as ds,xo as it,r0 as ut,n7 as dt,nc as fs,lQ as gs,fK as ft,lx as ps,l$ as hs,nB as $,iC as _s,aV as ie,aQ as re}from"./DSAz0okZ.js";import{bS as ms,cZ as bs,b0 as Ss,aH as ys,ci as ks,bK as Cs,bm as ws,bs as vs,ao as As,cF as Ts,cN as Is,c4 as Rs,bh as Ps}from"./yDAFOpKJ.js";import{a as Es,g as xs,b as Ms,i as _e,C as ue}from"./DypB-Dwi.js";import{bx as Ns}from"./CukTrqVi.js";import{r as $s}from"./D7gneRCc.js";import{d as Ls}from"./DJ4kCFeu.js";import{t as C,u as Os}from"./CFpa0qKK.js";var me=(e=>(e.ACTIVATING="activating",e.ACTIVE="active",e.ERROR="error",e))(me||{});function Ko(e){return e.isPending===!0||e.status==="pending"}function Ds(e,t){const s=e.provider||e.metadata?.provider||e.config?.provider;if(s)return s;if(e.model)return(ct(e.model).providerId??t)||void 0}function Vo(e){return e.messages.length>0}function Ws(e){return e.filter(t=>t.type==="text").map(t=>t.text??"").join("")}function Us(e){return e.contentBlocks?Ws(e.contentBlocks):""}const Qo=o.createSelector(e=>e.principal),Q=o.createSelector(Es),I=o.createSelector(e=>{const t=e.principal;return t?.status==="ready"&&t.context!==null&&t.context===Q.select(e)?t.snapshot:null}),Yo=o.createSelector(e=>I.select(e)?.capabilities.agentPlugins===1),Xo=o.createSelector(e=>I.select(e)?.capabilities.messageBlockPages===1),L=o.createSelector(e=>{const t=I.select(e);return t?t.capabilities.hostMembership?t.principal.hostRole??null:t.principal.isAdministrator?"owner":"guest":null}),H=o.createSelector(e=>L.select(e)==="owner"),gt=o.createSelector(e=>e.principal?.status==="revoked"&&e.principal.context!==null&&e.principal.context===Q.select(e)),Jo=o.createSelector(e=>{const t=L.select(e);return t==="member"||t==="guest"||gt.select(e)}),el=o.createSelector(e=>H.select(e)?Q.select(e):null),Hs=o.createSelector(e=>{const t=L.select(e);return t==="owner"||t==="member"}),J=o.createSelector(e=>$s.select(e)===!0&&!!I.select(e)&&e.principal.refreshedPresentationVersion===e.principal.presentationVersion),tl=o.createSelector(e=>{const t=J.select(e),s=I.select(e)?.capabilities;return{hostMembership:t&&s?.hostMembership===!0,manageHostMembers:t&&s?.hostMembership===!0&&H.select(e),personalPairing:t&&s?.personalPairing===!0,authenticatedDevices:t&&s?.authenticatedDevices===!0,collaborationIdentity:t&&s?.collaborationIdentity===!0}}),G=o.createSelector(xs),sl=o.createSelector(Ms),rl=o.createSelector(e=>Hs.select(e)&&(H.select(e)||J.select(e)));function Fs(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 pt(e,t,s){return`${Fs(e,s)} #${t}`}function Ce(e){return e.resource?.repository.provider==="gitlab"}function nl(e,t){return`${Ce(e)?"!":"#"}${t}`}function js(e){return e.url??(e.resource||e.monitorAvailability||e.url===null?"":`https://github.com/${e.repo}/pull/${e.prNumber}`)}function Bs(e,t){return Ce(e)?`${e.repo} !${e.prNumber}`:pt(e.repo,e.prNumber,t)}function al(e){return e.resource?as(e.resource):e.monitorAvailability?`unresolved:${e.monitorId}`:`${e.repo.toLowerCase()}#${e.prNumber}`}function ol(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 ll(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 cl(e,t){if(!Ce(t)||!t.resource)return e;const s=new URL(t.resource.repository.instanceBaseUrl);return`${e} (${s.host}${s.pathname.replace(/\/$/,"")})`}function ht(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 mt(e){return e.status===A.Resuming||ht(e.status)||_t(e)?!1:!!(e.isWaitingForOtherAgents||e.status===A.Waiting||e.status==="waiting")}function qs(e){return ht(e.status)||mt(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 il(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 Gs(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=os(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 ul(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 zs={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"]},_={"file-read":Ps,"file-write":Rs,"file-delete":Is,terminal:Ts,search:ms,"context-engine":As,api:vs,workspace:ws,note:zs,meta:Cs,agent:ks,task:ys,browser:Ss,generic:bs},Zs=["workspace-mcp_","workspace_mcp_","filesystem_","browser-mcp_","browser_mcp_"],Ks=["_workspace-mcp","-workspace-mcp","_playwright","_browser_mcp","_context_7","_svelte","_npx","_sequential_thinking","_figma","_slack","_sentry","_github","_linear","_notion","_jira"];function bt(e){return!!e&&/^(mcp__|mcp\.)/i.test(e)}const Oe=/select:\s*mcp(__|\.)/i,Vs=/^select:\s*mcp(__|\.)/i;function Qs(e,t={}){if(q(e).toLowerCase()==="toolsearch"||typeof t.query=="string"&&Vs.test(t.query))return!0;const s=typeof t._acpTitle=="string"?t._acpTitle:"";return Oe.test(e||"")||Oe.test(s)}function q(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 Zs)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 Ks)if(n.endsWith(a)){e=e.slice(0,-a.length),r=!0;break}}return e}function St(e){const t=e.trim();return/\s/.test(t)?/^[A-Za-z0-9._-]+:\s/.test(t)?!0:t.split(/\s+/).length>=3:!1}function yt(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:_["file-read"],verb:c.chat_toolClassifier_listContents_label(),subject:P(s)||s,path:M(s)||null,filePath:s||null,isDirectory:!0}}function kt(e){const t=e.toLowerCase(),s=t.includes("agent")?"agent":t.includes("note")?"note":t.includes("workspace")?"workspace":"generic";return{category:s,icon:_[s],verb:f(e.trim(),120),subject:null,path:null}}const Ys=[{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"}],Xs=[{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"},Js=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 er(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 Xs)if(n.startsWith(a))return i;for(const{suffix:a,source:i}of Ys)if(n.endsWith(a))return i;if(De[n])return De[n];Js.has(n)}function E(e){return typeof e=="string"?e:e==null?"":String(e)}function f(e,t=50){const s=E(e);return s.length>t?`${s.substring(0,t)}...`:s}function we(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 fe}from"./BOaNSc_1.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./DwsRDnkS.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
1
+ import{g as fe}from"./y427XYTC.js";import{b as o,ay as te,X as U,aX as ye,ad as be,ah as me,aL as ke,b3 as Ee,O as K,aV as F,ax as _e,J as Se,an as Ne,au as ce,H as le}from"./B-obUB2z.js";var $=(function(){var e=o(function(O,s,n,r){for(n=n||{},r=O.length;r--;n[O[r]]=s);return n},"o"),h=[1,4],p=[1,13],i=[1,12],d=[1,15],k=[1,16],m=[1,20],l=[1,19],D=[6,7,8],I=[1,26],g=[1,24],w=[1,25],E=[6,7,11],G=[1,31],N=[6,7,11,24],V=[1,6,13,16,17,20,23],f=[1,35],A=[1,36],L=[1,6,7,11,13,16,17,20,23],H=[1,38],T={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(s,n,r,a,u,t,M){var c=t.length-1;switch(u){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[c-1].id),a.addNode(t[c-2].length,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 16:a.getLogger().info("Node: ",t[c].id),a.addNode(t[c-1].length,t[c].id,t[c].descr,t[c].type);break;case 17:a.getLogger().trace("Icon: ",t[c]),a.decorateNode({icon:t[c]});break;case 18:case 23:a.decorateNode({class:t[c]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[c-1].id),a.addNode(0,t[c-1].id,t[c-1].descr,t[c-1].type,t[c]);break;case 21:a.getLogger().trace("Node: ",t[c].id),a.addNode(0,t[c].id,t[c].descr,t[c].type);break;case 22:a.decorateNode({icon:t[c]});break;case 27:a.getLogger().trace("node found ..",t[c-2]),this.$={id:t[c-1],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 28:this.$={id:t[c],descr:t[c],type:0};break;case 29:a.getLogger().trace("node found ..",t[c-3]),this.$={id:t[c-3],descr:t[c-1],type:a.getType(t[c-2],t[c])};break;case 30:this.$=t[c-1]+t[c];break;case 31:this.$=t[c];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:h},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:h},{6:p,7:[1,10],9:9,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(D,[2,3]),{1:[2,2]},e(D,[2,4]),e(D,[2,5]),{1:[2,6],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:p,9:22,12:11,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},{6:I,7:g,10:23,11:w},e(E,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:m,23:l}),e(E,[2,19]),e(E,[2,21],{15:30,24:G}),e(E,[2,22]),e(E,[2,23]),e(N,[2,25]),e(N,[2,26]),e(N,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:g,10:34,11:w},{1:[2,7],6:p,12:21,13:i,14:14,16:d,17:k,18:17,19:18,20:m,23:l},e(V,[2,14],{7:f,11:A}),e(L,[2,8]),e(L,[2,9]),e(L,[2,10]),e(E,[2,16],{15:37,24:G}),e(E,[2,17]),e(E,[2,18]),e(E,[2,20],{24:H}),e(N,[2,31]),{21:[1,39]},{22:[1,40]},e(V,[2,13],{7:f,11:A}),e(L,[2,11]),e(L,[2,12]),e(E,[2,15],{24:H}),e(N,[2,30]),{22:[1,41]},e(N,[2,27]),e(N,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(s,n){if(n.recoverable)this.trace(s);else{var r=new Error(s);throw r.hash=n,r}},"parseError"),parse:o(function(s){var n=this,r=[0],a=[],u=[null],t=[],M=this.table,c="",W=0,ie=0,ue=2,re=1,ge=t.slice.call(arguments,1),b=Object.create(this.lexer),R={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(R.yy[J]=this.yy[J]);b.setInput(s,R.yy),R.yy.lexer=b,R.yy.parser=this,typeof b.yylloc>"u"&&(b.yylloc={});var q=b.yylloc;t.push(q);var de=b.options&&b.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function pe(S){r.length=r.length-2*S,u.length=u.length-S,t.length=t.length-S}o(pe,"popStack");function ae(){var S;return S=a.pop()||b.lex()||re,typeof S!="number"&&(S instanceof Array&&(a=S,S=a.pop()),S=n.symbols_[S]||S),S}o(ae,"lex");for(var _,P,x,Q,j={},z,C,oe,X;;){if(P=r[r.length-1],this.defaultActions[P]?x=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),x=M[P]&&M[P][_]),typeof x>"u"||!x.length||!x[0]){var Z="";X=[];for(z in M[P])this.terminals_[z]&&z>ue&&X.push("'"+this.terminals_[z]+"'");b.showPosition?Z="Parse error on line "+(W+1)+`:
2
2
  `+b.showPosition()+`
3
3
  Expecting `+X.join(", ")+", got '"+(this.terminals_[_]||_)+"'":Z="Parse error on line "+(W+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(Z,{text:b.match,token:this.terminals_[_]||_,line:b.yylineno,loc:q,expected:X})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(x[0]){case 1:r.push(_),u.push(b.yytext),t.push(b.yylloc),r.push(x[1]),_=null,ie=b.yyleng,c=b.yytext,W=b.yylineno,q=b.yylloc;break;case 2:if(C=this.productions_[x[1]][1],j.$=u[u.length-C],j._$={first_line:t[t.length-(C||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(C||1)].first_column,last_column:t[t.length-1].last_column},de&&(j._$.range=[t[t.length-(C||1)].range[0],t[t.length-1].range[1]]),Q=this.performAction.apply(j,[c,ie,W,R.yy,x[1],u,t].concat(ge)),typeof Q<"u")return Q;C&&(r=r.slice(0,-1*C*2),u=u.slice(0,-1*C),t=t.slice(0,-1*C)),r.push(this.productions_[x[1]][0]),u.push(j.$),t.push(j._$),oe=M[r[r.length-2]][r[r.length-1]],r.push(oe);break;case 3:return!0}}return!0},"parse")},Y=(function(){var O={EOF:1,parseError:o(function(n,r){if(this.yy.parser)this.yy.parser.parseError(n,r);else throw new Error(n)},"parseError"),setInput:o(function(s,n){return this.yy=n||this.yy||{},this._input=s,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:o(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var n=s.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:o(function(s){var n=s.length,r=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var a=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),r.length-1&&(this.yylineno-=r.length-1);var u=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:r?(r.length===a.length?this.yylloc.first_column:0)+a[a.length-r.length].length-r[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(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:o(function(s){this.unput(this.match.slice(s))},"less"),pastInput:o(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var s=this.pastInput(),n=new Array(s.length+1).join("-");return s+this.upcomingInput()+`
@@ -1 +1 @@
1
- import{t as B,bq as d,a_ as T,by as W,bs as j,b as q,bo as z,bu as D}from"./eK7OULll.js";import{bs as L,cd as O,ca as E,a7 as F,ay as G,W as f,bn as H,aA as h,aD as t,c9 as r,a5 as J,bl as K,bA as M,b_ as N,bO as Q,aB as R}from"./DYhIMPy1.js";import{C as U}from"./CLmrIbfi.js";import{dm as V}from"./C-RJDuZ9.js";import{i as X}from"./H2jLkRRS.js";var Y=R('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});L(o,!0);const l=()=>D(b,"$workspace",u),[u,m]=j();let s=d(o,"tab",7),n=d(o,"workspaceId",7);const g=O(n());E(()=>{g.set(n())});const b=V(g),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),i=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(i).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:W,$on:(e,a)=>q(o,e,a)},p=F(),y=G(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=J(a),$=K(A,!0);M(a),N(S=>Q($,S),[()=>z.layout_chatChanges_noChanges_label()]),f(e,a)};T(y,e=>{t(i).length>0?e(P):e(I,-1)})}f(c,p);var x=H(C);return m(),x}export{Z as default};
1
+ import{t as B,bq as d,a_ as T,by as W,bs as j,b as q,bo as z,bu as D}from"./BLK9_MXJ.js";import{bs as L,cd as O,ca as E,a7 as F,ay as G,W as f,bn as H,aA as h,aD as t,c9 as r,a5 as J,bl as K,bA as M,b_ as N,bO as Q,aB as R}from"./DYhIMPy1.js";import{C as U}from"./C-Bae4WT.js";import{dm as V}from"./ClKXAKis.js";import{i as X}from"./H2jLkRRS.js";var Y=R('<div class="flex flex-col items-center justify-center h-full text-subtle gap-4"><p class="text-sm"> </p></div>');function Z(c,o){if(new.target)return B({component:Z,...c});L(o,!0);const l=()=>D(b,"$workspace",u),[u,m]=j();let s=d(o,"tab",7),n=d(o,"workspaceId",7);const g=O(n());E(()=>{g.set(n())});const b=V(g),_=r(()=>l()?.worktreePath||l()?.repositoryPath||""),i=r(()=>s().data?.changes||[]),v=r(()=>s().data?.isAggregate||!1),w=r(()=>s().data?.agentId),k=r(()=>t(i).map(e=>{const a=e.filePath&&X(e.filePath)?e.filePath:`${t(_)}/${e.filePath}`;return{...e,filePath:a}}));var C={get tab(){return s()},set tab(e){s(e),h()},get workspaceId(){return n()},set workspaceId(e){n(e),h()},$set:W,$on:(e,a)=>q(o,e,a)},p=F(),y=G(p);{var P=e=>{U(e,{isLoading:!1,get changes(){return t(k)},get isAggregate(){return t(v)},get agentId(){return t(w)},showStagingControls:!0})},I=e=>{var a=Y(),A=J(a),$=K(A,!0);M(a),N(S=>Q($,S),[()=>z.layout_chatChanges_noChanges_label()]),f(e,a)};T(y,e=>{t(i).length>0?e(P):e(I,-1)})}f(c,p);var x=H(C);return m(),x}export{Z as default};
@@ -1 +1 @@
1
- import{l as e}from"./C11XjPnf.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],a={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{a as conf,m as language};
1
+ import{l as e}from"./DPbHVaEp.js";const t=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],a={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${t.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:e.IndentAction.Indent}}]},m={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.scriptEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],style:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.style"}],[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],styleAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterType"}],[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.text/css",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.styleWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@styleEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleEmbedded:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInEmbeddedState.styleEmbedded.$S2",nextEmbedded:"@pop"}],[/<\/style/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}]],handlebarsInSimpleState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3"}],{include:"handlebarsRoot"}],handlebarsInEmbeddedState:[[/\{\{\{?/,"delimiter.handlebars"],[/\}\}\}?/,{token:"delimiter.handlebars",switchTo:"@$S2.$S3",nextEmbedded:"$S3"}],{include:"handlebarsRoot"}],handlebarsRoot:[[/"[^"]*"/,"string.handlebars"],[/[#/][^\s}]+/,"keyword.helper.handlebars"],[/else\b/,"keyword.helper.handlebars"],[/[\s]+/],[/[^}]/,"variable.parameter.handlebars"]]}};export{a as conf,m as language};
@@ -1 +1 @@
1
- import{HR as t,iu as o}from"./Bo4s1kgI.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
1
+ import{HR as t,iu as o}from"./DSAz0okZ.js";const r=t.createSelector((a,e)=>a.workspaceNavigation.byWorkspaceId[e]??o(e)),s=t.createSelector((a,e)=>r.select(a,e).mainPanel),i=t.createSelector((a,e)=>r.select(a,e).navigation);export{s as a,r as b,i as s};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/Ci959ZOg.js","/app/immutable/chunks/Bo4s1kgI.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/p5gLe3PS.js","/app/immutable/chunks/eK7OULll.js","/app/immutable/chunks/Dix9BiYu.js","/app/immutable/chunks/BXean12D.js","/app/immutable/chunks/B-WefpDP.js"])))=>i.map(i=>d[i]);
2
- import{t as Kt,bq as Y,a_ as q,by as Nt,bu as D,bs as Qt,b as Gt,bo as i,_ as Jt}from"./eK7OULll.js";import{bs as Yt,ca as A,bH as H,c5 as ft,aD as Z,bj as Zt,a5 as C,bS as p,bA as F,b_ as y,W as g,bn as te,cd as tt,bV as _t,c9 as ee,aA as et,bl as T,bO as k,ay as vt,aB as w}from"./DYhIMPy1.js";import{k as xt,l as re}from"./DZtstCLQ.js";import{b as se}from"./BaIAhI85.js";import{b as ae}from"./4xlJdO9z.js";import{HR as u,BC as ne,Bs as ie,Br as oe,HL as le,Bd as ce,iq as ue,iP as de}from"./Bo4s1kgI.js";import{a as pe,T as me,D as fe,L as _e,o as ve}from"./XF_IbTR1.js";import{F as rt,c_ as xe,c7 as he,cW as ge}from"./B0JWnOsx.js";import{f as ht}from"./CVjlpAWj.js";import{n as N}from"./-x_SoK5J.js";import"./p5gLe3PS.js";import"./ChTqQfQN.js";import"./dmSYAakE.js";import{r as be}from"./CGIf2jXM.js";import{selectScriptById as st,selectScriptRuntime as ye,selectScriptOutput as gt,selectScriptRetainedOutput as ke,selectCanDeleteScript as bt}from"./CqGkRJXi.js";import{g as we}from"./NeHKo0ZG.js";import{bQ as Se,dH as $e,di as yt}from"./C-RJDuZ9.js";import"./jMKjj8ae.js";import"./aLZSbque.js";import"./DhtKWu39.js";import{c as Ae}from"./QjpXu0Du.js";import{C as kt}from"./z3QVK190.js";var wt=w("<!> ",1),Ce=w('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Oe=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Le=w('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Be=w('<code class="text-muted-foreground font-mono text-xs"> </code>'),Ie=w('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),qe=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function De(_,m){if(new.target)return Kt({component:De,..._});Yt(m,!0);const U=()=>D(Bt,"$outputAuthority",O),o=()=>D(Ct,"$runtime$",O),v=()=>D(Ft,"$output$",O),E=()=>D(Rt,"$codeFontFamilyCSS",O),f=()=>D(Ot,"$retainedOutput$",O),St=()=>D(Lt,"$hidesAgentLifecycleActions$",O),at=()=>D(At,"$script$",O),[O,$t]=Qt();let S=Y(m,"scriptId",7),x=Y(m,"workspaceId",7),Q=Y(m,"class",7,"");const L=tt(""),W=tt(""),nt=tt("");let G=_t(!1);A(()=>L.set(x())),A(()=>W.set(S()));let R,n=null,M=null,V=null,j=null,B=null,z=null;const At=st(L,W),Ct=ye(L,W),Ft=gt(L,W),Ot=ke(L,W,nt),Lt=Se(L),Rt=we(),Bt=$e(L),it=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ne(t,it))}}),A(()=>{const t=x(),e=S(),s=U(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),H(G,ft(()=>v().chunks.length===0),!0),u.dispatch(ie(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const It=ee(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function qt(){if(!R||n)return;j=new me(R);const t=j.getCurrentTheme();n=new fe({allowProposedApi:!0,fontFamily:E(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new ve,n.loadAddon(M);const e=new _e((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?be(r).then(b=>{Jt(async()=>{const{getPanelLayoutManager:c}=await import("./Ci959ZOg.js").then(h=>h.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(x()).openBrowserPanel(b.url,void 0,void 0,b.requestedUrl)}).catch(()=>{window.open(b.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(R),j.applyTheme(n),z=requestAnimationFrame(()=>{z=null,M?.fit()}),V=new ResizeObserver(()=>{M?.fit()}),V.observe(R),Dt()}function Dt(){if(!n)return;const t=gt.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),H(X,t.dropped+t.chunks.length)}function ot(){B!==null&&(cancelAnimationFrame(B),B=null),z!==null&&(cancelAnimationFrame(z),z=null),V?.disconnect(),V=null,j?.dispose(),j=null;const t=n;n=null,M=null,H(X,0),t&&pe(t)}A(()=>{const t=v(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),H(X,s)}),A(()=>{const t=E();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Tt(){u.dispatch(le(x(),S()))}function Et(){if(!x()){N.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ue(x(),S(),f()?.text,it))}A(()=>{o().status==="idle"&&v().chunks.length===0&&ot()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&R&&!n&&(B!==null&&cancelAnimationFrame(B),B=requestAnimationFrame(()=>{B=null,qt()}))}),Zt(()=>{ot()});var Pt={get scriptId(){return S()},set scriptId(t){S(t),et()},get workspaceId(){return x()},set workspaceId(t){x(t),et()},get class(){return Q()},set class(t=""){Q(t),et()},$set:Nt,$on:(t,e)=>Gt(m,t,e)},K=qe(),lt=C(K);{var Wt=t=>{var e=Ce(),s=C(e),r=C(s),l=C(r);rt(l,{get icon(){return xe},size:"xs"}),F(r);var b=p(r,2),c=T(b,!0);F(s);var h=p(s,2);{var $=a=>{ht(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Et,children:(d,I)=>{var P=wt(),mt=vt(P);rt(mt,{get icon(){return ge},size:"sm",class:"mr-1.5"});var Vt=p(mt);y(Xt=>k(Vt,` ${Xt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),g(d,P)},$$slots:{default:!0}})};q(h,a=>{St()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),g(t,e)};q(lt,t=>{Z(It)&&t(Wt)})}var ct=p(lt,2);{var Mt=t=>{var e=Le(),s=C(e),r=T(s,!0),l=p(s,2),b=T(l,!0),c=p(l,2);{var h=a=>{var d=Fe();let I;var P=T(d,!0);y(()=>{I=re(d,"",I,{"font-family":E()}),k(P,f().text)}),g(a,d)},$=a=>{var d=Oe(),I=T(d,!0);y(P=>k(I,P),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),g(a,d)};q(c,a=>{f().status==="available"?a(h):a($,-1)})}F(e),y((a,d)=>{k(r,a),k(b,d)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ae("open","toggle",e,a=>H(G,a),()=>Z(G)),g(t,e)};q(ct,t=>{f()&&t(Mt)})}var ut=p(ct,2);{var jt=t=>{var e=Re(),s=T(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),g(t,e)};q(ut,t=>{v().chunks.length>0&&f()&&t(jt)})}var dt=p(ut,2);{var zt=t=>{var e=Ie(),s=C(e),r=p(C(s),2);{var l=c=>{var h=Be(),$=T(h,!0);y(a=>k($,a),[()=>ce(at())]),g(c,h)};q(r,c=>{at()&&c(l)})}var b=p(r,2);ht(b,{variant:"ghost",size:"xs",onclick:Tt,class:"text-muted-foreground hover:text-foreground",children:(c,h)=>{var $=wt(),a=vt($);rt(a,{get icon(){return he},class:"h-3 w-3 mr-1"});var d=p(a);y(I=>k(d,` ${I??""}`),[()=>i.terminal_scriptOutput_run_label()]),g(c,$)},$$slots:{default:!0}}),F(s),F(e),g(t,e)};q(dt,t=>{o().status==="idle"&&v().chunks.length===0&&t(zt)})}var J=p(dt,2);let pt;var Ht=C(J);se(Ht,t=>R=t,()=>R),F(J),F(K),y(()=>{xt(K,1,`script-output-viewer ${Q()??""}`,"svelte-115p4sl"),pt=xt(J,1,"flex-1 relative overflow-hidden",null,pt,{hidden:o().status==="idle"&&v().chunks.length===0})}),g(_,K);var Ut=te(Pt);return $t(),Ut}async function ar(_,m,U){const o=st.select(u.state,_,m);if(!o||!U()||!bt.select(u.state,_,m))return;const v=kt(o.runtime?.status),E=yt.select(u.state,_);if(!E){N.error(i.workspace_client_accessChanged_error());return}if(!await Ae({title:i.scripts_delete_title({name:o.name}),description:v?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(E!==yt.select(u.state,_)){N.error(i.workspace_client_accessChanged_error());return}const f=st.select(u.state,_,m);if(!U()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&kt(f.runtime?.status)||!bt.select(u.state,_,m)){N.error(i.scripts_delete_changed_error());return}u.dispatch(de(_,m,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{De as S,ar as c};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DyAwtID_.js","/app/immutable/chunks/DSAz0okZ.js","/app/immutable/chunks/WFvSJ9zU.js","/app/immutable/chunks/DYhIMPy1.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/D5B1sycf.js","/app/immutable/chunks/BlOn95cv.js","/app/immutable/chunks/UyBYtOpv.js","/app/immutable/chunks/DSemZQdl.js","/app/immutable/chunks/BLK9_MXJ.js","/app/immutable/chunks/Cs29mItj.js","/app/immutable/chunks/DgH1Kxzo.js","/app/immutable/chunks/CZHW0zTR.js"])))=>i.map(i=>d[i]);
2
+ import{t as Kt,bq as Y,a_ as q,by as Nt,bu as D,bs as Qt,b as Gt,bo as i,_ as Jt}from"./BLK9_MXJ.js";import{bs as Yt,ca as A,bH as H,c5 as ft,aD as Z,bj as Zt,a5 as C,bS as p,bA as F,b_ as y,W as g,bn as te,cd as tt,bV as _t,c9 as ee,aA as et,bl as T,bO as k,ay as vt,aB as w}from"./DYhIMPy1.js";import{k as xt,l as re}from"./9ZBkr0Qf.js";import{b as se}from"./BaIAhI85.js";import{b as ae}from"./4xlJdO9z.js";import{HR as u,BC as ne,Bs as ie,Br as oe,HL as le,Bd as ce,iq as ue,iP as de}from"./DSAz0okZ.js";import{a as pe,T as me,D as fe,L as _e,o as ve}from"./ShyOFQId.js";import{F as rt,c_ as xe,c7 as he,cW as ge}from"./yDAFOpKJ.js";import{f as ht}from"./CukTrqVi.js";import{n as N}from"./B6l2HPmZ.js";import"./DSemZQdl.js";import"./ChTqQfQN.js";import"./DNmwPq0o.js";import{r as be}from"./CVXLAap3.js";import{selectScriptById as st,selectScriptRuntime as ye,selectScriptOutput as gt,selectScriptRetainedOutput as ke,selectCanDeleteScript as bt}from"./Cjt2NmNL.js";import{g as we}from"./D7gneRCc.js";import{bQ as Se,dH as $e,di as yt}from"./ClKXAKis.js";import"./Do2QraPX.js";import"./CVpyP8V1.js";import"./CyDNFzzR.js";import{c as Ae}from"./CpqBzFAh.js";import{C as kt}from"./C9X3oeee.js";var wt=w("<!> ",1),Ce=w('<div class="bg-danger-background/20 border-y border-danger/20 px-3 py-1.5 flex items-center justify-between"><div class="flex items-center gap-2 text-sm text-danger font-medium"><div class="w-4 h-4 rounded-full bg-danger-background flex items-center justify-center"><!></div> <span> </span></div> <!></div>'),Fe=w('<pre class="retained-text px-3 pb-3 text-xs svelte-115p4sl"> </pre>'),Oe=w('<p class="px-3 pb-3 text-xs text-muted-foreground" role="status"> </p>'),Le=w('<details class="retained-output border-b border-border svelte-115p4sl"><summary class="cursor-pointer px-3 py-2 text-xs text-muted-foreground"> </summary> <p class="px-3 pb-2 text-xs text-muted-foreground"> </p> <!></details>'),Re=w('<div class="px-3 py-1 text-xs text-muted-foreground"> </div>'),Be=w('<code class="text-muted-foreground font-mono text-xs"> </code>'),Ie=w('<div class="flex-1 flex items-center justify-center px-4 py-8"><div class="flex items-center gap-3 text-sm"><span class="text-subtle font-mono">$</span> <!> <!></div></div>'),qe=w('<div><!> <!> <!> <!> <div><div class="xterm-output svelte-115p4sl"></div></div></div>');function De(_,m){if(new.target)return Kt({component:De,..._});Yt(m,!0);const U=()=>D(Bt,"$outputAuthority",O),o=()=>D(Ct,"$runtime$",O),v=()=>D(Ft,"$output$",O),E=()=>D(Rt,"$codeFontFamilyCSS",O),f=()=>D(Ot,"$retainedOutput$",O),St=()=>D(Lt,"$hidesAgentLifecycleActions$",O),at=()=>D(At,"$script$",O),[O,$t]=Qt();let S=Y(m,"scriptId",7),x=Y(m,"workspaceId",7),Q=Y(m,"class",7,"");const L=tt(""),W=tt(""),nt=tt("");let G=_t(!1);A(()=>L.set(x())),A(()=>W.set(S()));let R,n=null,M=null,V=null,j=null,B=null,z=null;const At=st(L,W),Ct=ye(L,W),Ft=gt(L,W),Ot=ke(L,W,nt),Lt=Se(L),Rt=we(),Bt=$e(L),it=crypto.randomUUID();A(()=>{const t=x();return S(),()=>{t&&u.dispatch(ne(t,it))}}),A(()=>{const t=x(),e=S(),s=U(),r=o();if(!s||!t||!e)return;r.status,r.startedAt;const l=crypto.randomUUID();return nt.set(l),H(G,ft(()=>v().chunks.length===0),!0),u.dispatch(ie(t,e,l)),()=>u.dispatch(oe(t,e,l))});let X=_t(0);const It=ee(()=>o().status==="exited"&&o().exitCode!=null&&o().exitCode!==0&&o().exitCode<128);function qt(){if(!R||n)return;j=new me(R);const t=j.getCurrentTheme();n=new fe({allowProposedApi:!0,fontFamily:E(),fontSize:13,lineHeight:1.2,letterSpacing:0,cursorBlink:!1,cursorStyle:"underline",cursorWidth:1,scrollback:1e4,allowTransparency:!0,convertEol:!0,disableStdin:!0,drawBoldTextInBrightColors:!0,theme:t}),n.attachCustomKeyEventHandler(s=>{const r=s.metaKey||s.ctrlKey;return!(r&&s.key==="`"||r&&s.key==="j"||r&&s.key==="k")}),M=new ve,n.loadAddon(M);const e=new _e((s,r)=>{try{const l=new URL(r);l.hostname==="localhost"||l.hostname==="127.0.0.1"?be(r).then(b=>{Jt(async()=>{const{getPanelLayoutManager:c}=await import("./DyAwtID_.js").then(h=>h.p);return{getPanelLayoutManager:c}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url).then(({getPanelLayoutManager:c})=>{c(x()).openBrowserPanel(b.url,void 0,void 0,b.requestedUrl)}).catch(()=>{window.open(b.url,"_blank")})}):window.open(r,"_blank")}catch{window.open(r,"_blank")}});n.loadAddon(e),n.open(R),j.applyTheme(n),z=requestAnimationFrame(()=>{z=null,M?.fit()}),V=new ResizeObserver(()=>{M?.fit()}),V.observe(R),Dt()}function Dt(){if(!n)return;const t=gt.select(u.state,x(),S());t.chunks.length>0&&n.write(t.chunks.map(e=>e.text).join("")),H(X,t.dropped+t.chunks.length)}function ot(){B!==null&&(cancelAnimationFrame(B),B=null),z!==null&&(cancelAnimationFrame(z),z=null),V?.disconnect(),V=null,j?.dispose(),j=null;const t=n;n=null,M=null,H(X,0),t&&pe(t)}A(()=>{const t=v(),e=ft(()=>Z(X)),s=t.dropped+t.chunks.length;if(!n||s<=e)return;const r=Math.max(e-t.dropped,0);n.write(t.chunks.slice(r).map(l=>l.text).join("")),H(X,s)}),A(()=>{const t=E();n&&n.options.fontFamily!==t&&(n.options.fontFamily=t)});function Tt(){u.dispatch(le(x(),S()))}function Et(){if(!x()){N.error(i.terminal_scriptOutput_noWorkspace_error());return}u.dispatch(ue(x(),S(),f()?.text,it))}A(()=>{o().status==="idle"&&v().chunks.length===0&&ot()}),A(()=>{!(o().status==="idle"&&v().chunks.length===0)&&R&&!n&&(B!==null&&cancelAnimationFrame(B),B=requestAnimationFrame(()=>{B=null,qt()}))}),Zt(()=>{ot()});var Pt={get scriptId(){return S()},set scriptId(t){S(t),et()},get workspaceId(){return x()},set workspaceId(t){x(t),et()},get class(){return Q()},set class(t=""){Q(t),et()},$set:Nt,$on:(t,e)=>Gt(m,t,e)},K=qe(),lt=C(K);{var Wt=t=>{var e=Ce(),s=C(e),r=C(s),l=C(r);rt(l,{get icon(){return xe},size:"xs"}),F(r);var b=p(r,2),c=T(b,!0);F(s);var h=p(s,2);{var $=a=>{ht(a,{variant:"outline",size:"sm",class:"h-7 text-xs bg-background border border-border text-danger",onclick:Et,children:(d,I)=>{var P=wt(),mt=vt(P);rt(mt,{get icon(){return ge},size:"sm",class:"mr-1.5"});var Vt=p(mt);y(Xt=>k(Vt,` ${Xt??""}`),[()=>i.terminal_scriptOutput_askAiToFix_label()]),g(d,P)},$$slots:{default:!0}})};q(h,a=>{St()||a($)})}F(e),y(a=>k(c,a),[()=>i.terminal_scriptOutput_buildFailed_label({exitCode:o().exitCode??0})]),g(t,e)};q(lt,t=>{Z(It)&&t(Wt)})}var ct=p(lt,2);{var Mt=t=>{var e=Le(),s=C(e),r=T(s,!0),l=p(s,2),b=T(l,!0),c=p(l,2);{var h=a=>{var d=Fe();let I;var P=T(d,!0);y(()=>{I=re(d,"",I,{"font-family":E()}),k(P,f().text)}),g(a,d)},$=a=>{var d=Oe(),I=T(d,!0);y(P=>k(I,P),[()=>f().status==="loading"?i.terminal_scriptOutput_retainedLoading_label():i.terminal_scriptOutput_retainedUnavailable_label()]),g(a,d)};q(c,a=>{f().status==="available"?a(h):a($,-1)})}F(e),y((a,d)=>{k(r,a),k(b,d)},[()=>i.terminal_scriptOutput_retained_label(),()=>i.terminal_scriptOutput_retained_description()]),ae("open","toggle",e,a=>H(G,a),()=>Z(G)),g(t,e)};q(ct,t=>{f()&&t(Mt)})}var ut=p(ct,2);{var jt=t=>{var e=Re(),s=T(e,!0);y(r=>k(s,r),[()=>i.terminal_scriptOutput_live_label()]),g(t,e)};q(ut,t=>{v().chunks.length>0&&f()&&t(jt)})}var dt=p(ut,2);{var zt=t=>{var e=Ie(),s=C(e),r=p(C(s),2);{var l=c=>{var h=Be(),$=T(h,!0);y(a=>k($,a),[()=>ce(at())]),g(c,h)};q(r,c=>{at()&&c(l)})}var b=p(r,2);ht(b,{variant:"ghost",size:"xs",onclick:Tt,class:"text-muted-foreground hover:text-foreground",children:(c,h)=>{var $=wt(),a=vt($);rt(a,{get icon(){return he},class:"h-3 w-3 mr-1"});var d=p(a);y(I=>k(d,` ${I??""}`),[()=>i.terminal_scriptOutput_run_label()]),g(c,$)},$$slots:{default:!0}}),F(s),F(e),g(t,e)};q(dt,t=>{o().status==="idle"&&v().chunks.length===0&&t(zt)})}var J=p(dt,2);let pt;var Ht=C(J);se(Ht,t=>R=t,()=>R),F(J),F(K),y(()=>{xt(K,1,`script-output-viewer ${Q()??""}`,"svelte-115p4sl"),pt=xt(J,1,"flex-1 relative overflow-hidden",null,pt,{hidden:o().status==="idle"&&v().chunks.length===0})}),g(_,K);var Ut=te(Pt);return $t(),Ut}async function ar(_,m,U){const o=st.select(u.state,_,m);if(!o||!U()||!bt.select(u.state,_,m))return;const v=kt(o.runtime?.status),E=yt.select(u.state,_);if(!E){N.error(i.workspace_client_accessChanged_error());return}if(!await Ae({title:i.scripts_delete_title({name:o.name}),description:v?i.scripts_delete_running_description():i.scripts_delete_description(),confirmLabel:i.scripts_delete_label(),destructive:!0}))return;if(E!==yt.select(u.state,_)){N.error(i.workspace_client_accessChanged_error());return}const f=st.select(u.state,_,m);if(!U()||!f||f.createdAt!==o.createdAt||f.name!==o.name||!v&&kt(f.runtime?.status)||!bt.select(u.state,_,m)){N.error(i.scripts_delete_changed_error());return}u.dispatch(de(_,m,i.terminal_quakeOverlay_deleteScriptFailed_error()))}export{De as S,ar as c};
@@ -1 +1 @@
1
- import{bo as n}from"./eK7OULll.js";import{HR as t}from"./Bo4s1kgI.js";let c=1,i=null;const a=[],s=new Set;function l(){for(const e of s)e(i)}function h(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function u(e){a.push({...e,id:c++,returnFocus:h()}),i||(i=a.shift()??null,l())}function _(e){return new Promise(r=>u({kind:"confirm",options:e,resolve:r}))}function S(e){return new Promise(r=>u({kind:"prompt",options:e,resolve:r}))}function p(e){return s.add(e),e(i),()=>s.delete(e)}function f(e,r){if(!i||i.id!==e)return;const o=i;i=a.shift()??null,o.resolve(r),o.returnFocus?.focus(),l()}const m={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},g=[{value:"assigned",get label(){return n.linearAuth_filter_assigned_label()},get description(){return n.linearAuth_filter_assigned_description()}},{value:"created",get label(){return n.linearAuth_filter_created_label()},get description(){return n.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return n.linearAuth_filter_subscribed_label()},get description(){return n.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return n.linearAuth_filter_team_label()},get description(){return n.linearAuth_filter_team_description()}},{value:"all",get label(){return n.linearAuth_filter_all_label()},get description(){return n.linearAuth_filter_all_description()}}],E=t.createSelector(e=>e.linearAuth.operation),I=t.createSelector((e,r)=>e.linearAuth.operation?.consumerId===r?e.linearAuth.operation:null),b=t.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),T=t.createSelector(e=>e.linearAuth.isAuthenticated),y=t.createSelector(e=>e.linearAuth.requiresDaemonAuth),C=t.createSelector(e=>e.linearAuth.isAuthenticating),L=t.createSelector(e=>e.linearAuth.error),N=t.createSelector(e=>e.sentryAuth.operation),U=t.createSelector((e,r)=>e.sentryAuth.operation?.consumerId===r?e.sentryAuth.operation:null),v=t.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),H=t.createSelector(e=>e.sentryAuth.isAuthenticated),O=t.createSelector(e=>e.sentryAuth.organization),R=t.createSelector(e=>e.sentryAuth.isConnecting),q=t.createSelector(e=>e.sentryAuth.error),D="npx not found — install Node.js (with npm) to use Claude Code";export{D as C,m as L,g as a,E as b,_ as c,L as d,T as e,C as f,b as g,y as h,U as i,N as j,q as k,H as l,R as m,v as n,O as o,S as p,f as q,p as r,I as s};
1
+ import{bo as n}from"./BLK9_MXJ.js";import{HR as t}from"./DSAz0okZ.js";let c=1,i=null;const a=[],s=new Set;function l(){for(const e of s)e(i)}function h(){return typeof document<"u"&&document.activeElement instanceof HTMLElement?document.activeElement:null}function u(e){a.push({...e,id:c++,returnFocus:h()}),i||(i=a.shift()??null,l())}function _(e){return new Promise(r=>u({kind:"confirm",options:e,resolve:r}))}function S(e){return new Promise(r=>u({kind:"prompt",options:e,resolve:r}))}function p(e){return s.add(e),e(i),()=>s.delete(e)}function f(e,r){if(!i||i.id!==e)return;const o=i;i=a.shift()??null,o.resolve(r),o.returnFocus?.focus(),l()}const m={IS_AUTHENTICATED:"linear-auth:is-authenticated",START_AUTH:"linear-auth:start-auth",CANCEL_AUTH:"linear-auth:cancel-auth",LOGOUT:"linear-auth:logout",GET_AUTH_STATE:"linear-auth:get-auth-state",GET_STATUS:"linear-auth:get-status",FETCH_MY_ISSUES:"linear-auth:fetch-my-issues",SEARCH_ISSUES:"linear-auth:search-issues"},g=[{value:"assigned",get label(){return n.linearAuth_filter_assigned_label()},get description(){return n.linearAuth_filter_assigned_description()}},{value:"created",get label(){return n.linearAuth_filter_created_label()},get description(){return n.linearAuth_filter_created_description()}},{value:"subscribed",get label(){return n.linearAuth_filter_subscribed_label()},get description(){return n.linearAuth_filter_subscribed_description()}},{value:"team",get label(){return n.linearAuth_filter_team_label()},get description(){return n.linearAuth_filter_team_description()}},{value:"all",get label(){return n.linearAuth_filter_all_label()},get description(){return n.linearAuth_filter_all_description()}}],E=t.createSelector(e=>e.linearAuth.operation),I=t.createSelector((e,r)=>e.linearAuth.operation?.consumerId===r?e.linearAuth.operation:null),b=t.createSelector(e=>e.linearAuth.operation?.kind==="logout"&&e.linearAuth.operation.status==="pending"),T=t.createSelector(e=>e.linearAuth.isAuthenticated),y=t.createSelector(e=>e.linearAuth.requiresDaemonAuth),C=t.createSelector(e=>e.linearAuth.isAuthenticating),L=t.createSelector(e=>e.linearAuth.error),N=t.createSelector(e=>e.sentryAuth.operation),U=t.createSelector((e,r)=>e.sentryAuth.operation?.consumerId===r?e.sentryAuth.operation:null),v=t.createSelector(e=>e.sentryAuth.operation?.kind==="logout"&&e.sentryAuth.operation.status==="pending"),H=t.createSelector(e=>e.sentryAuth.isAuthenticated),O=t.createSelector(e=>e.sentryAuth.organization),R=t.createSelector(e=>e.sentryAuth.isConnecting),q=t.createSelector(e=>e.sentryAuth.error),D="npx not found — install Node.js (with npm) to use Claude Code";export{D as C,m as L,g as a,E as b,_ as c,L as d,T as e,C as f,b as g,y as h,U as i,N as j,q as k,H as l,R as m,v as n,O as o,S as p,f as q,p as r,I as s};