@hot-updater/console 1.2.0-rc.27 → 1.2.0-rc.29

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 (298) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/public/assets/{-native-builds-search-OlRj4Jz0.js → -native-builds-search-DdHwfe4q.js} +1 -1
  3. package/.output/public/assets/BundleIdDisplay-CTBdtFQ8.js +1 -0
  4. package/.output/public/assets/ChannelBadge-CEabmopB.js +1 -0
  5. package/.output/public/assets/CompositeItem-KUM5yQVr.js +1 -0
  6. package/.output/public/assets/{ConsoleFeatureUnavailable-DUqlpHCp.js → ConsoleFeatureUnavailable-Be-0iTww.js} +1 -1
  7. package/.output/public/assets/EventDetails-bDOYte1z.js +1 -0
  8. package/.output/public/assets/HashValueDisplay-D2f0HmyU.js +1 -0
  9. package/.output/public/assets/{InsightsPageHeader-2bTrjXln.js → InsightsPageHeader-Cj2ROSQO.js} +1 -1
  10. package/.output/public/assets/IosInstall-CHI2C4Yd.js +1 -0
  11. package/.output/public/assets/NativeBuildsNav-DaqxQPnG.js +1 -0
  12. package/.output/public/assets/{NotFoundPage-Ckb5GMhh.js → NotFoundPage-CVBtl68B.js} +1 -1
  13. package/.output/public/assets/{PlatformIcon-CJ69KopR.js → PlatformIcon-DVnzzGqM.js} +1 -1
  14. package/.output/public/assets/RelativeTime-B4PK8qDw.js +1 -0
  15. package/.output/public/assets/{RolloutPercentageBadge-G6qt8rVb.js → RolloutPercentageBadge-D_I0Raj2.js} +1 -1
  16. package/.output/public/assets/RowReason-B7VM1ztc.js +1 -0
  17. package/.output/public/assets/SandboxBadge-BVxHg_HF.js +1 -0
  18. package/.output/public/assets/TargetDisplay-KU7JhIWG.js +1 -0
  19. package/.output/public/assets/{alert-dialog-DiRLrFVe.js → alert-dialog-Ch0QxRsa.js} +1 -1
  20. package/.output/public/assets/api-C1OPeiG1.js +1 -0
  21. package/.output/public/assets/api-keys-DLC8jjaM.js +1 -0
  22. package/.output/public/assets/api-keys-eDnzgFAf.js +1 -0
  23. package/.output/public/assets/arrow-left-DQjHJAnT.js +1 -0
  24. package/.output/public/assets/arrow-right-CXp_K3xK.js +1 -0
  25. package/.output/public/assets/arrow-up-right-BFafIOrq.js +1 -0
  26. package/.output/public/assets/{badge-D0NFvUY5.js → badge-FZMD5vvS.js} +1 -1
  27. package/.output/public/assets/card-CyHYmHue.js +1 -0
  28. package/.output/public/assets/check-CqWNyG93.js +1 -0
  29. package/.output/public/assets/chevron-right-DNbYTBX1.js +1 -0
  30. package/.output/public/assets/{circle-off-C7Muo0ss.js → circle-off-BCkZpskJ.js} +1 -1
  31. package/.output/public/assets/{clipboard-DQbOcrL7.js → clipboard-DZrZK5gR.js} +1 -1
  32. package/.output/public/assets/{console-features-api-DEXSwFtc.js → console-features-api-BO5V64P3.js} +1 -1
  33. package/.output/public/assets/{copy-DsuLj3oj.js → copy-CH1__JAW.js} +1 -1
  34. package/.output/public/assets/dialog-BLj71-Nf.js +1 -0
  35. package/.output/public/assets/{dist-Bf1BPKMs.js → dist-DAM__Tdz.js} +1 -1
  36. package/.output/public/assets/download-B2GjTySo.js +1 -0
  37. package/.output/public/assets/empty--YaE5Z4p.js +1 -0
  38. package/.output/public/assets/field-CdhSgWhI.js +1 -0
  39. package/.output/public/assets/git-branch-DG1VDaKq.js +1 -0
  40. package/.output/public/assets/history-C0wv4htz.js +1 -0
  41. package/.output/public/assets/index-BdyQq4-k.js +10 -0
  42. package/.output/public/assets/{input-group-D_NfhUbX.js → input-group-XKLcUGoa.js} +1 -1
  43. package/.output/public/assets/insights-C94CdeAA.js +1 -0
  44. package/.output/public/assets/insights-DILMVpk8.js +2 -0
  45. package/.output/public/assets/insights-_j_ieOyh.js +42 -0
  46. package/.output/public/assets/insights-api-B6Gj74n5.js +1 -0
  47. package/.output/public/assets/{insights-search-CYPrQVUC.js → insights-search-Bgvg6wSP.js} +1 -1
  48. package/.output/public/assets/insights-usage-rpc-BUCinjSN.js +1 -0
  49. package/.output/public/assets/insights_.distribution-Bb6_S-hD.js +2 -0
  50. package/.output/public/assets/{insights_.distribution-_dZi1_ay.js → insights_.distribution-CRkGNelG.js} +1 -1
  51. package/.output/public/assets/insights_.distribution-CyAu3RN3.js +1 -0
  52. package/.output/public/assets/installations-BA01mqJE.js +1 -0
  53. package/.output/public/assets/installations-BsD6LgNc.js +2 -0
  54. package/.output/public/assets/installations-CYTzndfP.js +1 -0
  55. package/.output/public/assets/{key-round-DzBe6DHr.js → key-round-D7UgdXyA.js} +1 -1
  56. package/.output/public/assets/{link-DTEyW70e.js → link-CN3iHC4A.js} +2 -2
  57. package/.output/public/assets/{list-B6GeoQ_b.js → list-Bm-CfN5g.js} +1 -1
  58. package/.output/public/assets/loader-circle-iMqC-8ZE.js +1 -0
  59. package/.output/public/assets/native-builds-BMbws1g5.js +2 -0
  60. package/.output/public/assets/native-builds-xgHiHQML.js +1 -0
  61. package/.output/public/assets/native-builds_._buildId-B04z9yfk.js +1 -0
  62. package/.output/public/assets/native-builds_._buildId-DaMmTcHo.js +2 -0
  63. package/.output/public/assets/native-builds_.devices-B-u7uLLG.js +2 -0
  64. package/.output/public/assets/native-builds_.devices-CVNAQtSy.js +1 -0
  65. package/.output/public/assets/{package-ytYrywZH.js → package-BmfoZ5Zj.js} +1 -1
  66. package/.output/public/assets/plus-Db0KxLZp.js +1 -0
  67. package/.output/public/assets/preload-helper-CRQjUQaZ.js +1 -0
  68. package/.output/public/assets/{refresh-cw-C-tvoCcE.js → refresh-cw-BHhBYjS8.js} +1 -1
  69. package/.output/public/assets/{relativeTime-DvyxGIsm.js → relativeTime-BYRt19mj.js} +1 -1
  70. package/.output/public/assets/remote-config-Cxkr7_BP.js +1 -0
  71. package/.output/public/assets/remote-config-DAOyn5xL.js +1 -0
  72. package/.output/public/assets/remote-config-DXv25LX1.js +6 -0
  73. package/.output/public/assets/{rotate-cw-Clk5xTeE.js → rotate-cw-Ba-slJea.js} +1 -1
  74. package/.output/public/assets/{routes-gQXSzO_n.js → routes-DM3TyTLW.js} +2 -2
  75. package/.output/public/assets/routes-Des97uK_.js +1 -0
  76. package/.output/public/assets/search-dJG2BYmx.js +1 -0
  77. package/.output/public/assets/select-CA8r-UUe.js +1 -0
  78. package/.output/public/assets/send-DuMOCzbD.js +1 -0
  79. package/.output/public/assets/{sidebar-Di9SN47G.js → sidebar-yC7KdImc.js} +1 -1
  80. package/.output/public/assets/smartphone-D1C6BRd_.js +1 -0
  81. package/.output/public/assets/styles-BHLI87EH.css +2 -0
  82. package/.output/public/assets/switch-BsV3d4km.js +1 -0
  83. package/.output/public/assets/table-D8YjT_ht.js +1 -0
  84. package/.output/public/assets/tabs-RdhEl9sE.js +1 -0
  85. package/.output/public/assets/trash-2-B5KIvrXy.js +1 -0
  86. package/.output/public/assets/{undo-2-Bt0YXG26.js → undo-2-CFcU9dIB.js} +1 -1
  87. package/.output/public/assets/{useCompositeListItem-JmyDfo3-.js → useCompositeListItem-lAmUsXcc.js} +1 -1
  88. package/.output/public/assets/{useMutation-DbYw7boA.js → useMutation-w3qYaU2L.js} +1 -1
  89. package/.output/server/{__23tanstack-start-server-fn-resolver-CIN7Hpjl.mjs → __23tanstack-start-server-fn-resolver-DTuNq7_z.mjs} +85 -49
  90. package/.output/server/_libs/@base-ui/react+[...].mjs +1488 -183
  91. package/.output/server/_libs/@tanstack/react-router+[...].mjs +1 -1
  92. package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +2 -2
  93. package/.output/server/_libs/_.mjs +1 -1
  94. package/.output/server/_libs/lucide-react.mjs +22 -2
  95. package/.output/server/_libs/next-themes.mjs +1 -1
  96. package/.output/server/_libs/react-redux+[...].mjs +1 -1
  97. package/.output/server/_libs/recharts+[...].mjs +1 -1
  98. package/.output/server/_libs/sonner.mjs +1 -1
  99. package/.output/server/_libs/tanstack__react-query.mjs +1 -1
  100. package/.output/server/_ssr/{-native-builds-search-M6t7EIt4.mjs → -native-builds-search-Mm_AZoRU.mjs} +8 -2
  101. package/.output/server/_ssr/{BundleIdDisplay-BaFPllhZ.mjs → BundleIdDisplay-BX6DLh1K.mjs} +3 -3
  102. package/.output/server/_ssr/ChannelBadge-D7O95Ack.mjs +23 -0
  103. package/.output/server/_ssr/{ConsoleFeatureUnavailable-C-1Ls1sm.mjs → ConsoleFeatureUnavailable-Dfs3WUZf.mjs} +8 -8
  104. package/.output/server/_ssr/{EventDetails-jVM6sD8m.mjs → EventDetails-C1Q9caVa.mjs} +9 -9
  105. package/.output/server/_ssr/{HashValueDisplay-C7nja_fn.mjs → HashValueDisplay-SIEeZe0O.mjs} +3 -3
  106. package/.output/server/_ssr/{InsightsPageHeader-CDJhClRy.mjs → InsightsPageHeader-CAcbXSFD.mjs} +9 -9
  107. package/.output/server/_ssr/IosInstall-B7yxnQ7o.mjs +615 -0
  108. package/.output/server/_ssr/NativeBuildsNav-BwoEX7xx.mjs +38 -0
  109. package/.output/server/_ssr/{NotFoundPage-DclXpGzY.mjs → NotFoundPage-Cd_nKv04.mjs} +3 -3
  110. package/.output/server/_ssr/{PlatformIcon-CMLs3Wez.mjs → PlatformIcon-BpGOEXjU.mjs} +2 -2
  111. package/.output/server/_ssr/{RelativeTime-DUr_cgha.mjs → RelativeTime-B5txzq94.mjs} +40 -12
  112. package/.output/server/_ssr/{RolloutPercentageBadge-Mg4g25Gf.mjs → RolloutPercentageBadge-BEV8btLv.mjs} +4 -4
  113. package/.output/server/_ssr/RowReason-CEDEk7-N.mjs +186 -0
  114. package/.output/server/_ssr/{StoreSubmission-CUIg6WXQ.mjs → SandboxBadge-wlOMZIUd.mjs} +17 -17
  115. package/.output/server/_ssr/{TargetDisplay-C-C8MKuf.mjs → TargetDisplay-076I9qHx.mjs} +6 -23
  116. package/.output/server/_ssr/{alert-dialog-CiN6BFHg.mjs → alert-dialog-DrD4hAp4.mjs} +2 -2
  117. package/.output/server/_ssr/{api-BeWenjNl.mjs → api-C1plnjZg.mjs} +74 -17
  118. package/.output/server/_ssr/{api-keys-DzWwXpi5.mjs → api-keys-Bzn-P-lX.mjs} +2 -2
  119. package/.output/server/_ssr/{api-keys-Bzaj1vWD.mjs → api-keys-L8_p18pO.mjs} +12 -12
  120. package/.output/server/_ssr/{api-keys-rpc-BRnZWUpw.mjs → api-keys-rpc-Mne2yo8z.mjs} +3 -3
  121. package/.output/server/_ssr/{api-rpc-B87QoJwB.mjs → api-rpc-ChVBmeca.mjs} +56 -33
  122. package/.output/server/_ssr/{auth-rpc-CO1_TL1b.mjs → auth-rpc-Dml8l_eq.mjs} +4 -4
  123. package/.output/server/_ssr/{auth.server-BWTHsAlW.mjs → auth.server-DOShgraQ.mjs} +587 -19
  124. package/.output/server/_ssr/{badge-C7PdVtoH.mjs → badge-BasQflNy.mjs} +2 -2
  125. package/.output/server/_ssr/{bundleActivity-BGVvqWx7.mjs → bundleActivity-BP40zYSt.mjs} +1 -1
  126. package/.output/server/_ssr/{card-BkxhOkGp.mjs → card-BrGGQYC0.mjs} +2 -2
  127. package/.output/server/_ssr/{config.server-Bvqyj9Ec.mjs → config.server-CVOdMDBk.mjs} +4 -4
  128. package/.output/server/_ssr/{console-access-CHD7-b3E.mjs → console-access-Bi-abtY-.mjs} +2 -2
  129. package/.output/server/_ssr/{console-features-api-Btkz_ZEj.mjs → console-features-api-Bjxo5ur3.mjs} +5 -5
  130. package/.output/server/_ssr/{console-features-rpc-DYf3xbak.mjs → console-features-rpc-xzdodg3g.mjs} +3 -3
  131. package/.output/server/_ssr/{console-features-CRP-pfov.mjs → console-features-xaGDhRC9.mjs} +1 -1
  132. package/.output/server/_ssr/deviceProfileToken-CwWb1lPq.mjs +82 -0
  133. package/.output/server/_ssr/{dialog-fnm03nlH.mjs → dialog-7iMkt9l0.mjs} +2 -2
  134. package/.output/server/_ssr/{downloadBundle-BX8ODCZT.mjs → downloadBundle-DnoYpi36.mjs} +1 -1
  135. package/.output/server/_ssr/{empty-BzjaWjuQ.mjs → empty-Chb-YL3R.mjs} +3 -3
  136. package/.output/server/_ssr/{failureReports-C_CmBF4x.mjs → failureReports-BA2eg11O.mjs} +3 -3
  137. package/.output/server/_ssr/{field-C2GZCygB.mjs → field-mL_Aa6ff.mjs} +3 -3
  138. package/.output/server/_ssr/foldedPage-CqpVk31Q.mjs +176 -0
  139. package/.output/server/_ssr/{getBundleChildren-BJTufthT.mjs → getBundleChildren-CdqFonhl.mjs} +1 -1
  140. package/.output/server/_ssr/{input-group-Cu6TtdYb.mjs → input-group-C00_xYka.mjs} +2 -2
  141. package/.output/server/_ssr/{insights-DuQB3_VX.mjs → insights-BcVNQCXf.mjs} +28 -28
  142. package/.output/server/_ssr/{insights-DZZsKfdZ.mjs → insights-BdF3o0Yp.mjs} +2 -2
  143. package/.output/server/_ssr/{insights-D_XXiwXz.mjs → insights-C9sSQPMF.mjs} +5 -5
  144. package/.output/server/_ssr/{insights-api-a8B90BHl.mjs → insights-api-CShlv9dA.mjs} +5 -5
  145. package/.output/server/_ssr/{insights-errors-Bz3sWNZm.mjs → insights-errors-CXHg1lLV.mjs} +2 -2
  146. package/.output/server/_ssr/{insights-failures-DNQ9qVVf.mjs → insights-failures-7zH97WOO.mjs} +2 -2
  147. package/.output/server/_ssr/{insights-failures-rpc-DM5dPfnS.mjs → insights-failures-rpc-C-cv9bId.mjs} +10 -10
  148. package/.output/server/_ssr/{insights-recovery-DOkpqnQ8.mjs → insights-recovery-BhOg6kz2.mjs} +1 -1
  149. package/.output/server/_ssr/{insights-recovery-rpc-C81f-2Xa.mjs → insights-recovery-rpc-Ct-jIQZU.mjs} +6 -6
  150. package/.output/server/_ssr/{insights-rpc-DVbg0dsI.mjs → insights-rpc-Dc0I8O3n.mjs} +3 -3
  151. package/.output/server/_ssr/{insights-search-sCdCd-8P.mjs → insights-search-D_vVwBwW.mjs} +3 -3
  152. package/.output/server/_ssr/{insights-usage-4KDIN3Kg.mjs → insights-usage-h8fipPTv.mjs} +1 -1
  153. package/.output/server/_ssr/{insights-usage-rpc-CKfXb-tc.mjs → insights-usage-rpc-4TR94EHa.mjs} +6 -6
  154. package/.output/server/_ssr/{insights-usage-rpc-DAwc4FE6.mjs → insights-usage-rpc-D60hOhzl.mjs} +5 -5
  155. package/.output/server/_ssr/{insightsUsage-DmQdJZqT.mjs → insightsUsage-BjSiV_X_.mjs} +3 -3
  156. package/.output/server/_ssr/{insights_.distribution-FhZMnsNm.mjs → insights_.distribution-BgnfMzw1.mjs} +17 -17
  157. package/.output/server/_ssr/{insights_.distribution-CvPrNh8j.mjs → insights_.distribution-DkD7uAwA.mjs} +5 -5
  158. package/.output/server/_ssr/{insights_.distribution-Bq52kUtA.mjs → insights_.distribution-wT1mjWsG.mjs} +2 -2
  159. package/.output/server/_ssr/{installations-BjOaol_w.mjs → installations-DtRbzy3N.mjs} +2 -2
  160. package/.output/server/_ssr/{installations-CKe2Srtx.mjs → installations-DvxMRP5u.mjs} +4 -4
  161. package/.output/server/_ssr/{installations-B2anrEwv.mjs → installations-tFsFnxKk.mjs} +13 -13
  162. package/.output/server/_ssr/ios-devices-rpc-CIPuCUQ8.mjs +139 -0
  163. package/.output/server/_ssr/iosDeviceProfile-WyMC1593.mjs +176 -0
  164. package/.output/server/_ssr/iosDevices-B0TjF_sb.mjs +129 -0
  165. package/.output/server/_ssr/listReleases-DYYA5alS.mjs +94 -0
  166. package/.output/server/_ssr/{native-builds-OUdRtp6m.mjs → native-builds-BXBkklfA.mjs} +28 -6
  167. package/.output/server/_ssr/{native-builds-DSOAh1CX.mjs → native-builds-C458T7Ts.mjs} +3 -3
  168. package/.output/server/_ssr/{native-builds-BsfydODe.mjs → native-builds-C5WxR0BT.mjs} +235 -90
  169. package/.output/server/_ssr/{native-builds_._buildId-BOedzqOS.mjs → native-builds_._buildId-CyCGKZ1H.mjs} +165 -323
  170. package/.output/server/_ssr/{native-builds_._buildId-DSfes24H.mjs → native-builds_._buildId-UsgsqKI8.mjs} +3 -3
  171. package/.output/server/_ssr/native-builds_.devices-BcfLIzJs.mjs +10 -0
  172. package/.output/server/_ssr/native-builds_.devices-BpTcIWm0.mjs +689 -0
  173. package/.output/server/_ssr/{nativeBuildDownloadLink-D-yCU-H7.mjs → nativeBuildDownloadLink-CtB2G7qG.mjs} +3 -3
  174. package/.output/server/_ssr/{nativeBuildInstall-szlEt-t_.mjs → nativeBuildInstall-PavEyZtZ.mjs} +56 -8
  175. package/.output/server/_ssr/{nativeBuilds-CRLmvFaO.mjs → nativeBuilds-Cub0EUGN.mjs} +135 -13
  176. package/.output/server/_ssr/{publicConsoleBase-DvHYxDaG.mjs → publicConsoleBase-f67NLLXZ.mjs} +11 -3
  177. package/.output/server/_ssr/{release-adoption-C7sUFDwa.mjs → release-adoption-DeICczY7.mjs} +2 -2
  178. package/.output/server/_ssr/{release-adoption-rpc-DHqnRw73.mjs → release-adoption-rpc-DkT6ui4_.mjs} +8 -8
  179. package/.output/server/_ssr/{releaseAdoption-D6ScSu-W.mjs → releaseAdoption-kHZo8P90.mjs} +3 -3
  180. package/.output/server/_ssr/{remote-config-D2wHSNjm.mjs → remote-config-BKlK0dFP.mjs} +3 -3
  181. package/.output/server/_ssr/{remote-config-Byc4JHkB.mjs → remote-config-D_nQT__6.mjs} +2 -2
  182. package/.output/server/_ssr/{remote-config-rpc-ZOfBMLtE.mjs → remote-config-rpc-BW6lyp9Y.mjs} +3 -3
  183. package/.output/server/_ssr/{remote-config-DkrjdfMC.mjs → remote-config-v1hs050H.mjs} +24 -24
  184. package/.output/server/_ssr/{router-D0GDdWkI.mjs → router-hKO__Vrv.mjs} +74 -77
  185. package/.output/server/_ssr/{routes-C10oCddR.mjs → routes-DKxm5A7X.mjs} +312 -233
  186. package/.output/server/_ssr/{routes-ChnyY2qP.mjs → routes-OhljAvlx.mjs} +15 -14
  187. package/.output/server/_ssr/{runtime.server-wcHT2Cop.mjs → runtime.server-CkSbWaZm.mjs} +2 -2
  188. package/.output/server/_ssr/{schema-migration-rpc-BKRs4MNf.mjs → schema-migration-rpc-DrrYEFqy.mjs} +3 -3
  189. package/.output/server/_ssr/{select-B9du7Z50.mjs → select-M4kWGKJW.mjs} +3 -3
  190. package/.output/server/_ssr/{server-CApi3lVS.mjs → server-4hXySEh0.mjs} +5 -5
  191. package/.output/server/_ssr/{sidebar-BwMkm72O.mjs → sidebar-CFlo6lny.mjs} +3 -3
  192. package/.output/server/_ssr/ssr.mjs +1 -1
  193. package/.output/server/_ssr/{start-By4wHYjG.mjs → start-D3noqqOK.mjs} +1 -1
  194. package/.output/server/_ssr/{switch-DyShvUOF.mjs → switch-xTCGSBdC.mjs} +3 -3
  195. package/.output/server/_ssr/{table-DMj6AnqH.mjs → table-CqdaVMjd.mjs} +2 -2
  196. package/.output/server/_ssr/{tabs-5a_JPYme.mjs → tabs-DtMAFr25.mjs} +4 -4
  197. package/.output/server/_ssr/{updateFailures-DNiv3S_y.mjs → updateFailures-D0bP_Ume.mjs} +3 -3
  198. package/.output/server/_tanstack-start-manifest_v-CYfHRC4i.mjs +225 -0
  199. package/.output/server/index.mjs +452 -375
  200. package/lib/index.d.mts +9 -0
  201. package/package.json +7 -7
  202. package/src/components/DataTable.tsx +47 -3
  203. package/src/components/FoldedRows.tsx +219 -0
  204. package/src/components/RowReason.tsx +56 -0
  205. package/src/components/features/api-keys/ApiKeysPage.tsx +1 -1
  206. package/src/components/features/channels/ChannelManagementDialog.tsx +2 -2
  207. package/src/components/features/native-builds/CommitLink.tsx +2 -1
  208. package/src/components/features/native-builds/InstallCard.tsx +77 -40
  209. package/src/components/features/native-builds/IosDevicesPage.tsx +925 -0
  210. package/src/components/features/native-builds/IosInstall.tsx +375 -73
  211. package/src/components/features/native-builds/IpaDevicesCard.tsx +111 -0
  212. package/src/components/features/native-builds/NativeBuildDetailPage.tsx +7 -0
  213. package/src/components/features/native-builds/NativeBuildsNav.tsx +44 -0
  214. package/src/components/features/native-builds/NativeBuildsPage.tsx +2 -0
  215. package/src/components/features/native-builds/NativeBuildsTable.tsx +220 -32
  216. package/src/components/features/native-builds/OlderBuildLabel.tsx +61 -0
  217. package/src/components/features/native-builds/ShortHash.tsx +5 -2
  218. package/src/components/features/remote-config/PublishDialog.tsx +4 -1
  219. package/src/components/features/remote-config/VersionsCard.tsx +5 -2
  220. package/src/components/ui/sonner.tsx +3 -1
  221. package/src/index.ts +9 -0
  222. package/src/lib/api-rpc.ts +70 -30
  223. package/src/lib/api.ts +65 -2
  224. package/src/lib/ios-devices-api.ts +110 -0
  225. package/src/lib/ios-devices-rpc.ts +183 -0
  226. package/src/lib/native-builds.ts +72 -7
  227. package/src/lib/server/console-runtime.server.ts +9 -2
  228. package/src/lib/server/deviceProfileToken.ts +187 -0
  229. package/src/lib/server/foldedPage.ts +360 -0
  230. package/src/lib/server/iosDeviceProfile.ts +230 -0
  231. package/src/lib/server/iosDevices.ts +223 -0
  232. package/src/lib/server/listReleases.ts +101 -62
  233. package/src/lib/server/nativeBuildInstall.ts +147 -7
  234. package/src/lib/server/nativeBuilds.ts +221 -26
  235. package/src/routeTree.gen.ts +64 -67
  236. package/src/routes/-native-builds-search.ts +20 -0
  237. package/src/routes/[_]hot-updater/devices/device-response.ts +21 -0
  238. package/src/routes/[_]hot-updater/devices/device[.]mobileconfig.ts +17 -0
  239. package/src/routes/index.tsx +447 -299
  240. package/src/routes/native-builds_.devices.tsx +21 -0
  241. package/src/styles.css +2 -2
  242. package/.output/public/assets/BundleIdDisplay-CP6rsdFO.js +0 -1
  243. package/.output/public/assets/EventDetails-DZsRlDHk.js +0 -1
  244. package/.output/public/assets/HashValueDisplay-MoZMmTeP.js +0 -1
  245. package/.output/public/assets/RelativeTime-TCmpOVPg.js +0 -1
  246. package/.output/public/assets/StoreSubmission-CqSg880n.js +0 -1
  247. package/.output/public/assets/TargetDisplay-DwOaMOiI.js +0 -1
  248. package/.output/public/assets/api-LQJH44FU.js +0 -1
  249. package/.output/public/assets/api-keys-4w2-ofii.js +0 -1
  250. package/.output/public/assets/api-keys-uFY8FsN9.js +0 -1
  251. package/.output/public/assets/arrow-left-g9cKqXuC.js +0 -1
  252. package/.output/public/assets/arrow-right-CNII8TYn.js +0 -1
  253. package/.output/public/assets/arrow-up-right-DK8Zdg40.js +0 -1
  254. package/.output/public/assets/card-ulgg5xHn.js +0 -1
  255. package/.output/public/assets/check-CXVR3s3X.js +0 -1
  256. package/.output/public/assets/chevron-right-BoUXo82O.js +0 -1
  257. package/.output/public/assets/dialog-CLIaC82_.js +0 -1
  258. package/.output/public/assets/empty-Bhlj8PEo.js +0 -1
  259. package/.output/public/assets/field-q4sTYzNU.js +0 -1
  260. package/.output/public/assets/history-DakJoeSM.js +0 -1
  261. package/.output/public/assets/index-CJclLsbG.js +0 -10
  262. package/.output/public/assets/insights-0TUItqwh.js +0 -1
  263. package/.output/public/assets/insights-B75txQ_F.js +0 -42
  264. package/.output/public/assets/insights-C17Z0whn.js +0 -2
  265. package/.output/public/assets/insights-api-BVCXJsoV.js +0 -1
  266. package/.output/public/assets/insights-usage-rpc-BbFllvi_.js +0 -1
  267. package/.output/public/assets/insights_.distribution-AZcfvK7x.js +0 -1
  268. package/.output/public/assets/insights_.distribution-gDqNqI5E.js +0 -2
  269. package/.output/public/assets/installations-Ap2G2tDs.js +0 -1
  270. package/.output/public/assets/installations-D0g3xvw8.js +0 -2
  271. package/.output/public/assets/installations-Y_7QW_p8.js +0 -1
  272. package/.output/public/assets/native-builds-Ba6cEZfm.js +0 -2
  273. package/.output/public/assets/native-builds-C3_-21we.js +0 -1
  274. package/.output/public/assets/native-builds_._buildId-BnP31v32.js +0 -1
  275. package/.output/public/assets/native-builds_._buildId-Cp9LJiMP.js +0 -2
  276. package/.output/public/assets/plus-BVhOauU3.js +0 -1
  277. package/.output/public/assets/preload-helper-B44EvKhG.js +0 -1
  278. package/.output/public/assets/remote-config-BRdy8QFR.js +0 -1
  279. package/.output/public/assets/remote-config-C9p5Pcdj.js +0 -6
  280. package/.output/public/assets/remote-config-CIAEArwq.js +0 -1
  281. package/.output/public/assets/routes-BLTF7nwe.js +0 -1
  282. package/.output/public/assets/search-nnvSOTEB.js +0 -1
  283. package/.output/public/assets/select-CBIU0_M1.js +0 -1
  284. package/.output/public/assets/smartphone-r0rRdPas.js +0 -1
  285. package/.output/public/assets/styles-BdlrKlVs.css +0 -2
  286. package/.output/public/assets/switch-CP6GsHmN.js +0 -1
  287. package/.output/public/assets/table-TUtVz-2l.js +0 -1
  288. package/.output/public/assets/tabs-CP3CSmtI.js +0 -1
  289. package/.output/public/assets/useInfiniteQuery-DX4WpBRG.js +0 -1
  290. package/.output/server/_ssr/listReleases-CQEceg8j.mjs +0 -79
  291. package/.output/server/_ssr/nativeBuildDevice-DJUAzAIj.mjs +0 -210
  292. package/.output/server/_tanstack-start-manifest_v-8M7ggCuB.mjs +0 -192
  293. package/src/lib/server/nativeBuildDevice.ts +0 -253
  294. package/src/routes/[_]hot-updater/native-builds/$buildId/device-response.ts +0 -17
  295. package/src/routes/[_]hot-updater/native-builds/$buildId/device.ts +0 -17
  296. package/src/routes/[_]hot-updater/native-builds/$buildId/device[.]mobileconfig.ts +0 -17
  297. /package/.output/public/assets/{uuidv7-cI6C63Fm.js → uuidv7-DAoOOpz9.js} +0 -0
  298. /package/.output/public/assets/{valueToPercent-B6X9rUJM.js → valueToPercent-Bn8p2lng.js} +0 -0
@@ -1,25 +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-BwMkm72O.mjs";
5
- import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BkxhOkGp.mjs";
6
- import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-C7PdVtoH.mjs";
7
- import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-DMj6AnqH.mjs";
8
- import { n as toast } from "../_libs/sonner.mjs";
2
+ import { Et as require_react, 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-CFlo6lny.mjs";
9
5
  import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
10
- import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-BzjaWjuQ.mjs";
6
+ import { a as EmptyMedia, i as EmptyHeader, n as EmptyContent, o as EmptyTitle, r as EmptyDescription, t as Empty } from "./empty-Chb-YL3R.mjs";
7
+ import { a as CardHeader, n as CardContent, o as CardTitle, t as Card } from "./card-BrGGQYC0.mjs";
8
+ import { a as Badge, i as AlertTitle, n as AlertAction, r as AlertDescription, t as Alert } from "./badge-BasQflNy.mjs";
9
+ import { a as TableHeader, i as TableHead, n as TableBody, o as TableRow, r as TableCell, t as Table } from "./table-CqdaVMjd.mjs";
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-BeWenjNl.mjs";
15
- import { t as BundleIdDisplay } from "./BundleIdDisplay-BaFPllhZ.mjs";
16
- import { a as TargetDisplay, n as ChannelBadge, r as CopyableText, t as BuildKeyDisplay } from "./TargetDisplay-C-C8MKuf.mjs";
12
+ import { D as platformLabel, E as nativeBuildSignedDownloadUrl, S as nativeBuildLabel, b as nativeBuildInstallCommand, d as formatByteSize, k as shellQuote, m as nativeBuildArtifacts, p as maskIosUdid, 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-C1plnjZg.mjs";
15
+ import { t as BundleIdDisplay } from "./BundleIdDisplay-BX6DLh1K.mjs";
16
+ import { t as ChannelBadge } from "./ChannelBadge-D7O95Ack.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-CUIg6WXQ.mjs";
19
- import { t as Route } from "./native-builds_._buildId-DSfes24H.mjs";
20
- import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-Mg4g25Gf.mjs";
21
- import { t as encode } from "../_libs/uqr.mjs";
22
- //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-BOedzqOS.js
18
+ import { i as TargetDisplay, n as CopyableText, r as NoValue, t as BuildKeyDisplay } from "./TargetDisplay-076I9qHx.mjs";
19
+ import { i as isSubmitted, n as SandboxBadge, r as StoreSubmissionBadge, t as PLAY_TRACKS } from "./SandboxBadge-wlOMZIUd.mjs";
20
+ import { t as Route } from "./native-builds_._buildId-UsgsqKI8.mjs";
21
+ import { n as TimestampDisplay, r as getCommitUrl, t as RolloutPercentageBadge } from "./RolloutPercentageBadge-BEV8btLv.mjs";
22
+ import { i as useIosDevice, n as QrCode, s as useNativeBuildIpaDevicesQuery, t as IosInstall } from "./IosInstall-B7yxnQ7o.mjs";
23
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_._buildId-CyCGKZ1H.js
23
24
  var import_react = /* @__PURE__ */ __toESM(require_react());
24
25
  var import_jsx_runtime = require_jsx_runtime();
25
26
  var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
@@ -27,7 +28,7 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
27
28
  * A hash shortened to its prefix, as git shows a commit: never cut in the
28
29
  * middle, the full value on hover, and copied on click.
29
30
  */
30
- function ShortHash({ value, length, label }) {
31
+ function ShortHash({ value, length, shown = value.slice(0, length), label }) {
31
32
  const copy = async () => {
32
33
  try {
33
34
  await navigator.clipboard.writeText(value);
@@ -46,7 +47,7 @@ function ShortHash({ value, length, label }) {
46
47
  title: value,
47
48
  translate: "no",
48
49
  type: "button",
49
- children: value.slice(0, length)
50
+ children: shown
50
51
  });
51
52
  }
52
53
  /**
@@ -56,10 +57,7 @@ function ShortHash({ value, length, label }) {
56
57
  */
57
58
  function CommitLink({ hash }) {
58
59
  const config = useConfigQuery();
59
- if (hash === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
60
- className: "text-muted-foreground",
61
- children: "—"
62
- });
60
+ if (hash === null) return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NoValue, {});
63
61
  const url = getCommitUrl(config.data?.console.gitUrl, hash);
64
62
  return url === null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortHash, {
65
63
  label: "commit",
@@ -267,281 +265,6 @@ function BuiltInBundleCard({ detail }) {
267
265
  });
268
266
  }
269
267
  /**
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
268
  * What an artifact installs on, where the file alone isn't enough: the card
546
269
  * says it once, under the QR code, or without one, in its place.
547
270
  */
@@ -815,6 +538,32 @@ function SignedLink({ link, url }) {
815
538
  function InstallCard({ build }) {
816
539
  return isSubmitted(build) && (build.artifact_kind === "ipa" || build.artifact_kind === "aab") ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StoreInstallCard, { build }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(FileInstallCard, { build });
817
540
  }
541
+ /**
542
+ * On the iPhone, what installs the IPA from a computer, closed under the one
543
+ * action this phone takes: over USB, TestFlight, the download, and its link.
544
+ */
545
+ function OtherWaysToInstall({ children }) {
546
+ const [open, setOpen] = (0, import_react.useState)(false);
547
+ const id = (0, import_react.useId)();
548
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
549
+ className: "flex min-w-0 flex-col gap-3 border-t pt-3",
550
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("button", {
551
+ "aria-controls": id,
552
+ "aria-expanded": open,
553
+ className: "group/other -mx-1 flex min-h-11 items-center gap-1.5 self-start rounded-md px-1 text-xs font-medium text-muted-foreground transition-colors hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none motion-reduce:transition-none sm:min-h-8",
554
+ onClick: () => setOpen((value) => !value),
555
+ type: "button",
556
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, {
557
+ "aria-hidden": "true",
558
+ className: "size-3.5 shrink-0 transition-transform group-aria-expanded/other:rotate-90 motion-reduce:transition-none"
559
+ }), "Other ways to install"]
560
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
561
+ hidden: !open,
562
+ id,
563
+ children
564
+ })]
565
+ });
566
+ }
818
567
  function FileInstallCard({ build }) {
819
568
  const fileName = nativeBuildFileName(build);
820
569
  const link = useNativeBuildDownloadLinkQuery(build.id);
@@ -822,6 +571,28 @@ function FileInstallCard({ build }) {
822
571
  const device = useIosDevice();
823
572
  const ipa = build.artifact_kind === "ipa";
824
573
  const onPhone = ipa && device?.ios === true;
574
+ const otherWays = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
575
+ className: "flex min-w-0 flex-col gap-4",
576
+ children: [
577
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallSteps, { build }),
578
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", {
579
+ className: buttonVariants({
580
+ className: "h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit",
581
+ variant: "outline"
582
+ }),
583
+ download: true,
584
+ href: signedUrl ?? nativeBuildDownloadPath(build.id),
585
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Download, { "data-icon": "inline-start" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
586
+ className: "text-left [overflow-wrap:anywhere]",
587
+ children: ["Download ", fileName]
588
+ })]
589
+ }),
590
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SignedLink, {
591
+ link: link.data,
592
+ url: signedUrl
593
+ })
594
+ ]
595
+ });
825
596
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Card, {
826
597
  className: "overflow-hidden shadow-sm",
827
598
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardHeader, {
@@ -830,36 +601,106 @@ function FileInstallCard({ build }) {
830
601
  className: "text-sm",
831
602
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "Install" })
832
603
  })
833
- }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardContent, {
834
- 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
- children: [onPhone ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IosInstall, {
604
+ }), onPhone ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardContent, {
605
+ className: "flex min-w-0 flex-col gap-4 p-4 sm:p-6",
606
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(IosInstall, {
836
607
  build,
837
- udid: device.udid
838
- }) : ipa && signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannablePage, {}) : signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannableUrl, {
608
+ device
609
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(OtherWaysToInstall, { children: otherWays })]
610
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardContent, {
611
+ className: "grid gap-6 p-4 sm:grid-cols-[12rem_minmax(0,1fr)] sm:p-6",
612
+ children: [ipa && signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannablePage, {}) : signedUrl !== null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScannableUrl, {
839
613
  build,
840
614
  url: signedUrl
841
- }) : link.data !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StorageQrCode, { build }) : link.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(QrProblem, { message: link.error.message }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "size-48" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
842
- className: "flex min-w-0 flex-col gap-4",
615
+ }) : link.data !== void 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(StorageQrCode, { build }) : link.isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(QrProblem, { message: link.error.message }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "size-48" }), otherWays]
616
+ })]
617
+ });
618
+ }
619
+ /**
620
+ * The devices an ad hoc IPA installs on, read from its signing profile: each
621
+ * by the registry's name when the registry knows it, else as an unknown
622
+ * device, over its UDID's last characters, which copy the whole UDID. Read
623
+ * only: the IPA decides, and a new build is what adds a device.
624
+ */
625
+ function IpaDevicesCard({ build }) {
626
+ const query = useNativeBuildIpaDevicesQuery(build.id);
627
+ const result = query.data;
628
+ if (result?.status === "store" || result?.status === "enterprise") return null;
629
+ const devices = result?.status === "listed" ? result.devices : null;
630
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Card, {
631
+ className: "overflow-hidden shadow-sm",
632
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardHeader, {
633
+ className: "flex flex-row items-center gap-2 border-b px-4 py-3",
634
+ children: [
635
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardTitle, {
636
+ className: "text-sm",
637
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h2", { children: "Devices in this build" })
638
+ }),
639
+ devices === null ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
640
+ className: "text-xs tabular-nums text-muted-foreground",
641
+ children: devices.length
642
+ }),
643
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
644
+ className: buttonVariants({
645
+ className: "ml-auto h-11 sm:h-7",
646
+ size: "sm",
647
+ variant: "ghost"
648
+ }),
649
+ to: "/native-builds/devices",
650
+ children: "iOS devices"
651
+ })
652
+ ]
653
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardContent, {
654
+ className: "p-0",
655
+ children: query.isPending ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
656
+ className: "flex flex-col gap-2 p-4",
843
657
  children: [
844
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallSteps, { build }),
845
- /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", {
846
- className: buttonVariants({
847
- className: "h-auto min-h-11 w-full min-w-0 py-2 whitespace-normal sm:min-h-8 sm:w-fit",
848
- variant: "outline"
849
- }),
850
- download: true,
851
- href: signedUrl ?? nativeBuildDownloadPath(build.id),
852
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Download, { "data-icon": "inline-start" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
853
- className: "text-left [overflow-wrap:anywhere]",
854
- children: ["Download ", fileName]
855
- })]
658
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
659
+ className: "sr-only",
660
+ children: "Reading this IPA's devices"
856
661
  }),
857
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SignedLink, {
858
- link: link.data,
859
- url: signedUrl
860
- })
662
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" }),
663
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Skeleton, { className: "h-8 w-full" })
861
664
  ]
862
- })]
665
+ }) : query.isError || result?.status === "unavailable" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
666
+ className: "flex flex-wrap items-center gap-3 p-4 text-xs text-muted-foreground",
667
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
668
+ className: "min-w-0 flex-1",
669
+ children: "The Console couldn't read this IPA's devices from storage."
670
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button$1, {
671
+ className: "h-11 sm:h-7",
672
+ onClick: () => void query.refetch(),
673
+ size: "sm",
674
+ variant: "outline",
675
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(RefreshCw, { "data-icon": "inline-start" }), "Retry"]
676
+ })]
677
+ }) : devices?.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", {
678
+ className: "p-4 text-xs text-muted-foreground",
679
+ children: "This IPA lists no devices."
680
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", {
681
+ "aria-label": "Devices in this build",
682
+ className: "divide-y",
683
+ children: devices?.map((device) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("li", {
684
+ className: "flex min-h-11 min-w-0 items-center gap-3 px-4 py-2 text-sm",
685
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Smartphone, {
686
+ "aria-hidden": "true",
687
+ className: "size-4 shrink-0 text-muted-foreground"
688
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
689
+ className: "flex min-w-0 flex-col items-start",
690
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
691
+ className: device.name === null ? "truncate text-muted-foreground" : "truncate",
692
+ children: device.name ?? "Unknown device"
693
+ }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
694
+ className: "text-muted-foreground",
695
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShortHash, {
696
+ label: "UDID",
697
+ shown: maskIosUdid(device.udid),
698
+ value: device.udid
699
+ })
700
+ })]
701
+ })]
702
+ }, device.udid))
703
+ })
863
704
  })]
864
705
  });
865
706
  }
@@ -1302,6 +1143,7 @@ function NativeBuildDetailPage({ buildId, search, onSearchChange }) {
1302
1143
  }) })]
1303
1144
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
1304
1145
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InstallCard, { build: detail.build }),
1146
+ detail.build.artifact_kind === "ipa" && !isSubmitted(detail.build) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(IpaDevicesCard, { build: detail.build }) : null,
1305
1147
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BuiltInBundleCard, { detail }),
1306
1148
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ServedNowCard, { detail }),
1307
1149
  /* @__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-DSfes24H.js
4
- var $$splitComponentImporter = () => import("./native-builds_._buildId-BOedzqOS.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-UsgsqKI8.js
4
+ var $$splitComponentImporter = () => import("./native-builds_._buildId-CyCGKZ1H.mjs");
5
5
  var Route = createFileRoute("/native-builds_/$buildId")({
6
6
  component: lazyRouteComponent($$splitComponentImporter, "component"),
7
7
  validateSearch: validateNativeBuildDetailSearch
@@ -0,0 +1,10 @@
1
+ import { f as lazyRouteComponent, p as createFileRoute } from "../_libs/@tanstack/react-router+[...].mjs";
2
+ import { t as validateIosDevicesSearch } from "./-native-builds-search-Mm_AZoRU.mjs";
3
+ //#region node_modules/.nitro/vite/services/ssr/assets/native-builds_.devices-BcfLIzJs.js
4
+ var $$splitComponentImporter = () => import("./native-builds_.devices-BpTcIWm0.mjs");
5
+ var Route = createFileRoute("/native-builds_/devices")({
6
+ component: lazyRouteComponent($$splitComponentImporter, "component"),
7
+ validateSearch: validateIosDevicesSearch
8
+ });
9
+ //#endregion
10
+ export { Route as t };