@hot-updater/console 1.2.0-rc.26 → 1.2.0-rc.28

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 (286) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{-native-builds-search-OlRj4Jz0.js → -native-builds-search-7blX2yQW.js} +1 -1
  3. package/.output/public/assets/BundleIdDisplay-B0gAH01c.js +1 -0
  4. package/.output/public/assets/CompositeItem-Dy4xgOMg.js +1 -0
  5. package/.output/public/assets/{ConsoleFeatureUnavailable-DUqlpHCp.js → ConsoleFeatureUnavailable-cy_snb33.js} +1 -1
  6. package/.output/public/assets/{EventDetails-DZsRlDHk.js → EventDetails-sxag8Hfc.js} +1 -1
  7. package/.output/public/assets/{HashValueDisplay-MoZMmTeP.js → HashValueDisplay-DMweha_0.js} +1 -1
  8. package/.output/public/assets/{InsightsPageHeader-2bTrjXln.js → InsightsPageHeader-D5TJspVe.js} +1 -1
  9. package/.output/public/assets/IosInstall-B5NspihF.js +1 -0
  10. package/.output/public/assets/NativeBuildsNav-CjOOlbEu.js +1 -0
  11. package/.output/public/assets/{NotFoundPage-Ckb5GMhh.js → NotFoundPage-DDOJarFa.js} +1 -1
  12. package/.output/public/assets/{PlatformIcon-CJ69KopR.js → PlatformIcon-BBvlg6JY.js} +1 -1
  13. package/.output/public/assets/RelativeTime-CY1dKZpv.js +1 -0
  14. package/.output/public/assets/{RolloutPercentageBadge-G6qt8rVb.js → RolloutPercentageBadge-BHgHkBGB.js} +1 -1
  15. package/.output/public/assets/RowReason-BMx_vclu.js +1 -0
  16. package/.output/public/assets/SandboxBadge-irEkMf1P.js +1 -0
  17. package/.output/public/assets/TargetDisplay-DB8D019f.js +1 -0
  18. package/.output/public/assets/{alert-dialog-DiRLrFVe.js → alert-dialog-CLC_h1fL.js} +1 -1
  19. package/.output/public/assets/api-DLryz9hA.js +1 -0
  20. package/.output/public/assets/api-keys-Cd-aNt-v.js +1 -0
  21. package/.output/public/assets/api-keys-D3tAc4Uu.js +1 -0
  22. package/.output/public/assets/arrow-left-DQjHJAnT.js +1 -0
  23. package/.output/public/assets/arrow-right-CXp_K3xK.js +1 -0
  24. package/.output/public/assets/arrow-up-right-BFafIOrq.js +1 -0
  25. package/.output/public/assets/{badge-D0NFvUY5.js → badge-DJMW4YVM.js} +1 -1
  26. package/.output/public/assets/card-C4sBAMU-.js +1 -0
  27. package/.output/public/assets/check-CqWNyG93.js +1 -0
  28. package/.output/public/assets/chevron-right-DNbYTBX1.js +1 -0
  29. package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-BCkZpskJ.js} +1 -1
  30. package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-DZrZK5gR.js} +1 -1
  31. package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-BO5V64P3.js} +1 -1
  32. package/.output/public/assets/{copy-DsuLj3oj.js → copy-CH1__JAW.js} +1 -1
  33. package/.output/public/assets/dialog-tCTZmAo8.js +1 -0
  34. package/.output/public/assets/{dist-Bf1BPKMs.js → dist-Bw_uSBJn.js} +1 -1
  35. package/.output/public/assets/empty-DsbLxQ1w.js +1 -0
  36. package/.output/public/assets/field-DL4OXTJ7.js +1 -0
  37. package/.output/public/assets/git-branch-ByZMEBxZ.js +1 -0
  38. package/.output/public/assets/history-wYnPoVmT.js +1 -0
  39. package/.output/public/assets/index-CAnjb7M2.js +10 -0
  40. package/.output/public/assets/{input-group-D_NfhUbX.js → input-group-B7jx0icS.js} +1 -1
  41. package/.output/public/assets/insights-DIs4nJI9.js +2 -0
  42. package/.output/public/assets/insights-DTF7C4jb.js +42 -0
  43. package/.output/public/assets/insights-api-B6Gj74n5.js +1 -0
  44. package/.output/public/assets/insights-bUk3ChoU.js +1 -0
  45. package/.output/public/assets/{insights-search-CYPrQVUC.js → insights-search-TfRz5kGG.js} +1 -1
  46. package/.output/public/assets/insights-usage-rpc-B4V-Qqo4.js +1 -0
  47. package/.output/public/assets/insights_.distribution-BPl5oRt4.js +2 -0
  48. package/.output/public/assets/{insights_.distribution-_dZi1_ay.js → insights_.distribution-BqfzAuAf.js} +1 -1
  49. package/.output/public/assets/insights_.distribution-BqtmnGTt.js +1 -0
  50. package/.output/public/assets/installations-6U8c_03X.js +1 -0
  51. package/.output/public/assets/{installations-Y_7QW_p8.js → installations-BU65zztK.js} +1 -1
  52. package/.output/public/assets/installations-D3MbzcFb.js +2 -0
  53. package/.output/public/assets/{key-round-DzBe6DHr.js → key-round-B-P_hhUB.js} +1 -1
  54. package/.output/public/assets/{link-DTEyW70e.js → link-CN3iHC4A.js} +2 -2
  55. package/.output/public/assets/{list-B6GeoQ_b.js → list-fFsS8Wxe.js} +1 -1
  56. package/.output/public/assets/loader-circle-GWIgH0fo.js +1 -0
  57. package/.output/public/assets/native-builds-BdzfAFnF.js +1 -0
  58. package/.output/public/assets/native-builds-CWwvuOXr.js +2 -0
  59. package/.output/public/assets/native-builds-Eh72Vr2G.js +1 -0
  60. package/.output/public/assets/native-builds_._buildId-33ksAlnZ.js +1 -0
  61. package/.output/public/assets/native-builds_._buildId-BVA5GnZP.js +2 -0
  62. package/.output/public/assets/native-builds_.devices-CElovmwq.js +1 -0
  63. package/.output/public/assets/native-builds_.devices-DWtcOVYO.js +2 -0
  64. package/.output/public/assets/{package-ytYrywZH.js → package-CXSDZsME.js} +1 -1
  65. package/.output/public/assets/plus-Cx-yFNd9.js +1 -0
  66. package/.output/public/assets/preload-helper-CRQjUQaZ.js +1 -0
  67. package/.output/public/assets/{refresh-cw-C-tvoCcE.js → refresh-cw-BgiOaFX3.js} +1 -1
  68. package/.output/public/assets/{relativeTime-DvyxGIsm.js → relativeTime-CBmDq8wh.js} +1 -1
  69. package/.output/public/assets/remote-config-B3oq9qR0.js +1 -0
  70. package/.output/public/assets/remote-config-CGbqsPh_.js +6 -0
  71. package/.output/public/assets/remote-config-D1OkfQKt.js +1 -0
  72. package/.output/public/assets/{rotate-cw-Clk5xTeE.js → rotate-cw-C1v7YuN7.js} +1 -1
  73. package/.output/public/assets/{routes-gQXSzO_n.js → routes-BTG3rg0l.js} +2 -2
  74. package/.output/public/assets/routes-CVbPjRKo.js +1 -0
  75. package/.output/public/assets/search-DiOSjaYL.js +1 -0
  76. package/.output/public/assets/select-CA8r-UUe.js +1 -0
  77. package/.output/public/assets/send-BgXZNiEA.js +1 -0
  78. package/.output/public/assets/{sidebar-Di9SN47G.js → sidebar-yC7KdImc.js} +1 -1
  79. package/.output/public/assets/smartphone-CxP0GGT6.js +1 -0
  80. package/.output/public/assets/styles-B0kzy3kp.css +2 -0
  81. package/.output/public/assets/switch-BTHWmKQ5.js +1 -0
  82. package/.output/public/assets/table-CwF7yxj4.js +1 -0
  83. package/.output/public/assets/tabs-CHNnCyvw.js +1 -0
  84. package/.output/public/assets/trash-2-CYISg7ZF.js +1 -0
  85. package/.output/public/assets/{undo-2-Bt0YXG26.js → undo-2-Bod3vw7x.js} +1 -1
  86. package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-lAmUsXcc.js} +1 -1
  87. package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-w3qYaU2L.js} +1 -1
  88. package/.output/server/{__23tanstack-start-server-fn-resolver-z8rr63xV.mjs → __23tanstack-start-server-fn-resolver-BFiPs5uv.mjs} +85 -49
  89. package/.output/server/_libs/@base-ui/react+[...].mjs +1488 -183
  90. package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
  91. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +1 -1
  92. package/.output/server/_libs/_.mjs +1 -1
  93. package/.output/server/_libs/lucide-react.mjs +22 -2
  94. package/.output/server/_libs/next-themes.mjs +1 -1
  95. package/.output/server/_libs/react-redux+[...].mjs +1 -1
  96. package/.output/server/_libs/recharts+[...].mjs +1 -1
  97. package/.output/server/_libs/sonner.mjs +1 -1
  98. package/.output/server/_libs/tanstack__react-query.mjs +1 -1
  99. package/.output/server/_ssr/{-native-builds-search-M6t7EIt4.mjs → -native-builds-search-Mm_AZoRU.mjs} +8 -2
  100. package/.output/server/_ssr/{BundleIdDisplay-DRnAzJse.mjs → BundleIdDisplay-BSBR5eJ3.mjs} +3 -3
  101. package/.output/server/_ssr/{ConsoleFeatureUnavailable-BEU7r4aH.mjs → ConsoleFeatureUnavailable-DcZ4JBVq.mjs} +8 -8
  102. package/.output/server/_ssr/CopyableText-DgNEsByt.mjs +33 -0
  103. package/.output/server/_ssr/{EventDetails-CjT6o2sJ.mjs → EventDetails-CUHZuwei.mjs} +9 -9
  104. package/.output/server/_ssr/{HashValueDisplay-Bkim8r3-.mjs → HashValueDisplay-B9ORaCcP.mjs} +3 -3
  105. package/.output/server/_ssr/{InsightsPageHeader-Ctw4N3SZ.mjs → InsightsPageHeader-C0bJqC-n.mjs} +9 -9
  106. package/.output/server/_ssr/IosInstall-C5Y5gnDY.mjs +574 -0
  107. package/.output/server/_ssr/NativeBuildsNav-hFiyBaFW.mjs +38 -0
  108. package/.output/server/_ssr/{NotFoundPage-Bh3gFsR6.mjs → NotFoundPage-D4xRjmIA.mjs} +3 -3
  109. package/.output/server/_ssr/{PlatformIcon-CMLs3Wez.mjs → PlatformIcon-BpGOEXjU.mjs} +2 -2
  110. package/.output/server/_ssr/{RelativeTime-DjdCU0J7.mjs → RelativeTime-DnvxB666.mjs} +20 -9
  111. package/.output/server/_ssr/{RolloutPercentageBadge-BiIHw-V2.mjs → RolloutPercentageBadge-NBnIOzY9.mjs} +4 -4
  112. package/.output/server/_ssr/RowReason-B_jZN48d.mjs +169 -0
  113. package/.output/server/_ssr/{StoreSubmission-Cv59joPo.mjs → SandboxBadge-CFtTG1ZJ.mjs} +17 -17
  114. package/.output/server/_ssr/{TargetDisplay-D1PKOupt.mjs → TargetDisplay-0sb03v_6.mjs} +7 -33
  115. package/.output/server/_ssr/{alert-dialog-BOKQTpmP.mjs → alert-dialog-SLr1Q_AI.mjs} +2 -2
  116. package/.output/server/_ssr/{api-CDvGGB1B.mjs → api-CkgOQzSb.mjs} +74 -17
  117. package/.output/server/_ssr/{api-keys-DvbSgd9L.mjs → api-keys-BP7NJtoX.mjs} +2 -2
  118. package/.output/server/_ssr/{api-keys-NYJ0VaDB.mjs → api-keys-BcSzq0TA.mjs} +11 -11
  119. package/.output/server/_ssr/{api-keys-rpc-B0MrcD15.mjs → api-keys-rpc-IWPOq5vn.mjs} +3 -3
  120. package/.output/server/_ssr/{api-rpc-CIB9gcI7.mjs → api-rpc-cNJTB3v4.mjs} +48 -32
  121. package/.output/server/_ssr/{auth-rpc-DsIffEXe.mjs → auth-rpc-oaBbtxSP.mjs} +4 -4
  122. package/.output/server/_ssr/{auth.server-Dt9XHLs_.mjs → auth.server-WQw9JjMm.mjs} +587 -19
  123. package/.output/server/_ssr/{badge-KS3YftV5.mjs → badge-n3c0OTBQ.mjs} +2 -2
  124. package/.output/server/_ssr/{bundleActivity-BGVvqWx7.mjs → bundleActivity-BP40zYSt.mjs} +1 -1
  125. package/.output/server/_ssr/{card-CG5GqIoA.mjs → card-CYgCcRUd.mjs} +2 -2
  126. package/.output/server/_ssr/{config.server-CJs-9Zd_.mjs → config.server-R3KQbcML.mjs} +4 -4
  127. package/.output/server/_ssr/{console-access-ClmTMpo_.mjs → console-access-BLVi82IN.mjs} +2 -2
  128. package/.output/server/_ssr/{console-features-api-CpMYF0Pb.mjs → console-features-api-B2JvJOlE.mjs} +4 -4
  129. package/.output/server/_ssr/{console-features-rpc-D-dr-WF8.mjs → console-features-rpc-LAxQoSNw.mjs} +3 -3
  130. package/.output/server/_ssr/{console-features-CRP-pfov.mjs → console-features-xaGDhRC9.mjs} +1 -1
  131. package/.output/server/_ssr/deviceProfileToken-CwWb1lPq.mjs +82 -0
  132. package/.output/server/_ssr/{dialog-DvHMJkq7.mjs → dialog-eru_h5oK.mjs} +2 -2
  133. package/.output/server/_ssr/{downloadBundle-BX8ODCZT.mjs → downloadBundle-DnoYpi36.mjs} +1 -1
  134. package/.output/server/_ssr/{empty-Bx8DnyWN.mjs → empty-Bu4qodCx.mjs} +3 -3
  135. package/.output/server/_ssr/{failureReports-C_CmBF4x.mjs → failureReports-BA2eg11O.mjs} +3 -3
  136. package/.output/server/_ssr/{field-BVI4lxoz.mjs → field-DA5lwO5U.mjs} +3 -3
  137. package/.output/server/_ssr/foldedPage-CqpVk31Q.mjs +176 -0
  138. package/.output/server/_ssr/{getBundleChildren-BJTufthT.mjs → getBundleChildren-CdqFonhl.mjs} +1 -1
  139. package/.output/server/_ssr/{input-group-CpJwooTk.mjs → input-group-VV5E3q78.mjs} +2 -2
  140. package/.output/server/_ssr/{insights-b1hq1O0p.mjs → insights-BJIt1xuT.mjs} +2 -2
  141. package/.output/server/_ssr/{insights-B-VtObqr.mjs → insights-C23mopzv.mjs} +5 -5
  142. package/.output/server/_ssr/{insights-DxlHHXPK.mjs → insights-Ci82qdkq.mjs} +27 -27
  143. package/.output/server/_ssr/{insights-api-8PWQ7PiR.mjs → insights-api-BwXMKUSe.mjs} +5 -5
  144. package/.output/server/_ssr/{insights-errors-Bz3sWNZm.mjs → insights-errors-CXHg1lLV.mjs} +2 -2
  145. package/.output/server/_ssr/{insights-failures-DNQ9qVVf.mjs → insights-failures-7zH97WOO.mjs} +2 -2
  146. package/.output/server/_ssr/{insights-failures-rpc-pY2KV9HI.mjs → insights-failures-rpc-BuZ-jnby.mjs} +10 -10
  147. package/.output/server/_ssr/{insights-recovery-DOkpqnQ8.mjs → insights-recovery-BhOg6kz2.mjs} +1 -1
  148. package/.output/server/_ssr/{insights-recovery-rpc-CejmWL_y.mjs → insights-recovery-rpc-DrXSy9aA.mjs} +6 -6
  149. package/.output/server/_ssr/{insights-rpc-D_7d_AAJ.mjs → insights-rpc-DyrIZg3a.mjs} +3 -3
  150. package/.output/server/_ssr/{insights-search-CoMkZvRt.mjs → insights-search-CNkNB-aa.mjs} +3 -3
  151. package/.output/server/_ssr/{insights-usage-4KDIN3Kg.mjs → insights-usage-h8fipPTv.mjs} +1 -1
  152. package/.output/server/_ssr/{insights-usage-rpc-CrGZDHzO.mjs → insights-usage-rpc-C7UC1lom.mjs} +6 -6
  153. package/.output/server/_ssr/{insights-usage-rpc-B1XSuara.mjs → insights-usage-rpc-cTgmD-Ej.mjs} +5 -5
  154. package/.output/server/_ssr/{insightsUsage-DmQdJZqT.mjs → insightsUsage-BjSiV_X_.mjs} +3 -3
  155. package/.output/server/_ssr/{insights_.distribution-EOOOOTb6.mjs → insights_.distribution-BauOpBTE.mjs} +2 -2
  156. package/.output/server/_ssr/{insights_.distribution-CpqnDZNG.mjs → insights_.distribution-CIY_IGmh.mjs} +16 -16
  157. package/.output/server/_ssr/{insights_.distribution-B9sPDvG4.mjs → insights_.distribution-wfFKEv-Z.mjs} +5 -5
  158. package/.output/server/_ssr/{installations-BOI_y7Ma.mjs → installations-Ba3YVrAf.mjs} +13 -13
  159. package/.output/server/_ssr/{installations-dWlOOS7Y.mjs → installations-VzacOKHp.mjs} +2 -2
  160. package/.output/server/_ssr/{installations-D0_0hzdi.mjs → installations-jGW7nvEV.mjs} +4 -4
  161. package/.output/server/_ssr/ios-devices-rpc-Bhn7VVIh.mjs +138 -0
  162. package/.output/server/_ssr/iosDeviceProfile-_XT8TpgZ.mjs +176 -0
  163. package/.output/server/_ssr/iosDevices-Bc27J72d.mjs +129 -0
  164. package/.output/server/_ssr/listReleases-DYYA5alS.mjs +94 -0
  165. package/.output/server/_ssr/{native-builds-OUdRtp6m.mjs → native-builds-BXBkklfA.mjs} +28 -6
  166. package/.output/server/_ssr/{native-builds-Bx_az6YZ.mjs → native-builds-DZFJGcHy.mjs} +3 -3
  167. package/.output/server/_ssr/{native-builds-C721Rw23.mjs → native-builds-DiNkKHly.mjs} +221 -86
  168. package/.output/server/_ssr/{native-builds_._buildId-ubi48Sfs.mjs → native-builds_._buildId-CuM1PsT6.mjs} +108 -294
  169. package/.output/server/_ssr/{native-builds_._buildId-YItxv8j9.mjs → native-builds_._buildId-D0n4QZY6.mjs} +3 -3
  170. package/.output/server/_ssr/native-builds_.devices-D0JJlX8E.mjs +689 -0
  171. package/.output/server/_ssr/native-builds_.devices-DiM2FdcW.mjs +10 -0
  172. package/.output/server/_ssr/{nativeBuildDownloadLink-C0I8eLpS.mjs → nativeBuildDownloadLink-CvvWuhh0.mjs} +3 -3
  173. package/.output/server/_ssr/{nativeBuildInstall-CxG8K8TL.mjs → nativeBuildInstall-BqcVHBaD.mjs} +54 -7
  174. package/.output/server/_ssr/{nativeBuilds-CRLmvFaO.mjs → nativeBuilds-Cub0EUGN.mjs} +135 -13
  175. package/.output/server/_ssr/{publicConsoleBase-DvHYxDaG.mjs → publicConsoleBase-f67NLLXZ.mjs} +11 -3
  176. package/.output/server/_ssr/{release-adoption-C7sUFDwa.mjs → release-adoption-DeICczY7.mjs} +2 -2
  177. package/.output/server/_ssr/{release-adoption-rpc-DcZAYRWJ.mjs → release-adoption-rpc-Dm-5yAJG.mjs} +8 -8
  178. package/.output/server/_ssr/{releaseAdoption-D6ScSu-W.mjs → releaseAdoption-kHZo8P90.mjs} +3 -3
  179. package/.output/server/_ssr/{remote-config-gKqDKMxk.mjs → remote-config-D1BhIBKu.mjs} +3 -3
  180. package/.output/server/_ssr/{remote-config-DOcSXzxG.mjs → remote-config-D7RruPiO.mjs} +2 -2
  181. package/.output/server/_ssr/{remote-config-BZ_vGV97.mjs → remote-config-ZFm-l4Gi.mjs} +20 -20
  182. package/.output/server/_ssr/{remote-config-rpc-CVPd3V69.mjs → remote-config-rpc-C7AZy37o.mjs} +3 -3
  183. package/.output/server/_ssr/{router-Bcyej4cr.mjs → router-BGkGFMsT.mjs} +72 -75
  184. package/.output/server/_ssr/{routes-B10xsCh4.mjs → routes-CJJxz-Ak.mjs} +304 -230
  185. package/.output/server/_ssr/{routes-ddBRVSju.mjs → routes-CiJ2dhL9.mjs} +14 -13
  186. package/.output/server/_ssr/{runtime.server-wcHT2Cop.mjs → runtime.server-CkSbWaZm.mjs} +2 -2
  187. package/.output/server/_ssr/{schema-migration-rpc-iWZzLv70.mjs → schema-migration-rpc-D4YlwvGH.mjs} +3 -3
  188. package/.output/server/_ssr/{select-i4WT0c9r.mjs → select-BB8GE7OZ.mjs} +3 -3
  189. package/.output/server/_ssr/{server-CMgMPrDx.mjs → server-DAHTchcr.mjs} +5 -5
  190. package/.output/server/_ssr/{sidebar-mIQgB0iy.mjs → sidebar-CsKVgZHa.mjs} +3 -3
  191. package/.output/server/_ssr/ssr.mjs +1 -1
  192. package/.output/server/_ssr/{start-By4wHYjG.mjs → start-D3noqqOK.mjs} +1 -1
  193. package/.output/server/_ssr/{switch-DR8EAh5C.mjs → switch-BvvmP7Y3.mjs} +3 -3
  194. package/.output/server/_ssr/{table-DXmK6G7A.mjs → table-WKKzprFn.mjs} +2 -2
  195. package/.output/server/_ssr/{tabs-DAfypcYe.mjs → tabs-BJ-4SgmC.mjs} +4 -4
  196. package/.output/server/_ssr/{updateFailures-DNiv3S_y.mjs → updateFailures-D0bP_Ume.mjs} +3 -3
  197. package/.output/server/_tanstack-start-manifest_v-CSUJeG5D.mjs +219 -0
  198. package/.output/server/index.mjs +436 -366
  199. package/lib/index.d.mts +9 -0
  200. package/package.json +7 -30
  201. package/src/components/DataTable.tsx +21 -2
  202. package/src/components/FoldedRows.tsx +201 -0
  203. package/src/components/RowReason.tsx +56 -0
  204. package/src/components/features/native-builds/InstallCard.tsx +1 -1
  205. package/src/components/features/native-builds/IosDevicesPage.tsx +892 -0
  206. package/src/components/features/native-builds/IosInstall.tsx +292 -62
  207. package/src/components/features/native-builds/IpaDevicesCard.tsx +107 -0
  208. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +7 -0
  209. package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
  210. package/src/components/features/native-builds/NativeBuildsPage.tsx +2 -0
  211. package/src/components/features/native-builds/NativeBuildsTable.tsx +214 -30
  212. package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
  213. package/src/index.ts +9 -0
  214. package/src/lib/api-rpc.ts +56 -29
  215. package/src/lib/api.ts +65 -2
  216. package/src/lib/ios-devices-api.ts +110 -0
  217. package/src/lib/ios-devices-rpc.ts +174 -0
  218. package/src/lib/native-builds.ts +72 -7
  219. package/src/lib/server/console-runtime.server.ts +9 -2
  220. package/src/lib/server/deviceProfileToken.ts +187 -0
  221. package/src/lib/server/foldedPage.ts +360 -0
  222. package/src/lib/server/iosDeviceProfile.ts +230 -0
  223. package/src/lib/server/iosDevices.ts +223 -0
  224. package/src/lib/server/listReleases.ts +101 -62
  225. package/src/lib/server/nativeBuildInstall.ts +138 -7
  226. package/src/lib/server/nativeBuilds.ts +221 -26
  227. package/src/routeTree.gen.ts +64 -67
  228. package/src/routes/-native-builds-search.ts +20 -0
  229. package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
  230. package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
  231. package/src/routes/index.tsx +444 -299
  232. package/src/routes/native-builds_.devices.tsx +21 -0
  233. package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +0 -1
  234. package/.output/public/assets/RelativeTime-TCmpOVPg.js +0 -1
  235. package/.output/public/assets/StoreSubmission-CqSg880n.js +0 -1
  236. package/.output/public/assets/TargetDisplay-DwOaMOiI.js +0 -1
  237. package/.output/public/assets/api-LQJH44FU.js +0 -1
  238. package/.output/public/assets/api-keys-4w2-ofii.js +0 -1
  239. package/.output/public/assets/api-keys-uFY8FsN9.js +0 -1
  240. package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
  241. package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
  242. package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
  243. package/.output/public/assets/card-ulgg5xHn.js +0 -1
  244. package/.output/public/assets/check-CXVR3s3X.js +0 -1
  245. package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
  246. package/.output/public/assets/dialog-CLIaC82_.js +0 -1
  247. package/.output/public/assets/empty-Bhlj8PEo.js +0 -1
  248. package/.output/public/assets/field-q4sTYzNU.js +0 -1
  249. package/.output/public/assets/history-DakJoeSM.js +0 -1
  250. package/.output/public/assets/index-CJclLsbG.js +0 -10
  251. package/.output/public/assets/insights-0TUItqwh.js +0 -1
  252. package/.output/public/assets/insights-B75txQ_F.js +0 -42
  253. package/.output/public/assets/insights-C17Z0whn.js +0 -2
  254. package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
  255. package/.output/public/assets/insights-usage-rpc-BbFllvi_.js +0 -1
  256. package/.output/public/assets/insights_.distribution-AZcfvK7x.js +0 -1
  257. package/.output/public/assets/insights_.distribution-gDqNqI5E.js +0 -2
  258. package/.output/public/assets/installations-Ap2G2tDs.js +0 -1
  259. package/.output/public/assets/installations-D0g3xvw8.js +0 -2
  260. package/.output/public/assets/native-builds-Ba6cEZfm.js +0 -2
  261. package/.output/public/assets/native-builds-C3_-21we.js +0 -1
  262. package/.output/public/assets/native-builds_._buildId-BnP31v32.js +0 -1
  263. package/.output/public/assets/native-builds_._buildId-Cp9LJiMP.js +0 -2
  264. package/.output/public/assets/plus-BVhOauU3.js +0 -1
  265. package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
  266. package/.output/public/assets/remote-config-BRdy8QFR.js +0 -1
  267. package/.output/public/assets/remote-config-C9p5Pcdj.js +0 -6
  268. package/.output/public/assets/remote-config-CIAEArwq.js +0 -1
  269. package/.output/public/assets/routes-BLTF7nwe.js +0 -1
  270. package/.output/public/assets/search-nnvSOTEB.js +0 -1
  271. package/.output/public/assets/select-CBIU0_M1.js +0 -1
  272. package/.output/public/assets/smartphone-r0rRdPas.js +0 -1
  273. package/.output/public/assets/styles-BdlrKlVs.css +0 -2
  274. package/.output/public/assets/switch-CP6GsHmN.js +0 -1
  275. package/.output/public/assets/table-TUtVz-2l.js +0 -1
  276. package/.output/public/assets/tabs-CP3CSmtI.js +0 -1
  277. package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
  278. package/.output/server/_ssr/listReleases-CQEceg8j.mjs +0 -79
  279. package/.output/server/_ssr/nativeBuildDevice-DJUAzAIj.mjs +0 -210
  280. package/.output/server/_tanstack-start-manifest_v-8M7ggCuB.mjs +0 -192
  281. package/src/lib/server/nativeBuildDevice.ts +0 -253
  282. package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +0 -17
  283. package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +0 -17
  284. package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +0 -17
  285. /package/.output/public/assets/{uuidv7-cI6C63Fm.js → uuidv7-CVJ09bBG.js} +0 -0
  286. /package/.output/public/assets/{valueToPercent-B6X9rUJM.js → valueToPercent-Db73Kirz.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import { i as __toESM } from "../_runtime.mjs";
2
- import { bt as require_react, yt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
- import { K as ChevronRight, M as HardDrive, N as GitBranch, R as ExternalLink, S as PackageOpen, U as CircleCheck, _ as RefreshCw, et as ArrowUpRight, i as TriangleAlert, j as History, q as ChevronLeft, u as Smartphone, z as Download } from "../_libs/lucide-react.mjs";
4
- import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, k as cn, t as Button$1 } from "./sidebar-mIQgB0iy.mjs";
2
+ import { Tt as require_jsx_runtime } from "../_libs/@base-ui/react+[...].mjs";
3
+ import { B as Download, J as ChevronLeft, M as HardDrive, N as GitBranch, R as ExternalLink, S as PackageOpen, W as CircleCheck, _ as RefreshCw, i as TriangleAlert, j as History, q as ChevronRight, tt as ArrowUpRight, u as Smartphone } from "../_libs/lucide-react.mjs";
4
+ import { C as Skeleton, O as buttonVariants, S as SidebarTrigger, t as Button$1 } from "./sidebar-CsKVgZHa.mjs";
5
5
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
6
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bx8DnyWN.mjs";
7
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CG5GqIoA.mjs";
8
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-KS3YftV5.mjs";
9
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DXmK6G7A.mjs";
6
+ import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Bu4qodCx.mjs";
7
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-CYgCcRUd.mjs";
8
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-n3c0OTBQ.mjs";
9
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-WKKzprFn.mjs";
10
10
  import { n as toast } from "../_libs/sonner.mjs";
11
11
  import { i as NUMERIC_COHORT_SIZE } from "./dist-B6-irDRA.mjs";
12
- import { S as shellQuote, a as consolePathOf, b as platformLabel, d as nativeBuildDeviceProfilePath, f as nativeBuildDownloadPath, g as nativeBuildLabel, h as nativeBuildItmsUrl, m as nativeBuildInstallCommand, n as IOS_UDID_STORAGE_KEY, o as formatByteSize, p as nativeBuildFileName, r as NATIVE_BUILD_INSTALL_LINK_TTL_MS, s as nativeBuildArtifacts, t as IOS_UDID_PATTERN, u as nativeBuildDeviceAddCommand, y as nativeBuildSignedDownloadUrl } from "./native-builds-OUdRtp6m.mjs";
13
- import { t as PlatformIcon } from "./PlatformIcon-CMLs3Wez.mjs";
14
- import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, l as useMarkNativeBuildMutation, m as useNativeBuildPatchesQuery, p as useNativeBuildInstallEligibilityQuery, u as useNativeBuildDetailQuery } from "./api-CDvGGB1B.mjs";
15
- import { t as BundleIdDisplay } from "./BundleIdDisplay-DRnAzJse.mjs";
16
- import { a as TargetDisplay, n as ChannelBadge, r as CopyableText, t as BuildKeyDisplay } from "./TargetDisplay-D1PKOupt.mjs";
12
+ import { D as platformLabel, E as nativeBuildSignedDownloadUrl, S as nativeBuildLabel, b as nativeBuildInstallCommand, d as formatByteSize, k as shellQuote, m as nativeBuildArtifacts, v as nativeBuildDownloadPath, y as nativeBuildFileName } from "./native-builds-BXBkklfA.mjs";
13
+ import { t as PlatformIcon } from "./PlatformIcon-BpGOEXjU.mjs";
14
+ import { a as useConfigQuery, d as useNativeBuildDownloadLinkQuery, f as useNativeBuildDownloadUrlQuery, h as useNativeBuildPatchesQuery, l as useMarkNativeBuildMutation, u as useNativeBuildDetailQuery } from "./api-CkgOQzSb.mjs";
15
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-BSBR5eJ3.mjs";
16
+ import { i as TargetDisplay, n as ChannelBadge, t as BuildKeyDisplay } from "./TargetDisplay-0sb03v_6.mjs";
17
17
  import { n as require_dayjs_min } from "../_libs/dayjs.mjs";
