hyperframes 0.9.2 → 0.9.4
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.
- package/dist/{add-K34NTQUM.js → add-KGLQRDOR.js} +12 -12
- package/dist/{agentPromptGenerator-ABZXT2DG.js → agentPromptGenerator-43OTO3ZQ.js} +6 -6
- package/dist/{animatedGifPrep-BFCUE2OG.js → animatedGifPrep-AELBI6OZ.js} +6 -6
- package/dist/api.js +19 -19
- package/dist/{asset-N4FCNZBO.js → asset-IDDA6YDA.js} +2 -2
- package/dist/{assetCataloger-UNVAPKMB.js → assetCataloger-3ODHJX74.js} +7 -7
- package/dist/{audio-GFQLYAT3.js → audio-YL5WE2ZH.js} +14 -14
- package/dist/{auth-S5HVZNXK.js → auth-73AQ4C6J.js} +1 -1
- package/dist/{autoUpdate-YYOXDXX7.js → autoUpdate-PRACQEE2.js} +2 -2
- package/dist/{backgroundChecks-DI5BL2IR.js → backgroundChecks-GF7DD3CT.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-V7SJ7QV4.js → batchRender-PHXZBVEA.js} +3 -3
- package/dist/{beats-FJSQDYDJ.js → beats-RIYL6FAW.js} +8 -8
- package/dist/{benchmark-ACNM4VKJ.js → benchmark-ZXWBR4Q2.js} +8 -8
- package/dist/{browser-D7RYNET2.js → browser-RQVUIRKR.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-WDBGONSG.js → bundleWithLocalizedFonts-U23CIGZT.js} +2 -2
- package/dist/{capture-TMDIPBXV.js → capture-DKLV3MKZ.js} +3 -3
- package/dist/{capture-2LP2DCGQ.js → capture-XLIZO7S4.js} +11 -11
- package/dist/{captureCompositionFrame-YEW3K6EX.js → captureCompositionFrame-IDLA33HO.js} +11 -11
- package/dist/{catalog-54GO4FUG.js → catalog-GCEMAJ2A.js} +12 -12
- package/dist/{catch-up-LAP5H7JB.js → catch-up-JGEVDQYE.js} +4 -4
- package/dist/{check-S7WUPOM7.js → check-UFFVDSOH.js} +39 -39
- package/dist/{checkAudio-FKUIUYLS.js → checkAudio-AJHD4QXP.js} +9 -9
- package/dist/{checkBrowser-PJBUYHRK.js → checkBrowser-HZPWQLY6.js} +32 -32
- package/dist/{chunk-ESDUMAS6.js → chunk-2RLI5ISA.js} +3 -3
- package/dist/chunk-2YQ2XYO5.js +5030 -0
- package/dist/{chunk-3V2HKZ22.js → chunk-5NWS6KLM.js} +2 -2
- package/dist/{chunk-FQYN2EXP.js → chunk-5PKNT2BQ.js} +3 -3
- package/dist/{chunk-OTDYARS3.js → chunk-5T2D2XYR.js} +1 -1
- package/dist/{chunk-4WW6TQFT.js → chunk-65ERKMRH.js} +1 -1
- package/dist/{chunk-PK6V3AT7.js → chunk-6LDW4TLQ.js} +2 -2
- package/dist/{chunk-EBYGGFC2.js → chunk-6OBVJUMS.js} +5 -5
- package/dist/{chunk-BWIUYPZK.js → chunk-6U4EV64B.js} +47 -30
- package/dist/{chunk-ZEZ4O6HN.js → chunk-7SYZRT4L.js} +1 -1
- package/dist/{chunk-PLW2GDZA.js → chunk-7UVXHPVS.js} +3 -3
- package/dist/{chunk-QCLTC2KT.js → chunk-A2PZLDHN.js} +1 -1
- package/dist/{chunk-Z3BY5BW4.js → chunk-AQW3ZDDM.js} +5 -5
- package/dist/{chunk-6I4FTULM.js → chunk-AVJDYPVP.js} +1 -1
- package/dist/{chunk-ZFQSXMX6.js → chunk-BGHKFD3T.js} +1 -1
- package/dist/{chunk-B2GWZ7GS.js → chunk-BXE6GDIL.js} +1 -1
- package/dist/{chunk-TDFT5UMG.js → chunk-C3OOOE6D.js} +1 -1
- package/dist/{chunk-KPIS4EHC.js → chunk-CPXT5NUE.js} +1 -1
- package/dist/{chunk-JCQ2DAJI.js → chunk-CQL77BAS.js} +2 -2
- package/dist/{chunk-LGCRKXZW.js → chunk-CS6UO5NC.js} +1 -1
- package/dist/{chunk-T3RPG2A4.js → chunk-DAF2SYII.js} +2 -2
- package/dist/{chunk-2BJBCWDT.js → chunk-DRXVRDUX.js} +1 -1
- package/dist/{chunk-DKENTPM2.js → chunk-DUZII3C4.js} +2 -2
- package/dist/{chunk-6H4YQGJG.js → chunk-EOVTVB5X.js} +14 -13
- package/dist/{chunk-G2ZPSSP4.js → chunk-EYYILEMR.js} +2 -2
- package/dist/{chunk-YEH3XUEN.js → chunk-F4LQGW5F.js} +13 -13
- package/dist/{chunk-HCWS5RUM.js → chunk-FI7SOWBQ.js} +1 -1
- package/dist/{chunk-YIA6B4Z6.js → chunk-G5X2YP75.js} +3 -3
- package/dist/{chunk-6JMZXMZX.js → chunk-GS4C2FNZ.js} +1 -1
- package/dist/{chunk-XCKYPT3Y.js → chunk-H7KAHDJJ.js} +7 -4
- package/dist/{chunk-TOR5RW6T.js → chunk-HVWZ5V2N.js} +2 -2
- package/dist/{chunk-HM4AWTSN.js → chunk-HWIGWPIG.js} +1 -1
- package/dist/{chunk-A7HPOUHS.js → chunk-HZMM3D6P.js} +2 -2
- package/dist/{chunk-ITW64FMK.js → chunk-IIBNGLEX.js} +3 -3
- package/dist/{chunk-4SPVBLY5.js → chunk-K3AKRESE.js} +2 -2
- package/dist/{chunk-Z3WXEVEX.js → chunk-KBKDDTOZ.js} +7 -7
- package/dist/{chunk-YRYDGYMD.js → chunk-KW2ZREKY.js} +1 -1
- package/dist/{chunk-GMMPMBFA.js → chunk-KXU3FDXG.js} +1 -1
- package/dist/{chunk-XHSL2MLZ.js → chunk-LBETJASR.js} +4 -4
- package/dist/{chunk-6NVTY4QS.js → chunk-LSFXDBHZ.js} +3 -3
- package/dist/{chunk-UNUKLVLK.js → chunk-MYTROPEC.js} +2 -2
- package/dist/{chunk-GFD2HHF2.js → chunk-NASVSJQK.js} +1 -0
- package/dist/{chunk-VTHAKD22.js → chunk-NYQRWXZZ.js} +1 -1
- package/dist/{chunk-IDH5BHNO.js → chunk-OKMXRVAN.js} +1 -1
- package/dist/{chunk-XOWUOJ6H.js → chunk-OOGTMIN4.js} +1 -1
- package/dist/{chunk-WXALNAFF.js → chunk-Q4PFOT6Z.js} +2 -5
- package/dist/{chunk-U6NYCMK4.js → chunk-QAB2ZMFL.js} +3 -3
- package/dist/{chunk-ZJAXF7C2.js → chunk-QT7F5JKP.js} +2 -2
- package/dist/{chunk-KGKWZ2PC.js → chunk-R4KSPN37.js} +19 -19
- package/dist/{chunk-CW7W6SO2.js → chunk-R5XOR2IO.js} +1 -1
- package/dist/{chunk-5FKMDLL7.js → chunk-RDE3O5OK.js} +1 -1
- package/dist/{chunk-D6CL6G7B.js → chunk-RISL4HHS.js} +9 -9
- package/dist/{chunk-77LPFLXQ.js → chunk-SEFLUI7L.js} +1 -1
- package/dist/{chunk-MEIKHVOM.js → chunk-SGTO3Y2K.js} +3 -3
- package/dist/{chunk-V6GUHJ7E.js → chunk-SXGR4GCO.js} +2 -2
- package/dist/{chunk-LTZL4TFM.js → chunk-SYHDFH34.js} +50 -3
- package/dist/{chunk-3NMJ45TV.js → chunk-T46SP3UD.js} +2 -2
- package/dist/{chunk-J4YRATEJ.js → chunk-T6NMZNAE.js} +2 -2
- package/dist/{chunk-WYKRGEDD.js → chunk-TABWG4IT.js} +8 -1
- package/dist/{chunk-W2ENFHUA.js → chunk-TGX5AWVQ.js} +11 -8
- package/dist/{chunk-RCW2KVIT.js → chunk-TLYTMIXP.js} +13 -13
- package/dist/{chunk-ZIMQHOER.js → chunk-U7DQYDRQ.js} +1 -1
- package/dist/{chunk-QNZZB5Y5.js → chunk-UWNLBTFA.js} +1 -1
- package/dist/{chunk-TC6PBV6X.js → chunk-VBR3OBZU.js} +9 -9
- package/dist/{chunk-G6OKQMJI.js → chunk-VEIGTKYZ.js} +10 -1
- package/dist/{chunk-M4USYPD5.js → chunk-VGARKT5Y.js} +2 -2
- package/dist/{chunk-PFZDLHDS.js → chunk-VGIEM4JZ.js} +1 -1
- package/dist/{chunk-P7YYC2LQ.js → chunk-VSDUDDHB.js} +7 -7
- package/dist/{chunk-A5MIAHTC.js → chunk-VUGARSNN.js} +1 -1
- package/dist/{chunk-Y3RDZOEB.js → chunk-VVPDROQU.js} +47 -13
- package/dist/{chunk-5E3XDZDT.js → chunk-W6NEVGAE.js} +1 -1
- package/dist/{chunk-WANY2GAM.js → chunk-WRIA42TA.js} +1 -1
- package/dist/{chunk-RONQ4XLB.js → chunk-XHLPTVXH.js} +1 -1
- package/dist/{chunk-DJF2O4BP.js → chunk-XZ2DZYFD.js} +1 -1
- package/dist/{chunk-HKFKAI54.js → chunk-Y5PWLNW3.js} +1 -1
- package/dist/{chunk-Q2SE2LUT.js → chunk-YBFS5PCE.js} +1 -1
- package/dist/{chunk-H5KZZTJV.js → chunk-YL6X26WT.js} +1 -1
- package/dist/{chunk-AF23ACYM.js → chunk-ZDBN76JQ.js} +1 -1
- package/dist/{chunk-3VQJAAAN.js → chunk-ZXD4YXXC.js} +2 -2
- package/dist/{clean-Y366JHQ6.js → clean-T7DQNAR2.js} +17 -17
- package/dist/cli.js +62 -60
- package/dist/{cloud-Q3AAFX34.js → cloud-S4DTHZEW.js} +4 -4
- package/dist/{cloudrun-LOJEWIV2.js → cloudrun-TWSNNKIV.js} +4 -4
- package/dist/{compare-INWN5AAL.js → compare-UZS33RAM.js} +29 -29
- package/dist/{compiler-UD7DGV6O.js → compiler-SKQTN3EA.js} +3 -3
- package/dist/{component-Z2B24QQC.js → component-RHX4425M.js} +3 -3
- package/dist/{compositions-EQMN4QLS.js → compositions-PE5F4Z6K.js} +10 -10
- package/dist/{curve-QOBLRQEF.js → curve-NFVM6GS3.js} +10 -10
- package/dist/{cuts-D2WGO2T5.js → cuts-EKHMAUOZ.js} +11 -11
- package/dist/{delete-NSGIQDD2.js → delete-IQQLQS7T.js} +2 -2
- package/dist/{deploy-5B7YZR5C.js → deploy-GG24Q4EE.js} +1 -1
- package/dist/{describeProject-PBGCJ3BD.js → describeProject-DCUVSIOQ.js} +7 -7
- package/dist/{diff-4IFTYKMH.js → diff-IQVYEYA3.js} +22 -22
- package/dist/{dist-SGTEDHYW.js → dist-4KKPG6A5.js} +2 -2
- package/dist/{dist-YZJ25VQL.js → dist-IHPMKRYN.js} +1 -1
- package/dist/{doctor-UZQABYZ6.js → doctor-BEFL6PWV.js} +10 -10
- package/dist/{energy-LCDKLVTV.js → energy-LZY5CQVP.js} +11 -11
- package/dist/{events-WD6WY2R4.js → events-C335VVXI.js} +12 -12
- package/dist/{events-5PSQKR3R.js → events-VSDE4FFW.js} +3 -3
- package/dist/{events-RIVVJHMU.js → events-Z4I2YBA4.js} +2 -2
- package/dist/{extract-QITFWIOP.js → extract-N4KV7KUQ.js} +11 -11
- package/dist/{face-MBJBFREV.js → face-DCKACTUC.js} +11 -11
- package/dist/{feedback-X6N4QTYA.js → feedback-FQ2P62K7.js} +6 -6
- package/dist/{ffmpeg-LA4ZCLCV.js → ffmpeg-HYYU3M6K.js} +6 -6
- package/dist/{figma-YZOHJZFG.js → figma-JWZLYFMJ.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{frames-5SDBCMIQ.js → frames-Z6ATQUGJ.js} +12 -12
- package/dist/{generate-GVLXGQ5Y.js → generate-FHVQMXVB.js} +13 -13
- package/dist/{get-R36LD4W2.js → get-FBUXTOJS.js} +2 -2
- package/dist/{gpuPolicy-DFMP4HEQ.js → gpuPolicy-MNPLXHRJ.js} +6 -6
- package/dist/{grade-compare-TVIGG7F7.js → grade-compare-ELKVVO7W.js} +30 -30
- package/dist/{heifImagePrep-YDEAQIIV.js → heifImagePrep-ALPO36IR.js} +7 -7
- package/dist/{help-G3YVZOBB.js → help-JHGASQ27.js} +1 -1
- package/dist/{history-PAX57GA7.js → history-R3MGVTZ2.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +70 -70
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-I24SSKKQ.js → info-G4NZMSC5.js} +7 -7
- package/dist/{init-QZH3T6TC.js → init-DS4YZTWE.js} +27 -27
- package/dist/{ink-D54IVD27.js → ink-6KESLHVK.js} +11 -11
- package/dist/{inspect-PAQXGKDJ.js → inspect-T3YH6Y7Z.js} +30 -30
- package/dist/{installer-NEYRPK2H.js → installer-YVNEAOSW.js} +4 -4
- package/dist/{keyframes-BCU2DQ3O.js → keyframes-6QMTPUAB.js} +6 -6
- package/dist/{lambda-VUGQW3M6.js → lambda-PVKMQ5RR.js} +10 -10
- package/dist/{layout-AC4VRU7B.js → layout-ZNH7EW6L.js} +30 -30
- package/dist/{lint-UBFSY7AU.js → lint-FF7YK3QK.js} +7 -7
- package/dist/{lintProject-JCKFNQZM.js → lintProject-SG4KRUAV.js} +1 -1
- package/dist/{list-AZZXVAJQ.js → list-TJTH6NN6.js} +2 -2
- package/dist/{localPage-SOHTM3OB.js → localPage-TUWJD4GJ.js} +6 -6
- package/dist/{login-VC24OTCT.js → login-3GRKVAMH.js} +4 -4
- package/dist/{look-XW25KCO4.js → look-5ZFSZPPB.js} +11 -11
- package/dist/{manager-45EWY67S.js → manager-POO6RLB4.js} +7 -7
- package/dist/{measure-HCBUYO3W.js → measure-OYR7XHOE.js} +11 -11
- package/dist/{media-treatment-ZPGU433S.js → media-treatment-PJ3NZ2PR.js} +12 -12
- package/dist/{media-use-W2BDLMNM.js → media-use-PQUFJ2ZJ.js} +1 -1
- package/dist/{models-OHKLE7DI.js → models-RCJQAORM.js} +10 -10
- package/dist/{motionShot-6LE7X2IP.js → motionShot-2UAWH6B2.js} +14 -14
- package/dist/{normalize-audio-JJYUYVYI.js → normalize-audio-ESIM3KEX.js} +8 -8
- package/dist/{open-UD3PXGL2.js → open-A3DRPHEK.js} +12 -12
- package/dist/{parakeetRunner-XMMDRK3F.js → parakeetRunner-W2EYPYLF.js} +11 -11
- package/dist/{pipeline-XW6M6IZF.js → pipeline-KIFB5R5M.js} +9 -9
- package/dist/{play-SVKC524U.js → play-26X5I67T.js} +21 -21
- package/dist/{preflight-NVGMHMPQ.js → preflight-RF5UZJUA.js} +7 -7
- package/dist/{present-HPD5XHCB.js → present-7IFGQBVD.js} +16 -16
- package/dist/{preview-IGF7Y6NR.js → preview-IAMB4ULR.js} +18 -18
- package/dist/{probe-R2SDIF43.js → probe-EZS36TUR.js} +10 -10
- package/dist/{producer-23GOZN56.js → producer-6NKNMOIT.js} +1 -1
- package/dist/{projectConfig-CYHIE764.js → projectConfig-MYKQOOIG.js} +7 -7
- package/dist/{publication-2ZND75C7.js → publication-BS2YATIF.js} +2 -2
- package/dist/{publish-6WDXRN6Y.js → publish-3BUTNKVA.js} +10 -10
- package/dist/{remove-background-H7TXALTY.js → remove-background-PEJXPBJA.js} +10 -10
- package/dist/{render-QOQDZWUB.js → render-3FANM5MO.js} +5 -5
- package/dist/{render-WI5NBJ37.js → render-HGGE5CBB.js} +33 -33
- package/dist/{render-CKUAI3KF.js → render-W72TDIHA.js} +15 -15
- package/dist/{render-batch-PBPZZBNM.js → render-batch-DPWJHKFY.js} +5 -5
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-UBSPM52W.js → resolver-5IXI5IFJ.js} +5 -5
- package/dist/{sherpa-VTKR4HNT.js → sherpa-4GLU4QU7.js} +10 -10
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/skill-lifecycle.md +1 -1
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/skills/media-use/references/heygen.md +4 -4
- package/dist/{skills-VFVTKRYY.js → skills-3IEY3EGH.js} +5 -5
- package/dist/{skillsUpdateCheck-GJGECNLE.js → skillsUpdateCheck-6HQLY6GT.js} +3 -3
- package/dist/{snapshot-5TWJ2ND5.js → snapshot-UNRFRCCW.js} +48 -37
- package/dist/{src-HIUZ53LU.js → src-FT34LZAJ.js} +9 -9
- package/dist/{src-A4REARXU.js → src-VWCIVPJX.js} +5 -5
- package/dist/{staticProjectServer-X7ZFXDJC.js → staticProjectServer-WFK4N6P3.js} +19 -19
- package/dist/studio/assets/{hyperframes-player-ZrazkISK.js → hyperframes-player--MmARLPY.js} +3 -3
- package/dist/studio/assets/{index-DVDkDAQX.js → index-EB7sh_Tw.js} +1 -1
- package/dist/studio/assets/{index-ZDVj-MKT.js → index-h1lPtzPa.js} +156 -156
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-P6H6OYZV.js → studio-api-OTNMLH4B.js} +17 -10
- package/dist/{studioServer-G23M24ME.js → studioServer-3CHSYLFZ.js} +49 -49
- package/dist/{sync-MF5MTRRV.js → sync-2IZJ7HAC.js} +11 -11
- package/dist/{telemetry-HBXGTSK4.js → telemetry-DHLLX5EC.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +1 -0
- package/dist/templates/_shared/CLAUDE.md +1 -0
- package/dist/{timeline-OVRKD33S.js → timeline-TK4RV66K.js} +20 -20
- package/dist/{tokens-A7D7USA2.js → tokens-PV67HFRX.js} +2 -2
- package/dist/{transcribe-5PVMVZO6.js → transcribe-5HXQG64W.js} +17 -17
- package/dist/{transcribe-OWNBJY2C.js → transcribe-HJ3AWR2D.js} +9 -9
- package/dist/{updateCheck-ALIWNBLS.js → updateCheck-EI4WIVIS.js} +2 -2
- package/dist/{upgrade-7IZFKO5U.js → upgrade-ADM4CRK4.js} +2 -2
- package/dist/{urlDownloader-2QAXBCS2.js → urlDownloader-6TM5CH5Q.js} +5 -5
- package/dist/{validate-3XR6ARJP.js → validate-K27UCOGM.js} +23 -23
- package/dist/{video-SB2SVFOD.js → video-KAN4FULD.js} +7 -7
- package/dist/warmCheck.js +39 -39
- package/package.json +1 -1
- package/dist/chunk-IMLAMNOI.js +0 -5030
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-R5XOR2IO.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TGX5AWVQ.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VBR3OBZU.js";
|
|
23
23
|
import {
|
|
24
24
|
gotoWhenSent
|
|
25
25
|
} from "./chunk-RXFKSZN2.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G5X2YP75.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-CQL77BAS.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-
|
|
45
|
+
} from "./chunk-7SYZRT4L.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-
|
|
712
|
+
const { bundleToSingleHtml } = await import("./compiler-SKQTN3EA.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-
|
|
731
|
+
const { buildChromeArgs } = await import("./src-VWCIVPJX.js");
|
|
732
732
|
const {
|
|
733
733
|
assertWebGpuAdapterAvailable,
|
|
734
734
|
compositionRequiresWebGpu,
|
|
735
735
|
resolveLocalBrowserGpuMode,
|
|
736
736
|
resolveLocalWebGpu
|
|
737
|
-
} = await import("./gpuPolicy-
|
|
737
|
+
} = await import("./gpuPolicy-MNPLXHRJ.js");
|
|
738
738
|
const html = await bundleProjectHtml(projectDir);
|
|
739
739
|
const server = await serveStaticProjectHtml(
|
|
740
740
|
projectDir,
|
|
@@ -20,13 +20,13 @@ import {
|
|
|
20
20
|
findFFmpeg,
|
|
21
21
|
findFFprobe,
|
|
22
22
|
getFFmpegInstallHint
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-GS4C2FNZ.js";
|
|
24
24
|
import {
|
|
25
25
|
formatBytes
|
|
26
26
|
} from "./chunk-5LOZWO2M.js";
|
|
27
27
|
import {
|
|
28
28
|
parseAnimatedGifMetadata
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-HWIGWPIG.js";
|
|
30
30
|
import {
|
|
31
31
|
cleanAssetUrl,
|
|
32
32
|
isRemoteOrInlineUrl,
|
|
@@ -543,7 +543,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
543
543
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
544
544
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
545
545
|
if (!sourceAssets) return;
|
|
546
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
546
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-FT34LZAJ.js")).prepareAnimatedGifInputs;
|
|
547
547
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
548
548
|
ctx.tempFiles.push(outputDir);
|
|
549
549
|
const result = await prep(html, {
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YBFS5PCE.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-IIBNGLEX.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-WTUIK6Y4.js";
|
|
10
10
|
import {
|
|
11
11
|
Fix
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KXU3FDXG.js";
|
|
13
13
|
import {
|
|
14
14
|
refreshIfNeeded,
|
|
15
15
|
resolveCloudAuthHeaders,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
// src/heygen/v3.ts
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { appendFileSync, existsSync, mkdirSync, readFileSync } from "fs";
|
|
30
|
-
import { join } from "path";
|
|
30
|
+
import { dirname, join } from "path";
|
|
31
31
|
var RUNNING = /* @__PURE__ */ new Set(["pending", "processing", "queued", "running", "waiting", "in_progress"]);
|
|
32
32
|
var isRecord = (v) => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
33
33
|
function idempotencyKey(route, parts) {
|
|
@@ -198,8 +198,55 @@ async function runJob(route, body, key, pollRoute, opts = {}) {
|
|
|
198
198
|
}
|
|
199
199
|
return job;
|
|
200
200
|
}
|
|
201
|
+
var isVoice = (v) => isRecord(v) && typeof v.voice_id === "string" && typeof v.name === "string";
|
|
202
|
+
async function publicVoices(language, limit) {
|
|
203
|
+
const headers = {
|
|
204
|
+
...await resolveCloudAuthHeaders().catch(noSignIn),
|
|
205
|
+
accept: "application/json"
|
|
206
|
+
};
|
|
207
|
+
const query = new URLSearchParams({ type: "public", language, limit: String(limit) });
|
|
208
|
+
const res = await fetch(`${resolveCloudBaseUrl()}/v3/voices?${query}`, {
|
|
209
|
+
headers,
|
|
210
|
+
signal: AbortSignal.timeout(3e4)
|
|
211
|
+
}).catch((err) => {
|
|
212
|
+
throw new Fix(
|
|
213
|
+
`no answer from HeyGen for its voices (${err instanceof Error ? err.message : String(err)})`,
|
|
214
|
+
"run the same command again"
|
|
215
|
+
);
|
|
216
|
+
});
|
|
217
|
+
const value = await res.json().catch(() => null);
|
|
218
|
+
if (!res.ok || !isRecord(value) || !Array.isArray(value.data))
|
|
219
|
+
throw new Fix(`HeyGen ${res.status} listing its voices`, "run the same command again");
|
|
220
|
+
return value.data.filter(isVoice).map(({ voice_id, name, language: language2, gender }) => ({ voice_id, name, language: language2, gender }));
|
|
221
|
+
}
|
|
222
|
+
async function senderScope() {
|
|
223
|
+
return (await jobSender()).scope;
|
|
224
|
+
}
|
|
225
|
+
var picksFile = (projectDir) => projectDir ? join(projectDir, ".hyperframes", "heygen-jobs.jsonl") : join(configDir(), "heygen-voice-picks.jsonl");
|
|
226
|
+
function keptVoice(projectDir, request) {
|
|
227
|
+
const file = picksFile(projectDir);
|
|
228
|
+
if (!existsSync(file)) return void 0;
|
|
229
|
+
for (const line of readFileSync(file, "utf8").split("\n")) {
|
|
230
|
+
const entry = line ? JSON.parse(line) : null;
|
|
231
|
+
if (isRecord(entry) && entry.voice_pick === request && isVoice(entry.voice)) return entry.voice;
|
|
232
|
+
}
|
|
233
|
+
return void 0;
|
|
234
|
+
}
|
|
235
|
+
function keepVoice(projectDir, request, voice) {
|
|
236
|
+
const file = picksFile(projectDir);
|
|
237
|
+
mkdirSync(dirname(file), { recursive: true });
|
|
238
|
+
appendFileSync(
|
|
239
|
+
file,
|
|
240
|
+
`${JSON.stringify({ at: (/* @__PURE__ */ new Date()).toISOString(), voice_pick: request, voice })}
|
|
241
|
+
`
|
|
242
|
+
);
|
|
243
|
+
}
|
|
201
244
|
|
|
202
245
|
export {
|
|
203
246
|
idempotencyKey,
|
|
204
|
-
runJob
|
|
247
|
+
runJob,
|
|
248
|
+
publicVoices,
|
|
249
|
+
senderScope,
|
|
250
|
+
keptVoice,
|
|
251
|
+
keepVoice
|
|
205
252
|
};
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CS6UO5NC.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HWIGWPIG.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EYYILEMR.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IIBNGLEX.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-YWRUQ7XZ.js";
|
|
@@ -6,6 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/utils/didYouMean.ts
|
|
9
|
+
import { existsSync } from "fs";
|
|
9
10
|
function editDistance(a, b) {
|
|
10
11
|
let previous = Array.from({ length: b.length + 1 }, (_, i) => i);
|
|
11
12
|
for (let i = 1; i <= a.length; i++) {
|
|
@@ -54,9 +55,15 @@ function synonymMatch(input, candidates) {
|
|
|
54
55
|
const target = COMMAND_SYNONYMS[input];
|
|
55
56
|
return target !== void 0 && [...candidates].includes(target) ? target : void 0;
|
|
56
57
|
}
|
|
58
|
+
function fileHint(word, path, names) {
|
|
59
|
+
if (path.length === 0 || names.length === 0 || !existsSync(word)) return void 0;
|
|
60
|
+
const group = ["hyperframes", ...path].join(" ");
|
|
61
|
+
return `'${word}' is a file; name a command first: '${group} <${names.join("|")}> ${word}'.`;
|
|
62
|
+
}
|
|
57
63
|
|
|
58
64
|
export {
|
|
59
65
|
closestMatch,
|
|
60
66
|
closestNames,
|
|
61
|
-
synonymMatch
|
|
67
|
+
synonymMatch,
|
|
68
|
+
fileHint
|
|
62
69
|
};
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6U4EV64B.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,23 +18,26 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T46SP3UD.js";
|
|
22
22
|
import {
|
|
23
23
|
findStageProxyBox
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KW2ZREKY.js";
|
|
25
25
|
import {
|
|
26
26
|
resolveAutoProxy
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OKMXRVAN.js";
|
|
28
|
+
import {
|
|
29
|
+
openRangeEnd
|
|
30
|
+
} from "./chunk-VEIGTKYZ.js";
|
|
28
31
|
import {
|
|
29
32
|
listenOnBrowserSafePort
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IIBNGLEX.js";
|
|
31
34
|
import {
|
|
32
35
|
stripSdrPngColourTags
|
|
33
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HZMM3D6P.js";
|
|
34
37
|
import {
|
|
35
38
|
PREVIEW_PROXY_BOX_PARAM,
|
|
36
39
|
parsePreviewProxyBox
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HWIGWPIG.js";
|
|
38
41
|
import {
|
|
39
42
|
decodeWellFormedEscapes
|
|
40
43
|
} from "./chunk-C2KEGBR3.js";
|
|
@@ -122,7 +125,7 @@ function serveFileWithRange(filePath, rangeHeader, res, contentType = getMimeTyp
|
|
|
122
125
|
if (match) {
|
|
123
126
|
const hasStart = match[1] !== "";
|
|
124
127
|
start = hasStart ? Number(match[1]) : Math.max(0, size - Number(match[2]));
|
|
125
|
-
end = !hasStart ? last : match[2] !== "" ? Math.min(Number(match[2]), last) : last;
|
|
128
|
+
end = !hasStart ? last : match[2] !== "" ? Math.min(Number(match[2]), last) : openRangeEnd(start, last, contentType);
|
|
126
129
|
if (start > end || start > last) {
|
|
127
130
|
res.writeHead(416, { ...headers, "Content-Range": `bytes */${size}` });
|
|
128
131
|
res.end();
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-R5XOR2IO.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VBR3OBZU.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-G5X2YP75.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KW2ZREKY.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-CQL77BAS.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-2YQ2XYO5.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
37
|
} from "./chunk-C2KEGBR3.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-7SYZRT4L.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-6NKNMOIT.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-SKQTN3EA.js");
|
|
277
277
|
const { ensureBrowser } = await import("./manager-SAXHANEY.js");
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-WFK4N6P3.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-SG4KRUAV.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-VWCIVPJX.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-MNPLXHRJ.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -12,22 +12,22 @@ import {
|
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-G5X2YP75.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KW2ZREKY.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CQL77BAS.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6LDW4TLQ.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-IIBNGLEX.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-VWCIVPJX.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-WFK4N6P3.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-VWCIVPJX.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-SAXHANEY.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-VWCIVPJX.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -122,7 +122,16 @@ function encoderJobOptions(opts) {
|
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
124
|
|
|
125
|
+
// ../studio-server/dist/chunk-6HAB346W.js
|
|
126
|
+
var MAX_OPEN_MEDIA_RANGE_BYTES = 4 * 1024 * 1024;
|
|
127
|
+
var isMedia = (contentType) => /^(audio|video)\//i.test(contentType);
|
|
128
|
+
function openRangeEnd(start, last, contentType) {
|
|
129
|
+
return isMedia(contentType) ? Math.min(last, start + MAX_OPEN_MEDIA_RANGE_BYTES - 1) : last;
|
|
130
|
+
}
|
|
131
|
+
|
|
125
132
|
export {
|
|
126
133
|
parseEncoderOptions,
|
|
127
|
-
encoderJobOptions
|
|
134
|
+
encoderJobOptions,
|
|
135
|
+
MAX_OPEN_MEDIA_RANGE_BYTES,
|
|
136
|
+
openRangeEnd
|
|
128
137
|
};
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-C3OOOE6D.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-WVRAFHJU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-SKQTN3EA.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|
|
@@ -7,32 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-65ERKMRH.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-OKMXRVAN.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-HVWZ5V2N.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-K3AKRESE.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-A2PZLDHN.js";
|
|
30
30
|
import {
|
|
31
31
|
readJsonFlag
|
|
32
32
|
} from "./chunk-EHZESMRB.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-SEFLUI7L.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-HWIGWPIG.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|