hyperframes 0.9.10 → 0.9.11

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 (178) hide show
  1. package/README.md +9 -0
  2. package/dist/{add-AFD3HNXB.js → add-IAFJH5RC.js} +6 -6
  3. package/dist/{agentPromptGenerator-XNGPKVEX.js → agentPromptGenerator-S3GWYMVC.js} +1 -1
  4. package/dist/{animatedGifPrep-E3PYKFJ3.js → animatedGifPrep-YU7IOD5D.js} +1 -1
  5. package/dist/api.js +9 -9
  6. package/dist/{asset-P6SF46UX.js → asset-UR4PH6KJ.js} +2 -2
  7. package/dist/{assetCataloger-SDFP4DWL.js → assetCataloger-VKJIQCYP.js} +1 -1
  8. package/dist/{audio-DFQXEAEE.js → audio-HZJ7QZQR.js} +9 -9
  9. package/dist/{auth-T62ANGDQ.js → auth-UBNAW62X.js} +1 -1
  10. package/dist/{autoUpdate-3IT56KGL.js → autoUpdate-DDFTFHRP.js} +3 -3
  11. package/dist/{backgroundChecks-UKBVUYML.js → backgroundChecks-H3TNVYJV.js} +4 -4
  12. package/dist/backgroundChecksWorker.js +4 -4
  13. package/dist/{beats-7UFMDXBY.js → beats-HOIQSFFP.js} +6 -6
  14. package/dist/{benchmark-LCSHBJJF.js → benchmark-ZYOQV7DK.js} +7 -7
  15. package/dist/{browser-5DZHA4EW.js → browser-PLFK53IZ.js} +4 -4
  16. package/dist/{bundleWithLocalizedFonts-TJL2JWRD.js → bundleWithLocalizedFonts-TH5SLG6O.js} +2 -2
  17. package/dist/{capture-UKWY3SZQ.js → capture-MICLAF6V.js} +13 -13
  18. package/dist/{capture-HLC6I4RE.js → capture-R77HOGLQ.js} +3 -3
  19. package/dist/{captureCompositionFrame-YMB3CKSP.js → captureCompositionFrame-WBMFZHEF.js} +4 -4
  20. package/dist/{catalog-F2XB4VPP.js → catalog-CGT32566.js} +6 -6
  21. package/dist/{catch-up-HCBA3MIP.js → catch-up-TMYPXRKC.js} +5 -5
  22. package/dist/{check-E2RQCELF.js → check-4O5J4OWS.js} +23 -23
  23. package/dist/{checkAudio-R4DRK3VG.js → checkAudio-AAVDZFIQ.js} +3 -3
  24. package/dist/{checkBrowser-NGY225IO.js → checkBrowser-3OCZBJC7.js} +17 -17
  25. package/dist/{chunk-BYC4C4YY.js → chunk-2VYAX3ZD.js} +2 -2
  26. package/dist/{chunk-GIYZMGYT.js → chunk-2VZVMCV6.js} +1 -1
  27. package/dist/{chunk-RZFW7FBA.js → chunk-33K2UZBX.js} +2 -2
  28. package/dist/{chunk-CBTBVRXB.js → chunk-37537KOL.js} +4 -4
  29. package/dist/{chunk-CDSTLOB7.js → chunk-4ILKN2MX.js} +8 -8
  30. package/dist/{chunk-NCP3JQ6S.js → chunk-4J4EGANW.js} +2 -2
  31. package/dist/{chunk-NBWYATVA.js → chunk-4YCNVKJX.js} +194 -17
  32. package/dist/{chunk-5CDTGHED.js → chunk-6DHC3MVK.js} +2 -2
  33. package/dist/{chunk-MHZ7NSL5.js → chunk-6JDNEQV5.js} +1 -1
  34. package/dist/{chunk-6HO6QKYG.js → chunk-6R2PED3X.js} +6 -6
  35. package/dist/{chunk-3XHWHH5A.js → chunk-6Y7WZTHJ.js} +23 -23
  36. package/dist/{chunk-W4Q6VYPZ.js → chunk-7ZBMUKHY.js} +2 -2
  37. package/dist/{chunk-7VOLQUA2.js → chunk-BBMMVLA3.js} +1 -1
  38. package/dist/{chunk-BLBMPEBX.js → chunk-BONBJJ35.js} +1 -0
  39. package/dist/{chunk-2WNIF4YT.js → chunk-CD65TPHT.js} +1 -1
  40. package/dist/{chunk-ZMXFRRQR.js → chunk-CN3Q4CDK.js} +3 -3
  41. package/dist/{chunk-QPEDM2ZR.js → chunk-DI3ZFBZ3.js} +1 -1
  42. package/dist/{chunk-UDBNPVUR.js → chunk-EL2DMHA5.js} +1 -1
  43. package/dist/{chunk-B5GWDPUO.js → chunk-EPCVE3OX.js} +2 -2
  44. package/dist/{chunk-6UZLHLFP.js → chunk-FC4WF2VQ.js} +1 -1
  45. package/dist/{chunk-DKROJ3GJ.js → chunk-H7H7XNYY.js} +80 -20
  46. package/dist/{chunk-JZPUXDQE.js → chunk-HY64QA63.js} +1 -1
  47. package/dist/{chunk-7VGM5TLZ.js → chunk-I4XTKG2B.js} +2 -2
  48. package/dist/{skills-T5XCP3RC.js → chunk-IMK55N3Z.js} +25 -32
  49. package/dist/{chunk-WCETVN3N.js → chunk-IQ5OMRLK.js} +24 -38
  50. package/dist/{chunk-PPMCILED.js → chunk-JS6ZTPYC.js} +4 -4
  51. package/dist/{chunk-PO7LSMN5.js → chunk-JT2ZGKKB.js} +2 -2
  52. package/dist/{chunk-Q3W7TDQX.js → chunk-KNOIX2U5.js} +3 -3
  53. package/dist/{chunk-P4WYY52Y.js → chunk-LWFXO732.js} +1 -1
  54. package/dist/{upgrade-2FS4AMCA.js → chunk-MZHCA5KY.js} +65 -27
  55. package/dist/{chunk-EN6MPNZT.js → chunk-NQYW4IYN.js} +2 -2
  56. package/dist/{chunk-QBPZHOEJ.js → chunk-OKD2LP73.js} +1 -1
  57. package/dist/{chunk-WP5QHNXN.js → chunk-OQGA4QBD.js} +17 -5
  58. package/dist/{chunk-PYUS627M.js → chunk-OQHC5YIB.js} +2 -2
  59. package/dist/{chunk-BHL4KN3H.js → chunk-PKLZ5PV2.js} +1 -1
  60. package/dist/{chunk-YXSM33UC.js → chunk-QM4OL5MZ.js} +9 -9
  61. package/dist/{chunk-2CKL2FUJ.js → chunk-SUM3VFPQ.js} +2 -2
  62. package/dist/{chunk-6VKYITOR.js → chunk-T4ELNOK6.js} +1 -1
  63. package/dist/{chunk-GRUI2S2F.js → chunk-VWUUNGSV.js} +1 -1
  64. package/dist/{chunk-7VU4RBHC.js → chunk-WJ7E5J77.js} +9 -9
  65. package/dist/{chunk-NVYVI4FR.js → chunk-YJZYUXHQ.js} +1 -1
  66. package/dist/{chunk-WWPOGMNX.js → chunk-ZUACTOAB.js} +1 -1
  67. package/dist/{clean-BXHJEVVO.js → clean-2FWZPS4J.js} +8 -8
  68. package/dist/cli.js +59 -58
  69. package/dist/{cloud-ISWLTHGP.js → cloud-2UFI7NLD.js} +4 -4
  70. package/dist/cloud-Z3FNCC4T.js +1 -1
  71. package/dist/{compare-MLZYDSZD.js → compare-HKRLSFTU.js} +15 -15
  72. package/dist/{compiler-NAIDMQFU.js → compiler-KKIYPREA.js} +1 -1
  73. package/dist/{component-MMBTCMY3.js → component-F43F3363.js} +3 -3
  74. package/dist/{compositions-WT2577NJ.js → compositions-FFXCISLD.js} +7 -7
  75. package/dist/{curve-HHKVZ6LX.js → curve-RHSJUG5P.js} +5 -5
  76. package/dist/{cuts-66GBRT5P.js → cuts-KVFY3U6C.js} +5 -5
  77. package/dist/{delete-P3WYOC7I.js → delete-O7IZKKUN.js} +4 -4
  78. package/dist/{deploy-OJ3M7QJQ.js → deploy-PZAAUW75.js} +8 -8
  79. package/dist/{describeProject-DN6YQU3X.js → describeProject-E44RWBJL.js} +1 -1
  80. package/dist/{diff-R74KQXXN.js → diff-OMNILRNN.js} +18 -18
  81. package/dist/{dist-CCPYPKOC.js → dist-PUHEYGA5.js} +3 -3
  82. package/dist/{doctor-DT52W4UE.js → doctor-4HZN7ZVI.js} +9 -5
  83. package/dist/{energy-WOMDOOLC.js → energy-N3ZIPHTP.js} +5 -5
  84. package/dist/{events-YVQJLQWG.js → events-56A5D6DK.js} +4 -4
  85. package/dist/{events-WEVZ2ELP.js → events-TUTAERAN.js} +6 -6
  86. package/dist/{events-PCK4AIN5.js → events-VAJ4Y6XF.js} +3 -3
  87. package/dist/{extract-CNXA3DWB.js → extract-NJMZEOLG.js} +6 -6
  88. package/dist/{face-2WNBW74C.js → face-KLV4W6CP.js} +5 -5
  89. package/dist/{feedback-ADMM2XDS.js → feedback-4VEKGVLN.js} +5 -5
  90. package/dist/{ffmpeg-PERZ6YHQ.js → ffmpeg-A2O4HSRD.js} +1 -1
  91. package/dist/{figma-5MMN5JUU.js → figma-6XDKKOA6.js} +3 -3
  92. package/dist/fontLocalizeCli.js +3 -3
  93. package/dist/{frames-7CQGHRWT.js → frames-IAMGMNCA.js} +5 -5
  94. package/dist/{generate-XOR4UJDW.js → generate-FMATRA3L.js} +8 -8
  95. package/dist/{get-5K6ALHBS.js → get-JKA3APWR.js} +4 -4
  96. package/dist/{gpuPolicy-DUNSQM6M.js → gpuPolicy-TKHFDEH2.js} +2 -2
  97. package/dist/{grade-compare-DK63C776.js → grade-compare-TCLCDUG5.js} +14 -14
  98. package/dist/{heifImagePrep-YNPHFR6W.js → heifImagePrep-L2EY67F2.js} +1 -1
  99. package/dist/{help-AUF2KA6D.js → help-TWDOQJDN.js} +3 -2
  100. package/dist/{history-G3FXVX4A.js → history-SOWVZUAB.js} +7 -7
  101. package/dist/hyperframes-player.global.js +1 -1
  102. package/dist/{info-DGU3CIU5.js → info-JDINBZLH.js} +6 -6
  103. package/dist/{init-LYZI2WCS.js → init-ACNL6AFC.js} +15 -15
  104. package/dist/{ink-DYZG4BST.js → ink-WNEJROFH.js} +5 -5
  105. package/dist/{inspect-BYQSCRKT.js → inspect-37AMWUW3.js} +15 -15
  106. package/dist/{keyframes-XX2DIYPI.js → keyframes-LMUFQW4Z.js} +7 -7
  107. package/dist/{lambda-RKI7KKWW.js → lambda-DRGDNEW6.js} +3 -3
  108. package/dist/{layout-RQFOMQRO.js → layout-E63HPSXW.js} +15 -15
  109. package/dist/{lint-LFCMCDEG.js → lint-HNZPRCXH.js} +7 -7
  110. package/dist/{list-V4TGMQ3Y.js → list-UMR5VN2M.js} +4 -4
  111. package/dist/{localPage-6MQ6YFER.js → localPage-KIFKMB2B.js} +1 -1
  112. package/dist/{login-EXCG7PEH.js → login-OXOPCSUY.js} +4 -4
  113. package/dist/{look-RBHKHGMF.js → look-DFQJP2LY.js} +5 -5
  114. package/dist/{manager-ARXEX6OP.js → manager-T633Z2L4.js} +1 -1
  115. package/dist/{measure-SAV5K4WT.js → measure-Y2VXF6LJ.js} +11 -11
  116. package/dist/{media-treatment-2BVHRXJS.js → media-treatment-U2PDH4P3.js} +8 -8
  117. package/dist/{media-use-YEBYLITF.js → media-use-KGNGAQQP.js} +2 -1
  118. package/dist/{models-GMJODMZ5.js → models-HATSG3VK.js} +5 -5
  119. package/dist/{motionShot-Z63I3GO7.js → motionShot-45M7MSFQ.js} +7 -7
  120. package/dist/{normalize-audio-ILLUZPTO.js → normalize-audio-SOXEVIKM.js} +5 -5
  121. package/dist/{open-GTNLU7UF.js → open-LRPNBFRW.js} +5 -5
  122. package/dist/{parakeetRunner-K4EGDDVH.js → parakeetRunner-A7Z6CQOT.js} +1 -1
  123. package/dist/{pipeline-EKLTELWF.js → pipeline-N3M6VXBC.js} +4 -4
  124. package/dist/{play-F2HIXJKH.js → play-HTHDFMOU.js} +10 -10
  125. package/dist/{preflight-QMXCKE5P.js → preflight-XZZXHV42.js} +1 -1
  126. package/dist/{present-GDR6LCKE.js → present-LQ4PJTP4.js} +10 -10
  127. package/dist/{preview-4TV5426Q.js → preview-CTEDNFN3.js} +9 -9
  128. package/dist/{probe-TYM7WKX2.js → probe-6IZD5TPR.js} +6 -6
  129. package/dist/{producer-NHQXKH7Y.js → producer-4CR46ON4.js} +1 -1
  130. package/dist/{remove-background-LURZDSDJ.js → remove-background-SYHNGASQ.js} +5 -5
  131. package/dist/{render-GEAO2HAV.js → render-JHSMAWED.js} +9 -9
  132. package/dist/{render-YLAS7GVD.js → render-VZLEKSHR.js} +18 -18
  133. package/dist/{reverse-3KAZZXB2.js → reverse-SCXEQVRH.js} +1 -1
  134. package/dist/{run-XER4YJY5.js → run-GRCZ6JO5.js} +2 -2
  135. package/dist/{sherpa-D6FQ3CHN.js → sherpa-EENLR3RM.js} +1 -1
  136. package/dist/skills/hyperframes-cli/SKILL.md +2 -0
  137. package/dist/skills/media-use/SKILL.md +1 -1
  138. package/dist/skills/media-use/audio/scripts/lib/tts.mjs +2 -0
  139. package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +14 -0
  140. package/dist/skills/media-use/references/heygen.md +1 -1
  141. package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +3 -0
  142. package/dist/skills/media-use/scripts/lib/credit-limit.mjs +41 -0
  143. package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +39 -0
  144. package/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +2 -0
  145. package/dist/skills/media-use/scripts/lib/voice-provider.mjs +2 -0
  146. package/dist/skills-4TSYBAGW.js +49 -0
  147. package/dist/{skillsUpdateCheck-IG7KLWIA.js → skillsUpdateCheck-MGXL5VXL.js} +6 -4
  148. package/dist/{snapshot-RULSIRM6.js → snapshot-P27Y3NJE.js} +18 -18
  149. package/dist/{src-RL6YEPTD.js → src-L7UBHHKB.js} +1 -1
  150. package/dist/{src-DHBRQZFZ.js → src-MWO2XBSA.js} +2 -2
  151. package/dist/{start-GF3JCTGF.js → start-L5M26YD5.js} +6 -6
  152. package/dist/{staticProjectServer-BX4RWEY5.js → staticProjectServer-2JYB7RLI.js} +5 -5
  153. package/dist/studio/assets/{hyperframes-player-BcELSci_.js → hyperframes-player-BbRz52ui.js} +1 -1
  154. package/dist/studio/assets/{index-2SLNyxZG.js → index-CCSgOq2L.js} +1 -1
  155. package/dist/studio/assets/{index-DR2eua-L.js → index-D3y5mWmH.js} +4 -4
  156. package/dist/studio/index.html +1 -1
  157. package/dist/{studio-api-PEUXVD7P.js → studio-api-MEZKFJBY.js} +3 -3
  158. package/dist/{studioServer-DOTRPHS3.js → studioServer-J5RPUMHP.js} +24 -24
  159. package/dist/{sync-XQPBXGGX.js → sync-FHT2CHKU.js} +5 -5
  160. package/dist/{telemetry-7TIIOBVB.js → telemetry-JWEOBK3Q.js} +4 -4
  161. package/dist/{telemetry-T73TKZOL.js → telemetry-WGNNQUSF.js} +1 -1
  162. package/dist/{timeline-4JIUAUIP.js → timeline-ZO3PNIET.js} +9 -9
  163. package/dist/{tokens-4PQU4LVQ.js → tokens-X6OTCQCV.js} +2 -2
  164. package/dist/{transcribe-IKUPC2R3.js → transcribe-KNO3BK5S.js} +8 -8
  165. package/dist/{transcribe-N66QUYCS.js → transcribe-QIZGXMR5.js} +1 -1
  166. package/dist/{tts-HIQMJU6O.js → tts-JHGGL7GL.js} +1 -1
  167. package/dist/update-WXGSPMEG.js +280 -0
  168. package/dist/{updateCheck-LBPTWEZV.js → updateCheck-OBYSCTWV.js} +7 -3
  169. package/dist/upgrade-YCCIVSI6.js +40 -0
  170. package/dist/{urlDownloader-YNI3Y3IE.js → urlDownloader-FOXK4FYP.js} +1 -1
  171. package/dist/{validate-MLVDUEK7.js → validate-TDVQ2B6Y.js} +13 -13
  172. package/dist/{video-2OEOTSPQ.js → video-AVEGMBDM.js} +1 -1
  173. package/dist/voices-2LIY4CYK.js +97 -0
  174. package/dist/warmCheck.js +23 -23
  175. package/package.json +1 -1
  176. package/dist/{chunk-QUBVGS27.js → chunk-LNTUFRZD.js} +3 -3
  177. package/dist/{destroy-C5GQLZVZ.js → destroy-IQLGADZM.js} +4 -4
  178. package/dist/{synthesize-YK3WLOEQ.js → synthesize-YYT7UON6.js} +5 -5
