@intent-hq/web 2.378.0 → 2.379.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (326) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/assets/{0.CntaSdOs.css → 0.CTPF0Qlx.css} +1 -1
  3. package/web/app/immutable/chunks/{CI7RbtEr.js → -WAhkWcN.js} +1 -1
  4. package/web/app/immutable/chunks/{DrJzqwYl.js → 3LDzw5hr.js} +1 -1
  5. package/web/app/immutable/chunks/{BqwJFhy0.js → 3gy7b498.js} +1 -1
  6. package/web/app/immutable/chunks/{DxRn1b69.js → 5JKCI89x.js} +1 -1
  7. package/web/app/immutable/chunks/{Cha0m9_p.js → 7xVzJhz9.js} +3 -3
  8. package/web/app/immutable/chunks/{H1XKoyU7.js → 95fFKc_B.js} +1 -1
  9. package/web/app/immutable/chunks/{BiyXqzpr.js → 99N6trPd.js} +1 -1
  10. package/web/app/immutable/chunks/{Ct7u3x4Z.js → 9Oy7dzP1.js} +1 -1
  11. package/web/app/immutable/chunks/{BOjnK0ib.js → 9Wfd5HgS.js} +1 -1
  12. package/web/app/immutable/chunks/{C9q9AVLE.js → ASj4zc4i.js} +1 -1
  13. package/web/app/immutable/chunks/{CDK1PUhb.js → AX9GlL7f.js} +1 -1
  14. package/web/app/immutable/chunks/{D7x-7T1z.js → B-VOV29o.js} +1 -1
  15. package/web/app/immutable/chunks/{Bzs3gWUn.js → B-qkLMcw.js} +1 -1
  16. package/web/app/immutable/chunks/{CWdPByc8.js → B08HT3WC.js} +1 -1
  17. package/web/app/immutable/chunks/{DhZiRE53.js → B09v4S72.js} +1 -1
  18. package/web/app/immutable/chunks/{bWHoQAZ0.js → B0xk6zYz.js} +1 -1
  19. package/web/app/immutable/chunks/{BR7wr0TX.js → B1sTTKq-.js} +1 -1
  20. package/web/app/immutable/chunks/{B8vdzcge.js → B23p8GKo.js} +1 -1
  21. package/web/app/immutable/chunks/{DuKUDTXp.js → B2kxgCpF.js} +4 -4
  22. package/web/app/immutable/chunks/{FJwOmaJn.js → B5OCsMya.js} +1 -1
  23. package/web/app/immutable/chunks/{DHOJXRBs.js → B5qu4FK-.js} +1 -1
  24. package/web/app/immutable/chunks/{YCbY89i6.js → B5x8b2Md.js} +1 -1
  25. package/web/app/immutable/chunks/{BFBac69t.js → B61Vm2jJ.js} +1 -1
  26. package/web/app/immutable/chunks/{CMRXj5iU.js → B6ARnCFm.js} +1 -1
  27. package/web/app/immutable/chunks/{CYF61-VE.js → B7Mft14L.js} +3 -3
  28. package/web/app/immutable/chunks/{DNg21Y1b.js → B7QvV8MS.js} +1 -1
  29. package/web/app/immutable/chunks/{C_iKPxuE.js → B7pJ0oQN.js} +3 -3
  30. package/web/app/immutable/chunks/{D7wqIX40.js → B90WO3Nw.js} +1 -1
  31. package/web/app/immutable/chunks/{CqsHYBSd.js → B9QnX69E.js} +1 -1
  32. package/web/app/immutable/chunks/{Bjpdj-Rz.js → BAaqzMEP.js} +1 -1
  33. package/web/app/immutable/chunks/{D3e1peXC.js → BBibLZN0.js} +1 -1
  34. package/web/app/immutable/chunks/{B6IP3G-s.js → BDciodIO.js} +1 -1
  35. package/web/app/immutable/chunks/{BRHA9tcr.js → BED17zwc.js} +2 -2
  36. package/web/app/immutable/chunks/BEKwCWB-.js +1 -0
  37. package/web/app/immutable/chunks/{DwpTtGo9.js → BFHz4Mic.js} +4 -4
  38. package/web/app/immutable/chunks/{BKSCrb1m.js → BGpvxEza.js} +1 -1
  39. package/web/app/immutable/chunks/{RKhqePYS.js → BHl8a9sq.js} +1 -1
  40. package/web/app/immutable/chunks/{Dn1azdNN.js → BI0xIaK5.js} +1 -1
  41. package/web/app/immutable/chunks/{D1DuB8m6.js → BIpZTv4V.js} +1 -1
  42. package/web/app/immutable/chunks/{NppR00xP.js → BLp3-Mdk.js} +2 -2
  43. package/web/app/immutable/chunks/{D5n4bmLW.js → BMz9z95U.js} +1 -1
  44. package/web/app/immutable/chunks/{DPVg7jvq.js → BOIa3b7l.js} +1 -1
  45. package/web/app/immutable/chunks/{BGsL8K0y.js → BOVF8j6B.js} +1 -1
  46. package/web/app/immutable/chunks/{Y8mQJY9P.js → BOlkYOOx.js} +1 -1
  47. package/web/app/immutable/chunks/{DkuxYFAh.js → BOrCm7f7.js} +1 -1
  48. package/web/app/immutable/chunks/{1RAMMSz2.js → BQiJMsZZ.js} +1 -1
  49. package/web/app/immutable/chunks/{D95TUop3.js → BSD-ntGx.js} +1 -1
  50. package/web/app/immutable/chunks/{CDLMG5g2.js → BT1eR3Bj.js} +1 -1
  51. package/web/app/immutable/chunks/{BMqjLC9C.js → BUOJIxHm.js} +1 -1
  52. package/web/app/immutable/chunks/{BupGSW0e.js → BVGm2-7m.js} +1 -1
  53. package/web/app/immutable/chunks/{DRCQRBOX.js → BVVYfWqp.js} +1 -1
  54. package/web/app/immutable/chunks/{nNR5liVx.js → BVdTA_y5.js} +1 -1
  55. package/web/app/immutable/chunks/{DNxs15P5.js → BVhmKG23.js} +1 -1
  56. package/web/app/immutable/chunks/{CH6hoQCh.js → BWP_R2MA.js} +1 -1
  57. package/web/app/immutable/chunks/{Dl5T14-N.js → BXA0q2RP.js} +1 -1
  58. package/web/app/immutable/chunks/{BDWzwjAw.js → BXEhOBKy.js} +1 -1
  59. package/web/app/immutable/chunks/{CMITzGAq.js → BXWV2GsM.js} +1 -1
  60. package/web/app/immutable/chunks/{DNAYSx3o.js → BZD36hSJ.js} +1 -1
  61. package/web/app/immutable/chunks/{dC4Ouk4t.js → BZi270zL.js} +1 -1
  62. package/web/app/immutable/chunks/{DXvCGoHo.js → B_7rDlJA.js} +1 -1
  63. package/web/app/immutable/chunks/{C9XPvdvP.js → B_SqXKMX.js} +1 -1
  64. package/web/app/immutable/chunks/{C1-QjOg0.js → B_rj1oI3.js} +1 -1
  65. package/web/app/immutable/chunks/{D4BcrleY.js → BblUoKwU.js} +1 -1
  66. package/web/app/immutable/chunks/{DXxnoOGg.js → BhP2yLip.js} +1 -1
  67. package/web/app/immutable/chunks/{CC73Ord3.js → Bjc6stZr.js} +1 -1
  68. package/web/app/immutable/chunks/{AHKUBHmH.js → BkE4ThRL.js} +2 -2
  69. package/web/app/immutable/chunks/{DpwIptaI.js → BkK6L2aU.js} +1 -1
  70. package/web/app/immutable/chunks/{DAkxD-CW.js → Bln5N5gf.js} +1 -1
  71. package/web/app/immutable/chunks/{B16ZhAkF.js → Bm1YRNX5.js} +1 -1
  72. package/web/app/immutable/chunks/{BRyCucnb.js → BmMxtG34.js} +1 -1
  73. package/web/app/immutable/chunks/{CQco45Cg.js → BmusT0yN.js} +3 -3
  74. package/web/app/immutable/chunks/{C5Zy1enh.js → BncYKhak.js} +1 -1
  75. package/web/app/immutable/chunks/{ChB7enBh.js → BpUidpA4.js} +1 -1
  76. package/web/app/immutable/chunks/{DLE3vveN.js → BpzZdAGA.js} +1 -1
  77. package/web/app/immutable/chunks/{CuWqPurf.js → BpznkfWn.js} +1 -1
  78. package/web/app/immutable/chunks/{Bf_h69U3.js → Bqdjarag.js} +1 -1
  79. package/web/app/immutable/chunks/{yYqgfv9t.js → BqnC5jpg.js} +1 -1
  80. package/web/app/immutable/chunks/{IclfFZoe.js → Bqvx2p-8.js} +1 -1
  81. package/web/app/immutable/chunks/{DEsbP_jO.js → BrF70gz7.js} +1 -1
  82. package/web/app/immutable/chunks/{qdAkw__e.js → Bs9C3yw5.js} +1 -1
  83. package/web/app/immutable/chunks/{yTn_UE0E.js → BtupVFyT.js} +1 -1
  84. package/web/app/immutable/chunks/{BOW58NW5.js → Bue8rt91.js} +1 -1
  85. package/web/app/immutable/chunks/{a3l5znCa.js → BwJyU0G0.js} +2 -2
  86. package/web/app/immutable/chunks/{DzEfixuL.js → Bwe4xLDo.js} +1 -1
  87. package/web/app/immutable/chunks/{BTiEQBIg.js → Bx1sm-W9.js} +1 -1
  88. package/web/app/immutable/chunks/{DTPgmjai.js → Bx3lRAzK.js} +1 -1
  89. package/web/app/immutable/chunks/{BFxBQddb.js → Byz3i90Q.js} +1 -1
  90. package/web/app/immutable/chunks/{DdNx-LMu.js → Bz1UdUMu.js} +1 -1
  91. package/web/app/immutable/chunks/{Cr0HizBS.js → Bz43dY69.js} +1 -1
  92. package/web/app/immutable/chunks/{Dv-DK4ZQ.js → C-662HWr.js} +1 -1
  93. package/web/app/immutable/chunks/{8ScDICwb.js → C-6kZjgn.js} +1 -1
  94. package/web/app/immutable/chunks/{250ka2gI.js → C-QdzJwG.js} +1 -1
  95. package/web/app/immutable/chunks/{C4F64iPQ.js → C-jJNcMR.js} +1 -1
  96. package/web/app/immutable/chunks/{B1Weu8fb.js → C-nHSAUo.js} +3 -3
  97. package/web/app/immutable/chunks/{BPRCBm84.js → C0EhdYGV.js} +1 -1
  98. package/web/app/immutable/chunks/{Brh3GO3O.js → C3puOFC3.js} +1 -1
  99. package/web/app/immutable/chunks/{JIE_7jo4.js → C6CbeYqw.js} +1 -1
  100. package/web/app/immutable/chunks/{C7FWeTQP.js → C6Xyba22.js} +1 -1
  101. package/web/app/immutable/chunks/{Di1597mK.js → C6w4HIHS.js} +4 -4
  102. package/web/app/immutable/chunks/{DhPOXvW2.js → C8VLUX_C.js} +1 -1
  103. package/web/app/immutable/chunks/{DWx-rRFl.js → C99ttMY5.js} +1 -1
  104. package/web/app/immutable/chunks/{CGwoBkMN.js → C9BFhP02.js} +1 -1
  105. package/web/app/immutable/chunks/{Crl5h76T.js → C9of0fiN.js} +1 -1
  106. package/web/app/immutable/chunks/{0KXDpLHs.js → CAMYapEA.js} +1 -1
  107. package/web/app/immutable/chunks/{TE5M669U.js → CB6JpnWC.js} +1 -1
  108. package/web/app/immutable/chunks/{DAFCfCw4.js → CBcFUe2n.js} +1 -1
  109. package/web/app/immutable/chunks/{B1cgGcI0.js → CBm8wTeU.js} +1 -1
  110. package/web/app/immutable/chunks/{CtssBApV.js → CBoDYG4N.js} +1 -1
  111. package/web/app/immutable/chunks/{ER2tmGzm.js → CC4qGxb7.js} +1 -1
  112. package/web/app/immutable/chunks/{Kl08LBTM.js → CCZp7LCQ.js} +1 -1
  113. package/web/app/immutable/chunks/{DzRCnjNV.js → CDYyrBGY.js} +1 -1
  114. package/web/app/immutable/chunks/{PbmSZkiX.js → CEAmSotY.js} +1 -1
  115. package/web/app/immutable/chunks/{SORTQVEW.js → CEeEOvCL.js} +1 -1
  116. package/web/app/immutable/chunks/{u_aTJYPF.js → CFLU9fq8.js} +1 -1
  117. package/web/app/immutable/chunks/{D5TWWYRb.js → CFTAk3la.js} +1 -1
  118. package/web/app/immutable/chunks/{Cc2CqLcV.js → CFg7iVIZ.js} +1 -1
  119. package/web/app/immutable/chunks/{DsALDj-G.js → CFxNovSS.js} +1 -1
  120. package/web/app/immutable/chunks/{C7hiMHci.js → CGFkplEn.js} +1 -1
  121. package/web/app/immutable/chunks/{DufyJpiq.js → CGnn93LH.js} +1 -1
  122. package/web/app/immutable/chunks/{Mvzzws-D.js → CGuufzS0.js} +1 -1
  123. package/web/app/immutable/chunks/{Bb3DLwd-.js → CHKsRESt.js} +1 -1
  124. package/web/app/immutable/chunks/CHWIPzMj.js +1 -0
  125. package/web/app/immutable/chunks/{CG1uBvn1.js → CI1ntq87.js} +1 -1
  126. package/web/app/immutable/chunks/{CqB0bCAG.js → CJ3l-lGj.js} +2 -2
  127. package/web/app/immutable/chunks/{BIx2KRjJ.js → CKC2M8j1.js} +1 -1
  128. package/web/app/immutable/chunks/{D2Vwu3SP.js → CKhPlHZj.js} +1 -1
  129. package/web/app/immutable/chunks/{fs3EIvPV.js → CPE--RtJ.js} +1 -1
  130. package/web/app/immutable/chunks/{DuNaiyu-.js → CPp2qH2q.js} +1 -1
  131. package/web/app/immutable/chunks/{BSJqN5vZ.js → CRSdOrSC.js} +1 -1
  132. package/web/app/immutable/chunks/{DaOZBaPJ.js → CR_d2Ton.js} +1 -1
  133. package/web/app/immutable/chunks/{C_AcfC1L.js → CSCM9u80.js} +4 -4
  134. package/web/app/immutable/chunks/{CDuekMJZ.js → CUV6PvQK.js} +1 -1
  135. package/web/app/immutable/chunks/{uh7Y9z2F.js → CWVqIb-d.js} +1 -1
  136. package/web/app/immutable/chunks/{DPL73Y_l.js → CWcntBOg.js} +1 -1
  137. package/web/app/immutable/chunks/{UZmeM7G7.js → CWgzsPKB.js} +1 -1
  138. package/web/app/immutable/chunks/{Cdn6MckB.js → CYv_coXk.js} +1 -1
  139. package/web/app/immutable/chunks/{Ck_gSwZK.js → CZ4sJNRy.js} +1 -1
  140. package/web/app/immutable/chunks/{egYaebOi.js → C_T3jbC9.js} +1 -1
  141. package/web/app/immutable/chunks/{CON-zxWG.js → C_VUI8Os.js} +1 -1
  142. package/web/app/immutable/chunks/{D22DhEZM.js → C_a7D1qz.js} +1 -1
  143. package/web/app/immutable/chunks/{D9x2HEXw.js → CeGIZnmi.js} +2 -2
  144. package/web/app/immutable/chunks/{Gw1t2Srm.js → CeOa9B5I.js} +1 -1
  145. package/web/app/immutable/chunks/{BturI3jj.js → CezXhCS3.js} +1 -1
  146. package/web/app/immutable/chunks/{Bl3WKtdy.js → CfiSkM8N.js} +1 -1
  147. package/web/app/immutable/chunks/{C-4lCpez.js → Cg7Nu4Va.js} +1 -1
  148. package/web/app/immutable/chunks/{CcC3AMEc.js → CkCYZCke.js} +1 -1
  149. package/web/app/immutable/chunks/{WZfEgods.js → Cl2rjjSj.js} +1 -1
  150. package/web/app/immutable/chunks/{CcBZUrE6.js → Cl7-Lh5E.js} +1 -1
  151. package/web/app/immutable/chunks/{CpL_C-GJ.js → Clz72PsI.js} +1 -1
  152. package/web/app/immutable/chunks/{CpRRerrb.js → CmE98hO-.js} +1 -1
  153. package/web/app/immutable/chunks/{BgXHwBod.js → CoCpxnqY.js} +6 -6
  154. package/web/app/immutable/chunks/{B9ibu-4g.js → CpK9Zfzc.js} +1 -1
  155. package/web/app/immutable/chunks/{Du66vBdT.js → CpasQsOr.js} +1 -1
  156. package/web/app/immutable/chunks/{BcG7yxE2.js → CprGZ_vQ.js} +1 -1
  157. package/web/app/immutable/chunks/{CZ6S_xft.js → Cq8HYngI.js} +1 -1
  158. package/web/app/immutable/chunks/{DBX7lh1O.js → CsXyRQ8j.js} +55 -55
  159. package/web/app/immutable/chunks/{Dal4fUVD.js → CtJv8xMf.js} +1 -1
  160. package/web/app/immutable/chunks/{BH0cA3lf.js → CuKET43j.js} +2 -2
  161. package/web/app/immutable/chunks/{B12Be-IL.js → Cum-TdZd.js} +1 -1
  162. package/web/app/immutable/chunks/{q7CfEA0Z.js → CwSTmJL9.js} +1 -1
  163. package/web/app/immutable/chunks/{ypTw5Sl1.js → CxWH-8GW.js} +1 -1
  164. package/web/app/immutable/chunks/{D_zFSOgZ.js → CxdlCefM.js} +1 -1
  165. package/web/app/immutable/chunks/{C_yzewkM.js → Cy7afLsK.js} +1 -1
  166. package/web/app/immutable/chunks/{CfrT9tcw.js → CzU9DzbS.js} +2 -2
  167. package/web/app/immutable/chunks/{N88c9xuK.js → D-Cja9EW.js} +1 -1
  168. package/web/app/immutable/chunks/{XUs6uy3h.js → D-vbvcep.js} +1 -1
  169. package/web/app/immutable/chunks/{Dollk5ZG.js → D0LnBaLt.js} +1 -1
  170. package/web/app/immutable/chunks/{BR2JfJtY.js → D2KpwJIq.js} +1 -1
  171. package/web/app/immutable/chunks/{C7zasWUf.js → D3OvqZhX.js} +2 -2
  172. package/web/app/immutable/chunks/{C6oWsXP5.js → D3hR-AME.js} +1 -1
  173. package/web/app/immutable/chunks/{CEswnMLF.js → D4EK6U-m.js} +1 -1
  174. package/web/app/immutable/chunks/{BP3qefPW.js → D5uBa-Ne.js} +1 -1
  175. package/web/app/immutable/chunks/{BQaHhd4d.js → D5yaIVD5.js} +1 -1
  176. package/web/app/immutable/chunks/{B3PM4xsG.js → D7IJPBQY.js} +2 -2
  177. package/web/app/immutable/chunks/{C-Rjcf-U.js → D8DBejPV.js} +1 -1
  178. package/web/app/immutable/chunks/{D2h8OBcY.js → DA2RRspt.js} +1 -1
  179. package/web/app/immutable/chunks/{BhxN6u9j.js → DBsXclsv.js} +1 -1
  180. package/web/app/immutable/chunks/{BGa2D4m6.js → DC1aoXyY.js} +1 -1
  181. package/web/app/immutable/chunks/{CSfG5Ybw.js → DCpFqaYA.js} +3 -3
  182. package/web/app/immutable/chunks/{DumVye9M.js → DD2BajRb.js} +1 -1
  183. package/web/app/immutable/chunks/{jRZT2QjD.js → DDfMifm6.js} +1 -1
  184. package/web/app/immutable/chunks/{ByjFf28U.js → DDtBtnNz.js} +1 -1
  185. package/web/app/immutable/chunks/{CHWbLwXf.js → DED90qCG.js} +1 -1
  186. package/web/app/immutable/chunks/{B0m0-2MI.js → DF8x1-0S.js} +1 -1
  187. package/web/app/immutable/chunks/{83xTN5fk.js → DFztsOdi.js} +1 -1
  188. package/web/app/immutable/chunks/{GAJ0U6Fj.js → DGfmWFo_.js} +1 -1
  189. package/web/app/immutable/chunks/{D1mB9_6q.js → DH2vm-1i.js} +1 -1
  190. package/web/app/immutable/chunks/{ha_PYGcR.js → DIZhZiBE.js} +1 -1
  191. package/web/app/immutable/chunks/{DK4nL43d.js → DInAnkwK.js} +1 -1
  192. package/web/app/immutable/chunks/{DJrPi4os.js → DJ6GAsDd.js} +1 -1
  193. package/web/app/immutable/chunks/{eqIwOdFV.js → DJM-jC4D.js} +1 -1
  194. package/web/app/immutable/chunks/{BmET8lGk.js → DKpBQuZo.js} +1 -1
  195. package/web/app/immutable/chunks/{DFMLCzQx.js → DMkatOMg.js} +1 -1
  196. package/web/app/immutable/chunks/{DZ6X6WRI.js → DNhGGhpW.js} +1 -1
  197. package/web/app/immutable/chunks/{DIweBffD.js → DOPKn6Qc.js} +1 -1
  198. package/web/app/immutable/chunks/{BK9wcqQr.js → DPWIkUJh.js} +1 -1
  199. package/web/app/immutable/chunks/{DzCaG8dx.js → DPbAP8qP.js} +1 -1
  200. package/web/app/immutable/chunks/DS9Nses5.js +1 -0
  201. package/web/app/immutable/chunks/{BvR4li8f.js → DSQXi-HI.js} +1 -1
  202. package/web/app/immutable/chunks/{CN5rDbbI.js → DVBcpomn.js} +3 -3
  203. package/web/app/immutable/chunks/{CQaQS_9E.js → DW6LpaLb.js} +1 -1
  204. package/web/app/immutable/chunks/{B50wbSca.js → DXujHnPt.js} +1 -1
  205. package/web/app/immutable/chunks/{BT9wsXKO.js → DZBWbkQT.js} +1 -1
  206. package/web/app/immutable/chunks/{DsNGTbSH.js → D_gp0b_i.js} +1 -1
  207. package/web/app/immutable/chunks/{Brv29rn8.js → D_p0cMgQ.js} +1 -1
  208. package/web/app/immutable/chunks/{1ppucs3B.js → DaHFtoCa.js} +1 -1
  209. package/web/app/immutable/chunks/{Cweq-0-O.js → DaNzos5O.js} +1 -1
  210. package/web/app/immutable/chunks/{B4CGkc2Z.js → DaauQgcE.js} +1 -1
  211. package/web/app/immutable/chunks/{2bm1-WPv.js → DavOW4Pn.js} +1 -1
  212. package/web/app/immutable/chunks/{CWOgcDNw.js → DbYmdzfs.js} +1 -1
  213. package/web/app/immutable/chunks/{BaifPKCC.js → Dc7HNZUt.js} +1 -1
  214. package/web/app/immutable/chunks/{BhaVZ25C.js → DdAvLI3S.js} +1 -1
  215. package/web/app/immutable/chunks/{B_kNlUD-.js → Dg1VUJOX.js} +1 -1
  216. package/web/app/immutable/chunks/{BB-o-_x6.js → DhbIivmf.js} +1 -1
  217. package/web/app/immutable/chunks/{Qetkvafr.js → DlGq0K29.js} +1 -1
  218. package/web/app/immutable/chunks/{BIcRvrKV.js → Dlhp692a.js} +1 -1
  219. package/web/app/immutable/chunks/{CtXwHt_m.js → Dm5sb2T9.js} +1 -1
  220. package/web/app/immutable/chunks/{BHWU1Psx.js → DmzyDWxY.js} +1 -1
  221. package/web/app/immutable/chunks/{rS28LQlr.js → DnPj8kAJ.js} +1 -1
  222. package/web/app/immutable/chunks/{DZMdKpsk.js → DnuPDvKn.js} +1 -1
  223. package/web/app/immutable/chunks/{BWIk2_6S.js → DoQcVvIo.js} +1 -1
  224. package/web/app/immutable/chunks/{Dnhf6K_4.js → DpOnLCwB.js} +1 -1
  225. package/web/app/immutable/chunks/{1FvEkC51.js → DrJBkQ-6.js} +1 -1
  226. package/web/app/immutable/chunks/{CUkvXPuX.js → Drf7hLVf.js} +1 -1
  227. package/web/app/immutable/chunks/{CBcz8VK6.js → Ds2ZtSdQ.js} +1 -1
  228. package/web/app/immutable/chunks/{DyvHB1Xe.js → DsOeQrzx.js} +1 -1
  229. package/web/app/immutable/chunks/{BLB-tbz2.js → DtR7mmzX.js} +1 -1
  230. package/web/app/immutable/chunks/{u_ejDIBY.js → DtgMvDnf.js} +1 -1
  231. package/web/app/immutable/chunks/{CbKyR6Kf.js → DvRDNe8t.js} +2 -2
  232. package/web/app/immutable/chunks/{7FbFoR5r.js → Dw3sD88n.js} +1 -1
  233. package/web/app/immutable/chunks/{DQg0oSRW.js → Dwv8zw-4.js} +1 -1
  234. package/web/app/immutable/chunks/{BAduOJD2.js → DxTOze69.js} +1 -1
  235. package/web/app/immutable/chunks/{CL61Lx-U.js → DyRcp3T7.js} +1 -1
  236. package/web/app/immutable/chunks/{CcIA3l7Z.js → Dym3QysO.js} +1 -1
  237. package/web/app/immutable/chunks/{BuvlavTl.js → DzUGhIyX.js} +1 -1
  238. package/web/app/immutable/chunks/{CJPgBxaF.js → DzyqDyL5.js} +1 -1
  239. package/web/app/immutable/chunks/{Dof5KDCr.js → EVnmmycb.js} +1 -1
  240. package/web/app/immutable/chunks/EyifK0YY.js +1 -0
  241. package/web/app/immutable/chunks/{CuTVPcxo.js → JtSO6K6S.js} +1 -1
  242. package/web/app/immutable/chunks/{DK-gr9PF.js → Jy2VtQ-j.js} +1 -1
  243. package/web/app/immutable/chunks/{DaNk_UZD.js → LqqBQeq2.js} +1 -1
  244. package/web/app/immutable/chunks/M46vYfPG.js +1 -0
  245. package/web/app/immutable/chunks/{CxfjSsAX.js → MpQYVCAl.js} +1 -1
  246. package/web/app/immutable/chunks/{D0boXdmz.js → P8ajY_OC.js} +1 -1
  247. package/web/app/immutable/chunks/{O62vZaBr.js → Q-AtJOxP.js} +1 -1
  248. package/web/app/immutable/chunks/{Bn7ZmTkF.js → QgUSWdkO.js} +2 -2
  249. package/web/app/immutable/chunks/{CVvdpvXK.js → R5mMERAP.js} +3 -3
  250. package/web/app/immutable/chunks/{4nEMohmP.js → Rx9iChBc.js} +1 -1
  251. package/web/app/immutable/chunks/{h37VgGKw.js → T8wSaQKw.js} +1 -1
  252. package/web/app/immutable/chunks/{DYg3sgSl.js → U_nfJe6p.js} +1 -1
  253. package/web/app/immutable/chunks/{D1u6MWVh.js → VpUwDjJ_.js} +1 -1
  254. package/web/app/immutable/chunks/{DP0ovMwg.js → XMeuZ35b.js} +1 -1
  255. package/web/app/immutable/chunks/XslshjYv.js +1 -0
  256. package/web/app/immutable/chunks/{D2524wRl.js → Yqp_UZB_.js} +1 -1
  257. package/web/app/immutable/chunks/{8jMj1OGX.js → ZANjZw72.js} +1 -1
  258. package/web/app/immutable/chunks/{D1mEn0KC.js → ZEAS6srh.js} +1 -1
  259. package/web/app/immutable/chunks/{Be253aOc.js → ZUA6bo0t.js} +1 -1
  260. package/web/app/immutable/chunks/{Bd1sW9PE.js → _H8LGW4O.js} +1 -1
  261. package/web/app/immutable/chunks/{AF10H5eK.js → a3c0uoAC.js} +1 -1
  262. package/web/app/immutable/chunks/{DRG3CbTe.js → asAq0Q4G.js} +1 -1
  263. package/web/app/immutable/chunks/{BxsHp3SH.js → d-SabBb_.js} +1 -1
  264. package/web/app/immutable/chunks/{GIg9PMOU.js → dlAoKLi8.js} +1 -1
  265. package/web/app/immutable/chunks/{Ci7no3-D.js → ePwjer8w.js} +1 -1
  266. package/web/app/immutable/chunks/{jBPLh4Hv.js → eapM1N3E.js} +1 -1
  267. package/web/app/immutable/chunks/{BO7alE7_.js → g4xg1V0H.js} +4 -4
  268. package/web/app/immutable/chunks/{DUtR3SZU.js → gFHNPMAw.js} +1 -1
  269. package/web/app/immutable/chunks/{DWoxVXOI.js → icAEjhzY.js} +1 -1
  270. package/web/app/immutable/chunks/{CVmi7DTf.js → jCrYQ4Ri.js} +2 -2
  271. package/web/app/immutable/chunks/{PxI72ehJ.js → lJ4MSEIh.js} +1 -1
  272. package/web/app/immutable/chunks/{oZTI_u9n.js → lWlirZMs.js} +1 -1
  273. package/web/app/immutable/chunks/{DyyOhufN.js → o551VboC.js} +1 -1
  274. package/web/app/immutable/chunks/{CtZ-vglf.js → ohZ0BtRB.js} +1 -1
  275. package/web/app/immutable/chunks/{BHSnSmbO.js → ouMJlHY1.js} +1 -1
  276. package/web/app/immutable/chunks/{CPZGjCPW.js → pElsZ4dt.js} +1 -1
  277. package/web/app/immutable/chunks/{Dx1gCWLU.js → pV_14PeY.js} +1 -1
  278. package/web/app/immutable/chunks/{DmQDTavV.js → rCQAZGb3.js} +2 -2
  279. package/web/app/immutable/chunks/{BYge7mVb.js → sASsqJNT.js} +1 -1
  280. package/web/app/immutable/chunks/{C62iVnTg.js → s_zHQBKW.js} +1 -1
  281. package/web/app/immutable/chunks/{Cn-uVT14.js → tOpgiK5L.js} +1 -1
  282. package/web/app/immutable/chunks/{1wWPoJ5Q.js → tp06XFI7.js} +1 -1
  283. package/web/app/immutable/chunks/{D4SYJpS6.js → tsVy-iyH.js} +1 -1
  284. package/web/app/immutable/chunks/{BL9pxyXQ.js → uN_eK4W9.js} +1 -1
  285. package/web/app/immutable/chunks/{Btv0cBol.js → uod76J5c.js} +1 -1
  286. package/web/app/immutable/chunks/{Ddfl3sUZ.js → v1zTkmPU.js} +1 -1
  287. package/web/app/immutable/chunks/{4K9ZZSJu.js → w4-ZULNa.js} +1 -1
  288. package/web/app/immutable/chunks/{7CEHC6fO.js → wOi8eNbH.js} +1 -1
  289. package/web/app/immutable/chunks/{D-GPCP_y.js → waJ4nm9k.js} +1 -1
  290. package/web/app/immutable/chunks/{Dm98AfRw.js → wwOYCksJ.js} +1 -1
  291. package/web/app/immutable/chunks/{DjBfsgFx.js → yQuAS-d_.js} +1 -1
  292. package/web/app/immutable/chunks/{DzQEubr_.js → z2dT_sfg.js} +1 -1
  293. package/web/app/immutable/entry/{app.DnvWkWuC.js → app.Bg9ukl2W.js} +3 -3
  294. package/web/app/immutable/entry/start.DrKu0acT.js +1 -0
  295. package/web/app/immutable/nodes/{0.BHNsHbq6.js → 0.w7cQ0D88.js} +1 -1
  296. package/web/app/immutable/nodes/{1.CxKhOECT.js → 1.4ql_JuYe.js} +1 -1
  297. package/web/app/immutable/nodes/{10.mSXX1b86.js → 10.Db5zVRj1.js} +5 -5
  298. package/web/app/immutable/nodes/{11.LQ-kpfGf.js → 11.5Xli6dPl.js} +1 -1
  299. package/web/app/immutable/nodes/{12.moZNbeME.js → 12.Dmc_y_qK.js} +1 -1
  300. package/web/app/immutable/nodes/{13.B9ngkS9V.js → 13.DZTGM0cb.js} +1 -1
  301. package/web/app/immutable/nodes/{14.BvKaKKlx.js → 14.BJwsFDEF.js} +3 -3
  302. package/web/app/immutable/nodes/{15.VPLfb8v_.js → 15.DMW9u33y.js} +1 -1
  303. package/web/app/immutable/nodes/{16.Bfi41nCp.js → 16.BcrbQLum.js} +1 -1
  304. package/web/app/immutable/nodes/{17.BaloRRSg.js → 17.8JKljX5l.js} +1 -1
  305. package/web/app/immutable/nodes/{18.DPo7p8bY.js → 18.YeTMHnFS.js} +1 -1
  306. package/web/app/immutable/nodes/{19.CavDiJik.js → 19.CTmJfPwB.js} +2 -2
  307. package/web/app/immutable/nodes/{2.kzpobJJm.js → 2.bsXLvGyt.js} +4 -4
  308. package/web/app/immutable/nodes/{20.EaJ-UneM.js → 20.C1sgyqm8.js} +1 -1
  309. package/web/app/immutable/nodes/{3.DZFV57al.js → 3.JBWvrxuJ.js} +1 -1
  310. package/web/app/immutable/nodes/{4.Dfre4p0n.js → 4.D6e8o0bC.js} +1 -1
  311. package/web/app/immutable/nodes/{5.BnBSTXSN.js → 5.BiCuWA6k.js} +1 -1
  312. package/web/app/immutable/nodes/{6.BYj21cDV.js → 6.IF1PmeP7.js} +1 -1
  313. package/web/app/immutable/nodes/{7.CvDxUVa8.js → 7.BlK4mw1L.js} +1 -1
  314. package/web/app/immutable/nodes/{8.CTVkGhmt.js → 8.CUVVZTwf.js} +1 -1
  315. package/web/app/immutable/nodes/9.JkDekIr4.js +12 -0
  316. package/web/app/version.json +1 -1
  317. package/web/generated/paraglide.js +49 -49
  318. package/web/index.html +19 -19
  319. package/web/app/immutable/chunks/2CFsxajB.js +0 -1
  320. package/web/app/immutable/chunks/2CQlphfn.js +0 -1
  321. package/web/app/immutable/chunks/6QXvr4x0.js +0 -1
  322. package/web/app/immutable/chunks/BOaPEJcS.js +0 -1
  323. package/web/app/immutable/chunks/CXjastM3.js +0 -1
  324. package/web/app/immutable/chunks/Cr_KTPcL.js +0 -1
  325. package/web/app/immutable/entry/start.D5h2aGMe.js +0 -1
  326. package/web/app/immutable/nodes/9.Dq4n-Ddo.js +0 -12
