hyperframes 0.9.28 → 0.9.30

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 (231) hide show
  1. package/dist/{add-XQCABYNY.js → add-JBBBMWP4.js} +8 -8
  2. package/dist/{agentPromptGenerator-S2SYZY3A.js → agentPromptGenerator-NJL6ZJQA.js} +2 -2
  3. package/dist/{animatedGifPrep-SACSOT4A.js → animatedGifPrep-AVZAMI2D.js} +2 -2
  4. package/dist/api.js +27 -27
  5. package/dist/{asset-JPI3LFG4.js → asset-VFG5LF4B.js} +5 -5
  6. package/dist/{assetCataloger-TJQ5OLMV.js → assetCataloger-WGNEAI5A.js} +3 -3
  7. package/dist/{audio-RG6NXOMI.js → audio-URYC7ND7.js} +16 -16
  8. package/dist/{auth-7G2OCS7L.js → auth-E4ZBU47K.js} +6 -6
  9. package/dist/{autoUpdate-7RS75ENY.js → autoUpdate-CEYR6IHF.js} +4 -4
  10. package/dist/{avatars-KWPVXWXC.js → avatars-ZPRQ3ZCD.js} +11 -11
  11. package/dist/{backgroundChecks-5HHWQH5H.js → backgroundChecks-BL4XMMXE.js} +5 -5
  12. package/dist/backgroundChecksWorker.js +5 -5
  13. package/dist/{batchRender-AL6DO5IA.js → batchRender-FK7U2GUF.js} +4 -4
  14. package/dist/{beats-XHKWF5KT.js → beats-XK4QL74K.js} +8 -8
  15. package/dist/{benchmark-57RNYMON.js → benchmark-MABRDF7U.js} +11 -11
  16. package/dist/{billing-FXAMQKDS.js → billing-2CABBLDC.js} +9 -9
  17. package/dist/{browser-TV2VPWQJ.js → browser-SHU4XK5O.js} +8 -8
  18. package/dist/{bundleWithLocalizedFonts-YGHFRVJW.js → bundleWithLocalizedFonts-W7SSOXOO.js} +3 -3
  19. package/dist/{capture-GPT5V4ND.js → capture-CFESIHJR.js} +8 -8
  20. package/dist/{capture-LHPSRQ4R.js → capture-VPWHIN5C.js} +5 -5
  21. package/dist/{captureCompositionFrame-TLV2WC4Q.js → captureCompositionFrame-MT3CHQJ6.js} +9 -9
  22. package/dist/{catalog-7A3MMFTN.js → catalog-BBPONQOO.js} +9 -9
  23. package/dist/{catch-up-SEGXPPOX.js → catch-up-DEZVG3A5.js} +8 -8
  24. package/dist/{check-OP5AR33W.js → check-LIC6DYFD.js} +29 -29
  25. package/dist/{checkAudio-QDAUXX7W.js → checkAudio-RHF5CWWX.js} +7 -7
  26. package/dist/{checkBrowser-OGE3A52R.js → checkBrowser-LUHIFDJZ.js} +22 -22
  27. package/dist/{chunk-U46YQL7E.js → chunk-2B2IMLUQ.js} +1 -1
  28. package/dist/{chunk-SJOA2RCP.js → chunk-2II5FCVK.js} +9 -9
  29. package/dist/{chunk-P5USY2GC.js → chunk-2NK3K7JL.js} +2 -2
  30. package/dist/{chunk-BF6RWOUF.js → chunk-2QUQKYOK.js} +135 -61
  31. package/dist/{chunk-MMCMEW7K.js → chunk-2YZ6GA4E.js} +1 -1
  32. package/dist/{chunk-IQKMIYLG.js → chunk-3OA75WJW.js} +2 -2
  33. package/dist/{chunk-SCNC7YPB.js → chunk-3YNJAXA5.js} +1 -1
  34. package/dist/{chunk-7M26J4R3.js → chunk-4TCEF2I7.js} +1 -1
  35. package/dist/{chunk-L5KXLXFY.js → chunk-5IAFM6M5.js} +9 -9
  36. package/dist/{chunk-EOJ2PMOV.js → chunk-5QGDLMU3.js} +2 -2
  37. package/dist/{chunk-257XUBNU.js → chunk-5RLMHG3E.js} +1 -1
  38. package/dist/{chunk-W7TS3CZA.js → chunk-74PW4UVC.js} +1 -1
  39. package/dist/{chunk-RFLV3WR5.js → chunk-76MHB2H6.js} +1 -1
  40. package/dist/{chunk-PEJQV2RL.js → chunk-7DMIAJD7.js} +10 -10
  41. package/dist/{chunk-QT766HQV.js → chunk-7GJKUOPX.js} +14 -17
  42. package/dist/{chunk-M457GQGR.js → chunk-7NDF2MO3.js} +1 -1
  43. package/dist/{chunk-VOVC3QCN.js → chunk-AGHSWES2.js} +3 -3
  44. package/dist/{chunk-UPR5TMLG.js → chunk-AJCFMDFQ.js} +1 -1
  45. package/dist/{chunk-AVXIDAFJ.js → chunk-AMZ22QP7.js} +30 -11
  46. package/dist/{chunk-SDYZOTB7.js → chunk-AOPNJEQC.js} +2 -2
  47. package/dist/{chunk-PF23WT5C.js → chunk-AW2M5TZW.js} +7 -7
  48. package/dist/{chunk-F5QBIIFT.js → chunk-AWD2MWWL.js} +1 -1
  49. package/dist/{chunk-YU2KLER7.js → chunk-B23DUMZ4.js} +2 -2
  50. package/dist/{chunk-AA2DNXEJ.js → chunk-BUYUJ3EV.js} +7 -7
  51. package/dist/{chunk-ZUXES5HA.js → chunk-CK3DD2MC.js} +2 -2
  52. package/dist/{chunk-PQYICV7O.js → chunk-CPHQTXP5.js} +17 -2
  53. package/dist/{chunk-NURN5W6M.js → chunk-CWN75OWQ.js} +2 -2
  54. package/dist/{chunk-6OQPKRPJ.js → chunk-D2LIT7UR.js} +1 -1
  55. package/dist/{chunk-D5HNV6G6.js → chunk-DYKBB5HB.js} +1 -1
  56. package/dist/{chunk-YSAK7PJZ.js → chunk-EBU7T3WZ.js} +2 -2
  57. package/dist/{chunk-LAI7UTBM.js → chunk-EPOBJVVG.js} +22 -22
  58. package/dist/{chunk-LXAJQXHM.js → chunk-F4Z2UPAA.js} +2 -2
  59. package/dist/{chunk-6WCOY6MS.js → chunk-FJQGA6H6.js} +6 -6
  60. package/dist/{chunk-SQRI67KR.js → chunk-FNC3JNO7.js} +1 -1
  61. package/dist/{chunk-J237HI2F.js → chunk-G3WGKT3B.js} +160 -25
  62. package/dist/{chunk-J3X2RZON.js → chunk-G7PITEUH.js} +1 -1
  63. package/dist/{chunk-55ZEUSPW.js → chunk-GQNV4DG6.js} +1 -1
  64. package/dist/{chunk-UVF4HXPW.js → chunk-HCC7XLD7.js} +2 -2
  65. package/dist/{chunk-NXVDTRXA.js → chunk-HKWKMXAC.js} +2 -2
  66. package/dist/{chunk-ZWJ7PWTY.js → chunk-HLRYLZFX.js} +2 -2
  67. package/dist/{chunk-LPB7T67S.js → chunk-J4Z7LQKU.js} +2 -2
  68. package/dist/{chunk-GUHCMOE2.js → chunk-J7PDBGQM.js} +1 -1
  69. package/dist/{chunk-VU4EPKFI.js → chunk-JCNPHRGX.js} +1 -1
  70. package/dist/{chunk-CSCK6RGC.js → chunk-JVAD6LD7.js} +31 -14
  71. package/dist/{chunk-E54N6IPY.js → chunk-KMGF6GJU.js} +4 -4
  72. package/dist/{chunk-CINCDA5M.js → chunk-LDTJCZZ2.js} +2 -2
  73. package/dist/{chunk-FGFVUKPP.js → chunk-LIWK3MFR.js} +1 -1
  74. package/dist/{chunk-U5RXCKWJ.js → chunk-LRDS7MG5.js} +1 -1
  75. package/dist/{chunk-7FYGCIHK.js → chunk-MKZ34726.js} +2 -2
  76. package/dist/{chunk-5RUGBDAC.js → chunk-MSL2BS73.js} +1 -1
  77. package/dist/{chunk-W4EAYORI.js → chunk-NBF7SU6Q.js} +5 -5
  78. package/dist/{chunk-UAEL2JEL.js → chunk-NLKHXPTZ.js} +4 -4
  79. package/dist/{chunk-5E6Y7CW3.js → chunk-NTNS5EFN.js} +2 -2
  80. package/dist/{chunk-WMZDESYF.js → chunk-NZUUKNNZ.js} +1 -1
  81. package/dist/{chunk-VXWASGGT.js → chunk-P74B5H73.js} +1 -1
  82. package/dist/{chunk-IX22RYJO.js → chunk-PGZSYDLZ.js} +1 -1
  83. package/dist/{chunk-T37WJWV2.js → chunk-PIEVAPKP.js} +1 -1
  84. package/dist/{chunk-7DGBOZ4N.js → chunk-PV2D2TZV.js} +1 -1
  85. package/dist/{chunk-XPGH4KBU.js → chunk-PVRJKEU5.js} +1 -1
  86. package/dist/{chunk-P2A6MYSQ.js → chunk-Q7FX7HOX.js} +1 -1
  87. package/dist/{chunk-E3UFWFZZ.js → chunk-QBRBXVCE.js} +1 -1
  88. package/dist/{chunk-JMPTLXJQ.js → chunk-RCYKUNVZ.js} +2 -2
  89. package/dist/{chunk-6UMISKCG.js → chunk-RZK5ZGVX.js} +4 -4
  90. package/dist/{chunk-XLERIR2V.js → chunk-S3S3IHCR.js} +1 -1
  91. package/dist/{chunk-E53UDY74.js → chunk-SP5GQGP2.js} +2 -2
  92. package/dist/{chunk-MPKBIC4Z.js → chunk-SPPSVPY7.js} +3 -3
  93. package/dist/{chunk-B4TLQLGI.js → chunk-T6VQGCN3.js} +1 -1
  94. package/dist/{chunk-V4M7PKBM.js → chunk-TNZ2EF2Y.js} +3 -3
  95. package/dist/{chunk-TTKJF3LI.js → chunk-UPVM6UDG.js} +62 -15
  96. package/dist/{chunk-TMYY4DV4.js → chunk-UTU3HSJS.js} +1 -1
  97. package/dist/{chunk-X7NFWMWW.js → chunk-UY3H42VE.js} +1 -1
  98. package/dist/{chunk-G4D7EBDQ.js → chunk-V4ZFL2E2.js} +2 -2
  99. package/dist/{chunk-VCMPKZFN.js → chunk-VHOETOGT.js} +11 -11
  100. package/dist/{chunk-UZGRZRD6.js → chunk-VMLPDIR6.js} +1 -1
  101. package/dist/{chunk-Z677PTBA.js → chunk-VPQXRTEW.js} +5 -5
  102. package/dist/{chunk-L2GOO2UY.js → chunk-WAXPM7TK.js} +1 -1
  103. package/dist/{chunk-NUUN7XB4.js → chunk-WCSEEQ5R.js} +2 -2
  104. package/dist/{chunk-K77GTFH3.js → chunk-WGVWW6O4.js} +2 -2
  105. package/dist/{chunk-O5P75JID.js → chunk-WJPEMXI3.js} +2 -2
  106. package/dist/{chunk-X2YNB244.js → chunk-XKSHWUIF.js} +3 -3
  107. package/dist/{chunk-A7HPQVS5.js → chunk-XVDXYUQJ.js} +1 -1
  108. package/dist/{chunk-FBLCK3YJ.js → chunk-YAKPBJOU.js} +32 -18
  109. package/dist/{chunk-EENM7GX3.js → chunk-YJYEKNJG.js} +3 -3
  110. package/dist/{chunk-PL5C5FKM.js → chunk-YNRQTFYH.js} +2 -2
  111. package/dist/{chunk-SWEC6N6N.js → chunk-YZH2IWEE.js} +2 -2
  112. package/dist/{chunk-DKSCZYFP.js → chunk-ZGQZTSP2.js} +1 -1
  113. package/dist/{chunk-4N3UVDIJ.js → chunk-ZLDYDO64.js} +1 -1
  114. package/dist/{clean-UGV3DTVQ.js → clean-AGQEPUBC.js} +13 -13
  115. package/dist/cli.js +67 -67
  116. package/dist/{cloud-SDC56AHY.js → cloud-H5HJH6SD.js} +6 -6
  117. package/dist/{cloud-QJMPTQ3N.js → cloud-TDXVUIUM.js} +5 -5
  118. package/dist/{cloudrun-T7VVPRDG.js → cloudrun-7BR5FKOC.js} +6 -6
  119. package/dist/{colors-SS2KTOKM.js → colors-NMNY26B5.js} +2 -2
  120. package/dist/{compare-LG42JVYH.js → compare-YWZ6O2FL.js} +18 -18
  121. package/dist/{component-OPAFYBPO.js → component-MX2PJOTA.js} +6 -6
  122. package/dist/{compositions-JP655NT3.js → compositions-PLT4OLGR.js} +10 -10
  123. package/dist/{curve-RN7HDXOS.js → curve-BJYCZUEY.js} +9 -9
  124. package/dist/{cuts-ET7N7IBU.js → cuts-TWAVF7WI.js} +10 -10
  125. package/dist/{delete-5552CGT5.js → delete-3KCBCPBD.js} +11 -11
  126. package/dist/{deploy-NMFEPGRQ.js → deploy-KWTMJNBL.js} +4 -4
  127. package/dist/{describeProject-CWLV5OAT.js → describeProject-HZLM3B55.js} +5 -5
  128. package/dist/{destroy-YAMTVR2W.js → destroy-4DOMPOYB.js} +2 -2
  129. package/dist/{diff-HZX2TISC.js → diff-XC6IU3IY.js} +25 -25
  130. package/dist/{dist-O45G7NET.js → dist-M5WQQ6WE.js} +6 -2
  131. package/dist/{docs-ZSVK3VZD.js → docs-YTM4NX2R.js} +2 -2
  132. package/dist/{doctor-IYEYULPD.js → doctor-VRUSZ6GH.js} +9 -9
  133. package/dist/{energy-YXEPVRKW.js → energy-VNAAJYAW.js} +10 -10
  134. package/dist/{events-KYCNM6C3.js → events-6WYNARX7.js} +5 -5
  135. package/dist/{events-JAY5YNEU.js → events-MR72RS47.js} +12 -12
  136. package/dist/{events-GA24CH3D.js → events-WZJTLFCQ.js} +6 -6
  137. package/dist/{extract-TFEVGLLS.js → extract-MKOCZIFN.js} +10 -10
  138. package/dist/{face-NP7JGAE7.js → face-NIV5ZSUX.js} +10 -10
  139. package/dist/{feedback-UPYWXKHN.js → feedback-A4F4G5JO.js} +12 -12
  140. package/dist/{ffmpeg-RYNM3JM2.js → ffmpeg-OAKTUK5S.js} +2 -2
  141. package/dist/{figma-PL4YF6AD.js → figma-4WZIDYAD.js} +5 -5
  142. package/dist/fontLocalizeCli.js +5 -5
  143. package/dist/{frames-7CHO3XUP.js → frames-DAKLRIWG.js} +11 -11
  144. package/dist/{generate-I3UK6VFX.js → generate-NRPHH4NJ.js} +17 -17
  145. package/dist/{get-DRFSJ333.js → get-ISXQCK3G.js} +11 -11
  146. package/dist/{gpuPolicy-OAUKEMJC.js → gpuPolicy-SLVPAQK2.js} +2 -2
  147. package/dist/{grade-compare-PYDF6Y6J.js → grade-compare-TVMAAZVC.js} +19 -19
  148. package/dist/{heifImagePrep-23E67GBA.js → heifImagePrep-BOIWW7FW.js} +3 -3
  149. package/dist/{help-N2SPZK4D.js → help-ZOYDS3YW.js} +3 -3
  150. package/dist/{history-LXYOTFY7.js → history-CLGGMJ7Z.js} +11 -11
  151. package/dist/hyperframes-player.global.js +1 -1
  152. package/dist/{info-ENAE5IAD.js → info-ZTFII4N4.js} +12 -12
  153. package/dist/{init-DMKB6PK6.js → init-RCDPQKFA.js} +22 -22
  154. package/dist/{ink-ANDD7W6Y.js → ink-2ATPIDWC.js} +10 -10
  155. package/dist/{inspect-2XZYCFMK.js → inspect-GDMUC5F6.js} +20 -20
  156. package/dist/{keyframes-UKUFE6ZF.js → keyframes-EPAX446T.js} +10 -10
  157. package/dist/{lambda-T4WMAZZV.js → lambda-HG6Y6KOH.js} +14 -14
  158. package/dist/{layout-FX2Q65LB.js → layout-KXBKGHOS.js} +20 -20
  159. package/dist/{lint-AHORS3BL.js → lint-O62OPAW7.js} +11 -11
  160. package/dist/{list-H7F3WXD4.js → list-4HWWKMM6.js} +12 -12
  161. package/dist/{localPage-UUSOCL7L.js → localPage-66UVNGQR.js} +2 -2
  162. package/dist/{login-6ORXT7JS.js → login-2H4XMPUT.js} +12 -29
  163. package/dist/{logout-FJ444652.js → logout-7SMEH7JL.js} +4 -4
  164. package/dist/{look-XFA3GQDV.js → look-W6PV445D.js} +10 -10
  165. package/dist/{manager-ZGVNWYBK.js → manager-ML4OLLSM.js} +3 -3
  166. package/dist/{measure-WIARVYP6.js → measure-CWOXQCGH.js} +11 -11
  167. package/dist/{media-treatment-L2OD4GAB.js → media-treatment-SDGXF2PK.js} +11 -11
  168. package/dist/{media-use-SYSDJH23.js → media-use-NWNX24MD.js} +6 -6
  169. package/dist/{models-YOGYUKBX.js → models-J2P2DLSA.js} +10 -10
  170. package/dist/{motionShot-II6JZGTO.js → motionShot-VQ2KFPMR.js} +11 -11
  171. package/dist/{normalize-audio-L6V6T2XW.js → normalize-audio-MABOG5XR.js} +8 -8
  172. package/dist/{open-BPGKTYYV.js → open-KWTFPDML.js} +9 -9
  173. package/dist/{parakeetRunner-BWX3UQH4.js → parakeetRunner-GP47AAVT.js} +7 -7
  174. package/dist/{pipeline-O3VKDLBZ.js → pipeline-5HUQFOCY.js} +5 -5
  175. package/dist/{play-NLZ4D4VN.js → play-6MSC2ZCU.js} +13 -13
  176. package/dist/{policies-5G7G26ZX.js → policies-5RUNO47I.js} +2 -2
  177. package/dist/{preflight-HEAPQ7N7.js → preflight-NTJMXUS2.js} +3 -3
  178. package/dist/{present-XPLUCZ5Z.js → present-X5T75QS4.js} +13 -13
  179. package/dist/{preview-JAWCYDZP.js → preview-7NW7RUET.js} +15 -15
  180. package/dist/{probe-3AL2MBSY.js → probe-XTZVXTQ2.js} +10 -10
  181. package/dist/{producer-OQETVMJH.js → producer-ZZROH3WZ.js} +1 -1
  182. package/dist/{progress-OOEHTBBU.js → progress-TGYZ2TKQ.js} +2 -2
  183. package/dist/{prompts-RYVLXI7Q.js → prompts-7VQEH645.js} +2 -2
  184. package/dist/{publish-C3ARXH6D.js → publish-3BBHK2NK.js} +8 -8
  185. package/dist/{refresh-YY4K2RWR.js → refresh-47T6Z2PK.js} +4 -4
  186. package/dist/{remove-background-2SNU7KAA.js → remove-background-W7WMLL5C.js} +9 -9
  187. package/dist/{render-FFA55SPM.js → render-5G6745C3.js} +32 -32
  188. package/dist/{render-TSV3XTQV.js → render-ZGCH2FZJ.js} +4 -4
  189. package/dist/{render-IKHZUOCM.js → render-ZIBXBMNI.js} +26 -26
  190. package/dist/{render-batch-ISMXAG7F.js → render-batch-ONWJJ627.js} +4 -4
  191. package/dist/{reverse-74KYO2KF.js → reverse-5YTLWWDZ.js} +1 -1
  192. package/dist/{run-UPKPPRV7.js → run-24USN7TA.js} +5 -5
  193. package/dist/{screenshotCapture-HBOH5VXI.js → screenshotCapture-ZZE3GMOF.js} +2 -2
  194. package/dist/{sherpa-DBCTQWM3.js → sherpa-7ISRANWA.js} +6 -6
  195. package/dist/{sites-NWEJJNAZ.js → sites-LILUBMRM.js} +2 -2
  196. package/dist/skills/media-use/SKILL.md +1 -1
  197. package/dist/skills/media-use/references/heygen.md +2 -2
  198. package/dist/{skills-YYOPM674.js → skills-YMSZHKK4.js} +10 -10
  199. package/dist/{skillsUpdateCheck-2G4HUWXT.js → skillsUpdateCheck-YJYYN5CH.js} +5 -5
  200. package/dist/{snapshot-FSN6MIFT.js → snapshot-4MZGXL4A.js} +27 -27
  201. package/dist/{src-PZKWEQB3.js → src-CHPZUZZ3.js} +4 -4
  202. package/dist/{src-W2OMGCC2.js → src-NIMSUB4P.js} +1 -1
  203. package/dist/{start-BC3LQ6XM.js → start-FPEBVENS.js} +60 -29
  204. package/dist/{staticProjectServer-NOC42RG6.js → staticProjectServer-XZNME57Y.js} +5 -5
  205. package/dist/{status-GAMGQR6J.js → status-7TRDJU47.js} +10 -10
  206. package/dist/studio/assets/{codec-DqZyhFXM.js → codec-B1UWDNJp.js} +1 -1
  207. package/dist/studio/assets/{hyperframes-player-aBBb_UoJ.js → hyperframes-player-DQd2VPm2.js} +1 -1
  208. package/dist/studio/assets/{index-CceqlOsz.js → index-B7CtVv8e.js} +1 -1
  209. package/dist/studio/assets/{index-nztwvLTw.js → index-gkyTLE7n.js} +5 -5
  210. package/dist/studio/assets/{pausedVideoDecoder-CwC0h32O.js → pausedVideoDecoder-Bfv1WSlz.js} +1 -1
  211. package/dist/studio/index.html +1 -1
  212. package/dist/{studio-api-2I44WB4P.js → studio-api-JKJXAELI.js} +6 -2
  213. package/dist/{studioServer-YOES7J26.js → studioServer-UCRCZOLS.js} +59 -85
  214. package/dist/{sync-SAFSREBK.js → sync-E72XNR2G.js} +10 -10
  215. package/dist/{telemetry-JKUAFRWX.js → telemetry-L5D3U4IO.js} +6 -6
  216. package/dist/{telemetry-5CLJMTHU.js → telemetry-M722DCXI.js} +3 -3
  217. package/dist/{templates-T63OMFEN.js → templates-O7HEL7HC.js} +9 -9
  218. package/dist/{timeline-4WIGTZRE.js → timeline-QTODTYKQ.js} +15 -15
  219. package/dist/{tokens-JK3XREP4.js → tokens-D7JYFE2K.js} +5 -5
  220. package/dist/{transcribe-DWCOZPAN.js → transcribe-D2WFL2RO.js} +20 -20
  221. package/dist/{transcribe-APCPBJXE.js → transcribe-FGVGCTEU.js} +5 -5
  222. package/dist/{tts-HOZ6X3MD.js → tts-IXX2HHHJ.js} +4 -4
  223. package/dist/{update-I3DN6NUV.js → update-SCMEUTRM.js} +11 -11
  224. package/dist/{updateCheck-5C2PHZ24.js → updateCheck-KNTQDXMN.js} +4 -4
  225. package/dist/{upgrade-KBMPHPSY.js → upgrade-V2BP5PAQ.js} +7 -7
  226. package/dist/{urlDownloader-T5UKNPTJ.js → urlDownloader-4RWM3UH2.js} +1 -1
  227. package/dist/{validate-YNITWYCF.js → validate-W3E6QVJ6.js} +18 -18
  228. package/dist/{video-JRQOXAZ2.js → video-KC4AFMAY.js} +5 -5
  229. package/dist/{voices-7QS4D5EP.js → voices-7N6QU3C6.js} +15 -15
  230. package/dist/warmCheck.js +29 -29
  231. package/package.json +1 -1
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  isUnattended
9
- } from "./chunk-PQYICV7O.js";
9
+ } from "./chunk-CPHQTXP5.js";
10
10
  import {
11
11
  __commonJS,
12
12
  __toESM
@@ -16,12 +16,12 @@ import {
16
16
  Semaphore,
17
17
  prepareHeifImageInputs,
18
18
  withMediaProbeSlot
19
- } from "./chunk-UVF4HXPW.js";
19
+ } from "./chunk-HCC7XLD7.js";
20
20
  import {
21
21
  EncoderInterruptedError,
22
22
  encoderFailureError,
23
23
  prepareAnimatedGifInputs
24
- } from "./chunk-GUHCMOE2.js";
24
+ } from "./chunk-J7PDBGQM.js";
25
25
  import {
26
26
  openRangeEnd,
27
27
  parseEncoderOptions
@@ -186,7 +186,7 @@ import {
186
186
  videoAudioId,
187
187
  videoStartOnMediaTimeline,
188
188
  writeCapturedFrame
189
- } from "./chunk-QT766HQV.js";
189
+ } from "./chunk-7GJKUOPX.js";
190
190
  import {
191
191
  assignBundledRuntimeCompositionIds,
192
192
  emitMountedModuleScripts,
@@ -5121,7 +5121,7 @@ async function runCaptureSegmentedStage(input) {
5121
5121
 
5122
5122
  // ../producer/src/services/render/renderEtaGuard.ts
5123
5123
  var RENDER_TOO_SLOW = "RENDER_TOO_SLOW";
5124
- var ETA_MARGIN = 1.2;
5124
+ var ETA_MARGIN = 2;
5125
5125
  var MIN_SAMPLE_MS = 6e4;
5126
5126
  var MIN_SAMPLE_FRAMES = 3;
5127
5127
  var POLL_MS = 5e3;
@@ -5149,6 +5149,15 @@ function checkRenderEta(stage, input) {
5149
5149
  if (etaMs <= maxRenderMs * ETA_MARGIN) return void 0;
5150
5150
  return new RenderTooSlowError(stage, { ...input, maxRenderMs, etaMs });
5151
5151
  }
5152
+ function checkCalibratedRenderEta(input) {
5153
+ return checkRenderEta("capture_calibration", {
5154
+ maxRenderMs: input.maxRenderMs,
5155
+ elapsedMs: input.elapsedMs,
5156
+ framesCompleted: 0,
5157
+ totalFrames: input.totalFrames,
5158
+ msPerFrame: (input.estimate?.medianMs ?? 0) / input.workerCount
5159
+ });
5160
+ }
5152
5161
  function createRateSampler() {
5153
5162
  let base;
5154
5163
  let lastFrames = 0;
@@ -5224,13 +5233,15 @@ function combineCaptureCostEstimates(staticCost, measuredCost) {
5224
5233
  return {
5225
5234
  multiplier: staticCost.multiplier,
5226
5235
  reasons: [...staticCost.reasons, ...measuredCost.reasons],
5227
- p95Ms: measuredCost.p95Ms
5236
+ p95Ms: measuredCost.p95Ms,
5237
+ medianMs: measuredCost.medianMs
5228
5238
  };
5229
5239
  }
5230
5240
  return {
5231
5241
  multiplier: measuredCost.multiplier,
5232
5242
  reasons: [...measuredCost.reasons, ...staticCost.reasons],
5233
- p95Ms: measuredCost.p95Ms
5243
+ p95Ms: measuredCost.p95Ms,
5244
+ medianMs: measuredCost.medianMs
5234
5245
  };
5235
5246
  }
5236
5247
  function buildHeapAdvisoryWarning(sizing, requestedWorkers) {
@@ -5296,6 +5307,10 @@ function estimateMeasuredCaptureCostMultiplier(samples) {
5296
5307
  return { multiplier: 1, reasons: [] };
5297
5308
  }
5298
5309
  const p95Ms = Math.round(p95Sample.captureTimeMs);
5310
+ const mid = sorted.length / 2;
5311
+ const medianMs = Math.round(
5312
+ sorted.length % 2 === 1 ? sorted[Math.floor(mid)].captureTimeMs : (sorted[mid - 1].captureTimeMs + sorted[mid].captureTimeMs) / 2
5313
+ );
5299
5314
  const multiplier = Math.min(
5300
5315
  MAX_MEASURED_CAPTURE_COST_MULTIPLIER,
5301
5316
  Math.max(1, Math.round(p95Ms / CAPTURE_CALIBRATION_TARGET_MS * 100) / 100)
@@ -5303,7 +5318,8 @@ function estimateMeasuredCaptureCostMultiplier(samples) {
5303
5318
  return {
5304
5319
  multiplier,
5305
5320
  reasons: multiplier > 1 ? [`calibration-p95=${p95Ms}ms`] : [],
5306
- p95Ms
5321
+ p95Ms,
5322
+ medianMs
5307
5323
  };
5308
5324
  }
5309
5325
  function selectCaptureCalibrationFrames(totalFrames) {
@@ -6363,7 +6379,7 @@ function isToleratedShortClipBoundaryMiss(report, threshold) {
6363
6379
  return threshold < 1 && report.capturedFrames > 0 && report.expectedFrames >= SHORT_CLIP_ONE_FRAME_TOLERANCE_MIN_EXPECTED_FRAMES && report.expectedFrames <= SHORT_CLIP_ONE_FRAME_TOLERANCE_MAX_EXPECTED_FRAMES && report.expectedFrames - report.capturedFrames === 1;
6364
6380
  }
6365
6381
  function expectedFramesForVideo(video, entry, fps) {
6366
- const rounding = entry && !entry.metadata.isVFR ? "nearest" : "ceil";
6382
+ const rounding = entry && !entry.metadata.isVFR ? "slots" : "ceil";
6367
6383
  const slotSourceDuration = sourceTimeAt(
6368
6384
  normalizeRateSpec(video.playbackRate),
6369
6385
  Math.max(0, video.end - video.start)
@@ -14110,7 +14126,8 @@ async function executeRenderPipeline(input) {
14110
14126
  observability.checkpoint("capture_calibration", "resolved", {
14111
14127
  forceScreenshot: captureForceScreenshot,
14112
14128
  multiplier: outcome.calibration?.estimate.multiplier ?? null,
14113
- p95Ms: outcome.calibration?.estimate.p95Ms ?? null
14129
+ p95Ms: outcome.calibration?.estimate.p95Ms ?? null,
14130
+ medianMs: outcome.calibration?.estimate.medianMs ?? null
14114
14131
  });
14115
14132
  } else {
14116
14133
  observability.checkpoint("capture_calibration", "skipped", {
@@ -14215,12 +14232,12 @@ async function executeRenderPipeline(input) {
14215
14232
  deWorkerInversion: deWorkerInversion ?? "none",
14216
14233
  deParallelRouter: deParallelRouter ?? "none"
14217
14234
  });
14218
- const calibratedTooSlow = checkRenderEta("capture_calibration", {
14235
+ const calibratedTooSlow = checkCalibratedRenderEta({
14219
14236
  maxRenderMs: job.config.maxRenderMs,
14220
14237
  elapsedMs: Date.now() - pipelineStart,
14221
- framesCompleted: 0,
14222
14238
  totalFrames,
14223
- msPerFrame: (captureCalibration?.estimate.p95Ms ?? 0) / workerCount
14239
+ estimate: captureCalibration?.estimate,
14240
+ workerCount
14224
14241
  });
14225
14242
  if (calibratedTooSlow) throw calibratedTooSlow;
14226
14243
  execution.defer(
@@ -17603,7 +17620,7 @@ async function compilePlanComposition(projectDir, config, planDir, options) {
17603
17620
  if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
17604
17621
  if (probeResult.probeSession) {
17605
17622
  try {
17606
- const { closeCaptureSession: closeCaptureSession2 } = await import("./src-W2OMGCC2.js");
17623
+ const { closeCaptureSession: closeCaptureSession2 } = await import("./src-NIMSUB4P.js");
17607
17624
  await closeCaptureSession2(probeResult.probeSession);
17608
17625
  } catch (err) {
17609
17626
  log.warn("[plan] probe session close failed", {
@@ -21018,7 +21035,7 @@ function startServer(options = {}) {
21018
21035
  });
21019
21036
  async function shutdown(signal) {
21020
21037
  log.info(`Received ${signal}, shutting down`);
21021
- const { drainBrowserPool } = await import("./src-W2OMGCC2.js");
21038
+ const { drainBrowserPool } = await import("./src-NIMSUB4P.js");
21022
21039
  await drainBrowserPool().catch(() => {
21023
21040
  });
21024
21041
  const handle = await Promise.race([
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  claimDailyNotice,
9
9
  updateCheckDisabled
10
- } from "./chunk-TTKJF3LI.js";
10
+ } from "./chunk-UPVM6UDG.js";
11
11
  import {
12
12
  hostAnswers
13
13
  } from "./chunk-BR2JQQC5.js";
@@ -15,13 +15,13 @@ import {
15
15
  readConfig,
16
16
  readConfigFresh,
17
17
  writeConfig
18
- } from "./chunk-F5QBIIFT.js";
18
+ } from "./chunk-AWD2MWWL.js";
19
19
  import {
20
20
  isUnattended
21
- } from "./chunk-PQYICV7O.js";
21
+ } from "./chunk-CPHQTXP5.js";
22
22
  import {
23
23
  VERSION
24
- } from "./chunk-E53UDY74.js";
24
+ } from "./chunk-SP5GQGP2.js";
25
25
 
26
26
  // src/utils/skillsUpdateCheck.ts
27
27
  import { resolve as resolve2 } from "path";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  resolveConfig,
9
9
  usesSoftwareWebGpu
10
- } from "./chunk-QT766HQV.js";
10
+ } from "./chunk-7GJKUOPX.js";
11
11
 
12
12
  // src/browser/gpuPolicy.ts
13
13
  function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
17
17
  return "auto";
18
18
  }
19
19
  async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
20
- const { resolveBrowserGpuMode } = await import("./src-W2OMGCC2.js");
20
+ const { resolveBrowserGpuMode } = await import("./src-NIMSUB4P.js");
21
21
  return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
22
22
  }
23
23
  function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-VU4EPKFI.js";
9
+ } from "./chunk-JCNPHRGX.js";
10
10
  import {
11
11
  recordFailure
12
12
  } from "./chunk-ADVVQX4I.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-VU4EPKFI.js";
9
+ } from "./chunk-JCNPHRGX.js";
10
10
  import {
11
11
  DISTRIBUTED_FPS,
12
12
  isDistributedFps
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  findCuts
9
- } from "./chunk-XPGH4KBU.js";
9
+ } from "./chunk-PVRJKEU5.js";
10
10
  import {
11
11
  grey,
12
12
  readClip,
13
13
  round,
14
14
  videoClip,
15
15
  writeImage
16
- } from "./chunk-MMCMEW7K.js";
16
+ } from "./chunk-2YZ6GA4E.js";
17
17
 
18
18
  // src/measure/events.ts
19
19
  var EVENT_W = 160;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-E53UDY74.js";
9
+ } from "./chunk-SP5GQGP2.js";
10
10
 
11
11
  // src/registry/compatibility.ts
12
12
  import { compareVersions } from "compare-versions";
@@ -7,17 +7,17 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-5E6Y7CW3.js";
10
+ } from "./chunk-NTNS5EFN.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-EENM7GX3.js";
13
+ } from "./chunk-YJYEKNJG.js";
14
14
  import {
15
15
  c
16
- } from "./chunk-VU4EPKFI.js";
16
+ } from "./chunk-JCNPHRGX.js";
17
17
  import {
18
18
  readConfig,
19
19
  writeConfig
20
- } from "./chunk-F5QBIIFT.js";
20
+ } from "./chunk-AWD2MWWL.js";
21
21
  import {
22
22
  detectAgentRuntime
23
23
  } from "./chunk-LW33P24U.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-W2ZTDOLV.js"),