@@ -12,24 +12,24 @@ import {
12
12
  parseFrameCheck,
13
13
  parseLayout,
14
14
  prelaunchBrowserForCheck
15
- } from "./chunk-3XHWHH5A.js";
15
+ } from "./chunk-6Y7WZTHJ.js";
16
16
  import "./chunk-KUXOAS4Z.js";
17
- import "./chunk-PYUS627M.js";
18
- import "./chunk-QBPZHOEJ.js";
19
- import "./chunk-2WNIF4YT.js";
20
- import "./chunk-WWPOGMNX.js";
21
- import "./chunk-2CKL2FUJ.js";
22
- import "./chunk-YXSM33UC.js";
17
+ import "./chunk-QM4OL5MZ.js";
18
+ import "./chunk-OQHC5YIB.js";
19
+ import "./chunk-OKD2LP73.js";
20
+ import "./chunk-CD65TPHT.js";
23
21
  import "./chunk-X7MTZ4T2.js";
24
- import "./chunk-CDSTLOB7.js";
22
+ import "./chunk-ZUACTOAB.js";
23
+ import "./chunk-SUM3VFPQ.js";
24
+ import "./chunk-4ILKN2MX.js";
25
25
  import "./chunk-TQBQYO4L.js";
26
- import "./chunk-7VU4RBHC.js";
27
- import "./chunk-7VOLQUA2.js";
28
- import "./chunk-BYC4C4YY.js";
29
- import "./chunk-B5GWDPUO.js";
26
+ import "./chunk-WJ7E5J77.js";
27
+ import "./chunk-BBMMVLA3.js";
28
+ import "./chunk-2VYAX3ZD.js";
29
+ import "./chunk-EPCVE3OX.js";
30
30
  import "./chunk-X7MTZ4T2.js";
