hyperframes 0.9.28-alpha.0 → 0.9.28
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/README.md +5 -2
- package/dist/{add-WSGJ42KQ.js → add-XQCABYNY.js} +14 -14
- package/dist/{agentPromptGenerator-JTMVHRZN.js → agentPromptGenerator-S2SYZY3A.js} +7 -7
- package/dist/{animatedGifPrep-V3FJENRD.js → animatedGifPrep-SACSOT4A.js} +7 -7
- package/dist/api.js +38 -39
- package/dist/{asset-6LZTBFS7.js → asset-JPI3LFG4.js} +2 -2
- package/dist/{assetCataloger-GRGAUHXL.js → assetCataloger-TJQ5OLMV.js} +8 -8
- package/dist/{audio-QCMSKGKQ.js → audio-RG6NXOMI.js} +24 -25
- package/dist/{auth-TB7AUPRE.js → auth-7G2OCS7L.js} +4 -4
- package/dist/{autoUpdate-G3G7WBJF.js → autoUpdate-7RS75ENY.js} +3 -3
- package/dist/{avatars-6ILGXRFF.js → avatars-KWPVXWXC.js} +15 -16
- package/dist/{backgroundChecks-E3VZ7KZN.js → backgroundChecks-5HHWQH5H.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-KWIPFU5Q.js → batchRender-AL6DO5IA.js} +4 -4
- package/dist/{beats-OBIGBNZA.js → beats-XHKWF5KT.js} +11 -11
- package/dist/{benchmark-64IXFBPC.js → benchmark-57RNYMON.js} +11 -11
- package/dist/{billing-3X5BWBTI.js → billing-FXAMQKDS.js} +15 -16
- package/dist/{browser-DZ3XIEFA.js → browser-TV2VPWQJ.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-PKQN5CMM.js → bundleWithLocalizedFonts-YGHFRVJW.js} +1 -1
- package/dist/{capture-NTN7O6RZ.js → capture-GPT5V4ND.js} +22 -22
- package/dist/{capture-V7RAUBMG.js → capture-LHPSRQ4R.js} +3 -3
- package/dist/{captureCompositionFrame-KMMB3FVD.js → captureCompositionFrame-TLV2WC4Q.js} +14 -14
- package/dist/{catalog-YIGPXM7Q.js → catalog-7A3MMFTN.js} +14 -14
- package/dist/{catch-up-LOGK3VIS.js → catch-up-SEGXPPOX.js} +9 -9
- package/dist/{check-FVXJBA5U.js → check-OP5AR33W.js} +44 -43
- package/dist/{checkAudio-FSIRCDM6.js → checkAudio-QDAUXX7W.js} +15 -15
- package/dist/{checkBrowser-NXRXF73I.js → checkBrowser-OGE3A52R.js} +37 -37
- package/dist/{chunk-HWQ6SNLY.js → chunk-257XUBNU.js} +1 -1
- package/dist/{chunk-XGRXNWDK.js → chunk-3JFV42QB.js} +3 -3
- package/dist/{chunk-QTDTCTGB.js → chunk-4N3UVDIJ.js} +4 -6
- package/dist/{chunk-YPPJJ5ZH.js → chunk-55ZEUSPW.js} +1 -1
- package/dist/{chunk-RGINHOAX.js → chunk-5E6Y7CW3.js} +22 -4
- package/dist/{chunk-UF6C3CCP.js → chunk-5RUGBDAC.js} +1 -1
- package/dist/{chunk-ME6L6GUF.js → chunk-6FHIR4KD.js} +1 -1
- package/dist/{chunk-BP75ZLZ5.js → chunk-6LCIO2YY.js} +2 -2
- package/dist/{chunk-5BIHQCC2.js → chunk-6UMISKCG.js} +4 -4
- package/dist/{chunk-UO6DALBR.js → chunk-6WCOY6MS.js} +4 -4
- package/dist/{chunk-PG26KCBX.js → chunk-7FYGCIHK.js} +2 -2
- package/dist/{chunk-3YP3OQVH.js → chunk-7M26J4R3.js} +1 -1
- package/dist/{chunk-5FI52L2T.js → chunk-A7HPQVS5.js} +1 -1
- package/dist/{chunk-5RETZFNG.js → chunk-AA2DNXEJ.js} +7 -7
- package/dist/{chunk-YOUHA4KP.js → chunk-AVXIDAFJ.js} +9 -11
- package/dist/{chunk-MEVLYDL2.js → chunk-BJYCLZBQ.js} +1 -1
- package/dist/{chunk-W4DMQZL5.js → chunk-BZULWFMJ.js} +11 -2
- package/dist/{chunk-CHCMXYER.js → chunk-C5JKRCSG.js} +1 -1
- package/dist/{chunk-KFU75UXA.js → chunk-CINCDA5M.js} +2 -2
- package/dist/{chunk-VVGNWH2J.js → chunk-CSCK6RGC.js} +12 -12
- package/dist/{chunk-QMGFXL43.js → chunk-D5HNV6G6.js} +1 -1
- package/dist/{chunk-VSQ5NWCF.js → chunk-DJVSNDF3.js} +3 -3
- package/dist/{chunk-UVZDPGZR.js → chunk-DKSCZYFP.js} +1 -1
- package/dist/{chunk-HYXSD2UA.js → chunk-E3UFWFZZ.js} +1 -1
- package/dist/{chunk-E7YPIP42.js → chunk-E53UDY74.js} +2 -2
- package/dist/{chunk-RSZWWTQN.js → chunk-E54N6IPY.js} +2 -2
- package/dist/{chunk-PWW2DKGL.js → chunk-EENM7GX3.js} +2 -2
- package/dist/{chunk-M7U6JTXF.js → chunk-EOJ2PMOV.js} +2 -2
- package/dist/{chunk-3T6BFAKZ.js → chunk-F24B2PLD.js} +1 -1
- package/dist/{chunk-KBF2DIZX.js → chunk-FBLCK3YJ.js} +9 -9
- package/dist/{chunk-A5CTI6RW.js → chunk-G4D7EBDQ.js} +3 -3
- package/dist/{chunk-5EYQ222G.js → chunk-GGDJLN5I.js} +0 -20
- package/dist/{chunk-N6NB2WZ4.js → chunk-GUHCMOE2.js} +2 -2
- package/dist/{chunk-AAENGP3S.js → chunk-IOPIOX5K.js} +66 -16
- package/dist/{chunk-WYA575QX.js → chunk-IQKMIYLG.js} +5 -7
- package/dist/{chunk-G6CN5UWR.js → chunk-IX22RYJO.js} +1 -1
- package/dist/{chunk-HW325JBH.js → chunk-IX3K55NA.js} +4 -4
- package/dist/{chunk-WIJGRX5X.js → chunk-IYYZMZD2.js} +1 -1
- package/dist/{chunk-JX4BEVC3.js → chunk-J237HI2F.js} +41 -29
- package/dist/{chunk-4OZVFZCO.js → chunk-JLUOG6S2.js} +1 -1
- package/dist/{chunk-XMHYE6XY.js → chunk-JMPTLXJQ.js} +3 -3
- package/dist/{chunk-O5G2LEUB.js → chunk-K77GTFH3.js} +3 -3
- package/dist/{chunk-6ODX6SHY.js → chunk-L2GOO2UY.js} +2 -2
- package/dist/{chunk-UDEFHX4Z.js → chunk-L5KXLXFY.js} +15 -15
- package/dist/{chunk-UGX3IARM.js → chunk-LAI7UTBM.js} +30 -28
- package/dist/{chunk-AHRX3FHF.js → chunk-LMCFILEY.js} +3 -3
- package/dist/{chunk-FID757D3.js → chunk-LP7B3JLC.js} +0 -1
- package/dist/chunk-LPB7T67S.js +29 -0
- package/dist/{chunk-VCNPBW4L.js → chunk-LXAJQXHM.js} +1 -1
- package/dist/{chunk-WXEXQLVV.js → chunk-M457GQGR.js} +344 -216
- package/dist/{chunk-MFSQZ2PR.js → chunk-MMCMEW7K.js} +1 -1
- package/dist/{chunk-CJC6U3E7.js → chunk-MPKBIC4Z.js} +2 -2
- package/dist/{chunk-7U2B7OF6.js → chunk-MVJ7AX6W.js} +1 -1
- package/dist/{chunk-3MYEF34S.js → chunk-NFUXYBOR.js} +1 -1
- package/dist/{chunk-RERVXE6J.js → chunk-NHJ5YUBZ.js} +2 -2
- package/dist/{chunk-KJ5QBEMN.js → chunk-NURN5W6M.js} +6 -8
- package/dist/{chunk-ZEKQATYP.js → chunk-NUUN7XB4.js} +6 -6
- package/dist/{chunk-ZQLJLORI.js → chunk-NXVDTRXA.js} +6 -6
- package/dist/{chunk-WRN3ZY5P.js → chunk-O5P75JID.js} +7 -7
- package/dist/{chunk-IMSLXLUI.js → chunk-OSDNRYQJ.js} +1 -1
- package/dist/{chunk-H3MJLPAC.js → chunk-P2A6MYSQ.js} +1 -1
- package/dist/{chunk-JEVWAGQP.js → chunk-P5USY2GC.js} +1 -1
- package/dist/{chunk-6EZ76UBP.js → chunk-PEJQV2RL.js} +17 -17
- package/dist/{chunk-HP6IDD33.js → chunk-PF23WT5C.js} +5 -5
- package/dist/{chunk-ASMDPTT3.js → chunk-PL5C5FKM.js} +1 -1
- package/dist/{chunk-Q5J4OO7N.js → chunk-QT766HQV.js} +38 -20
- package/dist/{chunk-VNKPEYMW.js → chunk-RFLV3WR5.js} +1 -1
- package/dist/{chunk-Q6TVZY36.js → chunk-RYT22J4V.js} +2 -2
- package/dist/{chunk-WOSVLHQH.js → chunk-SCNC7YPB.js} +1 -1
- package/dist/{chunk-3DVDIXOZ.js → chunk-SDYZOTB7.js} +2 -2
- package/dist/{chunk-K2OQYSDS.js → chunk-SJOA2RCP.js} +12 -12
- package/dist/{chunk-RO74CZMK.js → chunk-SQRI67KR.js} +1 -1
- package/dist/{chunk-WUOMBLQL.js → chunk-SWEC6N6N.js} +2 -2
- package/dist/{chunk-TF7VWCJM.js → chunk-TCQKCUDA.js} +1 -1
- package/dist/{chunk-MWBRY5HN.js → chunk-TMYY4DV4.js} +3 -3
- package/dist/{chunk-E3EIKMUU.js → chunk-TTKJF3LI.js} +1 -1
- package/dist/{chunk-AJVYQVDB.js → chunk-U5RXCKWJ.js} +1 -1
- package/dist/{chunk-NKWJNDKO.js → chunk-UAEL2JEL.js} +4 -4
- package/dist/{chunk-C756HYL7.js → chunk-UVF4HXPW.js} +2 -2
- package/dist/chunk-UZGRZRD6.js +413 -0
- package/dist/{chunk-BI33G4XD.js → chunk-V4M7PKBM.js} +7 -7
- package/dist/{chunk-7XHVHBFV.js → chunk-V4Z37HFN.js} +3 -3
- package/dist/{chunk-7ZKUPLMN.js → chunk-VCMPKZFN.js} +18 -18
- package/dist/{chunk-DPAC75N5.js → chunk-VOVC3QCN.js} +3 -3
- package/dist/{chunk-YJBGA3W6.js → chunk-VXWASGGT.js} +2 -2
- package/dist/{chunk-RPMPHUOS.js → chunk-W4EAYORI.js} +3 -3
- package/dist/{chunk-6NG6PATW.js → chunk-W7TS3CZA.js} +1 -1
- package/dist/{chunk-MBRBEXMF.js → chunk-WMZDESYF.js} +1 -1
- package/dist/{chunk-Z2N7XOOB.js → chunk-X2YNB244.js} +3 -3
- package/dist/{chunk-GN3CCXVU.js → chunk-XLERIR2V.js} +1 -1
- package/dist/{chunk-RNUIFYO6.js → chunk-XPGH4KBU.js} +1 -1
- package/dist/{chunk-BFDNZ2JT.js → chunk-YSAK7PJZ.js} +2 -2
- package/dist/{chunk-IEB4IKXF.js → chunk-YU2KLER7.js} +1 -1
- package/dist/{chunk-FW7MDSCQ.js → chunk-Z677PTBA.js} +2 -2
- package/dist/{chunk-3Q7LAXFJ.js → chunk-ZUXES5HA.js} +2 -2
- package/dist/{chunk-C7ME7Y45.js → chunk-ZWJ7PWTY.js} +2 -2
- package/dist/{clean-6YCVFT7D.js → clean-UGV3DTVQ.js} +22 -22
- package/dist/cli.js +64 -65
- package/dist/{cloud-TEJ6UVBU.js → cloud-QJMPTQ3N.js} +5 -6
- package/dist/{cloud-BPWS4GJS.js → cloud-SDC56AHY.js} +4 -4
- package/dist/{cloudrun-A7DU7DQE.js → cloudrun-T7VVPRDG.js} +7 -7
- package/dist/{compare-HELNXJLM.js → compare-LG42JVYH.js} +35 -35
- package/dist/{compiler-J43BE6LC.js → compiler-ZSIKBZBR.js} +4 -4
- package/dist/{component-WEC4QGT3.js → component-OPAFYBPO.js} +3 -3
- package/dist/{compositions-RSUPWPK6.js → compositions-JP655NT3.js} +13 -13
- package/dist/{curve-OK5TBGXV.js → curve-RN7HDXOS.js} +12 -12
- package/dist/{cuts-S5WHYQZZ.js → cuts-ET7N7IBU.js} +13 -13
- package/dist/{delete-5NHJKNWL.js → delete-5552CGT5.js} +8 -9
- package/dist/{deploy-7PLBBXNB.js → deploy-NMFEPGRQ.js} +6 -6
- package/dist/{describeProject-WVLTYWPG.js → describeProject-CWLV5OAT.js} +8 -8
- package/dist/{deterministicFonts-UZIF5XZW.js → deterministicFonts-SKRN3TCP.js} +2 -2
- package/dist/{diff-W4EXKV5Q.js → diff-HZX2TISC.js} +39 -40
- package/dist/{dist-4JHP47NU.js → dist-EFXKPJJT.js} +2 -2
- package/dist/{dist-AUYCAQMA.js → dist-O45G7NET.js} +14 -14
- package/dist/{dist-F3Y2XHZL.js → dist-QRXJMFI7.js} +3 -3
- package/dist/{doctor-7Y75ZXTU.js → doctor-IYEYULPD.js} +12 -12
- package/dist/{energy-Y4KYLWLZ.js → energy-YXEPVRKW.js} +13 -13
- package/dist/{events-3LAHSBBF.js → events-GA24CH3D.js} +8 -8
- package/dist/{events-TQD3L5FS.js → events-JAY5YNEU.js} +15 -15
- package/dist/{events-67Q5DIRC.js → events-KYCNM6C3.js} +4 -4
- package/dist/{extract-6KGIEC76.js → extract-TFEVGLLS.js} +16 -16
- package/dist/{face-OBEAPOZR.js → face-NP7JGAE7.js} +14 -14
- package/dist/{feedback-QTB2UH3Q.js → feedback-UPYWXKHN.js} +14 -15
- package/dist/{ffmpeg-4CMA6M2L.js → ffmpeg-RYNM3JM2.js} +7 -7
- package/dist/{figma-4ZKDJA4R.js → figma-PL4YF6AD.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-OFLJT4D5.js → frames-7CHO3XUP.js} +14 -14
- package/dist/{generate-LHRF4A3Z.js → generate-I3UK6VFX.js} +26 -27
- package/dist/{get-56RYQ7KG.js → get-DRFSJ333.js} +8 -9
- package/dist/{gpuPolicy-35XK273G.js → gpuPolicy-OAUKEMJC.js} +7 -7
- package/dist/{grade-compare-GQVODT4T.js → grade-compare-PYDF6Y6J.js} +37 -37
- package/dist/{gsapParserAcorn-5YD4N6HQ.js → gsapParserAcorn-SKGP4R4N.js} +1 -1
- package/dist/{heifImagePrep-7WN2QNQM.js → heifImagePrep-23E67GBA.js} +8 -8
- package/dist/{help-E2TKPNJJ.js → help-N2SPZK4D.js} +1 -1
- package/dist/{history-AJ2MSBW6.js → history-LXYOTFY7.js} +11 -11
- package/dist/hyperframes-player.global.js +2 -2
- package/dist/{info-HV43ZADN.js → info-ENAE5IAD.js} +15 -15
- package/dist/{init-OHVVGDSF.js → init-DMKB6PK6.js} +29 -29
- package/dist/{ink-IESBIGOE.js → ink-ANDD7W6Y.js} +13 -13
- package/dist/{inspect-Y7YS3ILY.js → inspect-2XZYCFMK.js} +34 -34
- package/dist/{installer-AJESSC5Y.js → installer-VPGNKCEU.js} +5 -5
- package/dist/{keyframes-XSL7JGAF.js → keyframes-UKUFE6ZF.js} +15 -12
- package/dist/{lambda-KU65SSVE.js → lambda-T4WMAZZV.js} +13 -13
- package/dist/{layout-ORX7QBGL.js → layout-FX2Q65LB.js} +34 -34
- package/dist/{lint-KUGT5YHK.js → lint-AHORS3BL.js} +12 -12
- package/dist/{lintProject-Z6TG3Z34.js → lintProject-5CBL7VFV.js} +2 -2
- package/dist/{list-EB3WYTHH.js → list-H7F3WXD4.js} +10 -11
- package/dist/{localPage-QLGKJQ6X.js → localPage-UUSOCL7L.js} +7 -7
- package/dist/{login-O5HWEYI4.js → login-6ORXT7JS.js} +7 -8
- package/dist/{logout-AHGR3X5U.js → logout-FJ444652.js} +4 -6
- package/dist/{look-BPSKQDST.js → look-XFA3GQDV.js} +13 -13
- package/dist/{manager-MNOR566P.js → manager-ZGVNWYBK.js} +8 -8
- package/dist/{measure-USYFR5EK.js → measure-WIARVYP6.js} +11 -11
- package/dist/{media-treatment-5YATQA5D.js → media-treatment-L2OD4GAB.js} +15 -15
- package/dist/{media-use-BA245HF5.js → media-use-SYSDJH23.js} +7 -9
- package/dist/{models-ST3IIAN2.js → models-YOGYUKBX.js} +11 -11
- package/dist/{motionShot-DOIU74HO.js → motionShot-II6JZGTO.js} +19 -19
- package/dist/{normalize-audio-PPSCFVKC.js → normalize-audio-L6V6T2XW.js} +11 -11
- package/dist/{open-R2EPWLS6.js → open-BPGKTYYV.js} +14 -14
- package/dist/{parakeetRunner-Q2SYZVYV.js → parakeetRunner-BWX3UQH4.js} +13 -13
- package/dist/{pipeline-NQ4BI2D7.js → pipeline-O3VKDLBZ.js} +10 -10
- package/dist/{play-J3DJBBXW.js → play-NLZ4D4VN.js} +26 -26
- package/dist/{preflight-DLO6LHGO.js → preflight-HEAPQ7N7.js} +8 -8
- package/dist/{present-MIWYYTIE.js → present-XPLUCZ5Z.js} +21 -21
- package/dist/{preview-DEGHLTT6.js → preview-JAWCYDZP.js} +23 -23
- package/dist/{probe-63RJNPIB.js → probe-3AL2MBSY.js} +13 -13
- package/dist/{producer-H7L5TBE4.js → producer-OQETVMJH.js} +1 -1
- package/dist/{projectConfig-GJL2ZGOU.js → projectConfig-UHYPGWD5.js} +7 -7
- package/dist/{publication-BLLVTVD6.js → publication-5KOANEHK.js} +3 -3
- package/dist/{publish-CYPJA7T7.js → publish-C3ARXH6D.js} +23 -83
- package/dist/{refresh-TB4TNH7R.js → refresh-YY4K2RWR.js} +3 -4
- package/dist/{remove-background-KX574FQY.js → remove-background-2SNU7KAA.js} +11 -11
- package/dist/{render-SHUBWBK4.js → render-FFA55SPM.js} +938 -316
- package/dist/{render-N7PKCVEP.js → render-IKHZUOCM.js} +44 -45
- package/dist/{render-RUEXLOWE.js → render-TSV3XTQV.js} +6 -6
- package/dist/{render-batch-QFGQD5FM.js → render-batch-ISMXAG7F.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-HQIDF3TF.js → resolver-ZWNLOG6O.js} +5 -5
- package/dist/{reverse-D2XWX6FV.js → reverse-74KYO2KF.js} +1 -1
- package/dist/{run-EVZGKUEX.js → run-UPKPPRV7.js} +4 -5
- package/dist/{screenshotCapture-4JLD2OQZ.js → screenshotCapture-HBOH5VXI.js} +8 -8
- package/dist/{sherpa-LU5AOQHV.js → sherpa-DBCTQWM3.js} +12 -12
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +0 -20
- package/dist/{skills-KVQ2G6P5.js → skills-YYOPM674.js} +11 -11
- package/dist/{skillsUpdateCheck-EB54PRMT.js → skillsUpdateCheck-2G4HUWXT.js} +4 -4
- package/dist/{snapshot-QWO6OXG3.js → snapshot-FSN6MIFT.js} +50 -48
- package/dist/{src-WMZX5C4A.js → src-PZKWEQB3.js} +12 -12
- package/dist/{src-I3B7LYZM.js → src-W2OMGCC2.js} +6 -6
- package/dist/{start-ACVZUBZX.js → start-BC3LQ6XM.js} +24 -25
- package/dist/{staticProjectServer-C6KEOAYY.js → staticProjectServer-NOC42RG6.js} +19 -19
- package/dist/{status-RYI42XDB.js → status-GAMGQR6J.js} +18 -20
- package/dist/studio/assets/{codec-D6qbrtZY.js → codec-DqZyhFXM.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-BVe9IO80.js → hyperframes-player-aBBb_UoJ.js} +2 -2
- package/dist/studio/assets/{index-BZu8x7Q5.js → index-CceqlOsz.js} +1 -1
- package/dist/studio/assets/{index-Cq2w6U13.css → index-dsfjBidg.css} +1 -1
- package/dist/studio/assets/{index-Cl9fSd9I.js → index-nztwvLTw.js} +184 -184
- package/dist/studio/assets/{pausedVideoDecoder-DfnHfnL7.js → pausedVideoDecoder-CwC0h32O.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-RBURPKYX.js → studio-api-2I44WB4P.js} +14 -14
- package/dist/{studioServer-J5DYNR6R.js → studioServer-YOES7J26.js} +83 -434
- package/dist/{sync-MUKE7NSP.js → sync-SAFSREBK.js} +13 -13
- package/dist/{telemetry-6MDOWNLT.js → telemetry-JKUAFRWX.js} +8 -8
- package/dist/{templates-LWPXN7M2.js → templates-T63OMFEN.js} +18 -19
- package/dist/{timeline-WTBC3J7O.js → timeline-4WIGTZRE.js} +21 -21
- package/dist/{tokens-4NPCCANL.js → tokens-JK3XREP4.js} +2 -2
- package/dist/{transcribe-RL7LGXU6.js → transcribe-APCPBJXE.js} +10 -10
- package/dist/{transcribe-NZJPYTM7.js → transcribe-DWCOZPAN.js} +28 -29
- package/dist/{tts-NANTORLP.js → tts-HOZ6X3MD.js} +1 -1
- package/dist/{update-DZCGNNOU.js → update-I3DN6NUV.js} +12 -12
- package/dist/{updateCheck-N3C56RNJ.js → updateCheck-5C2PHZ24.js} +3 -3
- package/dist/{upgrade-RCV7ZF5Z.js → upgrade-KBMPHPSY.js} +4 -4
- package/dist/{urlDownloader-SSPDDS4Y.js → urlDownloader-T5UKNPTJ.js} +6 -6
- package/dist/{validate-HQDRN6T3.js → validate-YNITWYCF.js} +28 -28
- package/dist/{video-FPDBQAXL.js → video-JRQOXAZ2.js} +8 -8
- package/dist/{voices-PMLIXQT4.js → voices-7QS4D5EP.js} +23 -24
- package/dist/warmCheck.js +44 -43
- package/package.json +1 -2
- package/dist/chunk-DDCFX533.js +0 -387
- package/dist/chunk-EKT2P27A.js +0 -538
- package/dist/chunk-F2FRUMWN.js +0 -3699
- package/dist/chunk-JE2YBPC5.js +0 -152
- package/dist/chunk-U2NESB4H.js +0 -173
- package/dist/chunk-USTPTY7P.js +0 -51
- package/dist/chunk-VHXIMBTF.js +0 -343
- package/dist/contract/LICENSE-Unicode.txt +0 -39
- package/dist/contract/path-policy.json +0 -311
- package/dist/contract/unicode-15.1.0.json +0 -6179
- package/dist/execute-GFHAD3L6.js +0 -109
- package/dist/oauth-KUPQUH6E.js +0 -40
- package/dist/plan-CN2TTIAA.js +0 -88
- package/dist/service-L3K45WOD.js +0 -68
- package/dist/share-7G44HDSY.js +0 -226
- package/dist/{destroy-IWHFUGJL.js → destroy-YAMTVR2W.js} +4 -4
- package/dist/{synthesize-NJKCIPKW.js → synthesize-MDW4ZWTN.js} +5 -5
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
rewriteHtmlAttributes,
|
|
14
14
|
rewriteStyleBlocks,
|
|
15
15
|
stagedSize
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NURN5W6M.js";
|
|
17
17
|
import {
|
|
18
18
|
probeAudio
|
|
19
19
|
} from "./chunk-SWC3QIEH.js";
|
|
@@ -21,13 +21,13 @@ import {
|
|
|
21
21
|
findFFmpeg,
|
|
22
22
|
findFFprobe,
|
|
23
23
|
getFFmpegInstallHint
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-P2A6MYSQ.js";
|
|
25
25
|
import {
|
|
26
26
|
formatBytes
|
|
27
27
|
} from "./chunk-FGFVUKPP.js";
|
|
28
28
|
import {
|
|
29
29
|
parseAnimatedGifMetadata
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-RYT22J4V.js";
|
|
31
31
|
import {
|
|
32
32
|
cleanAssetUrl,
|
|
33
33
|
isRemoteOrInlineUrl,
|
|
@@ -656,7 +656,7 @@ async function prepareEntryGifs(ctx, fileMap) {
|
|
|
656
656
|
if (!html || !/\.gif\b/i.test(html)) return;
|
|
657
657
|
const sourceAssets = entryGifSources(ctx, entryPath, html);
|
|
658
658
|
if (!sourceAssets) return;
|
|
659
|
-
const prep = ctx.opts.gifPrep ?? (await import("./src-
|
|
659
|
+
const prep = ctx.opts.gifPrep ?? (await import("./src-PZKWEQB3.js")).prepareAnimatedGifInputs;
|
|
660
660
|
const outputDir = mkdtempSync(join(tmpdir(), "hf-offload-gif-"));
|
|
661
661
|
ctx.tempFiles.push(outputDir);
|
|
662
662
|
const result = await prep(html, {
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GUHCMOE2.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QT766HQV.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-IEXRKKHC.js";
|
|
@@ -0,0 +1,413 @@
|
|
|
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
|
+
alive,
|
|
9
|
+
readHolder,
|
|
10
|
+
release
|
|
11
|
+
} from "./chunk-GGDJLN5I.js";
|
|
12
|
+
import {
|
|
13
|
+
shouldTrack
|
|
14
|
+
} from "./chunk-EENM7GX3.js";
|
|
15
|
+
import {
|
|
16
|
+
createFileAtomically
|
|
17
|
+
} from "./chunk-IEXRKKHC.js";
|
|
18
|
+
import {
|
|
19
|
+
processIdentity
|
|
20
|
+
} from "./chunk-PV4XID2A.js";
|
|
21
|
+
import {
|
|
22
|
+
hyperframesCacheDir
|
|
23
|
+
} from "./chunk-JOQR4AP6.js";
|
|
24
|
+
|
|
25
|
+
// src/telemetry/renderObservability.ts
|
|
26
|
+
function renderObservabilityTelemetryPayload(observability) {
|
|
27
|
+
if (!observability) return {};
|
|
28
|
+
const diagnostics = observability.browserDiagnostics;
|
|
29
|
+
const capture = observability.capture;
|
|
30
|
+
const extraction = observability.extraction;
|
|
31
|
+
const init = observability.init;
|
|
32
|
+
return {
|
|
33
|
+
observabilityRenderJobId: observability.renderJobId,
|
|
34
|
+
observabilityCompositionHash: observability.compositionHash,
|
|
35
|
+
observabilityEventCount: observability.eventCount,
|
|
36
|
+
observabilityLastPhase: observability.lastEvent?.phase,
|
|
37
|
+
observabilityLastStatus: observability.lastEvent?.status,
|
|
38
|
+
observabilityFailedPhase: observability.failedPhase,
|
|
39
|
+
browserDiagnosticCount: diagnostics.total,
|
|
40
|
+
browserDiagnosticErrors: diagnostics.errors,
|
|
41
|
+
browserDiagnosticPageErrors: diagnostics.pageErrors,
|
|
42
|
+
browserDiagnosticRequestFailed: diagnostics.requestFailed,
|
|
43
|
+
browserDiagnosticHttpErrors: diagnostics.httpErrors,
|
|
44
|
+
browserDiagnosticNavigationStarts: diagnostics.navigationStarts,
|
|
45
|
+
browserDiagnosticNavigationFailures: diagnostics.navigationFailures,
|
|
46
|
+
browserDiagnosticConsoleErrors: diagnostics.consoleErrors,
|
|
47
|
+
browserDiagnosticConsoleWarnings: diagnostics.consoleWarnings,
|
|
48
|
+
captureMode: capture.captureMode,
|
|
49
|
+
captureForceScreenshot: capture.forceScreenshot,
|
|
50
|
+
captureWorkerCount: capture.workerCount,
|
|
51
|
+
captureUseStreamingEncode: capture.useStreamingEncode,
|
|
52
|
+
captureUseLayeredComposite: capture.useLayeredComposite,
|
|
53
|
+
captureUsePageSideCompositing: capture.usePageSideCompositing,
|
|
54
|
+
captureHasHdrContent: capture.hasHdrContent,
|
|
55
|
+
captureBrowserGpuMode: capture.browserGpuMode,
|
|
56
|
+
captureProtocolTimeoutMs: capture.protocolTimeoutMs,
|
|
57
|
+
capturePageNavigationTimeoutMs: capture.pageNavigationTimeoutMs,
|
|
58
|
+
capturePlayerReadyTimeoutMs: capture.playerReadyTimeoutMs,
|
|
59
|
+
captureTransientRetries: capture.transientRetries,
|
|
60
|
+
captureMemoryExhaustionDetected: capture.memoryExhaustionDetected,
|
|
61
|
+
captureDeWorkerInversion: capture.deWorkerInversion,
|
|
62
|
+
captureDePreInversionWorkers: capture.dePreInversionWorkers,
|
|
63
|
+
captureCompositionElementCount: capture.compositionElementCount,
|
|
64
|
+
captureCompositionElementCountSource: capture.compositionElementCountSource,
|
|
65
|
+
captureCompositionElementTags: capture.compositionElementTags,
|
|
66
|
+
captureArollVideoCount: capture.arollVideoCount,
|
|
67
|
+
captureHeygenVideoCount: capture.heygenVideoCount,
|
|
68
|
+
captureAdaptersUsed: capture.adaptersUsed,
|
|
69
|
+
captureAudioCount: capture.audioCount,
|
|
70
|
+
captureImageCount: capture.imageCount,
|
|
71
|
+
captureSubCompositionCount: capture.subCompositionCount,
|
|
72
|
+
captureAudioGroupCount: capture.audioGroupCount,
|
|
73
|
+
captureColorGradingCount: capture.colorGradingCount,
|
|
74
|
+
captureHasLut: capture.hasLut,
|
|
75
|
+
captureRootBodyMismatch: capture.rootBodyMismatch,
|
|
76
|
+
captureRootBodyDeltaPxBucket: capture.rootBodyDeltaPxBucket,
|
|
77
|
+
captureDeShortBand: capture.deShortBand,
|
|
78
|
+
captureDeParallelRouter: capture.deParallelRouter,
|
|
79
|
+
captureDeGpuRenderer: capture.deGpuRenderer,
|
|
80
|
+
captureDePreRouterWorkers: capture.dePreRouterWorkers,
|
|
81
|
+
captureDeSelfVerifyFallback: capture.deSelfVerifyFallback,
|
|
82
|
+
captureDeFallbackReason: capture.deFallbackReason,
|
|
83
|
+
captureDeFallbackFailedDb: capture.deFallbackFailedDb,
|
|
84
|
+
captureDeFallbackFrameIndex: capture.deFallbackFrameIndex,
|
|
85
|
+
captureDeFallbackThresholdDb: capture.deFallbackThresholdDb,
|
|
86
|
+
captureParallelStream: capture.captureParallelStream,
|
|
87
|
+
captureChromeBrowserRssPeakMb: capture.chromeBrowserRssPeakMb,
|
|
88
|
+
captureChromeRendererRssPeakMb: capture.chromeRendererRssPeakMb,
|
|
89
|
+
captureChromeRssLastMb: capture.chromeRssLastMb,
|
|
90
|
+
captureChromeGpuProcessSeenLastSample: capture.chromeGpuProcessSeenLastSample,
|
|
91
|
+
captureChromeMemorySamples: capture.chromeMemorySamples,
|
|
92
|
+
captureCapturePath: capture.capturePath,
|
|
93
|
+
captureSegmentIndex: capture.segmentIndex,
|
|
94
|
+
captureSegmentRetries: capture.segmentRetries,
|
|
95
|
+
observabilityExtractVideoCount: extraction?.videoCount,
|
|
96
|
+
observabilityExtractedVideoCount: extraction?.extractedVideoCount,
|
|
97
|
+
observabilityExtractTotalFrames: extraction?.totalFramesExtracted,
|
|
98
|
+
observabilityExtractMaxFramesPerVideo: extraction?.maxFramesPerVideo,
|
|
99
|
+
observabilityExtractAvgFramesPerVideo: extraction?.avgFramesPerExtractedVideo,
|
|
100
|
+
observabilityExtractVfrProbeMs: extraction?.vfrProbeMs,
|
|
101
|
+
observabilityExtractVfrPreflightMs: extraction?.vfrPreflightMs,
|
|
102
|
+
observabilityExtractVfrPreflightCount: extraction?.vfrPreflightCount,
|
|
103
|
+
observabilityExtractCacheHits: extraction?.cacheHits,
|
|
104
|
+
observabilityExtractCacheMisses: extraction?.cacheMisses,
|
|
105
|
+
observabilityInitDurationMs: init?.initDurationMs,
|
|
106
|
+
observabilityInitTweenCount: init?.tweenCount,
|
|
107
|
+
observabilityInitElementCount: init?.elementCount
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
function renderJobObservabilityTelemetryPayload(job) {
|
|
111
|
+
return {
|
|
112
|
+
...renderObservabilityTelemetryPayload(
|
|
113
|
+
job?.errorDetails?.observability ?? job?.perfSummary?.observability
|
|
114
|
+
),
|
|
115
|
+
subTimelineWait: job?.errorDetails?.subTimelineWait ?? job?.perfSummary?.subTimelineWait
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// src/telemetry/renderCpu.ts
|
|
120
|
+
import { cpus, loadavg, platform } from "os";
|
|
121
|
+
var SAMPLE_INTERVAL_MS = 2e3;
|
|
122
|
+
var BUSY_CORE_PCT = 80;
|
|
123
|
+
function readCoreTimes() {
|
|
124
|
+
return cpus().map(({ times }) => {
|
|
125
|
+
const total = times.user + times.nice + times.sys + times.idle + times.irq;
|
|
126
|
+
return { busy: total - times.idle, total };
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function busyBetween(from, to) {
|
|
130
|
+
let busy = 0;
|
|
131
|
+
let total = 0;
|
|
132
|
+
let coresBusy = 0;
|
|
133
|
+
to.forEach((core, i) => {
|
|
134
|
+
const before = from[i];
|
|
135
|
+
if (!before) return;
|
|
136
|
+
const dBusy = core.busy - before.busy;
|
|
137
|
+
const dTotal = core.total - before.total;
|
|
138
|
+
if (dTotal <= 0) return;
|
|
139
|
+
busy += dBusy;
|
|
140
|
+
total += dTotal;
|
|
141
|
+
if (dBusy / dTotal * 100 >= BUSY_CORE_PCT) coresBusy++;
|
|
142
|
+
});
|
|
143
|
+
return total > 0 ? { pct: Math.round(busy / total * 100), coresBusy } : null;
|
|
144
|
+
}
|
|
145
|
+
function readLoadAvg() {
|
|
146
|
+
if (platform() === "win32") return void 0;
|
|
147
|
+
return Math.round((loadavg()[0] ?? 0) * 100) / 100;
|
|
148
|
+
}
|
|
149
|
+
var DISABLED = { stop: () => ({}) };
|
|
150
|
+
function startRenderCpuSampler(requesterOptedIn = true) {
|
|
151
|
+
if (!requesterOptedIn || !shouldTrack()) return DISABLED;
|
|
152
|
+
const start = readCoreTimes();
|
|
153
|
+
const loadAvgStart = readLoadAvg();
|
|
154
|
+
let last = start;
|
|
155
|
+
let peak = null;
|
|
156
|
+
const sample = () => {
|
|
157
|
+
const now = readCoreTimes();
|
|
158
|
+
const window = busyBetween(last, now);
|
|
159
|
+
if (window && (!peak || window.pct > peak.pct)) peak = window;
|
|
160
|
+
last = now;
|
|
161
|
+
};
|
|
162
|
+
const timer = setInterval(sample, SAMPLE_INTERVAL_MS);
|
|
163
|
+
timer.unref?.();
|
|
164
|
+
let result;
|
|
165
|
+
return {
|
|
166
|
+
stop() {
|
|
167
|
+
if (result) return result;
|
|
168
|
+
clearInterval(timer);
|
|
169
|
+
sample();
|
|
170
|
+
const avg = busyBetween(start, last);
|
|
171
|
+
result = {
|
|
172
|
+
cpuBusyAvgPct: avg?.pct,
|
|
173
|
+
cpuBusyPeakPct: peak?.pct,
|
|
174
|
+
cpuCoresBusyPeak: peak?.coresBusy,
|
|
175
|
+
loadAvgStart,
|
|
176
|
+
loadAvgEnd: readLoadAvg()
|
|
177
|
+
};
|
|
178
|
+
return result;
|
|
179
|
+
}
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
// src/utils/renderLock.ts
|
|
184
|
+
import { existsSync as existsSync2 } from "fs";
|
|
185
|
+
import { dirname as dirname2 } from "path";
|
|
186
|
+
|
|
187
|
+
// src/utils/renderLockClaim.ts
|
|
188
|
+
import { chmodSync, existsSync, mkdirSync, unlinkSync as unlinkSync2 } from "fs";
|
|
189
|
+
|
|
190
|
+
// src/utils/renderLockOwners.ts
|
|
191
|
+
import { randomBytes } from "crypto";
|
|
192
|
+
import { readdirSync, readFileSync, unlinkSync, writeFileSync } from "fs";
|
|
193
|
+
import { basename, dirname, join } from "path";
|
|
194
|
+
var markerPrefix = (lockPath) => `${basename(lockPath)}.owner-`;
|
|
195
|
+
var HELD_CODES = new Set(process.platform === "win32" ? ["EPERM", "EBUSY", "EACCES"] : ["EBUSY"]);
|
|
196
|
+
var UNREMOVABLE_CODES = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "EBUSY"]);
|
|
197
|
+
var errorCode = (error) => error.code ?? "";
|
|
198
|
+
function isHeldError(error) {
|
|
199
|
+
return HELD_CODES.has(errorCode(error));
|
|
200
|
+
}
|
|
201
|
+
function startToken(pid) {
|
|
202
|
+
return process.platform === "win32" ? null : processIdentity(pid);
|
|
203
|
+
}
|
|
204
|
+
function writeOwnerMarker(lockPath, owner) {
|
|
205
|
+
const name = `${markerPrefix(lockPath)}${owner.pid}-${randomBytes(6).toString("hex")}`;
|
|
206
|
+
const marker = join(dirname(lockPath), name);
|
|
207
|
+
writeFileSync(marker, JSON.stringify(owner), { flag: "wx" });
|
|
208
|
+
return marker;
|
|
209
|
+
}
|
|
210
|
+
function removeIfPresent(marker) {
|
|
211
|
+
try {
|
|
212
|
+
unlinkSync(marker);
|
|
213
|
+
} catch (error) {
|
|
214
|
+
if (!UNREMOVABLE_CODES.has(errorCode(error))) throw error;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
function recordedIdentity(marker) {
|
|
218
|
+
try {
|
|
219
|
+
const owner = JSON.parse(readFileSync(marker, "utf8"));
|
|
220
|
+
return typeof owner.identity === "string" ? owner.identity : null;
|
|
221
|
+
} catch {
|
|
222
|
+
return null;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
function sameProcess(pid, identity) {
|
|
226
|
+
if (!Number.isInteger(pid) || pid <= 0 || !alive(pid)) return false;
|
|
227
|
+
const current = identity && startToken(pid);
|
|
228
|
+
return !identity || !current || current === identity;
|
|
229
|
+
}
|
|
230
|
+
function liveOtherOwners(lockPath, own) {
|
|
231
|
+
const dir = dirname(lockPath);
|
|
232
|
+
const prefix = markerPrefix(lockPath);
|
|
233
|
+
let live = 0;
|
|
234
|
+
for (const name of readdirSync(dir)) {
|
|
235
|
+
if (!name.startsWith(prefix)) continue;
|
|
236
|
+
const marker = join(dir, name);
|
|
237
|
+
if (marker === own) continue;
|
|
238
|
+
if (sameProcess(Number(name.slice(prefix.length).split("-")[0]), recordedIdentity(marker))) {
|
|
239
|
+
live += 1;
|
|
240
|
+
} else removeIfPresent(marker);
|
|
241
|
+
}
|
|
242
|
+
return live;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
// src/utils/renderLockClaim.ts
|
|
246
|
+
var RenderLockStaleBreak = class extends Error {
|
|
247
|
+
constructor(breakPath) {
|
|
248
|
+
super(
|
|
249
|
+
`A render that was reclaiming the render slot stopped part way and left ${breakPath}. No render is using it: delete that file, then run the render again.`
|
|
250
|
+
);
|
|
251
|
+
this.breakPath = breakPath;
|
|
252
|
+
this.name = "RenderLockStaleBreak";
|
|
253
|
+
}
|
|
254
|
+
breakPath;
|
|
255
|
+
};
|
|
256
|
+
var RenderLockUnwritable = class extends Error {
|
|
257
|
+
constructor(dir, cause) {
|
|
258
|
+
super(
|
|
259
|
+
`This account cannot write to ${dir}, where renders take their turn. If accounts share HYPERFRAMES_CACHE_DIR, make the folder writable for all of them (chmod 777 ${dir}); otherwise unset HYPERFRAMES_CACHE_DIR.`,
|
|
260
|
+
{ cause }
|
|
261
|
+
);
|
|
262
|
+
this.dir = dir;
|
|
263
|
+
this.name = "RenderLockUnwritable";
|
|
264
|
+
}
|
|
265
|
+
dir;
|
|
266
|
+
};
|
|
267
|
+
function ensureLockDir(dir) {
|
|
268
|
+
if (mkdirSync(dir, { recursive: true }) !== void 0 && process.platform !== "win32") {
|
|
269
|
+
chmodSync(dir, 511);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
var holderAlive = (holder) => sameProcess(holder.pid, holder.identity);
|
|
273
|
+
var sameRecord = (a, b) => a?.pid === b.pid && a.startedAt === b.startedAt && a.identity === b.identity;
|
|
274
|
+
function createExclusive(path, holder) {
|
|
275
|
+
try {
|
|
276
|
+
createFileAtomically(path, JSON.stringify(holder));
|
|
277
|
+
return true;
|
|
278
|
+
} catch (error) {
|
|
279
|
+
if (error.code === "EEXIST") return false;
|
|
280
|
+
throw error;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
var writerAbsent = (file, lockPath, marker) => existsSync(file) && !readHolder(file) && liveOtherOwners(lockPath, marker) === 0;
|
|
284
|
+
async function takeOver(path, holder, observed, marker, beforeReplace) {
|
|
285
|
+
const breakPath = `${path}.break`;
|
|
286
|
+
if (!createExclusive(breakPath, holder)) {
|
|
287
|
+
const breaker = readHolder(breakPath);
|
|
288
|
+
if (breaker ? holderAlive(breaker) : !writerAbsent(breakPath, path, marker)) return false;
|
|
289
|
+
throw new RenderLockStaleBreak(breakPath);
|
|
290
|
+
}
|
|
291
|
+
try {
|
|
292
|
+
await beforeReplace?.();
|
|
293
|
+
const stillStale = observed ? sameRecord(readHolder(path), observed) : writerAbsent(path, path, marker);
|
|
294
|
+
if (stillStale) removeIfPresent(path);
|
|
295
|
+
return createExclusive(path, holder);
|
|
296
|
+
} finally {
|
|
297
|
+
if (sameRecord(readHolder(breakPath), holder)) unlinkSync2(breakPath);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
async function claimSlot(path, holder, marker, beforeReplace) {
|
|
301
|
+
if (createExclusive(path, holder)) return true;
|
|
302
|
+
const current = readHolder(path);
|
|
303
|
+
if (current ? holderAlive(current) : !writerAbsent(path, path, marker)) return false;
|
|
304
|
+
return takeOver(path, holder, current, marker, beforeReplace);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
// src/utils/renderLock.ts
|
|
308
|
+
var RenderLockBusy = class extends Error {
|
|
309
|
+
constructor(holder, path) {
|
|
310
|
+
super(`Another render is running (${describeRenderLockHolder(holder, Date.now())})`);
|
|
311
|
+
this.holder = holder;
|
|
312
|
+
this.path = path;
|
|
313
|
+
this.name = "RenderLockBusy";
|
|
314
|
+
}
|
|
315
|
+
holder;
|
|
316
|
+
path;
|
|
317
|
+
};
|
|
318
|
+
var POLL_MS = 1e3;
|
|
319
|
+
var renderLockPath = () => hyperframesCacheDir("locks", "render.lock");
|
|
320
|
+
function renderLockDisabled(env = process.env) {
|
|
321
|
+
const value = env.HYPERFRAMES_RENDER_LOCK?.trim().toLowerCase();
|
|
322
|
+
return value === "off" || value === "0" || value === "false";
|
|
323
|
+
}
|
|
324
|
+
function describeRenderLockHolder(holder, now) {
|
|
325
|
+
if (!holder) return "holder unknown";
|
|
326
|
+
const seconds = Math.max(0, Math.round((now - holder.startedAt) / 1e3));
|
|
327
|
+
const running = seconds >= 60 ? `${Math.floor(seconds / 60)}m ${seconds % 60}s` : `${seconds}s`;
|
|
328
|
+
return `pid ${holder.pid}, project ${holder.project}, running ${running}`;
|
|
329
|
+
}
|
|
330
|
+
function pause(ms, signal) {
|
|
331
|
+
return new Promise((resolve, reject) => {
|
|
332
|
+
if (signal?.aborted) return reject(signal.reason);
|
|
333
|
+
const onAbort = () => {
|
|
334
|
+
clearTimeout(timer);
|
|
335
|
+
reject(signal?.reason);
|
|
336
|
+
};
|
|
337
|
+
const timer = setTimeout(() => {
|
|
338
|
+
signal?.removeEventListener("abort", onAbort);
|
|
339
|
+
resolve();
|
|
340
|
+
}, ms);
|
|
341
|
+
signal?.addEventListener("abort", onAbort, { once: true });
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
var sameWaitTarget = (a, b) => a?.pid === b?.pid && a?.startedAt === b?.startedAt;
|
|
345
|
+
async function acquireRenderLock(options) {
|
|
346
|
+
if (renderLockDisabled(options.env)) return () => {
|
|
347
|
+
};
|
|
348
|
+
const contender = prepareContender(options);
|
|
349
|
+
let waitingBehind;
|
|
350
|
+
let retriedVanished = false;
|
|
351
|
+
for (; ; ) {
|
|
352
|
+
options.signal?.throwIfAborted();
|
|
353
|
+
const releaseSlot = await claimOnce(contender);
|
|
354
|
+
if (releaseSlot) return releaseSlot;
|
|
355
|
+
const { path } = contender;
|
|
356
|
+
const current = readHolder(path);
|
|
357
|
+
retriedVanished = !current && !existsSync2(path) && !retriedVanished;
|
|
358
|
+
if (retriedVanished) continue;
|
|
359
|
+
if (!options.wait) throw new RenderLockBusy(current, path);
|
|
360
|
+
if (waitingBehind === void 0 || !sameWaitTarget(waitingBehind, current)) {
|
|
361
|
+
waitingBehind = current;
|
|
362
|
+
options.onWait?.(current, path);
|
|
363
|
+
}
|
|
364
|
+
await pause(options.pollMs ?? POLL_MS, options.signal);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
function prepareContender(options) {
|
|
368
|
+
const path = options.path ?? renderLockPath();
|
|
369
|
+
ensureLockDir(dirname2(path));
|
|
370
|
+
liveOtherOwners(path);
|
|
371
|
+
const pid = options.pid ?? process.pid;
|
|
372
|
+
const identity = startToken(pid);
|
|
373
|
+
return {
|
|
374
|
+
path,
|
|
375
|
+
holder: { pid, command: "render", startedAt: Date.now(), project: options.project, identity },
|
|
376
|
+
owner: { pid, identity },
|
|
377
|
+
claim: options.claim ?? ((lock, holder, marker) => claimSlot(lock, holder, marker, options.beforeReplace))
|
|
378
|
+
};
|
|
379
|
+
}
|
|
380
|
+
var notWritable = (error) => process.platform !== "win32" && ["EACCES", "EPERM"].includes(error.code ?? "");
|
|
381
|
+
async function claimOnce({ path, holder, owner, claim }) {
|
|
382
|
+
let marker;
|
|
383
|
+
try {
|
|
384
|
+
marker = writeOwnerMarker(path, owner);
|
|
385
|
+
} catch (error) {
|
|
386
|
+
throw notWritable(error) ? new RenderLockUnwritable(dirname2(path), error) : error;
|
|
387
|
+
}
|
|
388
|
+
let held = false;
|
|
389
|
+
try {
|
|
390
|
+
held = await claim(path, holder, marker);
|
|
391
|
+
} catch (error) {
|
|
392
|
+
if (notWritable(error)) throw new RenderLockUnwritable(dirname2(path), error);
|
|
393
|
+
if (!isHeldError(error)) throw error;
|
|
394
|
+
} finally {
|
|
395
|
+
if (!held) removeIfPresent(marker);
|
|
396
|
+
}
|
|
397
|
+
if (!held) return null;
|
|
398
|
+
return () => {
|
|
399
|
+
release(path, holder);
|
|
400
|
+
removeIfPresent(marker);
|
|
401
|
+
};
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export {
|
|
405
|
+
renderObservabilityTelemetryPayload,
|
|
406
|
+
renderJobObservabilityTelemetryPayload,
|
|
407
|
+
startRenderCpuSampler,
|
|
408
|
+
RenderLockStaleBreak,
|
|
409
|
+
RenderLockUnwritable,
|
|
410
|
+
RenderLockBusy,
|
|
411
|
+
describeRenderLockHolder,
|
|
412
|
+
acquireRenderLock
|
|
413
|
+
};
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-5RUGBDAC.js";
|
|
11
11
|
import {
|
|
12
12
|
readJsonFlag
|
|
13
13
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
loadProjectConfig,
|
|
18
18
|
projectConfigPath,
|
|
19
19
|
recordProjectRegistryItems
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IYYZMZD2.js";
|
|
21
21
|
import {
|
|
22
22
|
resolveItemWithDependencies,
|
|
23
23
|
resolveItemsByTag
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6FHIR4KD.js";
|
|
25
25
|
import {
|
|
26
26
|
InvalidVariableValuesError,
|
|
27
27
|
prepareItem,
|
|
28
28
|
publishItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3JFV42QB.js";
|
|
30
30
|
import {
|
|
31
31
|
DEFAULT_REGISTRY_URL
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MVJ7AX6W.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5E6Y7CW3.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-VU4EPKFI.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RYT22J4V.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NFUXYBOR.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-RYT22J4V.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
decodeAuthoredAttribute,
|
|
38
38
|
scanHtmlOpeningTags
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-IOPIOX5K.js";
|
|
40
40
|
|
|
41
41
|
// ../studio-server/dist/chunk-UBOFRR6H.js
|
|
42
42
|
import { statSync } from "fs";
|
|
@@ -7,15 +7,15 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
ambiguousIssue,
|
|
9
9
|
loadBrowserScript
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SJOA2RCP.js";
|
|
11
11
|
import {
|
|
12
12
|
auditClipDurations,
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PEJQV2RL.js";
|
|
16
16
|
import {
|
|
17
17
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O5P75JID.js";
|
|
19
19
|
import {
|
|
20
20
|
AUDIT_SEEK_OPTIONS,
|
|
21
21
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,18 +29,22 @@ import {
|
|
|
29
29
|
seekCompositionTimeline,
|
|
30
30
|
seekInPage,
|
|
31
31
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-L5KXLXFY.js";
|
|
33
33
|
import {
|
|
34
34
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
35
|
withRemainingBudget
|
|
36
36
|
} from "./chunk-YGGZ23BB.js";
|
|
37
37
|
import {
|
|
38
38
|
findStageProxyBox
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-BJYCLZBQ.js";
|
|
40
40
|
import {
|
|
41
41
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
42
42
|
STUDIO_PREVIEW_MARK_META
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-J237HI2F.js";
|
|
44
|
+
import {
|
|
45
|
+
artifactDirectory,
|
|
46
|
+
finishSnapshotRun
|
|
47
|
+
} from "./chunk-BF6RWOUF.js";
|
|
44
48
|
import {
|
|
45
49
|
FfmpegUnavailableError,
|
|
46
50
|
decideMediaProxyEligibility,
|
|
@@ -50,25 +54,21 @@ import {
|
|
|
50
54
|
resolveProxies,
|
|
51
55
|
scanProjectMediaCodecMap,
|
|
52
56
|
shouldPrewarmProxy
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import {
|
|
55
|
-
artifactDirectory,
|
|
56
|
-
finishSnapshotRun
|
|
57
|
-
} from "./chunk-BF6RWOUF.js";
|
|
57
|
+
} from "./chunk-V4Z37HFN.js";
|
|
58
58
|
import {
|
|
59
59
|
BrowserCleanupError,
|
|
60
60
|
closeManagedBrowser,
|
|
61
61
|
onStopSignal
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-SDYZOTB7.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveAutoProxy
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-IYYZMZD2.js";
|
|
66
66
|
import {
|
|
67
67
|
DEFAULT_CONFIG
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-QT766HQV.js";
|
|
69
69
|
import {
|
|
70
70
|
injectTagsAtHeadStart
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-F24B2PLD.js";
|
|
72
72
|
import {
|
|
73
73
|
parseHTML
|
|
74
74
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -928,7 +928,7 @@ function proxyFailedDraft(message) {
|
|
|
928
928
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
929
929
|
}
|
|
930
930
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
931
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
931
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-YGHFRVJW.js");
|
|
932
932
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
933
933
|
}
|
|
934
934
|
function withCapturePreviewMark(html) {
|
|
@@ -1001,7 +1001,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1001
1001
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1002
1002
|
}));
|
|
1003
1003
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1004
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1004
|
+
const { analyzeClipMediaFit } = await import("./src-W2OMGCC2.js");
|
|
1005
1005
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1006
1006
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1007
1007
|
}
|
|
@@ -1143,7 +1143,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1143
1143
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1144
1144
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1145
1145
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1146
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1146
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-YGHFRVJW.js");
|
|
1147
1147
|
return withCapturePreviewMark(
|
|
1148
1148
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1149
1149
|
);
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U5RXCKWJ.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-FGFVUKPP.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QT766HQV.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RYT22J4V.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-54FVSPRH.js";
|
|
16
16
|
import {
|
|
17
17
|
createProjectConfig
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IYYZMZD2.js";
|
|
19
19
|
import {
|
|
20
20
|
isHyperframesProject
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RYT22J4V.js";
|
|
22
22
|
import {
|
|
23
23
|
isCI
|
|
24
24
|
} from "./chunk-PQYICV7O.js";
|