hyperframes 0.9.16 → 0.9.18
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 +3 -2
- package/dist/{add-GEGI5ERI.js → add-R3OQEWVP.js} +12 -12
- package/dist/{agentPromptGenerator-VV7UQDGL.js → agentPromptGenerator-53UGASPS.js} +6 -7
- package/dist/{animatedGifPrep-JTPCKJ44.js → animatedGifPrep-XTZ3NW4D.js} +6 -7
- package/dist/api.js +29 -30
- package/dist/{asset-ZTXZ6HGB.js → asset-7BXTM7P4.js} +2 -2
- package/dist/{assetCataloger-ATGUE5IY.js → assetCataloger-B6QCN7D4.js} +7 -8
- package/dist/{audio-5SBZBNSP.js → audio-6QT2263V.js} +16 -17
- package/dist/{auth-NDUIJ4HS.js → auth-JIVRJDOA.js} +2 -2
- package/dist/{autoUpdate-PZTBUAA5.js → autoUpdate-PL2F3J42.js} +2 -2
- package/dist/{avatars-YY7FU76E.js → avatars-3BH2GOU2.js} +10 -11
- package/dist/{backgroundChecks-6KERI5QL.js → backgroundChecks-MVBPFASG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-L3IIY2FT.js → batchRender-MRZD6NEE.js} +3 -3
- package/dist/{beats-UBUJBSVD.js → beats-FSTI2GOV.js} +8 -9
- package/dist/{benchmark-YJ2U5KE3.js → benchmark-7RQP4OKL.js} +8 -8
- package/dist/{billing-YN35KTEH.js → billing-ERTIEJRM.js} +11 -11
- package/dist/{browser-NRDSXRX7.js → browser-SHRES7YO.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-5T25BRZU.js → bundleWithLocalizedFonts-FBN6DQG7.js} +1 -1
- package/dist/{capture-7K7VWXBQ.js → capture-FI236QMK.js} +13 -14
- package/dist/{capture-MP46JHB7.js → capture-JGEPACNE.js} +3 -3
- package/dist/{captureCompositionFrame-4VZCJGGD.js → captureCompositionFrame-G35BXLQV.js} +12 -13
- package/dist/{catalog-32CQF7IT.js → catalog-TASPLI6U.js} +12 -12
- package/dist/{catch-up-IVBUCPZM.js → catch-up-HGAVR2VQ.js} +4 -4
- package/dist/{check-U5PPKHG5.js → check-LOIL7QDO.js} +40 -41
- package/dist/{checkAudio-ZCRRON4E.js → checkAudio-GLG3SWWQ.js} +9 -10
- package/dist/{checkBrowser-MS5NKDXR.js → checkBrowser-YQETGZSL.js} +32 -33
- package/dist/{chunk-G4OGVFUJ.js → chunk-35STY5XW.js} +1 -1
- package/dist/{chunk-4FHTWYDZ.js → chunk-3ACGV3PF.js} +1 -1
- package/dist/{chunk-AD2T3VAJ.js → chunk-3OS2U5V2.js} +2 -2
- package/dist/{chunk-SE4WJJ43.js → chunk-4JI4P3J6.js} +1 -1
- package/dist/{chunk-5L2CII4L.js → chunk-4M42XMWZ.js} +1 -1
- package/dist/{chunk-S7UUJ77M.js → chunk-4WV3XDN4.js} +1 -1
- package/dist/{chunk-B2W2CPXF.js → chunk-53YFWZOA.js} +1 -1
- package/dist/{chunk-IR3JMMFT.js → chunk-56XJDA3H.js} +33 -2
- package/dist/{chunk-SREJU7NR.js → chunk-5IUSAGDH.js} +1 -1
- package/dist/{chunk-A4OX3TI6.js → chunk-5O4RH4G3.js} +1 -1
- package/dist/{chunk-YQ4LB3XC.js → chunk-6AFDBTX6.js} +1 -1
- package/dist/{chunk-TEEPLD64.js → chunk-6GJ7QJL7.js} +17 -8
- package/dist/{chunk-JCIPZMKD.js → chunk-6LMZ677L.js} +3 -3
- package/dist/{chunk-JWCMOC7O.js → chunk-6OBCXHIF.js} +1 -1
- package/dist/{chunk-BB5CZTGW.js → chunk-75AH7UVP.js} +1 -1
- package/dist/{chunk-U7MRV4RM.js → chunk-7NRTBDXX.js} +7 -7
- package/dist/{chunk-UXS7VE75.js → chunk-7PZLR2JZ.js} +1 -1
- package/dist/{chunk-J2I2LTJM.js → chunk-7WEOM6IL.js} +1 -1
- package/dist/{chunk-U7LBN2BQ.js → chunk-A64V7MWG.js} +7 -7
- package/dist/{chunk-S6AMEEGZ.js → chunk-AAEPGDLX.js} +3 -3
- package/dist/{chunk-TTEOPEJJ.js → chunk-AAQ32CJQ.js} +2 -2
- package/dist/{chunk-ZLWRAHBZ.js → chunk-AXCL2A3T.js} +10 -10
- package/dist/{chunk-344RFO72.js → chunk-C6GJQWRL.js} +32 -33
- package/dist/{chunk-VPBE4USM.js → chunk-CNCKUJSI.js} +38 -25
- package/dist/{chunk-Q5M3JAME.js → chunk-CQ7H3AHT.js} +13 -13
- package/dist/{chunk-PNZD5LZL.js → chunk-DGDTF64K.js} +47 -17
- package/dist/{chunk-ALQAHCK5.js → chunk-DNECYN6I.js} +1 -1
- package/dist/{chunk-G54QPS3F.js → chunk-DQ64M2ZV.js} +4 -4
- package/dist/chunk-DSSDDLGX.js +5035 -0
- package/dist/{chunk-R5LSL2C7.js → chunk-DUIVM4DL.js} +1 -1
- package/dist/{chunk-ZEOPRYFK.js → chunk-DXOAVIPV.js} +2 -2
- package/dist/{chunk-K2JGJUMR.js → chunk-EOIDKM7D.js} +3 -3
- package/dist/{chunk-LHRQP7TF.js → chunk-FDYNOOQZ.js} +5 -5
- package/dist/{chunk-NNXS4VBX.js → chunk-FSHSG2G5.js} +1 -1
- package/dist/{chunk-XS27ELRN.js → chunk-FUQPQDBA.js} +2 -2
- package/dist/{chunk-JPODNK2G.js → chunk-GBRXAHOL.js} +2 -2
- package/dist/{chunk-TNTQ7H24.js → chunk-GDQQ4U3L.js} +75 -9
- package/dist/{chunk-N32TVQYQ.js → chunk-GOLNW4NI.js} +2 -2
- package/dist/{chunk-GGSTJZQL.js → chunk-H3YLGOKX.js} +1 -1
- package/dist/{chunk-ZUZPIM6R.js → chunk-HEZYZUF5.js} +1 -1
- package/dist/{chunk-QXGT6KRX.js → chunk-HVACLBWZ.js} +25 -11
- package/dist/{chunk-IX5QY54Q.js → chunk-IJOCZ7ND.js} +2 -2
- package/dist/{chunk-L4ZMCB52.js → chunk-JALAIYCE.js} +9 -9
- package/dist/{chunk-YKAK4ALT.js → chunk-JQTQM6RE.js} +2 -2
- package/dist/{chunk-AKE744C5.js → chunk-JWORQ5WQ.js} +5 -1
- package/dist/{chunk-DM7WRHB5.js → chunk-K2KFYRVX.js} +1 -1
- package/dist/{chunk-W2BP25U5.js → chunk-K336C37N.js} +1 -1
- package/dist/{chunk-OIJHKOV2.js → chunk-KAUUM3TL.js} +2 -2
- package/dist/{chunk-PLVIN7X6.js → chunk-KWF5BWC7.js} +1 -1
- package/dist/{chunk-6H5KN7CJ.js → chunk-LFQLYI7R.js} +5 -5
- package/dist/{chunk-PWOMLJFV.js → chunk-LKT5BLRG.js} +2 -2
- package/dist/{chunk-XDT2DMH6.js → chunk-LPDYBJ2K.js} +2 -2
- package/dist/{chunk-UGYQBRHG.js → chunk-LPIHSJAU.js} +3 -3
- package/dist/{chunk-TABWG4IT.js → chunk-M7VAMZQW.js} +18 -11
- package/dist/{chunk-75PTCQAO.js → chunk-MBHKOK7C.js} +1 -1
- package/dist/{chunk-DV7RLE6B.js → chunk-MBZ56OAU.js} +2 -2
- package/dist/{chunk-M2Y245ET.js → chunk-MHSQBZQJ.js} +6 -3
- package/dist/{chunk-BSPE37DP.js → chunk-MQ3LHGNO.js} +2 -2
- package/dist/{chunk-YNAKUHSJ.js → chunk-N5U63MJG.js} +4 -4
- package/dist/{chunk-UK5DBUJX.js → chunk-NC7I6JJZ.js} +6 -6
- package/dist/{chunk-JFUXZERX.js → chunk-NTMMUK6Q.js} +113 -67
- package/dist/{chunk-KWORPYKW.js → chunk-NYN24QRB.js} +1 -1
- package/dist/chunk-ORM4MISE.js +59 -0
- package/dist/{chunk-OK3IQC32.js → chunk-P6QX426Y.js} +1 -1
- package/dist/{chunk-LOKTVSTM.js → chunk-PBKY4VTZ.js} +1 -1
- package/dist/{chunk-PC662ORN.js → chunk-PIPBEVLP.js} +2 -1
- package/dist/{chunk-5IVECOVN.js → chunk-PKUGO6D3.js} +1 -1
- package/dist/{chunk-4ECLIUTB.js → chunk-PPCD5YIU.js} +2 -2
- package/dist/{chunk-6M3TQUDF.js → chunk-PPWKGSEV.js} +2 -2
- package/dist/{chunk-L6X4ONBM.js → chunk-PX7EV4SO.js} +7 -7
- package/dist/{chunk-YFHOTWWE.js → chunk-QBV3XGXU.js} +1 -1
- package/dist/{chunk-SOQNCHO5.js → chunk-QT2SLY7N.js} +885 -516
- package/dist/{chunk-PWTWZF3F.js → chunk-QVPHMXKR.js} +1 -1
- package/dist/{chunk-HK4AN44J.js → chunk-QVR75TAB.js} +2 -2
- package/dist/{chunk-WWEFNXQI.js → chunk-T3K56YF2.js} +2 -2
- package/dist/{chunk-O2B3YNUH.js → chunk-T6CCPIDG.js} +3 -3
- package/dist/{chunk-HNZ2FZIB.js → chunk-TTCNUS5M.js} +3 -3
- package/dist/{chunk-6H5NILM5.js → chunk-UJOQZRIS.js} +1 -1
- package/dist/{chunk-65XOIIBM.js → chunk-UUZL4X3G.js} +1 -1
- package/dist/{chunk-AGQNRDYJ.js → chunk-VDQPHJVR.js} +1 -1
- package/dist/{chunk-PGM5YXBA.js → chunk-W3O7S7FC.js} +1 -1
- package/dist/{chunk-QCHPM3C2.js → chunk-WJBP3LIO.js} +1 -1
- package/dist/{chunk-LIUJRACZ.js → chunk-WPID5YHT.js} +15 -5
- package/dist/{chunk-ZAD422DC.js → chunk-WTOPHBYH.js} +4 -4
- package/dist/{chunk-BJAESOYP.js → chunk-X2TDLUIK.js} +4 -12
- package/dist/{chunk-72PVZ2A4.js → chunk-XJZR7MXG.js} +5 -5
- package/dist/{chunk-P2AOKCAC.js → chunk-Y3P26O7I.js} +3 -3
- package/dist/{chunk-SPJX4LQR.js → chunk-YJNI2NM7.js} +10 -10
- package/dist/{chunk-ZO5QD2FA.js → chunk-ZHP26FJS.js} +2 -2
- package/dist/{chunk-NPDBBMXX.js → chunk-ZII5GCHN.js} +1 -1
- package/dist/{clean-5K2KTH5M.js → clean-J6NG7RNU.js} +16 -17
- package/dist/cli.js +76 -68
- package/dist/{cloud-7O2Q7IHJ.js → cloud-LETWSUJR.js} +4 -4
- package/dist/{cloudrun-3HRDMWIS.js → cloudrun-RERXEEVM.js} +4 -4
- package/dist/commands/contrast-audit.browser.js +50 -14
- package/dist/commands/motion-signature.browser.js +8 -1
- package/dist/{compare-D22HJO5V.js → compare-ARPUHHYW.js} +29 -30
- package/dist/{compiler-RY6IVESI.js → compiler-DGB2I53W.js} +3 -4
- package/dist/{component-B7V7A5AP.js → component-2USQBQOH.js} +3 -3
- package/dist/{compositions-HFBRVNYW.js → compositions-X4GSF4RG.js} +11 -13
- package/dist/{curve-7PLN35CZ.js → curve-4OYTBAKF.js} +10 -11
- package/dist/{cuts-ZG7TBYVD.js → cuts-7MWGKKPB.js} +11 -12
- package/dist/{delete-YL4IMJJZ.js → delete-IY5EUCTR.js} +3 -3
- package/dist/{deploy-A6CDKFQZ.js → deploy-PEN3EL7H.js} +1 -1
- package/dist/{describeProject-VZCHDSWT.js → describeProject-STLWIUTD.js} +7 -8
- package/dist/{diff-PBVZRS5Z.js → diff-7T6PMH3C.js} +29 -30
- package/dist/{dist-BU547SVG.js → dist-7W5T76QK.js} +12 -2
- package/dist/{dist-HRK4GWLN.js → dist-K4BOTYAM.js} +9 -10
- package/dist/{dist-FPRADDH6.js → dist-URQMS2HM.js} +5 -4
- package/dist/{doctor-IFTYCM3E.js → doctor-65DXV54T.js} +10 -11
- package/dist/{energy-ENGAT6Z5.js → energy-BJVPUQDC.js} +11 -12
- package/dist/{events-AZ5XEDBE.js → events-FVEDX5PT.js} +13 -14
- package/dist/{events-CMAXQTDX.js → events-KLSIFOUP.js} +3 -3
- package/dist/{events-A6SBEKVH.js → events-MMV4IZQE.js} +2 -2
- package/dist/{extract-IE74J44O.js → extract-ZDOKCY4G.js} +11 -12
- package/dist/{face-JAPTS7VJ.js → face-SP6O3QUI.js} +11 -12
- package/dist/{feedback-QCFWXJCD.js → feedback-CCNOYJZG.js} +10 -7
- package/dist/{ffmpeg-4YMUUJP7.js → ffmpeg-2V25MA6C.js} +6 -7
- package/dist/{figma-C36IECKZ.js → figma-C7GSU5XD.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -10
- package/dist/{frames-ZW26G4UP.js → frames-GW7MG4PX.js} +12 -13
- package/dist/{generate-ZXR73M22.js → generate-TBA3D3BT.js} +21 -22
- package/dist/{get-3KICFW3X.js → get-EUPFU4PY.js} +3 -3
- package/dist/{gpuPolicy-SBYZLOAU.js → gpuPolicy-7WYJ73JK.js} +6 -7
- package/dist/{grade-compare-DCL3OPKF.js → grade-compare-V62HD24E.js} +30 -31
- package/dist/{heifImagePrep-YQWEIVTC.js → heifImagePrep-K2VOQAMS.js} +7 -8
- package/dist/{help-PUL7OS7X.js → help-WIRMKAY5.js} +1 -1
- package/dist/{history-GPBKC5DE.js → history-3JEFAPPA.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +62 -62
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-7I6ZVJ64.js → info-XD7XL4UA.js} +39 -11
- package/dist/{init-5MCEGVHR.js → init-OCITZW56.js} +27 -28
- package/dist/{ink-NLYWOBTK.js → ink-RIBPCBLJ.js} +11 -12
- package/dist/{inspect-52COR3TB.js → inspect-O3KNTVYU.js} +30 -31
- package/dist/{installer-ARMP4WLF.js → installer-JC737YVC.js} +4 -4
- package/dist/{keyframes-3UMSTEYW.js → keyframes-4YEMPCE3.js} +6 -6
- package/dist/{lambda-FYHLXH4H.js → lambda-6RI6AZCI.js} +10 -11
- package/dist/{layout-QKWAPDPV.js → layout-U323JUYY.js} +30 -31
- package/dist/{lint-WJCUB2CR.js → lint-HL2ZMYYD.js} +7 -8
- package/dist/{lintProject-FPLCK7VP.js → lintProject-6TML32JZ.js} +1 -2
- package/dist/{list-4FQ4BDXW.js → list-YVRLEZ5C.js} +3 -3
- package/dist/{localPage-YINL6OV7.js → localPage-Z4A2OOHF.js} +6 -7
- package/dist/{login-P74VBTVA.js → login-Z53XVXB2.js} +4 -4
- package/dist/{look-QCOMYMSD.js → look-QAEW6NLB.js} +11 -12
- package/dist/{manager-V2ZJSF3Q.js → manager-Y5JESME2.js} +7 -8
- package/dist/{measure-7IODZ7VY.js → measure-QAPM6I7P.js} +11 -11
- package/dist/{media-treatment-UJIFSAXV.js → media-treatment-QBSD7Z4H.js} +12 -13
- package/dist/{media-use-4Y5XRY6B.js → media-use-HWZY3QEN.js} +3 -3
- package/dist/{models-WPBGJ7K6.js → models-MKZN7KP3.js} +10 -11
- package/dist/{motionShot-DZZXLIIT.js → motionShot-EF2FD7HF.js} +15 -16
- package/dist/{normalize-audio-QS2GZ5IT.js → normalize-audio-UI7VGKNU.js} +31 -12
- package/dist/{open-SIWIC52J.js → open-PUWUKUNK.js} +12 -12
- package/dist/{parakeetRunner-YUUCCA3S.js → parakeetRunner-3XQTNEZS.js} +11 -12
- package/dist/{pipeline-AJKIZGUM.js → pipeline-UECOYEZ2.js} +9 -10
- package/dist/{play-4EF3JLTU.js → play-4KFBSJLJ.js} +20 -21
- package/dist/{preflight-LSDOTWZ5.js → preflight-NREEVZKH.js} +7 -8
- package/dist/{present-AOLHT3YC.js → present-5GDW3P4H.js} +15 -16
- package/dist/{preview-WP5VAX3M.js → preview-MU3SNNHO.js} +19 -20
- package/dist/{probe-WZ3OWMKG.js → probe-ZZ5F7LF4.js} +11 -12
- package/dist/{producer-C72VSLBR.js → producer-AMLHR4XV.js} +1 -1
- package/dist/{projectConfig-LPC7WK4W.js → projectConfig-LQDSRYHS.js} +7 -7
- package/dist/{publication-QGBUXKB2.js → publication-VFQY5MS4.js} +2 -2
- package/dist/{publish-KA2LPVL7.js → publish-KFUMQFD4.js} +11 -12
- package/dist/{remove-background-MC6HXEAW.js → remove-background-GXQLMKYN.js} +10 -11
- package/dist/{render-RPMLSL7M.js → render-5YMMU4K3.js} +5 -5
- package/dist/{render-IQUQ7EKS.js → render-U63G4NFP.js} +25 -26
- package/dist/{render-2STR3XR5.js → render-X2TJ52JS.js} +32 -33
- package/dist/{render-batch-2AWWGFNK.js → render-batch-EJCIXNZ4.js} +5 -5
- package/dist/renderSetupWorker.js +5 -3
- package/dist/{resolver-D3Q6LTIO.js → resolver-3AZ6BDNT.js} +5 -5
- package/dist/{reverse-62TKSQ7Q.js → reverse-SGQLQDPZ.js} +1 -1
- package/dist/{run-GQNVIYMD.js → run-WZP6HXIH.js} +2 -2
- package/dist/{screenshotCapture-MM5V4H7M.js → screenshotCapture-YHT6OFSL.js} +7 -8
- package/dist/{sherpa-ZHAABYE3.js → sherpa-DHJ4KV3O.js} +10 -11
- package/dist/skills/hyperframes-cli/SKILL.md +3 -1
- package/dist/{skills-BYABSOL3.js → skills-PSIYCWQF.js} +6 -6
- package/dist/{skillsUpdateCheck-FKOS3ME7.js → skillsUpdateCheck-INFQ6JY4.js} +3 -3
- package/dist/{snapshot-N5O5VEBT.js → snapshot-BRJWWBVL.js} +70 -54
- package/dist/{src-272JLFKW.js → src-4HGQRHW6.js} +5 -6
- package/dist/{src-O6ITP7WU.js → src-Q4HPEI72.js} +8 -9
- package/dist/{start-K2LGEUB5.js → start-BF77FALB.js} +19 -20
- package/dist/{staticProjectServer-C7A4W2B4.js → staticProjectServer-MJGRVAHU.js} +18 -19
- package/dist/{status-USHH6OD5.js → status-GKDPASRO.js} +11 -11
- package/dist/studio/assets/{hyperframes-player-Bb-Fbf5k.js → hyperframes-player-pLs7eSzg.js} +1 -1
- package/dist/studio/assets/{index-Cap2SGKw.js → index-DZ7OLB7p.js} +1 -1
- package/dist/studio/assets/{index-BZuKog_A.js → index-D_iVCwL3.js} +116 -116
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-FVBB2MVZ.js → studio-api-UOW3KWGH.js} +9 -10
- package/dist/{studioServer-SFN7YUNV.js → studioServer-6HZXHHM2.js} +50 -51
- package/dist/{sync-JUDSPP46.js → sync-STGNZI3G.js} +11 -12
- package/dist/{telemetry-3DEZK5Q3.js → telemetry-3CL4XRJJ.js} +3 -3
- package/dist/{templates-3FJRJ6KB.js → templates-GK4UAT6M.js} +11 -11
- package/dist/{timeline-P4CS4INR.js → timeline-QPB6QGXD.js} +19 -20
- package/dist/{tokens-EFAVVV56.js → tokens-S7IZD453.js} +2 -2
- package/dist/{transcribe-JKV42B3Q.js → transcribe-LPYK5H76.js} +23 -24
- package/dist/{transcribe-YTBSMCFG.js → transcribe-TL74MCTG.js} +9 -10
- package/dist/{update-6QVOSVBW.js → update-WXPQPKMO.js} +7 -7
- package/dist/{updateCheck-2FWJ2X62.js → updateCheck-QRNGICLU.js} +2 -2
- package/dist/{upgrade-AUHNDKNP.js → upgrade-NH3NQOMG.js} +3 -3
- package/dist/{upload-HMRWGZIO.js → upload-YQMBLKH5.js} +3 -1
- package/dist/{urlDownloader-6ZSSYTOY.js → urlDownloader-JELHNEVH.js} +5 -6
- package/dist/{validate-DKEWYJ3V.js → validate-SRIEIBQV.js} +23 -24
- package/dist/{video-N6AEYBUW.js → video-ZMNAGSOC.js} +7 -8
- package/dist/{voices-MT7CM6O5.js → voices-YVWEHLRS.js} +19 -20
- package/dist/warmCheck.js +40 -41
- package/package.json +1 -1
- package/dist/chunk-CAD6G75K.js +0 -29
- package/dist/chunk-CZGHFATT.js +0 -31
- package/dist/chunk-J3G5KEPY.js +0 -5035
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-J3QW55W5.js";
|
|
11
11
|
import {
|
|
12
12
|
readProjectConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-K2KFYRVX.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSkillSlug
|
|
16
16
|
} from "./chunk-HVW7ABXD.js";
|
|
17
17
|
import {
|
|
18
18
|
trackBillingCheckoutReturnRefused
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QBV3XGXU.js";
|
|
20
20
|
|
|
21
21
|
// src/heygen/plan.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JALAIYCE.js";
|
|
10
10
|
import {
|
|
11
11
|
openRangeEnd
|
|
12
12
|
} from "./chunk-VEIGTKYZ.js";
|
|
13
13
|
import {
|
|
14
14
|
stripSdrPngColourTags
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6GJ7QJL7.js";
|
|
16
16
|
import {
|
|
17
17
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DSSDDLGX.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/compositionServer.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VDQPHJVR.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-HOCC4J5C.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HVACLBWZ.js";
|
|
33
33
|
import {
|
|
34
34
|
getFreeDiskMb,
|
|
35
35
|
getShmSizeMb,
|
|
@@ -44,14 +44,14 @@ import {
|
|
|
44
44
|
runningInstall,
|
|
45
45
|
updateCommandFor,
|
|
46
46
|
withMeta
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6AFDBTX6.js";
|
|
48
48
|
import {
|
|
49
49
|
CONFIG_PATH,
|
|
50
50
|
withFileLock
|
|
51
51
|
} from "./chunk-CMQZP52Y.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-GOLNW4NI.js";
|
|
55
55
|
import {
|
|
56
56
|
normalizeErrorMessage
|
|
57
57
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -249,7 +249,7 @@ function checkEnvironment() {
|
|
|
249
249
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
250
250
|
}
|
|
251
251
|
async function checkWhisper() {
|
|
252
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
252
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-Y5JESME2.js");
|
|
253
253
|
const result = findWhisper();
|
|
254
254
|
if (result) {
|
|
255
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-GKLZMLX3.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-K2KFYRVX.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-56XJDA3H.js";
|
|
20
20
|
import {
|
|
21
21
|
isCI
|
|
22
22
|
} from "./chunk-FYZFURBN.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HVACLBWZ.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-56XJDA3H.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -13,10 +13,33 @@ import { createHash } from "crypto";
|
|
|
13
13
|
import { createReadStream } from "fs";
|
|
14
14
|
import { request as httpRequest } from "http";
|
|
15
15
|
import { request as httpsRequest } from "https";
|
|
16
|
+
import { Readable } from "stream";
|
|
16
17
|
import { pipeline } from "stream/promises";
|
|
17
18
|
var COMPLETE_MAX_RETRIES = 5;
|
|
18
19
|
var COMPLETE_RETRY_BASE_MS = 500;
|
|
19
20
|
var CONTENT_TYPE_ZIP = "application/zip";
|
|
21
|
+
var putTimings = { stallMs: 6e4, retries: 3, backoffMs: 1e3 };
|
|
22
|
+
var PutRefusedError = class extends Error {
|
|
23
|
+
constructor(status, message) {
|
|
24
|
+
super(message);
|
|
25
|
+
this.status = status;
|
|
26
|
+
}
|
|
27
|
+
status;
|
|
28
|
+
};
|
|
29
|
+
function isFinal(err) {
|
|
30
|
+
const code = err.code;
|
|
31
|
+
return err instanceof PutRefusedError && err.status < 500 || code === "ENOENT" || code === "EACCES";
|
|
32
|
+
}
|
|
33
|
+
async function putWithRetry(attempt, signal) {
|
|
34
|
+
for (let tried = 0; ; tried++) {
|
|
35
|
+
try {
|
|
36
|
+
return await attempt();
|
|
37
|
+
} catch (err) {
|
|
38
|
+
if (isFinal(err) || signal?.aborted || tried >= putTimings.retries) throw err;
|
|
39
|
+
await sleep(putTimings.backoffMs * 2 ** tried, signal);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
20
43
|
function sha256Hex(bytes) {
|
|
21
44
|
return createHash("sha256").update(bytes).digest("hex");
|
|
22
45
|
}
|
|
@@ -25,8 +48,11 @@ async function sha256OfFile(path) {
|
|
|
25
48
|
for await (const chunk of createReadStream(path)) hash.update(chunk);
|
|
26
49
|
return hash.digest("hex");
|
|
27
50
|
}
|
|
28
|
-
function sleep(ms) {
|
|
29
|
-
return new Promise((
|
|
51
|
+
function sleep(ms, signal) {
|
|
52
|
+
return new Promise((resolve) => {
|
|
53
|
+
const timer = setTimeout(resolve, ms);
|
|
54
|
+
signal?.addEventListener("abort", () => (clearTimeout(timer), resolve()), { once: true });
|
|
55
|
+
});
|
|
30
56
|
}
|
|
31
57
|
function normalizeUploadHeaders(raw) {
|
|
32
58
|
const out = {};
|
|
@@ -41,7 +67,12 @@ async function putBytesToPresignedUrl(fetchImpl, uploadUrl, uploadHeaders, body,
|
|
|
41
67
|
"content-type": contentType,
|
|
42
68
|
...normalizeUploadHeaders(uploadHeaders)
|
|
43
69
|
};
|
|
44
|
-
|
|
70
|
+
return putWithRetry(
|
|
71
|
+
() => fetchImpl && body instanceof Uint8Array ? putBytesOnce(fetchImpl, uploadUrl, headers, body, signal) : putStreamToPresignedUrl(uploadUrl, headers, body, signal),
|
|
72
|
+
signal
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
async function putBytesOnce(fetchImpl, uploadUrl, headers, body, signal) {
|
|
45
76
|
const res = await fetchImpl(uploadUrl, {
|
|
46
77
|
method: "PUT",
|
|
47
78
|
signal,
|
|
@@ -50,29 +81,62 @@ async function putBytesToPresignedUrl(fetchImpl, uploadUrl, uploadHeaders, body,
|
|
|
50
81
|
});
|
|
51
82
|
if (!res.ok) {
|
|
52
83
|
const detail = await res.text().catch(() => "");
|
|
53
|
-
throw new
|
|
84
|
+
throw new PutRefusedError(
|
|
85
|
+
res.status,
|
|
54
86
|
`Direct upload PUT failed: ${res.status} ${res.statusText}${detail ? ` \u2014 ${detail.slice(0, 300)}` : ""}`
|
|
55
87
|
);
|
|
56
88
|
}
|
|
57
89
|
}
|
|
58
|
-
|
|
90
|
+
var SLICE_BYTES = 64 * 1024;
|
|
91
|
+
function bodyStream(body) {
|
|
92
|
+
if (!(body instanceof Uint8Array)) return createReadStream(body.path);
|
|
93
|
+
return Readable.from(
|
|
94
|
+
(function* () {
|
|
95
|
+
for (let at = 0; at < body.byteLength; at += SLICE_BYTES)
|
|
96
|
+
yield body.subarray(at, at + SLICE_BYTES);
|
|
97
|
+
})()
|
|
98
|
+
);
|
|
99
|
+
}
|
|
100
|
+
function watchStall(req) {
|
|
101
|
+
let written = -1;
|
|
102
|
+
let movedAt = Date.now();
|
|
103
|
+
const watch = setInterval(
|
|
104
|
+
() => {
|
|
105
|
+
const now = req.socket?.bytesWritten ?? 0;
|
|
106
|
+
if (now !== written) [written, movedAt] = [now, Date.now()];
|
|
107
|
+
else if (Date.now() - movedAt >= putTimings.stallMs)
|
|
108
|
+
req.destroy(new Error(`Upload stalled: no data sent for ${putTimings.stallMs / 1e3} s`));
|
|
109
|
+
},
|
|
110
|
+
Math.min(1e3, putTimings.stallMs / 3)
|
|
111
|
+
);
|
|
112
|
+
return () => clearInterval(watch);
|
|
113
|
+
}
|
|
114
|
+
async function putStreamToPresignedUrl(uploadUrl, headers, body, signal) {
|
|
115
|
+
const size = body instanceof Uint8Array ? body.byteLength : body.size;
|
|
59
116
|
const send = new URL(uploadUrl).protocol === "https:" ? httpsRequest : httpRequest;
|
|
60
117
|
const req = send(uploadUrl, {
|
|
61
118
|
method: "PUT",
|
|
62
119
|
signal,
|
|
63
|
-
headers: { ...headers, "content-length": String(
|
|
120
|
+
headers: { ...headers, "content-length": String(size) }
|
|
64
121
|
});
|
|
65
122
|
const response = new Promise((resolve, reject) => {
|
|
66
123
|
req.once("response", resolve).once("error", reject);
|
|
67
124
|
});
|
|
68
|
-
const
|
|
125
|
+
const stopWatching = watchStall(req);
|
|
126
|
+
const source = bodyStream(body);
|
|
127
|
+
const sent = pipeline(source, req);
|
|
69
128
|
let res;
|
|
70
129
|
try {
|
|
71
130
|
res = await response;
|
|
72
131
|
} catch (err) {
|
|
73
132
|
await sent.catch(() => void 0);
|
|
74
133
|
throw err;
|
|
134
|
+
} finally {
|
|
135
|
+
stopWatching();
|
|
75
136
|
}
|
|
137
|
+
await settle(res, sent);
|
|
138
|
+
}
|
|
139
|
+
async function settle(res, sent) {
|
|
76
140
|
const status = res.statusCode ?? 0;
|
|
77
141
|
const ok = status >= 200 && status < 300;
|
|
78
142
|
await sent.catch((err) => {
|
|
@@ -81,7 +145,8 @@ async function putFileToPresignedUrl(uploadUrl, headers, file, signal) {
|
|
|
81
145
|
let detail = "";
|
|
82
146
|
for await (const chunk of res) detail += String(chunk);
|
|
83
147
|
if (!ok) {
|
|
84
|
-
throw new
|
|
148
|
+
throw new PutRefusedError(
|
|
149
|
+
status,
|
|
85
150
|
`Direct upload PUT failed: ${status} ${res.statusMessage ?? ""}${detail ? ` \u2014 ${detail.slice(0, 300)}` : ""}`
|
|
86
151
|
);
|
|
87
152
|
}
|
|
@@ -119,7 +184,7 @@ async function uploadAssetViaDirectUpload(opts) {
|
|
|
119
184
|
const body = "bytes" in opts ? opts.bytes : { path: opts.path, size: opts.size };
|
|
120
185
|
const size_bytes = body instanceof Uint8Array ? body.byteLength : body.size;
|
|
121
186
|
const checksum_sha256 = body instanceof Uint8Array ? sha256Hex(body) : await sha256OfFile(body.path);
|
|
122
|
-
const fetchImpl = opts.fetchImpl
|
|
187
|
+
const fetchImpl = opts.fetchImpl;
|
|
123
188
|
opts.onProgress?.({ phase: "initialize" });
|
|
124
189
|
const initialize = await opts.client.createAssetUpload({
|
|
125
190
|
body: { filename, content_type: opts.contentType, size_bytes, checksum_sha256 },
|
|
@@ -155,6 +220,7 @@ function uploadZipViaDirectUpload(opts) {
|
|
|
155
220
|
}
|
|
156
221
|
|
|
157
222
|
export {
|
|
223
|
+
putTimings,
|
|
158
224
|
uploadAssetViaDirectUpload,
|
|
159
225
|
uploadZipViaDirectUpload
|
|
160
226
|
};
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.9.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.9.
|
|
9
|
+
var VERSION = true ? "0.9.18" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.9.18" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -35,14 +35,17 @@ import {
|
|
|
35
35
|
hasClipStarted,
|
|
36
36
|
hdrToSdrToneMapFilter,
|
|
37
37
|
isInClipWindow,
|
|
38
|
+
keyframeTransferArgs,
|
|
38
39
|
mediaElementTime,
|
|
39
40
|
parseFirstFrameColour,
|
|
41
|
+
parseKeyframeTransfers,
|
|
40
42
|
quantizeSeekTime,
|
|
41
43
|
quantizeTimeToFrame,
|
|
44
|
+
readsKeyframeTransfers,
|
|
42
45
|
renderFrameIdForRenderId,
|
|
43
46
|
resolveAuthoredTimingWindow,
|
|
44
47
|
toFps
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-56XJDA3H.js";
|
|
46
49
|
import {
|
|
47
50
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
48
51
|
AUTHORED_SOURCE_BEGIN,
|
|
@@ -85,7 +88,7 @@ import {
|
|
|
85
88
|
sourceTimeAt,
|
|
86
89
|
timeAtSourceTime,
|
|
87
90
|
volumeSegmentSampleCount
|
|
88
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-DSSDDLGX.js";
|
|
89
92
|
import {
|
|
90
93
|
redactTelemetryString,
|
|
91
94
|
redactUrlQueryStrings
|
|
@@ -103,7 +106,7 @@ import {
|
|
|
103
106
|
} from "./chunk-WE42NVH7.js";
|
|
104
107
|
import {
|
|
105
108
|
resolveReferencedStart
|
|
106
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
107
110
|
import {
|
|
108
111
|
isWithinProjectRoot,
|
|
109
112
|
resolveProjectRelativeSrc
|
|
@@ -6837,7 +6840,7 @@ function recordSubTimelineWarning(session, timeoutMs) {
|
|
|
6837
6840
|
recordCaptureWarnings(session, [
|
|
6838
6841
|
{
|
|
6839
6842
|
code: scriptFailure ? "sub_timeline_script_failure" : "sub_timeline_readiness_timeout",
|
|
6840
|
-
message: threwThenTimedOut ? `A composition script threw before its timeline registered${pendingSuffix} (${sources.join(", ")}). Fix the error; a composition animated by CSS or rAF rather than a GSAP timeline must mark its host with data-no-timeline.` : scriptFailure ? `A sub-composition timeline script failed to load (${sources.join(", ")})`
|
|
6843
|
+
message: threwThenTimedOut ? `A composition script threw before its timeline registered${pendingSuffix} (${sources.join(", ")}). Fix the error; a composition animated by CSS or rAF rather than a GSAP timeline must mark its host with data-no-timeline.` : scriptFailure ? `A sub-composition timeline script failed to load${scriptLoadCauseSuffix(loadCauses)} (${sources.join(", ")})` : `Sub-composition timelines did not become ready within ${timeoutMs}ms${pendingSuffix}. This can be intentional: a composition driven by CSS animations or rAF never registers window.__timelines[id], and marking its host with data-no-timeline skips the wait entirely. Otherwise, a composition that sets up asynchronously must register window.__timelines[id] once setup completes.`,
|
|
6841
6844
|
details: {
|
|
6842
6845
|
timeoutMs,
|
|
6843
6846
|
sources,
|
|
@@ -13648,17 +13651,28 @@ function parseImageElements(html) {
|
|
|
13648
13651
|
return images;
|
|
13649
13652
|
}
|
|
13650
13653
|
var firstFrameColourCache = /* @__PURE__ */ new Map();
|
|
13651
|
-
function
|
|
13654
|
+
function readKeyframeTransfers(videoPath, codec) {
|
|
13655
|
+
return inExtractionSlot(
|
|
13656
|
+
() => runFfmpeg([...urlInputArgs(videoPath), ...keyframeTransferArgs(videoPath, codec)])
|
|
13657
|
+
).then((result) => result.success ? parseKeyframeTransfers(result.stderr) : null);
|
|
13658
|
+
}
|
|
13659
|
+
function readFirstFrameColour(videoPath, codec) {
|
|
13652
13660
|
const identity = mediaFileIdentity(videoPath);
|
|
13653
13661
|
const cached = readMetadataCache(firstFrameColourCache, videoPath, identity);
|
|
13654
13662
|
if (cached) return cached;
|
|
13655
13663
|
const probe = inExtractionSlot(
|
|
13656
13664
|
() => runFfmpeg([...urlInputArgs(videoPath), ...firstFrameColourArgs(videoPath)])
|
|
13657
|
-
).then((result) => {
|
|
13658
|
-
|
|
13659
|
-
firstFrameColourCache.
|
|
13660
|
-
|
|
13661
|
-
|
|
13665
|
+
).then(async (result) => {
|
|
13666
|
+
const forget = () => {
|
|
13667
|
+
if (firstFrameColourCache.get(videoPath)?.promise === probe)
|
|
13668
|
+
firstFrameColourCache.delete(videoPath);
|
|
13669
|
+
};
|
|
13670
|
+
if (!result.success) forget();
|
|
13671
|
+
const first = parseFirstFrameColour(result.stderr);
|
|
13672
|
+
if (!result.success || !readsKeyframeTransfers(first)) return first;
|
|
13673
|
+
const keyframeTransfers = await readKeyframeTransfers(videoPath, codec);
|
|
13674
|
+
if (!keyframeTransfers) forget();
|
|
13675
|
+
return { ...first, keyframeTransfers: keyframeTransfers ?? [] };
|
|
13662
13676
|
});
|
|
13663
13677
|
writeMetadataCache(firstFrameColourCache, videoPath, identity, probe);
|
|
13664
13678
|
return probe;
|
|
@@ -13927,7 +13941,7 @@ async function extractVideoFramesRangeUnredacted(videoPath, videoId, startTime,
|
|
|
13927
13941
|
formatFfmpegSeconds(duration)
|
|
13928
13942
|
);
|
|
13929
13943
|
}
|
|
13930
|
-
const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath) : void 0;
|
|
13944
|
+
const frameColour = toneMappedToSdr ? await readFirstFrameColour(videoPath, metadata.videoCodec) : void 0;
|
|
13931
13945
|
const filtersFor = videoFilterChain({
|
|
13932
13946
|
metadata,
|
|
13933
13947
|
format,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-6AFDBTX6.js";
|
|
31
31
|
import {
|
|
32
32
|
setCommandExitCode
|
|
33
33
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-FYZFURBN.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GOLNW4NI.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Y3P26O7I.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TARGET_LUFS,
|
|
25
25
|
absoluteLoudnessPlan,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requestedProjectPath,
|
|
29
29
|
requiredFfmpeg,
|
|
30
30
|
resolveLocalAudioPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-C6GJQWRL.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -71,11 +71,11 @@ import {
|
|
|
71
71
|
scanProjectMedia,
|
|
72
72
|
shouldPrewarmProxy,
|
|
73
73
|
waitForProxy
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-XJZR7MXG.js";
|
|
75
75
|
import {
|
|
76
76
|
probeAudioTrack,
|
|
77
77
|
probeMediaMetadata
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-WPID5YHT.js";
|
|
79
79
|
import {
|
|
80
80
|
STUDIO_MOTION_PATH,
|
|
81
81
|
createStudioMotionRenderBodyScript,
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
ensureHfIds,
|
|
118
118
|
stampHfIdsInPlace,
|
|
119
119
|
stripSdrPngColourTags
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-6GJ7QJL7.js";
|
|
121
121
|
import {
|
|
122
122
|
GSAP_BASE_URL_META,
|
|
123
123
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
normalizeGsapLocalRoot,
|
|
136
136
|
parseFps,
|
|
137
137
|
parsePreviewProxyBox
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-56XJDA3H.js";
|
|
139
139
|
import {
|
|
140
140
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
141
141
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
resolveRateSpec,
|
|
151
151
|
sourceTimeAt,
|
|
152
152
|
stripEmbeddedRuntimeScripts
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-DSSDDLGX.js";
|
|
154
154
|
import {
|
|
155
155
|
ProjectRootMissingError,
|
|
156
156
|
folderGone,
|
|
@@ -365,7 +365,7 @@ function clearElementScreenshotIsolation() {
|
|
|
365
365
|
page.__hfThumbnailFaded = [];
|
|
366
366
|
}
|
|
367
367
|
|
|
368
|
-
// ../studio-server/dist/chunk-
|
|
368
|
+
// ../studio-server/dist/chunk-IJMPYPJG.js
|
|
369
369
|
import { resolve } from "path";
|
|
370
370
|
function isAutoProxyEnabled(adapter) {
|
|
371
371
|
return adapter.autoProxy !== false;
|
|
@@ -5621,7 +5621,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5621
5621
|
let block = extractGsapScriptBlock(html);
|
|
5622
5622
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5623
5623
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5624
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5624
|
+
const { GSAP_CDN } = await import("./dist-7W5T76QK.js");
|
|
5625
5625
|
const bootstrap = [
|
|
5626
5626
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5627
5627
|
"<script>",
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
claimDailyNotice,
|
|
9
9
|
updateCheckDisabled
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6AFDBTX6.js";
|
|
11
11
|
import {
|
|
12
12
|
hostAnswers
|
|
13
13
|
} from "./chunk-BR2JQQC5.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk-FYZFURBN.js";
|
|
22
22
|
import {
|
|
23
23
|
VERSION
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-GOLNW4NI.js";
|
|
25
25
|
|
|
26
26
|
// src/utils/skillsUpdateCheck.ts
|
|
27
27
|
import { resolve as resolve2 } from "path";
|
|
@@ -28,6 +28,10 @@ function hintCode(err) {
|
|
|
28
28
|
}
|
|
29
29
|
return err.code;
|
|
30
30
|
}
|
|
31
|
+
function networkCode(err) {
|
|
32
|
+
const code = err.cause?.code;
|
|
33
|
+
return typeof code === "string" && /^[A-Z][A-Z0-9_]{2,40}$/.test(code) ? `code: ${code}` : void 0;
|
|
34
|
+
}
|
|
31
35
|
function reportApiError(stage, err, options = {}) {
|
|
32
36
|
const hints = { ...ERROR_CODE_HINTS, ...options.extraHints };
|
|
33
37
|
if (err instanceof HyperframesApiError) {
|
|
@@ -51,7 +55,7 @@ function reportApiError(stage, err, options = {}) {
|
|
|
51
55
|
failCommand();
|
|
52
56
|
}
|
|
53
57
|
if (err instanceof Error) {
|
|
54
|
-
errorBox(stage, err.message, options.suggestion);
|
|
58
|
+
errorBox(stage, err.message, options.suggestion ?? networkCode(err));
|
|
55
59
|
failCommand();
|
|
56
60
|
}
|
|
57
61
|
errorBox(stage, String(err), options.suggestion);
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
cliCheckoutLink,
|
|
9
9
|
pageUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DXOAVIPV.js";
|
|
11
11
|
import {
|
|
12
12
|
Fix
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PIPBEVLP.js";
|
|
14
14
|
import {
|
|
15
15
|
refreshIfNeeded,
|
|
16
16
|
resolveCloudAuthHeaders,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-LLMSX6V6.js";
|
|
10
10
|
import {
|
|
11
11
|
readCompositionFps
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UJOQZRIS.js";
|
|
13
13
|
import {
|
|
14
14
|
findSyncPartner,
|
|
15
15
|
readLinkTiming,
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
HF_AUDIO_GROUP_ATTR,
|
|
20
20
|
extractAudioMetadata,
|
|
21
21
|
extractMediaMetadata
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HVACLBWZ.js";
|
|
23
23
|
import {
|
|
24
24
|
byStart,
|
|
25
25
|
fpsToNumber,
|
|
26
26
|
parseFpsWithDefault
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-56XJDA3H.js";
|
|
28
28
|
import {
|
|
29
29
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
30
30
|
HF_AUDIO_FX_ATTR,
|
|
31
31
|
parseAudioFxChain,
|
|
32
32
|
parseAutomation,
|
|
33
33
|
resolveAutomation
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-DSSDDLGX.js";
|
|
35
35
|
import {
|
|
36
36
|
resolveReferencedDuration,
|
|
37
37
|
resolveReferencedStart
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveAuthoredAssetFile
|
|
41
41
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-HEZYZUF5.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-T2WJO4XM.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-56XJDA3H.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HVACLBWZ.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-4HGQRHW6.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|