hyperframes 0.9.15 → 0.9.16
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 +9 -0
- package/dist/{add-S3QTEUUZ.js → add-GEGI5ERI.js} +15 -14
- package/dist/{agentPromptGenerator-7FNPHUHJ.js → agentPromptGenerator-VV7UQDGL.js} +7 -8
- package/dist/{animatedGifPrep-NFT2NCNX.js → animatedGifPrep-JTPCKJ44.js} +7 -8
- package/dist/api.js +36 -36
- package/dist/{appHistory-BCWH6XYH.js → appHistory-WXJ4STHX.js} +2 -1
- package/dist/{asset-2BBOP7JZ.js → asset-ZTXZ6HGB.js} +2 -2
- package/dist/{assetCataloger-IY3XEIOP.js → assetCataloger-ATGUE5IY.js} +9 -10
- package/dist/{audio-QJUSICGQ.js → audio-5SBZBNSP.js} +19 -19
- package/dist/{auth-VDFPA4VH.js → auth-NDUIJ4HS.js} +4 -4
- package/dist/{autoUpdate-XUQK5WGH.js → autoUpdate-PZTBUAA5.js} +25 -16
- package/dist/{avatars-KCRRY6FB.js → avatars-YY7FU76E.js} +16 -16
- package/dist/{backgroundChecks-QAR4J3EA.js → backgroundChecks-6KERI5QL.js} +5 -4
- package/dist/backgroundChecksWorker.js +5 -4
- package/dist/{batchRender-IHSCRPWL.js → batchRender-L3IIY2FT.js} +5 -4
- package/dist/{beats-KHLBORQV.js → beats-UBUJBSVD.js} +11 -11
- package/dist/{benchmark-7OK27YVS.js → benchmark-YJ2U5KE3.js} +11 -11
- package/dist/{billing-CZWTUT4T.js → billing-YN35KTEH.js} +79 -36
- package/dist/{browser-R4ZG7RVY.js → browser-NRDSXRX7.js} +8 -7
- package/dist/{bundleWithLocalizedFonts-F3TAMJ2J.js → bundleWithLocalizedFonts-5T25BRZU.js} +1 -1
- package/dist/{capture-2TL7VL2K.js → capture-7K7VWXBQ.js} +17 -18
- package/dist/{capture-LRBDPPKP.js → capture-MP46JHB7.js} +3 -3
- package/dist/{captureCompositionFrame-2XH2Z4RY.js → captureCompositionFrame-4VZCJGGD.js} +13 -14
- package/dist/{catalog-PTVMH3GV.js → catalog-32CQF7IT.js} +23 -21
- package/dist/{catch-up-WRIIXOZE.js → catch-up-IVBUCPZM.js} +9 -7
- package/dist/{check-XHB7IC3B.js → check-U5PPKHG5.js} +43 -43
- package/dist/{checkAudio-LETXIMCO.js → checkAudio-ZCRRON4E.js} +10 -11
- package/dist/{checkBrowser-YHD3NILB.js → checkBrowser-MS5NKDXR.js} +36 -36
- package/dist/{chunk-DCLZEI2C.js → chunk-344RFO72.js} +2 -2
- package/dist/{chunk-US4BCRYB.js → chunk-3L2POG2J.js} +23 -1
- package/dist/{chunk-SUFHFBNO.js → chunk-4ECLIUTB.js} +2 -2
- package/dist/{chunk-HCTHKNMZ.js → chunk-4FHTWYDZ.js} +1 -1
- package/dist/{chunk-RLPTQF5E.js → chunk-5IVECOVN.js} +2 -2
- package/dist/{chunk-4W5NIHYU.js → chunk-5L2CII4L.js} +1 -1
- package/dist/{chunk-OO6AETRF.js → chunk-65XOIIBM.js} +1 -1
- package/dist/{chunk-D3B76FBE.js → chunk-6H5KN7CJ.js} +5 -5
- package/dist/{chunk-EWAPC74T.js → chunk-6H5NILM5.js} +1 -1
- package/dist/{chunk-76AJS2LI.js → chunk-6M3TQUDF.js} +9 -3
- package/dist/{chunk-X5FSMQEJ.js → chunk-6RPKPL22.js} +1 -1
- package/dist/{chunk-76GLTXI5.js → chunk-72PVZ2A4.js} +2 -2
- package/dist/{chunk-AVOYOW2Y.js → chunk-75PTCQAO.js} +1 -1
- package/dist/{chunk-7YCF2F5M.js → chunk-77E2UIIR.js} +1 -1
- package/dist/{chunk-G4L4JU4I.js → chunk-A4OX3TI6.js} +2 -2
- package/dist/{chunk-LQ74BSBR.js → chunk-AD2T3VAJ.js} +2 -2
- package/dist/{chunk-BRHSN2TH.js → chunk-AGQNRDYJ.js} +2 -2
- package/dist/{chunk-CIWX5UKC.js → chunk-ALQAHCK5.js} +14 -5
- package/dist/{chunk-UWZ2OIWM.js → chunk-AZO2YY3U.js} +1 -1
- package/dist/{chunk-XD7LQWTU.js → chunk-B2W2CPXF.js} +2 -2
- package/dist/{chunk-G7XKDDWE.js → chunk-BB5CZTGW.js} +1 -1
- package/dist/{chunk-W7ITBVJE.js → chunk-BJAESOYP.js} +12 -9
- package/dist/{chunk-N4KVW3ZI.js → chunk-BSPE37DP.js} +4 -4
- package/dist/{chunk-IVIVAE6U.js → chunk-CAD6G75K.js} +2 -2
- package/dist/{chunk-CKEOCCMK.js → chunk-CMQZP52Y.js} +22 -18
- package/dist/{chunk-3CHUQRFX.js → chunk-DM7WRHB5.js} +1 -1
- package/dist/{chunk-MRJRAAB2.js → chunk-DV7RLE6B.js} +3 -3
- package/dist/{chunk-EOCFNE53.js → chunk-ENVFGBRD.js} +1 -1
- package/dist/chunk-EXA6R6SW.js +24 -0
- package/dist/{chunk-MB2NPHAS.js → chunk-G4OGVFUJ.js} +1 -1
- package/dist/{chunk-3YIOLQ2Y.js → chunk-G54QPS3F.js} +5 -5
- package/dist/{chunk-P77AJDIN.js → chunk-GGSTJZQL.js} +3 -3
- package/dist/{chunk-XQ26I3PL.js → chunk-GKLZMLX3.js} +4 -2
- package/dist/chunk-GR2E54E6.js +31 -0
- package/dist/{chunk-6CXFFUL5.js → chunk-HK4AN44J.js} +2 -2
- package/dist/{chunk-DJTC4NK7.js → chunk-IR3JMMFT.js} +55 -4
- package/dist/{chunk-7WAEV3OM.js → chunk-IX5QY54Q.js} +2 -2
- package/dist/{chunk-XWFPP6LC.js → chunk-J2I2LTJM.js} +2 -2
- package/dist/chunk-J3G5KEPY.js +5035 -0
- package/dist/{chunk-BY7PZB6H.js → chunk-J3QW55W5.js} +2 -2
- package/dist/{chunk-TRA75UKG.js → chunk-JCIPZMKD.js} +3 -3
- package/dist/{chunk-CZ5NNJ6H.js → chunk-JFUXZERX.js} +2 -2
- package/dist/{chunk-766MOTIZ.js → chunk-JOQR4AP6.js} +5 -1
- package/dist/{chunk-FBQKUBMD.js → chunk-JPODNK2G.js} +2 -2
- package/dist/{chunk-AWV4F5TS.js → chunk-JWCMOC7O.js} +3 -3
- package/dist/{chunk-HQOJ5ZBI.js → chunk-K2JGJUMR.js} +3 -3
- package/dist/{chunk-RL5VZ4Y2.js → chunk-KWORPYKW.js} +1 -1
- package/dist/{chunk-ZFZXGZTX.js → chunk-L24NAUBS.js} +1 -1
- package/dist/{chunk-5G5YR4P3.js → chunk-L4ZMCB52.js} +29 -18
- package/dist/{chunk-WM7JSUK2.js → chunk-L6X4ONBM.js} +7 -7
- package/dist/{chunk-6KQHLLKI.js → chunk-LHRQP7TF.js} +7 -7
- package/dist/{chunk-72K35GRP.js → chunk-LIUJRACZ.js} +1 -1
- package/dist/{chunk-OWZAG6N4.js → chunk-LOKTVSTM.js} +1 -1
- package/dist/{chunk-BVAPHHMQ.js → chunk-LP7B3JLC.js} +4 -2
- package/dist/{chunk-44HJCTWN.js → chunk-M2Y245ET.js} +2 -2
- package/dist/{chunk-YEE4A3IV.js → chunk-N32TVQYQ.js} +2 -2
- package/dist/{chunk-5UT3R43E.js → chunk-NL4RCLQF.js} +1 -1
- package/dist/{chunk-HXQO2Q6T.js → chunk-NNXS4VBX.js} +1 -1
- package/dist/{chunk-IODESAJT.js → chunk-NPDBBMXX.js} +1 -1
- package/dist/{chunk-QNE3NJO5.js → chunk-O2B3YNUH.js} +3 -3
- package/dist/{chunk-4VOK4IOF.js → chunk-OIJHKOV2.js} +26 -9
- package/dist/{chunk-XLNV66JK.js → chunk-OK3IQC32.js} +1 -1
- package/dist/{chunk-V2BRRTED.js → chunk-P2AOKCAC.js} +16 -9
- package/dist/{chunk-MT2Z5YBM.js → chunk-P7DCQJ6N.js} +1 -1
- package/dist/{chunk-2VYQ62PP.js → chunk-PC662ORN.js} +8 -3
- package/dist/{chunk-Z6AERD5Q.js → chunk-PGM5YXBA.js} +1 -1
- package/dist/{chunk-4VYPICIA.js → chunk-PJEXCOCR.js} +12 -4
- package/dist/{chunk-Q5QMH5QA.js → chunk-PLVIN7X6.js} +1 -1
- package/dist/{chunk-NB2AEFNM.js → chunk-PNZD5LZL.js} +29 -16
- package/dist/{chunk-UCQ7ZF47.js → chunk-PWOMLJFV.js} +2 -2
- package/dist/{chunk-6QP3ZSJN.js → chunk-PWTWZF3F.js} +1 -1
- package/dist/{chunk-KJSCMUST.js → chunk-Q5M3JAME.js} +14 -14
- package/dist/{chunk-RXFKSZN2.js → chunk-QCHPM3C2.js} +1 -1
- package/dist/{chunk-ATRSQXUV.js → chunk-QXGT6KRX.js} +49 -10
- package/dist/{chunk-KIGPWWIE.js → chunk-R5LSL2C7.js} +1 -1
- package/dist/{chunk-XRKQJADF.js → chunk-S6AMEEGZ.js} +3 -3
- package/dist/{chunk-6KZAQHWH.js → chunk-S7UUJ77M.js} +3 -3
- package/dist/{chunk-6P2ZRIKN.js → chunk-SE4WJJ43.js} +1 -1
- package/dist/{chunk-QBDOEJX2.js → chunk-SOQNCHO5.js} +170 -175
- package/dist/{chunk-FU5TXQAN.js → chunk-SPJX4LQR.js} +11 -11
- package/dist/{chunk-MYQ4NH3E.js → chunk-SREJU7NR.js} +1 -1
- package/dist/{chunk-Q3IYSP4G.js → chunk-TEEPLD64.js} +2 -2
- package/dist/{chunk-B3CSMKM7.js → chunk-TJUJJYJC.js} +1 -1
- package/dist/{chunk-DTWIC6JZ.js → chunk-TTEOPEJJ.js} +1 -1
- package/dist/{chunk-GPLINKEE.js → chunk-U7LBN2BQ.js} +7 -7
- package/dist/{chunk-422TEJIX.js → chunk-U7MRV4RM.js} +7 -7
- package/dist/{chunk-SIAPGZ4S.js → chunk-UGYQBRHG.js} +4 -4
- package/dist/{chunk-TMAFZJAP.js → chunk-UK5DBUJX.js} +7 -7
- package/dist/{chunk-XLPCBE2Q.js → chunk-US2SO6O4.js} +1 -1
- package/dist/{chunk-ZFDKOTN4.js → chunk-VPBE4USM.js} +25 -20
- package/dist/{chunk-5UXMG5CM.js → chunk-W2BP25U5.js} +1 -1
- package/dist/{chunk-7X3UDKJK.js → chunk-WMRHEI4N.js} +2 -2
- package/dist/{chunk-PMVFBCE5.js → chunk-WWEFNXQI.js} +2 -2
- package/dist/{chunk-UWB44MM4.js → chunk-XDT2DMH6.js} +2 -2
- package/dist/{chunk-V5UBOBEG.js → chunk-XS27ELRN.js} +3 -3
- package/dist/{chunk-AQZZLJY7.js → chunk-YFHOTWWE.js} +2 -2
- package/dist/{chunk-SM4DG7SR.js → chunk-YKAK4ALT.js} +3 -3
- package/dist/{chunk-IL5CYE3O.js → chunk-YNAKUHSJ.js} +5 -5
- package/dist/{chunk-OMOBWXJL.js → chunk-YQ4LB3XC.js} +2 -2
- package/dist/{chunk-CHRHMT6W.js → chunk-ZAD422DC.js} +6 -6
- package/dist/{chunk-JMUHTEAS.js → chunk-ZEOPRYFK.js} +42 -27
- package/dist/{chunk-QK4HTIXK.js → chunk-ZLWRAHBZ.js} +11 -11
- package/dist/{chunk-WE6SM4HJ.js → chunk-ZO5QD2FA.js} +2 -2
- package/dist/{chunk-SUCTCDDY.js → chunk-ZUZPIM6R.js} +8 -5
- package/dist/{clean-F7Y2JBO5.js → clean-5K2KTH5M.js} +22 -22
- package/dist/cli.js +65 -64
- package/dist/{cloud-SQSYDRCJ.js → cloud-7O2Q7IHJ.js} +4 -4
- package/dist/{cloud-RFM3PYTR.js → cloud-D3WTNTF2.js} +5 -4
- package/dist/{cloudrun-3NSTX3CE.js → cloudrun-3HRDMWIS.js} +10 -8
- package/dist/{compare-J2K3SBGQ.js → compare-D22HJO5V.js} +35 -35
- package/dist/{compiler-DMRQ44TO.js → compiler-RY6IVESI.js} +3 -3
- package/dist/{component-FDWARSYD.js → component-B7V7A5AP.js} +3 -3
- package/dist/{compositions-CVCE2GJN.js → compositions-HFBRVNYW.js} +14 -14
- package/dist/{contactSheet-RJTY6IIV.js → contactSheet-RWRMLRZI.js} +3 -3
- package/dist/{curve-C7MZIWFU.js → curve-7PLN35CZ.js} +13 -13
- package/dist/{cuts-PN574VHO.js → cuts-ZG7TBYVD.js} +14 -14
- package/dist/{delete-V6U3W4CS.js → delete-YL4IMJJZ.js} +8 -7
- package/dist/{deploy-R33MSCVV.js → deploy-A6CDKFQZ.js} +2 -2
- package/dist/{describeProject-ARFPRWDZ.js → describeProject-VZCHDSWT.js} +8 -9
- package/dist/{deterministicFonts-HY5GWGQQ.js → deterministicFonts-DQDB47K3.js} +2 -2
- package/dist/{diff-QFMI6N6P.js → diff-PBVZRS5Z.js} +40 -40
- package/dist/{dist-XVVBUFOD.js → dist-BU547SVG.js} +2 -3
- package/dist/{dist-TI44VPHO.js → dist-FPRADDH6.js} +1 -1
- package/dist/{dist-BYY3JRG2.js → dist-HRK4GWLN.js} +11 -12
- package/dist/docs/examples.md +4 -0
- package/dist/{doctor-CREGMXCV.js → doctor-IFTYCM3E.js} +15 -15
- package/dist/{energy-7G2AX2CC.js → energy-ENGAT6Z5.js} +14 -14
- package/dist/{events-ISILMISS.js → events-A6SBEKVH.js} +5 -4
- package/dist/{events-Y47D7LCD.js → events-AZ5XEDBE.js} +16 -16
- package/dist/{events-LF3JDEMV.js → events-CMAXQTDX.js} +6 -5
- package/dist/{extract-NXHUAZJQ.js → extract-IE74J44O.js} +15 -15
- package/dist/{face-52FKXAW6.js → face-JAPTS7VJ.js} +14 -14
- package/dist/{feedback-LDYDOVKP.js → feedback-QCFWXJCD.js} +13 -13
- package/dist/{ffmpeg-4YTCWYMO.js → ffmpeg-4YMUUJP7.js} +7 -8
- package/dist/{figma-K3XDEK3K.js → figma-C36IECKZ.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -12
- package/dist/{frames-ZR3SBSEJ.js → frames-ZW26G4UP.js} +16 -16
- package/dist/{generate-DDFMXJZV.js → generate-ZXR73M22.js} +27 -27
- package/dist/{get-YLVWTD7K.js → get-3KICFW3X.js} +8 -7
- package/dist/{gpuPolicy-5L45UYI4.js → gpuPolicy-SBYZLOAU.js} +7 -8
- package/dist/{grade-compare-U22AZXLQ.js → grade-compare-DCL3OPKF.js} +35 -35
- package/dist/{heifImagePrep-E5UHLK7F.js → heifImagePrep-YQWEIVTC.js} +8 -9
- package/dist/{help-6UBS7VEC.js → help-PUL7OS7X.js} +1 -1
- package/dist/{history-NQ57D6BT.js → history-GPBKC5DE.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-7I6ZVJ64.js} +10 -10
- package/dist/{init-E3E5O4BO.js → init-5MCEGVHR.js} +77 -42
- package/dist/{ink-JP2JIJ7O.js → ink-NLYWOBTK.js} +14 -14
- package/dist/{inspect-PB7AQSWP.js → inspect-52COR3TB.js} +34 -34
- package/dist/{installer-DXVPAZI5.js → installer-ARMP4WLF.js} +5 -5
- package/dist/{keyframes-WU52W4WC.js → keyframes-3UMSTEYW.js} +9 -8
- package/dist/{lambda-EPKOKH3F.js → lambda-FYHLXH4H.js} +11 -12
- package/dist/{layout-QYDZ3OWK.js → layout-QKWAPDPV.js} +34 -34
- package/dist/{lint-HA2BXUCU.js → lint-WJCUB2CR.js} +18 -11
- package/dist/{lintProject-Z2TEXMY4.js → lintProject-FPLCK7VP.js} +1 -1
- package/dist/{list-P4PHY54O.js → list-4FQ4BDXW.js} +8 -7
- package/dist/{localPage-GJQ2KHOH.js → localPage-YINL6OV7.js} +7 -8
- package/dist/{login-FZ224A3F.js → login-P74VBTVA.js} +8 -7
- package/dist/{logout-YACQMRZN.js → logout-EQ2HJDL4.js} +4 -3
- package/dist/{look-OMZ2QZO5.js → look-QCOMYMSD.js} +14 -14
- package/dist/{manager-5V4O7DY3.js → manager-MKDNQ5KZ.js} +2 -2
- package/dist/{manager-PFURXZN7.js → manager-V2ZJSF3Q.js} +8 -9
- package/dist/{measure-5UEQ3Z35.js → measure-7IODZ7VY.js} +11 -11
- package/dist/{media-treatment-TD6MD2AQ.js → media-treatment-UJIFSAXV.js} +16 -16
- package/dist/{media-use-WM7OZFIU.js → media-use-4Y5XRY6B.js} +6 -5
- package/dist/{models-RWXD6PFC.js → models-WPBGJ7K6.js} +11 -12
- package/dist/{motionShot-VI4JADFG.js → motionShot-DZZXLIIT.js} +17 -18
- package/dist/{normalize-audio-BS27PUKV.js → normalize-audio-QS2GZ5IT.js} +11 -11
- package/dist/{open-UMB23DN6.js → open-SIWIC52J.js} +16 -15
- package/dist/{parakeetRunner-2QB5ZG35.js → parakeetRunner-YUUCCA3S.js} +13 -14
- package/dist/{pipeline-3P5DX3DB.js → pipeline-AJKIZGUM.js} +11 -12
- package/dist/{play-CF73RCMH.js → play-4EF3JLTU.js} +24 -24
- package/dist/{preflight-JQS3EL4O.js → preflight-LSDOTWZ5.js} +9 -10
- package/dist/{present-RPBRZSP2.js → present-AOLHT3YC.js} +20 -20
- package/dist/{preview-XT5SK5IE.js → preview-WP5VAX3M.js} +28 -26
- package/dist/{probe-OPBECP2X.js → probe-WZ3OWMKG.js} +14 -14
- package/dist/{producer-YY7LXKRQ.js → producer-C72VSLBR.js} +1 -1
- package/dist/{projectConfig-JA6XEBSL.js → projectConfig-LPC7WK4W.js} +7 -7
- package/dist/{publication-EOYYVFJS.js → publication-QGBUXKB2.js} +2 -3
- package/dist/{publish-TPBXTYN2.js → publish-KA2LPVL7.js} +16 -15
- package/dist/{refresh-L5C2HPMC.js → refresh-ARZZRKMP.js} +4 -3
- package/dist/{remove-background-DMV2HTVF.js → remove-background-MC6HXEAW.js} +12 -13
- package/dist/{render-RXQUFM2X.js → render-2STR3XR5.js} +62 -43
- package/dist/{render-WQQ7ZPS5.js → render-IQUQ7EKS.js} +30 -30
- package/dist/{render-P5745VYG.js → render-RPMLSL7M.js} +5 -6
- package/dist/{render-batch-I6OHT72Q.js → render-batch-2AWWGFNK.js} +5 -6
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-CMFVVODA.js → resolver-D3Q6LTIO.js} +5 -5
- package/dist/{reverse-5CNVGBVP.js → reverse-62TKSQ7Q.js} +1 -1
- package/dist/{run-65M6ECM2.js → run-GQNVIYMD.js} +6 -5
- package/dist/{screenshotCapture-HTGXPA7D.js → screenshotCapture-MM5V4H7M.js} +37 -4
- package/dist/{sherpa-BPJWQXFB.js → sherpa-ZHAABYE3.js} +12 -13
- 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/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-BYABSOL3.js} +10 -9
- package/dist/{skillsUpdateCheck-TQHSQ26D.js → skillsUpdateCheck-FKOS3ME7.js} +5 -4
- package/dist/{snapshot-NR3BZVZK.js → snapshot-N5O5VEBT.js} +48 -57
- package/dist/{src-VZIS3GRG.js → src-272JLFKW.js} +8 -7
- package/dist/{src-LIR2WBQL.js → src-O6ITP7WU.js} +10 -11
- package/dist/{start-FDWHVOMC.js → start-K2LGEUB5.js} +43 -28
- package/dist/{staticProjectServer-L5O2GBZH.js → staticProjectServer-C7A4W2B4.js} +19 -20
- package/dist/{status-SMFFS6LS.js → status-USHH6OD5.js} +19 -16
- package/dist/studio/assets/{hyperframes-player-bkb0-LEY.js → hyperframes-player-Bb-Fbf5k.js} +1 -1
- package/dist/studio/assets/{index-DfsIam9M.js → index-BZuKog_A.js} +137 -137
- package/dist/studio/assets/{index-RUPGNyct.css → index-CNZk2EFC.css} +1 -1
- package/dist/studio/assets/{index-D5zessN9.js → index-Cap2SGKw.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-VLBZZ4IB.js → studio-api-FVBB2MVZ.js} +11 -12
- package/dist/{studioSelectionClient-FA6XPVIL.js → studioSelectionClient-W2S3H2VO.js} +3 -1
- package/dist/{studioServer-CP5HGR3W.js → studioServer-SFN7YUNV.js} +59 -60
- package/dist/{sync-NBM7J3IT.js → sync-JUDSPP46.js} +14 -14
- package/dist/{synthesize-S3FF5KXC.js → synthesize-GX74JPPZ.js} +2 -2
- package/dist/{telemetry-B5OJHH2C.js → telemetry-3DEZK5Q3.js} +6 -5
- package/dist/{telemetry-5WZGQCKA.js → telemetry-IXOTZW4E.js} +2 -1
- package/dist/{templates-PQZCZZUG.js → templates-3FJRJ6KB.js} +16 -15
- package/dist/{timeline-X27NA7UH.js → timeline-P4CS4INR.js} +40 -25
- package/dist/{tokens-XS2LOTWB.js → tokens-EFAVVV56.js} +2 -2
- package/dist/{transcribe-7M33PLAV.js → transcribe-JKV42B3Q.js} +29 -29
- package/dist/{transcribe-YPWD4E63.js → transcribe-YTBSMCFG.js} +10 -11
- package/dist/{tts-QRQEYR3Q.js → tts-QW53FBKW.js} +3 -3
- package/dist/{update-BRTUI6AI.js → update-6QVOSVBW.js} +11 -10
- package/dist/{updateCheck-IW37C7XV.js → updateCheck-2FWJ2X62.js} +4 -3
- package/dist/{upgrade-7EF5SHLD.js → upgrade-AUHNDKNP.js} +5 -4
- package/dist/{urlDownloader-L6HYQHNK.js → urlDownloader-6ZSSYTOY.js} +6 -7
- package/dist/{validate-PQJBBBBK.js → validate-DKEWYJ3V.js} +28 -28
- package/dist/{video-DO6SLUPI.js → video-N6AEYBUW.js} +9 -10
- package/dist/{voices-VP5LLP5V.js → voices-MT7CM6O5.js} +24 -24
- package/dist/warmCheck.js +44 -44
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-AFYIYW5D.js +0 -5035
- package/dist/chunk-MEJH7VEA.js +0 -63
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
buildAuthHeaders,
|
|
11
11
|
refreshTokens,
|
|
12
12
|
resolveCredential
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L24NAUBS.js";
|
|
14
14
|
import {
|
|
15
15
|
ErrLoginExpired
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LP7B3JLC.js";
|
|
17
17
|
|
|
18
18
|
// src/cloud/auth.ts
|
|
19
19
|
async function resolveCloudAuthHeaders() {
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-SWC3QIEH.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NPDBBMXX.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-B2W2CPXF.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NNXS4VBX.js";
|
|
28
28
|
import {
|
|
29
29
|
findWavChunk
|
|
30
30
|
} from "./chunk-UOFAE5RF.js";
|
|
@@ -6279,7 +6279,7 @@ var mediaRules = [
|
|
|
6279
6279
|
severity: "error",
|
|
6280
6280
|
message: `<video> with data-start is nested inside <${parent.name}${parent.id ? ` id="${parent.id}"` : ""}> which also has data-start. The frame extractor resolves the video's start from its own data-start without the wrapper's offset, while visibility uses the wrapper's window, so the two disagree: the clip shows the wrong source frames and then disappears partway through its slot.`,
|
|
6281
6281
|
elementId: readAttr(tag.raw, "id") || void 0,
|
|
6282
|
-
fixHint: "
|
|
6282
|
+
fixHint: "A <video> takes no timing from its wrapper: time the <video> and leave the wrapper untimed (remove its data-start; it only places or animates), or move the <video> up to be a direct child of the stage.",
|
|
6283
6283
|
snippet: truncateSnippet(tag.raw)
|
|
6284
6284
|
});
|
|
6285
6285
|
}
|
|
@@ -6363,7 +6363,7 @@ var mediaRules = [
|
|
|
6363
6363
|
severity: "error",
|
|
6364
6364
|
message: `<${tag.name}${hasId ? ` id="${hasId}"` : ""}> has src but no data-start. HyperFrames cannot own playback for untimed media, so preview and render behavior can diverge.`,
|
|
6365
6365
|
elementId: hasId || void 0,
|
|
6366
|
-
fixHint: wrapper ? `This <${tag.name}> sits inside the timed <${wrapper.name}${wrapper.id ? ` id="${wrapper.id}"` : ""}> (data-start="${wrapper.start}")
|
|
6366
|
+
fixHint: wrapper ? `This <${tag.name}> sits inside the timed <${wrapper.name}${wrapper.id ? ` id="${wrapper.id}"` : ""}> (data-start="${wrapper.start}") and takes no timing from it, so without its own data-start it plays from composition time 0, and a data-start on it would clash with the wrapper's. Move the <${tag.name}> out as a direct child of the stage and give it that wrapper's data-start="${wrapper.start}"${wrapper.duration ? ` and data-duration="${wrapper.duration}"` : ""}.` : `Add data-start="0" (or the intended start time) and data-duration if the clip should stop before the source ends.`,
|
|
6367
6367
|
snippet: truncateSnippet(tag.raw)
|
|
6368
6368
|
});
|
|
6369
6369
|
}
|
|
@@ -12,7 +12,11 @@ function hyperframesCacheDir(...parts) {
|
|
|
12
12
|
const named = process.env["HYPERFRAMES_CACHE_DIR"];
|
|
13
13
|
return join(named ? resolve(named) : join(homedir(), ".cache", "hyperframes"), ...parts);
|
|
14
14
|
}
|
|
15
|
+
function namedCacheDir(...parts) {
|
|
16
|
+
return process.env["HYPERFRAMES_CACHE_DIR"] ? hyperframesCacheDir(...parts) : void 0;
|
|
17
|
+
}
|
|
15
18
|
|
|
16
19
|
export {
|
|
17
|
-
hyperframesCacheDir
|
|
20
|
+
hyperframesCacheDir,
|
|
21
|
+
namedCacheDir
|
|
18
22
|
};
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QXGT6KRX.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-IR3JMMFT.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
refreshIfNeeded,
|
|
25
25
|
resolveCloudBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J3QW55W5.js";
|
|
27
27
|
import {
|
|
28
28
|
buildAuthHeaders,
|
|
29
29
|
tryResolveCredential
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-L24NAUBS.js";
|
|
31
31
|
import {
|
|
32
32
|
HyperframesCloudClient
|
|
33
33
|
} from "./chunk-3XJM7XZN.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-SWC3QIEH.js";
|
|
38
38
|
import {
|
|
39
39
|
hyperframesCacheDir
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JOQR4AP6.js";
|
|
41
41
|
|
|
42
42
|
// src/audio/analysis/run.ts
|
|
43
43
|
import { existsSync as existsSync3 } from "fs";
|
|
@@ -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-L4ZMCB52.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-TEEPLD64.js";
|
|
16
16
|
import {
|
|
17
17
|
injectTagsAtHeadStart
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J3G5KEPY.js";
|
|
19
19
|
|
|
20
20
|
// src/utils/compositionServer.ts
|
|
21
21
|
import { createHash } from "crypto";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-P2AOKCAC.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-344RFO72.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
resolveProjectSignature,
|
|
48
48
|
serveWhileOpen,
|
|
49
49
|
settledFileTag
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-US2SO6O4.js";
|
|
51
51
|
import {
|
|
52
52
|
PROXY_PARAMS_VERSION,
|
|
53
53
|
PROXY_PENDING_RETRY_AFTER_SECONDS,
|
|
@@ -71,11 +71,11 @@ import {
|
|
|
71
71
|
scanProjectMedia,
|
|
72
72
|
shouldPrewarmProxy,
|
|
73
73
|
waitForProxy
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-72PVZ2A4.js";
|
|
75
75
|
import {
|
|
76
76
|
probeAudioTrack,
|
|
77
77
|
probeMediaMetadata
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-LIUJRACZ.js";
|
|
79
79
|
import {
|
|
80
80
|
STUDIO_MOTION_PATH,
|
|
81
81
|
createStudioMotionRenderBodyScript,
|
|
@@ -117,8 +117,9 @@ import {
|
|
|
117
117
|
ensureHfIds,
|
|
118
118
|
stampHfIdsInPlace,
|
|
119
119
|
stripSdrPngColourTags
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-TEEPLD64.js";
|
|
121
121
|
import {
|
|
122
|
+
GSAP_BASE_URL_META,
|
|
122
123
|
PREVIEW_PROXY_BOX_PARAM,
|
|
123
124
|
PREVIEW_PROXY_LIGHT_PARAM,
|
|
124
125
|
PREVIEW_PROXY_PRIORITY_HEADER,
|
|
@@ -128,16 +129,13 @@ import {
|
|
|
128
129
|
formatPreviewProxyBox,
|
|
129
130
|
formatRenderOutputTimestamp,
|
|
130
131
|
fpsToNumber,
|
|
131
|
-
parseFps,
|
|
132
|
-
parsePreviewProxyBox
|
|
133
|
-
} from "./chunk-DJTC4NK7.js";
|
|
134
|
-
import {
|
|
135
|
-
GSAP_BASE_URL_META,
|
|
136
132
|
gsapCdnDist,
|
|
137
133
|
motionPathPluginUrl,
|
|
138
134
|
normalizeGsapBaseUrl,
|
|
139
|
-
normalizeGsapLocalRoot
|
|
140
|
-
|
|
135
|
+
normalizeGsapLocalRoot,
|
|
136
|
+
parseFps,
|
|
137
|
+
parsePreviewProxyBox
|
|
138
|
+
} from "./chunk-IR3JMMFT.js";
|
|
141
139
|
import {
|
|
142
140
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
143
141
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -152,7 +150,7 @@ import {
|
|
|
152
150
|
resolveRateSpec,
|
|
153
151
|
sourceTimeAt,
|
|
154
152
|
stripEmbeddedRuntimeScripts
|
|
155
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-J3G5KEPY.js";
|
|
156
154
|
import {
|
|
157
155
|
ProjectRootMissingError,
|
|
158
156
|
folderGone,
|
|
@@ -5623,7 +5621,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5623
5621
|
let block = extractGsapScriptBlock(html);
|
|
5624
5622
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5625
5623
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5626
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5624
|
+
const { GSAP_CDN } = await import("./dist-BU547SVG.js");
|
|
5627
5625
|
const bootstrap = [
|
|
5628
5626
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5629
5627
|
"<script>",
|
|
@@ -6368,6 +6366,12 @@ async function executeGsapMutationRecast(body, block, respond) {
|
|
|
6368
6366
|
return respond({ error: `unknown mutation type: ${body.type}` }, 400);
|
|
6369
6367
|
}
|
|
6370
6368
|
}
|
|
6369
|
+
var CUT_REFUSALS = {
|
|
6370
|
+
"target-not-found": "Cut target was not found",
|
|
6371
|
+
"reference-without-range": "Cut target starts after another clip and the cut sent no range for it",
|
|
6372
|
+
"no-duration": "Cut target has no duration",
|
|
6373
|
+
"outside-clip": "Cut point was outside the clip's start and end"
|
|
6374
|
+
};
|
|
6371
6375
|
async function foldAtomicCutFile(c, file, absPath, before, writer) {
|
|
6372
6376
|
let after = before;
|
|
6373
6377
|
let splitCount = 0;
|
|
@@ -6396,7 +6400,7 @@ async function foldAtomicCutFile(c, file, absPath, before, writer) {
|
|
|
6396
6400
|
});
|
|
6397
6401
|
if (!split.matched || !split.newId) {
|
|
6398
6402
|
return c.json(
|
|
6399
|
-
{ error:
|
|
6403
|
+
{ error: `${CUT_REFUSALS[split.refusal ?? "target-not-found"]} in ${file.path}` },
|
|
6400
6404
|
400
|
|
6401
6405
|
);
|
|
6402
6406
|
}
|
|
@@ -8200,6 +8204,7 @@ function contentDispositionHeader(disposition, filename) {
|
|
|
8200
8204
|
}
|
|
8201
8205
|
function registerRenderRoutes(api, adapter) {
|
|
8202
8206
|
const renderJobs = /* @__PURE__ */ new Map();
|
|
8207
|
+
const CANCEL_SETTLE_MS = 45e3;
|
|
8203
8208
|
const nextFreeRenderJobId = (baseId, ext, rendersDir) => {
|
|
8204
8209
|
let jobId = baseId;
|
|
8205
8210
|
for (let n = 2; renderJobs.has(jobId) || existsSync6(join10(rendersDir, `${jobId}${ext}`)); n++) {
|
|
@@ -8317,13 +8322,19 @@ function registerRenderRoutes(api, adapter) {
|
|
|
8317
8322
|
}
|
|
8318
8323
|
});
|
|
8319
8324
|
});
|
|
8320
|
-
api.post("/render/:jobId/cancel", (c) => {
|
|
8325
|
+
api.post("/render/:jobId/cancel", async (c) => {
|
|
8321
8326
|
const { jobId } = c.req.param();
|
|
8322
8327
|
const job = renderJobs.get(jobId);
|
|
8323
8328
|
if (!job) return c.json({ error: "not found" }, 404);
|
|
8324
8329
|
if (job.status === "rendering") {
|
|
8325
8330
|
job.status = "cancelled";
|
|
8326
|
-
|
|
8331
|
+
let giveUp;
|
|
8332
|
+
const late = new Promise((done) => giveUp = setTimeout(done, CANCEL_SETTLE_MS));
|
|
8333
|
+
try {
|
|
8334
|
+
await Promise.race([job.cancel?.(), late]);
|
|
8335
|
+
} finally {
|
|
8336
|
+
clearTimeout(giveUp);
|
|
8337
|
+
}
|
|
8327
8338
|
}
|
|
8328
8339
|
return c.json({ status: job.status });
|
|
8329
8340
|
});
|
|
@@ -6,34 +6,34 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BB5CZTGW.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BSPE37DP.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OIJHKOV2.js";
|
|
20
20
|
import {
|
|
21
21
|
projectOf,
|
|
22
22
|
runFfmpeg
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PC662ORN.js";
|
|
24
24
|
import {
|
|
25
25
|
initialModelForLanguage,
|
|
26
26
|
transcribe
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-JCIPZMKD.js";
|
|
28
28
|
import {
|
|
29
29
|
createRenderCancellationScope,
|
|
30
30
|
stoppedByCancelSignal
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NPDBBMXX.js";
|
|
32
32
|
import {
|
|
33
33
|
DEFAULT_MODEL,
|
|
34
34
|
findWhisper,
|
|
35
35
|
isWhisperUnavailable
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-B2W2CPXF.js";
|
|
37
37
|
import {
|
|
38
38
|
formatSrt,
|
|
39
39
|
formatVtt,
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
} from "./chunk-J3OVTOVC.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AGQNRDYJ.js";
|
|
20
20
|
import {
|
|
21
21
|
OPTIONAL_PACKAGES,
|
|
22
22
|
installedOptionalPackageVersion
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-NL4RCLQF.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-HOCC4J5C.js";
|
|
30
30
|
import {
|
|
31
31
|
resolveExtractCacheDir
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QXGT6KRX.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-YQ4LB3XC.js";
|
|
48
48
|
import {
|
|
49
49
|
CONFIG_PATH,
|
|
50
50
|
withFileLock
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CMQZP52Y.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-N32TVQYQ.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-V2ZJSF3Q.js");
|
|
253
253
|
const result = findWhisper();
|
|
254
254
|
if (result) {
|
|
255
255
|
return { ok: true, detail: result.executablePath };
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-CMAXQTDX.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -4,6 +4,9 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
hyperframesConfigDir
|
|
9
|
+
} from "./chunk-GR2E54E6.js";
|
|
7
10
|
|
|
8
11
|
// src/auth/errors.ts
|
|
9
12
|
var AuthError = class extends Error {
|
|
@@ -107,11 +110,10 @@ function assertOAuthIdentity(tokens) {
|
|
|
107
110
|
}
|
|
108
111
|
|
|
109
112
|
// src/auth/paths.ts
|
|
110
|
-
import { homedir } from "os";
|
|
111
113
|
import { join } from "path";
|
|
112
114
|
var CREDENTIAL_FILENAME = "credentials";
|
|
113
115
|
function configDir() {
|
|
114
|
-
const root =
|
|
116
|
+
const root = hyperframesConfigDir();
|
|
115
117
|
return oauthEnvironment() === "dev" ? join(root, "dev") : root;
|
|
116
118
|
}
|
|
117
119
|
function credentialPath() {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6M3TQUDF.js";
|
|
12
12
|
import {
|
|
13
13
|
makeOutputFolder
|
|
14
14
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
probeVideo,
|
|
19
19
|
round,
|
|
20
20
|
runFfmpeg
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PC662ORN.js";
|
|
22
22
|
import {
|
|
23
23
|
defineCommand
|
|
24
24
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -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.16" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.9.16" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -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-6H5NILM5.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-M3JU24AI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QXGT6KRX.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IR3JMMFT.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -7,27 +7,27 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
cliCheckoutLink,
|
|
9
9
|
pageUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZEOPRYFK.js";
|
|
11
11
|
import {
|
|
12
12
|
Fix
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PC662ORN.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",
|