31
31
  import "./chunk-XUHOIDKG.js";
32
- import "./chunk-6HO6QKYG.js";
32
+ import "./chunk-6R2PED3X.js";
33
33
  import "./chunk-RXFKSZN2.js";
34
34
  import "./chunk-262C25DQ.js";
35
35
  import "./chunk-E2YXF2EP.js";
@@ -37,8 +37,8 @@ import "./chunk-LR5NVYZT.js";
37
37
  import "./chunk-YGGZ23BB.js";
38
38
  import "./chunk-LTBBFLOM.js";
39
39
  import "./chunk-US4BCRYB.js";
40
- import "./chunk-NCP3JQ6S.js";
41
- import "./chunk-JZPUXDQE.js";
40
+ import "./chunk-4J4EGANW.js";
41
+ import "./chunk-HY64QA63.js";
42
42
  import "./chunk-AW3XJY4S.js";
43
43
  import "./chunk-CPMTEWQM.js";
44
44
  import "./chunk-XLPCBE2Q.js";
@@ -57,13 +57,13 @@ import "./chunk-AWDFDFI3.js";
57
57
  import "./chunk-P6LJ4Y32.js";
58
58
  import "./chunk-T2WJO4XM.js";
59
59
  import "./chunk-W4DMQZL5.js";
