hyperframes 0.8.140 → 0.8.141

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 (149) hide show
  1. package/dist/{add-7SPPQB64.js → add-KH2CF4FD.js} +11 -11
  2. package/dist/{animatedGifPrep-HN3CJSFX.js → animatedGifPrep-QO4BSKR7.js} +5 -5
  3. package/dist/{asset-AZMFUTRL.js → asset-4RDZILVJ.js} +2 -2
  4. package/dist/{assetCataloger-TQUWYLHE.js → assetCataloger-WGR4LYYN.js} +2 -2
  5. package/dist/{auth-XGY74R4A.js → auth-WYQCOYE5.js} +1 -1
  6. package/dist/{autoUpdate-44NTJBQU.js → autoUpdate-PC5TN3NL.js} +2 -2
  7. package/dist/{backgroundChecks-ET4DJEPG.js → backgroundChecks-7M3T44EP.js} +3 -3
  8. package/dist/backgroundChecksWorker.js +3 -3
  9. package/dist/{batchRender-HTWWNF3P.js → batchRender-GOLLOE4V.js} +3 -3
  10. package/dist/{beats-4GYTZUZG.js → beats-XJ7WP6QS.js} +10 -10
  11. package/dist/{benchmark-CJQHE3QN.js → benchmark-HCGFBEZJ.js} +8 -8
  12. package/dist/{browser-NXOVPGDG.js → browser-VQKO2FKG.js} +3 -3
  13. package/dist/{bundleWithLocalizedFonts-6PJP54TC.js → bundleWithLocalizedFonts-FH7PHTTX.js} +2 -2
  14. package/dist/{capture-EHOMO4MP.js → capture-TFZZSF6F.js} +8 -8
  15. package/dist/{capture-5EHGRJZM.js → capture-XD3P3YQR.js} +2 -2
  16. package/dist/{catalog-PTX5Z52R.js → catalog-4S33QWJJ.js} +11 -11
  17. package/dist/{catch-up-I45SPSCU.js → catch-up-RW7YXXNT.js} +4 -4
  18. package/dist/{check-LJ7LG7OI.js → check-XVTRRN4Y.js} +28 -28
  19. package/dist/{checkBrowser-6EK5E4PG.js → checkBrowser-HZXJ2EDU.js} +27 -27
  20. package/dist/{chunk-PFJFHNU3.js → chunk-34TXESM7.js} +3 -3
  21. package/dist/{chunk-6U3MN4HW.js → chunk-35RSNI77.js} +1 -1
  22. package/dist/{chunk-LQG6GPVK.js → chunk-3A5AAPMP.js} +1 -1
  23. package/dist/{chunk-QG3PDRSO.js → chunk-3NBKW2QJ.js} +1 -1
  24. package/dist/{chunk-MTVDXB6S.js → chunk-4BB7V6AI.js} +21 -13
  25. package/dist/{chunk-QP3BRKGF.js → chunk-6E6CM7WS.js} +19 -1
  26. package/dist/{chunk-MU6C2VP6.js → chunk-6IFXWJDX.js} +2 -2
  27. package/dist/{chunk-MHK5DE2P.js → chunk-6Q6FR4KH.js} +22 -14
  28. package/dist/{chunk-R4QIE6UY.js → chunk-7M4KAPAA.js} +92 -31
  29. package/dist/{chunk-JSGANFFH.js → chunk-7XTZVLE6.js} +1 -1
  30. package/dist/{chunk-QBK7WKHT.js → chunk-A7YQNIQT.js} +1 -1
  31. package/dist/{chunk-KMKWRIMC.js → chunk-AVWEIOEN.js} +1 -1
  32. package/dist/{chunk-IRBESGJ7.js → chunk-BM5PX3DJ.js} +1 -1
  33. package/dist/{chunk-WKTHUC2R.js → chunk-E4BSCXMU.js} +1 -1
  34. package/dist/{chunk-TPECLKPA.js → chunk-E6SDW5FV.js} +2 -2
  35. package/dist/{chunk-TYT2TLJR.js → chunk-EKA4ZZBI.js} +1 -1
  36. package/dist/{chunk-IFY57LUW.js → chunk-GS6FE3IW.js} +1 -1
  37. package/dist/{chunk-ASW6NWON.js → chunk-IKVBTDLO.js} +1 -1
  38. package/dist/{chunk-SLEPCESN.js → chunk-INI3TM6I.js} +2 -2
  39. package/dist/{chunk-2GMKWYEH.js → chunk-IO7ZIDRP.js} +9 -9
  40. package/dist/{chunk-F3SPK6SO.js → chunk-IV7EI5E2.js} +1 -1
  41. package/dist/{chunk-DDQ4LOML.js → chunk-IYFKBFTW.js} +1 -1
  42. package/dist/{chunk-PE2I3AFA.js → chunk-J5IPIQU2.js} +1 -1
  43. package/dist/{chunk-L2H2L22P.js → chunk-K2GOFLTX.js} +2 -2
  44. package/dist/{chunk-X3X3VETN.js → chunk-KFH6UD26.js} +3 -3
  45. package/dist/{chunk-VVJFZU6B.js → chunk-L3JSAB4L.js} +2 -2
  46. package/dist/{chunk-BJ5JWOES.js → chunk-N77KD7ZZ.js} +1 -1
  47. package/dist/{chunk-KJLY2SDJ.js → chunk-NORZWWLK.js} +2 -2
  48. package/dist/{chunk-BQKEGPPL.js → chunk-O3SKIXQK.js} +1 -1
  49. package/dist/{chunk-ABJNXQUA.js → chunk-OLDDJS3S.js} +7 -7
  50. package/dist/{chunk-KECV5G4V.js → chunk-P6E4HFFU.js} +9 -9
  51. package/dist/{chunk-5IKJONRY.js → chunk-Q65ZQFF2.js} +1 -1
  52. package/dist/{chunk-WQBA3MH4.js → chunk-R7UDXKI3.js} +2 -2
  53. package/dist/{chunk-C2JUHIG5.js → chunk-RCFCZT5O.js} +1 -1
  54. package/dist/{chunk-PUBKHEEA.js → chunk-RPYPW5NN.js} +9 -9
  55. package/dist/chunk-SYKKFAUW.js +3711 -0
  56. package/dist/{chunk-PB3P4MKP.js → chunk-TC2FBZJZ.js} +1 -1
  57. package/dist/{chunk-MUINFURL.js → chunk-W6HTOVHU.js} +2 -2
  58. package/dist/{chunk-KFQNMY36.js → chunk-XDSOIJC3.js} +5 -5
  59. package/dist/{chunk-DQNOPYAG.js → chunk-XWVGSEUT.js} +1 -1
  60. package/dist/{chunk-PPKFM5WE.js → chunk-YURXPGAM.js} +2 -2
  61. package/dist/{clean-Y3AQITOX.js → clean-L2E4VD57.js} +11 -11
  62. package/dist/cli.js +52 -52
  63. package/dist/{cloud-TDPOMBZF.js → cloud-IDUQRYLO.js} +4 -4
  64. package/dist/{cloudrun-FPAVAVHP.js → cloudrun-R3JXWXGG.js} +3 -3
  65. package/dist/{compare-LHL225ND.js → compare-VYBWSP3Y.js} +22 -22
  66. package/dist/{compiler-RTU3KTLF.js → compiler-ACHWOU5N.js} +2 -2
  67. package/dist/{component-L2YX7J56.js → component-PYYV2V3F.js} +3 -3
  68. package/dist/{compositions-V2UZKG7S.js → compositions-B5GQSXH7.js} +9 -9
  69. package/dist/{delete-OXZEXUQY.js → delete-EAX2U3WI.js} +2 -2
  70. package/dist/{deterministicFonts-GTITFRSJ.js → deterministicFonts-F6WIVL2W.js} +1 -1
  71. package/dist/{dist-N33CM63P.js → dist-ROUDWGLO.js} +8 -2
  72. package/dist/{doctor-MWTPSIVD.js → doctor-PJX7MLFG.js} +7 -7
  73. package/dist/{events-4TZGQZWF.js → events-SBC54MHO.js} +2 -2
  74. package/dist/{events-7VJJGC3D.js → events-YFFXKAQQ.js} +3 -3
  75. package/dist/{feedback-HSGAPVN7.js → feedback-UETLWREV.js} +6 -6
  76. package/dist/{figma-AMC6FAK3.js → figma-QDSJPIRW.js} +3 -3
  77. package/dist/fontLocalizeCli.js +8 -8
  78. package/dist/{get-Y7DFEFYM.js → get-B5TS6C7H.js} +2 -2
  79. package/dist/{gpuPolicy-A45VSUKR.js → gpuPolicy-LYOVBAJP.js} +5 -5
  80. package/dist/{grade-compare-ERSA3OUI.js → grade-compare-LBIHMAUN.js} +22 -22
  81. package/dist/{help-TW2AADLZ.js → help-XBP6A6LT.js} +1 -1
  82. package/dist/{history-DKGDSVWF.js → history-2S42ZXKL.js} +5 -5
  83. package/dist/hyperframe-runtime.js +54 -54
  84. package/dist/hyperframe.manifest.json +1 -1
  85. package/dist/hyperframe.runtime.iife.js +54 -54
  86. package/dist/hyperframes-player.global.js +3 -3
  87. package/dist/{info-I3NRRNX4.js → info-I2VDAWT7.js} +7 -7
  88. package/dist/{init-5Y3ZWZNF.js → init-BGHSDODI.js} +20 -20
  89. package/dist/{inspect-BJQKBB3X.js → inspect-MZK5B5RP.js} +23 -23
  90. package/dist/{installer-27K4JS2I.js → installer-LL4QAKFW.js} +4 -4
  91. package/dist/{keyframes-6V2NZO22.js → keyframes-2EBF7OSS.js} +6 -6
  92. package/dist/{lambda-AIMF3K4A.js → lambda-XKFPAOFE.js} +4 -4
  93. package/dist/{layout-YAPEBTU4.js → layout-TP5ERKEF.js} +23 -23
  94. package/dist/{lint-3LWWUIV7.js → lint-FQ6CEI7E.js} +6 -6
  95. package/dist/{list-NTSGEZJ6.js → list-FRNUJXZ3.js} +2 -2
  96. package/dist/{login-ZTDFGCCW.js → login-C25QU3BQ.js} +4 -4
  97. package/dist/{media-treatment-ARHX446F.js → media-treatment-DCANGWSV.js} +8 -8
  98. package/dist/{models-VHNQVTHG.js → models-GOD6ARB3.js} +6 -6
  99. package/dist/{motionShot-35HCSNCI.js → motionShot-FSKETANX.js} +11 -11
  100. package/dist/{normalize-audio-AUC73JH3.js → normalize-audio-C2IM7OID.js} +4 -4
  101. package/dist/{open-C5LVNU3U.js → open-VVISXIII.js} +4 -4
  102. package/dist/{pipeline-4GDTK54T.js → pipeline-7YHZPYIS.js} +5 -5
  103. package/dist/{play-U7UANF7Z.js → play-DSELK7G3.js} +16 -16
  104. package/dist/{present-X6V6TX3E.js → present-N72YFDKP.js} +12 -12
  105. package/dist/{preview-K43RTRU2.js → preview-XTYN4NJ2.js} +15 -15
  106. package/dist/{producer-PVMFMW23.js → producer-NDCU3MHK.js} +1 -1
  107. package/dist/{projectConfig-PI6MEN2T.js → projectConfig-MH4QU4AC.js} +6 -6
  108. package/dist/{publication-67C7KVTL.js → publication-KUSHI5MG.js} +2 -2
  109. package/dist/{publish-RBV7EAMH.js → publish-3XEEFWMF.js} +7 -7
  110. package/dist/{remove-background-Z2ECZX2Q.js → remove-background-2QKJ7XOD.js} +6 -6
  111. package/dist/{render-YBS3XGRJ.js → render-2DVYTVLQ.js} +18 -18
  112. package/dist/{render-2GQMQBU3.js → render-75E342ZU.js} +3 -3
  113. package/dist/{render-EFU4BZRZ.js → render-S73DW4KK.js} +8 -8
  114. package/dist/{render-batch-QC64OTB5.js → render-batch-YURBS54Q.js} +3 -3
  115. package/dist/{renderCancellation-NTVU7IMB.js → renderCancellation-373ASJTO.js} +5 -5
  116. package/dist/{resolver-GBWYG3EI.js → resolver-FE3GBZ4T.js} +4 -4
  117. package/dist/{sherpa-ZW6PWJS4.js → sherpa-B2D3AGP6.js} +6 -6
  118. package/dist/skills/media-use/SKILL.md +6 -4
  119. package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +47 -4
  120. package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +125 -18
  121. package/dist/skills/media-use/references/setup-providers.md +13 -0
  122. package/dist/{skills-VKZAX5AS.js → skills-ICJ22CZZ.js} +5 -5
  123. package/dist/{skillsUpdateCheck-PAY2OPDE.js → skillsUpdateCheck-GXZN56I5.js} +3 -3
  124. package/dist/{snapshot-SD5R3NWX.js → snapshot-XHKOAWF4.js} +23 -23
  125. package/dist/{src-RXTXL3VL.js → src-74PFDTDX.js} +7 -7
  126. package/dist/{src-7SSERHNP.js → src-I7UC3JTL.js} +4 -4
  127. package/dist/{staticProjectServer-XELJXX4J.js → staticProjectServer-2DGKD6TF.js} +12 -12
  128. package/dist/studio/assets/hyperframes-player-5Vx2AiUz.js +473 -0
  129. package/dist/studio/assets/{index-CWfuDCoA.js → index-BAnh7cSQ.js} +1 -1
  130. package/dist/studio/assets/{index-VAHDM_zL.js → index-C0thd4eM.js} +114 -114
  131. package/dist/studio/assets/{index-Dr3Bo9uH.js → index-P8fgj_Xa.js} +1 -1
  132. package/dist/studio/index.html +1 -1
  133. package/dist/studio/index.js +20 -0
  134. package/dist/studio/index.js.map +1 -1
  135. package/dist/{studio-api-4FNUZPJ4.js → studio-api-PROBO7JG.js} +6 -6
  136. package/dist/{studioServer-GHLL3F2M.js → studioServer-ID6UV2NE.js} +34 -34
  137. package/dist/{telemetry-7AO77PMH.js → telemetry-65LFHIWH.js} +3 -3
  138. package/dist/{timeline-6LTHSRXM.js → timeline-6UV3JJXD.js} +12 -12
  139. package/dist/{tokens-K6B46KNL.js → tokens-HIL4TZXI.js} +2 -2
  140. package/dist/{transcribe-CLLISRLZ.js → transcribe-TIO6W3EQ.js} +6 -6
  141. package/dist/{transcribe-K2OU6FZF.js → transcribe-V7F6QDSN.js} +6 -6
  142. package/dist/{updateCheck-X6UQBS6I.js → updateCheck-GZELANMA.js} +2 -2
  143. package/dist/{upgrade-BZFKEADI.js → upgrade-BX3KDDZJ.js} +2 -2
  144. package/dist/{urlDownloader-VAVUXYEQ.js → urlDownloader-R76OHFIE.js} +4 -4
  145. package/dist/{validate-VO5KEXWN.js → validate-7UX4I443.js} +14 -14
  146. package/dist/{video-JV6Y4UJR.js → video-RVGYEFQU.js} +5 -5
  147. package/package.json +1 -1
  148. package/dist/chunk-B3I3XJ47.js +0 -3711
  149. package/dist/studio/assets/hyperframes-player-BLuyxnK7.js +0 -473
