hyperframes 0.9.8 → 0.9.9
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-FQX5F6PC.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-X5GG5TTP.js} +2 -2
- package/dist/{assetCataloger-OQYRQZLW.js → assetCataloger-SDFP4DWL.js} +10 -10
- package/dist/{audio-KCKNENFH.js → audio-DDTYFS23.js} +26 -26
- package/dist/{auth-Y72WHJCW.js → auth-OAWLDT3A.js} +2 -2
- package/dist/{autoUpdate-DLNFGTN2.js → autoUpdate-BWIPXW2W.js} +23 -16
- package/dist/{backgroundChecks-EFVHAYNQ.js → backgroundChecks-YJ5NRMBA.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-Q2TIAA7S.js} +11 -11
- package/dist/{benchmark-7TCK3SGH.js → benchmark-I3GRHFIN.js} +9 -9
- package/dist/{billing-JBG45ON2.js → billing-W224NIAM.js} +1 -1
- package/dist/{browser-4BF7NKPF.js → browser-F24WMZ52.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-PAWHGZRW.js → bundleWithLocalizedFonts-K5CQPNIZ.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-H7SOITD6.js} +12 -12
- package/dist/{catch-up-H2Y2WRIA.js → catch-up-YRGPVEM6.js} +4 -4
- package/dist/{check-NG6FULCN.js → check-BPQZZ2MO.js} +44 -44
- package/dist/{checkAudio-HI5ICPRV.js → checkAudio-4NRQ3WGS.js} +17 -17
- package/dist/{checkBrowser-YPPMCXET.js → checkBrowser-S66AHKW3.js} +37 -37
- package/dist/{chunk-VKWAW4JW.js → chunk-2NGBIAUF.js} +19 -19
- package/dist/{chunk-6RD46YOJ.js → chunk-2QMEP4LR.js} +1 -1
- package/dist/{chunk-5D23BECZ.js → chunk-2ROPUTCS.js} +1 -1
- package/dist/{chunk-VLHCR3G2.js → chunk-2Y575PWJ.js} +2 -2
- package/dist/{chunk-ZJ5ZLU2I.js → chunk-322AG75G.js} +2 -2
- package/dist/{chunk-WF4TXIXY.js → chunk-3DWH6Z5U.js} +1 -1
- package/dist/{chunk-VX3JUOZ6.js → chunk-42TYQPES.js} +2 -2
- package/dist/{chunk-GZZE2OJP.js → chunk-4W5X4S47.js} +9 -8
- package/dist/{chunk-6CEQCL6O.js → chunk-5YIZRU2L.js} +3 -3
- package/dist/{chunk-UQDO2L6F.js → chunk-62ATHBDS.js} +17 -14
- package/dist/{chunk-RPVL65M7.js → chunk-63GTSNMY.js} +6 -6
- package/dist/{chunk-TLBSOI2R.js → chunk-6DKWOG7L.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-THSTFHB7.js → chunk-7RM3TB62.js} +29 -2
- package/dist/{chunk-GSZAUB3W.js → chunk-7W5ZDOLW.js} +2 -2
- package/dist/{chunk-QTEU6NL3.js → chunk-A2NFFVWH.js} +5 -5
- package/dist/{chunk-D7THUO4V.js → chunk-A33GFLPY.js} +22 -2
- package/dist/{chunk-74VSOKKS.js → chunk-ABI256T5.js} +1 -1
- package/dist/{chunk-YXIXTFRO.js → chunk-AH6MUQQC.js} +2 -2
- package/dist/{chunk-QXVW22VM.js → chunk-ASGRVFQ3.js} +1 -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-4WJKSTDS.js → chunk-BBP5KGYS.js} +3 -3
- package/dist/{chunk-JCOECSLT.js → chunk-BHL4KN3H.js} +2 -2
- package/dist/{chunk-HVBQL3PZ.js → chunk-BX2JB24X.js} +1 -1
- package/dist/{chunk-UUW654GD.js → chunk-BXYB5NGT.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-RULCW25D.js → chunk-CBPBTQBH.js} +13 -13
- package/dist/{chunk-WY4J37EZ.js → chunk-CNX3WKQ5.js} +30 -8
- package/dist/{chunk-RWQANKWK.js → chunk-CPMTEWQM.js} +3 -3
- package/dist/{chunk-NU5LJYAT.js → chunk-CUYVIDGF.js} +4 -3
- package/dist/{chunk-2MUWGYXQ.js → chunk-DIKIN4BA.js} +29 -29
- 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-UPN4UMT7.js → chunk-H534266X.js} +2 -2
- package/dist/{chunk-SBA4NG7Q.js → chunk-HBHLCMOQ.js} +7 -7
- package/dist/{chunk-ZK3GFNHM.js → chunk-HUJMTTKR.js} +152 -26
- 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-JP2ZSFRJ.js → chunk-MWHTLXG4.js} +4 -54
- package/dist/{chunk-TODLF56D.js → chunk-MY4PAH7C.js} +1 -1
- package/dist/{chunk-NUFOXUDF.js → chunk-N6FGHJ7X.js} +53 -29
- package/dist/{chunk-ECJCBLME.js → chunk-N74N2I2K.js} +1 -1
- package/dist/{chunk-3BCLDK6O.js → chunk-NCP3JQ6S.js} +99 -93
- package/dist/{chunk-W5VDIXYL.js → chunk-NNF6G2UH.js} +1 -1
- package/dist/{chunk-M336YVCP.js → chunk-NWQFOHXF.js} +1 -1
- package/dist/{chunk-ZAOQWCZM.js → chunk-NX2X326Z.js} +9 -9
- package/dist/{chunk-E2SVAOS6.js → chunk-OAFGA2FR.js} +4 -3
- package/dist/{chunk-AC3TSGGG.js → chunk-OYAZODSP.js} +28 -28
- package/dist/{chunk-4MDLXE3N.js → chunk-PPMCILED.js} +37 -5
- package/dist/{chunk-DT6NGXSS.js → chunk-Q3IT7I2K.js} +1 -1
- package/dist/{chunk-3YZ3LNXV.js → chunk-QOF7XZEI.js} +1 -1
- 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-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-X422IJKF.js → chunk-TJ2USKCK.js} +1 -1
- package/dist/{chunk-Y3RERZRQ.js → chunk-TZBJEKKU.js} +1 -1
- package/dist/{chunk-L3ZVUQGN.js → chunk-UWYHZCEQ.js} +2 -2
- package/dist/{chunk-3LLFF6EE.js → chunk-V74HSKGY.js} +1 -1
- package/dist/{chunk-CUR5UYYJ.js → chunk-VM6T3Z6B.js} +1 -1
- package/dist/{chunk-CCFSUSAE.js → chunk-VNR7LSN4.js} +50 -11
- package/dist/{chunk-HFNB2CG3.js → chunk-VZ5O7A77.js} +1 -1
- package/dist/{chunk-6ZICZOMN.js → chunk-W5AUD5OL.js} +2 -2
- package/dist/{chunk-BGHKFD3T.js → chunk-WWBEAKTO.js} +10 -2
- 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-H4D2X5N3.js → chunk-ZD3MK4H5.js} +1 -1
- package/dist/{chunk-6A4RAHMF.js → chunk-ZLN3AJKT.js} +1 -1
- package/dist/{clean-VPOP4TU4.js → clean-RCXKQNFM.js} +23 -23
- package/dist/cli.js +61 -60
- package/dist/{cloud-Q7ZXCZ6E.js → cloud-TQPQZRC5.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-EO32AASM.js} +34 -34
- package/dist/{compiler-N4TTEEQC.js → compiler-NAIDMQFU.js} +6 -6
- package/dist/{component-MJXAMRKF.js → component-S3TYNVCR.js} +3 -3
- package/dist/{compositions-F3ZHG5F4.js → compositions-4TXRLZ3M.js} +15 -15
- package/dist/{curve-4TWENQO7.js → curve-HGLOP2GY.js} +13 -13
- package/dist/{cuts-X3LE5A2K.js → cuts-VNFIISLL.js} +14 -14
- package/dist/{delete-MYHKF3MS.js → delete-TIWI3G7X.js} +7 -5
- package/dist/{deploy-OP2BHWCQ.js → deploy-EHPNOGSY.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-46JK5ZCL.js} +156 -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-LD23DW4N.js} +13 -13
- package/dist/{energy-X2OAWHME.js → energy-YZ3DB6AI.js} +14 -14
- package/dist/{events-4MDK4K7Q.js → events-3OWNDNJX.js} +3 -3
- package/dist/{events-26SWSHDR.js → events-DRTMYSQ6.js} +2 -2
- package/dist/{events-JFIZSYMH.js → events-MQIKCKA5.js} +16 -16
- package/dist/{extract-4O3Q3LOD.js → extract-F3NBE3X5.js} +14 -14
- package/dist/{face-7J7AQJDY.js → face-ZU7ZDYGO.js} +14 -14
- package/dist/{feedback-CVTJDQIX.js → feedback-37M37Y4F.js} +8 -8
- package/dist/{ffmpeg-EE2NKQT4.js → ffmpeg-PERZ6YHQ.js} +9 -9
- package/dist/{figma-55J7UDDC.js → figma-55AG42NN.js} +3 -3
- package/dist/fontLocalizeCli.js +15 -15
- package/dist/{frames-OZLUDUOS.js → frames-DJA3CFSY.js} +19 -16
- package/dist/{generate-CY2TRPRE.js → generate-BVJ5XNWP.js} +18 -18
- package/dist/{get-HJHSVKGK.js → get-PGLCWEBG.js} +7 -5
- package/dist/{gpuPolicy-LZFNAIJB.js → gpuPolicy-DUNSQM6M.js} +9 -9
- package/dist/{grade-compare-JVTYF2T6.js → grade-compare-R6Q6G6WP.js} +34 -34
- package/dist/{heifImagePrep-OGFEQMQT.js → heifImagePrep-YNPHFR6W.js} +10 -10
- package/dist/{help-6WDI76YU.js → help-4SNDXHWQ.js} +2 -1
- package/dist/{history-FIP5NGFC.js → history-NKRHKIE2.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-U4VDKU2Y.js} +8 -8
- package/dist/{init-UYTDM56U.js → init-2RUVBHQO.js} +29 -29
- package/dist/{ink-BTLAE3ZR.js → ink-TX3USU7X.js} +14 -14
- package/dist/{inspect-KIMJNTS4.js → inspect-MAGHXEWS.js} +34 -34
- package/dist/{installer-6GSD3CVW.js → installer-PUQYKLXZ.js} +5 -5
- package/dist/{keyframes-74LK522L.js → keyframes-2TDECIQZ.js} +6 -6
- package/dist/{lambda-CJ7P5NLO.js → lambda-CRVYDETX.js} +15 -15
- package/dist/{layout-RLIXTM56.js → layout-I3VNHWJH.js} +34 -34
- package/dist/{lint-IOJB746U.js → lint-MCVWXDJX.js} +10 -10
- package/dist/{lintProject-NZADSVSU.js → lintProject-EV3EEBY3.js} +4 -4
- package/dist/{list-V3TMQEQV.js → list-FJJNWPM6.js} +7 -5
- package/dist/{localPage-5LUCH2RM.js → localPage-6MQ6YFER.js} +9 -9
- package/dist/{login-GNVKQO3W.js → login-YAZZWYFK.js} +4 -4
- package/dist/{look-3QZIJFNX.js → look-U5UHXPUQ.js} +14 -14
- package/dist/{manager-3QTARUMT.js → manager-ARXEX6OP.js} +10 -10
- package/dist/{measure-7LUYTL2E.js → measure-JAPDVQ5X.js} +11 -11
- package/dist/{media-treatment-MYDIYP5I.js → media-treatment-A4Z32NGP.js} +15 -15
- package/dist/{media-use-UDBHEIYA.js → media-use-6HX7JHRD.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-45CHOWKY.js} +10 -10
- package/dist/{open-UEJMPEPN.js → open-RSTNLDYI.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-BYIEIRQQ.js} +25 -25
- package/dist/{preflight-L5P4QXXH.js → preflight-TC6ZW3GB.js} +10 -10
- package/dist/{present-XXEU7RTN.js → present-5B5VQKT5.js} +20 -20
- package/dist/{preview-V6LNVTBH.js → preview-5O2HT2WF.js} +23 -23
- package/dist/{probe-JL4JSTSP.js → probe-ZGK6DBAR.js} +14 -14
- package/dist/{producer-RLZ64COI.js → producer-RFTB2APL.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-XAE2YCRZ.js → render-7HIEI7QP.js} +46 -46
- package/dist/{render-OD3XEIBG.js → render-EF7Y6YYC.js} +6 -6
- package/dist/{render-WCLJ4GPZ.js → render-ETZ3WAJO.js} +39 -37
- 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-VPBNBP2Q.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/references/heygen.md +17 -9
- 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-EBVQSIK4.js} +22 -12
- package/dist/{skillsUpdateCheck-GSX5MLON.js → skillsUpdateCheck-7VXK4R4J.js} +3 -3
- package/dist/{snapshot-5FK3HCJ7.js → snapshot-PJUNSMDS.js} +49 -46
- package/dist/{src-HKLKN7AE.js → src-RL6YEPTD.js} +10 -10
- package/dist/{src-JT324RDD.js → src-SMIMKSHZ.js} +18 -18
- package/dist/{start-5O33EGN2.js → start-5ZDH643Z.js} +19 -19
- package/dist/{staticProjectServer-CWKMUI6O.js → staticProjectServer-BX4RWEY5.js} +21 -21
- package/dist/{status-MPCREDMQ.js → status-4LLUW5YT.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-D7kdypzS.js → hyperframes-player-CcNGHTev.js} +1 -1
- package/dist/studio/assets/{index-BT1zmedz.js → index-D9uDed3x.js} +1 -1
- package/dist/studio/assets/{index-CaOrmH_8.js → index-DSRgrCDX.js} +118 -118
- 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-2WIQBEQC.js} +61 -61
- package/dist/{sync-BT4WDK3B.js → sync-P3O3WZWT.js} +19 -16
- package/dist/{telemetry-77PW2F7B.js → telemetry-267LV4SC.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +1 -0
- package/dist/templates/_shared/CLAUDE.md +1 -0
- package/dist/templates-MQ742KVZ.js +173 -0
- package/dist/{timeline-RKJ63VIU.js → timeline-WP7AZAQC.js} +24 -24
- package/dist/{tokens-JATS65YH.js → tokens-ROFKR7AE.js} +2 -2
- package/dist/{transcribe-ELWJ6NYG.js → transcribe-N66QUYCS.js} +12 -12
- package/dist/{transcribe-FYBJBBP3.js → transcribe-WS2STSCJ.js} +23 -23
- package/dist/{tts-JHGGL7GL.js → tts-HIQMJU6O.js} +1 -1
- package/dist/{updateCheck-NU374MVC.js → updateCheck-M2SMSDIO.js} +2 -2
- package/dist/{upgrade-VIWR25J6.js → upgrade-ZUWFB2QM.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-M2M37G47.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/chunk-N3CZ437C.js +0 -5035
- 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
|
@@ -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)
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-TSYRN646.js";
|
|
12
12
|
import {
|
|
13
13
|
fetchLocalPageUrl
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZD3MK4H5.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureCaptureDirSync,
|
|
17
17
|
writeCaptureFileSync
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-AWDFDFI3.js";
|
|
26
26
|
import {
|
|
27
27
|
isBlockedNetworkHost
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-N6FGHJ7X.js";
|
|
29
29
|
import {
|
|
30
30
|
DOMParser,
|
|
31
31
|
parseHTML
|
|
@@ -4,9 +4,6 @@ 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
|
-
uploadAssetViaDirectUpload
|
|
9
|
-
} from "./chunk-GSNSSFT7.js";
|
|
10
7
|
import {
|
|
11
8
|
STEADY_BEAT_CONFIDENCE,
|
|
12
9
|
envelope,
|
|
@@ -21,12 +18,15 @@ import {
|
|
|
21
18
|
tempoOf
|
|
22
19
|
} from "./chunk-HBAUU3IK.js";
|
|
23
20
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./chunk-
|
|
21
|
+
uploadAssetViaDirectUpload
|
|
22
|
+
} from "./chunk-G3ERWPNV.js";
|
|
26
23
|
import {
|
|
27
24
|
refreshIfNeeded,
|
|
28
25
|
resolveCloudBaseUrl
|
|
29
26
|
} from "./chunk-TSQZ3DSC.js";
|
|
27
|
+
import {
|
|
28
|
+
HyperframesCloudClient
|
|
29
|
+
} from "./chunk-3XJM7XZN.js";
|
|
30
30
|
import {
|
|
31
31
|
buildAuthHeaders,
|
|
32
32
|
tryResolveCredential
|
|
@@ -6,14 +6,14 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
findCuts
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7RM3TB62.js";
|
|
10
10
|
import {
|
|
11
11
|
grey,
|
|
12
12
|
readClip,
|
|
13
13
|
round,
|
|
14
14
|
videoClip,
|
|
15
15
|
writeImage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A33GFLPY.js";
|
|
17
17
|
|
|
18
18
|
// src/measure/events.ts
|
|
19
19
|
var EVENT_W = 160;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
HyperframesApiError
|
|
9
|
+
} from "./chunk-3XJM7XZN.js";
|
|
10
|
+
import {
|
|
11
|
+
errorBox
|
|
12
|
+
} from "./chunk-5LOZWO2M.js";
|
|
13
|
+
import {
|
|
14
|
+
failCommand
|
|
15
|
+
} from "./chunk-66W5IWLO.js";
|
|
16
|
+
|
|
17
|
+
// src/cloud/errors.ts
|
|
18
|
+
var ERROR_CODE_HINTS = {
|
|
19
|
+
hyperframes_project_too_large: "The zip exceeded the 200 MB limit. Run `hyperframes cloud render --dry-run` to see what stays in it, then add only verified-unneeded paths to `.hyperframesignore`.",
|
|
20
|
+
hyperframes_render_not_found: "The render_id no longer exists \u2014 either soft-deleted or never created.",
|
|
21
|
+
invalid_parameter: "Check the listed parameter against `hyperframes cloud render --help` for the accepted values.",
|
|
22
|
+
authentication_failed: "Run `hyperframes auth status` to confirm your credential; `hyperframes auth login` to re-auth.",
|
|
23
|
+
rate_limit_exceeded: "Retry after the duration in the Retry-After header."
|
|
24
|
+
};
|
|
25
|
+
function hintCode(err) {
|
|
26
|
+
if (err.code === "invalid_parameter" && /^File too large\b/.test(err.message)) {
|
|
27
|
+
return "hyperframes_project_too_large";
|
|
28
|
+
}
|
|
29
|
+
return err.code;
|
|
30
|
+
}
|
|
31
|
+
function reportApiError(stage, err, options = {}) {
|
|
32
|
+
const hints = { ...ERROR_CODE_HINTS, ...options.extraHints };
|
|
33
|
+
if (err instanceof HyperframesApiError) {
|
|
34
|
+
if (err.status === 404 && options.notFound) {
|
|
35
|
+
errorBox("Not found", options.notFound);
|
|
36
|
+
failCommand();
|
|
37
|
+
}
|
|
38
|
+
const code = hintCode(err);
|
|
39
|
+
const hint = code ? hints[code] : void 0;
|
|
40
|
+
const title = `${stage} (HTTP ${err.status})`;
|
|
41
|
+
if (hint) {
|
|
42
|
+
errorBox(title, err.message, hint);
|
|
43
|
+
} else if (options.suggestion) {
|
|
44
|
+
errorBox(title, err.message, options.suggestion);
|
|
45
|
+
} else if (err.code) {
|
|
46
|
+
errorBox(title, err.message, `code: ${err.code}`);
|
|
47
|
+
} else {
|
|
48
|
+
errorBox(title, err.message);
|
|
49
|
+
}
|
|
50
|
+
failCommand();
|
|
51
|
+
}
|
|
52
|
+
if (err instanceof Error) {
|
|
53
|
+
errorBox(stage, err.message, options.suggestion);
|
|
54
|
+
failCommand();
|
|
55
|
+
}
|
|
56
|
+
errorBox(stage, String(err), options.suggestion);
|
|
57
|
+
failCommand();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export {
|
|
61
|
+
reportApiError
|
|
62
|
+
};
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
formatVariableValidationIssue,
|
|
24
24
|
validateVariables
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-W5AUD5OL.js";
|
|
26
26
|
import {
|
|
27
27
|
extractCompositionMetadata
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-JHILL4BN.js";
|
|
29
29
|
import {
|
|
30
30
|
failCommand,
|
|
31
31
|
failUsage
|
|
@@ -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-TJ2USKCK.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");
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
updateCheckDisabled
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-TZBJEKKU.js";
|
|
10
10
|
import {
|
|
11
11
|
hostAnswers
|
|
12
12
|
} from "./chunk-BR2JQQC5.js";
|
|
@@ -19,6 +19,9 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
isUnattended
|
|
21
21
|
} from "./chunk-J3RXEDR2.js";
|
|
22
|
+
import {
|
|
23
|
+
VERSION
|
|
24
|
+
} from "./chunk-AH6MUQQC.js";
|
|
22
25
|
|
|
23
26
|
// src/utils/skillsUpdateCheck.ts
|
|
24
27
|
import { mkdirSync, readFileSync as readFileSync2, writeFileSync } from "fs";
|
|
@@ -294,12 +297,19 @@ function asSkillsManifest(data, sourceLabel) {
|
|
|
294
297
|
}
|
|
295
298
|
return m;
|
|
296
299
|
}
|
|
300
|
+
var ManifestHttpError = class extends Error {
|
|
301
|
+
status;
|
|
302
|
+
constructor(status, url) {
|
|
303
|
+
super(`HTTP ${status} fetching ${url}`);
|
|
304
|
+
this.status = status;
|
|
305
|
+
}
|
|
306
|
+
};
|
|
297
307
|
async function fetchManifest(url) {
|
|
298
308
|
const controller = new AbortController();
|
|
299
309
|
const timeout = setTimeout(() => controller.abort(), FETCH_TIMEOUT_MS);
|
|
300
310
|
try {
|
|
301
311
|
const res = await fetch(url, { signal: controller.signal, headers: { Connection: "close" } });
|
|
302
|
-
if (!res.ok) throw new
|
|
312
|
+
if (!res.ok) throw new ManifestHttpError(res.status, url);
|
|
303
313
|
return asSkillsManifest(await res.json(), url);
|
|
304
314
|
} finally {
|
|
305
315
|
clearTimeout(timeout);
|
|
@@ -334,6 +344,9 @@ async function remoteHeadSha(repoSlug2) {
|
|
|
334
344
|
return null;
|
|
335
345
|
}
|
|
336
346
|
}
|
|
347
|
+
function cliReleaseTag(version) {
|
|
348
|
+
return /^\d+\.\d+\.\d+$/.test(version) ? `v${version}` : null;
|
|
349
|
+
}
|
|
337
350
|
function resolveLocalManifest(source) {
|
|
338
351
|
const direct = source.endsWith(".json") ? source : join(source, MANIFEST_FILE);
|
|
339
352
|
if (existsSync(direct)) return JSON.parse(readFileSync(direct, "utf8"));
|
|
@@ -341,9 +354,17 @@ function resolveLocalManifest(source) {
|
|
|
341
354
|
if (existsSync(skillsRoot)) return buildManifest(skillsRoot, { source: skillsRoot });
|
|
342
355
|
throw new Error(`No skills manifest found at: ${source}`);
|
|
343
356
|
}
|
|
344
|
-
async function
|
|
345
|
-
|
|
346
|
-
|
|
357
|
+
async function fetchTagManifest(repoSlug2, tag) {
|
|
358
|
+
try {
|
|
359
|
+
return await fetchManifest(
|
|
360
|
+
`https://raw.githubusercontent.com/${repoSlug2}/${tag}/${MANIFEST_FILE}`
|
|
361
|
+
);
|
|
362
|
+
} catch (err) {
|
|
363
|
+
if (err instanceof ManifestHttpError && err.status === 404) return null;
|
|
364
|
+
throw err;
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
async function fetchMainManifest(repoSlug2) {
|
|
347
368
|
const sha = await remoteHeadSha(repoSlug2);
|
|
348
369
|
if (sha) {
|
|
349
370
|
try {
|
|
@@ -355,18 +376,34 @@ async function fetchRemoteManifest(source) {
|
|
|
355
376
|
}
|
|
356
377
|
return fetchManifest(`https://raw.githubusercontent.com/${repoSlug2}/main/${MANIFEST_FILE}`);
|
|
357
378
|
}
|
|
379
|
+
async function fetchRemoteManifest(source, cliVersion) {
|
|
380
|
+
if (source?.startsWith("http")) return { manifest: await fetchManifest(source), ref: null };
|
|
381
|
+
const repoSlug2 = source ?? DEFAULT_REPO_SLUG;
|
|
382
|
+
const tag = cliReleaseTag(cliVersion ?? "");
|
|
383
|
+
const atTag = tag ? await fetchTagManifest(repoSlug2, tag) : null;
|
|
384
|
+
if (tag && atTag) return { manifest: atTag, ref: tag };
|
|
385
|
+
return { manifest: await fetchMainManifest(repoSlug2), ref: "main" };
|
|
386
|
+
}
|
|
358
387
|
async function resolveLatestManifest(source, cwd = process.cwd(), opts = {}) {
|
|
359
388
|
if (source && (source.startsWith(".") || isAbsolute(source))) {
|
|
360
|
-
return resolveLocalManifest(source);
|
|
389
|
+
return { manifest: resolveLocalManifest(source), ref: null };
|
|
361
390
|
}
|
|
362
391
|
if (!source && !opts.canonical) {
|
|
363
392
|
const repoManifest = findRepoManifest(cwd);
|
|
364
|
-
if (repoManifest)
|
|
393
|
+
if (repoManifest) {
|
|
394
|
+
return {
|
|
395
|
+
manifest: JSON.parse(readFileSync(repoManifest, "utf8")),
|
|
396
|
+
ref: null
|
|
397
|
+
};
|
|
398
|
+
}
|
|
365
399
|
}
|
|
366
|
-
return fetchRemoteManifest(source);
|
|
400
|
+
return fetchRemoteManifest(source, opts.cliVersion);
|
|
367
401
|
}
|
|
368
402
|
async function checkSkills(opts = {}) {
|
|
369
|
-
const latest = await resolveLatestManifest(opts.source, opts.cwd, {
|
|
403
|
+
const { manifest: latest, ref } = await resolveLatestManifest(opts.source, opts.cwd, {
|
|
404
|
+
canonical: opts.canonical,
|
|
405
|
+
cliVersion: opts.cliVersion
|
|
406
|
+
});
|
|
370
407
|
const skillNames = Object.keys(latest.skills);
|
|
371
408
|
const root = locateInstall(skillNames, { dir: opts.dir, cwd: opts.cwd, home: opts.home });
|
|
372
409
|
const lock = root ? readSkillLock(lockPathForScope(root.scope, opts)) : null;
|
|
@@ -386,7 +423,8 @@ async function checkSkills(opts = {}) {
|
|
|
386
423
|
updateAvailable: diff.updateAvailable,
|
|
387
424
|
summary: diff.summary,
|
|
388
425
|
skills: diff.skills,
|
|
389
|
-
foreign
|
|
426
|
+
foreign,
|
|
427
|
+
ref
|
|
390
428
|
};
|
|
391
429
|
}
|
|
392
430
|
|
|
@@ -406,7 +444,7 @@ function cacheFresh(lastSkillsCheck, now) {
|
|
|
406
444
|
}
|
|
407
445
|
async function refreshSkillsCache() {
|
|
408
446
|
if (!await hostAnswers("github.com")) return;
|
|
409
|
-
const result = await checkSkills({ canonical: true });
|
|
447
|
+
const result = await checkSkills({ canonical: true, cliVersion: VERSION });
|
|
410
448
|
if (result.location) {
|
|
411
449
|
const config = readConfigFresh();
|
|
412
450
|
config.lastSkillsCheck = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -475,6 +513,7 @@ export {
|
|
|
475
513
|
retiredSkillNotice,
|
|
476
514
|
presentSkills,
|
|
477
515
|
hyperframesSkillNames,
|
|
516
|
+
cliReleaseTag,
|
|
478
517
|
checkSkills,
|
|
479
518
|
refreshSkillsCache,
|
|
480
519
|
invalidateSkillsCache,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveNaturalMediaTimelineDuration,
|
|
26
26
|
resolveTimedImageDurationSeconds,
|
|
27
27
|
unitFloatToByte
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Y3ICFPFK.js";
|
|
29
29
|
import {
|
|
30
30
|
COLOR_GROUP_ATTR,
|
|
31
31
|
COLOR_GROUP_TAG,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
isTextElement,
|
|
48
48
|
keyframesToGsapAnimations,
|
|
49
49
|
serializeGsapAnimations
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-JHILL4BN.js";
|
|
51
51
|
import {
|
|
52
52
|
parseHTML
|
|
53
53
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -55,6 +55,13 @@ function unknownFlagIn(tok, known) {
|
|
|
55
55
|
}
|
|
56
56
|
return null;
|
|
57
57
|
}
|
|
58
|
+
var FLAG_SYNONYMS = {
|
|
59
|
+
from: ["start"],
|
|
60
|
+
to: ["end"],
|
|
61
|
+
start: ["from"],
|
|
62
|
+
end: ["to"],
|
|
63
|
+
o: ["out", "output"]
|
|
64
|
+
};
|
|
58
65
|
function unknownFlagError(flag, known, path) {
|
|
59
66
|
const command = `hyperframes ${path ? `${path} ` : ""}`.trim();
|
|
60
67
|
if (flag === "--json") {
|
|
@@ -63,8 +70,9 @@ function unknownFlagError(flag, known, path) {
|
|
|
63
70
|
hint: "Run it without --json."
|
|
64
71
|
});
|
|
65
72
|
}
|
|
66
|
-
const longNames = [...known].filter((
|
|
67
|
-
const
|
|
73
|
+
const longNames = [...known].filter((name2) => name2.length > 1);
|
|
74
|
+
const name = flag.replace(/^--?/, "");
|
|
75
|
+
const match = FLAG_SYNONYMS[name]?.find((s) => known.has(s)) ?? (flag.startsWith("--") ? closestMatch(name, longNames) : void 0);
|
|
68
76
|
const help = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
|
|
69
77
|
const hint = match ? `Did you mean --${match}? ${help}` : help;
|
|
70
78
|
return new CliUsageError(`Unknown flag: ${flag}`, { hint, code: "unknown_flag" });
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
hyperframesCacheDir
|
|
30
30
|
} from "./chunk-766MOTIZ.js";
|
|
31
31
|
|
|
32
|
-
// ../studio-server/dist/chunk-
|
|
32
|
+
// ../studio-server/dist/chunk-Z6G2NBCQ.js
|
|
33
33
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
34
34
|
import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile } from "fs/promises";
|
|
35
35
|
import {
|
|
@@ -581,13 +581,13 @@ function listProjectFiles(projectDir) {
|
|
|
581
581
|
ctimeMs: entry.ctimeMs
|
|
582
582
|
}));
|
|
583
583
|
}
|
|
584
|
-
function resolveProjectSignature(adapter, projectDir) {
|
|
585
|
-
return adapter.getProjectSignature?.(projectDir) ??
|
|
584
|
+
async function resolveProjectSignature(adapter, projectDir) {
|
|
585
|
+
return await adapter.getProjectSignature?.(projectDir) ?? createProjectSignatureAsync(projectDir);
|
|
586
586
|
}
|
|
587
587
|
async function resolveProjectAndSignature(adapter, projectId) {
|
|
588
588
|
const project = await adapter.resolveProject(projectId);
|
|
589
589
|
if (!project) return null;
|
|
590
|
-
return { project, signature: resolveProjectSignature(adapter, project.dir) };
|
|
590
|
+
return { project, signature: await resolveProjectSignature(adapter, project.dir) };
|
|
591
591
|
}
|
|
592
592
|
function planSignature(dir, collected, excluding, signedAt) {
|
|
593
593
|
const files = collected.filter(
|
|
@@ -5,8 +5,9 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
TIMING_TOLERANCE_SECONDS,
|
|
9
|
+
resolveCompositionDuration
|
|
10
|
+
} from "./chunk-CZGHFATT.js";
|
|
10
11
|
import {
|
|
11
12
|
cleanAssetUrl,
|
|
12
13
|
collectSubCompositionSrcs,
|
|
@@ -21,9 +22,8 @@ import {
|
|
|
21
22
|
resolveProjectRelativeSrc
|
|
22
23
|
} from "./chunk-WVRAFHJU.js";
|
|
23
24
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./chunk-CZGHFATT.js";
|
|
25
|
+
findFfBinary
|
|
26
|
+
} from "./chunk-HYRPH6LL.js";
|
|
27
27
|
import {
|
|
28
28
|
COLOR_GRADING_SOURCE_TAGS,
|
|
29
29
|
COLOR_GROUP_TAG,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
} from "./chunk-C2KEGBR3.js";
|
|
54
54
|
import {
|
|
55
55
|
encodeUrlPath
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-JHILL4BN.js";
|
|
57
57
|
import {
|
|
58
58
|
parseHTML
|
|
59
59
|
} from "./chunk-GWTIFRF5.js";
|