87
- import("./ffmpeg-RYNM3JM2.js")
87
+ import("./ffmpeg-OAKTUK5S.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -13,7 +13,7 @@ import {
13
13
  rewriteHtmlAttributes,
14
14
  rewriteStyleBlocks,
15
15
  stagedSize
16
- } from "./chunk-NURN5W6M.js";
16
+ } from "./chunk-CWN75OWQ.js";
17
17
  import {
18
18
  probeAudio
19
19
  } from "./chunk-SWC3QIEH.js";
@@ -21,10 +21,10 @@ import {
21
21
  findFFmpeg,
22
22
  findFFprobe,
23
23
  getFFmpegInstallHint
24
- } from "./chunk-P2A6MYSQ.js";
24
+ } from "./chunk-Q7FX7HOX.js";
25
25
  import {
26
26
  formatBytes
27
- } from "./chunk-FGFVUKPP.js";
27
+ } from "./chunk-LIWK3MFR.js";
28
28
  import {
29
29
  parseAnimatedGifMetadata
30
30
  } from "./chunk-RYT22J4V.js";
@@ -656,7 +656,7 @@ async function prepareEntryGifs(ctx, fileMap) {
656
656
  if (!html || !/\.gif\b/i.test(html)) return;
657
657
  const sourceAssets = entryGifSources(ctx, entryPath, html);
658
658
  if (!sourceAssets) return;
659
- const prep = ctx.opts.gifPrep ?? (await import("./src-PZKWEQB3.js")).prepareAnimatedGifInputs;
659
+ const prep = ctx.opts.gifPrep ?? (await import("./src-CHPZUZZ3.js")).prepareAnimatedGifInputs;
660
660
  const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
661
661
  ctx.tempFiles.push(outputDir);
662
662
  const result = await prep(html, {
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-EENM7GX3.js";
11
+ } from "./chunk-YJYEKNJG.js";
12
12
  import {
13
13
  MOTION_BLUR_FINGERPRINT_FIELDS,
14
14
  redactTelemetryString
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-FOZBANEN.js";
19
19
  import {
20
20
  readConfig
21
- } from "./chunk-F5QBIIFT.js";
21
+ } from "./chunk-AWD2MWWL.js";
22
22
  import {
23
23
  CliRuntimeError
24
24
  } from "./chunk-66W5IWLO.js";
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  sherpaParakeetInstalled,
9
9
  sherpaUnsupportedReason
10
- } from "./chunk-ZWJ7PWTY.js";
10
+ } from "./chunk-HLRYLZFX.js";
11
11
  import {
12
12
  findParakeet
13
13
  } from "./chunk-JZIEZCQM.js";
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-RYT22J4V.js";
22
22
  import {
23
23
  isCI
24
- } from "./chunk-PQYICV7O.js";
24
+ } from "./chunk-CPHQTXP5.js";
25
25
  import {
26
26
  isAgentDriven
27
27
  } from "./chunk-LW33P24U.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-SWOAB4GM.js";