60
- import "./chunk-BHL4KN3H.js";
60
+ import "./chunk-PKLZ5PV2.js";
61
61
  import "./chunk-5LOZWO2M.js";
62
- import "./chunk-6UZLHLFP.js";
62
+ import "./chunk-FC4WF2VQ.js";
63
63
  import "./chunk-EHZESMRB.js";
64
64
  import "./chunk-A4ZTSQLW.js";
65
- import "./chunk-5CDTGHED.js";
66
- import "./chunk-PO7LSMN5.js";
65
+ import "./chunk-6DHC3MVK.js";
66
+ import "./chunk-JT2ZGKKB.js";
67
67
  import "./chunk-PXVQOMKL.js";
68
68
  import "./chunk-MCDNAIFF.js";
69
69
  import "./chunk-BVAPHHMQ.js";
@@ -80,7 +80,7 @@ import "./chunk-N6FGHJ7X.js";
80
80
  import "./chunk-Z5J67X44.js";
81
81
  import "./chunk-5S7W3TUO.js";
82
82
  import "./chunk-D3MUHMFG.js";
83
- import "./chunk-PPMCILED.js";
83
+ import "./chunk-JS6ZTPYC.js";
84
84
  import "./chunk-YWRUQ7XZ.js";
85
85
  import "./chunk-W5AUD5OL.js";
86
86
  import "./chunk-MEJH7VEA.js";
@@ -110,15 +110,15 @@ import "./chunk-EPQC3FGZ.js";
110
110
  import "./chunk-WC4MTXGN.js";
111
111
  import "./chunk-FBN2M2HK.js";
112
112
  import "./chunk-766MOTIZ.js";
113
- import "./chunk-NBWYATVA.js";
113
+ import "./chunk-4YCNVKJX.js";
114
114
  import "./chunk-BR2JQQC5.js";
115
- import "./chunk-BLBMPEBX.js";
115
+ import "./chunk-BONBJJ35.js";
116
116
  import "./chunk-ISN5GRYI.js";
117
117
  import "./chunk-ADVVQX4I.js";
118
118
  import "./chunk-66W5IWLO.js";
119
119
  import "./chunk-J3RXEDR2.js";
120
120
  import "./chunk-QBXDU24O.js";
121
- import "./chunk-7VGM5TLZ.js";
121
+ import "./chunk-I4XTKG2B.js";
122
122
  import "./chunk-E63BDV4Z.js";
123
123
  import "./chunk-G7VEYUZ2.js";
124
124
  import "./chunk-XT6MXC7A.js";
@@ -16,10 +16,10 @@ import {
16
16
  } from "./chunk-SWC3QIEH.js";
17
17
  import {
18
18
  mediaPath
19
- } from "./chunk-PYUS627M.js";
19
+ } from "./chunk-OQHC5YIB.js";
20
20
  import {
21
21
  loadProducer
22
- } from "./chunk-WWPOGMNX.js";
22
+ } from "./chunk-ZUACTOAB.js";
23
23
  import {
24
24
  findingAtRoot
25
25
  } from "./chunk-TQBQYO4L.js";
@@ -34,7 +34,7 @@ import {
34
34
  import "./chunk-Z5J67X44.js";
35
35
  import "./chunk-5S7W3TUO.js";
36
36
  import "./chunk-D3MUHMFG.js";
37
- import "./chunk-PPMCILED.js";
37
+ import "./chunk-JS6ZTPYC.js";
38
38
  import "./chunk-YWRUQ7XZ.js";
39
39
  import "./chunk-W5AUD5OL.js";
40
40
  import "./chunk-MEJH7VEA.js";
@@ -20,25 +20,25 @@ import {
20
20
  preResolveHostileMediaProxies,
21
21
  runBrowserCheck,
22
22
  samplingBrowserCount
23
- } from "./chunk-YXSM33UC.js";
23
+ } from "./chunk-QM4OL5MZ.js";
24
24
  import "./chunk-X7MTZ4T2.js";
25
- import "./chunk-CDSTLOB7.js";
25
+ import "./chunk-4ILKN2MX.js";
26
26
  import "./chunk-TQBQYO4L.js";
27
- import "./chunk-7VU4RBHC.js";
28
- import "./chunk-7VOLQUA2.js";
29
- import "./chunk-BYC4C4YY.js";
30
- import "./chunk-B5GWDPUO.js";
27
+ import "./chunk-WJ7E5J77.js";
28
+ import "./chunk-BBMMVLA3.js";
29
+ import "./chunk-2VYAX3ZD.js";
30
+ import "./chunk-EPCVE3OX.js";
31
31
  import "./chunk-X7MTZ4T2.js";
32
32
  import "./chunk-XUHOIDKG.js";
33
- import "./chunk-6HO6QKYG.js";
33
+ import "./chunk-6R2PED3X.js";
34
34
  import "./chunk-RXFKSZN2.js";
35
35
  import "./chunk-262C25DQ.js";
36
36
  import "./chunk-E2YXF2EP.js";
37
37
  import "./chunk-LR5NVYZT.js";
38
38
  import "./chunk-YGGZ23BB.js";
39
39
  import "./chunk-LTBBFLOM.js";
40
- import "./chunk-NCP3JQ6S.js";
41
- import "./chunk-JZPUXDQE.js";
40
+ import "./chunk-4J4EGANW.js";
41
+ import "./chunk-HY64QA63.js";
42
42
  import "./chunk-AW3XJY4S.js";
43
43
  import "./chunk-CPMTEWQM.js";
44
44
  import "./chunk-XLPCBE2Q.js";
@@ -57,13 +57,13 @@ import "./chunk-AWDFDFI3.js";
57
57
  import "./chunk-P6LJ4Y32.js";
58
58
  import "./chunk-T2WJO4XM.js";
59
59
  import "./chunk-W4DMQZL5.js";
60
- import "./chunk-BHL4KN3H.js";
60
+ import "./chunk-PKLZ5PV2.js";
61
61
  import "./chunk-5LOZWO2M.js";
62
- import "./chunk-6UZLHLFP.js";
62
+ import "./chunk-FC4WF2VQ.js";
63
63
  import "./chunk-EHZESMRB.js";
64
64
  import "./chunk-A4ZTSQLW.js";
65
- import "./chunk-5CDTGHED.js";
66
- import "./chunk-PO7LSMN5.js";
65
+ import "./chunk-6DHC3MVK.js";
66
+ import "./chunk-JT2ZGKKB.js";
67
67
  import "./chunk-PXVQOMKL.js";
68
68
  import "./chunk-MCDNAIFF.js";
69
69
  import "./chunk-BVAPHHMQ.js";
@@ -79,7 +79,7 @@ import "./chunk-N6FGHJ7X.js";
79
79
  import "./chunk-Z5J67X44.js";
80
80
  import "./chunk-5S7W3TUO.js";
81
81
  import "./chunk-D3MUHMFG.js";
82
- import "./chunk-PPMCILED.js";
82
+ import "./chunk-JS6ZTPYC.js";
83
83
  import "./chunk-YWRUQ7XZ.js";
84
84
  import "./chunk-W5AUD5OL.js";
85
85
  import "./chunk-MEJH7VEA.js";
@@ -108,15 +108,15 @@ import "./chunk-EPQC3FGZ.js";
108
108
  import "./chunk-WC4MTXGN.js";
109
109
  import "./chunk-FBN2M2HK.js";
110
110
  import "./chunk-766MOTIZ.js";
111
- import "./chunk-NBWYATVA.js";
111
+ import "./chunk-4YCNVKJX.js";
112
112
  import "./chunk-BR2JQQC5.js";
113
- import "./chunk-BLBMPEBX.js";
113
+ import "./chunk-BONBJJ35.js";
114
114
  import "./chunk-ISN5GRYI.js";
115
115
  import "./chunk-ADVVQX4I.js";
116
116
  import "./chunk-66W5IWLO.js";
117
117
  import "./chunk-J3RXEDR2.js";
118
118
  import "./chunk-QBXDU24O.js";
119
- import "./chunk-7VGM5TLZ.js";
119
+ import "./chunk-I4XTKG2B.js";
120
120
  import "./chunk-E63BDV4Z.js";
121
121
  import "./chunk-G7VEYUZ2.js";
122
122
  import "./chunk-XT6MXC7A.js";
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  getMimeType,
12
12
  injectMediaCodecMapIntoHtml
13
- } from "./chunk-NCP3JQ6S.js";
13
+ } from "./chunk-4J4EGANW.js";
14
14
  import {
15
15
  PROXY_VARIANT_CONFIG,
16
16
  ProxyCapacityError,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-N6FGHJ7X.js";
34
34
  import {
35
35
  stripSdrPngColourTags
36
- } from "./chunk-PPMCILED.js";
36
+ } from "./chunk-JS6ZTPYC.js";
37
37
  import {
38
38
  PREVIEW_PROXY_BOX_PARAM,
39
39
  parsePreviewProxyBox
@@ -10,7 +10,7 @@ import {
10
10
  isDevice,
11
11
  isQuality,
12
12
  render
13
- } from "./chunk-EN6MPNZT.js";
13
+ } from "./chunk-NQYW4IYN.js";
14
14
 
15
15
  // src/api/removeBackground.ts
16
16
  import { resolve } from "path";
@@ -20,7 +20,7 @@ import {
20
20
  typeDirPath,
21
21
  updateRecord,
22
22
  withFigmaErrors
23
- } from "./chunk-MHZ7NSL5.js";
23
+ } from "./chunk-6JDNEQV5.js";
24
24
  import {
25
25
  defineCommand
26
26
  } from "./chunk-DL4OD7IA.js";
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
229
229
  rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
230
230
  );
231
231
  }
232
- const { trackFigmaImport } = await import("./telemetry-7TIIOBVB.js");
232
+ const { trackFigmaImport } = await import("./telemetry-JWEOBK3Q.js");
233
233
  trackFigmaImport({
234
234
  phase: "asset",
235
235
  reused: results.every((r) => r.reused),
@@ -7,17 +7,17 @@ var __dirname = __hf_dirname(__filename);
7
7
  import {
8
8
  parseFeedbackRating,
9
9
  trackRenderFeedback
10
- } from "./chunk-5CDTGHED.js";
10
+ } from "./chunk-6DHC3MVK.js";
11
11
  import {
12
12
  shouldTrack
13
- } from "./chunk-PO7LSMN5.js";
13
+ } from "./chunk-JT2ZGKKB.js";
14
14
  import {
15
15
  c
16
16
  } from "./chunk-2GICKZ3I.js";
17
17
  import {
18
18
  readConfig,
19
19
  writeConfig
20
- } from "./chunk-BLBMPEBX.js";
20
+ } from "./chunk-BONBJJ35.js";
21
21
  import {
22
22
  detectAgentRuntime
23
23
  } from "./chunk-G7VEYUZ2.js";
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
84
84
  try {
85
85
  const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
86
86
  import("./system-FDPS57FU.js"),
87
- import("./ffmpeg-PERZ6YHQ.js")
87
+ import("./ffmpeg-A2O4HSRD.js")
88
88
  ]);
89
89
  const sys = getSystemMeta();
90
90
  const parts = [
@@ -9,17 +9,17 @@ import {
9
9
  } from "./chunk-TQBQYO4L.js";
10
10
  import {
11
11
  resolveProject
12
- } from "./chunk-7VOLQUA2.js";
12
+ } from "./chunk-BBMMVLA3.js";
13
13
  import {
14
14
  serveStaticProjectHtml
15
- } from "./chunk-BYC4C4YY.js";
15
+ } from "./chunk-2VYAX3ZD.js";
16
16
  import {
17
17
  AUDIT_SEEK_OPTIONS,
18
18
  installPageFunctionGuard,
19
19
  seekCompositionTimeline,
20
20
  waitForCompositionFonts,
21
21
  waitForRuntimeReady
22
- } from "./chunk-6HO6QKYG.js";
22
+ } from "./chunk-6R2PED3X.js";
23
23
  import {
24
24
  gotoWhenSent
25
25
  } from "./chunk-RXFKSZN2.js";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  launchManagedBrowser,
31
31
  resolveManagedGpuMode
32
- } from "./chunk-BHL4KN3H.js";
32
+ } from "./chunk-PKLZ5PV2.js";
33
33
  import {
34
34
  readJsonFileText
35
35
  } from "./chunk-EHZESMRB.js";
@@ -42,7 +42,7 @@ import {
42
42
  import {
43
43
  printDeprecationNotice,
44
44
  withMeta
45
- } from "./chunk-NBWYATVA.js";
45
+ } from "./chunk-4YCNVKJX.js";
46
46
  import {
47
47
  failureMessage,
48
48
  jsonFailure
@@ -709,7 +709,7 @@ async function collectTweenBoundaries(page) {
709
709
  });
710
710
  }
711
711
  async function bundleProjectHtml(projectDir) {
712
- const { bundleToSingleHtml } = await import("./compiler-NAIDMQFU.js");
712
+ const { bundleToSingleHtml } = await import("./compiler-KKIYPREA.js");
713
713
  return bundleToSingleHtml(projectDir);
714
714
  }