18
- import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./StoreSubmission-Cv59joPo.mjs";
19
- import { t as Route } from "./native-builds_._buildId-YItxv8j9.mjs";
20
- import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BiIHw-V2.mjs";
21
- import { t as encode } from "../_libs/uqr.mjs";
22
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-ubi48Sfs.js
23
- var import_react = /* @__PURE__ */ __toESM(require_react());
18
+ import { t as CopyableText } from "./CopyableText-DgNEsByt.mjs";
19
+ import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-CFtTG1ZJ.mjs";
20
+ import { t as Route } from "./native-builds_._buildId-D0n4QZY6.mjs";
21
+ import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-NBnIOzY9.mjs";
22
+ import { i as useIosDevice, n as QrCode, s as useNativeBuildIpaDevicesQuery, t as IosInstall } from "./IosInstall-C5Y5gnDY.mjs";
23
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-CuM1PsT6.js
24
24
  var import_jsx_runtime = require_jsx_runtime();
25
25
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
26
26
  /**
@@ -267,281 +267,6 @@ function BuiltInBundleCard({ detail }) {
267
267
  });
268
268
  }
269
269
  /**
270
- * A QR code of `value` as one SVG path of unit squares, with the standard
271
- * four-module quiet zone: `size` is the side of its viewBox.
272
- */
273
- var qrCodePath = (value) => {
274
- const { data, size } = encode(value, {
275
- ecc: "M",
276
- border: 4
277
- });
278
- let path = "";
279
- data.forEach((row, y) => row.forEach((dark, x) => {
280
- if (dark) path += `M${x} ${y}h1v1h-1z`;
281
- }));
282
- return {
283
- size,
284
- path
285
- };
286
- };
287
- /**
288
- * A QR code of `value`, drawn as one SVG path with the standard four-module
289
- * quiet zone. Phone cameras read dark modules on a light ground, so the code
290
- * keeps its own two colors in both themes instead of the theme's tokens.
291
- */
292
- function QrCode({ value, label, className }) {
293
- const { size, path } = (0, import_react.useMemo)(() => qrCodePath(value), [value]);
294
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("svg", {
295
- "aria-label": label,
296
- className: cn("aspect-square rounded-md", className),
297
- role: "img",
298
- shapeRendering: "crispEdges",
299
- viewBox: `0 0 ${size} ${size}`,
300
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
301
- fill: "#fff",
302
- height: size,
303
- width: size
304
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
305
- d: path,
306
- fill: "#000"
307
- })]
308
- });
309
- }
310
- /**
311
- * What an install does to the App Store's copy of the app on this iPhone, with
312
- * the same bundle ID. The one line to change after trying it on a real iPhone.
313
- */
314
- var IOS_STORE_APP_NOTE = "With the same bundle ID, this install replaces the App Store's copy of the app on this iPhone.";
315
- var ACTION_CLASS = "h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit";
316
- /** Whether this browser runs on an iPhone or iPad: an iPad says it is a Mac. */
317
- var isIosBrowser = (browser) => /iPhone|iPod|iPad/u.test(browser.userAgent) || /Macintosh/u.test(browser.userAgent) && browser.maxTouchPoints > 1;
318
- /** The UDID the profile's page passed in the fragment, if any. */
319
- var fragmentUdid = () => {
320
- if (typeof window === "undefined") return null;
321
- const udid = new URLSearchParams(window.location.hash.slice(1)).get("udid");
322
- return udid !== null && IOS_UDID_PATTERN.test(udid) ? udid : null;
323
- };
324
- /**
325
- * Whether this page is open on an iPhone, and its UDID: the one this phone
326
- * kept, else the one the profile's page passed in the fragment. Read after the
327
- * page mounts: the server renders it without a browser. Null until then.
328
- */
329
- var useIosDevice = () => {
330
- const [device, setDevice] = (0, import_react.useState)(null);
331
- const [passed] = (0, import_react.useState)(fragmentUdid);
332
- (0, import_react.useEffect)(() => {
333
- const valid = (udid) => udid != null && IOS_UDID_PATTERN.test(udid) ? udid : null;
334
- if (passed !== null && window.location.hash !== "") window.history.replaceState(window.history.state, "", `${window.location.pathname}${window.location.search}`);
335
- const read = () => {
336
- let udid = null;
337
- try {
338
- udid = window.localStorage.getItem(IOS_UDID_STORAGE_KEY);
339
- } catch {}
340
- const kept = valid(udid) ?? passed;
341
- setDevice((current) => current?.udid === kept && current !== null ? current : {
342
- ios: isIosBrowser(navigator),
343
- udid: kept
344
- });
345
- };
346
- read();
347
- const onStorage = (event) => {
348
- if (event.key === null || event.key === "hot-updater-ios-udid") read();
349
- };
350
- window.addEventListener("storage", onStorage);
351
- window.addEventListener("pageshow", read);
352
- document.addEventListener("visibilitychange", read);
353
- return () => {
354
- window.removeEventListener("storage", onStorage);
355
- window.removeEventListener("pageshow", read);
356
- document.removeEventListener("visibilitychange", read);
357
- };
358
- }, [passed]);
359
- return device;
360
- };
361
- /**
362
- * How long before its link expires the page stops offering it: the installer
363
- * fetches the manifest, then the IPA, only after the tester confirms the prompt.
364
- */
365
- var INSTALL_LINK_MARGIN_MS = 300 * 1e3;
366
- /**
367
- * Whether a link read at `readAtMs` is past offering, measured on this phone's
368
- * clock from when it arrived, since the phone's clock may disagree with the
369
- * server's. A failed refresh leaves `readAtMs` where it was. Timers stop while
370
- * the phone sleeps, so coming back to the page checks again.
371
- */
372
- var useInstallLinkExpired = (readAtMs, holdsLink) => {
373
- const [, check] = (0, import_react.useReducer)((count) => count + 1, 0);
374
- const expiresAtMs = readAtMs + NATIVE_BUILD_INSTALL_LINK_TTL_MS - INSTALL_LINK_MARGIN_MS;
375
- (0, import_react.useEffect)(() => {
376
- if (!holdsLink) return;
377
- const timer = setTimeout(check, Math.max(0, expiresAtMs - Date.now()));
378
- document.addEventListener("visibilitychange", check);
379
- window.addEventListener("pageshow", check);
380
- return () => {
381
- clearTimeout(timer);
382
- document.removeEventListener("visibilitychange", check);
383
- window.removeEventListener("pageshow", check);
384
- };
385
- }, [expiresAtMs, holdsLink]);
386
- return holdsLink && Date.now() >= expiresAtMs;
387
- };
388
- /** In place of Install once its link has expired: it never offers a dead link. */
389
- function RenewInstallLink({ fetching, onRenew }) {
390
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
391
- className: "flex min-w-0 flex-col gap-2",
392
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
393
- className: "text-xs text-muted-foreground",
394
- role: "status",
395
- children: ["This install link has expired.", fetching ? " Getting a new one." : ""]
396
- }), fetching ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button$1, {
397
- className: ACTION_CLASS,
398
- onClick: onRenew,
399
- variant: "outline",
400
- children: "Get a new link"
401
- })]
402
- });
403
- }
404
- function InstallButton({ build, token }) {
405
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
406
- className: buttonVariants({ className: ACTION_CLASS }),
407
- href: nativeBuildItmsUrl(window.location, build.id, token),
408
- children: "Install"
409
- });
410
- }
411
- /** What a tester reads before Install opens the system's install prompt. */
412
- function InstallNotes() {
413
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
414
- className: "flex min-w-0 flex-col gap-1",
415
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
416
- className: "text-xs text-muted-foreground",
417
- children: "On iOS 16 or later, the app opens only with Developer Mode on: Settings, Privacy & Security, Developer Mode."
418
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
419
- className: "text-xs text-muted-foreground",
420
- children: IOS_STORE_APP_NOTE
421
- })]
422
- });
423
- }
424
- /**
425
- * The link that hands this iPhone the profile that reads its UDID, under the
426
- * console's path. A plain link, so iOS offers the profile. Once it's installed,
427
- * the phone comes back to this page, which then offers Install.
428
- */
429
- function InstallProfile({ build, again = false }) {
430
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", {
431
- className: buttonVariants({
432
- className: ACTION_CLASS,
433
- variant: again ? "secondary" : "default"
434
- }),
435
- href: `${consolePathOf(window.location, build.id)}${nativeBuildDeviceProfilePath(build.id)}`,
436
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, { "data-icon": "inline-start" }), again ? "Install the profile again" : "Install profile"]
437
- });
438
- }
439
- /**
440
- * Installing an IPA from this iPhone: the build's IPA says what it allows, read
441
- * once when the page opens here, so a phone it doesn't list goes to its UDID
442
- * rather than a download iOS refuses at the end. App Store Connect isn't asked:
443
- * a device registered after this IPA was signed still isn't in it.
444
- */
445
- function IosInstall({ build, udid }) {
446
- const eligibility = useNativeBuildInstallEligibilityQuery(build.id, udid);
447
- const { refetch } = eligibility;
448
- const expired = useInstallLinkExpired(eligibility.dataUpdatedAt, eligibility.data?.status === "installable" && eligibility.data.device === "included");
449
- (0, import_react.useEffect)(() => {
450
- if (expired) refetch();
451
- }, [expired, refetch]);
452
- if (eligibility.isPending) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, {
453
- "aria-label": "Reading this IPA",
454
- className: "h-11 w-full"
455
- });
456
- const result = eligibility.data;
457
- if (result === void 0 || result.status === "unavailable") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, { children: [
458
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TriangleAlert, {}),
459
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children: "Installation details unavailable" }),
460
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertDescription, { children: "The Console couldn't read this IPA from storage in parts, which takes an HTTPS download link that answers Range requests. Xcode or Apple Configurator still installs the download over USB." })
461
- ] });
462
- if (result.status === "store") return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
463
- className: "text-xs text-muted-foreground",
464
- children: "This IPA is an App Store export, which installs through TestFlight, not from this page."
465
- });
466
- if (result.status === "expired") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Alert, {
467
- variant: "destructive",
468
- children: [
469
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TriangleAlert, {}),
470
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(AlertTitle, { children: "This build's profile has expired" }),
471
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AlertDescription, { children: [
472
- "It expired on ",
473
- (0, import_dayjs_min.default)(result.expiresAt).format("YYYY-MM-DD"),
474
- ". A maintainer rebuilds it to install again."
475
- ] })
476
- ]
477
- });
478
- const token = result.link.status === "issued" ? result.link.token : null;
479
- if (result.link.status === "no-secret") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", {
480
- className: "text-xs text-muted-foreground",
481
- role: "status",
482
- children: [
483
- "Set ",
484
- result.link.secretName,
485
- " on the Console to install from this page."
486
- ]
487
- });
488
- if (token === null) return null;
489
- if (result.device === "included") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
490
- className: "flex min-w-0 flex-col gap-3",
491
- children: [
492
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
493
- className: "text-sm font-medium",
494
- children: "This iPhone is in this build."
495
- }),
496
- expired ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RenewInstallLink, {
497
- fetching: eligibility.isFetching,
498
- onRenew: () => void refetch()
499
- }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallButton, {
500
- build,
501
- token
502
- }),
503
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallNotes, {})
504
- ]
505
- });
506
- if (result.device === "not-included") return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
507
- className: "flex min-w-0 flex-col gap-3",
508
- children: [
509
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
510
- className: "flex min-w-0 flex-col gap-1",
511
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
512
- className: "text-sm font-medium",
513
- children: "Not in this build"
514
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
515
- className: "text-xs text-muted-foreground",
516
- children: "This IPA was signed without this iPhone. Send a maintainer this command, then open the newer build once they've rebuilt. Send it only if this is your iPhone."
517
- })]
518
- }),
519
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CopyableText, {
520
- label: "the command that registers this iPhone",
521
- value: nativeBuildDeviceAddCommand(udid ?? ""),
522
- wrap: true
523
- }),
524
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallProfile, {
525
- build,
526
- again: true
527
- })
528
- ]
529
- });
530
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
531
- className: "flex min-w-0 flex-col gap-3",
532
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
533
- className: "flex min-w-0 flex-col gap-1",
534
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
535
- className: "text-sm font-medium",
536
- children: "Install the profile first"
537
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
538
- className: "text-xs text-muted-foreground",
539
- children: "iOS installs this IPA only on the devices it lists. The profile reads this iPhone's ID and nothing else: allow the download, then install it in Settings, where iOS calls it not signed. Safari comes back here to install the app, and nothing stays installed."
540
- })]
541
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallProfile, { build })]
542
- });
543
- }
544
- /**
545
270
  * What an artifact installs on, where the file alone isn't enough: the card
546
271
  * says it once, under the QR code, or without one, in its place.
547
272
  */