@@ -1 +0,0 @@
1
- import{o_ as o}from"./eqIwOdFV.js";import{aO as r}from"./TE5M669U.js";function c(n,e){if(!e)return!0;const t=r.select(n,e);return!!t&&!o(t)}export{c};
@@ -1 +0,0 @@
1
- import{g as t}from"./YqTahsxp.js";import{Jt as r}from"./eqIwOdFV.js";import{aK as o}from"./BhaVZ25C.js";function l(e){return!e||t().status!=="connected"?null:o.select(r.state,e)}export{l as resolveConnectedWorkspaceKeySlot};
@@ -1 +0,0 @@
1
- import{bm as r}from"./2CQlphfn.js";import{Jt as s,nY as h,C0 as N,yH as f,qZ as T,nX as F,s0 as v,ht as B,LG as U,o as H,mX as V,hp as k,F as W}from"./eqIwOdFV.js";import{w as Y}from"./CH6hoQCh.js";import{cw as z,ce as G,cR as X,cn as p,cb as M,cI as y,c_ as C,cZ as K,dG as I,cX as $,cY as Z,d0 as J}from"./TE5M669U.js";const Q={auggie:"auggie",claudeCode:"claude-code",codex:"codex",mock:"mock",opencode:"opencode",pi:"pi",cortex:"cortex",droid:"droid",grok:"grok",unsloth:"unsloth",antigravity:"antigravity",cursor:"cursor"},ee=new Map(Object.entries(Q).map(([e,t])=>[t,e]));function te(e,t){const o=ee.get(t);return o===void 0?void 0:e?.providers[o]}function xe(e,t){const o=te(e,t);return o?.available===!0&&O(t,o.authenticated)}const je=new Set(["claude-code"]);function O(e,t){return t!==!1}const R=new WeakMap,qe=s.createSelector((e,t)=>e.agentAvailability.providerStatusMap[t]?.viaNpx===!0),w=s.createSelector(e=>{if(!z.select(e))return e.agentAvailability.providerStatusMap;const t=e.providerCatalog?.providers;if(!t)return{};let o=R.get(t);return o||(o=Object.fromEntries(h(t).map(n=>[n.id,{available:!0}])),R.set(t,o)),o}),Ne=s.createSelector(e=>e.agentAvailability.providerLoadingMap),Te=s.createSelector(e=>e.agentAvailability.providerCheckEpochMap),re=s.createSelector(e=>e.agentAvailability.hasCheckedOnce),Fe=s.createSelector(e=>Object.values(e.agentAvailability.providerLoadingMap).some(t=>t)),Be=s.createSelector(e=>e.agentAvailability.npxStatus),Ue=s.createSelector(e=>e.agentAvailability.hiddenProviders),He=s.createSelector(e=>e.agentAvailability.discoveryError),Ve=s.createSelector(e=>e.agentAvailability.discoveryRevision),We=s.createSelector(e=>e.agentAvailability.refreshModelsPending),Ye=s.createSelector(e=>e.agentAvailability.refreshModelsRevision),ze=s.createSelector(e=>e.sidebarNav?.onboardingActive&&e.userPreferences.providerSetupHydratedBackendId===e.connections.windowBackendId&&!e.userPreferences.hasCompletedProviderSetup&&G.select(e)==="owner"?X.select(e):null),Ge=s.createSelector((e,t)=>h(e.providerSettings.requests).filter(o=>o.sessionId===t)),Xe=s.createSelector((e,t)=>e.providerSettings.sessions.includes(t)),Ke=s.createSelector((e,t)=>e.providerSettings.writeRevisions?.[t]??0),$e=s.createSelector(e=>e.providerSettings.paths),Ze=s.createSelector(e=>e.providerSettings.pathsRevision),g=s.createSelector(e=>p.select(e)?M.select(e)?.defaultProviderId??"":e.model.defaultProviderId);s.createSelector((e,t)=>g.select(e)===t);const oe=s.createSelector(e=>p.select(e)?Object.fromEntries((M.select(e)?.enabledProviderIds??[]).map(t=>[t,!0])):e.providerSettings.enabledProviders),A=s.createSelector((e,t)=>{if(p.select(e))return M.select(e)?.enabledProviderIds?.includes(t)===!0;const o=e.providerSettings.nonDisableableProviderIds??[];return N(e.providerSettings.enabledProviders,t,{canBeDisabled:!o.includes(t)})}),L=s.createSelector(e=>{if(p.select(e))return M.select(e)?.enabledProviderIds??[];const t=e.providerSettings.enabledProviders,o=e.providerCatalog?h(e.providerCatalog.providers):[],n=new Set(o.filter(c=>A.select(e,c.id)).map(c=>c.id)),i=g.select(e),a=f(i);a&&t[a]!==!1&&n.add(a);for(const[c,l]of Object.entries(t))l&&n.add(c);return[...n]});function ne(e,t){const o=C.select(e,t);return p.select(e)?o?.visible!==!0:!!(o?.requiresEnvVar||o?.requiresFeatureCode)}const S=s.createSelector(e=>{const t=w.select(e);return L.select(e).filter(o=>!ne(e,o)&&t[o]?.available===!0)}),Je=s.createSelector((e,t)=>{const o=w.select(e),n=y.select(e,t);return S.select(e).filter(i=>y.select(e,i)!==n&&A.select(e,i)&&O(i,o[i]?.authenticated))}),Qe=s.createSelector(e=>re.select(e)?S.select(e):L.select(e)),et=s.createSelector(e=>{const t=f(g.select(e));return S.select(e).includes(t)}),tt=s.createSelector(e=>e.providerSettings.fastMode),rt=s.createSelector(e=>{const t=e.providerSettings.fastMode,o={...t?.confirmed};for(const[n,i]of Object.entries(t?.pending??{}))o[n]=i.enabled;return o}),ot=s.createSelector(e=>Object.values(u(e).defaults).some(t=>t.remoteLaunch!==void 0)),nt=s.createSelector(e=>e.providerSettings.fastMode?.supported?["claude-code","codex"].filter(t=>C.select(e,t)?.supportsFastMode===!0):[]),u=e=>e.providerSettings?.profiles??T,st=s.createSelector(e=>K.select(e).filter(t=>t.supportsProfiles===!0).map(t=>t.id)),at=s.createSelector((e,t)=>h(u(e).items).filter(o=>o.baseProviderId===t)),it=s.createSelector(e=>[...new Set(h(u(e).items).map(t=>t.baseProviderId))]),ct=s.createSelector(e=>u(e).defaults),lt=s.createSelector((e,t)=>u(e).defaults[t]),dt=s.createSelector((e,t)=>F(u(e).items,t)),ut=s.createSelector(e=>u(e).revision),_t=s.createSelector(e=>u(e).loadStatus),ht=s.createSelector(e=>u(e).status),ft=s.createSelector(e=>u(e).activation),pt=s.createSelector(e=>Object.fromEntries(h(u(e).mutations).map(t=>[t.id,t]))),se={},mt=s.createSelector(e=>u(e).identity??se),ae={},vt=s.createSelector(e=>u(e).setups??ae),Mt=s.createSelector(e=>(e.providerSettings?.sessions.length??0)>0);function E(e){const t=e.trim();if(!t.startsWith("tc"))return!1;const o=t.slice(2);if(o.length<50||o.length%4===1||!/^[A-Za-z0-9_-]+$/.test(o))return!1;const n=atob(o.slice(0,4).replace(/-/g,"+").replace(/_/g,"/")).charCodeAt(0);return n>=161&&n<=187||n===191}function bt(e){if(!e||typeof e!="object")return null;const t=e;for(const o of[t.collaborationName,t.prettyHostname,t.hostname])if(typeof o=="string"&&m(o))return m(o);return null}function gt(e){return[...m(e)].length<=100&&!/\p{Cc}/u.test(e)}function m(e){return e.replace(/^\p{White_Space}+|\p{White_Space}+$/gu,"")}function ie(e){const t=e.label.trim(),o=e.host&&e.port!=null?`${e.host}:${e.port}`:"";return(t&&t!==o?t:"")||e.hostname?.trim()||t||o}function ce(e){return r.layout_daemonStatus_localConnection_label()}function St(e,t){return e.isLocal?ce():ie(e)}function le(e){const t=m(e.hostname??"");return t||(E(e.label)?r.connection_unknownHost_label():e.label)}function Pt(e){const t=e.label.trim();return!t||E(t)?null:t!==le(e)?t:null}function kt(e){return e.catalogProfiles.some(t=>typeof t.remoteCompatible=="boolean")||e.defaultRemoteIncompatibility||e.defaultRemoteLaunch||e.profileDefaults.some(t=>typeof t.remoteCompatible=="boolean")?"supported":e.catalogProfiles.length>0?"unsupported":e.profilesLoadStatus==="idle"?"unknown":"unsupported"}function yt(e,t,o){if(v(e)){const n=t.find(i=>i.providerRef===e);return n?.remoteCompatible!==!1?null:n.remoteIncompatibility??{reason:"unknown",keys:[]}}return null}const de=1440*60*1e3;function D(e,t){if(!e?.capabilities)return"missing";const o=e.observedAt?Date.parse(e.observedAt):Number.NaN;return Number.isFinite(o)&&t-o>de?"stale":"fresh"}function Rt(e,t,o){if(!e||D(e,o)!=="fresh")return;const n=f(t),i=e.capabilities?.providers.find(a=>a.id===n);return i&&i.models.length>0?i.models:void 0}function Ct(e,t,o){const n=f(t),i=new Set;for(const a of e){if(a.state==="revoked"||D(a,o)!=="fresh")continue;const c=a.capabilities?.providers.find(l=>l.id===n);if(!(!c||!_e(c)))for(const l of c.models)i.add(l)}return[...i]}const ue=new Set(["cli-missing","prerequisite-missing"]);function _e(e){return e.visible!==!1&&!ue.has(e.status)}const he=new Set(["signed-out","auth-failed"]);function fe(e){return he.has(e)}function pe(e,t){if(v(t))return!1;const o=f(t),n=e?.capabilities?.providers.find(i=>i.id===o);return!!n&&fe(n.status)}function x(e,t){return(t.defaultRemoteLaunch?t.defaultRemoteLaunch[e]==="send":!t.defaultRemoteIncompatibility?.[e])&&t.defaultHasOverrides?.[e]!==!1}function me(e,t,o){return o.defaultRemoteLaunch?.[t]==="refused"?!1:!e.cloud&&!pe(e,t)}function It(e){const{machine:t,providerRef:o}=e;return v(o)||me(t,o,e)||x(o,e)?null:e.catalogProfiles.find(n=>n.baseProviderId===o&&n.remoteCompatible===!0)??null}const ve="https://e2b.dev/dashboard",Me="https://app.northflank.com",be="https://www.agent37.com/dashboard/cloud",ge="https://vercel.com/dashboard";function Ot(e="e2b"){return e==="vercel"?ge:e==="northflank"?Me:e==="agent37"?be:ve}function Se(e){switch(e){case"northflank":return{keyRejected:r.cloudMachines_northflank_state_tokenRejected_label(),unreachable:r.cloudMachines_northflank_state_unreachable_label(),ownerOnly:r.cloudMachines_northflank_error_ownerOnly(),saved:r.cloudMachines_northflank_saved_toast(),listTitle:r.cloudMachines_northflank_services_title(),listSummary:r.cloudMachines_northflank_services_summary,dashboard:r.cloudMachines_northflank_dashboard_label(),dashboardOpen:r.cloudMachines_northflank_dashboardOpen_label(),deleteTitle:r.cloudMachines_northflank_delete_confirmTitle,deleteDescription:r.cloudMachines_northflank_delete_confirm_description(),creating:r.cloudMachines_northflank_start_creating(),startFailed:r.cloudMachines_northflank_startFailure_title(),startUnknown:r.cloudMachines_northflank_startFailure_unknown_cause()};case"agent37":return{keyRejected:r.cloudMachines_state_keyRejected_label(),unreachable:r.cloudMachines_agent37_state_unreachable_label(),ownerOnly:r.cloudMachines_agent37_error_ownerOnly(),saved:r.cloudMachines_agent37_saved_toast(),listTitle:r.cloudMachines_agent37_instances_title(),listSummary:r.cloudMachines_agent37_instances_summary,dashboard:r.cloudMachines_agent37_dashboard_label(),dashboardOpen:r.cloudMachines_agent37_dashboardOpen_label(),deleteTitle:r.cloudMachines_agent37_delete_confirmTitle,deleteDescription:r.cloudMachines_agent37_delete_confirm_description(),creating:r.cloudMachines_agent37_start_creating(),startFailed:r.cloudMachines_agent37_startFailure_title(),startUnknown:r.cloudMachines_agent37_startFailure_unknown_cause()};case"vercel":return{keyRejected:r.cloudMachines_vercel_state_tokenRejected_label(),unreachable:r.cloudMachines_vercel_state_unreachable_label(),ownerOnly:r.cloudMachines_vercel_error_ownerOnly(),saved:r.cloudMachines_vercel_saved_toast(),listTitle:r.cloudMachines_vercel_sandboxes_title(),listSummary:r.cloudMachines_sandboxes_summary,dashboard:r.cloudMachines_vercel_dashboard_label(),dashboardOpen:r.cloudMachines_vercel_dashboardOpen_label(),deleteTitle:r.cloudMachines_delete_confirmTitle,deleteDescription:r.cloudMachines_vercel_delete_confirm_description(),creating:r.cloudMachines_vercel_start_creating(),startFailed:r.cloudMachines_vercel_startFailure_title(),startUnknown:r.cloudMachines_vercel_startFailure_unknown_cause()};default:return{keyRejected:r.cloudMachines_state_keyRejected_label(),unreachable:r.cloudMachines_state_unreachable_label(),ownerOnly:r.cloudMachines_error_ownerOnly(),saved:r.cloudMachines_saved_toast(),listTitle:r.cloudMachines_sandboxes_title(),listSummary:r.cloudMachines_sandboxes_summary,dashboard:r.cloudMachines_dashboard_label(),dashboardOpen:r.cloudMachines_dashboardOpen_label(),deleteTitle:r.cloudMachines_delete_confirmTitle,deleteDescription:r.cloudMachines_delete_confirm_description(),creating:r.cloudMachines_start_creating(),startFailed:r.cloudMachines_startFailure_title(),startUnknown:r.cloudMachines_startFailure_unknown_cause()}}}function wt(e){return e==="vm"?r.cloudMachines_agent37_form_type_vm():r.cloudMachines_agent37_form_type_default()}function At(e){return e==="eu"?r.cloudMachines_agent37_region_eu():e==="ap-south"?r.cloudMachines_agent37_region_apSouth():r.cloudMachines_agent37_region_us()}const Pe=/^E2B\s*·\s*/u;function Lt(e,t){const o=t?`${t} · `:null;return(o&&e.name.startsWith(o)?e.name.slice(o.length):e.name.replace(Pe,"")).trim()||e.name}function Et(e){const t=B(e);return t?r.cloudMachines_size_label({vcpu:String(t.vcpu),memory:String(t.memoryGiB)}):e}function Dt(e,t,o){const n=e.cloud;if(!n)return 0;const i=n.state==="running"&&t>0?Math.max(0,(o-t)/1e3):0;return Math.floor(n.runningSeconds+i)}function xt(e){const t=Math.floor(e/60);if(t<1)return r.cloudMachines_uptime_underMinute();if(t<60)return r.cloudMachines_uptime_minutes({minutes:String(t)});const o=Math.floor(t/60),n=t%60;return n===0?r.cloudMachines_uptime_hours({hours:String(o)}):r.cloudMachines_uptime_hoursMinutes({hours:String(o),minutes:String(n)})}const ke=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2});function jt(e){const t=V(e,3600);return t===null?null:r.cloudMachines_size_hourly({amount:ke.format(t)})}function j(e){try{return new URL(e).host||e}catch{return e}}function qt(e){const t=e.find(n=>n.cloud?.state==="running");if(!t?.cloud)return null;const o=t.cloud.relayUrl;return o?r.cloudMachines_relay_host({host:j(o)}):r.cloudMachines_relay_default()}function Nt(e,t){const o=new Map;for(const a of e){const c=a.cloud?.workspaceId,l=c?t(c):null,_=c&&l?c:"";let d=o.get(_);d||(d={key:_,name:l??r.cloudMachines_sandboxes_otherWorkspace(),sandboxes:[]},o.set(_,d)),d.sandboxes.push(a)}const n=a=>+(a.cloud?.state==="paused"),i=a=>Number(a.sandboxes.every(c=>n(c)));for(const a of o.values())a.sandboxes.sort((c,l)=>n(c)-n(l)||(l.cloud?.startedAt??"").localeCompare(c.cloud?.startedAt??"")||c.id.localeCompare(l.id));return[...o.values()].sort((a,c)=>i(a)-i(c)||+(a.key==="")-+(c.key==="")||a.name.localeCompare(c.name,void 0,{sensitivity:"base"})||a.key.localeCompare(c.key))}function ye(e){switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_northflank_error_profileRequired_title(),description:r.cloudMachines_northflank_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_northflank_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_northflank_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_northflank_error_quotaRate_description():r.cloudMachines_northflank_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const t=o=>({title:r.cloudMachines_northflank_error_unavailable_title(),description:o});switch(e.reason){case"not-configured":return t(r.cloudMachines_northflank_error_notConfigured_description());case"key-rejected":return{title:r.cloudMachines_northflank_error_tokenRejected_title(),description:r.cloudMachines_northflank_error_tokenRejected_description()};case"project-missing":return t(r.cloudMachines_northflank_error_projectMissing_description());case"permission-denied":return{title:r.cloudMachines_northflank_error_permissionDenied_title(),description:r.cloudMachines_northflank_error_permissionDenied_description()};case"template-missing":return t(r.cloudMachines_northflank_error_imageMissing_description());case"sandbox-lost":return{title:r.cloudMachines_northflank_error_serviceLost_title(),description:r.cloudMachines_northflank_error_serviceLost_description()};case"bootstrap-failed":return t(r.cloudMachines_northflank_error_bootstrapFailed_description());default:return t(r.cloudMachines_northflank_error_apiError_description())}}}}function Re(e){switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_agent37_error_profileRequired_title(),description:r.cloudMachines_agent37_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_agent37_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_agent37_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_agent37_error_quotaRate_description():r.cloudMachines_agent37_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const t=o=>({title:r.cloudMachines_agent37_error_unavailable_title(),description:o});switch(e.reason){case"not-configured":return t(r.cloudMachines_agent37_error_notConfigured_description());case"key-rejected":return{title:r.cloudMachines_agent37_error_keyRejected_title(),description:r.cloudMachines_agent37_error_keyRejected_description()};case"permission-denied":return{title:r.cloudMachines_agent37_error_permissionDenied_title(),description:r.cloudMachines_agent37_error_permissionDenied_description()};case"no-capacity":return{title:r.cloudMachines_agent37_error_noCapacity_title(),description:r.cloudMachines_agent37_error_noCapacity_description()};case"template-missing":return t(r.cloudMachines_agent37_error_templateMissing_description());case"sandbox-lost":return{title:r.cloudMachines_agent37_error_instanceLost_title(),description:r.cloudMachines_agent37_error_instanceLost_description()};case"bootstrap-failed":return t(r.cloudMachines_agent37_error_bootstrapFailed_description());default:return t(r.cloudMachines_agent37_error_apiError_description())}}}}function Ce(e){switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_vercel_error_profileRequired_title(),description:r.cloudMachines_vercel_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_vercel_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_vercel_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_vercel_error_quotaRate_description():r.cloudMachines_vercel_error_quotaConcurrency_description()};case"cloud-machine-unavailable":{const t=o=>({title:r.cloudMachines_vercel_error_unavailable_title(),description:o});switch(e.reason){case"not-configured":return t(r.cloudMachines_vercel_error_notConfigured_description());case"key-rejected":return{title:r.cloudMachines_vercel_error_keyRejected_title(),description:r.cloudMachines_vercel_error_keyRejected_description()};case"project-missing":return t(r.cloudMachines_vercel_error_projectMissing_description());case"permission-denied":return{title:r.cloudMachines_vercel_error_permissionDenied_title(),description:r.cloudMachines_vercel_error_permissionDenied_description()};case"template-missing":return t(r.cloudMachines_vercel_error_imageMissing_description());case"sandbox-lost":return{title:r.cloudMachines_vercel_error_sandboxLost_title(),description:r.cloudMachines_vercel_error_sandboxLost_description()};case"bootstrap-failed":return t(r.cloudMachines_vercel_error_bootstrapFailed_description());default:return t(r.cloudMachines_vercel_error_apiError_description())}}}}function Tt(e,t){if(e.code==="cloud-machine-unavailable"&&e.reason==="relay-unreachable")return{title:r.cloudMachines_error_relayUnreachable_title(),description:e.relayUrl?r.cloudMachines_error_relayUnreachable_description({host:j(e.relayUrl)}):r.cloudMachines_error_relayUnreachable_noHost_description()};const o=e.provider??t;if(o==="northflank")return ye(e);if(o==="agent37")return Re(e);if(o==="vercel")return Ce(e);switch(e.code){case"cloud-profile-required":return{title:r.cloudMachines_error_profileRequired_title(),description:r.cloudMachines_error_profileRequired_description()};case"cloud-quota":return{title:r.cloudMachines_error_quota_title(),description:e.limit==="plan"?r.cloudMachines_error_quotaPlan_description():e.limit==="rate"?r.cloudMachines_error_quotaRate_description():r.cloudMachines_error_quotaConcurrency_description()};case"cloud-machine-unavailable":switch(e.reason){case"not-configured":return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_notConfigured_description()};case"key-rejected":return{title:r.cloudMachines_error_keyRejected_title(),description:r.cloudMachines_error_keyRejected_description()};case"template-missing":return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_templateMissing_description()};case"sandbox-lost":return{title:r.cloudMachines_error_sandboxLost_title(),description:r.cloudMachines_error_sandboxLost_description()};case"bootstrap-failed":return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_bootstrapFailed_description()};default:return{title:r.cloudMachines_error_unavailable_title(),description:r.cloudMachines_error_apiError_description()}}}}function Ft(e,t,o){const n=e.trim();if(!n)return r.cloudMachines_form_name_required();if(U(n)>H||/[\u0000-\u001f\u007f]/u.test(n))return r.cloudMachines_form_name_invalid();const i=n.toLowerCase();return t.some(a=>a.id!==o&&a.name.trim().toLowerCase()===i)?r.cloudMachines_form_name_taken():null}const Ie=s.createSelector(e=>Y.select(e)&&e.remoteMachines?.supported===!0&&e.cloudMachines?.supported===!0),Bt=s.createSelector(e=>{const t=e.cloudMachines?.providerKinds??["e2b"];return e.cloudMachines?.entries===!0?t:t.filter(o=>o==="e2b")}),Ut=s.createSelector(e=>e.cloudMachines?.diskSettings??{}),Ht=s.createSelector(e=>e.cloudMachines?.entries===!0);function q(e){return Object.values(e.cloudMachines?.providers??{}).sort((t,o)=>t.configuredAt.localeCompare(o.configuredAt)||t.name.localeCompare(o.name))}const Vt=s.createSelector(q),Wt=s.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).sort((t,o)=>(t.cloud?.startedAt??"").localeCompare(o.cloud?.startedAt??""))),Yt=s.createSelector(e=>Object.values(e.cloudMachines?.machines??{}).filter(t=>t.cloud?.state==="paused").length);function Oe(e,t){const o=t.cloud;return!o?.agentId||!o.workspaceId||!I.select(e,o.workspaceId)?null:{workspaceId:o.workspaceId,agentId:o.agentId}}const zt=s.createSelector((e,t)=>{const o={},n={};for(const i of t){const a=i.cloud?.workspaceId;if(a&&!(a in o)){const c=I.select(e,a);o[a]=c?.title||c?.name||null}n[i.id]=Oe(e,i)}return{workspaceNames:o,agentLinks:n}}),Gt=s.createSelector(e=>e.cloudMachines?.readAt??{}),Xt=s.createSelector(e=>e.cloudMachines?.pending??{}),Kt=s.createSelector(e=>e.cloudMachines?.failures??{}),$t=s.createSelector(e=>e.cloudMachines?.validated??null);function Zt(e){if(!Ie.select(e))return null;const t=q(e);if(t.length===0)return null;const o=e.cloudMachines?.entries===!0;return t.map(n=>({cloudMachineId:n.id,label:n.provider==="e2b"?o&&(t.length>1||n.name.trim().toLowerCase()!=="e2b")?r.cloudMachines_startOn_entry_label({name:n.name}):r.cloudMachines_startOn_label():n.name.trim().toLowerCase()===k(n.provider).toLowerCase()?k(n.provider):n.provider==="northflank"?r.cloudMachines_startOn_northflank_label({name:n.name}):n.provider==="agent37"?r.cloudMachines_startOn_agent37_label({name:n.name}):r.cloudMachines_startOn_vercel_label({name:n.name}),unavailableReason:n.state==="key-rejected"?Se(n.provider).keyRejected:null,needsProfile:!we(e,n)}))}function we(e,t){const o=oe.select(e),n=e.providerSettings?.profiles?.defaults??{},i={defaultRemoteLaunch:Z.select(e),defaultRemoteIncompatibility:$.select(e)},a=d=>o[d]!==!1&&(t.agentProviders.length===0||t.agentProviders.includes(d)),c=new Set([...t.agentProviders,...Object.keys(i.defaultRemoteLaunch??{})]);for(const d of c)if(a(d)&&(n[d]?.env.length??0)>0&&x(d,i))return!0;const l=e.providerSettings?.profiles?.items,_=l?h(l):[];return J.select(e).some(d=>{if(d.remoteCompatible!==!0||!a(d.baseProviderId))return!1;const P=_.find(b=>b.providerRef===d.providerRef);return!P||P.env.some(b=>b.kind==="set")})}function Jt(e,t,o=e.cloudMachines?.providers[W]??null){if(!t)return null;const n=o,i=f(t);if(n&&n.agentProviders.length>0&&!n.agentProviders.includes(i))return r.cloudMachines_startOn_providerMissing();const a=e.providerSettings?.profiles;if(v(t)){const l=a?h(a.items).find(_=>_.providerRef===t):void 0;return l?l.remoteCompatible===!1?r.cloudMachines_startOn_needsProfile():l.env.some(_=>_.kind==="set")?null:r.cloudMachines_startOn_needsProfile():null}const c=a?.defaults?.[i];return c?c.remoteCompatible===!1?r.cloudMachines_startOn_needsProfile():c.env.some(l=>l.kind==="set")?null:r.cloudMachines_startOn_needsProfile():a?.loadStatus==="success"?r.cloudMachines_startOn_needsProfile():null}export{et as $,Dt as A,D as B,Rt as C,m as D,Ct as E,It as F,yt as G,kt as H,Lt as I,g as J,S as K,it as L,Ut as M,je as N,Vt as O,Q as P,Ht as Q,Kt as R,Ie as S,Xt as T,Bt as U,Gt as V,Wt as W,$t as X,oe as Y,nt as Z,re as _,At as a,Fe as a0,A as a1,Qe as a2,Be as a3,ze as a4,Yt as a5,st as a6,Te as a7,lt as a8,ct as a9,ot as aA,zt as aB,Zt as aC,gt as aD,He as aa,Ve as ab,tt as ac,rt as ad,Ue as ae,Ne as af,We as ag,Ye as ah,$e as ai,Ze as aj,dt as ak,ft as al,mt as am,pt as an,vt as ao,ht as ap,at as aq,_t as ar,ut as as,qe as at,Mt as au,Xe as av,Ge as aw,w as ax,Ke as ay,Je as az,wt as b,Ot as c,Ft as d,qt as e,Tt as f,Jt as g,Se as h,Et as i,bt as j,me as k,x as l,ie as m,Pt as n,le as o,ce as p,St as q,xt as r,te as s,Nt as t,jt as u,_e as v,O as w,xe as x,pe as y,E as z};
@@ -1 +0,0 @@
1
- var ne=Object.defineProperty;var oe=(e,t,r)=>t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var d=(e,t,r)=>oe(e,typeof t!="symbol"?t+"":t,r);import{m as ce,N as le,T as de,d as ue,o as pe,w as ge}from"./jRZT2QjD.js";import"./3SdAC2_C.js";import{bm as n,_ as he}from"./2CQlphfn.js";import"./DhZiRE53.js";import"./DTPgmjai.js";import"./Bn7ZmTkF.js";import{c as V}from"./ChTqQfQN.js";import"./Gw1t2Srm.js";import{Jt as a,uA as fe,nY as y,nX as k,mp as Se,yX as C,yY as N,yV as be,yU as me,yW as ve,rT as _e,c8 as Ae,c7 as ye,cm as ke,cl as we,n_ as w}from"./eqIwOdFV.js";import{cT as Ee,cI as Ce,bI as Pe,ck as Re,cA as Me,cm as Te,cR as Z,aJ as Ie,c2 as Fe,cZ as De}from"./TE5M669U.js";import{a as Le,i as Oe}from"./CL3a4Hm1.js";import{i as D}from"./BBWuirRW.js";import{n as xe}from"./BH0cA3lf.js";import{x as We,aO as Ne,c as Be,aD as Ge,B as Ve,y as Ue,z as He}from"./BhaVZ25C.js";import{$ as qe,J as Q,a0 as $e,ax as U,Y as ze,a2 as je,K as Ke,_ as Ye,az as Ze,w as Qe}from"./CXjastM3.js";const Je=5,L=120,Xe=4e3,j=.2,et=.8;function tt(e,t,r=Je){const s=e.length>0?t/(2*e.length):0,i=Xe/L;return Array.from({length:r},(o,l)=>{if(s<=0)return 0;const c=L*i**(l/r),g=L*i**((l+1)/r),f=Math.min(e.length-1,Math.floor(c/s)),b=Math.min(e.length,Math.max(f+1,Math.ceil(g/s)));let $=0;for(let F=f;F<b;F+=1)$+=e[F]??0;const z=($/(b-f)/255-j)/(et-j);return Number.isFinite(z)?Math.min(1,Math.max(0,z)):0})}const rt=Object.freeze(Object.defineProperty({__proto__:null,NOTIFY_DURATION:le,TOAST_COUNTDOWN_CLASS:de,TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS:ue,notify:ce,notifyMetadata:pe,withToastCountdown:ge},Symbol.toStringTag,{value:"Module"})),Dr=a.createSelector(e=>Ee.select(e)?.capabilities.gitlabCheckout===!0),Lr=a.createSelector(e=>e.gitlabAuth.host),Or=a.createSelector(e=>e.gitlabAuth.instanceBaseUrl??e.gitlabAuth.host),xr=a.createSelector(e=>fe(e.gitlabAuth.instanceBaseUrl??e.gitlabAuth.host)??""),Wr=a.createSelector(e=>e.gitlabAuth.isCancelling),Nr=a.createSelector(e=>e.gitlabAuth.cancelOutcome),Br=a.createSelector(e=>e.gitlabAuth.isConfigured),Gr=a.createSelector(e=>e.gitlabAuth.isAuthenticating),Vr=a.createSelector(e=>e.gitlabAuth.deviceFlow),Ur=a.createSelector(e=>e.gitlabAuth.deviceGrantSupported),Hr=a.createSelector(e=>e.gitlabAuth.user),qr=a.createSelector(e=>e.gitlabAuth.error);a.createSelector(e=>e.gitlabAuth.method);const $r=a.createSelector(e=>e.gitlabAuth.statusReady===!0),A=[{id:"pr-reviewer",icon:"pr-reviewer",get name(){return n.specialists_builtin_prReviewer_name()},get description(){return n.specialists_builtin_prReviewer_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"ui-designer",icon:"ui-designer",get name(){return n.specialists_builtin_uiDesigner_name()},get description(){return n.specialists_builtin_uiDesigner_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"vulnerability-scanner",icon:"pr-reviewer",get name(){return n.specialists_builtin_vulnerabilityScanner_name()},get description(){return n.specialists_builtin_vulnerabilityScanner_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"developer",icon:"verifier",get name(){return n.specialists_builtin_developer_name()},get description(){return n.specialists_builtin_developer_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"product-manager",icon:"coordinator",get name(){return n.specialists_builtin_productManager_name()},get description(){return n.specialists_builtin_productManager_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"maintenance-coordinator",icon:"ralph",get name(){return n.specialists_builtin_maintenanceCoordinator_name()},get description(){return n.specialists_builtin_maintenanceCoordinator_description()},defaultBehaviorPrompt:"",promptUnavailable:!0},{id:"chief-of-staff",icon:"chief-of-staff",get name(){return n.specialists_builtin_chiefOfStaff_name()},get description(){return n.specialists_builtin_chiefOfStaff_description()},hidden:!0,defaultBehaviorPrompt:"",promptUnavailable:!0}],J=new Set(["pr-reviewer"]),zr="developer";function jr(e){return A.find(t=>t.id===e)}const st=a.createSelector(e=>e.githubAuth.mutationRequestId),it=a.createSelector(e=>e.githubAuth.callbacksCancelled),at=a.createSelector(e=>e.githubAuth.isDisconnecting),X=a.createSelector(e=>e.githubAuth.isAuthenticated),nt=a.createSelector(e=>e.githubAuth.statusSettled===!0),ot=a.createSelector(e=>e.githubAuth.requiresDaemonAuth),ct=a.createSelector(e=>e.githubAuth.user),lt=a.createSelector(e=>e.githubAuth.isAuthenticating),dt=a.createSelector(e=>e.githubAuth.deviceFlow),ut=a.createSelector(e=>e.githubAuth.error),Kr=Object.freeze(Object.defineProperty({__proto__:null,selectGitHubAuthCallbacksCancelled:it,selectGitHubAuthDeviceFlow:dt,selectGitHubAuthError:ut,selectGitHubAuthIsAuthenticated:X,selectGitHubAuthIsAuthenticating:lt,selectGitHubAuthIsDisconnecting:at,selectGitHubAuthMutationRequestId:st,selectGitHubAuthRequiresDaemonAuth:ot,selectGitHubAuthStatusSettled:nt,selectGitHubAuthUser:ct},Symbol.toStringTag,{value:"Module"}));function u(e){return e??""}function pt(e,t){const r=e??[],s=t??[];return r.length===s.length&&r.every((i,o)=>u(i.provider)===u(s[o].provider)&&i.model===s[o].model&&i.hint===s[o].hint&&u(i.reasoningEffort)===u(s[o].reasoningEffort))}function K(e,t){if(e.source!=="user"||!t?.ignoreModelPin&&(e.model||e.codingAgent))return!1;const r=e.bundled;return r?u(e.name)===u(r.name)&&u(e.description)===u(r.description)&&u(e.behaviorPrompt)===u(r.behaviorPrompt)&&u(e.roleReminder)===u(r.roleReminder)&&u(e.reasoningEffort)===u(r.reasoningEffort)&&pt(e.modelOptions,r.modelOptions):!1}const Yr=a.createSelector(e=>e.specialists.bundledSpecialists),gt=a.createSelector(e=>e.specialists.fileSpecialists),Zr=a.createSelector(e=>y(gt.select(e))),Qr=a.createSelector(e=>e.specialists.userOverrides);a.createSelector(e=>e.specialists.overridesLoaded);const Jr=a.createSelector(e=>e.specialists.customSpecialistsLoaded),Xr=a.createSelector(e=>e.specialists.fileSpecialistsLoaded),es=a.createSelector(e=>e.specialists.bundledSpecialistsLoaded),ts=a.createSelector(e=>e.specialists.specialistsFolderPath),rs=a.createSelector((e,t)=>{if(!t)return e.specialists.defaultSpecialistId??"";const r=e.providerCatalog?.byWorkspaceId?.[t]?.settings.find(s=>s.path==="specialists.default")?.value;return typeof r=="string"?r:""});a.createSelector(e=>e.specialists.providerModelOverrides);const O=a.createSelector((e,t)=>!(J.has(t)&&!X.select(e)));function ht(e,t){return t?e:e.filter(r=>!J.has(r.id))}function ft(e,t){return ht(e,t).filter(r=>!r.hidden)}function ss(e,t){return ft(e,t).filter(r=>r.role!=="internal")}const v=a.createSelector((e,t)=>{if(t)return(e.providerCatalog?.byWorkspaceId?.[t]?.specialists??[]).map(c=>({...c,defaultModel:c.model,defaultBehaviorPrompt:c.behaviorPrompt??c.prompt??"",defaultAgentType:c.agentType}));const r=y(e.specialists.fileSpecialists),s=e.specialists.bundledSpecialists,i=new Set,o=[];for(const c of r)!i.has(c.id)&&O.select(e,c.id)&&(i.add(c.id),o.push({id:c.id,name:c.name,description:c.description,codingAgent:c.codingAgent,defaultModel:c.model||void 0,defaultBehaviorPrompt:c.behaviorPrompt,roleReminder:c.roleReminder,source:c.source,importedFrom:c.importedFrom,unsupportedFields:c.unsupportedFields,requiredSkills:c.requiredSkills,missingSkills:c.missingSkills,hidden:c.hidden,resolvedModel:c.resolvedModel,resolvedProvider:c.resolvedProvider,modelOptions:c.modelOptions,reasoningEffort:c.reasoningEffort,role:c.role,teamAgents:c.teamAgents,icon:c.icon}));for(const c of s)!i.has(c.id)&&O.select(e,c.id)&&(i.add(c.id),o.push(c));if(!e.specialists.bundledSpecialistsLoaded&&r.length===0&&s.length===0)for(const c of A)!i.has(c.id)&&O.select(e,c.id)&&(i.add(c.id),o.push(c));const l=new Map;for(const c of A)l.has(c.id)||l.set(c.id,l.size);for(const c of s)l.has(c.id)||l.set(c.id,l.size);return o.sort((c,g)=>{const f=l.has(c.id),b=l.has(g.id);return f&&b?(l.get(c.id)??0)-(l.get(g.id)??0):f&&!b?-1:!f&&b?1:c.name.localeCompare(g.name)}),o}),is=a.createSelector(e=>{const t=v.select(e).filter(s=>s.role==="orchestrator");if(t.length===0)return null;const r=new Set([...A.map(({id:s})=>s),...e.specialists.bundledSpecialists.map(({id:s})=>s)]);return t.sort((s,i)=>+!r.has(s.id)-+!r.has(i.id)||s.id.localeCompare(i.id)),t[0]}),St=a.createSelector((e,t)=>{const r=k(e.specialists.fileSpecialists,t);if(r)return{id:r.id,name:r.name,description:r.description,source:r.source};const s=e.specialists.bundledSpecialists.find(i=>i.id===t);if(s)return{id:s.id,name:s.name,description:s.description,source:"builtin"};if(!e.specialists.bundledSpecialistsLoaded&&y(e.specialists.fileSpecialists).length===0&&e.specialists.bundledSpecialists.length===0){const i=A.find(o=>o.id===t);if(i)return{id:i.id,name:i.name,description:i.description,source:"builtin"}}return null}),as=a.createSelector((e,t)=>St.select(e,t)?.name??null),ns=a.createSelector((e,t,r)=>{const i=v.select(e,r).find(o=>o.id===t);return i?i.defaultModel?i.defaultModel:i.resolvedModel??"":""}),os=a.createSelector((e,t,r)=>v.select(e,r).find(o=>o.id===t)?.defaultModel||void 0),cs=a.createSelector((e,t,r)=>v.select(e,r).find(o=>o.id===t)?.reasoningEffort||void 0),ls=a.createSelector((e,t,r)=>{const i=v.select(e,r).find(o=>o.id===t);return i?i.defaultBehaviorPrompt:""});function P(e,t){return t.some(r=>r.id===e)||A.some(r=>r.id===e)}const ds=a.createSelector((e,t,r)=>{if(r){const s=e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(i=>i.id===t);return!s||s.importedFrom?!1:s.source==="bundled"||s.source==="user"&&P(t,e.specialists.bundledSpecialists)}return P(t,e.specialists.bundledSpecialists)}),us=a.createSelector((e,t,r)=>r?!!H.select(e,t,r):!!k(e.specialists.fileSpecialists,t)),ps=a.createSelector((e,t,r)=>{if(r){const o=H.select(e,t,r);return!o||o.importedFrom||o.source==="project"?!1:P(t,e.specialists.bundledSpecialists)&&!K(o)}if(!P(t,e.specialists.bundledSpecialists))return!1;const i=k(e.specialists.fileSpecialists,t);return!i||i.source!=="user"?!1:!K(i)}),H=a.createSelector((e,t,r)=>{if(r){const s=e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(i=>i.id===t);return!s||s.source==="bundled"?void 0:{...s,source:s.source,model:s.model??"",behaviorPrompt:s.behaviorPrompt??s.prompt??"",filePath:s.path??""}}return k(e.specialists.fileSpecialists,t)}),gs=a.createSelector((e,t,r)=>{const s=H.select(e,t,r);return r&&!s?e.providerCatalog?.byWorkspaceId?.[r]?.specialists.some(i=>i.id===t)?"Built-in":null:s?.source==="project"?"Project":s?.source==="user"?"User":e.specialists.bundledSpecialists.some(i=>i.id===t)?"Built-in":null}),hs=a.createSelector((e,t,r)=>{if(r)return e.providerCatalog?.byWorkspaceId?.[r]?.specialists.find(o=>o.id===t)?.path;const s=k(e.specialists.fileSpecialists,t);if(s)return s.filePath;const i=e.specialists.bundledSpecialists.find(o=>o.id===t);if(i&&"filePath"in i)return i.filePath}),fs=a.createSelector((e,t,r)=>{if(r){const i=v.select(e,r).find(c=>c.id===t),o=i?.codingAgent||i?.resolvedProvider;if(o)return Ce.select(e,o,r);const l=Pe.select(e,r);return e.providerCatalog?.byWorkspaceId?.[r]?.readiness[l]?.available?l:""}const s=k(e.specialists.fileSpecialists,t);return s?.codingAgent?s.codingAgent:bt.select(e,t)}),bt=a.createSelector((e,t)=>{const s=v.select(e).find(i=>i.id===t);return s?.codingAgent?s.codingAgent:qe.select(e)?Q.select(e):""}),Ss=a.createSelector((e,t)=>{if(t)return e.providerCatalog?.byWorkspaceId?.[t]?.importDiagnostics??[];const r=e.specialists.importDiagnostics;return r?y(r):[]}),bs=a.createSelector((e,t)=>e.specialists.creationByContext?.[t]??Se),ms=a.createSelector(e=>Object.values(e.specialists.creationByContext??{}).flatMap(t=>t.specialistId?[t.specialistId]:[])),x=V("Clipboard");async function vs(e){let t;if(Le())try{const r=await Oe("system:write-clipboard",{text:e});if(r?.success===!1)throw new Error(r.error||"Electron clipboard write failed");return}catch(r){t=r,x.warn("Electron clipboard write failed; falling back to browser clipboard",{error:r})}if(typeof navigator<"u"&&navigator.clipboard?.writeText)try{await navigator.clipboard.writeText(e);return}catch(r){throw x.error("Browser clipboard write failed",r,{electronError:t}),r}throw x.error("No clipboard write API is available",void 0,{electronError:t}),t instanceof Error?t:new Error("Clipboard write API unavailable")}const _s=a.createSelector(e=>e.directoryPicker.source??"daemon"),As=a.createSelector(e=>e.directoryPicker.listing),ys=a.createSelector(e=>e.directoryPicker.loading),ks=a.createSelector(e=>e.directoryPicker.error),ws=a.createSelector(e=>e.directoryPicker.pathError),Es=a.createSelector(e=>e.directoryPicker.createError),mt=V("WorkspaceValidation");async function Cs(e,t=!1,r=!1){if(!e||e.trim().length===0)return{valid:!1,error:n.workspace_validation_repoPathRequired_error(),suggestion:n.workspace_validation_repoPathRequired_suggestion()};const s=e.trim();return vt(s)?At(s):yt(s,t,r)}function vt(e){return[/^https?:\/\/github\.com\//i,/^git@github\.com:/i,/^github\.com\//i,/^([a-zA-Z0-9\-_]+)\/([a-zA-Z0-9\-_\.]+)$/].some(r=>r.test(e.trim()))}function _t(e){const t=e.trim(),r=[/^https?:\/\/github\.com\/([^\/]+)\/([^\/]+)$/i,/^git@github\.com:([^\/]+)\/([^\/]+)$/i,/^github\.com\/([^\/]+)\/([^\/]+)$/i];for(const i of r){const o=t.match(i);if(o){const l=o[2].replace(/\.git$/,"");return l?{owner:o[1],repo:l}:null}}const s=t.match(/^([a-zA-Z0-9\-_]+)\/([a-zA-Z0-9\-_\.]+)$/);if(s&&!t.includes("\\")&&!t.includes(":")){const i=s[2].replace(/\.git$/,"");return i?{owner:s[1],repo:i}:null}return null}async function At(e){return _t(e)?{valid:!0,warning:n.workspace_validation_githubCloneLocally_warning()}:{valid:!1,error:n.workspace_validation_invalidGithubUrl_error(),suggestion:n.workspace_validation_invalidGithubUrl_suggestion()}}async function yt(e,t=!1,r=!1){if(e.includes("\0"))return{valid:!1,error:n.workspace_validation_nullCharacters_error()};if(!e.startsWith("/")&&!e.startsWith("~")&&!e.startsWith(".")&&!e.includes(":\\")&&!/^[a-zA-Z]:\//.test(e))return{valid:!1,error:n.workspace_validation_pathNotAbsolute_error(),suggestion:n.workspace_validation_pathNotAbsolute_suggestion()};if(typeof window<"u"&&window.electronAPI)try{const s=await D("file:getDirectoryStatus",{path:e});if(s.success&&s.data){const l=s.data;return l.exists?l.isDirectory?l.isGitRepo?{valid:!0,isNewRepo:!1,directoryStatus:l}:l.isSubdirectoryOfGitRepo?{valid:!0,isNewRepo:!1,directoryStatus:l,warning:n.workspace_validation_insideParentRepo_warning({path:l.parentGitRoot??""})}:r?{valid:!0,isNewRepo:!1,directoryStatus:l}:t?l.isEmpty?{valid:!0,isNewRepo:!0,directoryStatus:l,warning:n.workspace_validation_emptyDirInit_warning()}:{valid:!0,isNewRepo:!0,directoryStatus:l,warning:n.workspace_validation_nonGitDirInit_warning()}:{valid:!1,error:n.workspace_repoSelector_notGitRepository_label(),directoryStatus:l}:{valid:!1,error:n.workspace_validation_notDirectory_error(),suggestion:n.workspace_validation_notDirectory_suggestion(),directoryStatus:l}:t?{valid:!0,isNewRepo:!0,directoryStatus:l,warning:n.workspace_validation_willCreateRepo_warning()}:{valid:!1,error:n.workspace_validation_dirNotExist_error(),suggestion:n.workspace_validation_dirNotExist_suggestion(),directoryStatus:l}}if(!(await D("file:exists",{path:e})).exists)return t?{valid:!0,isNewRepo:!0,warning:n.workspace_validation_willCreateRepo_warning()}:{valid:!1,error:n.workspace_validation_dirNotExist_error(),suggestion:n.workspace_validation_dirNotExistLegacy_suggestion()};const o=await D("git:isRepository",{path:e});if(!t&&o?.isRepository!==!0)return{valid:!1,error:o?.isRepository===!1?n.workspace_repoSelector_notGitRepository_label():n.workspace_compactInitializer_gitCheckUnknown_label()};if(!o.isRepository)return{valid:!0,isNewRepo:!0,warning:n.workspace_validation_nonGitInit_warning()}}catch(s){if(mt.warn("Could not validate path existence",s),!t)return{valid:!1,error:n.workspace_compactInitializer_gitCheckUnknown_label()}}return{valid:!0,isNewRepo:!1}}function Ps(e){if(!e||e.trim().length===0)return{valid:!0};const t=e.trim();return/[\s~^:?*\[\]\\]/.test(t)?{valid:!1,error:n.workspace_validation_branchPrefixInvalidChars_error(),suggestion:n.workspace_validation_branchChars_suggestion()}:t==="."||t===".."||t.startsWith(".")?{valid:!1,error:n.workspace_validation_branchPrefixDot_error()}:t.includes("..")||t.includes("//")?{valid:!1,error:n.workspace_validation_branchPrefixConsecutive_error()}:t.startsWith("/")?{valid:!1,error:n.workspace_validation_branchPrefixSlash_error()}:t.endsWith(".lock")?{valid:!1,error:n.workspace_validation_branchPrefixLock_error()}:t.length>50?{valid:!1,error:n.workspace_validation_branchPrefixTooLong_error()}:{valid:!0}}function Rs(e){if(!e||e.trim().length===0)return"";let t=e.trim().replace(/^[./]+/,"").replace(/[\s~^:?*\[\]\\]/g,"-").replace(/\.{2,}/g,"-").replace(/\/{2,}/g,"/").replace(/-{2,}/g,"-").replace(/^-+/,"").replace(/\.lock$/,"").toLowerCase();return t.length>0&&!t.endsWith("/")&&!t.endsWith("-")&&(t=t.includes("/")?`${t}/`:`${t}/`),t}function Ms(e){if(!e||e.trim().length===0)return{valid:!1,error:n.workspace_validation_branchNameRequired_error()};const t=e.trim();return/[\s~^:?*\[\]\\]/.test(t)?{valid:!1,error:n.workspace_validation_branchNameInvalidChars_error(),suggestion:n.workspace_validation_branchChars_suggestion()}:["HEAD",".",".."].includes(t)?{valid:!1,error:n.workspace_validation_branchNameReserved_error()}:t.includes("..")||t.includes("//")?{valid:!1,error:n.workspace_validation_branchNameConsecutive_error()}:t.startsWith("/")||t.endsWith("/")?{valid:!1,error:n.workspace_validation_branchNameSlash_error()}:t.endsWith(".lock")?{valid:!1,error:n.workspace_validation_branchNameLock_error()}:{valid:!0}}function Ts(e){return!e||e.trim().length===0?{valid:!0}:e.trim().length>1e5?{valid:!1,error:n.workspace_validation_promptTooLong_error(),suggestion:n.workspace_validation_promptTooLong_suggestion()}:{valid:!0}}function Is(e){const t=e.toLowerCase();return t.includes("maxbuffer")?n.workspace_gitError_maxBuffer():t.includes("clone")&&t.includes("timed out")?n.workspace_gitError_cloneTimeout():t.includes("json-rpc request timed out: workspace.create")?n.workspace_gitError_createTimeout():t.includes("timed out")&&["git","clone","fetch","worktree","pull","push","rebase","merge"].some(r=>t.includes(r))?n.workspace_gitError_gitTimeout():t.includes("git clone failed")?t.includes("could not read from remote")?n.workspace_gitError_cloneRemote():t.includes("authentication")||t.includes("permission denied")||t.includes("access denied")?n.workspace_gitError_cloneAuth():n.workspace_gitError_cloneFailed():t.includes("could not resolve any ref to create worktree")?n.workspace_gitError_worktreeRef():t.includes("failed to write file")?t.includes("eacces")||t.includes("permission denied")?n.workspace_gitError_writePermission():t.includes("enospc")||t.includes("disk space")?n.workspace_gitError_diskSpaceFree():t.includes("enoent")||t.includes("no such file")?n.workspace_gitError_writeNoEnt():e:t.includes("failed to read file")?t.includes("enoent")||t.includes("no such file")?n.workspace_gitError_readNotFound():t.includes("eacces")||t.includes("permission denied")?n.workspace_gitError_readPermission():e:t.includes("permission denied")?n.workspace_gitError_permissionDenied():t.includes("not found")||t.includes("enoent")?n.workspace_gitError_notFound():t.includes("already exists")?n.workspace_gitError_alreadyExists():t.includes("network")||t.includes("etimedout")?n.workspace_gitError_network():t.includes("authentication")||t.includes("401")?t.includes("private repositor")?e:n.workspace_gitError_authFailed():t.includes("rate limit")||t.includes("403")?n.workspace_gitError_rateLimit():t.includes("disk space")||t.includes("enospc")?n.workspace_gitError_diskSpace():e}const kt=["idle","exited"];function wt(e){return e===void 0||!kt.includes(e)}function Fs(e){return e.status==="restarting"?"restarting":wt(e.status)?"running":e.status==="idle"?"idle":e.exitCode===0?"succeeded":e.exitCode===null||e.exitCode===void 0?"exited":e.exitCode>=128?"stopped":"failed"}function Et(e){return e.engine==="os"?"os":e.isLoading||e.keyConfigured[e.provider]===!0?"daemon":e.osEngineAvailable?"os":"unavailable"}const Ds=a.createSelector(e=>e.voiceSettings.isLoading),Ls=a.createSelector(e=>e.voiceSettings.available),Os=a.createSelector(e=>e.voiceSettings.provider),xs=a.createSelector(e=>e.voiceSettings.engine),Ws=a.createSelector(e=>e.voiceSettings.osEngineAvailable),Ns=a.createSelector(e=>e.voiceSettings.keyConfigured),Bs=a.createSelector(e=>e.voiceSettings.vocabulary),Gs=a.createSelector(e=>e.voiceSettings.openaiModel),Vs=a.createSelector(e=>e.voiceSettings.language),Us=a.createSelector(e=>e.voiceSettings.workspaceVocabularyMaxTerms),Hs=a.createSelector(e=>e.voiceSettings.inputDeviceId),qs=a.createSelector(e=>e.voiceSettings.inputDevices),$s=a.createSelector(e=>e.voiceSettings.busyProvider),zs=a.createSelector(e=>e.voiceSettings.error),js=a.createSelector(e=>Re.select(e)?"unavailable":Et(e.voiceSettings)),B="intent.voice.inputDevice";let G;function Ct(){if(G!==void 0)return G;try{const e=localStorage.getItem(B);return typeof e=="string"&&e!==""?e:null}catch{return null}}function Ks(e){G=e;try{e===null?localStorage.removeItem(B):localStorage.setItem(B,e)}catch{}}let R=null;function Ys(e){R=e}function Zs(){const e=R;return R=null,e}function Pt(){R=null}const Rt=300,Mt=300;class Tt{constructor(t){d(this,"holdThresholdMs");d(this,"doublePressWindowMs");d(this,"onRecordStart");d(this,"onRecordStop");d(this,"currentState","idle");d(this,"timer",null);this.holdThresholdMs=t.holdThresholdMs??Rt,this.doublePressWindowMs=t.doublePressWindowMs??Mt,this.onRecordStart=t.onRecordStart,this.onRecordStop=t.onRecordStop}get state(){return this.currentState}keyDown(){switch(this.currentState){case"idle":this.currentState="first-press",this.armTimer(this.holdThresholdMs,()=>{this.currentState="holding"}),this.onRecordStart();break;case"await-second-press":this.clearTimer(),this.currentState="second-press",this.armTimer(this.holdThresholdMs,()=>{this.currentState="holding-send"});break;case"latched":this.currentState="latched-press";break;case"latched-await-second":this.clearTimer(),this.currentState="draining",this.onRecordStop({stopReason:"double-press",autoSend:!0});break}}keyUp(){switch(this.currentState){case"first-press":this.clearTimer(),this.currentState="await-second-press",this.armTimer(this.doublePressWindowMs,()=>{this.currentState="latched"});break;case"holding":this.currentState="idle",this.onRecordStop({stopReason:"hold-release",autoSend:!1});break;case"second-press":this.clearTimer(),this.currentState="idle",this.onRecordStop({stopReason:"double-press",autoSend:!0});break;case"holding-send":this.currentState="idle",this.onRecordStop({stopReason:"double-hold-release",autoSend:!0});break;case"latched-press":this.currentState="latched-await-second",this.armTimer(this.doublePressWindowMs,()=>{this.currentState="idle",this.onRecordStop({stopReason:"latch-stop",autoSend:!1})});break;case"draining":this.currentState="idle";break}}reset(){this.clearTimer(),this.currentState="idle"}armTimer(t,r){this.clearTimer(),this.timer=setTimeout(()=>{this.timer=null,r()},t)}clearTimer(){this.timer!==null&&clearTimeout(this.timer),this.timer=null}}let M=null;function Qs(e){M=e}function Js(){const e=M;return M=null,e}function It(){M=null}const Ft=66;function Dt(e,t){const r=globalThis.AudioContext;if(typeof r!="function")return()=>{};let s,i,o;try{s=new r,i=s.createMediaStreamSource(e),o=s.createAnalyser(),o.fftSize=1024,o.smoothingTimeConstant=.5,o.minDecibels=-85,o.maxDecibels=-25,i.connect(o)}catch{return i?.disconnect(),s?.close().catch(()=>{}),()=>{}}if(!s||!i)return()=>{};const l=s,c=i,g=new Uint8Array(o.frequencyBinCount),f=setInterval(()=>{o.getByteFrequencyData(g),t(tt(g,l.sampleRate))},Ft);let b=!1;return()=>{b||(b=!0,clearInterval(f),c.disconnect(),l.close().catch(()=>{}))}}const Lt=12e4,Ot=["audio/webm;codecs=opus","audio/webm"];function Xs(){return typeof navigator<"u"&&typeof navigator.mediaDevices?.getUserMedia=="function"&&typeof MediaRecorder<"u"}function xt(e){return e?{audio:{deviceId:{ideal:e}}}:{audio:!0}}function Wt(){if(!(typeof MediaRecorder>"u"||typeof MediaRecorder.isTypeSupported!="function"))return Ot.find(e=>MediaRecorder.isTypeSupported(e))}class Nt{constructor(t){d(this,"maxDurationMs");d(this,"now");d(this,"callbacks");d(this,"deviceId");d(this,"onLevels");d(this,"stopMeter",null);d(this,"currentState","idle");d(this,"recorder",null);d(this,"stream",null);d(this,"chunks",[]);d(this,"startedAt",0);d(this,"maxTimer",null);d(this,"discardRequested",!1);d(this,"cancelRequested",!1);this.maxDurationMs=t.maxDurationMs??Lt,this.now=t.now??Date.now,this.callbacks={onFinished:t.onFinished,onError:t.onError},this.deviceId=t.deviceId??null,this.onLevels=t.onLevels}get state(){return this.currentState}async start(){if(this.currentState!=="idle")return"discarded";this.currentState="starting";let t;try{t=await navigator.mediaDevices.getUserMedia(xt(this.deviceId))}catch(i){const o=this.discardRequested;return this.currentState="stopped",o||this.callbacks.onError(i),o?"discarded":"error"}if(this.discardRequested){for(const i of t.getTracks())i.stop();return this.currentState="stopped","discarded"}this.stream=t;const r=Wt(),s=r?new MediaRecorder(t,{mimeType:r}):new MediaRecorder(t);return this.recorder=s,s.ondataavailable=i=>{i.data&&i.data.size>0&&this.chunks.push(i.data)},s.onstop=()=>this.handleRecorderStop(),s.onerror=i=>this.handleRecorderError(i),s.start(),this.startedAt=this.now(),this.currentState="recording",this.maxTimer=setTimeout(()=>this.stop(),this.maxDurationMs),this.onLevels&&(this.stopMeter=Dt(t,this.onLevels)),"recording"}stop(){if(this.currentState==="starting"){this.discardRequested=!0;return}this.currentState==="recording"&&this.recorder?.stop()}cancel(){if(this.currentState==="starting"){this.discardRequested=!0;return}this.currentState==="recording"&&(this.cancelRequested=!0,this.recorder?.stop())}handleRecorderStop(){const t=this.now()-this.startedAt,r=this.recorder?.mimeType||"audio/webm",s=this.chunks,i=this.cancelRequested;this.teardown(),!i&&this.callbacks.onFinished({blob:new Blob(s,{type:r}),durationMs:t,mimeType:r})}handleRecorderError(t){const r=t?.error??t;this.teardown(),this.callbacks.onError(r)}teardown(){this.maxTimer!==null&&clearTimeout(this.maxTimer),this.maxTimer=null,this.stopMeter?.(),this.stopMeter=null,this.recorder&&(this.recorder.ondataavailable=null,this.recorder.onstop=null,this.recorder.onerror=null),this.recorder=null;for(const t of this.stream?.getTracks()??[])t.stop();this.stream=null,this.chunks=[],this.currentState="stopped"}}const Bt=300;function Gt(e){const t=e?.name;return t==="NotAllowedError"||t==="SecurityError"}const Vt={stopReason:"manual",autoSend:!1};let p=null,m=null,_=0,E=null;const I=new Tt({onRecordStart:()=>{E&&Ut(E)},onRecordStop:e=>{ee(E,e)}});function ei(){return p!==null}function ti(){return p}function ri(e){E=e,_+=1,_===1&&I.keyDown()}function si(e){E=e,_!==0&&(_-=1,_===0&&I.keyUp())}function Ut(e,t="key"){if(p!==null)return;It(),Pt();const r=new Nt({deviceId:Ct(),onLevels:s=>{p===r&&e.dispatch(me(s))},onFinished:s=>{p===r&&(p=null);const i=m??{stopReason:"auto-stop",autoSend:!1},o=m!==null;if(m=null,e.dispatch(C()),o||I.reset(),s.durationMs<Bt){i.autoSend&&e.dispatch(N());return}e.dispatch(be({...s,stopReason:i.stopReason,autoSend:i.autoSend}))},onError:s=>{p===r&&(p=null),m=null,e.dispatch(C()),e.showHint(Gt(s)?n.hardwareConsole_ptt_micDenied_message():n.hardwareConsole_ptt_recordingFailed_message())}});p=r,e.dispatch(ve({source:t,startedAt:Date.now()})),r.start().then(s=>{if(s!=="recording"&&(p===r&&(p=null),s==="discarded")){const i=m?.autoSend===!0;m=null,e.dispatch(C()),i&&e.dispatch(N())}})}function ee(e,t){const r=p;if(r===null){t.autoSend&&e?.dispatch(N());return}m=t,r.stop()}function ii(){ee(null,Vt)}function ai(e){I.reset(),_=0,m=null;const t=p;t!==null&&(p=null,t.cancel(),e.dispatch(C()))}const Ht=V("HardwareConsoleVoiceSetupToast"),qt="hardware-console-voice-setup";let W=null;function $t(){return W||(W=he(()=>Promise.resolve().then(()=>rt),void 0,import.meta.url).then(e=>e.notify)),W}function zt(){xe("/settings?tab=connections#voice").catch(e=>{Ht.error("Failed to open voice settings from setup toast",e)})}function jt(){return{label:n.hardwareConsole_voice_openSettings_label(),onClick:()=>zt()}}function ni(){$t().then(e=>{e.error(n.hardwareConsole_voice_noKey_error(),{id:qt,action:jt()})})}const oi=a.createSelector(e=>e.externalEditors.selectedAction),Kt=a.createSelector(e=>e.externalEditors.editors),Yt=a.createSelector(e=>{const t=y(Kt.select(e)),r=e.externalEditors.editorOrder??[];if(!r.length)return t;const s=new Map(t.map(l=>[l.id,l])),i=r.flatMap(l=>{const c=s.get(l);return c?[c]:[]}),o=new Set(r);return[...i,...t.filter(({id:l})=>!o.has(l))]}),ci=a.createSelector(e=>e.externalEditors.editorOrder??[]),li=a.createSelector(e=>e.externalEditors.loading),di=a.createSelector(e=>e.externalEditors.lastFetched),Zt=a.createSelector(e=>e.externalEditors.hiddenEditorIds),ui=a.createSelector((e,t)=>{if(!(t?Me.select(e,t):Te.select(e))||_e())return[];const s=Zt.select(e);return Yt.select(e).filter(i=>i.installed&&!s.includes(i.id))});function pi(e,t){if(!e||!t||t===e.providerId)return!1;const r=e.providerSettings[t];return!!(r&&[r.defaultModel,...Object.values(r.typeOverrides??{})].some(s=>typeof s=="string"&&s.includes(":")))}let Qt=0;function Jt(e,t){const r=++Qt;return a.dispatch(ye(e,t,r)),r}function gi(e,t,r){a.dispatch(Ae(e,t,r))}async function te(e,t,r,s){const i=crypto.randomUUID(),o=s?.source??"control";try{return(await a.dispatch(ke({requestId:i,consumerId:o,agentId:e,workspaceId:t,operation:r,connection:Z.select(a.state)},{...s,intent:s?.intent??Jt(e,t)}))).status==="success"}finally{a.dispatch(we(i,o))}}async function hi(e,t,r,s,i){return te(e,t,{kind:"effort",effort:r,previous:s},i)}async function fi(e,t,r,s,i){return te(e,t,{kind:"reconcile",current:r??null,levels:s},i)}const Xt=a.createSelector((e,t)=>y(e.agentModel.mutations).filter(r=>r.consumerId===t)),Si=a.createSelector((e,t)=>Xt.select(e,t).some(r=>r.status==="pending")),bi=a.createSelector((e,t,r)=>{const s=e.agentSessions.byAgentId[t],i=Ie.select(e,t),o=We.select(e,t),l=e.daemonHealth.stats?.protocolVersion,c=Ne(l),g=c?Be(s?.model,null,o):s?.model;return{session:s,providerId:i,levels:o,legacy:c,identity:JSON.stringify([g,i]),connection:Z.select(e),canWrite:!!s&&s.workspaceId===r&&!Fe.select(e,r)}});function er(e,t,r=!1){const s=t?.available===!0&&t.viaNpx!==!0;return e!=="auggie"||s||r}const mi=a.createSelector(e=>$e.select(e)?null:U.select(e)),tr=a.createSelector(e=>e.providerCatalog?.workspaceEpoch??0),S=a.createSelector((e,t)=>t?e.providerCatalog?.byWorkspaceId?.[t]:void 0),vi=a.createSelector(e=>Object.keys(e.providerCatalog?.byWorkspaceId??{})),_i=a.createSelector((e,t)=>!!S.select(e,t)&&e.providerCatalog.workspaceSnapshotEpochs?.[t]===tr.select(e)),re=a.createSelector((e,t)=>t?S.select(e,t)?.catalog.providers??[]:De.select(e)),se=a.createSelector((e,t)=>{if(!t)return Q.select(e);const r=S.select(e,t)?.settings.find(s=>s.path==="model.defaultProvider")?.value;return typeof r=="string"?r:""}),q=a.createSelector((e,t)=>{if(!t)return ze.select(e);const r=S.select(e,t)?.settings.find(s=>s.path==="providers.enabled")?.value;return r&&typeof r=="object"?r:{}}),ie=a.createSelector((e,t)=>{if(!t)return je.select(e);const r=q.select(e,t),s=se.select(e,t),i=S.select(e,t)?.readiness??{};return re.select(e,t).filter(o=>o.visible&&(!o.canBeDisabled||r[o.id]||o.id===s)&&i[o.id]?.available).map(o=>o.id)}),Ai=a.createSelector((e,t)=>{const r=q.select(e,t),s=t?S.select(e,t)?.readiness??{}:U.select(e);return re.select(e,t).filter(i=>er(i.id,s[i.id],r[i.id]===!0)).map(i=>i.id)}),yi=a.createSelector((e,t)=>t?ie.select(e,t):Ke.select(e)),ki=a.createSelector((e,t)=>v.select(e,t)),wi=a.createSelector((e,t)=>t?!!S.select(e,t):Ye.select(e)),Ei=a.createSelector((e,t)=>{if(!t)return Ge.select(e);const r=S.select(e,t)?.settings??[],s=se.select(e,t),i=r.find(c=>c.path==="model.providerDefaults")?.value,o=i&&typeof i=="object"?i[s]:void 0;if(typeof o=="string")return o;const l=r.find(c=>c.path==="model.default")?.value;return typeof l=="string"?l:""}),Ci=a.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).flatMap(([r,s])=>s.warning?[[r,s.warning]]:[])):Ve.select(e)),Pi=a.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).map(([r,s])=>[r,s.stale===!0])):Ue.select(e)),Ri=a.createSelector((e,t)=>t?Object.fromEntries(Object.entries(e.providerModels?.byWorkspaceId?.[t]??{}).flatMap(([r,s])=>s.warning&&s.warningKind?[[r,s.warningKind]]:[])):He.select(e)),Mi=a.createSelector((e,t,r)=>{if(!r)return Ze.select(e,t);const s=q.select(e,r),i=S.select(e,r);return ie.select(e,r).filter(o=>o!==t&&(s[o]||i?.catalog.providers.find(l=>l.id===o)?.canBeDisabled===!1)&&Qe(o,i?.readiness[o]?.authenticated))}),Ti=a.createSelector((e,t)=>t?S.select(e,t)?.readiness??{}:U.select(e)),rr={},Ii=a.createSelector(e=>e.providerSettings?.profiles?.status??rr),Y={},sr=a.createSelector((e,t)=>t?e.providerCatalog?.byWorkspaceId?.[t]?.mcpServers??[]:e.mcpSettings.servers),Fi=a.createSelector((e,t,r)=>{const s=e.providerCatalog?.byWorkspaceId?.[t];return s?s.mcpServers?.find(i=>i.id===r)?.name:e.providerCatalog?.mcpServerNamesByWorkspaceId?.[t]?.[r]}),Di=a.createSelector(e=>e.mcpSettings.loading),Li=a.createSelector(e=>e.mcpSettings.error),Oi=a.createSelector(e=>e.mcpSettings.mutationError??null),xi=a.createSelector(e=>e.mcpSettings.enabled),ir=a.createSelector(e=>e.mcpSettings.disabledServers),ar=a.createSelector(e=>e.mcpSettings.statusMap),nr=a.createSelector(e=>e.mcpSettings.toolsMap),or=a.createSelector((e,t)=>{if(!t)return e.mcpSettings.errorMessages;const r=e.providerCatalog?.byWorkspaceId?.[t],s=new Map(r?.mcpServers?.map(i=>[i.id,w(i)])??[]);return Object.fromEntries((r?.mcpStatuses??[]).flatMap(i=>{const o=s.get(i.serverId);return o&&i.lastError?[[o,i.lastError]]:[]}))}),cr=a.createSelector((e,t)=>t?e.mcpSettings.byWorkspaceId[t]?.disabledServers??Y:Y),Wi=a.createSelector((e,t)=>Object.keys(cr.select(e,t))),Ni=a.createSelector(e=>{const t=sr.select(e),r=ar.select(e),s=nr.select(e),i=ir.select(e),o=or.select(e);return t.map(l=>{const c=w(l)in i,g=s[w(l)]||[];let f=r[w(l)]||"disconnected";return c&&(f="disabled"),{...l,disabled:c,status:f,tools:g,toolCount:g.length,errorMessage:o[w(l)]}})});a.createSelector((e,t)=>e.mcpSettings.errorMessages[t]);const Bi=a.createSelector(e=>e.mcpSettings.lastImportedCount),Gi=a.createSelector(e=>e.mcpSettings.advancedSaveStatus),Vi=a.createSelector(e=>e.mcpSettings.advancedSaveError);function h(e){return{category:"settings",...e}}const T=[{id:"new-workspace",tab:"",label:"New workspace",route:"/workspace/new",category:"navigation",description:"Create-workspace flow."},h({id:"utility-default-model",tab:"providers",hashAliases:["utility-default-model","default-model","quickActions.defaultModel","backgroundAgents.defaultModel"],scrollSelector:"#utility-default-model",highlightSelector:'[data-highlight-id="utility-default-model"]',label:"Settings: Default model",route:"/settings?tab=providers#utility-default-model",description:"Default AI behavior model selection."}),h({id:"global-instructions",tab:"agent-behavior",hashAliases:["global-instructions","agents","specialists","all-agents"],scrollSelector:"#global-instructions",highlightSelector:'[data-highlight-id="global-instructions"]',label:"Settings: Agent Behavior",route:"/settings?tab=agent-behavior#global-instructions",description:"Global agent instructions and defaults."}),h({id:"create-specialist",tab:"specialists",hashAliases:["create-specialist"],scrollSelector:"#create-specialist",highlightSelector:'[data-highlight-id="create-specialist"]',label:"Settings: Create specialist",route:"/settings?tab=specialists&view=create-specialist#create-specialist",description:"Create-specialist entry point."}),h({id:"providers",tab:"providers",hashAliases:["providers"],scrollSelector:"#providers",highlightSelector:'[data-highlight-id="providers"]',label:"Settings: AI coding CLIs",route:"/settings?tab=providers#providers",description:"Provider/account selector settings."}),h({id:"integrations",tab:"connections",hashAliases:["integrations"],scrollSelector:"#integrations",highlightSelector:'[data-highlight-id="integrations"]',label:"Settings: Connections",route:"/settings?tab=connections#integrations",description:"Connected integrations settings."}),h({id:"devices",tab:"devices",hashAliases:["devices","machines"],scrollSelector:"#devices",highlightSelector:"#devices",label:"Settings: Machines",route:"/settings?tab=devices#devices",description:"Saved remote machine settings."}),h({id:"mobile",tab:"mobile",hashAliases:["mobile"],scrollSelector:"#mobile",highlightSelector:'[data-highlight-id="mobile"]',label:"Settings: Mobile",route:"/settings?tab=mobile#mobile",description:"Remote access and Intent Mobile pairing."}),h({id:"guest-sessions",tab:"collaboration",hashAliases:["collaboration","guest-sessions","sharing"],scrollSelector:"#collaboration",highlightSelector:"#collaboration",label:"Settings: Collaboration",route:"/settings?tab=collaboration#collaboration",description:"Host membership, workspace guests and joined hosts."}),h({id:"websocket-api",tab:"mobile",hashAliases:["websocket-api","remote-access"],scrollSelector:"#websocket-api",highlightSelector:'[data-highlight-id="websocket-api"]',label:"Settings: Remote Access",route:"/settings?tab=mobile#websocket-api",description:"Remote access (WebSocket API) settings."}),...[["voice","Voice Dictation","Voice dictation settings.","input"],["keyboard-shortcuts","Keyboard Shortcuts","Keyboard shortcuts reference.","input"],["autocomplete","Autocomplete","Suggest as you type: service, model and API keys.","input"],["mcp-servers","MCP Servers","MCP server configuration.","connections"],["plugins","Plugins","App-wide Agent Plugins.","connections"],["git-workspace","Git & Workspace","Git and workspace defaults.","setup"],["git","Git","Git defaults.","setup"],["shell","Shell","Shell settings.","setup"],["workspace","Workspace","Workspace defaults.","setup"],["cli-optimization","CLI Optimization","RTK/CLI optimization settings.","token-savings"],["workspace-api","Tool Output & Retention","Tool output size and retention settings.","advanced"],["notifications","Notifications","Notification preferences.","app-behavior"],["updates","Updates","Application update preferences.","app-behavior"],["open-in","Open In","External editor/app launch preferences.","app-behavior"],["github-link-action","GitHub Links","GitHub issue and pull request link behavior.","app-behavior"],["agent-features","Agent Features","Agent feature settings.","token-savings"],["font-style","Font style","Font style settings.","display"],["language","Language","Application language settings.","display"],["labs","Labs","Experimental feature switches.","advanced"],["agent-backend","Agent Backend","Agent backend settings.","performance"],["connection","Connection","Daemon connection details.","advanced"],["hardware","Hardware","Hardware integration settings.","input"],["developer","Developer","Development-only settings.","advanced"]].map(([e,t,r,s])=>h({id:e,tab:s,hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=${s}#${e}`,description:r})),h({id:"appearance",tab:"display",hashAliases:["appearance","theme"],scrollSelector:"#theme",highlightSelector:'[data-highlight-id="appearance"]',label:"Settings: Appearance",route:"/settings?tab=display#theme",description:"Theme mode controls."}),...[["color-theme","Color theme","Color theme selection."],["note-font","Notes font","Notes/spec font style."],["agent-chat-font","Agent chat font","Agent chat font style."],["code-font","Code font","Code editor and diff font."]].map(([e,t,r])=>h({id:e,tab:"display",hashAliases:[e],scrollSelector:`#${e}`,highlightSelector:`[data-highlight-id="${e}"]`,label:`Settings: ${t}`,route:`/settings?tab=display#${e}`,description:r})),h({id:"general",tab:"advanced",hashAliases:["general","reset"],scrollSelector:"#reset",highlightSelector:'[data-highlight-id="general"]',label:"Settings: Advanced",route:"/settings?tab=advanced#reset",description:"Advanced settings and reset controls."}),{id:"workspace-card",tab:"",hashAliases:["workspace-card"],highlightSelector:'[data-highlight-id^="workspace-"]',label:"Workspace card",category:"workspace",description:"A workspace card on workspace list surfaces.",dynamic:!0,idPattern:"workspace-{workspaceId}"},{id:"specialist-entry",tab:"specialists",highlightSelector:'[data-highlight-id^="specialist-"]',label:"Specialist entry",route:"/settings?tab=specialists&specialist={specialistId}#specialist-{specialistId}",category:"specialist",description:"A specific specialist row in settings.",dynamic:!0,idPattern:"specialist-{specialistId}"}];function ae(e){const t=e.indexOf("#"),r=t>=0?e.slice(t+1):e;return decodeURIComponent(r.replace(/^#/,"")).trim()}function lr(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function dr(e,t){if(!t.match(/\{[^}]+\}/g)?.length)return e===t;const s=t.split(/\{[^}]+\}/g).map(lr).join("[^/]+");return new RegExp(`^${s}$`).test(e)}function ur(e){const t=ae(e);if(!t)return;const r=T.find(i=>i.id===t||i.hashAliases?.includes(t));if(r)return r;const s=T.find(i=>i.route&&i.dynamic&&i.idPattern&&dr(t,i.idPattern));return s?{...s,id:t}:void 0}function Ui(){return T.map(e=>({...e,hashAliases:e.hashAliases?[...e.hashAliases]:void 0}))}function pr(e){try{return new URL(e,"app://intent").pathname||"/"}catch{const t=e.indexOf("?"),r=e.indexOf("#");let s=e.length;return t>=0&&(s=Math.min(s,t)),r>=0&&(s=Math.min(s,r)),e.slice(0,s)||"/"}}const gr=new Set(T.flatMap(e=>e.route?[pr(e.route)]:[])),hr=[/^\/workspace\/[^/]+$/,/^\/agent\/[^/]+$/];function Hi(e){if(typeof e!="string")return!1;const t=e.trim();if(!t)return!1;if(t.startsWith("intent://"))return!0;let r,s;try{const i=new URL(t,"app://intent");if(i.protocol!=="app:")return!1;r=i.pathname||"/",s=ae(i.hash)}catch{return!1}return gr.has(r)?s?!!ur(s):!0:hr.some(i=>i.test(r))}const qi=["agentFeatures.backgroundHooks","agentFeatures.hostExec","agentFeatures.secretRequests","agentFeatures.scripts","agentFeatures.terminalAccess","agentFeatures.browserAutomation","agentFeatures.desktopControl","agentFeatures.richChatBlocks","agentFeatures.structuredQuestions","agentFeatures.attentionRequests","agentFeatures.stateSnapshot","agentFeatures.prMonitor","agentFeatures.taskGraph","agentFeatures.peerAgents","agentFeatures.mcpTools"],fr=[{path:"agentFeatures.backgroundHooks",label:()=>n.settings_agentFeatures_backgroundHooks_label(),description:()=>n.settings_agentFeatures_backgroundHooks_description(),defaultValue:!0},{path:"agentFeatures.hostExec",label:()=>n.settings_agentFeatures_hostExec_label(),description:()=>n.settings_agentFeatures_hostExec_description(),defaultValue:!0},{path:"agentFeatures.secretRequests",label:()=>n.settings_agentFeatures_secretRequests_label(),description:()=>n.settings_agentFeatures_secretRequests_description(),defaultValue:!1},{path:"agentFeatures.scripts",label:()=>n.settings_agentFeatures_scripts_label(),description:()=>n.settings_agentFeatures_scripts_description(),defaultValue:!0},{path:"agentFeatures.terminalAccess",label:()=>n.settings_agentFeatures_terminalAccess_label(),description:()=>n.settings_agentFeatures_terminalAccess_description(),defaultValue:!0},{path:"agentFeatures.browserAutomation",label:()=>n.settings_agentFeatures_browserAutomation_label(),description:()=>n.settings_agentFeatures_browserAutomation_description(),defaultValue:!0},{path:"agentFeatures.desktopControl",label:()=>n.settings_agentFeatures_desktopControl_label(),description:()=>n.settings_agentFeatures_desktopControl_description(),info:()=>n.settings_agentFeatures_desktopControl_info(),defaultValue:!0},{path:"agentFeatures.richChatBlocks",label:()=>n.settings_agentFeatures_richChatBlocks_label(),description:()=>n.settings_agentFeatures_richChatBlocks_description(),defaultValue:!0},{path:"agentFeatures.structuredQuestions",label:()=>n.settings_agentFeatures_structuredQuestions_label(),description:()=>n.settings_agentFeatures_structuredQuestions_description(),defaultValue:!0},{path:"agentFeatures.attentionRequests",label:()=>n.settings_agentFeatures_attentionRequests_label(),description:()=>n.settings_agentFeatures_attentionRequests_description(),defaultValue:!0},{path:"agentFeatures.stateSnapshot",label:()=>n.settings_agentFeatures_stateSnapshot_label(),description:()=>n.settings_agentFeatures_stateSnapshot_description(),defaultValue:!0},{path:"agentFeatures.prMonitor",label:()=>n.settings_agentFeatures_prMonitor_label(),description:()=>n.settings_agentFeatures_prMonitor_description(),defaultValue:!0},{path:"agentFeatures.taskGraph",label:()=>n.settings_agentFeatures_taskGraph_label(),description:()=>n.settings_agentFeatures_taskGraph_description(),defaultValue:!0},{path:"agentFeatures.peerAgents",label:()=>n.settings_agentFeatures_peerAgents_label(),description:()=>n.settings_agentFeatures_peerAgents_description(),defaultValue:!0},{path:"agentFeatures.mcpTools",label:()=>n.settings_agentFeatures_mcpTools_label(),description:()=>n.settings_agentFeatures_mcpTools_description(),defaultValue:!0}],$i=Object.fromEntries(fr.map(e=>[e.path,e.defaultValue]));export{Ri as $,Hi as A,Xs as B,Ct as C,zr as D,Jt as E,fr as F,J as G,_t as H,fi as I,gi as J,Et as K,ur as L,Rs as M,Ks as N,Si as O,Xt as P,bi as Q,Yr as R,A as S,es as T,yi as U,se as V,q as W,Ai as X,ie as Y,re as Z,Pi as _,Je as a,sr as a$,Ci as a0,Mi as a1,Ti as a2,wi as a3,Ei as a4,ki as a5,Jr as a6,rs as a7,Es as a8,ks as a9,qr as aA,Lr as aB,xr as aC,Gr as aD,Wr as aE,Br as aF,Or as aG,Hr as aH,Dr as aI,$r as aJ,ps as aK,Zt as aL,Yt as aM,ui as aN,li as aO,ds as aP,us as aQ,di as aR,Vi as aS,Gi as aT,ir as aU,xi as aV,Li as aW,or as aX,Bi as aY,Di as aZ,Oi as a_,As as aa,ys as ab,ws as ac,_s as ad,ci as ae,ls as af,fs as ag,ns as ah,js as ai,os as aj,cs as ak,Zr as al,Xr as am,H as an,it as ao,dt as ap,ut as aq,X as ar,lt as as,at,st as au,ot as av,ct as aw,Nr as ax,Vr as ay,Ur as az,$i as b,Ni as b0,ar as b1,nr as b2,oi as b3,is as b4,Ii as b5,mi as b6,St as b7,bs as b8,ms as b9,Fi as bA,Ys as bB,Qs as bC,ni as bD,Ut as bE,ii as bF,Ms as bG,Ps as bH,Ts as bI,Cs as bJ,jt as bK,vs as bL,hs as ba,Ss as bb,as as bc,gs as bd,v as be,ts as bf,Qr as bg,$s as bh,xs as bi,Hs as bj,qs as bk,Ns as bl,Vs as bm,Gs as bn,Ws as bo,Os as bp,Ls as bq,zs as br,Ds as bs,Bs as bt,Us as bu,S as bv,tr as bw,_i as bx,vi as by,Wi as bz,qi as c,hi as d,ai as e,Pt as f,It as g,Zs as h,Js as i,ss as j,ft as k,ht as l,ti as m,Ui as n,Is as o,Fs as p,jr as q,Kr as r,ri as s,si as t,rt as u,wt as v,er as w,ei as x,pi as y,K as z};
@@ -1 +0,0 @@
1
- import{l as o,s as r}from"../chunks/BgXHwBod.js";export{o as load_css,r as start};