10
10
  import {
11
11
  listenOnBrowserSafePort
12
- } from "./chunk-QT766HQV.js";
12
+ } from "./chunk-7GJKUOPX.js";
13
13
 
14
14
  // src/capture/localPage.ts
15
15
  import {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-D3NWGOXW.js";
10
10
  import {
11
11
  errorBox
12
- } from "./chunk-FGFVUKPP.js";
12
+ } from "./chunk-LIWK3MFR.js";
13
13
  import {
14
14
  failCommand
15
15
  } from "./chunk-66W5IWLO.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-VU4EPKFI.js";
9
+ } from "./chunk-JCNPHRGX.js";
10
10
 
11
11
  // src/cloud/statusColor.ts
12
12
  function colorStatus(status) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  decode,
9
9
  meanAbsDiff
10
- } from "./chunk-MMCMEW7K.js";
10
+ } from "./chunk-2YZ6GA4E.js";
11
11
 
12
12
  // src/measure/cuts.ts
13
13
  var SIG_W = 64;
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  getCachedGpuEncoder
9
- } from "./chunk-QT766HQV.js";
9
+ } from "./chunk-7GJKUOPX.js";
10
10
  import {
11
11
  runCancellableProcess
12
12
  } from "./chunk-X6JUUQCM.js";
@@ -8,7 +8,7 @@ import {
8
8
  ratioOf,
9
9
  readClip,
10
10
  round
11
- } from "./chunk-MMCMEW7K.js";
11
+ } from "./chunk-2YZ6GA4E.js";
12
12
 
13
13
  // src/measure/look.ts
14
14
  var LOOK_FLOOR = { luma: 1, contrast: 1, saturation: 0.01 };
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  trackLintReport,
9
9
  trackLintRuleStreak
10
- } from "./chunk-5E6Y7CW3.js";
10
+ } from "./chunk-NTNS5EFN.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-EENM7GX3.js";
13
+ } from "./chunk-YJYEKNJG.js";
14
14
  import {
15
15
  LINT_RULE_COUNT,
16
16
  LINT_RULE_GROUP_COUNTS
@@ -15,16 +15,16 @@ import {
15
15
  findFFmpeg,
16
16
  findFFprobe,
17
17
  getFFmpegInstallHint
18
- } from "./chunk-P2A6MYSQ.js";
18
+ } from "./chunk-Q7FX7HOX.js";
19
19
  import {
20
20
  registerBrowserSessionCleanup
21
- } from "./chunk-SDYZOTB7.js";
21
+ } from "./chunk-AOPNJEQC.js";
22
22
  import {
23
23
  DEFAULT_VP9_CPU_USED,
24
24
  SDR_RGB_TO_BT709_FILTER,
25
25
  SDR_RGB_TO_TAGGED_BT709_FILTER,
26
26
  renderProvenanceArgs
27
- } from "./chunk-QT766HQV.js";
27
+ } from "./chunk-7GJKUOPX.js";
28
28
  import {
29
29
  runCancellableProcess
30
30
  } from "./chunk-X6JUUQCM.js";
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
432
432
  }
433
433
  async function probeMedia(inputPath) {
434
434
  const isImage = inferInputKind(inputPath) === "image";
435
- const engine = await import("./src-W2OMGCC2.js");
435
+ const engine = await import("./src-NIMSUB4P.js");
436
436
  const meta = await engine.extractMediaMetadata(inputPath);
437
437
  if (isImage) {
438
438
  return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  setHostHandlesSigint
9
- } from "./chunk-QT766HQV.js";
9
+ } from "./chunk-7GJKUOPX.js";
10
10
  import {
11
11
  processAncestorSnapshot,
12
12
  processIdentity,
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
 
8
8
  // src/version.ts
9
- var VERSION = true ? "0.9.28" : "0.0.0-dev";
10
- var PRODUCER_VERSION = true ? "0.9.28" : "0.0.0-dev";
9
+ var VERSION = true ? "0.9.30" : "0.0.0-dev";
10
+ var PRODUCER_VERSION = true ? "0.9.30" : "0.0.0-dev";
11
11
 
12
12
  export {
13
13
  VERSION,
@@ -10,13 +10,13 @@ import {
10
10
  parseNumbers,
11
11
  parseRoi,
12
12
  probeVideo
13
- } from "./chunk-MMCMEW7K.js";
13
+ } from "./chunk-2YZ6GA4E.js";
14
14
  import {
15
15
  c
16
- } from "./chunk-VU4EPKFI.js";
16
+ } from "./chunk-JCNPHRGX.js";
17
17
  import {
18
18
  withMeta
19
- } from "./chunk-TTKJF3LI.js";
19
+ } from "./chunk-UPVM6UDG.js";
20
20
  import {
21
21
  failCommand
22
22
  } from "./chunk-66W5IWLO.js";
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
6
6
  var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  c