@@ -834,7 +559,7 @@ function FileInstallCard({ build }) {
834
559
  className: onPhone ? "flex min-w-0 flex-col gap-6 p-4 sm:p-6" : "grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6",
835
560
  children: [onPhone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IosInstall, {
836
561
  build,
837
- udid: device.udid
562
+ device
838
563
  }) : ipa && signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannablePage, {}) : signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannableUrl, {
839
564
  build,
840
565
  url: signedUrl
@@ -863,6 +588,94 @@ function FileInstallCard({ build }) {
863
588
  })]
864
589
  });
865
590
  }
591
+ /**
592
+ * The devices an ad hoc IPA installs on, read from its signing profile: each
593
+ * by the registry's name when the registry knows it, else by its UDID. Read
594
+ * only: the IPA decides, and a new build is what adds a device.
595
+ */
596
+ function IpaDevicesCard({ build }) {
597
+ const query = useNativeBuildIpaDevicesQuery(build.id);
598
+ const result = query.data;
599
+ if (result?.status === "store" || result?.status === "enterprise") return null;
600
+ const devices = result?.status === "listed" ? result.devices : null;
601
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Card, {
602
+ className: "overflow-hidden shadow-sm",
603
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardHeader, {
604
+ className: "flex flex-row items-center gap-2 border-b px-4 py-3",
605
+ children: [
606
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardTitle, {
607
+ className: "text-sm",
608
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "Devices in this build" })
609
+ }),
610
+ devices === null ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
611
+ className: "text-xs tabular-nums text-muted-foreground",
612
+ children: devices.length
613
+ }),
614
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
615
+ className: buttonVariants({
616
+ className: "ml-auto h-11 sm:h-7",
617
+ size: "sm",
618
+ variant: "ghost"
619
+ }),
620
+ to: "/native-builds/devices",
621
+ children: "iOS devices"
622
+ })
623
+ ]
624
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardContent, {
625
+ className: "p-0",
626
+ children: query.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
627
+ className: "flex flex-col gap-2 p-4",
628
+ children: [
629
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
630
+ className: "sr-only",
631
+ children: "Reading this IPA's devices"
632
+ }),
633
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" }),
634
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" })
635
+ ]
636
+ }) : query.isError || result?.status === "unavailable" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
637
+ className: "flex flex-wrap items-center gap-3 p-4 text-xs text-muted-foreground",
638
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
639
+ className: "min-w-0 flex-1",
640
+ children: "The Console couldn't read this IPA's devices from storage."
641
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
642
+ className: "h-11 sm:h-7",
643
+ onClick: () => void query.refetch(),
644
+ size: "sm",
645
+ variant: "outline",
646
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RefreshCw, { "data-icon": "inline-start" }), "Retry"]
647
+ })]
648
+ }) : devices?.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
649
+ className: "p-4 text-xs text-muted-foreground",
650
+ children: "This IPA lists no devices."
651
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", {
652
+ "aria-label": "Devices in this build",
653
+ className: "divide-y",
654
+ children: devices?.map((device) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", {
655
+ className: "flex min-h-11 min-w-0 items-center gap-3 px-4 py-2 text-sm",
656
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, {
657
+ "aria-hidden": "true",
658
+ className: "size-4 shrink-0 text-muted-foreground"
659
+ }), device.name === null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
660
+ className: "min-w-0 font-mono text-xs [overflow-wrap:anywhere]",
661
+ translate: "no",
662
+ children: device.udid
663
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
664
+ className: "flex min-w-0 flex-col",
665
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
666
+ className: "truncate",
667
+ children: device.name
668
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
669
+ className: "font-mono text-xs text-muted-foreground",
670
+ translate: "no",
671
+ children: ["…", device.udid.slice(-6)]
672
+ })]
673
+ })]
674
+ }, device.udid))
675
+ })
676
+ })]
677
+ });
678
+ }
866
679
  var BUNDLE_DIFFING_GUIDE_URL = "https://hot-updater.dev/docs/guides/bundle-diffing#first-ota-update";
867
680
  /**
868
681
  * The bundles that patch from the build's built-in bundle, newest first, a
@@ -1302,6 +1115,7 @@ function NativeBuildDetailPage({ buildId, search, onSearchChange }) {
1302
1115
  }) })]
1303
1116
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
1304
1117
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallCard, { build: detail.build }),
1118
+ detail.build.artifact_kind === "ipa" && !isSubmitted(detail.build) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IpaDevicesCard, { build: detail.build }) : null,
1305
1119
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BuiltInBundleCard, { detail }),
1306
1120
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ServedNowCard, { detail }),
1307
1121
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PatchesCard, {
@@ -1,7 +1,7 @@
1
1
  import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
- import { t as validateNativeBuildDetailSearch } from "./-native-builds-search-M6t7EIt4.mjs";
3
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-YItxv8j9.js
4
- var $$splitComponentImporter = () => import("./native-builds_._buildId-ubi48Sfs.mjs");
2
+ import { n as validateNativeBuildDetailSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-D0n4QZY6.js
4
+ var $$splitComponentImporter = () => import("./native-builds_._buildId-CuM1PsT6.mjs");
5
5
  var Route = createFileRoute("/native-builds_/$buildId")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateNativeBuildDetailSearch