hyperframes 0.9.15 → 0.9.17
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 +12 -2
- package/dist/{add-S3QTEUUZ.js → add-VZQBLSRT.js} +16 -15
- package/dist/{agentPromptGenerator-7FNPHUHJ.js → agentPromptGenerator-TGXEQHN3.js} +7 -9
- package/dist/{animatedGifPrep-NFT2NCNX.js → animatedGifPrep-25YV72PG.js} +7 -9
- package/dist/api.js +37 -38
- package/dist/{appHistory-BCWH6XYH.js → appHistory-WXJ4STHX.js} +2 -1
- package/dist/{asset-2BBOP7JZ.js → asset-UNDSQLEP.js} +2 -2
- package/dist/{assetCataloger-IY3XEIOP.js → assetCataloger-7RUWILYE.js} +9 -11
- package/dist/{audio-QJUSICGQ.js → audio-5O25WHIY.js} +22 -23
- package/dist/{auth-VDFPA4VH.js → auth-6JG6SMSP.js} +4 -4
- package/dist/{autoUpdate-XUQK5WGH.js → autoUpdate-YIRRNQ6V.js} +25 -16
- package/dist/{avatars-KCRRY6FB.js → avatars-YE2WC2TM.js} +16 -17
- package/dist/{backgroundChecks-QAR4J3EA.js → backgroundChecks-A7TYPXRD.js} +5 -4
- package/dist/backgroundChecksWorker.js +5 -4
- package/dist/{batchRender-IHSCRPWL.js → batchRender-EX5TDMP3.js} +5 -4
- package/dist/{beats-KHLBORQV.js → beats-F3AZFVZG.js} +11 -12
- package/dist/{benchmark-7OK27YVS.js → benchmark-ZBLLJL5C.js} +11 -11
- package/dist/{billing-CZWTUT4T.js → billing-MUTW7EEI.js} +80 -37
- package/dist/{browser-R4ZG7RVY.js → browser-BRIP2ZMX.js} +8 -7
- package/dist/{bundleWithLocalizedFonts-F3TAMJ2J.js → bundleWithLocalizedFonts-F557ZVFL.js} +1 -1
- package/dist/{capture-2TL7VL2K.js → capture-6TRISPA2.js} +17 -19
- package/dist/{capture-LRBDPPKP.js → capture-GSJVFS7R.js} +3 -3
- package/dist/{captureCompositionFrame-2XH2Z4RY.js → captureCompositionFrame-YRZVOCTO.js} +13 -15
- package/dist/{catalog-PTVMH3GV.js → catalog-5HJJNBFM.js} +24 -22
- package/dist/{catch-up-WRIIXOZE.js → catch-up-AQ5TFCAH.js} +9 -7
- package/dist/{check-XHB7IC3B.js → check-TYBSHODD.js} +46 -47
- package/dist/{checkAudio-LETXIMCO.js → checkAudio-LDSIWNQL.js} +10 -12
- package/dist/{checkBrowser-YHD3NILB.js → checkBrowser-7CFHX4VU.js} +37 -38
- package/dist/{chunk-6QP3ZSJN.js → chunk-2UJSYHED.js} +1 -1
- package/dist/{chunk-5G5YR4P3.js → chunk-3IMHFJDG.js} +30 -19
- package/dist/{chunk-US4BCRYB.js → chunk-3L2POG2J.js} +23 -1
- package/dist/{chunk-QBDOEJX2.js → chunk-426GU4YI.js} +1007 -643
- package/dist/{chunk-72K35GRP.js → chunk-4R63FXGU.js} +15 -5
- package/dist/{chunk-Q3IYSP4G.js → chunk-4TW62PDH.js} +17 -8
- package/dist/{chunk-44HJCTWN.js → chunk-64RLXCUT.js} +6 -3
- package/dist/{chunk-OO6AETRF.js → chunk-6DX4URUB.js} +1 -1
- package/dist/{chunk-AWV4F5TS.js → chunk-6OBCXHIF.js} +4 -4
- package/dist/{chunk-X5FSMQEJ.js → chunk-6RPKPL22.js} +1 -1
- package/dist/{chunk-7YCF2F5M.js → chunk-77E2UIIR.js} +1 -1
- package/dist/{chunk-QNE3NJO5.js → chunk-7BJQ4R4F.js} +3 -3
- package/dist/{chunk-UXS7VE75.js → chunk-7PZLR2JZ.js} +1 -1
- package/dist/{chunk-7WAEV3OM.js → chunk-AII4BFKZ.js} +2 -2
- package/dist/{chunk-EWAPC74T.js → chunk-ATTDG6NR.js} +1 -1
- package/dist/{chunk-UWZ2OIWM.js → chunk-AZO2YY3U.js} +1 -1
- package/dist/{chunk-QK4HTIXK.js → chunk-BIY3M2WW.js} +11 -11
- package/dist/{chunk-IL5CYE3O.js → chunk-C67RYYGK.js} +5 -5
- package/dist/{chunk-KIGPWWIE.js → chunk-C6MYVPHX.js} +1 -1
- package/dist/{chunk-CKEOCCMK.js → chunk-CMQZP52Y.js} +22 -18
- package/dist/{chunk-V5UBOBEG.js → chunk-CXSJ6H5Q.js} +3 -3
- package/dist/{chunk-YEE4A3IV.js → chunk-DEI35LJT.js} +2 -2
- package/dist/{chunk-XD7LQWTU.js → chunk-DLTSPBI7.js} +2 -2
- package/dist/{chunk-OMOBWXJL.js → chunk-DVKZ55DS.js} +2 -2
- package/dist/{chunk-UCQ7ZF47.js → chunk-E5FLGIV3.js} +2 -2
- package/dist/{chunk-UWB44MM4.js → chunk-ENJ3M6OM.js} +2 -2
- package/dist/{chunk-EOCFNE53.js → chunk-ENVFGBRD.js} +1 -1
- package/dist/chunk-EXA6R6SW.js +24 -0
- package/dist/{chunk-TNTQ7H24.js → chunk-GDQQ4U3L.js} +75 -9
- package/dist/{chunk-XQ26I3PL.js → chunk-GKLZMLX3.js} +4 -2
- package/dist/{chunk-KJSCMUST.js → chunk-GQORIM44.js} +14 -14
- package/dist/chunk-GR2E54E6.js +31 -0
- package/dist/{chunk-WM7JSUK2.js → chunk-HUCRKZ6J.js} +7 -7
- package/dist/{chunk-DJTC4NK7.js → chunk-HUZ3GL3F.js} +87 -5
- package/dist/{chunk-RL5VZ4Y2.js → chunk-I4BH3ASB.js} +1 -1
- package/dist/{chunk-76GLTXI5.js → chunk-IIXZLGSI.js} +5 -5
- package/dist/chunk-IN3ZKLLQ.js +59 -0
- package/dist/{chunk-Q5QMH5QA.js → chunk-IQL7NJSE.js} +1 -1
- package/dist/{chunk-BY7PZB6H.js → chunk-J3QW55W5.js} +2 -2
- package/dist/{chunk-WE6SM4HJ.js → chunk-JEPV6WOW.js} +2 -2
- package/dist/{chunk-766MOTIZ.js → chunk-JOQR4AP6.js} +5 -1
- package/dist/{chunk-JMUHTEAS.js → chunk-JSCY2GUB.js} +42 -27
- package/dist/{chunk-PMVFBCE5.js → chunk-JU2XCDW5.js} +2 -2
- package/dist/{chunk-AKE744C5.js → chunk-JWORQ5WQ.js} +5 -1
- package/dist/{chunk-NB2AEFNM.js → chunk-KE6NXX45.js} +62 -19
- package/dist/{chunk-LQ74BSBR.js → chunk-KEZSFOSN.js} +2 -2
- package/dist/{chunk-MB2NPHAS.js → chunk-KVANP54U.js} +1 -1
- package/dist/{chunk-ZFZXGZTX.js → chunk-L24NAUBS.js} +1 -1
- package/dist/{chunk-DCLZEI2C.js → chunk-L3HCPZZT.js} +32 -33
- package/dist/{chunk-BRHSN2TH.js → chunk-L5EM7KAY.js} +2 -2
- package/dist/{chunk-422TEJIX.js → chunk-LHQZYLVO.js} +7 -7
- package/dist/{chunk-BVAPHHMQ.js → chunk-LP7B3JLC.js} +4 -2
- package/dist/{chunk-MYQ4NH3E.js → chunk-LV3MNSL7.js} +1 -1
- package/dist/{chunk-IODESAJT.js → chunk-LV7BDQ5X.js} +1 -1
- package/dist/{chunk-FBQKUBMD.js → chunk-M4HDVKHG.js} +2 -2
- package/dist/{chunk-XRKQJADF.js → chunk-M6F4HXMW.js} +3 -3
- package/dist/{chunk-6KZAQHWH.js → chunk-M6FS7TNN.js} +3 -3
- package/dist/{chunk-TABWG4IT.js → chunk-M7VAMZQW.js} +18 -11
- package/dist/{chunk-P77AJDIN.js → chunk-MB7VK7MW.js} +3 -3
- package/dist/{chunk-76AJS2LI.js → chunk-MDZANX4P.js} +9 -3
- package/dist/{chunk-RLPTQF5E.js → chunk-MJFEHOGJ.js} +2 -2
- package/dist/{chunk-XLNV66JK.js → chunk-MLBH6KJL.js} +1 -1
- package/dist/{chunk-ZFDKOTN4.js → chunk-MZI62LS2.js} +45 -27
- package/dist/{chunk-RXFKSZN2.js → chunk-N6E2T3JY.js} +1 -1
- package/dist/{chunk-SUFHFBNO.js → chunk-N6YQHI3Z.js} +2 -2
- package/dist/{chunk-5UT3R43E.js → chunk-NL4RCLQF.js} +1 -1
- package/dist/{chunk-ATRSQXUV.js → chunk-NMQWKWV4.js} +71 -18
- package/dist/{chunk-XWFPP6LC.js → chunk-NO2YYTAK.js} +2 -2
- package/dist/{chunk-TRA75UKG.js → chunk-NQZQZY4B.js} +3 -3
- package/dist/{chunk-CZ5NNJ6H.js → chunk-NTMMUK6Q.js} +115 -69
- package/dist/{chunk-Z6AERD5Q.js → chunk-NV7IMBP7.js} +1 -1
- package/dist/{chunk-D3B76FBE.js → chunk-O6757ZOW.js} +5 -5
- package/dist/{chunk-OWZAG6N4.js → chunk-O7SPZE7M.js} +1 -1
- package/dist/{chunk-MRJRAAB2.js → chunk-OE347X32.js} +3 -3
- package/dist/{chunk-3YIOLQ2Y.js → chunk-OKPASJ5P.js} +5 -5
- package/dist/{chunk-GPLINKEE.js → chunk-OYNHNQ3E.js} +7 -7
- package/dist/{chunk-CHRHMT6W.js → chunk-OYXGIP35.js} +6 -6
- package/dist/{chunk-MT2Z5YBM.js → chunk-P7DCQJ6N.js} +1 -1
- package/dist/{chunk-6P2ZRIKN.js → chunk-PHJNYHGA.js} +1 -1
- package/dist/{chunk-4VYPICIA.js → chunk-PJEXCOCR.js} +12 -4
- package/dist/{chunk-6KQHLLKI.js → chunk-PVDBALBI.js} +7 -7
- package/dist/{chunk-SIAPGZ4S.js → chunk-QR7666XO.js} +4 -4
- package/dist/{chunk-HXQO2Q6T.js → chunk-RPLMK4WC.js} +1 -1
- package/dist/{chunk-HQOJ5ZBI.js → chunk-SKOBUO2F.js} +3 -3
- package/dist/{chunk-HCTHKNMZ.js → chunk-SVPRFL7O.js} +1 -1
- package/dist/{chunk-SM4DG7SR.js → chunk-SZLKWUHN.js} +3 -3
- package/dist/{chunk-SUCTCDDY.js → chunk-TBXNHLRL.js} +8 -5
- package/dist/{chunk-B3CSMKM7.js → chunk-TJUJJYJC.js} +1 -1
- package/dist/{chunk-HNZ2FZIB.js → chunk-TTCNUS5M.js} +3 -3
- package/dist/{chunk-AQZZLJY7.js → chunk-UE2RAXA7.js} +2 -2
- package/dist/{chunk-CIWX5UKC.js → chunk-UQXBGFKU.js} +14 -5
- package/dist/{chunk-XLPCBE2Q.js → chunk-US2SO6O4.js} +1 -1
- package/dist/{chunk-G7XKDDWE.js → chunk-UURC7DFD.js} +1 -1
- package/dist/{chunk-FU5TXQAN.js → chunk-UYMUPV7Q.js} +11 -11
- package/dist/chunk-VBEP277H.js +5035 -0
- package/dist/{chunk-AVOYOW2Y.js → chunk-VFGKM45X.js} +1 -1
- package/dist/{chunk-5UXMG5CM.js → chunk-VMWRWUDV.js} +1 -1
- package/dist/{chunk-2VYQ62PP.js → chunk-VR7E3QEQ.js} +9 -3
- package/dist/{chunk-DTWIC6JZ.js → chunk-VTQ6LSSX.js} +2 -2
- package/dist/{chunk-N4KVW3ZI.js → chunk-WEW22B4F.js} +4 -4
- package/dist/{chunk-7X3UDKJK.js → chunk-WMRHEI4N.js} +2 -2
- package/dist/{chunk-G4L4JU4I.js → chunk-WODNT4NL.js} +2 -2
- package/dist/{chunk-W7ITBVJE.js → chunk-X2TDLUIK.js} +16 -21
- package/dist/{chunk-4VOK4IOF.js → chunk-XBJNA2O5.js} +26 -9
- package/dist/{chunk-6CXFFUL5.js → chunk-XCF72IZY.js} +2 -2
- package/dist/{chunk-TMAFZJAP.js → chunk-XZRMB5Q7.js} +8 -8
- package/dist/{chunk-3CHUQRFX.js → chunk-ZAJSIWIC.js} +1 -1
- package/dist/{chunk-4W5NIHYU.js → chunk-ZMG7COPL.js} +1 -1
- package/dist/{chunk-V2BRRTED.js → chunk-ZO74SCFC.js} +16 -9
- package/dist/{clean-F7Y2JBO5.js → clean-RCXP7VIE.js} +22 -23
- package/dist/cli.js +81 -72
- package/dist/{cloud-RFM3PYTR.js → cloud-D3WTNTF2.js} +5 -4
- package/dist/{cloud-SQSYDRCJ.js → cloud-UMR6YM53.js} +4 -4
- package/dist/{cloudrun-3NSTX3CE.js → cloudrun-WNFJ6HDK.js} +10 -8
- package/dist/commands/contrast-audit.browser.js +50 -14
- package/dist/commands/motion-signature.browser.js +8 -1
- package/dist/{compare-J2K3SBGQ.js → compare-4DOTZFJB.js} +36 -37
- package/dist/{compiler-DMRQ44TO.js → compiler-QZAK3CQM.js} +3 -4
- package/dist/{component-FDWARSYD.js → component-JUNJ3HR5.js} +3 -3
- package/dist/{compositions-CVCE2GJN.js → compositions-Y4TVCT6A.js} +15 -17
- package/dist/{contactSheet-RJTY6IIV.js → contactSheet-RWRMLRZI.js} +3 -3
- package/dist/{curve-C7MZIWFU.js → curve-MRBPVFJR.js} +13 -14
- package/dist/{cuts-PN574VHO.js → cuts-FEQBTLCK.js} +14 -15
- package/dist/{delete-V6U3W4CS.js → delete-IZIO5BPH.js} +9 -8
- package/dist/{deploy-R33MSCVV.js → deploy-LYSMVVKT.js} +2 -2
- package/dist/{describeProject-ARFPRWDZ.js → describeProject-37HOCRQS.js} +8 -10
- package/dist/{deterministicFonts-HY5GWGQQ.js → deterministicFonts-DQDB47K3.js} +2 -2
- package/dist/{diff-QFMI6N6P.js → diff-JLJZ7CWH.js} +41 -42
- package/dist/{dist-BYY3JRG2.js → dist-LIQVRDQQ.js} +11 -13
- package/dist/{dist-XVVBUFOD.js → dist-RSKVXBET.js} +12 -3
- package/dist/{dist-TI44VPHO.js → dist-URQMS2HM.js} +5 -4
- package/dist/docs/examples.md +4 -0
- package/dist/{doctor-CREGMXCV.js → doctor-YXP5OQZJ.js} +15 -16
- package/dist/{energy-7G2AX2CC.js → energy-E2MNVLQG.js} +14 -15
- package/dist/{events-LF3JDEMV.js → events-7KJUZ6JN.js} +6 -5
- package/dist/{events-ISILMISS.js → events-AUFOARC3.js} +5 -4
- package/dist/{events-Y47D7LCD.js → events-IQMZODOM.js} +16 -17
- package/dist/{extract-NXHUAZJQ.js → extract-MNRKSTVS.js} +15 -16
- package/dist/{face-52FKXAW6.js → face-PLFENYM6.js} +14 -15
- package/dist/{feedback-LDYDOVKP.js → feedback-PMTFDXYG.js} +16 -13
- package/dist/{ffmpeg-4YTCWYMO.js → ffmpeg-6NPH4Y32.js} +7 -9
- package/dist/{figma-K3XDEK3K.js → figma-VRGLERFC.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -13
- package/dist/{frames-ZR3SBSEJ.js → frames-IJODIWMC.js} +16 -17
- package/dist/{generate-DDFMXJZV.js → generate-QGD5W7C2.js} +28 -29
- package/dist/{get-YLVWTD7K.js → get-JRHXJ3XB.js} +9 -8
- package/dist/{gpuPolicy-5L45UYI4.js → gpuPolicy-ZUQPIKA6.js} +7 -9
- package/dist/{grade-compare-U22AZXLQ.js → grade-compare-PBNOHUTC.js} +36 -37
- package/dist/{heifImagePrep-E5UHLK7F.js → heifImagePrep-IHGRDGIQ.js} +8 -10
- package/dist/{help-6UBS7VEC.js → help-TSKN5WKM.js} +1 -1
- package/dist/{history-NQ57D6BT.js → history-CKYGYGIT.js} +12 -11
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +68 -68
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-VMAWCCR7.js → info-MJVDLEVI.js} +42 -14
- package/dist/{init-E3E5O4BO.js → init-DOL2FWBB.js} +78 -44
- package/dist/{ink-JP2JIJ7O.js → ink-O6QSMSKC.js} +14 -15
- package/dist/{inspect-PB7AQSWP.js → inspect-PC3SZZOR.js} +35 -36
- package/dist/{installer-DXVPAZI5.js → installer-HMGKE36F.js} +5 -5
- package/dist/{keyframes-WU52W4WC.js → keyframes-7XC3AC4V.js} +9 -8
- package/dist/{lambda-EPKOKH3F.js → lambda-3FAGLEU5.js} +11 -13
- package/dist/{layout-QYDZ3OWK.js → layout-VHTDCWFW.js} +35 -36
- package/dist/{lint-HA2BXUCU.js → lint-IC6NER4M.js} +18 -12
- package/dist/{lintProject-Z2TEXMY4.js → lintProject-6TML32JZ.js} +1 -2
- package/dist/{list-P4PHY54O.js → list-I35ERZHZ.js} +9 -8
- package/dist/{localPage-GJQ2KHOH.js → localPage-FDNKKTXH.js} +7 -9
- package/dist/{login-FZ224A3F.js → login-6K6LXYCK.js} +8 -7
- package/dist/{logout-YACQMRZN.js → logout-EQ2HJDL4.js} +4 -3
- package/dist/{look-OMZ2QZO5.js → look-MUM6FFJS.js} +14 -15
- package/dist/{manager-PFURXZN7.js → manager-C555E5U3.js} +8 -10
- package/dist/{manager-5V4O7DY3.js → manager-MKDNQ5KZ.js} +2 -2
- package/dist/{measure-5UEQ3Z35.js → measure-HIFTI44U.js} +11 -11
- package/dist/{media-treatment-TD6MD2AQ.js → media-treatment-DI3C7GLC.js} +16 -17
- package/dist/{media-use-WM7OZFIU.js → media-use-DA5QVW4C.js} +6 -5
- package/dist/{models-RWXD6PFC.js → models-GDXFVABP.js} +11 -13
- package/dist/{motionShot-VI4JADFG.js → motionShot-UTGGCPYH.js} +17 -19
- package/dist/{normalize-audio-BS27PUKV.js → normalize-audio-YS3YILNJ.js} +23 -13
- package/dist/{open-UMB23DN6.js → open-4PKI3YVG.js} +17 -16
- package/dist/{parakeetRunner-2QB5ZG35.js → parakeetRunner-EC4KUGKK.js} +13 -15
- package/dist/{pipeline-3P5DX3DB.js → pipeline-L3ZWWTXS.js} +11 -13
- package/dist/{play-CF73RCMH.js → play-I3NXVJST.js} +25 -26
- package/dist/{preflight-JQS3EL4O.js → preflight-G2AVNYY7.js} +9 -11
- package/dist/{present-RPBRZSP2.js → present-RUJ3YKSR.js} +20 -21
- package/dist/{preview-XT5SK5IE.js → preview-M2T36DYH.js} +29 -28
- package/dist/{probe-OPBECP2X.js → probe-OASNPT5T.js} +14 -15
- package/dist/{producer-YY7LXKRQ.js → producer-YEHQIQ3O.js} +1 -1
- package/dist/{projectConfig-JA6XEBSL.js → projectConfig-LBMTOOJX.js} +8 -8
- package/dist/{publication-EOYYVFJS.js → publication-O2M6ZZNY.js} +2 -3
- package/dist/{publish-TPBXTYN2.js → publish-PMGCGIVE.js} +17 -17
- package/dist/{refresh-L5C2HPMC.js → refresh-ARZZRKMP.js} +4 -3
- package/dist/{remove-background-DMV2HTVF.js → remove-background-DFDEZEXM.js} +12 -14
- package/dist/{render-P5745VYG.js → render-PJMQH4EQ.js} +5 -6
- package/dist/{render-RXQUFM2X.js → render-SVP72X6C.js} +63 -45
- package/dist/{render-WQQ7ZPS5.js → render-U3NYKVOA.js} +33 -34
- package/dist/{render-batch-I6OHT72Q.js → render-batch-EUT4DTQZ.js} +5 -6
- package/dist/renderSetupWorker.js +6 -4
- package/dist/{resolver-CMFVVODA.js → resolver-H6U77U4P.js} +6 -6
- package/dist/{reverse-5CNVGBVP.js → reverse-IRAAQ6T7.js} +1 -1
- package/dist/{run-65M6ECM2.js → run-WZP6HXIH.js} +7 -6
- package/dist/{screenshotCapture-HTGXPA7D.js → screenshotCapture-2QYWSWGP.js} +36 -4
- package/dist/{sherpa-BPJWQXFB.js → sherpa-DO75VQI4.js} +12 -14
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/format.md +1 -1
- package/dist/skills/hyperframes/references/path-tracing.md +36 -0
- package/dist/skills/hyperframes/references/runtimes.md +1 -1
- package/dist/skills/hyperframes/references/storyboard.md +1 -1
- package/dist/skills/hyperframes/references/types/3d.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +3 -1
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/references/media-treatments.md +1 -1
- package/dist/skills/media-use/references/setup-providers.md +1 -1
- package/dist/skills/media-use/scripts/lib/local-media-search.mjs +6 -2
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +23 -0
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +6 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +34 -0
- package/dist/{skills-2Z2E7TX7.js → skills-7GNBYIEM.js} +10 -9
- package/dist/{skillsUpdateCheck-TQHSQ26D.js → skillsUpdateCheck-3X5WU4YB.js} +5 -4
- package/dist/{snapshot-NR3BZVZK.js → snapshot-7XX5FCQC.js} +82 -75
- package/dist/{src-LIR2WBQL.js → src-OUHQBPJL.js} +10 -12
- package/dist/{src-VZIS3GRG.js → src-R2QH27BL.js} +8 -8
- package/dist/{start-FDWHVOMC.js → start-SD4CCZFP.js} +44 -30
- package/dist/{staticProjectServer-L5O2GBZH.js → staticProjectServer-3DQIE2ZT.js} +20 -22
- package/dist/{status-SMFFS6LS.js → status-HUVATV7S.js} +20 -17
- package/dist/studio/assets/{hyperframes-player-bkb0-LEY.js → hyperframes-player-CL-Qh_Bx.js} +1 -1
- package/dist/studio/assets/{index-RUPGNyct.css → index-CNZk2EFC.css} +1 -1
- package/dist/studio/assets/{index-DfsIam9M.js → index-DkiYRx1f.js} +137 -137
- package/dist/studio/assets/{index-D5zessN9.js → index-DyvmaiBB.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-VLBZZ4IB.js → studio-api-776ZTVLU.js} +11 -13
- package/dist/{studioSelectionClient-FA6XPVIL.js → studioSelectionClient-W2S3H2VO.js} +3 -1
- package/dist/{studioServer-CP5HGR3W.js → studioServer-A3LGBU4W.js} +60 -62
- package/dist/{sync-NBM7J3IT.js → sync-5BBHBAZ6.js} +14 -15
- package/dist/{synthesize-S3FF5KXC.js → synthesize-GX74JPPZ.js} +2 -2
- package/dist/{telemetry-B5OJHH2C.js → telemetry-7ETKP7HP.js} +6 -5
- package/dist/{telemetry-5WZGQCKA.js → telemetry-IXOTZW4E.js} +2 -1
- package/dist/{templates-PQZCZZUG.js → templates-RH674B5Q.js} +17 -16
- package/dist/{timeline-X27NA7UH.js → timeline-DEZAVAFR.js} +42 -28
- package/dist/{tokens-XS2LOTWB.js → tokens-2UHFZABD.js} +2 -2
- package/dist/{transcribe-YPWD4E63.js → transcribe-EZEUKBI3.js} +10 -12
- package/dist/{transcribe-7M33PLAV.js → transcribe-NZBJVCSZ.js} +30 -31
- package/dist/{tts-QRQEYR3Q.js → tts-QW53FBKW.js} +3 -3
- package/dist/{update-BRTUI6AI.js → update-YXZI2ICU.js} +11 -10
- package/dist/{updateCheck-IW37C7XV.js → updateCheck-GJMC7GXZ.js} +4 -3
- package/dist/{upgrade-7EF5SHLD.js → upgrade-E3QK3G3D.js} +5 -4
- package/dist/{upload-HMRWGZIO.js → upload-YQMBLKH5.js} +3 -1
- package/dist/{urlDownloader-L6HYQHNK.js → urlDownloader-KYFYU6AG.js} +6 -8
- package/dist/{validate-PQJBBBBK.js → validate-HD224PCX.js} +28 -29
- package/dist/{video-DO6SLUPI.js → video-3NIYVUPF.js} +9 -11
- package/dist/{voices-VP5LLP5V.js → voices-G2YC3Y7U.js} +25 -26
- package/dist/warmCheck.js +47 -48
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-AFYIYW5D.js +0 -5035
- package/dist/chunk-CZGHFATT.js +0 -31
- package/dist/chunk-IVIVAE6U.js +0 -29
- package/dist/chunk-MEJH7VEA.js +0 -63
|
@@ -6,7 +6,7 @@ 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-KVANP54U.js";
|
|
10
10
|
import {
|
|
11
11
|
outputResolutionForSize
|
|
12
12
|
} from "./chunk-CUCP7FKH.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
findFFmpeg,
|
|
9
9
|
findFFprobe,
|
|
10
10
|
getFFmpegInstallHint
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-RPLMK4WC.js";
|
|
12
12
|
|
|
13
13
|
// src/measure/media.ts
|
|
14
14
|
import { execFileSync } from "child_process";
|
|
@@ -17,12 +17,14 @@ import { dirname, join, resolve } from "path";
|
|
|
17
17
|
var MAX_BUFFER = 1 << 30;
|
|
18
18
|
var FFMPEG_QUIET = ["-nostdin", "-v", "error"];
|
|
19
19
|
var Fix = class extends Error {
|
|
20
|
-
constructor(problem, fix) {
|
|
20
|
+
constructor(problem, fix, url) {
|
|
21
21
|
super(problem);
|
|
22
22
|
this.fix = fix;
|
|
23
|
+
this.url = url;
|
|
23
24
|
this.name = "Fix";
|
|
24
25
|
}
|
|
25
26
|
fix;
|
|
27
|
+
url;
|
|
26
28
|
};
|
|
27
29
|
function ffmpegBin() {
|
|
28
30
|
const bin = findFFmpeg();
|
|
@@ -107,6 +109,7 @@ function probeVideo(path) {
|
|
|
107
109
|
avgFps: avg || fps,
|
|
108
110
|
vfr: avg > 0 && Math.abs(avg - fps) / fps > 0.01,
|
|
109
111
|
hdr: /smpte2084|arib-std-b67/.test(video.color_transfer ?? ""),
|
|
112
|
+
transfer: video.color_transfer,
|
|
110
113
|
codec: video.codec_name ?? ""
|
|
111
114
|
};
|
|
112
115
|
}
|
|
@@ -130,7 +133,10 @@ function readClip(clip, opts = {}) {
|
|
|
130
133
|
if (fps) filters.push(`fps=${fps}`);
|
|
131
134
|
let [w, h] = [clip.width, clip.height];
|
|
132
135
|
if (roi) {
|
|
133
|
-
filters.push(
|
|
136
|
+
filters.push(
|
|
137
|
+
`format=${gray ? "gray" : "rgb24"}`,
|
|
138
|
+
`crop=${roi[2]}:${roi[3]}:${roi[0]}:${roi[1]}`
|
|
139
|
+
);
|
|
134
140
|
[w, h] = [roi[2], roi[3]];
|
|
135
141
|
}
|
|
136
142
|
if (width && width !== w) {
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
DEFAULT_REGISTRY_URL,
|
|
12
12
|
fetchItemManifest,
|
|
13
13
|
fetchRegistryManifest
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TBXNHLRL.js";
|
|
15
15
|
import {
|
|
16
16
|
closestNames
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-M7VAMZQW.js";
|
|
18
18
|
|
|
19
19
|
// src/registry/resolver.ts
|
|
20
20
|
function defaultWarn(message) {
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
pinnedPackageBesideCli,
|
|
17
17
|
runNpm,
|
|
18
18
|
sweepStaleStaging
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NL4RCLQF.js";
|
|
20
20
|
import {
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-NQZQZY4B.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LV7BDQ5X.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-JZIEZCQM.js";
|
|
39
39
|
import {
|
|
40
40
|
hyperframesCacheDir
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-JOQR4AP6.js";
|
|
42
42
|
|
|
43
43
|
// src/whisper/sherpa.ts
|
|
44
44
|
import { execFile, spawn } from "child_process";
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
hasPreservedUnknownData,
|
|
10
10
|
readStore,
|
|
11
11
|
writeStore
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-L24NAUBS.js";
|
|
13
13
|
import {
|
|
14
14
|
credentialPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LP7B3JLC.js";
|
|
16
16
|
|
|
17
17
|
// src/auth/user.ts
|
|
18
18
|
function isUserInfoEmpty(u) {
|
|
@@ -6,11 +6,11 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MB7VK7MW.js";
|
|
10
10
|
import {
|
|
11
11
|
HistoryBusyError,
|
|
12
12
|
beginArtifactCapture
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-US2SO6O4.js";
|
|
14
14
|
import {
|
|
15
15
|
createFileAtomically
|
|
16
16
|
} from "./chunk-A4ZTSQLW.js";
|
|
@@ -6,16 +6,19 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
refreshIfNeeded
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-J3QW55W5.js";
|
|
10
10
|
import {
|
|
11
11
|
buildAuthHeaders,
|
|
12
12
|
envCredentialVar,
|
|
13
13
|
isTokenExpired,
|
|
14
14
|
tryResolveCredential
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-L24NAUBS.js";
|
|
16
16
|
import {
|
|
17
17
|
isAuthError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LP7B3JLC.js";
|
|
19
|
+
import {
|
|
20
|
+
projectIgnore
|
|
21
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
19
22
|
import {
|
|
20
23
|
CSS_URL_RE,
|
|
21
24
|
isNonRelativeUrl,
|
|
@@ -29,6 +32,10 @@ import {
|
|
|
29
32
|
import {
|
|
30
33
|
parseHTML
|
|
31
34
|
} from "./chunk-GWTIFRF5.js";
|
|
35
|
+
import {
|
|
36
|
+
hyperframesConfigDir,
|
|
37
|
+
seededConfigFile
|
|
38
|
+
} from "./chunk-GR2E54E6.js";
|
|
32
39
|
import {
|
|
33
40
|
envProxyEnabled
|
|
34
41
|
} from "./chunk-QBXDU24O.js";
|
|
@@ -36,10 +43,9 @@ import {
|
|
|
36
43
|
// src/utils/projectLink.ts
|
|
37
44
|
import { randomUUID } from "crypto";
|
|
38
45
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
39
|
-
import { homedir } from "os";
|
|
40
46
|
import { join, resolve } from "path";
|
|
41
|
-
var
|
|
42
|
-
var
|
|
47
|
+
var configDir = () => hyperframesConfigDir();
|
|
48
|
+
var projectsFile = () => seededConfigFile("projects.json");
|
|
43
49
|
function readJsonRecord(path) {
|
|
44
50
|
try {
|
|
45
51
|
if (!existsSync(path)) return null;
|
|
@@ -56,7 +62,7 @@ function isProjectLink(value) {
|
|
|
56
62
|
return typeof link.projectId === "string" && link.projectId.length > 0 && typeof link.url === "string";
|
|
57
63
|
}
|
|
58
64
|
function readProjectLinks() {
|
|
59
|
-
const record = readJsonRecord(
|
|
65
|
+
const record = readJsonRecord(projectsFile());
|
|
60
66
|
if (!record) return {};
|
|
61
67
|
const links = {};
|
|
62
68
|
for (const [path, value] of Object.entries(record)) {
|
|
@@ -68,8 +74,8 @@ function readProjectLinks() {
|
|
|
68
74
|
}
|
|
69
75
|
function writeProjectLinks(links) {
|
|
70
76
|
try {
|
|
71
|
-
mkdirSync(
|
|
72
|
-
writeFileSync(
|
|
77
|
+
mkdirSync(configDir(), { recursive: true, mode: 448 });
|
|
78
|
+
writeFileSync(projectsFile(), `${JSON.stringify(links, null, 2)}
|
|
73
79
|
`, { mode: 384 });
|
|
74
80
|
} catch {
|
|
75
81
|
}
|
|
@@ -127,11 +133,8 @@ import {
|
|
|
127
133
|
statSync
|
|
128
134
|
} from "fs";
|
|
129
135
|
import AdmZip from "adm-zip";
|
|
130
|
-
import ignore from "ignore";
|
|
131
136
|
var IGNORED_DIRS = /* @__PURE__ */ new Set([".git", "node_modules", "dist", ".next", "coverage"]);
|
|
132
137
|
var IGNORED_FILES = /* @__PURE__ */ new Set([".DS_Store", "Thumbs.db"]);
|
|
133
|
-
var HYPERFRAMES_IGNORE_FILE = ".hyperframesignore";
|
|
134
|
-
var DEFAULT_PROJECT_IGNORE = ["/renders/", "/snapshots/", ".*"];
|
|
135
138
|
var PUBLISH_CONTENT_TYPE = "application/zip";
|
|
136
139
|
var PUBLISH_METADATA_TIMEOUT_MS = 3e4;
|
|
137
140
|
var PUBLISH_UPLOAD_MIN_TIMEOUT_MS = 12e4;
|
|
@@ -325,14 +328,6 @@ function uploadTimeoutMs(byteLength) {
|
|
|
325
328
|
function shouldIgnoreSegment(segment) {
|
|
326
329
|
return IGNORED_DIRS.has(segment) || IGNORED_FILES.has(segment);
|
|
327
330
|
}
|
|
328
|
-
function createProjectIgnore(rootDir) {
|
|
329
|
-
const matcher = ignore().add(DEFAULT_PROJECT_IGNORE);
|
|
330
|
-
const ignorePath = join2(rootDir, HYPERFRAMES_IGNORE_FILE);
|
|
331
|
-
if (existsSync2(ignorePath)) {
|
|
332
|
-
matcher.add(readFileSync2(ignorePath, "utf-8"));
|
|
333
|
-
}
|
|
334
|
-
return matcher;
|
|
335
|
-
}
|
|
336
331
|
function collectProjectFiles(rootDir, currentDir, paths, matcher) {
|
|
337
332
|
for (const entry of readdirSync(currentDir, { withFileTypes: true })) {
|
|
338
333
|
if (shouldIgnoreSegment(entry.name)) continue;
|
|
@@ -536,7 +531,7 @@ function buildPublishFileMap(projectDir) {
|
|
|
536
531
|
function stagePublishFiles(projectDir, onDiskMinBytes) {
|
|
537
532
|
const absProjectDir = resolve2(projectDir);
|
|
538
533
|
const filePaths = [];
|
|
539
|
-
collectProjectFiles(absProjectDir, absProjectDir, filePaths,
|
|
534
|
+
collectProjectFiles(absProjectDir, absProjectDir, filePaths, projectIgnore(absProjectDir));
|
|
540
535
|
if (!filePaths.includes("index.html")) {
|
|
541
536
|
throw new Error(
|
|
542
537
|
"Project archive must include index.html at the root. Check that .hyperframesignore does not exclude it."
|
|
@@ -7,27 +7,27 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
cliCheckoutLink,
|
|
9
9
|
pageUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JSCY2GUB.js";
|
|
11
11
|
import {
|
|
12
12
|
Fix
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VR7E3QEQ.js";
|
|
14
14
|
import {
|
|
15
15
|
refreshIfNeeded,
|
|
16
16
|
resolveCloudAuthHeaders,
|
|
17
17
|
resolveCloudBaseUrl
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3QW55W5.js";
|
|
19
19
|
import {
|
|
20
20
|
AuthClient,
|
|
21
21
|
buildAuthHeaders,
|
|
22
22
|
resolveCredential
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-L24NAUBS.js";
|
|
24
24
|
import {
|
|
25
25
|
HyperframesApiError,
|
|
26
26
|
HyperframesCloudClient
|
|
27
27
|
} from "./chunk-3XJM7XZN.js";
|
|
28
28
|
import {
|
|
29
29
|
configDir
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LP7B3JLC.js";
|
|
31
31
|
|
|
32
32
|
// src/heygen/v3.ts
|
|
33
33
|
import { createHash } from "crypto";
|
|
@@ -109,20 +109,37 @@ async function refusal(status, body, estimate) {
|
|
|
109
109
|
const code = String(err.code ?? err.failure_code ?? "");
|
|
110
110
|
const message = String(err.message ?? err.failure_message ?? "").slice(0, 300);
|
|
111
111
|
const url = typeof err.url === "string" ? err.url : void 0;
|
|
112
|
+
const purchaseClosed = err.url === null;
|
|
112
113
|
const given = Number(err.needed_credits) || void 0;
|
|
113
114
|
const needed = given ?? (estimate || void 0);
|
|
114
115
|
const needs = given ? `${given} in total` : needed ? `about ${needed} in total` : "more";
|
|
115
116
|
const balance = err.balance === void 0 ? "" : `, balance ${String(err.balance)}`;
|
|
116
|
-
if (/hf_subscription_required/i.test(code))
|
|
117
|
+
if (/hf_subscription_required/i.test(code)) {
|
|
118
|
+
if (purchaseClosed)
|
|
119
|
+
return new Refused(
|
|
120
|
+
"this is a HyperFrames Pro feature, and a plan can't be purchased right now; nothing was charged",
|
|
121
|
+
"tell the person a plan can't be purchased right now, and give no link"
|
|
122
|
+
);
|
|
123
|
+
const link = url ? cliCheckoutLink(url, MEDIA_USE_SKILL) : await pageUrl("plans", { needed, skill: MEDIA_USE_SKILL });
|
|
117
124
|
return new Refused(
|
|
118
125
|
`this is a HyperFrames Pro feature; nothing was charged. Run \`npx hyperframes billing subscribe --skill ${MEDIA_USE_SKILL}\`: it opens the page and waits`,
|
|
119
|
-
`Subscribe: ${
|
|
126
|
+
`Subscribe: ${link}`,
|
|
127
|
+
link
|
|
120
128
|
);
|
|
121
|
-
|
|
129
|
+
}
|
|
130
|
+
if (/hf_usage_exhausted/i.test(code)) {
|
|
131
|
+
if (purchaseClosed)
|
|
132
|
+
return new Refused(
|
|
133
|
+
`out of HyperFrames credits (this step needs ${needs}${balance}), and credits can't be purchased right now; nothing was charged`,
|
|
134
|
+
"tell the person credits can't be purchased right now, and give no link"
|
|
135
|
+
);
|
|
136
|
+
const link = url ? cliCheckoutLink(url, MEDIA_USE_SKILL) : await pageUrl("credits", { needed, skill: MEDIA_USE_SKILL });
|
|
122
137
|
return new Refused(
|
|
123
138
|
`out of HyperFrames credits (this step needs ${needs}${balance}); nothing was charged. Run \`npx hyperframes billing add-credits${needed ? ` --needed ${needed}` : ""} --skill ${MEDIA_USE_SKILL}\`: it opens the page and waits`,
|
|
124
|
-
`Buy add-on credits: ${
|
|
139
|
+
`Buy add-on credits: ${link}`,
|
|
140
|
+
link
|
|
125
141
|
);
|
|
142
|
+
}
|
|
126
143
|
if (/api_key_required/i.test(code))
|
|
127
144
|
return new Refused(
|
|
128
145
|
"this HeyGen feature is not available with this sign-in yet; nothing was charged",
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O7SPZE7M.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-7ETKP7HP.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -7,12 +7,12 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
findCuts,
|
|
9
9
|
signatures
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LV3MNSL7.js";
|
|
11
11
|
import {
|
|
12
12
|
jsonArg,
|
|
13
13
|
num,
|
|
14
14
|
runMeasure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MDZANX4P.js";
|
|
16
16
|
import {
|
|
17
17
|
makeOutputFolder
|
|
18
18
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
publicVoices,
|
|
24
24
|
runJob,
|
|
25
25
|
senderScope
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-XBJNA2O5.js";
|
|
27
27
|
import {
|
|
28
28
|
Fix,
|
|
29
29
|
probeSeconds,
|
|
@@ -32,10 +32,10 @@ import {
|
|
|
32
32
|
round,
|
|
33
33
|
runFfmpeg,
|
|
34
34
|
videoClip
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-VR7E3QEQ.js";
|
|
36
36
|
import {
|
|
37
37
|
loadSharp
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NL4RCLQF.js";
|
|
39
39
|
import {
|
|
40
40
|
defineCommand
|
|
41
41
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -311,9 +311,9 @@ function assetsOf(r) {
|
|
|
311
311
|
async function uploaded(paths) {
|
|
312
312
|
const ids = /* @__PURE__ */ new Map();
|
|
313
313
|
if (!paths.length) return ids;
|
|
314
|
-
const { createCloudClient } = await import("./cloud-
|
|
315
|
-
const { uploadAssetViaDirectUpload } = await import("./upload-
|
|
316
|
-
const { getMimeType } = await import("./dist-
|
|
314
|
+
const { createCloudClient } = await import("./cloud-D3WTNTF2.js");
|
|
315
|
+
const { uploadAssetViaDirectUpload } = await import("./upload-YQMBLKH5.js");
|
|
316
|
+
const { getMimeType } = await import("./dist-LIQVRDQQ.js");
|
|
317
317
|
const client = await createCloudClient();
|
|
318
318
|
for (const path of paths) {
|
|
319
319
|
const asset = await uploadAssetViaDirectUpload({
|
|
@@ -12,15 +12,15 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4TW62PDH.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
24
24
|
import {
|
|
25
25
|
SPLIT_BOUNDARY_EPSILON_S,
|
|
26
26
|
readClipTiming,
|
|
@@ -137,7 +137,7 @@ function replacementTimelineAssetId(document, element, newSrc) {
|
|
|
137
137
|
return buildTimelineAssetId(decodedUrlPath(newSrc), ids);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// ../studio-server/dist/chunk-
|
|
140
|
+
// ../studio-server/dist/chunk-REQUL5L4.js
|
|
141
141
|
var import_postcss_selector_parser = __toESM(require_dist(), 1);
|
|
142
142
|
import postcss from "postcss";
|
|
143
143
|
function parseStyleDecls(style) {
|
|
@@ -460,6 +460,12 @@ function probeElementsInSource(source, targets) {
|
|
|
460
460
|
function probeElementInSource(source, target) {
|
|
461
461
|
return probeElementsInSource(source, [target])[0] ?? false;
|
|
462
462
|
}
|
|
463
|
+
var refused = (html, refusal) => ({
|
|
464
|
+
html,
|
|
465
|
+
matched: false,
|
|
466
|
+
newId: null,
|
|
467
|
+
refusal
|
|
468
|
+
});
|
|
463
469
|
function resolveElementTiming(el) {
|
|
464
470
|
const timing = readClipTiming(el);
|
|
465
471
|
return { start: timing.start ?? 0, duration: timing.duration ?? 0 };
|
|
@@ -480,7 +486,7 @@ function isWindowOf(media, row) {
|
|
|
480
486
|
function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
|
|
481
487
|
const { document, wrappedFragment } = parseSourceDocument(source);
|
|
482
488
|
const el = findTargetElement(document, target);
|
|
483
|
-
if (!el || !isHTMLElement(el)) return
|
|
489
|
+
if (!el || !isHTMLElement(el)) return refused(source, "target-not-found");
|
|
484
490
|
const timedMediaSelector = "video[data-start], audio[data-start]";
|
|
485
491
|
const innerMedia = el.hasAttribute("data-start") || resolveElementTiming(el).duration > 0 || el.matches("[data-composition-src], [data-composition-id]") ? null : el.querySelector(timedMediaSelector);
|
|
486
492
|
const timedMedia = innerMedia && isWindowOf(resolveElementTiming(innerMedia), fallbackTiming) ? innerMedia : null;
|
|
@@ -490,21 +496,22 @@ function splitElementInHtml(source, target, splitTime, newId, fallbackTiming) {
|
|
|
490
496
|
const reference = readClipTiming(timed).startExpression;
|
|
491
497
|
const startsAfter = reference?.kind === "reference" ? reference : null;
|
|
492
498
|
if (startsAfter) {
|
|
493
|
-
if (!fallbackTiming) return
|
|
499
|
+
if (!fallbackTiming) return refused(source, "reference-without-range");
|
|
494
500
|
start = fallbackTiming.start;
|
|
495
501
|
}
|
|
496
502
|
if (duration <= 0 && fallbackTiming && fallbackTiming.duration > 0) {
|
|
497
503
|
start = fallbackTiming.start;
|
|
498
504
|
duration = fallbackTiming.duration;
|
|
499
505
|
}
|
|
500
|
-
if (duration <= 0
|
|
501
|
-
|
|
506
|
+
if (duration <= 0) return refused(source, "no-duration");
|
|
507
|
+
if (splitTime < start + SPLIT_BOUNDARY_EPSILON_S || splitTime > start + duration - SPLIT_BOUNDARY_EPSILON_S) {
|
|
508
|
+
return refused(source, "outside-clip");
|
|
502
509
|
}
|
|
503
510
|
newId = nextUniqueId(document, newId);
|
|
504
511
|
const firstDuration = splitTime - start;
|
|
505
512
|
const secondDuration = duration - firstDuration;
|
|
506
513
|
const clone = el.cloneNode(true);
|
|
507
|
-
if (!isHTMLElement(clone)) return
|
|
514
|
+
if (!isHTMLElement(clone)) return refused(source, "target-not-found");
|
|
508
515
|
clone.setAttribute("id", newId);
|
|
509
516
|
dedupeClonedCompositionId(document, clone);
|
|
510
517
|
clone.removeAttribute("data-hf-id");
|
|
@@ -6,31 +6,31 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
redactHome
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PVDBALBI.js";
|
|
10
10
|
import "./chunk-SHOE3UR6.js";
|
|
11
11
|
import "./chunk-J3OVTOVC.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-L5EM7KAY.js";
|
|
13
|
+
import "./chunk-NL4RCLQF.js";
|
|
14
14
|
import "./chunk-6BEFEWFB.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-RPLMK4WC.js";
|
|
16
16
|
import {
|
|
17
17
|
loadProducer
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-VMWRWUDV.js";
|
|
19
|
+
import "./chunk-3IMHFJDG.js";
|
|
20
|
+
import "./chunk-ZO74SCFC.js";
|
|
21
|
+
import "./chunk-L3HCPZZT.js";
|
|
22
22
|
import "./chunk-6FDVPIOO.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_HISTORY_ROOT,
|
|
25
25
|
listProjectHistories,
|
|
26
26
|
pruneGoneProjectHistories,
|
|
27
27
|
reclaimUncopiedBlobs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-US2SO6O4.js";
|
|
29
29
|
import {
|
|
30
30
|
CACHE_DIR_NAME,
|
|
31
31
|
cleanupProxyCache
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
32
|
+
} from "./chunk-IIXZLGSI.js";
|
|
33
|
+
import "./chunk-4R63FXGU.js";
|
|
34
34
|
import "./chunk-ALVXFXUG.js";
|
|
35
35
|
import "./chunk-W4DMQZL5.js";
|
|
36
36
|
import {
|
|
@@ -52,30 +52,28 @@ import {
|
|
|
52
52
|
directorySizeBytes,
|
|
53
53
|
gcExtractionCache,
|
|
54
54
|
resolveExtractCacheDir
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NMQWKWV4.js";
|
|
56
56
|
import "./chunk-Z5J67X44.js";
|
|
57
57
|
import "./chunk-5S7W3TUO.js";
|
|
58
58
|
import "./chunk-D3MUHMFG.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-4TW62PDH.js";
|
|
60
60
|
import "./chunk-YWRUQ7XZ.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-AFYIYW5D.js";
|
|
61
|
+
import "./chunk-HUZ3GL3F.js";
|
|
62
|
+
import "./chunk-VBEP277H.js";
|
|
64
63
|
import "./chunk-VC76R6W2.js";
|
|
65
64
|
import "./chunk-OFQWTKPW.js";
|
|
66
65
|
import "./chunk-RQVDTPGD.js";
|
|
67
66
|
import "./chunk-3GXQPCJC.js";
|
|
68
67
|
import "./chunk-TK7THLRO.js";
|
|
69
68
|
import "./chunk-FXMKHHPO.js";
|
|
70
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-P7DCQJ6N.js";
|
|
71
70
|
import "./chunk-X6JUUQCM.js";
|
|
72
71
|
import "./chunk-KGPLIH7B.js";
|
|
73
72
|
import "./chunk-LAGZGKKN.js";
|
|
74
73
|
import "./chunk-K4MJX7SR.js";
|
|
75
74
|
import "./chunk-WE42NVH7.js";
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-NTMMUK6Q.js";
|
|
77
76
|
import "./chunk-WVRAFHJU.js";
|
|
78
|
-
import "./chunk-CZGHFATT.js";
|
|
79
77
|
import "./chunk-HYRPH6LL.js";
|
|
80
78
|
import "./chunk-OHQRQE7F.js";
|
|
81
79
|
import "./chunk-CUCP7FKH.js";
|
|
@@ -86,20 +84,21 @@ import "./chunk-2RY2LWAA.js";
|
|
|
86
84
|
import "./chunk-EPQC3FGZ.js";
|
|
87
85
|
import "./chunk-WC4MTXGN.js";
|
|
88
86
|
import "./chunk-FBN2M2HK.js";
|
|
89
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-JOQR4AP6.js";
|
|
90
88
|
import {
|
|
91
89
|
withMeta
|
|
92
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-DVKZ55DS.js";
|
|
93
91
|
import "./chunk-BR2JQQC5.js";
|
|
94
|
-
import "./chunk-
|
|
92
|
+
import "./chunk-CMQZP52Y.js";
|
|
95
93
|
import "./chunk-ISN5GRYI.js";
|
|
94
|
+
import "./chunk-GR2E54E6.js";
|
|
96
95
|
import "./chunk-ADVVQX4I.js";
|
|
97
96
|
import {
|
|
98
97
|
setCommandExitCode
|
|
99
98
|
} from "./chunk-66W5IWLO.js";
|
|
100
99
|
import "./chunk-FYZFURBN.js";
|
|
101
100
|
import "./chunk-QBXDU24O.js";
|
|
102
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-DEI35LJT.js";
|
|
103
102
|
import "./chunk-E63BDV4Z.js";
|
|
104
103
|
import "./chunk-G7VEYUZ2.js";
|
|
105
104
|
import "./chunk-XT6MXC7A.js";
|