9
- } from "./chunk-VU4EPKFI.js";
9
+ } from "./chunk-JCNPHRGX.js";
10
10
 
11
11
  // src/utils/lintFormat.ts
12
12
  function formatLintFindings({ results, totalErrors, totalWarnings, totalInfos }, options = {}) {
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  RegistryCompatibilityError,
9
9
  gateRegistryItemsCompatibility
10
- } from "./chunk-5RUGBDAC.js";
10
+ } from "./chunk-MSL2BS73.js";
11
11
  import {
12
12
  readJsonFlag
13
13
  } from "./chunk-EHZESMRB.js";
@@ -32,13 +32,13 @@ import {
32
32
  } from "./chunk-MVJ7AX6W.js";
33
33
  import {
34
34
  trackRegistryItemAdded
35
- } from "./chunk-5E6Y7CW3.js";
35
+ } from "./chunk-NTNS5EFN.js";
36
36
  import {
37
37
  defineCommand
38
38
  } from "./chunk-DL4OD7IA.js";
39
39
  import {
40
40
  c
41
- } from "./chunk-VU4EPKFI.js";
41
+ } from "./chunk-JCNPHRGX.js";
42
42
  import {
43
43
  ITEM_TYPE_DIRS
44
44
  } from "./chunk-RYT22J4V.js";
