hyperframes 0.9.8 → 0.9.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-KCOZUTMS.js → add-AFD3HNXB.js} +12 -12
- package/dist/{agentPromptGenerator-P75AWDLA.js → agentPromptGenerator-XNGPKVEX.js} +9 -9
- package/dist/{animatedGifPrep-OBZTJQ7X.js → animatedGifPrep-E3PYKFJ3.js} +9 -9
- package/dist/api.js +29 -29
- package/dist/{asset-N3A7GB3E.js → asset-P6SF46UX.js} +2 -2
- package/dist/{assetCataloger-OQYRQZLW.js → assetCataloger-SDFP4DWL.js} +10 -10
- package/dist/{audio-KCKNENFH.js → audio-DFQXEAEE.js} +26 -26
- package/dist/{auth-Y72WHJCW.js → auth-T62ANGDQ.js} +2 -2
- package/dist/{autoUpdate-DLNFGTN2.js → autoUpdate-3IT56KGL.js} +23 -16
- package/dist/{backgroundChecks-EFVHAYNQ.js → backgroundChecks-UKBVUYML.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JKOGFHLU.js → batchRender-ZDL65J7N.js} +4 -4
- package/dist/{beats-RIKKG4N7.js → beats-7UFMDXBY.js} +11 -11
- package/dist/{benchmark-7TCK3SGH.js → benchmark-LCSHBJJF.js} +9 -9
- package/dist/billing-5YSYJJ2V.js +142 -0
- package/dist/{browser-4BF7NKPF.js → browser-5DZHA4EW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-PAWHGZRW.js → bundleWithLocalizedFonts-TJL2JWRD.js} +2 -2
- package/dist/{capture-5PZTT5O7.js → capture-HLC6I4RE.js} +3 -3
- package/dist/{capture-H7UDNHF2.js → capture-UKWY3SZQ.js} +22 -22
- package/dist/{captureCompositionFrame-LR2XKVKX.js → captureCompositionFrame-YMB3CKSP.js} +14 -14
- package/dist/{catalog-4W5XDIKM.js → catalog-F2XB4VPP.js} +12 -12
- package/dist/{catch-up-H2Y2WRIA.js → catch-up-HCBA3MIP.js} +4 -4
- package/dist/{check-NG6FULCN.js → check-E2RQCELF.js} +44 -44
- package/dist/{checkAudio-HI5ICPRV.js → checkAudio-R4DRK3VG.js} +17 -17
- package/dist/{checkBrowser-YPPMCXET.js → checkBrowser-NGY225IO.js} +39 -37
- package/dist/{chunk-4WJKSTDS.js → chunk-2CKL2FUJ.js} +3 -3
- package/dist/{chunk-6RD46YOJ.js → chunk-2QMEP4LR.js} +1 -1
- package/dist/{chunk-RPVL65M7.js → chunk-2WNIF4YT.js} +6 -6
- package/dist/{chunk-WF4TXIXY.js → chunk-3DWH6Z5U.js} +1 -1
- package/dist/{chunk-2MUWGYXQ.js → chunk-3XHWHH5A.js} +60 -44
- package/dist/{chunk-VX3JUOZ6.js → chunk-42TYQPES.js} +2 -2
- package/dist/{chunk-5D23BECZ.js → chunk-5CDTGHED.js} +1 -1
- package/dist/{chunk-XPN7SDFQ.js → chunk-6HO6QKYG.js} +9 -9
- package/dist/{chunk-KKPYNKZD.js → chunk-6KV3CMY2.js} +1 -1
- package/dist/{chunk-7TAS4BNT.js → chunk-6UZLHLFP.js} +2 -2
- package/dist/{chunk-WY4J37EZ.js → chunk-6VKYITOR.js} +30 -8
- package/dist/{chunk-THSTFHB7.js → chunk-7RM3TB62.js} +29 -2
- package/dist/{chunk-YXIXTFRO.js → chunk-7VGM5TLZ.js} +2 -2
- package/dist/{chunk-TLBSOI2R.js → chunk-7VOLQUA2.js} +1 -1
- package/dist/{chunk-RULCW25D.js → chunk-7VU4RBHC.js} +15 -14
- package/dist/{chunk-GSZAUB3W.js → chunk-7W5ZDOLW.js} +2 -2
- package/dist/{chunk-D7THUO4V.js → chunk-A33GFLPY.js} +22 -2
- package/dist/{chunk-74VSOKKS.js → chunk-ABI256T5.js} +1 -1
- package/dist/chunk-AHLDGEH5.js +158 -0
- package/dist/{chunk-7DQHV322.js → chunk-AUYRWWFL.js} +3 -3
- package/dist/{chunk-FNNNGI42.js → chunk-AVNF52HR.js} +1 -1
- package/dist/{chunk-ODIGIQ4C.js → chunk-B5GWDPUO.js} +3 -3
- package/dist/{chunk-JCOECSLT.js → chunk-BHL4KN3H.js} +2 -2
- package/dist/{chunk-6DTXWYZA.js → chunk-BYC4C4YY.js} +9 -9
- package/dist/{chunk-7HRQOEYY.js → chunk-C3NC67BB.js} +8 -8
- package/dist/{chunk-6CEQCL6O.js → chunk-CBTBVRXB.js} +3 -3
- package/dist/{chunk-ZAOQWCZM.js → chunk-CDSTLOB7.js} +9 -9
- package/dist/{chunk-RWQANKWK.js → chunk-CPMTEWQM.js} +3 -3
- package/dist/{chunk-NU5LJYAT.js → chunk-CUYVIDGF.js} +4 -3
- package/dist/{chunk-GZZE2OJP.js → chunk-DKROJ3GJ.js} +16 -15
- package/dist/{chunk-BCQ42FAS.js → chunk-E2YXF2EP.js} +3 -3
- package/dist/{chunk-OYN54RSU.js → chunk-EBUA6NWH.js} +2 -2
- package/dist/{chunk-DHIXDUET.js → chunk-EN6MPNZT.js} +4 -4
- package/dist/{chunk-MNX7CK5N.js → chunk-GAKRZZHQ.js} +2 -2
- package/dist/{chunk-457LNKMV.js → chunk-GIYZMGYT.js} +1 -1
- package/dist/{chunk-UUW654GD.js → chunk-GRUI2S2F.js} +2 -2
- package/dist/{chunk-WVH6VWMY.js → chunk-JZPUXDQE.js} +4 -4
- package/dist/{chunk-SACHIPZP.js → chunk-LR5NVYZT.js} +1 -1
- package/dist/{chunk-QPTQSM3D.js → chunk-LTBBFLOM.js} +1 -1
- package/dist/{chunk-7VHS56BT.js → chunk-LV5SL4YW.js} +2 -2
- package/dist/{chunk-Q3SKYJGG.js → chunk-M6JFR7KF.js} +18 -5
- package/dist/{chunk-2ZQ7BZOS.js → chunk-MDMQD6BV.js} +6 -6
- package/dist/{chunk-HVBQL3PZ.js → chunk-MHZ7NSL5.js} +1 -1
- package/dist/{chunk-JP2ZSFRJ.js → chunk-MWHTLXG4.js} +4 -54
- package/dist/{chunk-NUFOXUDF.js → chunk-N6FGHJ7X.js} +53 -29
- package/dist/{chunk-ECJCBLME.js → chunk-N74N2I2K.js} +1 -1
- package/dist/{chunk-Y3RERZRQ.js → chunk-NBWYATVA.js} +1 -1
- package/dist/{chunk-3BCLDK6O.js → chunk-NCP3JQ6S.js} +99 -93
- package/dist/{chunk-UQDO2L6F.js → chunk-NVYVI4FR.js} +17 -14
- package/dist/{chunk-M336YVCP.js → chunk-NWQFOHXF.js} +1 -1
- package/dist/{chunk-E2SVAOS6.js → chunk-OAFGA2FR.js} +4 -3
- package/dist/{chunk-TODLF56D.js → chunk-P4WYY52Y.js} +1 -1
- package/dist/{chunk-3LLFF6EE.js → chunk-PO7LSMN5.js} +1 -1
- package/dist/{chunk-4MDLXE3N.js → chunk-PPMCILED.js} +37 -5
- package/dist/{chunk-L3ZVUQGN.js → chunk-PYUS627M.js} +2 -2
- package/dist/{chunk-DT6NGXSS.js → chunk-Q3IT7I2K.js} +1 -1
- package/dist/{chunk-VKWAW4JW.js → chunk-Q3W7TDQX.js} +236 -193
- package/dist/{chunk-UPN4UMT7.js → chunk-QBPZHOEJ.js} +2 -2
- package/dist/{chunk-3YZ3LNXV.js → chunk-QOF7XZEI.js} +1 -1
- package/dist/{chunk-VLHCR3G2.js → chunk-QPEDM2ZR.js} +2 -2
- package/dist/{chunk-F6GJUCIY.js → chunk-QRCORKYC.js} +2 -2
- package/dist/{chunk-ZAXAT2D7.js → chunk-QUBVGS27.js} +5 -5
- package/dist/{chunk-BUYV2WGV.js → chunk-R7EKEIAK.js} +1 -1
- package/dist/{chunk-ZJ5ZLU2I.js → chunk-RZFW7FBA.js} +2 -2
- package/dist/{chunk-RGYPRUQP.js → chunk-S2UKSI3C.js} +1 -1
- package/dist/{chunk-TDIYINK6.js → chunk-SG4YBQPY.js} +2 -2
- package/dist/chunk-SRVAYGTN.js +62 -0
- package/dist/{chunk-K6QVKO7M.js → chunk-SSZTRWKQ.js} +2 -2
- package/dist/{chunk-W5VDIXYL.js → chunk-UDBNPVUR.js} +1 -1
- package/dist/{chunk-HFNB2CG3.js → chunk-V6HV2IDT.js} +6 -3
- package/dist/{chunk-CUR5UYYJ.js → chunk-VM6T3Z6B.js} +1 -1
- package/dist/{chunk-SBA4NG7Q.js → chunk-W4Q6VYPZ.js} +7 -7
- package/dist/{chunk-6ZICZOMN.js → chunk-W5AUD5OL.js} +2 -2
- package/dist/{chunk-CCFSUSAE.js → chunk-WCETVN3N.js} +65 -14
- package/dist/{chunk-QTEU6NL3.js → chunk-WP5QHNXN.js} +5 -5
- package/dist/{chunk-BGHKFD3T.js → chunk-WWBEAKTO.js} +10 -2
- package/dist/{chunk-X422IJKF.js → chunk-WWPOGMNX.js} +1 -1
- package/dist/{chunk-UGUYWTWD.js → chunk-XLPCBE2Q.js} +4 -4
- package/dist/{chunk-5SCOPSVL.js → chunk-XTYNW745.js} +1 -1
- package/dist/{chunk-BGMMC352.js → chunk-XX77LLFJ.js} +6 -6
- package/dist/chunk-Y3ICFPFK.js +5035 -0
- package/dist/{chunk-NST5G3WX.js → chunk-YTNHZT47.js} +2 -2
- package/dist/{chunk-AC3TSGGG.js → chunk-YXSM33UC.js} +35 -30
- package/dist/{chunk-H4D2X5N3.js → chunk-ZD3MK4H5.js} +1 -1
- package/dist/{chunk-6A4RAHMF.js → chunk-ZLN3AJKT.js} +1 -1
- package/dist/{chunk-ZK3GFNHM.js → chunk-ZMXFRRQR.js} +191 -49
- package/dist/{clean-VPOP4TU4.js → clean-BXHJEVVO.js} +23 -23
- package/dist/cli.js +61 -60
- package/dist/{cloud-Q7ZXCZ6E.js → cloud-ISWLTHGP.js} +4 -4
- package/dist/cloud-Z3FNCC4T.js +39 -0
- package/dist/{cloudrun-6DVAE7GG.js → cloudrun-N737TJRC.js} +6 -6
- package/dist/{compare-X5SWN5XJ.js → compare-MLZYDSZD.js} +34 -34
- package/dist/{compiler-N4TTEEQC.js → compiler-NAIDMQFU.js} +6 -6
- package/dist/{component-MJXAMRKF.js → component-MMBTCMY3.js} +3 -3
- package/dist/{compositions-F3ZHG5F4.js → compositions-WT2577NJ.js} +15 -15
- package/dist/{curve-4TWENQO7.js → curve-HHKVZ6LX.js} +13 -13
- package/dist/{cuts-X3LE5A2K.js → cuts-66GBRT5P.js} +14 -14
- package/dist/{delete-MYHKF3MS.js → delete-P3WYOC7I.js} +7 -5
- package/dist/{deploy-OP2BHWCQ.js → deploy-OJ3M7QJQ.js} +6 -6
- package/dist/{describeProject-ZMKVHAYX.js → describeProject-DN6YQU3X.js} +10 -10
- package/dist/{deterministicFonts-H4RC6TOJ.js → deterministicFonts-GQMT52JQ.js} +2 -2
- package/dist/{diff-7ZNSFBKV.js → diff-R74KQXXN.js} +158 -76
- package/dist/dist-CCPYPKOC.js +197 -0
- package/dist/{dist-SWPSKAAJ.js → dist-GUX66F7V.js} +3 -3
- package/dist/{dist-H4C7ZCFU.js → dist-PCVNVAVC.js} +4 -4
- package/dist/{doctor-ABSXYNXY.js → doctor-DT52W4UE.js} +13 -13
- package/dist/{energy-X2OAWHME.js → energy-WOMDOOLC.js} +14 -14
- package/dist/{events-26SWSHDR.js → events-PCK4AIN5.js} +2 -2
- package/dist/{events-JFIZSYMH.js → events-WEVZ2ELP.js} +16 -16
- package/dist/{events-4MDK4K7Q.js → events-YVQJLQWG.js} +3 -3
- package/dist/{extract-4O3Q3LOD.js → extract-CNXA3DWB.js} +14 -14
- package/dist/{face-7J7AQJDY.js → face-2WNBW74C.js} +14 -14
- package/dist/{feedback-CVTJDQIX.js → feedback-ADMM2XDS.js} +8 -8
- package/dist/{ffmpeg-EE2NKQT4.js → ffmpeg-PERZ6YHQ.js} +9 -9
- package/dist/{figma-55J7UDDC.js → figma-5MMN5JUU.js} +3 -3
- package/dist/fontLocalizeCli.js +15 -15
- package/dist/{frames-OZLUDUOS.js → frames-7CQGHRWT.js} +19 -16
- package/dist/{generate-CY2TRPRE.js → generate-XOR4UJDW.js} +20 -18
- package/dist/{get-HJHSVKGK.js → get-5K6ALHBS.js} +7 -5
- package/dist/{gpuPolicy-LZFNAIJB.js → gpuPolicy-DUNSQM6M.js} +9 -9
- package/dist/{grade-compare-JVTYF2T6.js → grade-compare-DK63C776.js} +34 -34
- package/dist/{heifImagePrep-OGFEQMQT.js → heifImagePrep-YNPHFR6W.js} +10 -10
- package/dist/{help-6WDI76YU.js → help-AUF2KA6D.js} +2 -1
- package/dist/{history-FIP5NGFC.js → history-G3FXVX4A.js} +10 -10
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -65
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-WTGJE4QB.js → info-DGU3CIU5.js} +8 -8
- package/dist/{init-UYTDM56U.js → init-LYZI2WCS.js} +29 -29
- package/dist/{ink-BTLAE3ZR.js → ink-DYZG4BST.js} +14 -14
- package/dist/{inspect-KIMJNTS4.js → inspect-BYQSCRKT.js} +34 -34
- package/dist/{installer-6GSD3CVW.js → installer-PUQYKLXZ.js} +5 -5
- package/dist/{keyframes-74LK522L.js → keyframes-XX2DIYPI.js} +6 -6
- package/dist/{lambda-CJ7P5NLO.js → lambda-RKI7KKWW.js} +15 -15
- package/dist/{layout-RLIXTM56.js → layout-RQFOMQRO.js} +34 -34
- package/dist/{lint-IOJB746U.js → lint-LFCMCDEG.js} +10 -10
- package/dist/{lintProject-NZADSVSU.js → lintProject-EV3EEBY3.js} +4 -4
- package/dist/{list-V3TMQEQV.js → list-V4TGMQ3Y.js} +7 -5
- package/dist/{localPage-5LUCH2RM.js → localPage-6MQ6YFER.js} +9 -9
- package/dist/{login-GNVKQO3W.js → login-EXCG7PEH.js} +4 -4
- package/dist/{look-3QZIJFNX.js → look-RBHKHGMF.js} +14 -14
- package/dist/{manager-3QTARUMT.js → manager-ARXEX6OP.js} +10 -10
- package/dist/{measure-7LUYTL2E.js → measure-SAV5K4WT.js} +11 -11
- package/dist/{media-treatment-MYDIYP5I.js → media-treatment-2BVHRXJS.js} +15 -15
- package/dist/{media-use-UDBHEIYA.js → media-use-YEBYLITF.js} +17 -11
- package/dist/{models-S5CT7CST.js → models-GMJODMZ5.js} +13 -13
- package/dist/{motionShot-U3TSHI33.js → motionShot-Z63I3GO7.js} +17 -17
- package/dist/{normalize-audio-ZETO53KI.js → normalize-audio-ILLUZPTO.js} +10 -10
- package/dist/{open-UEJMPEPN.js → open-GTNLU7UF.js} +12 -12
- package/dist/{parakeetRunner-2KFML7ZA.js → parakeetRunner-K4EGDDVH.js} +14 -14
- package/dist/{pipeline-2TPI5L2C.js → pipeline-EKLTELWF.js} +12 -12
- package/dist/{play-XH2XKNCL.js → play-F2HIXJKH.js} +25 -25
- package/dist/{preflight-L5P4QXXH.js → preflight-QMXCKE5P.js} +10 -10
- package/dist/{present-XXEU7RTN.js → present-GDR6LCKE.js} +20 -20
- package/dist/{preview-V6LNVTBH.js → preview-4TV5426Q.js} +23 -23
- package/dist/{probe-JL4JSTSP.js → probe-TYM7WKX2.js} +14 -14
- package/dist/{producer-RLZ64COI.js → producer-NHQXKH7Y.js} +1 -1
- package/dist/{projectConfig-3IK4M62D.js → projectConfig-PUAOWUNS.js} +7 -7
- package/dist/{publication-4I6P772E.js → publication-K4XAMUI6.js} +3 -3
- package/dist/{publish-TOPACGPR.js → publish-7W46NJFT.js} +13 -13
- package/dist/{remove-background-CNXM4XJN.js → remove-background-LURZDSDJ.js} +13 -13
- package/dist/{render-OD3XEIBG.js → render-EF7Y6YYC.js} +6 -6
- package/dist/{render-WCLJ4GPZ.js → render-GEAO2HAV.js} +39 -37
- package/dist/{render-XAE2YCRZ.js → render-YLAS7GVD.js} +46 -46
- package/dist/{render-batch-QM4SW65U.js → render-batch-JYYP4RXA.js} +6 -6
- package/dist/renderSetupWorker.js +4 -4
- package/dist/{resolver-K2UZSBCZ.js → resolver-BKFLETMU.js} +5 -5
- package/dist/{reverse-JGOZUFKK.js → reverse-3KAZZXB2.js} +1 -1
- package/dist/{run-2JI4VCW5.js → run-XER4YJY5.js} +3 -3
- package/dist/{sherpa-OIJBFCKZ.js → sherpa-D6FQ3CHN.js} +13 -13
- package/dist/skills/media-use/SKILL.md +2 -2
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +1 -1
- package/dist/skills/media-use/references/heygen.md +18 -10
- package/dist/skills/media-use/references/operations.md +14 -13
- package/dist/skills/media-use/scripts/lib/adopt.mjs +11 -0
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +26 -0
- package/dist/skills/media-use/scripts/lib/registry.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/registry.test.mjs +5 -6
- package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -0
- package/dist/skills/media-use/scripts/resolve.mjs +3 -1
- package/dist/{skills-L4AWBUJJ.js → skills-T5XCP3RC.js} +43 -18
- package/dist/{skillsUpdateCheck-GSX5MLON.js → skillsUpdateCheck-IG7KLWIA.js} +3 -3
- package/dist/{snapshot-5FK3HCJ7.js → snapshot-RULSIRM6.js} +49 -46
- package/dist/{src-JT324RDD.js → src-DHBRQZFZ.js} +18 -18
- package/dist/{src-HKLKN7AE.js → src-RL6YEPTD.js} +10 -10
- package/dist/{start-5O33EGN2.js → start-GF3JCTGF.js} +43 -31
- package/dist/{staticProjectServer-CWKMUI6O.js → staticProjectServer-BX4RWEY5.js} +21 -21
- package/dist/{status-MPCREDMQ.js → status-SUK4I7TS.js} +8 -5
- package/dist/studio/assets/{hyperframes-player-D7kdypzS.js → hyperframes-player-BcELSci_.js} +1 -1
- package/dist/studio/assets/{index-BT1zmedz.js → index-2SLNyxZG.js} +1 -1
- package/dist/studio/assets/{index-CaOrmH_8.js → index-DR2eua-L.js} +126 -126
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-24HJ5KQX.js → studio-api-PEUXVD7P.js} +17 -17
- package/dist/{studioServer-KKGBELBR.js → studioServer-DOTRPHS3.js} +61 -61
- package/dist/{sync-BT4WDK3B.js → sync-XQPBXGGX.js} +19 -16
- package/dist/{telemetry-77PW2F7B.js → telemetry-7TIIOBVB.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +1 -0
- package/dist/templates/_shared/CLAUDE.md +1 -0
- package/dist/templates-7DIQ52Y4.js +202 -0
- package/dist/{timeline-RKJ63VIU.js → timeline-4JIUAUIP.js} +24 -24
- package/dist/{tokens-JATS65YH.js → tokens-4PQU4LVQ.js} +2 -2
- package/dist/{transcribe-FYBJBBP3.js → transcribe-IKUPC2R3.js} +23 -23
- package/dist/{transcribe-ELWJ6NYG.js → transcribe-N66QUYCS.js} +12 -12
- package/dist/{tts-JHGGL7GL.js → tts-HIQMJU6O.js} +1 -1
- package/dist/{updateCheck-NU374MVC.js → updateCheck-LBPTWEZV.js} +2 -2
- package/dist/{upgrade-VIWR25J6.js → upgrade-2FS4AMCA.js} +2 -2
- package/dist/upload-L5TSWWIU.js +16 -0
- package/dist/{urlDownloader-MVZYN7XB.js → urlDownloader-YNI3Y3IE.js} +8 -8
- package/dist/{validate-3HM2XCH4.js → validate-MLVDUEK7.js} +28 -28
- package/dist/{video-H4ASUN7D.js → video-2OEOTSPQ.js} +10 -10
- package/dist/warmCheck.js +44 -44
- package/package.json +1 -1
- package/dist/billing-JBG45ON2.js +0 -96
- package/dist/chunk-N3CZ437C.js +0 -5035
- package/dist/chunk-QXVW22VM.js +0 -58
- package/dist/{chunk-GSNSSFT7.js → chunk-G3ERWPNV.js} +0 -0
- package/dist/{chunk-T5ELONXY.js → chunk-JHILL4BN.js} +0 -0
- package/dist/{destroy-IQLGADZM.js → destroy-C5GQLZVZ.js} +4 -4
- package/dist/{synthesize-YYT7UON6.js → synthesize-YK3WLOEQ.js} +5 -5
|
@@ -6,33 +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-XTYNW745.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YTNHZT47.js";
|
|
16
16
|
import {
|
|
17
17
|
idempotencyKey,
|
|
18
18
|
runJob
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-DKROJ3GJ.js";
|
|
20
20
|
import {
|
|
21
|
+
projectOf,
|
|
21
22
|
runFfmpeg
|
|
22
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-A33GFLPY.js";
|
|
23
24
|
import {
|
|
24
25
|
initialModelForLanguage,
|
|
25
26
|
transcribe
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AUYRWWFL.js";
|
|
27
28
|
import {
|
|
28
29
|
createRenderCancellationScope,
|
|
29
30
|
stoppedByCancelSignal
|
|
30
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VM6T3Z6B.js";
|
|
31
32
|
import {
|
|
32
33
|
DEFAULT_MODEL,
|
|
33
34
|
findWhisper,
|
|
34
35
|
isWhisperUnavailable
|
|
35
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZLN3AJKT.js";
|
|
36
37
|
import {
|
|
37
38
|
formatSrt,
|
|
38
39
|
formatVtt,
|
|
@@ -54,12 +55,12 @@ import {
|
|
|
54
55
|
|
|
55
56
|
// src/api/transcribe.ts
|
|
56
57
|
import { existsSync, realpathSync, rmSync as rmSync2, statSync, writeFileSync as writeFileSync2 } from "fs";
|
|
57
|
-
import { basename, dirname, extname, join as join2, resolve } from "path";
|
|
58
|
+
import { basename, dirname as dirname2, extname, join as join2, resolve } from "path";
|
|
58
59
|
|
|
59
60
|
// src/heygen/transcribe.ts
|
|
60
61
|
import { mkdtempSync, readFileSync, rmSync, writeFileSync } from "fs";
|
|
61
62
|
import { tmpdir } from "os";
|
|
62
|
-
import { join } from "path";
|
|
63
|
+
import { dirname, join } from "path";
|
|
63
64
|
var ROUTE = {
|
|
64
65
|
path: "/v3/audio/transcriptions",
|
|
65
66
|
start: (c, body, key, signal) => c.createTranscription({
|
|
@@ -121,7 +122,10 @@ async function transcribeWithHeygen(inputPath, transcriptPath, opts = {}) {
|
|
|
121
122
|
},
|
|
122
123
|
idempotencyKey(ROUTE.path, [audio, String(diarize)]),
|
|
123
124
|
{
|
|
124
|
-
log: {
|
|
125
|
+
log: {
|
|
126
|
+
projectDir: projectOf(dirname(transcriptPath)) ?? process.cwd(),
|
|
127
|
+
what: `transcribe ${inputPath}`
|
|
128
|
+
},
|
|
125
129
|
timeoutMs: 10 * 6e4
|
|
126
130
|
}
|
|
127
131
|
);
|
|
@@ -165,7 +169,7 @@ async function runTranscribe(options) {
|
|
|
165
169
|
if (!existsSync(inputPath)) {
|
|
166
170
|
throw new TranscribeError("input_not_found", `File not found: ${options.input}`);
|
|
167
171
|
}
|
|
168
|
-
const dir = resolve(options.dir ??
|
|
172
|
+
const dir = resolve(options.dir ?? dirname2(inputPath));
|
|
169
173
|
const ext = extname(inputPath).toLowerCase();
|
|
170
174
|
const isImport = ext === ".json" || ext === ".srt" || ext === ".vtt";
|
|
171
175
|
const sidecar = parseSidecar(options.captions, inputPath, dir);
|
|
@@ -201,7 +205,7 @@ function parseSidecar(captions, inputPath, dir) {
|
|
|
201
205
|
}
|
|
202
206
|
function outputProblem(output, outPath, to) {
|
|
203
207
|
if (!output) return "--output needs a file path";
|
|
204
|
-
const folder =
|
|
208
|
+
const folder = dirname2(outPath);
|
|
205
209
|
if (!existsSync(folder) || !statSync(folder).isDirectory()) {
|
|
206
210
|
return `Output folder not found: ${folder}`;
|
|
207
211
|
}
|
|
@@ -220,7 +224,7 @@ function sameFile(out, file) {
|
|
|
220
224
|
if (a.ino !== 0n && b.ino !== 0n) return a.dev === b.dev && a.ino === b.ino;
|
|
221
225
|
return realpathSync.native(out) === realpathSync.native(file);
|
|
222
226
|
}
|
|
223
|
-
const realDir = (p) => existsSync(
|
|
227
|
+
const realDir = (p) => existsSync(dirname2(p)) ? realpathSync.native(dirname2(p)) : dirname2(p);
|
|
224
228
|
return realDir(out) === realDir(file) && basename(out).toLowerCase() === basename(file).toLowerCase();
|
|
225
229
|
}
|
|
226
230
|
function readTranscript(inputPath) {
|
|
@@ -320,7 +324,6 @@ async function transcribeOnHeygen(inputPath, dir, sidecar, options) {
|
|
|
320
324
|
try {
|
|
321
325
|
const result = await transcribeWithHeygen(inputPath, join2(dir, TRANSCRIPT_FILE), {
|
|
322
326
|
diarize: options.speakers,
|
|
323
|
-
projectDir: dir,
|
|
324
327
|
onStatus: options.onStatus
|
|
325
328
|
});
|
|
326
329
|
return finishTranscript(result, "heygen", dir, sidecar);
|
|
@@ -6,8 +6,9 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
round,
|
|
9
|
-
runFfmpeg
|
|
10
|
-
|
|
9
|
+
runFfmpeg,
|
|
10
|
+
sumOf
|
|
11
|
+
} from "./chunk-A33GFLPY.js";
|
|
11
12
|
|
|
12
13
|
// src/measure/drawn.ts
|
|
13
14
|
import { mkdtempSync, readFileSync, rmSync } from "fs";
|
|
@@ -135,7 +136,7 @@ function readDrawn(clip, jobs, width, height) {
|
|
|
135
136
|
const graph = [
|
|
136
137
|
`[0:v]${[...clip.filters, "setsar=1", `scale=${width}:${height}:flags=bicubic`].join(",")},split=${jobs.length}${tags}`,
|
|
137
138
|
...jobs.map(({ box: [x, y, w, h], frames }, j) => {
|
|
138
|
-
const pick = frames.map((k) => `eq(n\\,${k})`)
|
|
139
|
+
const pick = sumOf(frames.map((k) => `eq(n\\,${k})`));
|
|
139
140
|
return `[d${j}]select=${pick},crop=${w}:${h}:${x}:${y},format=rgb24[e${j}]`;
|
|
140
141
|
})
|
|
141
142
|
].join(";");
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PO7LSMN5.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
warnUnknownEnumValues,
|
|
59
59
|
wrapInlineScriptWithErrorBoundary,
|
|
60
60
|
wrapScopedCompositionScript
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-Y3ICFPFK.js";
|
|
62
62
|
import {
|
|
63
63
|
cssVariableName
|
|
64
64
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
import {
|
|
70
70
|
collectExternalStyles,
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-XX77LLFJ.js";
|
|
73
73
|
import {
|
|
74
74
|
readTextFile
|
|
75
75
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -1338,15 +1338,45 @@ function assignHfIds(body) {
|
|
|
1338
1338
|
});
|
|
1339
1339
|
}
|
|
1340
1340
|
function ensureHfIds(html) {
|
|
1341
|
+
if (alreadyStamped(html)) return html;
|
|
1341
1342
|
const { document, wrapped } = parseFragmentOrDocument(html);
|
|
1342
1343
|
if (!document.body) return html;
|
|
1343
1344
|
assignHfIds(document.body);
|
|
1344
1345
|
return wrapped ? document.body.innerHTML || "" : document.toString();
|
|
1345
1346
|
}
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1347
|
+
var isFragment = (html) => !/^(?:<!doctype|<html[\s>/])/i.test(html.replace(/^(?:\s|<!--(?:>|->|[\s\S]*?-->))*/, ""));
|
|
1348
|
+
function alreadyStamped(html) {
|
|
1349
|
+
const tags = startTags(html);
|
|
1350
|
+
if (!tags) return false;
|
|
1351
|
+
const body = isFragment(html) ? -1 : tags.findIndex((tag) => tag.name === "body");
|
|
1352
|
+
if (!isFragment(html) && !opensHeadThenBody(html, tags, body)) return false;
|
|
1353
|
+
return tags.slice(body + 1).every(
|
|
1354
|
+
(tag) => !IMPLIED.has(tag.name) && tag.name !== "table" && (EXCLUDED_TAGS.has(tag.name) || hasHfId(html, tag))
|
|
1349
1355
|
);
|
|
1356
|
+
}
|
|
1357
|
+
var HEAD_CONTENT = /* @__PURE__ */ new Set(["meta", "link", "base", "title", "style", "script"]);
|
|
1358
|
+
function opensHeadThenBody(html, tags, body) {
|
|
1359
|
+
const [first, head] = tags;
|
|
1360
|
+
if (body < 0 || first?.name !== "html" || head?.name !== "head") return false;
|
|
1361
|
+
const inHead = tags.slice(2, body);
|
|
1362
|
+
return inHead.every((tag) => HEAD_CONTENT.has(tag.name)) && closesHead(html, inHead.at(-1) ?? head, tags[body]);
|
|
1363
|
+
}
|
|
1364
|
+
function closesHead(html, last, body) {
|
|
1365
|
+
const from = RAW_TEXT.has(last.name) ? rawTextEnd(html, last.name, last.bracket) : last.bracket;
|
|
1366
|
+
const between = html.slice(from, html.lastIndexOf("<", body.nameEnd));
|
|
1367
|
+
const marks = between.matchAll(/<!--[\s\S]*?-->|<\/head\s*>/gi);
|
|
1368
|
+
return from >= 0 && [...marks].some((mark) => !mark[0].startsWith("<!--"));
|
|
1369
|
+
}
|
|
1370
|
+
function hasHfId(html, tag) {
|
|
1371
|
+
const open = html.slice(tag.nameEnd, tag.bracket);
|
|
1372
|
+
const name = /\sdata-hf-id\s*=\s*/i.exec(outsideQuotes(open));
|
|
1373
|
+
if (!name) return false;
|
|
1374
|
+
const value = open.slice(name.index + name[0].length);
|
|
1375
|
+
const quote = value[0] === '"' || value[0] === "'" ? value[0] : "";
|
|
1376
|
+
return quote ? value.length > 1 && value[1] !== quote : /^[^\s>]/.test(value);
|
|
1377
|
+
}
|
|
1378
|
+
function parseFragmentOrDocument(html) {
|
|
1379
|
+
const wrapped = isFragment(html);
|
|
1350
1380
|
const { document } = wrapped ? parseHTML(`<!DOCTYPE html><html><head></head><body>${html}</body></html>`) : parseHTML(html);
|
|
1351
1381
|
return { document, wrapped };
|
|
1352
1382
|
}
|
|
@@ -2781,6 +2811,8 @@ function extractCompiledHtmlParityContract(html) {
|
|
|
2781
2811
|
import { createHash as createHash2 } from "crypto";
|
|
2782
2812
|
var hash = (text) => createHash2("sha1").update(text).digest("hex").slice(0, 16);
|
|
2783
2813
|
function addScenePartsManifest(html, ignore = []) {
|
|
2814
|
+
if (!html.includes(SCENE_PART_ATTR))
|
|
2815
|
+
return html;
|
|
2784
2816
|
const doc = parseHTMLContent(html);
|
|
2785
2817
|
const parts = [...doc.querySelectorAll(`[${SCENE_PART_ATTR}]`)];
|
|
2786
2818
|
if (parts.length === 0)
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
loadProducer
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WWPOGMNX.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProjectRelativeSrc
|
|
12
12
|
} from "./chunk-WVRAFHJU.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/projectMedia.ts
|
|
15
15
|
async function collectProjectMedia(projectDir) {
|
|
16
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
16
|
+
const { bundleToSingleHtml } = await import("./compiler-NAIDMQFU.js");
|
|
17
17
|
const html = await bundleToSingleHtml(projectDir);
|
|
18
18
|
const producer = await loadProducer();
|
|
19
19
|
if (!producer.collectRenderMedia) throw new Error("Render media collector unavailable");
|