@@ -1 +1 @@
1
- import{g as P}from"./index-VAHDM_zL.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var g=e[o+x]-t,_=r.some(function(h){if(h.interval===g)return h.count+=1});_||r.push({interval:g,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
1
+ import{m as P}from"./index-C0thd4eM.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},m;function k(){if(m)return v;m=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var h=e[o+x]-t,_=r.some(function(g){if(g.interval===h)return g.count+=1});_||r.push({interval:h,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,w;function q(){return w||(w=1,p=k().default),p}var b=q();const A=P(b),D=j({__proto__:null,default:A},[b]);export{D as i};
@@ -14,7 +14,7 @@
14
14
  document.documentElement.dataset.theme = "paper";
15
15
  }
16
16
  </script>
17
- <script type="module" crossorigin src="/assets/index-VAHDM_zL.js"></script>
17
+ <script type="module" crossorigin src="/assets/index-C0thd4eM.js"></script>
18
18
  <link rel="stylesheet" crossorigin href="/assets/index-CVd4O6eH.css">
19
19
  </head>
20
20
  <body>
@@ -29270,6 +29270,7 @@ import { createRuntimeStartTimeResolver } from "@hyperframes/core/runtime/start-
29270
29270
 
29271
29271
  // src/player/lib/runtimeProtocol.ts