715
715
  async function alignViewportToComposition(page, url) {
@@ -728,13 +728,13 @@ async function alignViewportToComposition(page, url) {
728
728
  async function runLayoutAudit(projectDir, opts) {
729
729
  const { ensureBrowser } = await import("./manager-SAXHANEY.js");
730
730
  const puppeteer = await import("puppeteer-core");
731
- const { buildChromeArgs } = await import("./src-RL6YEPTD.js");
731
+ const { buildChromeArgs } = await import("./src-L7UBHHKB.js");
732
732
  const {
733
733
  assertWebGpuAdapterAvailable,
734
734
  compositionRequiresWebGpu,
735
735
  resolveLocalBrowserGpuMode,
736
736
  resolveLocalWebGpu
737
- } = await import("./gpuPolicy-DUNSQM6M.js");
737
+ } = await import("./gpuPolicy-TKHFDEH2.js");
738
738
  const html = await bundleProjectHtml(projectDir);
739
739
  const server = await serveStaticProjectHtml(
740
740
  projectDir,
@@ -19,7 +19,7 @@ import {
19
19
  splitElementInHtml,
20
20
  unwrapElementsFromHtml,
21
21
  wrapElementsInHtml
22
- } from "./chunk-JZPUXDQE.js";
22
+ } from "./chunk-HY64QA63.js";
23
23
  import {
24
24
  MEDIA_LINK_ATTR,
25
25
  relinkSplitHalves
@@ -117,7 +117,7 @@ import {
117
117
  ensureHfIds,
118
118
  stampHfIdsInPlace,
119
119
  stripSdrPngColourTags
120
- } from "./chunk-PPMCILED.js";
120
+ } from "./chunk-JS6ZTPYC.js";
121
121
  import {
122
122
  PREVIEW_PROXY_BOX_PARAM,
123
123
  PREVIEW_PROXY_LIGHT_PARAM,
@@ -8,10 +8,11 @@ import {
8
8
  hostAnswers
9
9
  } from "./chunk-BR2JQQC5.js";
10
10
  import {
11
+ CONFIG_PATH,
11
12
  readConfig,
12
13
  readConfigFresh,
13
14
  writeConfig
14
- } from "./chunk-BLBMPEBX.js";
15
+ } from "./chunk-BONBJJ35.js";
15
16
  import {
16
17
  isDevMode
17
18
  } from "./chunk-ISN5GRYI.js";
@@ -24,16 +25,59 @@ import {
24
25
  } from "./chunk-J3RXEDR2.js";
25
26
  import {
26
27
  VERSION
27
- } from "./chunk-7VGM5TLZ.js";
28
+ } from "./chunk-I4XTKG2B.js";
28
29
 
29
30
  // src/utils/updateCheck.ts
30
- import { existsSync, readFileSync } from "fs";
31
- import { join } from "path";
31
+ import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
32
+ import { join as join2, resolve } from "path";
32
33
  import { compareVersions } from "compare-versions";
33
34
 
35
+ // src/utils/dailyNotice.ts
36
+ import { mkdirSync, readFileSync, renameSync, rmSync, writeFileSync } from "fs";
37
+ import { dirname, join } from "path";
38
+ var NOTICE_INTERVAL_MS = 24 * 60 * 60 * 1e3;
39
+ function readShown(noticeFile) {
40
+ let parsed;
41
+ try {
42
+ parsed = JSON.parse(readFileSync(noticeFile, "utf-8"));
43
+ } catch {
44
+ return {};
45
+ }
46
+ if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return {};
47
+ return Object.fromEntries(
48
+ Object.entries(parsed).filter((entry) => Number.isFinite(entry[1]))
49
+ );
50
+ }
51
+ var recent = (at, now) => at <= now && now - at < NOTICE_INTERVAL_MS;
52
+ function claimDailyNotice(kind, project, now = Date.now()) {
53
+ const noticeFile = join(dirname(CONFIG_PATH), `${kind}-notice.json`);
54
+ const shown = readShown(noticeFile);
55
+ if (recent(shown[project] ?? 0, now)) return false;
56
+ const kept = Object.entries(shown).filter(([, at]) => recent(at, now));
57
+ const tmp = `${noticeFile}.${process.pid}.tmp`;
58
+ try {
59
+ mkdirSync(dirname(noticeFile), { recursive: true, mode: 448 });
60
+ writeFileSync(tmp, JSON.stringify(Object.fromEntries([...kept, [project, now]])), {
61
+ mode: 384
62
+ });
63
+ renameSync(tmp, noticeFile);
64
+ } catch {
65
+ rmSync(tmp, { force: true });
66
+ return false;
67
+ }
68
+ return true;
69
+ }
70
+
34
71
  // src/utils/installerDetection.ts
35
- import { realpathSync } from "fs";
72
+ import { existsSync, realpathSync } from "fs";
36
73
  import { posix } from "path";
74
+
75
+ // src/utils/safeVersion.ts
76
+ function isSafeVersion(v) {
77
+ return /^[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(v);
78
+ }
79
+
80
+ // src/utils/installerDetection.ts
37
81
  function resolveEntry() {
38
82
  const entry = process.argv[1];
39
83
  if (!entry) return null;
@@ -52,7 +96,8 @@ function isWorkspaceLink(realEntry) {
52
96
  }
53
97
  function isEphemeralExec(realEntry) {
54
98
  const normalized = normalizePath(realEntry);
55
- return normalized.includes("/_npx/") || normalized.includes("/.npm/_npx/") || posix.basename(posix.dirname(normalized)).startsWith("bunx-");
99
+ return normalized.includes("/_npx/") || normalized.includes("/.npm/_npx/") || posix.basename(posix.dirname(normalized)).startsWith("bunx-") || // bunx installs the package under its temp dir: `/tmp/bunx-<uid>-<spec>/node_modules/…`.
100
+ /\/bunx-[^/]+\/node_modules\//.test(normalized);
56
101
  }
57
102
  function isHomebrewInstall(realEntry) {
58
103
  return normalizePath(realEntry).includes("/Cellar/hyperframes/");
@@ -132,10 +177,58 @@ function installInvocation(kind, version) {
132
177
  return null;
133
178
  }
134
179
  }
135
-
136
- // src/utils/safeVersion.ts
137
- function isSafeVersion(v) {
138
- return /^[0-9]+\.[0-9]+\.[0-9]+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(v);
180
+ var CHANNEL_LABELS = {
181
+ npm: "npm global install",
182
+ pnpm: "pnpm global install",
183
+ bun: "bun global install",
184
+ brew: "Homebrew install",
185
+ npx: "npx / bunx (temporary cache)",
186
+ project: "project-local install (node_modules)",
187
+ workspace: "workspace link (monorepo dev)",
188
+ plugin: "agent plugin (version pinned by the plugin)",
189
+ unknown: "unrecognized install layout"
190
+ };
191
+ function installChannelLabel(channel) {
192
+ return CHANNEL_LABELS[channel];
193
+ }
194
+ function runningInstall() {
195
+ const path = resolveEntry();
196
+ if (process.env["HYPERFRAMES_PLUGIN_VERSION"]) return { channel: "plugin", path };
197
+ const installer = detectInstaller();
198
+ if (installer.kind !== "skip") return { channel: installer.kind, path };
199
+ if (!path) return { channel: "unknown", path };
200
+ if (isWorkspaceLink(path)) return { channel: "workspace", path };
201
+ if (isEphemeralExec(path)) return { channel: "npx", path };
202
+ if (normalizePath(path).includes("/node_modules/hyperframes/")) {
203
+ return { channel: "project", path };
204
+ }
205
+ return { channel: "unknown", path };
206
+ }
207
+ var PROJECT_LOCKFILES = [
208
+ ["bun.lock", (spec) => `bun add ${spec}`],
209
+ ["bun.lockb", (spec) => `bun add ${spec}`],
210
+ ["pnpm-lock.yaml", (spec) => `pnpm add ${spec}`],
211
+ ["yarn.lock", (spec) => `yarn add ${spec}`]
212
+ ];
213
+ function projectInstallCommand(path, version) {
214
+ const normalized = normalizePath(path);
215
+ const root = normalized.slice(0, normalized.indexOf("/node_modules/"));
216
+ const spec = `hyperframes@${version}`;
217
+ const lockfile = PROJECT_LOCKFILES.find(([name]) => existsSync(posix.join(root, name)));
218
+ return lockfile ? lockfile[1](spec) : `npm install ${spec}`;
219
+ }
220
+ function updateCommandFor(install, latest) {
221
+ if (install.channel === "plugin") return "update the HyperFrames plugin in your agent";
222
+ if (install.channel === "brew") return "brew upgrade hyperframes";
223
+ if (install.channel === "project" && install.path && isSafeVersion(latest)) {
224
+ return projectInstallCommand(install.path, latest);
225
+ }
226
+ const kind = install.channel;
227
+ if (kind === "npm" || kind === "pnpm" || kind === "bun") {
228
+ const invocation = installInvocation(kind, latest);
229
+ if (invocation) return `${invocation.bin} ${invocation.args.join(" ")}`;
230
+ }
231
+ return "npx hyperframes@latest";
139
232
  }
140
233
 
141
234
  // src/utils/projectPin.ts
@@ -182,7 +275,8 @@ function rewriteProjectPinnedScripts(scripts, targetVersion) {
182
275
 
183
276
  // src/utils/updateCheck.ts
184
277
  var NPM_REGISTRY_URL = "https://registry.npmjs.org/hyperframes/latest";
185
- var CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
278
+ var CHECK_INTERVAL_MS = 2 * 60 * 60 * 1e3;
279
+ var SKILLS_COUNT_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
186
280
  var FETCH_TIMEOUT_MS = 3e3;
187
281
  function isNewerSemver(a, b) {
188
282
  try {
@@ -227,6 +321,7 @@ async function checkForUpdate(force) {
227
321
  function updateCheckDue(config = readConfig()) {
228
322
  if (updateCheckDisabled()) return false;
229
323
  if (!config.lastUpdateCheck || !isSafeCache(config.latestVersion)) return true;
324
+ if (isNewerSemver(VERSION, config.latestVersion)) return true;
230
325
  const fresh = Date.now() - new Date(config.lastUpdateCheck).getTime() < CHECK_INTERVAL_MS;
231
326
  return !fresh;
232
327
  }
@@ -246,15 +341,91 @@ function cachedVersionForThisInstall(value) {
246
341
  return isSafeCache(value) && !isNewerSemver(VERSION, value) ? value : void 0;
247
342
  }
248
343
  function getUpdateMeta() {
249
- const latestVersion = cachedVersionForThisInstall(readConfig().latestVersion);
344
+ const config = readConfig();
345
+ const latestVersion = cachedVersionForThisInstall(config.latestVersion);
346
+ const checkedAt = latestVersion ? config.lastUpdateCheck : void 0;
347
+ const skillsOutdated = cachedSkillsCount(config, config.skillsOutdatedCount);
348
+ const skillsMissing = cachedSkillsCount(config, config.skillsMissingCount);
250
349
  return {
251
350
  version: VERSION,
252
351
  latestVersion,
253
- updateAvailable: latestVersion ? isNewerSemver(latestVersion, VERSION) : false
352
+ updateAvailable: latestVersion ? isNewerSemver(latestVersion, VERSION) : false,
353
+ ...checkedAt ? { checkedAt } : {},
354
+ ...skillsOutdated === void 0 ? {} : { skillsOutdated },
355
+ ...skillsMissing === void 0 ? {} : { skillsMissing }
254
356
  };
255
357
  }
358
+ function cachedSkillsCount(config, count) {
359
+ if (process.env["HYPERFRAMES_SKIP_SKILLS"] === "1") return void 0;
360
+ if (!config.lastSkillsCheck || config.skillsCheckedVersion !== VERSION) return void 0;
361
+ const age = Date.now() - new Date(config.lastSkillsCheck).getTime();
362
+ if (!(age >= 0 && age < SKILLS_COUNT_MAX_AGE_MS)) return void 0;
363
+ return typeof count === "number" && Number.isInteger(count) && count >= 0 ? count : void 0;
364
+ }
365
+ function skillsBehindPhrase(meta) {
366
+ const outdated = meta.skillsOutdated ?? 0;
367
+ const missing = meta.skillsMissing ?? 0;
368
+ const parts = [];
369
+ if (outdated > 0) {
370
+ parts.push(
371
+ `${outdated} installed HyperFrames ${outdated === 1 ? "skill is" : "skills are"} out of date`
372
+ );
373
+ }
374
+ if (missing > 0) {
375
+ const which = outdated > 0 ? "core" : "core HyperFrames";
376
+ parts.push(`${missing} ${which} ${missing === 1 ? "skill is" : "skills are"} missing`);
377
+ }
378
+ return parts.length > 0 ? parts.join(" and ") : null;
379
+ }
380
+ var GLOBAL_CHANNELS = /* @__PURE__ */ new Set(["npm", "pnpm", "bun", "brew"]);
381
+ function projectNoticeCommand(install, cliBehind, skillsBehind, latest) {
382
+ if (!cliBehind) return "npx hyperframes update";
383
+ const bump = updateCommandFor(install, latest);
384
+ return skillsBehind ? `${bump}, then npx hyperframes update` : bump;
385
+ }
386
+ function updateCommandForThisInstall(cliBehind, skillsBehind, latest) {
387
+ const install = runningInstall();
388
+ if (GLOBAL_CHANNELS.has(install.channel)) {
389
+ return skillsBehind ? "hyperframes update" : updateCommandFor(install, latest);
390
+ }
391
+ if (install.channel === "project") {
392
+ return projectNoticeCommand(install, cliBehind, skillsBehind, latest);
393
+ }
394
+ return install.channel === "npx" && cliBehind ? "npx hyperframes@latest update" : "npx hyperframes update";
395
+ }
396
+ function noticeSentence(version, latest, skills, command) {
397
+ const cli = latest ? `HyperFrames CLI ${latest} is available (this run is ${version})` : null;
398
+ if (cli && skills) return `For the user: ${cli}, and ${skills}. To update both, run: ${command}`;
399
+ if (cli) return `For the user: ${cli}. To update, run: ${command}`;
400
+ return `For the user: ${skills} (this run is HyperFrames CLI ${version}). To update them, run: ${command}`;
401
+ }
402
+ function updateNoticeText(meta) {
403
+ if (updateCheckDisabled() || process.env["HYPERFRAMES_PLUGIN_VERSION"]) return null;
404
+ const latest = meta.updateAvailable ? meta.latestVersion ?? null : null;
405
+ const skills = skillsBehindPhrase(meta);
406
+ if (!latest && !skills) return null;
407
+ const command = updateCommandForThisInstall(
408
+ latest !== null,
409
+ skills !== null,
410
+ latest ?? meta.version
411
+ );
412
+ return noticeSentence(meta.version, latest, skills, command);
413
+ }
414
+ function noticeOrNull(meta) {
415
+ try {
416
+ const notice = updateNoticeText(meta);
417
+ return notice && claimDailyNotice("update", resolve(process.cwd())) ? notice : null;
418
+ } catch {
419
+ return null;
420
+ }
421
+ }
422
+ var NO_UPDATE_NOTICE = { updateNotice: false };
256
423
  function withMeta(data, options) {
257
424
  const meta = getUpdateMeta();
425
+ if (options?.updateNotice !== false) {
426
+ const notice = noticeOrNull(meta);
427
+ if (notice) meta.updateNotice = notice;
428
+ }
258
429
  if (options?.deprecated) meta.deprecated = true;
259
430
  return { ...data, _meta: meta };
260
431
  }
@@ -295,9 +466,9 @@ function printStalePinNotice(cwd = process.cwd()) {
295
466
  if (updateCheckDisabled()) return;
296
467
  let scripts = {};
297
468
  try {
298
- const pkgPath = join(cwd, "package.json");
299
- if (!existsSync(pkgPath)) return;
300
- scripts = JSON.parse(readFileSync(pkgPath, "utf-8")).scripts ?? {};
469
+ const pkgPath = join2(cwd, "package.json");
470
+ if (!existsSync2(pkgPath)) return;
471
+ scripts = JSON.parse(readFileSync2(pkgPath, "utf-8")).scripts ?? {};
301
472
  } catch {
302
473
  return;
303
474
  }
@@ -338,15 +509,21 @@ function printStalePinNotice(cwd = process.cwd()) {
338
509
  }
339
510
 
340
511
  export {
512
+ claimDailyNotice,
513
+ isSafeVersion,
341
514
  detectInstaller,
342
515
  installInvocation,
343
- isSafeVersion,
516
+ installChannelLabel,
517
+ runningInstall,
518
+ updateCommandFor,
344
519
  rewritePinnedHyperframesText,
345
520
  rewriteProjectPinnedScripts,
346
521
  checkForUpdate,
347
522
  updateCheckDue,
348
523
  cachedUpdateCheck,
349
524
  getUpdateMeta,
525
+ updateCommandForThisInstall,
526
+ NO_UPDATE_NOTICE,
350
527
  withMeta,
351
528
  printDeprecationNotice,
352
529
  updateCheckDisabled,
@@ -8,7 +8,7 @@ import {
8
8
  flush,
9
9
  shouldTrack,
10
10
  trackEvent
11
- } from "./chunk-PO7LSMN5.js";
11
+ } from "./chunk-JT2ZGKKB.js";
12
12
  import {
13
13
  redactTelemetryString
14
14
  } from "./chunk-TK7THLRO.js";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-LAGZGKKN.js";
18
18
  import {
19
19
  readConfig
20
- } from "./chunk-BLBMPEBX.js";
20
+ } from "./chunk-BONBJJ35.js";
21
21
  import {
22
22
  CliRuntimeError
23
23
  } from "./chunk-66W5IWLO.js";