@@ -12,7 +12,7 @@ import {
12
12
  readConfig,
13
13
  readConfigFresh,
14
14
  writeConfig
15
- } from "./chunk-F5QBIIFT.js";
15
+ } from "./chunk-AWD2MWWL.js";
16
16
  import {
17
17
  isDevMode
18
18
  } from "./chunk-ISN5GRYI.js";
@@ -22,15 +22,15 @@ import {
22
22
  import {
23
23
  isCI,
24
24
  isUnattended
25
- } from "./chunk-PQYICV7O.js";
25
+ } from "./chunk-CPHQTXP5.js";
26
26
  import {
27
27
  VERSION
28
- } from "./chunk-E53UDY74.js";
28
+ } from "./chunk-SP5GQGP2.js";
29
29
 
30
30
  // src/utils/updateCheck.ts
31
- import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
32
- import { join as join2, resolve } from "path";
33
- import { compareVersions } from "compare-versions";
31
+ import { existsSync as existsSync2, readFileSync as readFileSync3 } from "fs";
32
+ import { join as join3, resolve } from "path";
33
+ import { compareVersions as compareVersions2 } from "compare-versions";
34
34
 
35
35
  // src/utils/dailyNotice.ts
36
36
  import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
@@ -69,8 +69,9 @@ function claimDailyNotice(kind, project, now = Date.now()) {
69
69
  }