29272
29272
  import {
29273
+ frameDisplayScale,
29273
29274
  inspectRuntimeProtocol,
29274
29275
  runtimeProtocolMetadata
29275
29276
  } from "@hyperframes/core/runtime/protocol";
@@ -29285,6 +29286,10 @@ function createRuntimeControlMessage(action, payload = {}, fps = 30) {
29285
29286
  function postRuntimeControlMessage(target, action, payload = {}, fps = 30) {
29286
29287
  target?.postMessage(createRuntimeControlMessage(action, payload, fps), "*");
29287
29288
  }
29289
+ function postFrameDisplayScale(iframe) {
29290
+ const scale = iframe && frameDisplayScale(iframe);
29291
+ if (scale) postRuntimeControlMessage(iframe.contentWindow, "set-display-scale", { scale });
29292
+ }
29288
29293
  function inspectStudioRuntimeMessage(value) {
29289
29294
  return inspectRuntimeProtocol(value, 30);
29290
29295
  }
@@ -33686,6 +33691,7 @@ var NLEPreview = memo23(function NLEPreview2({
33686
33691
  const hintHeight = compositionSizeHint?.height;
33687
33692
  const zoomRef = useRef54(DEFAULT_PREVIEW_ZOOM);
33688
33693
  const [settledZoom, setSettledZoom] = useState40(DEFAULT_PREVIEW_ZOOM);
33694
+ useEffect39(() => postFrameDisplayScale(previewIframeRef.current), [settledZoom]);
33689
33695
  const hudRef = useRef54(null);
33690
33696
  const hudTimerRef = useRef54(null);
33691
33697
  const settleTimerRef = useRef54(null);
@@ -93509,6 +93515,20 @@ function CompCard({
93509
93515
  useEffect144(() => {
93510
93516
  if (hovered) requestIframePlaybackSync(true);
93511
93517
  }, [hovered, requestIframePlaybackSync]);
93518
+ useEffect144(() => {
93519
+ if (livePreviewLoaded) postFrameDisplayScale(iframeRef.current);
93520
+ }, [livePreviewLoaded, previewScale]);
93521
+ useEffect144(() => {
93522
+ if (!hovered) return;
93523
+ const onRuntimeReady = (event) => {
93524
+ const frame3 = iframeRef.current;
93525
+ if (frame3 && event.source === frame3.contentWindow && event.data?.type === "ready") {
93526
+ postFrameDisplayScale(frame3);
93527
+ }
93528
+ };
93529
+ window.addEventListener("message", onRuntimeReady);
93530
+ return () => window.removeEventListener("message", onRuntimeReady);
93531
+ }, [hovered]);
93512
93532
  useEffect144(() => {
93513
93533
  return () => {
93514
93534
  if (hoverTimer.current) clearTimeout(hoverTimer.current);