hyperframes 0.9.26 → 0.9.28-alpha.0
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-WBZDU6CI.js → add-WSGJ42KQ.js} +24 -25
- package/dist/{agentPromptGenerator-HOH4K2AF.js → agentPromptGenerator-JTMVHRZN.js} +10 -10
- package/dist/{animatedGifPrep-HEQTZMPU.js → animatedGifPrep-V3FJENRD.js} +9 -9
- package/dist/api.js +53 -52
- package/dist/{appHistory-FVDSCS64.js → appHistory-DLDRURHW.js} +2 -3
- package/dist/{asset-N2BCPNT3.js → asset-6LZTBFS7.js} +6 -6
- package/dist/{assetCataloger-25DZ4ODD.js → assetCataloger-GRGAUHXL.js} +11 -11
- package/dist/{audio-3KDOOANX.js → audio-QCMSKGKQ.js} +39 -38
- package/dist/{auth-JPNSO223.js → auth-TB7AUPRE.js} +7 -7
- package/dist/{autoUpdate-SVH5VA46.js → autoUpdate-G3G7WBJF.js} +6 -6
- package/dist/{avatars-UC6PUVKF.js → avatars-6ILGXRFF.js} +22 -21
- package/dist/{backgroundChecks-R7JQPFEL.js → backgroundChecks-E3VZ7KZN.js} +7 -7
- package/dist/backgroundChecksWorker.js +7 -7
- package/dist/{batchRender-QB3UD3S3.js → batchRender-KWIPFU5Q.js} +9 -9
- package/dist/{beats-4LQCQYU4.js → beats-OBIGBNZA.js} +18 -18
- package/dist/{benchmark-NNGNQLPH.js → benchmark-64IXFBPC.js} +19 -19
- package/dist/{billing-EKSG2MIB.js → billing-3X5BWBTI.js} +26 -26
- package/dist/{browser-3CMPDGDK.js → browser-DZ3XIEFA.js} +17 -17
- package/dist/{bundleWithLocalizedFonts-F6WSRFC6.js → bundleWithLocalizedFonts-PKQN5CMM.js} +4 -4
- package/dist/{capture-PIRDJMFL.js → capture-NTN7O6RZ.js} +28 -29
- package/dist/{capture-RRIOSJI7.js → capture-V7RAUBMG.js} +6 -6
- package/dist/{captureCompositionFrame-PHZ6UESC.js → captureCompositionFrame-KMMB3FVD.js} +20 -20
- package/dist/{captureFile-VIVGKFY4.js → captureFile-O7JMINHC.js} +3 -1
- package/dist/{catalog-6U6DBW2A.js → catalog-YIGPXM7Q.js} +25 -26
- package/dist/{catch-up-CXGXBI5D.js → catch-up-LOGK3VIS.js} +18 -19
- package/dist/{check-4YZZDHXU.js → check-FVXJBA5U.js} +56 -57
- package/dist/{checkAudio-WOI7A4XF.js → checkAudio-FSIRCDM6.js} +21 -21
- package/dist/{checkBrowser-ITUJDOQK.js → checkBrowser-NXRXF73I.js} +49 -50
- package/dist/{chunk-CV3U4IKB.js → chunk-3DVDIXOZ.js} +2 -2
- package/dist/{chunk-6YPQSVVR.js → chunk-3LIMD4YP.js} +1 -1
- package/dist/{chunk-Q6HWIM5T.js → chunk-3MYEF34S.js} +1 -1
- package/dist/{chunk-7N5GNBYP.js → chunk-3Q7LAXFJ.js} +4 -4
- package/dist/chunk-3T6BFAKZ.js +5049 -0
- package/dist/{chunk-KGDXQ7KV.js → chunk-3YP3OQVH.js} +1 -1
- package/dist/{chunk-CP7UNNLN.js → chunk-4OZVFZCO.js} +9 -6
- package/dist/{chunk-CXUT4XVT.js → chunk-54FVSPRH.js} +1 -1
- package/dist/{chunk-BGCZSSZN.js → chunk-5BIHQCC2.js} +4 -4
- package/dist/{chunk-I7P3G2EK.js → chunk-5EYQ222G.js} +3 -3
- package/dist/{chunk-Y7N65M2H.js → chunk-5FI52L2T.js} +7 -3
- package/dist/{chunk-O2YBW4AN.js → chunk-5RETZFNG.js} +8 -8
- package/dist/{chunk-Z4GE5BXC.js → chunk-5SDUQLZ3.js} +4 -3
- package/dist/{chunk-5FFQ7YED.js → chunk-6EZ76UBP.js} +20 -20
- package/dist/{chunk-OHQRQE7F.js → chunk-6MKM2RVL.js} +8 -1
- package/dist/{chunk-Q4IDT5XZ.js → chunk-6NG6PATW.js} +1 -1
- package/dist/{chunk-ADJCNH7M.js → chunk-6ODX6SHY.js} +2 -2
- package/dist/{chunk-LISUH6KH.js → chunk-6OQPKRPJ.js} +1 -1
- package/dist/{chunk-WW7Z2W73.js → chunk-72GTIFAI.js} +20 -1
- package/dist/{chunk-NZTYGWRK.js → chunk-7DGBOZ4N.js} +1 -1
- package/dist/{chunk-VK4PVFTZ.js → chunk-7U2B7OF6.js} +2 -2
- package/dist/{chunk-52YPYXJT.js → chunk-7XHVHBFV.js} +4 -4
- package/dist/{chunk-SDNHWXXF.js → chunk-7ZKUPLMN.js} +18 -18
- package/dist/{chunk-SYYF5SUA.js → chunk-A5CTI6RW.js} +3 -3
- package/dist/{chunk-BPFUMJPR.js → chunk-AHRX3FHF.js} +4 -4
- package/dist/{chunk-4RPJGXWI.js → chunk-AJVYQVDB.js} +2 -2
- package/dist/{chunk-RKIRQ73U.js → chunk-ASMDPTT3.js} +2 -2
- package/dist/{chunk-B2RMMRJB.js → chunk-B4TLQLGI.js} +1 -1
- package/dist/{chunk-PKNU4DEG.js → chunk-BF6RWOUF.js} +5 -7
- package/dist/{chunk-EOVICFGB.js → chunk-BFDNZ2JT.js} +3 -3
- package/dist/{chunk-CYTQNTZM.js → chunk-BI33G4XD.js} +8 -8
- package/dist/{chunk-AZO2YY3U.js → chunk-BIQJKM2O.js} +2 -2
- package/dist/{chunk-P7DCQJ6N.js → chunk-BMDABBHG.js} +1 -1
- package/dist/{chunk-46KZHKVZ.js → chunk-BP75ZLZ5.js} +2 -2
- package/dist/{chunk-ZERXFV4P.js → chunk-C756HYL7.js} +3 -3
- package/dist/{chunk-DIUV6JDR.js → chunk-C7ME7Y45.js} +3 -3
- package/dist/{chunk-54Q3H2UQ.js → chunk-CDNVZEGQ.js} +9 -2
- package/dist/{chunk-C5JKRCSG.js → chunk-CHCMXYER.js} +1 -1
- package/dist/{chunk-WEH3EHVB.js → chunk-CJC6U3E7.js} +4 -4
- package/dist/chunk-DDCFX533.js +387 -0
- package/dist/{chunk-6FDVPIOO.js → chunk-DONVZZLV.js} +1 -1
- package/dist/{chunk-BWRANVIS.js → chunk-DPAC75N5.js} +4 -4
- package/dist/{chunk-AIJMFLLS.js → chunk-E3EIKMUU.js} +3 -3
- package/dist/{chunk-YTF6LBWN.js → chunk-E7YPIP42.js} +2 -2
- package/dist/chunk-EKT2P27A.js +538 -0
- package/dist/chunk-F2FRUMWN.js +3699 -0
- package/dist/{chunk-T2WJO4XM.js → chunk-F2GWIWHN.js} +4 -3
- package/dist/{chunk-CMQZP52Y.js → chunk-F5QBIIFT.js} +6 -1
- package/dist/{chunk-M3JU24AI.js → chunk-FGFVUKPP.js} +1 -1
- package/dist/{chunk-LP7B3JLC.js → chunk-FID757D3.js} +1 -0
- package/dist/{chunk-LAGZGKKN.js → chunk-FOZBANEN.js} +3 -2
- package/dist/{chunk-5YPMCCCA.js → chunk-FRBQ3FIM.js} +1 -1
- package/dist/{chunk-I3XU2Q6N.js → chunk-FW7MDSCQ.js} +5 -5
- package/dist/{chunk-RTV6SDAW.js → chunk-G6CN5UWR.js} +2 -2
- package/dist/{chunk-HW4BZHWD.js → chunk-GN3CCXVU.js} +1 -1
- package/dist/{chunk-ANV4RVES.js → chunk-H3MJLPAC.js} +1 -1
- package/dist/{chunk-UPPOSWBD.js → chunk-HP6IDD33.js} +8 -8
- package/dist/{chunk-52C62IQX.js → chunk-HW325JBH.js} +6 -6
- package/dist/{chunk-SMR2QBOB.js → chunk-HWQ6SNLY.js} +1 -1
- package/dist/{chunk-7H5SDDTD.js → chunk-HYXSD2UA.js} +1 -1
- package/dist/{chunk-33HKMP6U.js → chunk-IEB4IKXF.js} +2 -2
- package/dist/{chunk-A4ZTSQLW.js → chunk-IEXRKKHC.js} +119 -4
- package/dist/{chunk-NBR3RFOK.js → chunk-IMSLXLUI.js} +1 -1
- package/dist/{chunk-IOPE4LJ2.js → chunk-J3X2RZON.js} +1 -1
- package/dist/chunk-JE2YBPC5.js +152 -0
- package/dist/{chunk-DJVONYVS.js → chunk-JEVWAGQP.js} +2 -2
- package/dist/chunk-JJ47LVJ7.js +58 -0
- package/dist/{chunk-M7VAMZQW.js → chunk-JNHJX2BZ.js} +4 -2
- package/dist/{chunk-Y5IO3G5V.js → chunk-JX4BEVC3.js} +35 -35
- package/dist/{chunk-RANSC2AP.js → chunk-K2OQYSDS.js} +14 -14
- package/dist/{chunk-4KQ53P4K.js → chunk-KBF2DIZX.js} +9 -9
- package/dist/{chunk-6DEXJHPV.js → chunk-KFU75UXA.js} +2 -2
- package/dist/{chunk-ETD6Z4CT.js → chunk-KJ5QBEMN.js} +9 -7
- package/dist/{chunk-G7VEYUZ2.js → chunk-LW33P24U.js} +210 -51
- package/dist/{chunk-RCK5GLYA.js → chunk-M7U6JTXF.js} +3 -3
- package/dist/{chunk-RG32F3XB.js → chunk-MBRBEXMF.js} +1 -1
- package/dist/{chunk-TPMBPH73.js → chunk-ME6L6GUF.js} +2 -2
- package/dist/{chunk-BO3R523I.js → chunk-MEVLYDL2.js} +1 -1
- package/dist/{chunk-4H65D2CK.js → chunk-MFSQZ2PR.js} +51 -11
- package/dist/{chunk-CT4R6NKU.js → chunk-MWBRY5HN.js} +3 -3
- package/dist/{chunk-XRLVFSPS.js → chunk-N6NB2WZ4.js} +3 -3
- package/dist/{chunk-XNEAYK2D.js → chunk-NKWJNDKO.js} +6 -6
- package/dist/{chunk-RXRL5CFO.js → chunk-O5G2LEUB.js} +3 -3
- package/dist/{chunk-U6JW263W.js → chunk-PG26KCBX.js} +2 -2
- package/dist/{chunk-FYZFURBN.js → chunk-PQYICV7O.js} +1 -1
- package/dist/{chunk-FLRTT7XS.js → chunk-PWW2DKGL.js} +5 -5
- package/dist/{chunk-W62GJ6S2.js → chunk-Q5J4OO7N.js} +22 -23
- package/dist/{chunk-CF2MLHZJ.js → chunk-Q6TVZY36.js} +3 -3
- package/dist/{chunk-E3V2WHNZ.js → chunk-QMGFXL43.js} +3 -3
- package/dist/{chunk-H6676SHA.js → chunk-QTDTCTGB.js} +6 -4
- package/dist/{chunk-KVVFSUMG.js → chunk-RERVXE6J.js} +5 -9
- package/dist/{chunk-6ELGYAFD.js → chunk-RGINHOAX.js} +23 -5
- package/dist/{chunk-QNV4S6LE.js → chunk-RNUIFYO6.js} +1 -1
- package/dist/{chunk-Y5NX2ID5.js → chunk-RO74CZMK.js} +2 -2
- package/dist/{chunk-3PSPF7V7.js → chunk-RPMPHUOS.js} +7 -7
- package/dist/{chunk-GS4EXK5R.js → chunk-RSZWWTQN.js} +25 -7
- package/dist/{chunk-EQBDKYXR.js → chunk-SWOAB4GM.js} +5 -2
- package/dist/{chunk-MFDNMTOP.js → chunk-T37WJWV2.js} +1 -1
- package/dist/{chunk-TAJ4PPMZ.js → chunk-TF7VWCJM.js} +1 -1
- package/dist/{chunk-SXYRNJBG.js → chunk-U2NESB4H.js} +1 -1
- package/dist/{chunk-WEWXIQPN.js → chunk-U46YQL7E.js} +1 -1
- package/dist/{chunk-CIB4TEE4.js → chunk-UDEFHX4Z.js} +17 -17
- package/dist/{chunk-MAU4K3YN.js → chunk-UF6C3CCP.js} +1 -1
- package/dist/{chunk-IV3JATWQ.js → chunk-UGX3IARM.js} +37 -37
- package/dist/{chunk-FQSX2Y2N.js → chunk-UO6DALBR.js} +10 -6
- package/dist/{chunk-7PZLR2JZ.js → chunk-UPR5TMLG.js} +2 -2
- package/dist/chunk-USTPTY7P.js +51 -0
- package/dist/{chunk-LSAZKSQW.js → chunk-UVZDPGZR.js} +1 -1
- package/dist/{chunk-N66SKEU4.js → chunk-VCNPBW4L.js} +2 -2
- package/dist/chunk-VHXIMBTF.js +343 -0
- package/dist/{chunk-I2I3ARUF.js → chunk-VNKPEYMW.js} +1 -1
- package/dist/{chunk-PZ23EDA5.js → chunk-VSQ5NWCF.js} +24 -2
- package/dist/{chunk-HOCC4J5C.js → chunk-VU4EPKFI.js} +1 -1
- package/dist/{chunk-6YYNEN54.js → chunk-VVGNWH2J.js} +269 -272
- package/dist/{chunk-XH34R2CM.js → chunk-WIJGRX5X.js} +2 -2
- package/dist/{chunk-ZNFYQMFN.js → chunk-WOSVLHQH.js} +1 -1
- package/dist/{chunk-M56EN5Z5.js → chunk-WRN3ZY5P.js} +8 -8
- package/dist/{chunk-YNYNZ36R.js → chunk-WUOMBLQL.js} +2 -2
- package/dist/{chunk-KBHBSWEE.js → chunk-WXEXQLVV.js} +217 -345
- package/dist/{chunk-4FNJ2QNP.js → chunk-WYA575QX.js} +11 -5
- package/dist/{chunk-OHN3OJQQ.js → chunk-X7NFWMWW.js} +1 -1
- package/dist/{chunk-FRBQYFUV.js → chunk-XEPGN46Q.js} +1 -1
- package/dist/{chunk-63SZ5FQL.js → chunk-XGRXNWDK.js} +4 -4
- package/dist/{chunk-52VJYQB4.js → chunk-XMHYE6XY.js} +3 -3
- package/dist/{chunk-QAH3I2PN.js → chunk-YJBGA3W6.js} +5 -5
- package/dist/{chunk-S73RS3QS.js → chunk-YOUHA4KP.js} +11 -9
- package/dist/{chunk-ZUGSYS6H.js → chunk-YPPJJ5ZH.js} +1 -1
- package/dist/{chunk-6AKETDJH.js → chunk-Z2N7XOOB.js} +7 -4
- package/dist/{chunk-OSMSO25W.js → chunk-ZEKQATYP.js} +6 -6
- package/dist/{chunk-VI5AG2YK.js → chunk-ZQLJLORI.js} +8 -8
- package/dist/{clean-CESNOFW4.js → clean-6YCVFT7D.js} +32 -33
- package/dist/cli.js +106 -72
- package/dist/{cloud-KNNA5NNC.js → cloud-BPWS4GJS.js} +7 -7
- package/dist/{cloud-D7DFYONW.js → cloud-TEJ6UVBU.js} +11 -11
- package/dist/{cloudrun-VHHNITZU.js → cloudrun-A7DU7DQE.js} +13 -13
- package/dist/{colors-CRTWLZ5S.js → colors-SS2KTOKM.js} +3 -3
- package/dist/{compare-XWGZQA3A.js → compare-HELNXJLM.js} +48 -49
- package/dist/{compiler-FQXZ5JHO.js → compiler-J43BE6LC.js} +5 -5
- package/dist/{component-B6LFSLBU.js → component-WEC4QGT3.js} +7 -7
- package/dist/{compositions-525OPGMN.js → compositions-RSUPWPK6.js} +21 -21
- package/dist/{contactSheet-RWRMLRZI.js → contactSheet-PZXG3REG.js} +4 -2
- package/dist/contract/LICENSE-Unicode.txt +39 -0
- package/dist/contract/path-policy.json +311 -0
- package/dist/contract/unicode-15.1.0.json +6179 -0
- package/dist/{curve-DJ7O5S2Z.js → curve-OK5TBGXV.js} +20 -20
- package/dist/{cuts-3FEOKZF4.js → cuts-S5WHYQZZ.js} +21 -21
- package/dist/{delete-NYTX5VAV.js → delete-5NHJKNWL.js} +18 -18
- package/dist/{deploy-FMWJCCAE.js → deploy-7PLBBXNB.js} +10 -10
- package/dist/{describeProject-73BHU64A.js → describeProject-WVLTYWPG.js} +14 -14
- package/dist/{destroy-6XY4WQWY.js → destroy-IWHFUGJL.js} +7 -7
- package/dist/{deterministicFonts-CEHTAMC7.js → deterministicFonts-UZIF5XZW.js} +4 -2
- package/dist/{diff-23KDGJCM.js → diff-W4EXKV5Q.js} +52 -52
- package/dist/{dist-AOXZZPN7.js → dist-4JHP47NU.js} +3 -3
- package/dist/{dist-GQVNNVG3.js → dist-AUYCAQMA.js} +17 -18
- package/dist/{dist-6FQKCYPL.js → dist-F3Y2XHZL.js} +4 -4
- package/dist/docs/motion-blur.md +1 -1
- package/dist/{docs-WYJSJGSF.js → docs-ZSVK3VZD.js} +3 -3
- package/dist/{doctor-XZ5HNJ6Q.js → doctor-7Y75ZXTU.js} +20 -20
- package/dist/{energy-HGHY2XGU.js → energy-Y4KYLWLZ.js} +19 -19
- package/dist/{events-MLOHGLUP.js → events-3LAHSBBF.js} +16 -14
- package/dist/{events-UFPWOQGG.js → events-67Q5DIRC.js} +9 -9
- package/dist/{events-EWQD3H2H.js → events-TQD3L5FS.js} +23 -23
- package/dist/execute-GFHAD3L6.js +109 -0
- package/dist/{extract-HMDTHBPW.js → extract-6KGIEC76.js} +23 -23
- package/dist/{face-63Y52JXT.js → face-OBEAPOZR.js} +21 -22
- package/dist/{feedback-NX2BHXLA.js → feedback-QTB2UH3Q.js} +22 -21
- package/dist/{ffmpeg-Z5LJ5LYM.js → ffmpeg-4CMA6M2L.js} +9 -9
- package/dist/{figma-KRBH6NCD.js → figma-4ZKDJA4R.js} +6 -6
- package/dist/fontLocalizeCli.js +15 -15
- package/dist/{frames-L4GO5IOK.js → frames-OFLJT4D5.js} +31 -24
- package/dist/{generate-FYK2JEF7.js → generate-LHRF4A3Z.js} +37 -37
- package/dist/{get-6DBWZJIS.js → get-56RYQ7KG.js} +18 -18
- package/dist/{gpuPolicy-IZK7ETZ6.js → gpuPolicy-35XK273G.js} +9 -9
- package/dist/{grade-compare-DMFIEWKO.js → grade-compare-GQVODT4T.js} +49 -50
- package/dist/{heifImagePrep-WT26IRKU.js → heifImagePrep-7WN2QNQM.js} +10 -10
- package/dist/{help-7GR3533A.js → help-E2TKPNJJ.js} +4 -4
- package/dist/{history-OMOIUDSV.js → history-AJ2MSBW6.js} +20 -21
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-E5AMEBHN.js → info-HV43ZADN.js} +23 -23
- package/dist/{init-DRZP3T3W.js → init-OHVVGDSF.js} +44 -42
- package/dist/{ink-63PXDACB.js → ink-IESBIGOE.js} +19 -19
- package/dist/{inspect-XKB4JFEJ.js → inspect-Y7YS3ILY.js} +46 -47
- package/dist/{installer-D7OH77IN.js → installer-AJESSC5Y.js} +8 -8
- package/dist/{keyframes-D4YUT6E3.js → keyframes-XSL7JGAF.js} +18 -18
- package/dist/{lambda-S5GFZOKF.js → lambda-KU65SSVE.js} +23 -23
- package/dist/{layout-4N6AIQJB.js → layout-ORX7QBGL.js} +46 -47
- package/dist/{lint-7I6I4UHH.js → lint-KUGT5YHK.js} +20 -20
- package/dist/{lintProject-KXOX5QXB.js → lintProject-Z6TG3Z34.js} +3 -3
- package/dist/{list-5PWGI2AA.js → list-EB3WYTHH.js} +21 -21
- package/dist/{localPage-OGQ4OTTG.js → localPage-QLGKJQ6X.js} +10 -10
- package/dist/{login-AT3RGU2L.js → login-O5HWEYI4.js} +12 -11
- package/dist/{logout-EKDVIU6Y.js → logout-AHGR3X5U.js} +9 -7
- package/dist/{look-GDIIZRBH.js → look-BPSKQDST.js} +21 -21
- package/dist/{manager-MKDNQ5KZ.js → manager-IAXYSRG5.js} +3 -3
- package/dist/{manager-3VDQLCQM.js → manager-MNOR566P.js} +11 -10
- package/dist/{measure-KWM2A5QD.js → measure-USYFR5EK.js} +16 -13
- package/dist/{media-treatment-4QBXQ3D7.js → media-treatment-5YATQA5D.js} +25 -25
- package/dist/{media-use-LMCTTAMZ.js → media-use-BA245HF5.js} +12 -10
- package/dist/{models-C2DQQIH3.js → models-ST3IIAN2.js} +18 -18
- package/dist/{motionShot-NUX22LWA.js → motionShot-DOIU74HO.js} +26 -26
- package/dist/{normalize-MBNGRVQA.js → normalize-PGMS24I2.js} +3 -1
- package/dist/{normalize-audio-K6LDICR5.js → normalize-audio-PPSCFVKC.js} +19 -19
- package/dist/oauth-KUPQUH6E.js +40 -0
- package/dist/{open-VPKHBPWT.js → open-R2EPWLS6.js} +27 -28
- package/dist/{parakeetRunner-E4534WW7.js → parakeetRunner-Q2SYZVYV.js} +19 -17
- package/dist/{pipeline-JUVHGTAC.js → pipeline-NQ4BI2D7.js} +12 -12
- package/dist/plan-CN2TTIAA.js +88 -0
- package/dist/{play-KBMGOUFL.js → play-J3DJBBXW.js} +38 -39
- package/dist/{policies-EV7XPSQC.js → policies-5G7G26ZX.js} +3 -3
- package/dist/{preflight-2R2MAQIC.js → preflight-DLO6LHGO.js} +13 -13
- package/dist/{present-MS6QCPUK.js → present-MIWYYTIE.js} +31 -32
- package/dist/{preview-BDQMRB6I.js → preview-DEGHLTT6.js} +37 -38
- package/dist/{probe-2OXPOPVD.js → probe-63RJNPIB.js} +19 -19
- package/dist/{producer-PECYJ4WO.js → producer-H7L5TBE4.js} +1 -1
- package/dist/{progress-FWJJMPIQ.js → progress-OOEHTBBU.js} +3 -3
- package/dist/{projectConfig-CZYM3VZF.js → projectConfig-GJL2ZGOU.js} +12 -13
- package/dist/{prompts-27EPTM64.js → prompts-RYVLXI7Q.js} +3 -3
- package/dist/{publication-JIWSYWXN.js → publication-BLLVTVD6.js} +6 -6
- package/dist/{publish-ZKNUSOPR.js → publish-CYPJA7T7.js} +93 -34
- package/dist/{refresh-ZHLUUENK.js → refresh-TB4TNH7R.js} +7 -6
- package/dist/{remove-background-VQ7SFKC5.js → remove-background-KX574FQY.js} +17 -17
- package/dist/{render-JIQF7TIY.js → render-N7PKCVEP.js} +59 -59
- package/dist/{render-753ERHTH.js → render-RUEXLOWE.js} +11 -11
- package/dist/{render-4UHIUXYW.js → render-SHUBWBK4.js} +108 -950
- package/dist/{render-batch-7ZOJOEPJ.js → render-batch-QFGQD5FM.js} +11 -11
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-QQOL74GH.js → resolver-HQIDF3TF.js} +9 -9
- package/dist/{reverse-CC3GYBFW.js → reverse-D2XWX6FV.js} +1 -1
- package/dist/{run-IQLZHH6D.js → run-EVZGKUEX.js} +9 -7
- package/dist/{screenshotCapture-2IJOZZTG.js → screenshotCapture-4JLD2OQZ.js} +11 -11
- package/dist/service-L3K45WOD.js +68 -0
- package/dist/share-7G44HDSY.js +226 -0
- package/dist/{sherpa-GISX4B24.js → sherpa-LU5AOQHV.js} +18 -16
- package/dist/{sites-O7A7G3ZQ.js → sites-NWEJJNAZ.js} +3 -3
- package/dist/skills/hyperframes/SKILL.md +4 -1
- package/dist/skills/hyperframes/references/motion.md +1 -1
- package/dist/skills/hyperframes/references/skill-lifecycle.md +2 -2
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +20 -0
- package/dist/{skills-VIC2VZZQ.js → skills-KVQ2G6P5.js} +19 -18
- package/dist/{skillsUpdateCheck-SM7RAGJI.js → skillsUpdateCheck-EB54PRMT.js} +7 -7
- package/dist/{snapshot-2ABRVH76.js → snapshot-QWO6OXG3.js} +65 -66
- package/dist/{src-7HHPSUSN.js → src-I3B7LYZM.js} +8 -8
- package/dist/{src-OZI5O5QD.js → src-WMZX5C4A.js} +14 -14
- package/dist/{start-OJ2I4XZP.js → start-ACVZUBZX.js} +50 -37
- package/dist/{staticProjectServer-4YDXULWX.js → staticProjectServer-C6KEOAYY.js} +25 -26
- package/dist/{status-DJEV6OOU.js → status-RYI42XDB.js} +38 -31
- package/dist/studio/assets/{codec-BxQIoYb1.js → codec-D6qbrtZY.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-CPnasNX6.js → hyperframes-player-BVe9IO80.js} +1 -1
- package/dist/studio/assets/{index-BDQdyS01.js → index-BZu8x7Q5.js} +1 -1
- package/dist/studio/assets/{index-QCoqIBrS.js → index-Cl9fSd9I.js} +184 -184
- package/dist/studio/assets/{index-dsfjBidg.css → index-Cq2w6U13.css} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-CUTtHVKV.js → pausedVideoDecoder-DfnHfnL7.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-Z3ZDQMO7.js → studio-api-RBURPKYX.js} +17 -18
- package/dist/{studioServer-AYXFWMY2.js → studioServer-J5DYNR6R.js} +445 -78
- package/dist/{sync-ASO6S77T.js → sync-MUKE7NSP.js} +21 -21
- package/dist/{synthesize-GX74JPPZ.js → synthesize-NJKCIPKW.js} +7 -8
- package/dist/{system-FDPS57FU.js → system-W2ZTDOLV.js} +2 -2
- package/dist/{telemetry-BMPRZBBX.js → telemetry-5CLJMTHU.js} +4 -4
- package/dist/{telemetry-AFCV2QLQ.js → telemetry-6MDOWNLT.js} +14 -14
- package/dist/templates/_shared/AGENTS.md +2 -2
- package/dist/templates/_shared/CLAUDE.md +2 -2
- package/dist/{templates-CII6AG7E.js → templates-LWPXN7M2.js} +56 -40
- package/dist/{timeline-DQ5DZUFL.js → timeline-WTBC3J7O.js} +33 -34
- package/dist/{tokens-JS2IMFGF.js → tokens-4NPCCANL.js} +6 -6
- package/dist/{transcribe-WWKYZLEO.js → transcribe-NZJPYTM7.js} +43 -42
- package/dist/{transcribe-LH7S5HSM.js → transcribe-RL7LGXU6.js} +15 -12
- package/dist/{tts-QW53FBKW.js → tts-NANTORLP.js} +6 -6
- package/dist/{update-EE7PVVJY.js → update-DZCGNNOU.js} +20 -19
- package/dist/{updateCheck-KY2HRZZA.js → updateCheck-N3C56RNJ.js} +6 -6
- package/dist/{upgrade-H266K5KB.js → upgrade-RCV7ZF5Z.js} +9 -9
- package/dist/{urlDownloader-TRUJTJTT.js → urlDownloader-SSPDDS4Y.js} +8 -8
- package/dist/{validate-6RDVENOL.js → validate-HQDRN6T3.js} +37 -38
- package/dist/{video-B6HLIKGZ.js → video-FPDBQAXL.js} +14 -14
- package/dist/{voices-RQXHSMIG.js → voices-PMLIXQT4.js} +34 -34
- package/dist/warmCheck.js +56 -57
- package/package.json +2 -1
- package/dist/chunk-ITTVMZ32.js +0 -5035
- package/dist/chunk-YWRUQ7XZ.js +0 -107
- /package/dist/{chunk-43G3Z3HJ.js → chunk-AAENGP3S.js} +0 -0
|
@@ -6,7 +6,7 @@ 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-IEB4IKXF.js";
|
|
10
10
|
import {
|
|
11
11
|
findPreviewServerForProject,
|
|
12
12
|
studioApiUrl
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
MAX_WINDOW_IDLE_MS,
|
|
18
18
|
openProjectHistory,
|
|
19
19
|
readProjectHistory
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BF6RWOUF.js";
|
|
21
21
|
|
|
22
22
|
// src/utils/historyOwner.ts
|
|
23
23
|
import { randomUUID } from "crypto";
|
|
@@ -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-
|
|
9
|
+
} from "./chunk-VU4EPKFI.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/lintFormat.ts
|
|
12
12
|
function formatLintFindings({ results, totalErrors, totalWarnings, totalInfos }, options = {}) {
|
|
@@ -8,19 +8,17 @@ import {
|
|
|
8
8
|
pinProjectRecord,
|
|
9
9
|
realFilePath
|
|
10
10
|
} from "./chunk-ALVXFXUG.js";
|
|
11
|
-
import {
|
|
12
|
-
atomicTempPath,
|
|
13
|
-
isAtomicTempPath,
|
|
14
|
-
replaceFileAtomically
|
|
15
|
-
} from "./chunk-A4ZTSQLW.js";
|
|
16
11
|
import {
|
|
17
12
|
isProjectIgnoredDir
|
|
18
13
|
} from "./chunk-EVMY7IPL.js";
|
|
19
14
|
import {
|
|
15
|
+
atomicTempPath,
|
|
16
|
+
isAtomicTempPath,
|
|
20
17
|
isWindowsHold,
|
|
21
18
|
renameWithRetry,
|
|
22
|
-
renameWithRetryAsync
|
|
23
|
-
|
|
19
|
+
renameWithRetryAsync,
|
|
20
|
+
replaceFileAtomically
|
|
21
|
+
} from "./chunk-IEXRKKHC.js";
|
|
24
22
|
import {
|
|
25
23
|
isSafePath,
|
|
26
24
|
mkdirWithinProject
|
|
@@ -6,20 +6,20 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
c
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VU4EPKFI.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeErrorMessage
|
|
12
12
|
} from "./chunk-E63BDV4Z.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/bundleWithLocalizedFonts.ts
|
|
15
15
|
async function bundleWithLocalizedFonts(projectDir, localizeFonts = localizeWithProducer, bundleOptions) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-J43BE6LC.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir, bundleOptions);
|
|
18
18
|
return localizeFonts(html);
|
|
19
19
|
}
|
|
20
20
|
async function loadFontInjector() {
|
|
21
21
|
try {
|
|
22
|
-
const { loadProducer } = await import("./producer-
|
|
22
|
+
const { loadProducer } = await import("./producer-H7L5TBE4.js");
|
|
23
23
|
const mod = await loadProducer();
|
|
24
24
|
return mod.injectDeterministicFontFaces ?? null;
|
|
25
25
|
} catch {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UF6C3CCP.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -17,31 +17,31 @@ import {
|
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-WIJGRX5X.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-ME6L6GUF.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XGRXNWDK.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-7U2B7OF6.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RGINHOAX.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
39
39
|
import {
|
|
40
40
|
c
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-VU4EPKFI.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-Q6TVZY36.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeCaptureFileSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SWOAB4GM.js";
|
|
10
10
|
import {
|
|
11
11
|
loadSharp
|
|
12
12
|
} from "./chunk-NL4RCLQF.js";
|
|
@@ -158,7 +158,7 @@ async function createSvgContactSheet(svgsDir, outputPath, assetsRootDir, budget
|
|
|
158
158
|
}
|
|
159
159
|
if (svgPaths.length === 0) return [];
|
|
160
160
|
const sharp = await loadSharp("contact sheets");
|
|
161
|
-
const svgFileNames = svgPaths.map((p) => p
|
|
161
|
+
const svgFileNames = svgPaths.map((p) => basename(p));
|
|
162
162
|
const thumbSize = 200;
|
|
163
163
|
const tmpDir = dirname(outputPath);
|
|
164
164
|
const tmpPaths = [];
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCompositionDimensions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MEVLYDL2.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AAENGP3S.js";
|
|
13
13
|
|
|
14
14
|
// src/commands/lambda/_dimensions.ts
|
|
15
15
|
import { readFileSync } from "fs";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-N6NB2WZ4.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q5J4OO7N.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IEXRKKHC.js";
|
|
19
19
|
import {
|
|
20
20
|
parseHTML
|
|
21
21
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
downloadToFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5SDUQLZ3.js";
|
|
10
10
|
import {
|
|
11
11
|
CACHE_DIR,
|
|
12
12
|
PINNED_PACKAGES,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-Z2N7XOOB.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-GN3CCXVU.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -19,7 +19,7 @@ function detectFormat(filePath) {
|
|
|
19
19
|
const ext = extname(filePath).toLowerCase();
|
|
20
20
|
if (ext === ".srt") return "srt";
|
|
21
21
|
if (ext === ".vtt") return "vtt";
|
|
22
|
-
if (ext === ".json") return detectJsonFormat(
|
|
22
|
+
if (ext === ".json") return detectJsonFormat(parseWhisperJson(readJsonFileText(filePath)));
|
|
23
23
|
throw new Error(`Unsupported transcript file extension: ${ext}. Use .json, .srt, or .vtt`);
|
|
24
24
|
}
|
|
25
25
|
function detectJsonFormat(raw) {
|
|
@@ -289,6 +289,12 @@ function formatVtt(words, opts) {
|
|
|
289
289
|
${cue.text.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")}`
|
|
290
290
|
).join("\n\n") + "\n";
|
|
291
291
|
}
|
|
292
|
+
var BARE_NAN_OR_INF_OUTSIDE_STRINGS = /"(?:[^"\\]|\\.)*"|-?\b(?:nan(?:\([^)]*\))?|inf(?:inity)?)(?!\w)/gi;
|
|
293
|
+
function parseWhisperJson(text) {
|
|
294
|
+
return JSON.parse(
|
|
295
|
+
text.replace(BARE_NAN_OR_INF_OUTSIDE_STRINGS, (m) => m.startsWith('"') ? m : "null")
|
|
296
|
+
);
|
|
297
|
+
}
|
|
292
298
|
function loadTranscript(filePath) {
|
|
293
299
|
const ext = extname(filePath).toLowerCase();
|
|
294
300
|
const content = readJsonFileText(filePath);
|
|
@@ -300,7 +306,7 @@ function loadTranscript(filePath) {
|
|
|
300
306
|
const words2 = parseVtt(content).map((w, i) => ({ ...w, id: w.id ?? `w${i}` }));
|
|
301
307
|
return { words: words2, format: "vtt" };
|
|
302
308
|
}
|
|
303
|
-
const parsed =
|
|
309
|
+
const parsed = parseWhisperJson(content);
|
|
304
310
|
const format = detectJsonFormat(parsed);
|
|
305
311
|
const words = (format === "whisper-cpp" ? parseWhisperCpp(parsed) : format === "openai" ? parseOpenAI(parsed) : parsed.map((w) => ({
|
|
306
312
|
id: w.id,
|
|
@@ -356,6 +362,7 @@ export {
|
|
|
356
362
|
wordsToCues,
|
|
357
363
|
formatSrt,
|
|
358
364
|
formatVtt,
|
|
365
|
+
parseWhisperJson,
|
|
359
366
|
loadTranscript,
|
|
360
367
|
patchCaptionHtml
|
|
361
368
|
};
|
|
@@ -44,7 +44,7 @@ async function runPostRenderStepAsync(label, fn, sink = defaultErrorSink) {
|
|
|
44
44
|
function reportPostRenderStepFailure(label, err, sink) {
|
|
45
45
|
const message = err instanceof Error ? err.message : String(err);
|
|
46
46
|
sink(` [hyperframes] Post-render step '${label}' failed (render already succeeded): ${message}`);
|
|
47
|
-
sanitizeSuccessfulExitCode();
|
|
47
|
+
if (isRenderSucceeded()) sanitizeSuccessfulExitCode();
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export {
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-MFSQZ2PR.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VU4EPKFI.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-E3EIKMUU.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -56,7 +56,7 @@ var roiArg = {
|
|
|
56
56
|
};
|
|
57
57
|
var outArg = {
|
|
58
58
|
type: "string",
|
|
59
|
-
alias: ["output", "output-dir"],
|
|
59
|
+
alias: ["o", "output", "output-dir"],
|
|
60
60
|
description: "Folder for pictures (default .hyperframes/measure/<op>)"
|
|
61
61
|
};
|
|
62
62
|
var jsonArg = {
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
formatLintStartupMessage
|
|
9
|
+
} from "./chunk-B4TLQLGI.js";
|
|
10
|
+
import {
|
|
11
|
+
reportVariableIssues,
|
|
12
|
+
resolveVariablesArg,
|
|
13
|
+
validateVariablesAgainstProject
|
|
14
|
+
} from "./chunk-3Q7LAXFJ.js";
|
|
15
|
+
import {
|
|
16
|
+
applyRenderEnvironment,
|
|
17
|
+
renderOutputDirectory
|
|
18
|
+
} from "./chunk-EKT2P27A.js";
|
|
19
|
+
import {
|
|
20
|
+
makeOutputFolder
|
|
21
|
+
} from "./chunk-3S27CPV7.js";
|
|
22
|
+
import {
|
|
23
|
+
errorBox,
|
|
24
|
+
formatBytes
|
|
25
|
+
} from "./chunk-FGFVUKPP.js";
|
|
26
|
+
import {
|
|
27
|
+
trackRenderPreflightRejected
|
|
28
|
+
} from "./chunk-RGINHOAX.js";
|
|
29
|
+
import {
|
|
30
|
+
c
|
|
31
|
+
} from "./chunk-VU4EPKFI.js";
|
|
32
|
+
import {
|
|
33
|
+
PRORES_PROFILES,
|
|
34
|
+
REFERENCE_BACKGROUND_FIELD,
|
|
35
|
+
referenceBackgroundResult
|
|
36
|
+
} from "./chunk-Q5J4OO7N.js";
|
|
37
|
+
import {
|
|
38
|
+
runRenderSetupWorker
|
|
39
|
+
} from "./chunk-X6JUUQCM.js";
|
|
40
|
+
import {
|
|
41
|
+
hasDefinitiveEntryMismatch
|
|
42
|
+
} from "./chunk-Q5X2B5WT.js";
|
|
43
|
+
import {
|
|
44
|
+
lintProject,
|
|
45
|
+
shouldBlockRender
|
|
46
|
+
} from "./chunk-VSQ5NWCF.js";
|
|
47
|
+
import {
|
|
48
|
+
CliRuntimeError,
|
|
49
|
+
failCommand,
|
|
50
|
+
setCommandExitCode
|
|
51
|
+
} from "./chunk-66W5IWLO.js";
|
|
52
|
+
import {
|
|
53
|
+
normalizeErrorMessage
|
|
54
|
+
} from "./chunk-E63BDV4Z.js";
|
|
55
|
+
|
|
56
|
+
// src/commands/render/execute.ts
|
|
57
|
+
import { readFileSync } from "fs";
|
|
58
|
+
import { tmpdir } from "os";
|
|
59
|
+
|
|
60
|
+
// src/ui/renderResult.ts
|
|
61
|
+
function renderMachineResult(result, quiet) {
|
|
62
|
+
if (quiet || process.stdout.isTTY || process.env.HYPERFRAMES_STDOUT_IS_TTY === "1") return;
|
|
63
|
+
if (!(REFERENCE_BACKGROUND_FIELD in result)) return;
|
|
64
|
+
const line = {
|
|
65
|
+
version: 1,
|
|
66
|
+
operation: "render",
|
|
67
|
+
...referenceBackgroundResult(result[REFERENCE_BACKGROUND_FIELD])
|
|
68
|
+
};
|
|
69
|
+
process.stdout.write(`@hf-result ${JSON.stringify(line)}
|
|
70
|
+
`);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// src/commands/render/execute.ts
|
|
74
|
+
function renderLintContinuationHint(strictErrors) {
|
|
75
|
+
return strictErrors ? " Continuing render despite lint warnings. Use --strict-all to block warnings." : " Continuing render despite lint issues. Use --strict to block errors.";
|
|
76
|
+
}
|
|
77
|
+
function renderLintShouldAbort(strictErrors, strictAll, lintResult, definitiveEntryMismatch) {
|
|
78
|
+
return definitiveEntryMismatch || shouldBlockRender(strictErrors, strictAll, lintResult.totalErrors, lintResult.totalWarnings);
|
|
79
|
+
}
|
|
80
|
+
async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
81
|
+
assertRenderActive(cancellation);
|
|
82
|
+
applyRenderEnvironment(plan);
|
|
83
|
+
if (!plan.batchPath) makeOutputFolder(renderOutputDirectory(plan));
|
|
84
|
+
let batchModule;
|
|
85
|
+
let preparedBatch;
|
|
86
|
+
if (plan.batchPath) {
|
|
87
|
+
batchModule = await import("./batchRender-KWIPFU5Q.js");
|
|
88
|
+
try {
|
|
89
|
+
preparedBatch = batchModule.prepareBatchRender({
|
|
90
|
+
batchPath: plan.batchPath,
|
|
91
|
+
outputTemplate: plan.batchOutputTemplate,
|
|
92
|
+
indexPath: plan.renderTarget,
|
|
93
|
+
strictVariables: plan.strictVariables,
|
|
94
|
+
quiet: plan.quiet || plan.batchJson,
|
|
95
|
+
json: plan.batchJson
|
|
96
|
+
});
|
|
97
|
+
} catch (error) {
|
|
98
|
+
batchModule.exitBatchRenderInputError(error);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
const variables = plan.batchPath ? void 0 : resolveVariablesArg(plan.variablesArg, plan.variablesFileArg);
|
|
102
|
+
await runRenderLint(plan, lintProject, cancellation?.signal);
|
|
103
|
+
assertRenderActive(cancellation);
|
|
104
|
+
if (!plan.useDocker) await refuseLowDiskBeforeBrowserDownload(plan);
|
|
105
|
+
const browserPath = plan.useDocker ? void 0 : await ensureRenderBrowser(plan, cancellation?.signal);
|
|
106
|
+
assertRenderActive(cancellation);
|
|
107
|
+
await runResolutionPreflight(plan, dependencies.checkResolution);
|
|
108
|
+
assertRenderActive(cancellation);
|
|
109
|
+
const releaseSlot = await dependencies.acquireRenderSlot?.(plan, cancellation?.signal);
|
|
110
|
+
try {
|
|
111
|
+
assertRenderActive(cancellation);
|
|
112
|
+
await executeHeldRender(plan, browserPath, variables, dependencies, cancellation, {
|
|
113
|
+
batchModule,
|
|
114
|
+
preparedBatch
|
|
115
|
+
});
|
|
116
|
+
} finally {
|
|
117
|
+
releaseSlot?.();
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
async function executeHeldRender(plan, browserPath, variables, dependencies, cancellation, batch) {
|
|
121
|
+
const { batchModule, preparedBatch } = batch;
|
|
122
|
+
if (plan.batchPath && batchModule && preparedBatch) {
|
|
123
|
+
await executeBatchRender(
|
|
124
|
+
plan,
|
|
125
|
+
browserPath,
|
|
126
|
+
batchModule,
|
|
127
|
+
preparedBatch,
|
|
128
|
+
dependencies,
|
|
129
|
+
cancellation
|
|
130
|
+
);
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
reportSingleRenderNotes(plan, variables);
|
|
134
|
+
const options = renderOptionsFromPlan(plan, browserPath, variables);
|
|
135
|
+
const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
|
|
136
|
+
const result = await execute(plan.project.dir, plan.outputPath, options, cancellation);
|
|
137
|
+
renderMachineResult(result, plan.effectiveQuiet);
|
|
138
|
+
}
|
|
139
|
+
function reportSingleRenderNotes(plan, variables) {
|
|
140
|
+
if (variables && Object.keys(variables).length > 0) {
|
|
141
|
+
const issues = validateVariablesAgainstProject(plan.renderTarget, variables);
|
|
142
|
+
reportVariableIssues(issues, { strict: plan.strictVariables, quiet: plan.effectiveQuiet });
|
|
143
|
+
}
|
|
144
|
+
if (plan.proresProfile && !PRORES_PROFILES[plan.proresProfile].alpha && !plan.effectiveQuiet) {
|
|
145
|
+
console.log(
|
|
146
|
+
c.dim(`ProRes ${plan.proresProfile} has no alpha channel: transparent areas render black.`)
|
|
147
|
+
);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
function renderOptionsFromPlan(plan, browserPath, variables) {
|
|
151
|
+
const options = {
|
|
152
|
+
fps: plan.fps,
|
|
153
|
+
quality: plan.quality,
|
|
154
|
+
authoringSkill: plan.authoringSkill,
|
|
155
|
+
authoringSkillSource: plan.authoringSkillSource,
|
|
156
|
+
authoringSkillInvalid: plan.invalidAuthoringSkill,
|
|
157
|
+
hfEnvOverrides: plan.hfEnvOverrides,
|
|
158
|
+
catalogUsage: plan.catalogUsage,
|
|
159
|
+
format: plan.format,
|
|
160
|
+
gifLoop: plan.gifLoop,
|
|
161
|
+
gifFpsCapped: plan.gifFpsCapped,
|
|
162
|
+
hlsSegmentSeconds: plan.hlsSegmentSeconds,
|
|
163
|
+
workers: plan.workers,
|
|
164
|
+
gpu: plan.useGpu,
|
|
165
|
+
browserGpuMode: plan.browserGpuMode,
|
|
166
|
+
hdrMode: plan.hdrMode,
|
|
167
|
+
crf: plan.crf,
|
|
168
|
+
vp9CpuUsed: plan.vp9CpuUsed,
|
|
169
|
+
videoBitrate: plan.videoBitrate,
|
|
170
|
+
keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
|
|
171
|
+
range: plan.range,
|
|
172
|
+
proresProfile: plan.proresProfile,
|
|
173
|
+
maxBitrate: plan.maxBitrate,
|
|
174
|
+
bufferSize: plan.bufferSize,
|
|
175
|
+
videoFrameFormat: plan.videoFrameFormat,
|
|
176
|
+
pageMotionBlur: plan.pageMotionBlur,
|
|
177
|
+
quiet: plan.effectiveQuiet,
|
|
178
|
+
browserPath,
|
|
179
|
+
debug: plan.debug,
|
|
180
|
+
resumeSegments: plan.resumeSegments,
|
|
181
|
+
keepSegments: plan.keepSegments,
|
|
182
|
+
bestEffort: plan.bestEffort,
|
|
183
|
+
variables,
|
|
184
|
+
entryFile: plan.entryFile,
|
|
185
|
+
outputResolution: plan.outputResolution,
|
|
186
|
+
outputResolutionAspectAgnostic: plan.outputResolutionAspectAgnostic,
|
|
187
|
+
outputResolutionRaw: plan.outputResolutionRaw,
|
|
188
|
+
pageNavigationTimeoutMs: plan.pageNavigationTimeoutMs,
|
|
189
|
+
protocolTimeout: plan.protocolTimeout,
|
|
190
|
+
playerReadyTimeout: plan.playerReadyTimeout,
|
|
191
|
+
exitAfterComplete: true,
|
|
192
|
+
manageDeParallelRouterBreaker: true
|
|
193
|
+
};
|
|
194
|
+
if (plan.useDocker) {
|
|
195
|
+
options.pageSideCompositing = plan.pageSideCompositing;
|
|
196
|
+
options.experimentalFastCapture = plan.experimentalFastCapture;
|
|
197
|
+
}
|
|
198
|
+
return options;
|
|
199
|
+
}
|
|
200
|
+
function assertRenderActive(cancellation) {
|
|
201
|
+
cancellation?.checkAncestors();
|
|
202
|
+
cancellation?.signal.throwIfAborted();
|
|
203
|
+
}
|
|
204
|
+
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
205
|
+
const { checkDisk } = await import("./preflight-DLO6LHGO.js");
|
|
206
|
+
await (await import("./manager-IAXYSRG5.js")).sweepKilledInstalls();
|
|
207
|
+
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
208
|
+
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
209
|
+
if (low.length === 0) return;
|
|
210
|
+
for (const check of low) errorBox(check.title ?? "Low disk space", check.detail, check.hint);
|
|
211
|
+
failCommand();
|
|
212
|
+
}
|
|
213
|
+
async function ensureRenderBrowser(plan, signal) {
|
|
214
|
+
const { ensureBrowser } = await import("./manager-IAXYSRG5.js");
|
|
215
|
+
let browserSpinner;
|
|
216
|
+
try {
|
|
217
|
+
if (plan.effectiveQuiet) {
|
|
218
|
+
return (await ensureBrowser({ preferManagedChrome: true, signal })).executablePath;
|
|
219
|
+
}
|
|
220
|
+
const clack = await import("./prompts-RYVLXI7Q.js");
|
|
221
|
+
browserSpinner = clack.spinner();
|
|
222
|
+
browserSpinner.start("Checking browser...");
|
|
223
|
+
const info = await ensureBrowser({
|
|
224
|
+
preferManagedChrome: true,
|
|
225
|
+
signal,
|
|
226
|
+
onProgress: (downloaded, total) => {
|
|
227
|
+
if (total <= 0) return;
|
|
228
|
+
const pct = Math.floor(downloaded / total * 100);
|
|
229
|
+
browserSpinner?.message(
|
|
230
|
+
`Downloading Chrome... ${c.progress(pct + "%")} ${c.dim("(" + formatBytes(downloaded) + " / " + formatBytes(total) + ")")}`
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
});
|
|
234
|
+
browserSpinner.stop(c.dim(`Browser: ${info.source}`));
|
|
235
|
+
return info.executablePath;
|
|
236
|
+
} catch (error) {
|
|
237
|
+
browserSpinner?.stop(c.error("Browser not available"));
|
|
238
|
+
if (signal?.aborted) signal.throwIfAborted();
|
|
239
|
+
errorBox(
|
|
240
|
+
"Chrome not found",
|
|
241
|
+
normalizeErrorMessage(error),
|
|
242
|
+
"Run: npx hyperframes browser ensure"
|
|
243
|
+
);
|
|
244
|
+
failCommand();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
async function runRenderLint(plan, runLint = lintProject, signal) {
|
|
248
|
+
const explicitEntry = plan.entryFile ? plan.renderTarget : void 0;
|
|
249
|
+
const lintResult = signal && runLint === lintProject ? await runRenderLintInOwnedProcess(plan.project.dir, explicitEntry, signal) : await runLint(plan.project.dir, explicitEntry);
|
|
250
|
+
if (lintResult.totalErrors === 0 && lintResult.totalWarnings === 0) return;
|
|
251
|
+
const definitiveEntryMismatch = hasDefinitiveEntryMismatch(lintResult);
|
|
252
|
+
const willAbort = renderLintShouldAbort(
|
|
253
|
+
plan.strictErrors,
|
|
254
|
+
plan.strictAll,
|
|
255
|
+
lintResult,
|
|
256
|
+
definitiveEntryMismatch
|
|
257
|
+
);
|
|
258
|
+
presentRenderLintFindings(lintResult, plan.effectiveQuiet, plan.lintVerbose || willAbort);
|
|
259
|
+
if (willAbort) {
|
|
260
|
+
const message = presentRenderLintAbort(lintResult, definitiveEntryMismatch);
|
|
261
|
+
throw new CliRuntimeError(message, { presented: true });
|
|
262
|
+
}
|
|
263
|
+
presentRenderLintContinuation(plan);
|
|
264
|
+
}
|
|
265
|
+
async function runRenderLintInOwnedProcess(projectDir, entryFile, signal) {
|
|
266
|
+
return runRenderSetupWorker(
|
|
267
|
+
"lint",
|
|
268
|
+
{ projectDir, entryFile },
|
|
269
|
+
{
|
|
270
|
+
signal,
|
|
271
|
+
maxBufferBytes: 8 * 1024 * 1024
|
|
272
|
+
}
|
|
273
|
+
);
|
|
274
|
+
}
|
|
275
|
+
function presentRenderLintFindings(lintResult, quiet, lintVerbose) {
|
|
276
|
+
if (quiet) return;
|
|
277
|
+
console.log("");
|
|
278
|
+
for (const line of formatLintStartupMessage(
|
|
279
|
+
lintResult,
|
|
280
|
+
lintVerbose ? { kind: "verbose", options: { errorsFirst: true } } : { kind: "summary" }
|
|
281
|
+
))
|
|
282
|
+
console.log(line);
|
|
283
|
+
}
|
|
284
|
+
function presentRenderLintAbort(lintResult, definitiveEntryMismatch) {
|
|
285
|
+
const counts = `${lintResult.totalErrors} error(s), ${lintResult.totalWarnings} warning(s)`;
|
|
286
|
+
const findings = lintResult.results.flatMap((entry) => entry.result.findings);
|
|
287
|
+
const first = findings.find((finding) => finding.severity === "error") ?? findings[0];
|
|
288
|
+
const message = definitiveEntryMismatch ? "Cannot render: the default index.html entry is blank." : `Cannot render: ${counts}. ${first ? `${first.code}: ${first.message}` : "Fix the project lint issues."} Run hyperframes lint for details.`;
|
|
289
|
+
errorBox(message);
|
|
290
|
+
return message;
|
|
291
|
+
}
|
|
292
|
+
function presentRenderLintContinuation(plan) {
|
|
293
|
+
if (plan.effectiveQuiet) return;
|
|
294
|
+
console.log(c.dim(renderLintContinuationHint(plan.strictErrors)));
|
|
295
|
+
console.log("");
|
|
296
|
+
}
|
|
297
|
+
async function runResolutionPreflight(plan, checkResolution) {
|
|
298
|
+
if (!plan.outputResolution) return;
|
|
299
|
+
let issue;
|
|
300
|
+
try {
|
|
301
|
+
issue = await checkResolution(readFileSync(plan.renderTarget, "utf8"), plan.outputResolution, {
|
|
302
|
+
alphaRequested: plan.format === "webm" || plan.format === "mov" || plan.format === "png-sequence",
|
|
303
|
+
hdrRequested: plan.hdrMode === "force-hdr",
|
|
304
|
+
aspectAgnostic: plan.outputResolutionAspectAgnostic
|
|
305
|
+
});
|
|
306
|
+
} catch {
|
|
307
|
+
}
|
|
308
|
+
if (!issue) return;
|
|
309
|
+
trackRenderPreflightRejected({ kind: issue.kind });
|
|
310
|
+
errorBox("Output resolution incompatible", issue.message);
|
|
311
|
+
failCommand();
|
|
312
|
+
}
|
|
313
|
+
function batchRowRenderOptions(plan, browserPath) {
|
|
314
|
+
const batchQuiet = plan.quiet || plan.batchJson;
|
|
315
|
+
return {
|
|
316
|
+
fps: plan.fps,
|
|
317
|
+
quality: plan.quality,
|
|
318
|
+
authoringSkill: plan.authoringSkill,
|
|
319
|
+
authoringSkillSource: plan.authoringSkillSource,
|
|
320
|
+
authoringSkillInvalid: plan.invalidAuthoringSkill,
|
|
321
|
+
hfEnvOverrides: plan.hfEnvOverrides,
|
|
322
|
+
catalogUsage: plan.catalogUsage,
|
|
323
|
+
format: plan.format,
|
|
324
|
+
gifLoop: plan.gifLoop,
|
|
325
|
+
gifFpsCapped: plan.gifFpsCapped,
|
|
326
|
+
hlsSegmentSeconds: plan.hlsSegmentSeconds,
|
|
327
|
+
workers: plan.workers,
|
|
328
|
+
gpu: plan.useGpu,
|
|
329
|
+
browserGpuMode: plan.browserGpuMode,
|
|
330
|
+
hdrMode: plan.hdrMode,
|
|
331
|
+
crf: plan.crf,
|
|
332
|
+
vp9CpuUsed: plan.vp9CpuUsed,
|
|
333
|
+
videoBitrate: plan.videoBitrate,
|
|
334
|
+
keyframeIntervalSeconds: plan.keyframeIntervalSeconds,
|
|
335
|
+
range: plan.range,
|
|
336
|
+
proresProfile: plan.proresProfile,
|
|
337
|
+
maxBitrate: plan.maxBitrate,
|
|
338
|
+
bufferSize: plan.bufferSize,
|
|
339
|
+
videoFrameFormat: plan.videoFrameFormat,
|
|
340
|
+
pageMotionBlur: plan.pageMotionBlur,
|
|
341
|
+
quiet: batchQuiet,
|
|
342
|
+
browserPath,
|
|
343
|
+
entryFile: plan.entryFile,
|
|
344
|
+
outputResolution: plan.outputResolution,
|
|
345
|
+
outputResolutionAspectAgnostic: plan.outputResolutionAspectAgnostic,
|
|
346
|
+
outputResolutionRaw: plan.outputResolutionRaw,
|
|
347
|
+
pageNavigationTimeoutMs: plan.pageNavigationTimeoutMs,
|
|
348
|
+
protocolTimeout: plan.protocolTimeout,
|
|
349
|
+
playerReadyTimeout: plan.playerReadyTimeout,
|
|
350
|
+
debug: plan.debug,
|
|
351
|
+
resumeSegments: plan.resumeSegments,
|
|
352
|
+
keepSegments: plan.keepSegments,
|
|
353
|
+
bestEffort: plan.bestEffort,
|
|
354
|
+
exitAfterComplete: false,
|
|
355
|
+
throwOnError: true,
|
|
356
|
+
skipFeedback: true,
|
|
357
|
+
desktopHint: false,
|
|
358
|
+
manageDeParallelRouterBreaker: plan.batchConcurrency <= 1
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
async function executeBatchRender(plan, browserPath, batchModule, preparedBatch, dependencies, cancellation) {
|
|
362
|
+
const batchQuiet = plan.quiet || plan.batchJson;
|
|
363
|
+
const renderOptionsBase = batchRowRenderOptions(plan, browserPath);
|
|
364
|
+
const manifest = await batchModule.runBatchRender({
|
|
365
|
+
prepared: preparedBatch,
|
|
366
|
+
concurrency: plan.batchConcurrency,
|
|
367
|
+
failFast: plan.batchFailFast,
|
|
368
|
+
quiet: batchQuiet,
|
|
369
|
+
json: plan.batchJson,
|
|
370
|
+
renderOne: (row) => {
|
|
371
|
+
assertRenderActive(cancellation);
|
|
372
|
+
const options = { ...renderOptionsBase, variables: row.variables };
|
|
373
|
+
if (plan.useDocker) options.pageSideCompositing = plan.pageSideCompositing;
|
|
374
|
+
const execute = plan.useDocker ? dependencies.renderDocker : dependencies.renderLocal;
|
|
375
|
+
return execute(plan.project.dir, row.outputPath, options, cancellation);
|
|
376
|
+
}
|
|
377
|
+
});
|
|
378
|
+
if (manifest.failed > 0) setCommandExitCode(1);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
export {
|
|
382
|
+
renderLintContinuationHint,
|
|
383
|
+
executeRenderPlan,
|
|
384
|
+
renderOptionsFromPlan,
|
|
385
|
+
runRenderLint,
|
|
386
|
+
batchRowRenderOptions
|
|
387
|
+
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readMediaOffsetSeconds
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6MKM2RVL.js";
|
|
10
10
|
|
|
11
11
|
// ../core/dist/mediaLink.js
|
|
12
12
|
var MEDIA_LINK_ATTR = "data-link";
|