70
70
 
71
71
  // src/utils/installerDetection.ts
72
- import { existsSync, realpathSync } from "fs";
73
- import { posix } from "path";
72
+ import { existsSync, readFileSync as readFileSync2, realpathSync } from "fs";
73
+ import { delimiter, dirname as dirname2, join as join2, posix } from "path";
74
+ import { compareVersions } from "compare-versions";
74
75
 
75
76
  // src/utils/safeVersion.ts
76
77
  function isSafeVersion(v) {
@@ -102,8 +103,7 @@ function isEphemeralExec(realEntry) {
102
103
  function isHomebrewInstall(realEntry) {
103
104
  return normalizePath(realEntry).includes("/Cellar/hyperframes/");
104
105
  }
105
- function detectInstaller() {
106
- const realEntry = resolveEntry();
106
+ function detectInstaller(realEntry = resolveEntry()) {
107
107
  if (!realEntry) {
108
108
  return {
109
109
  kind: "skip",
@@ -230,6 +230,52 @@ function updateCommandFor(install, latest) {
230
230
  }
231
231
  return "npx hyperframes@latest";
232
232
  }
233
+ function packageVersionAbove(entry) {
234
+ let dir = dirname2(entry);
235
+ for (let depth = 0; depth < 4; depth++) {
236
+ const manifest = join2(dir, "package.json");
237
+ if (existsSync(manifest)) {
238
+ try {
239
+ const pkg = JSON.parse(readFileSync2(manifest, "utf-8"));
240
+ const version = typeof pkg.version === "string" ? pkg.version : "";
241
+ return pkg.name === "hyperframes" && isSafeVersion(version) ? version : null;
242
+ } catch {
243
+ return null;
244
+ }
245
+ }
246
+ dir = dirname2(dir);
247
+ }
248
+ return null;
249
+ }
250
+ function resolvedOrNull(path) {
251
+ try {
252
+ return realpathSync(path);
253
+ } catch {
254
+ return null;
255
+ }
256
+ }
257
+ function firstGlobalOnPath(self) {
258
+ for (const dir of (process.env["PATH"] ?? "").split(delimiter)) {
259
+ const real = dir ? resolvedOrNull(join2(dir, "hyperframes")) : null;
260
+ if (real && real !== self && !isEphemeralExec(real)) return real;
261
+ }
262
+ return null;
263
+ }
264
+ function isOlder(version, than) {
265
+ try {
266
+ return compareVersions(than, version) > 0;
267
+ } catch {
268
+ return false;
269
+ }
270
+ }
271
+ function shadowingInstall(current) {
272
+ if (runningInstall().channel !== "npx") return null;
273
+ const global = firstGlobalOnPath(resolveEntry());
274
+ const version = global ? packageVersionAbove(global) : null;
275
+ if (!global || !version || !isOlder(version, current)) return null;
276
+ const updateCommand = detectInstaller(global).installCommand("latest") ?? "npm install -g hyperframes@latest";
277
+ return { version, updateCommand };
278
+ }
233
279
 
234
280
  // src/utils/projectPin.ts
235
281
  var HYPERFRAMES_PIN_RE = /(?<![0-9A-Za-z._/@-])hyperframes@([0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?)(?=\s|$)/g;
@@ -280,7 +326,7 @@ var SKILLS_COUNT_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
280
326
  var FETCH_TIMEOUT_MS = 3e3;
281
327
  function isNewerSemver(a, b) {
282
328
  try {
283
- return compareVersions(a, b) > 0;
329
+ return compareVersions2(a, b) > 0;
284
330
  } catch {
285
331
  return a !== b;
286
332
  }
@@ -466,14 +512,14 @@ function printStalePinNotice(cwd = process.cwd()) {
466
512
  if (updateCheckDisabled()) return;
467
513
  let scripts = {};
468
514
  try {
469
- const pkgPath = join2(cwd, "package.json");
515
+ const pkgPath = join3(cwd, "package.json");
470
516
  if (!existsSync2(pkgPath)) return;
471
- scripts = JSON.parse(readFileSync2(pkgPath, "utf-8")).scripts ?? {};
517
+ scripts = JSON.parse(readFileSync3(pkgPath, "utf-8")).scripts ?? {};
472
518
  } catch {
473
519
  return;
474
520
  }
475
521
  const pins = readPinnedHyperframesVersions(scripts);
476
- const newerPins = pins.filter((v) => isNewerSemver(v, VERSION)).sort(compareVersions);
522
+ const newerPins = pins.filter((v) => isNewerSemver(v, VERSION)).sort(compareVersions2);
477
523
  if (newerPins.length > 0) {
478
524
  process.stderr.write(
479
525
  `
@@ -488,7 +534,7 @@ function printStalePinNotice(cwd = process.cwd()) {
488
534
  if (!latest || !isSafeVersion(latest)) return;
489
535
  const stale = pins.filter((v) => {
490
536
  try {
491
- return compareVersions(latest, v) > 0;
537
+ return compareVersions2(latest, v) > 0;
492
538
  } catch {
493
539
  return false;
494
540
  }
@@ -516,6 +562,7 @@ export {
516
562
  installChannelLabel,
517
563
  runningInstall,
518
564
  updateCommandFor,
565
+ shadowingInstall,
519
566
  rewritePinnedHyperframesText,
520
567
  rewriteProjectPinnedScripts,
521
568
  checkForUpdate,