hyperframes 0.9.28-alpha.1 → 0.9.29
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 +5 -2
- package/dist/{add-YDZMFKR3.js → add-BRXFSBYO.js} +14 -14
- package/dist/{agentPromptGenerator-AUXZZCIG.js → agentPromptGenerator-NJL6ZJQA.js} +7 -7
- package/dist/{animatedGifPrep-2DYVIBA4.js → animatedGifPrep-AVZAMI2D.js} +7 -7
- package/dist/api.js +38 -39
- package/dist/{asset-JHM3VF72.js → asset-FEAC2U74.js} +2 -2
- package/dist/{assetCataloger-2OB46SVM.js → assetCataloger-WGNEAI5A.js} +8 -8
- package/dist/{audio-T6YSLT2D.js → audio-PBKCPYW2.js} +24 -25
- package/dist/{auth-YSTRUKED.js → auth-IPHKPGNV.js} +4 -4
- package/dist/{autoUpdate-VYRYBZG6.js → autoUpdate-4HUTYRYX.js} +3 -3
- package/dist/{avatars-UU53IDAK.js → avatars-U2XLC3OS.js} +15 -16
- package/dist/{backgroundChecks-FNACAOZD.js → backgroundChecks-4Q4R56DT.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{batchRender-KWIPFU5Q.js → batchRender-AL6DO5IA.js} +4 -4
- package/dist/{beats-X2LCSMYD.js → beats-VS4P6KKZ.js} +11 -11
- package/dist/{benchmark-4OB6M2FR.js → benchmark-MGDPACXB.js} +11 -11
- package/dist/{billing-DC6ODLSG.js → billing-JLASHFQM.js} +15 -16
- package/dist/{browser-PUJD4WCC.js → browser-FU4TZSMT.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-7HQEKW2H.js → bundleWithLocalizedFonts-B2XFORNZ.js} +1 -1
- package/dist/{capture-IGQR6HTG.js → capture-CFESIHJR.js} +22 -22
- package/dist/{capture-PUB5WBLQ.js → capture-LL7WE2S7.js} +3 -3
- package/dist/{captureCompositionFrame-JT6HGVU7.js → captureCompositionFrame-DABFEOQO.js} +14 -14
- package/dist/{catalog-5NC5EV6Z.js → catalog-U6CHLXTI.js} +14 -14
- package/dist/{catch-up-6RJNWB5I.js → catch-up-DMREF334.js} +9 -9
- package/dist/{check-FXZOPV3Y.js → check-ILJC6WYD.js} +45 -44
- package/dist/{checkAudio-VSHZXO4J.js → checkAudio-MWSP2436.js} +15 -15
- package/dist/{checkBrowser-EOSAXIHJ.js → checkBrowser-HC3LYH6H.js} +38 -38
- package/dist/{chunk-W3XARNFW.js → chunk-2YZ6GA4E.js} +1 -1
- package/dist/{chunk-XGRXNWDK.js → chunk-3JFV42QB.js} +3 -3
- package/dist/{chunk-4J2J57RS.js → chunk-42MHKDVP.js} +3 -3
- package/dist/{chunk-UYVQDKGC.js → chunk-47JZ2UQC.js} +1 -1
- package/dist/{chunk-QTDTCTGB.js → chunk-4N3UVDIJ.js} +4 -6
- package/dist/{chunk-R6PUBUA4.js → chunk-4TCEF2I7.js} +1 -1
- package/dist/{chunk-C6S2NYQ4.js → chunk-4TPTB6PY.js} +4 -4
- package/dist/{chunk-6UJOLK4G.js → chunk-5QGDLMU3.js} +2 -2
- package/dist/{chunk-QB2USW3R.js → chunk-5RLMHG3E.js} +1 -1
- package/dist/{chunk-ME6L6GUF.js → chunk-6FHIR4KD.js} +1 -1
- package/dist/{chunk-2Q3Y7CI3.js → chunk-6JAB5BHX.js} +7 -7
- package/dist/{chunk-BP75ZLZ5.js → chunk-6LCIO2YY.js} +2 -2
- package/dist/chunk-72LMHSPL.js +29 -0
- package/dist/{chunk-FF25S7ZC.js → chunk-74PW4UVC.js} +1 -1
- package/dist/{chunk-44LVKFXU.js → chunk-76MHB2H6.js} +1 -1
- package/dist/{chunk-GTZVTATR.js → chunk-77B6C7CU.js} +2 -2
- package/dist/{chunk-XHP3V4WH.js → chunk-7GJKUOPX.js} +31 -20
- package/dist/{chunk-3BWFZFJK.js → chunk-7TION72L.js} +18 -18
- package/dist/{chunk-HPR2BPFS.js → chunk-AOPNJEQC.js} +2 -2
- package/dist/{chunk-MEVLYDL2.js → chunk-BJYCLZBQ.js} +1 -1
- package/dist/{chunk-TYPFNWE6.js → chunk-BX2BIU6Z.js} +1 -1
- package/dist/{chunk-SXGLW3OW.js → chunk-BYJEUZNT.js} +3 -3
- package/dist/{chunk-W4DMQZL5.js → chunk-BZULWFMJ.js} +11 -2
- package/dist/{chunk-YSIDK3VE.js → chunk-C25RSEQN.js} +12 -12
- package/dist/{chunk-CHCMXYER.js → chunk-C5JKRCSG.js} +1 -1
- package/dist/{chunk-VSQ5NWCF.js → chunk-DJVSNDF3.js} +3 -3
- package/dist/{chunk-N5TVFPYQ.js → chunk-DYKBB5HB.js} +1 -1
- package/dist/{chunk-IADGTP5X.js → chunk-EIVSIGS2.js} +3 -3
- package/dist/{chunk-3T6BFAKZ.js → chunk-F24B2PLD.js} +1 -1
- package/dist/{chunk-XLX7TDCI.js → chunk-FJPHKCWU.js} +17 -17
- package/dist/{chunk-CE765XG3.js → chunk-FNC3JNO7.js} +1 -1
- package/dist/{chunk-BF6RWOUF.js → chunk-FXPDWYD7.js} +100 -50
- package/dist/{chunk-SCPMSSQW.js → chunk-GGDJLN5I.js} +0 -20
- package/dist/{chunk-GNG7XNUY.js → chunk-GISQ7VOP.js} +15 -15
- package/dist/{chunk-VYEPG2N6.js → chunk-GQNV4DG6.js} +1 -1
- package/dist/{chunk-4XGKXBYH.js → chunk-GTUTZIRR.js} +22 -4
- package/dist/{chunk-63PVDQ6R.js → chunk-H5BHEZ4B.js} +2 -2
- package/dist/{chunk-OPGYOHU6.js → chunk-HCC7XLD7.js} +2 -2
- package/dist/{chunk-5YDJTVOQ.js → chunk-HLRYLZFX.js} +2 -2
- package/dist/{chunk-AAENGP3S.js → chunk-IOPIOX5K.js} +66 -16
- package/dist/{chunk-WYA575QX.js → chunk-IQKMIYLG.js} +5 -7
- package/dist/{chunk-XFE4R6I4.js → chunk-ITWIFUDS.js} +1 -1
- package/dist/{chunk-HW325JBH.js → chunk-IX3K55NA.js} +4 -4
- package/dist/{chunk-3OKVZXTH.js → chunk-IXMO4RXK.js} +2 -2
- package/dist/{chunk-WIJGRX5X.js → chunk-IYYZMZD2.js} +1 -1
- package/dist/{chunk-NVNKKVDH.js → chunk-J7PDBGQM.js} +2 -2
- package/dist/{chunk-4OZVFZCO.js → chunk-JLUOG6S2.js} +1 -1
- package/dist/{chunk-QKAXPYTV.js → chunk-JVAD6LD7.js} +38 -21
- package/dist/{chunk-6ODX6SHY.js → chunk-L2GOO2UY.js} +2 -2
- package/dist/{chunk-OJ5HAKL6.js → chunk-L6OXEDJQ.js} +7 -7
- package/dist/{chunk-CG65CRMP.js → chunk-LDTJCZZ2.js} +2 -2
- package/dist/{chunk-AHRX3FHF.js → chunk-LMCFILEY.js} +3 -3
- package/dist/{chunk-FID757D3.js → chunk-LP7B3JLC.js} +0 -1
- package/dist/{chunk-WXEXQLVV.js → chunk-M457GQGR.js} +344 -216
- package/dist/{chunk-TLVXCOMV.js → chunk-MKZ34726.js} +2 -2
- package/dist/{chunk-O2JZ6C3S.js → chunk-MTJ46TG7.js} +7 -7
- package/dist/{chunk-7U2B7OF6.js → chunk-MVJ7AX6W.js} +1 -1
- package/dist/{chunk-3MYEF34S.js → chunk-NFUXYBOR.js} +1 -1
- package/dist/{chunk-RERVXE6J.js → chunk-NHJ5YUBZ.js} +2 -2
- package/dist/{chunk-YFDCU6X5.js → chunk-NSQLSL42.js} +6 -6
- package/dist/{chunk-KJ5QBEMN.js → chunk-NURN5W6M.js} +6 -8
- package/dist/{chunk-WCPH2JRB.js → chunk-NXFUEPWT.js} +35 -21
- package/dist/{chunk-ALCP5OEW.js → chunk-NZUUKNNZ.js} +1 -1
- package/dist/{chunk-IMSLXLUI.js → chunk-OSDNRYQJ.js} +1 -1
- package/dist/{chunk-36G3XDN6.js → chunk-OY4YSQBK.js} +2 -2
- package/dist/{chunk-XOON4QRF.js → chunk-PGZSYDLZ.js} +1 -1
- package/dist/{chunk-5ROYFGQT.js → chunk-PVRJKEU5.js} +1 -1
- package/dist/{chunk-STTUDVAI.js → chunk-Q7FX7HOX.js} +1 -1
- package/dist/{chunk-KCRVZA7B.js → chunk-QBRBXVCE.js} +1 -1
- package/dist/{chunk-NHRLZESZ.js → chunk-RYFVUPXH.js} +1 -1
- package/dist/{chunk-Q6TVZY36.js → chunk-RYT22J4V.js} +2 -2
- package/dist/{chunk-J5CDV66Q.js → chunk-RZK5ZGVX.js} +4 -4
- package/dist/{chunk-MPC3L6A3.js → chunk-S3S3IHCR.js} +1 -1
- package/dist/chunk-SBYFFP7R.js +413 -0
- package/dist/{chunk-WOSVLHQH.js → chunk-SCNC7YPB.js} +1 -1
- package/dist/{chunk-7GZ4E5ID.js → chunk-SCUKEERJ.js} +4 -4
- package/dist/{chunk-WFO2PDZD.js → chunk-SS7OEJGR.js} +35 -18
- package/dist/{chunk-TF7VWCJM.js → chunk-TCQKCUDA.js} +1 -1
- package/dist/{chunk-JX4BEVC3.js → chunk-TIWO5QKS.js} +66 -52
- package/dist/{chunk-6RHKGQRA.js → chunk-TM5H5ZY3.js} +2 -2
- package/dist/{chunk-AJVYQVDB.js → chunk-U5RXCKWJ.js} +1 -1
- package/dist/{chunk-GVBAVADJ.js → chunk-UCCD6SY7.js} +1 -1
- package/dist/{chunk-LSSUDIEM.js → chunk-UKAZEO7A.js} +5 -5
- package/dist/{chunk-MWBRY5HN.js → chunk-USOP5XTT.js} +3 -3
- package/dist/{chunk-7XHVHBFV.js → chunk-V4Z37HFN.js} +3 -3
- package/dist/{chunk-2BSPL7YE.js → chunk-V4ZFL2E2.js} +3 -3
- package/dist/{chunk-7D4PARGG.js → chunk-VWEELCAJ.js} +6 -6
- package/dist/{chunk-YJBGA3W6.js → chunk-VXWASGGT.js} +2 -2
- package/dist/{chunk-JHSHEJU7.js → chunk-XGGEOBH2.js} +2 -2
- package/dist/{chunk-FZUIGBYD.js → chunk-XKSHWUIF.js} +3 -3
- package/dist/{chunk-ZMQYQHZU.js → chunk-XVDXYUQJ.js} +1 -1
- package/dist/{chunk-4TU5M4WX.js → chunk-YXNRWPF5.js} +31 -29
- package/dist/{chunk-DFKD43CD.js → chunk-ZCRATF6D.js} +3 -3
- package/dist/{chunk-COAB2OXQ.js → chunk-ZGQZTSP2.js} +1 -1
- package/dist/{chunk-PSGS27VB.js → chunk-ZQXK4L4G.js} +2 -2
- package/dist/{chunk-3Q7LAXFJ.js → chunk-ZUXES5HA.js} +2 -2
- package/dist/{chunk-L666J5OJ.js → chunk-ZY3N64NC.js} +2 -2
- package/dist/{clean-5WXYKIWX.js → clean-YU7AM7DC.js} +23 -23
- package/dist/cli.js +67 -69
- package/dist/{cloud-TEJ6UVBU.js → cloud-QJMPTQ3N.js} +5 -6
- package/dist/{cloud-X2ZPQOFN.js → cloud-U7RRT2TA.js} +4 -4
- package/dist/{cloudrun-A7DU7DQE.js → cloudrun-T7VVPRDG.js} +7 -7
- package/dist/{compare-URG6E3VF.js → compare-USGR7PZL.js} +36 -36
- package/dist/{compiler-J43BE6LC.js → compiler-ZSIKBZBR.js} +4 -4
- package/dist/{component-BE2ZLBPY.js → component-RIFXLYK3.js} +3 -3
- package/dist/{compositions-DJPSPCYI.js → compositions-QHRNVZ2K.js} +13 -13
- package/dist/{curve-I6CGCMG5.js → curve-BX46Q4OW.js} +12 -12
- package/dist/{cuts-TRTRMTCZ.js → cuts-JRLHBLOX.js} +13 -13
- package/dist/{delete-UMO7XCW3.js → delete-SE7ABVTH.js} +8 -9
- package/dist/{deploy-T2CETGFF.js → deploy-AQUEV6ND.js} +6 -6
- package/dist/{describeProject-AJ2SFRCN.js → describeProject-XBT7PHZD.js} +8 -8
- package/dist/{deterministicFonts-UZIF5XZW.js → deterministicFonts-SKRN3TCP.js} +2 -2
- package/dist/{diff-KCVI66ZW.js → diff-6TZLA6KU.js} +39 -40
- package/dist/{dist-AUYCAQMA.js → dist-ALNMJZ7K.js} +15 -15
- package/dist/{dist-4JHP47NU.js → dist-EFXKPJJT.js} +2 -2
- package/dist/{dist-F3Y2XHZL.js → dist-QRXJMFI7.js} +3 -3
- package/dist/{doctor-UTIGHYSY.js → doctor-DDKKCJMO.js} +12 -12
- package/dist/{energy-PJUDIY2I.js → energy-HC7BNZ5E.js} +13 -13
- package/dist/{events-ZMFIRGW4.js → events-EETQNKK2.js} +15 -15
- package/dist/{events-HI2WDYGV.js → events-KNH677YB.js} +4 -4
- package/dist/{events-P6Q6GB6K.js → events-ZRVQOB4Y.js} +8 -8
- package/dist/{extract-4RYOD7LZ.js → extract-I3J3ZK55.js} +16 -16
- package/dist/{face-X3DR3L7V.js → face-HJUZ2OXQ.js} +14 -14
- package/dist/{feedback-WOE25OSG.js → feedback-M6I5AVZ5.js} +14 -15
- package/dist/{ffmpeg-N3LZ7XBX.js → ffmpeg-OAKTUK5S.js} +7 -7
- package/dist/{figma-VPG54R3O.js → figma-RFAPGGBF.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -13
- package/dist/{frames-VNQ5P43E.js → frames-FOAWRBW4.js} +14 -14
- package/dist/{generate-ZCTFKNNW.js → generate-FLG6B7RX.js} +26 -27
- package/dist/{get-K374EYQS.js → get-I5JCIGPW.js} +8 -9
- package/dist/{gpuPolicy-SAEOR4QY.js → gpuPolicy-SLVPAQK2.js} +7 -7
- package/dist/{grade-compare-UHNGFSNR.js → grade-compare-R3UOE4WI.js} +38 -38
- package/dist/{gsapParserAcorn-5YD4N6HQ.js → gsapParserAcorn-SKGP4R4N.js} +1 -1
- package/dist/{heifImagePrep-R7NDS5FP.js → heifImagePrep-BOIWW7FW.js} +8 -8
- package/dist/{help-6DADTB2R.js → help-NVQZEN6A.js} +1 -1
- package/dist/{history-2K4FPC4P.js → history-AGNMVDRQ.js} +12 -12
- package/dist/hyperframes-player.global.js +2 -2
- package/dist/{info-7NZB6ZUO.js → info-EXAJSKZP.js} +15 -15
- package/dist/{init-UVGSTDBD.js → init-Z7FZ7U5J.js} +29 -29
- package/dist/{ink-3GBOCKAV.js → ink-QYCQXNUY.js} +13 -13
- package/dist/{inspect-XWAQWM2Y.js → inspect-ZJNHBIJI.js} +35 -35
- package/dist/{installer-AJESSC5Y.js → installer-VPGNKCEU.js} +5 -5
- package/dist/{keyframes-7C6LAP5V.js → keyframes-QYRES5IL.js} +15 -12
- package/dist/{lambda-Y2BEBCDQ.js → lambda-3I4IV63E.js} +13 -13
- package/dist/{layout-Z35EOSYQ.js → layout-J33Y6DD7.js} +35 -35
- package/dist/{lint-QU5JDQX3.js → lint-JT74BZWJ.js} +12 -12
- package/dist/{lintProject-Z6TG3Z34.js → lintProject-5CBL7VFV.js} +2 -2
- package/dist/{list-6KUDG4X7.js → list-NOWT754O.js} +10 -11
- package/dist/{localPage-SM5JBV4M.js → localPage-66UVNGQR.js} +7 -7
- package/dist/{login-XCR35XUC.js → login-3JR3HXS6.js} +7 -8
- package/dist/{logout-AHGR3X5U.js → logout-FJ444652.js} +4 -6
- package/dist/{look-O452Y7XO.js → look-NKCQENM7.js} +13 -13
- package/dist/{manager-GCFCVNYS.js → manager-ML4OLLSM.js} +8 -8
- package/dist/{measure-D54QYN6X.js → measure-VSZBVJJZ.js} +11 -11
- package/dist/{media-treatment-LPL2SZ7W.js → media-treatment-733EANTU.js} +15 -15
- package/dist/{media-use-VL2EL53W.js → media-use-IUN5ATZQ.js} +7 -9
- package/dist/{models-YFFUQ757.js → models-A6FBCVFA.js} +11 -11
- package/dist/{motionShot-QHWXLUJM.js → motionShot-PVWZLEMB.js} +19 -19
- package/dist/{normalize-audio-72PTXCD7.js → normalize-audio-XD4QE5NE.js} +11 -11
- package/dist/{open-BLPP4OPX.js → open-TWEEOMZA.js} +14 -14
- package/dist/{parakeetRunner-3A66RNGS.js → parakeetRunner-GP47AAVT.js} +13 -13
- package/dist/{pipeline-BFMEIMNZ.js → pipeline-5HUQFOCY.js} +10 -10
- package/dist/{play-KG2B7KMX.js → play-ZOZRB5OG.js} +26 -26
- package/dist/{preflight-YNGNNHZC.js → preflight-NTJMXUS2.js} +8 -8
- package/dist/{present-WGQEDRXJ.js → present-IMQS3KJ7.js} +22 -22
- package/dist/{preview-JM6GYVIL.js → preview-JSK5IKSR.js} +23 -23
- package/dist/{probe-B5H6PBIG.js → probe-ZLRD2TRZ.js} +13 -13
- package/dist/{producer-QIHOQ53I.js → producer-ZZROH3WZ.js} +1 -1
- package/dist/{projectConfig-GJL2ZGOU.js → projectConfig-UHYPGWD5.js} +7 -7
- package/dist/{publication-BLLVTVD6.js → publication-5KOANEHK.js} +3 -3
- package/dist/{publish-CYPJA7T7.js → publish-C3ARXH6D.js} +23 -83
- package/dist/{refresh-TB4TNH7R.js → refresh-YY4K2RWR.js} +3 -4
- package/dist/{remove-background-MHKW4EBR.js → remove-background-VDTWA7BL.js} +11 -11
- package/dist/{render-F35USXZA.js → render-P27DEH4H.js} +44 -45
- package/dist/{render-RUEXLOWE.js → render-TSV3XTQV.js} +6 -6
- package/dist/{render-RTPE3OBI.js → render-UF5XKGO5.js} +939 -317
- package/dist/{render-batch-QFGQD5FM.js → render-batch-ISMXAG7F.js} +6 -6
- package/dist/renderSetupWorker.js +2 -2
- package/dist/{resolver-HQIDF3TF.js → resolver-ZWNLOG6O.js} +5 -5
- package/dist/{reverse-BEQHRYSZ.js → reverse-J4CLVRPY.js} +1 -1
- package/dist/{run-EVZGKUEX.js → run-UPKPPRV7.js} +4 -5
- package/dist/{screenshotCapture-4NDEWYCU.js → screenshotCapture-ZZE3GMOF.js} +8 -8
- package/dist/{sherpa-MNU3ORFR.js → sherpa-7ISRANWA.js} +12 -12
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/preview-render.md +0 -20
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/references/heygen.md +2 -2
- package/dist/{skills-3R6EC5PV.js → skills-AAETAWZH.js} +11 -11
- package/dist/{skillsUpdateCheck-TRRXLL46.js → skillsUpdateCheck-KCP2EYKX.js} +4 -4
- package/dist/{snapshot-BYNK523M.js → snapshot-5PMHOVPR.js} +51 -49
- package/dist/{src-EZMBCQBY.js → src-CHPZUZZ3.js} +12 -12
- package/dist/{src-FZ4EJHOK.js → src-NIMSUB4P.js} +6 -6
- package/dist/{start-FRPRXMEN.js → start-6D25MEIJ.js} +24 -25
- package/dist/{staticProjectServer-FF6IBUD6.js → staticProjectServer-LM3YLJ6K.js} +20 -20
- package/dist/{status-QZ7PKGAJ.js → status-22TRM6DI.js} +18 -20
- package/dist/studio/assets/{codec-DqodFzhT.js → codec-D84nARi6.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-D03oERxc.js → hyperframes-player-C2-hh0bR.js} +2 -2
- package/dist/studio/assets/{index-9kcxLnm3.js → index-B0rj7KmJ.js} +1 -1
- package/dist/studio/assets/{index-DuOvEv27.js → index-D3lR9-ik.js} +184 -184
- package/dist/studio/assets/{index-Cq2w6U13.css → index-dsfjBidg.css} +1 -1
- package/dist/studio/assets/{pausedVideoDecoder-pYFINB0c.js → pausedVideoDecoder-D8vnt-Wd.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-RBURPKYX.js → studio-api-LSWAJEK4.js} +15 -15
- package/dist/{studioServer-YZDNK3AO.js → studioServer-MC57HJAV.js} +84 -435
- package/dist/{sync-6MHJVU4M.js → sync-SEN3M7GA.js} +13 -13
- package/dist/{telemetry-CLB2O4ZK.js → telemetry-NP2FXZQL.js} +8 -8
- package/dist/{templates-HFQXIAO2.js → templates-QN7ZUHHZ.js} +18 -19
- package/dist/{timeline-ORRCS7NO.js → timeline-V43AACFE.js} +22 -22
- package/dist/{tokens-OTBA5VQ3.js → tokens-NOFZVX4P.js} +2 -2
- package/dist/{transcribe-EMXH7CGF.js → transcribe-FGVGCTEU.js} +10 -10
- package/dist/{transcribe-PJIFWND6.js → transcribe-IVZ4OASF.js} +28 -29
- package/dist/{tts-NANTORLP.js → tts-HOZ6X3MD.js} +1 -1
- package/dist/{update-RT6R53XR.js → update-LML5YVLT.js} +12 -12
- package/dist/{updateCheck-LSLLTUFX.js → updateCheck-FFHCGLRU.js} +3 -3
- package/dist/{upgrade-SSPKJYOW.js → upgrade-UWT2FB5Y.js} +4 -4
- package/dist/{urlDownloader-FTYUJP2D.js → urlDownloader-4RWM3UH2.js} +6 -6
- package/dist/{validate-SN2JDYNN.js → validate-ZNK2THUV.js} +29 -29
- package/dist/{video-Z522PCEM.js → video-QXVXG7PW.js} +8 -8
- package/dist/{voices-AQWUK6GK.js → voices-JI7QOSLT.js} +23 -24
- package/dist/warmCheck.js +45 -44
- package/package.json +1 -2
- package/dist/chunk-37RCPDCR.js +0 -173
- package/dist/chunk-4UBGQTAT.js +0 -387
- package/dist/chunk-DGXKMYIX.js +0 -343
- package/dist/chunk-JE2YBPC5.js +0 -152
- package/dist/chunk-OUOZGJJF.js +0 -538
- package/dist/chunk-Q5JJDC2L.js +0 -51
- package/dist/chunk-QABQKJPY.js +0 -3761
- package/dist/contract/LICENSE-Unicode.txt +0 -39
- package/dist/contract/path-policy.json +0 -311
- package/dist/contract/unicode-15.1.0.json +0 -6179
- package/dist/execute-AUPUAYPW.js +0 -109
- package/dist/oauth-KUPQUH6E.js +0 -40
- package/dist/plan-2MKSJEUW.js +0 -88
- package/dist/service-XCT7W4PQ.js +0 -68
- package/dist/share-KRKP6VYV.js +0 -241
- package/dist/{destroy-IWHFUGJL.js → destroy-YAMTVR2W.js} +4 -4
- package/dist/{synthesize-NJKCIPKW.js → synthesize-MDW4ZWTN.js} +5 -5
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
hyperframesCacheDir
|
|
28
28
|
} from "./chunk-JOQR4AP6.js";
|
|
29
29
|
|
|
30
|
-
// ../studio-server/dist/chunk-
|
|
30
|
+
// ../studio-server/dist/chunk-ECSY5UKP.js
|
|
31
31
|
import { randomUUID as randomUUID7 } from "crypto";
|
|
32
32
|
import { mkdir as mkdir2, readdir as readdir4, rm as rm3, rmdir, stat as stat2, writeFile as writeFile2 } from "fs/promises";
|
|
33
33
|
import {
|
|
@@ -691,6 +691,10 @@ async function stopServingAndClose(path) {
|
|
|
691
691
|
}
|
|
692
692
|
var BLOB_HASH = /^[0-9a-f]{64}$/;
|
|
693
693
|
var READ_ONCE_AT_MOST_BYTES = 64 * 1024;
|
|
694
|
+
var READS_BEFORE_LEAVING_IT = 3;
|
|
695
|
+
var SETTLE_MS = 100;
|
|
696
|
+
var isSettling = (file, now) => Math.abs(now - Math.max(file.mtimeMs, file.ctimeMs)) < SETTLE_MS;
|
|
697
|
+
var unchanged = (before, after) => before.size === after.size && before.mtimeMs === after.mtimeMs && before.ctimeMs === after.ctimeMs;
|
|
694
698
|
function blobPath(dir, hash) {
|
|
695
699
|
if (!BLOB_HASH.test(hash)) throw new Error("That is not a history blob.");
|
|
696
700
|
return join2(dir, hash.slice(0, 2), hash);
|
|
@@ -704,8 +708,10 @@ async function hashFile(path) {
|
|
|
704
708
|
async function readIfSmall(path) {
|
|
705
709
|
const handle = await open(path, "r");
|
|
706
710
|
try {
|
|
707
|
-
const
|
|
708
|
-
|
|
711
|
+
const before = await handle.stat();
|
|
712
|
+
if (before.size > READ_ONCE_AT_MOST_BYTES) return null;
|
|
713
|
+
const bytes = await handle.readFile();
|
|
714
|
+
return { bytes, mode: before.mode, moved: !unchanged(before, await handle.stat()) };
|
|
709
715
|
} finally {
|
|
710
716
|
await handle.close();
|
|
711
717
|
}
|
|
@@ -817,26 +823,38 @@ async function openBlobStore(dir) {
|
|
|
817
823
|
file(hash, bytes.length);
|
|
818
824
|
return hash;
|
|
819
825
|
};
|
|
826
|
+
const putIfUnchanged = async (absPath) => {
|
|
827
|
+
const small = await readIfSmall(absPath);
|
|
828
|
+
if (small) return small.moved ? null : putBytes(small.bytes, small.mode);
|
|
829
|
+
const temp = join2(dir, `incoming-${randomUUID3()}`);
|
|
830
|
+
await mkdir(dir, { recursive: true });
|
|
831
|
+
const before = await stat(absPath);
|
|
832
|
+
const moved = await cloneOrStream(absPath, temp).then(async () => !unchanged(before, await stat(absPath))).catch(async (error) => {
|
|
833
|
+
await rm(temp, { force: true });
|
|
834
|
+
throw error;
|
|
835
|
+
});
|
|
836
|
+
if (moved) {
|
|
837
|
+
await rm(temp, { force: true });
|
|
838
|
+
return null;
|
|
839
|
+
}
|
|
840
|
+
const hash = await hashFile(temp);
|
|
841
|
+
if (sizes.has(hash)) {
|
|
842
|
+
await rm(temp, { force: true });
|
|
843
|
+
return hash;
|
|
844
|
+
}
|
|
845
|
+
await mkdir(dirname(blobPath(dir, hash)), { recursive: true });
|
|
846
|
+
const size = (await stat(temp)).size;
|
|
847
|
+
await renameWithRetryAsync(temp, blobPath(dir, hash));
|
|
848
|
+
file(hash, size);
|
|
849
|
+
return hash;
|
|
850
|
+
};
|
|
820
851
|
return {
|
|
821
852
|
async put(absPath) {
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
await mkdir(dir, { recursive: true });
|
|
826
|
-
await cloneOrStream(absPath, temp).catch(async (error) => {
|
|
827
|
-
await rm(temp, { force: true });
|
|
828
|
-
throw error;
|
|
829
|
-
});
|
|
830
|
-
const hash = await hashFile(temp);
|
|
831
|
-
if (sizes.has(hash)) {
|
|
832
|
-
await rm(temp, { force: true });
|
|
833
|
-
return hash;
|
|
853
|
+
for (let read = 0; read < READS_BEFORE_LEAVING_IT; read += 1) {
|
|
854
|
+
const hash = await putIfUnchanged(absPath);
|
|
855
|
+
if (hash !== null) return hash;
|
|
834
856
|
}
|
|
835
|
-
|
|
836
|
-
const size = (await stat(temp)).size;
|
|
837
|
-
await renameWithRetryAsync(temp, blobPath(dir, hash));
|
|
838
|
-
file(hash, size);
|
|
839
|
-
return hash;
|
|
857
|
+
return null;
|
|
840
858
|
},
|
|
841
859
|
reference: (absPath) => hashFile(absPath),
|
|
842
860
|
has: (hash) => sizes.has(hash) || asideSizes.has(hash),
|
|
@@ -1592,11 +1610,11 @@ async function recordArtifacts(projectDir, capture, artifactsToRecord) {
|
|
|
1592
1610
|
hashes.set(artifact.id, createHash5("sha256").update(readFileSync8(path)).digest("hex"));
|
|
1593
1611
|
}
|
|
1594
1612
|
const after = await beginArtifactCapture(projectDir);
|
|
1595
|
-
const
|
|
1613
|
+
const unchanged2 = after.fingerprint === capture.fingerprint;
|
|
1596
1614
|
let cleanup = [];
|
|
1597
1615
|
await updateState(projectDir, (state) => {
|
|
1598
|
-
const revision =
|
|
1599
|
-
const attribution = attributionOf(
|
|
1616
|
+
const revision = unchanged2 ? knownRevision(state, capture.revision) : null;
|
|
1617
|
+
const attribution = attributionOf(unchanged2, revision);
|
|
1600
1618
|
for (const artifact of artifactsToRecord) {
|
|
1601
1619
|
const { kind, ...fields } = artifact;
|
|
1602
1620
|
const record = {
|
|
@@ -1623,8 +1641,8 @@ async function recordArtifacts(projectDir, capture, artifactsToRecord) {
|
|
|
1623
1641
|
function knownRevision(state, revision) {
|
|
1624
1642
|
return revision && state.revisions[revision] ? revision : null;
|
|
1625
1643
|
}
|
|
1626
|
-
function attributionOf(
|
|
1627
|
-
if (!
|
|
1644
|
+
function attributionOf(unchanged2, revision) {
|
|
1645
|
+
if (!unchanged2) return "inputs-changed";
|
|
1628
1646
|
return revision ? "recorded-revision" : "unversioned";
|
|
1629
1647
|
}
|
|
1630
1648
|
function supersedes(artifact, previous) {
|
|
@@ -1684,9 +1702,9 @@ async function recordRenderSuccess(projectDir, output, status = "completed", cap
|
|
|
1684
1702
|
output: resolve7(output),
|
|
1685
1703
|
status
|
|
1686
1704
|
};
|
|
1687
|
-
const
|
|
1705
|
+
const unchanged2 = Boolean(capture && after?.fingerprint === capture.fingerprint);
|
|
1688
1706
|
await updateState(projectDir, (state) => {
|
|
1689
|
-
record.revision =
|
|
1707
|
+
record.revision = unchanged2 ? knownRevision(state, capture?.revision) : null;
|
|
1690
1708
|
state.renders = {
|
|
1691
1709
|
latest: record,
|
|
1692
1710
|
retainedRevisions: retainRevision(state.renders?.retainedRevisions ?? [], record.revision)
|
|
@@ -1845,6 +1863,7 @@ var OUTSIDE = { kind: "outside", name: "Outside" };
|
|
|
1845
1863
|
var OUTSIDE_LABEL = "Changed outside the app";
|
|
1846
1864
|
var RACY_MS = 2e3;
|
|
1847
1865
|
var statKey = (file, sweptAt) => sweptAt - Math.max(file.mtimeMs, file.ctimeMs) < RACY_MS ? "" : `${file.size}:${file.mtimeMs}:${file.ctimeMs}`;
|
|
1866
|
+
var ADOPT_RETRY_AT_MOST_MS = 3e4;
|
|
1848
1867
|
var FIRST_COPY_SLOTS_IN_PROCESS = 4;
|
|
1849
1868
|
var firstCopiesRunning = 0;
|
|
1850
1869
|
var firstCopiesWaiting = [];
|
|
@@ -2115,9 +2134,12 @@ var Engine = class {
|
|
|
2115
2134
|
}
|
|
2116
2135
|
async takeInUnnamedLedger() {
|
|
2117
2136
|
const named = (path) => this.log.entries.some((entry) => entry.files.some((file) => file.path === path));
|
|
2118
|
-
const
|
|
2119
|
-
|
|
2120
|
-
|
|
2137
|
+
const ledger = historyFiles(this.dir).find((file) => file.path === MEDIA_LEDGER);
|
|
2138
|
+
if (ledger && !this.log.baseline.has(MEDIA_LEDGER) && !named(MEDIA_LEDGER)) {
|
|
2139
|
+
const copied = await this.storeIfPresent(MEDIA_LEDGER);
|
|
2140
|
+
if (typeof copied === "object") this.log.baseline.set(MEDIA_LEDGER, copied.hash);
|
|
2141
|
+
else if (copied === "changing") this.adoptMediaInBackground([ledger], this.now());
|
|
2142
|
+
}
|
|
2121
2143
|
this.log.keepsLedger = true;
|
|
2122
2144
|
this.persistLog();
|
|
2123
2145
|
}
|
|
@@ -2129,18 +2151,20 @@ var Engine = class {
|
|
|
2129
2151
|
copied.map((file) => inFirstCopySlot(() => this.storeIfPresent(file.path)))
|
|
2130
2152
|
);
|
|
2131
2153
|
if (this.whereFolder() !== "here") throw this.replaced();
|
|
2154
|
+
const owed = [];
|
|
2132
2155
|
copied.forEach((file, i) => {
|
|
2133
2156
|
const result = hashes[i];
|
|
2134
2157
|
if (result.status === "rejected") throw result.reason;
|
|
2135
|
-
if (result.value
|
|
2136
|
-
|
|
2158
|
+
if (result.value === "changing") owed.push(file);
|
|
2159
|
+
else if (result.value !== "gone")
|
|
2160
|
+
this.tracked.set(file.path, { hash: result.value.hash, stat: statKey(file, sweptAt) });
|
|
2137
2161
|
});
|
|
2138
2162
|
this.log.baseline = this.manifest();
|
|
2139
2163
|
this.log.keepsLedger = true;
|
|
2140
2164
|
this.persistLog();
|
|
2141
2165
|
this.saveStatCache();
|
|
2142
2166
|
this.adoptMediaInBackground(
|
|
2143
|
-
files.filter((file) => file.size > COPY_LATER_ABOVE_BYTES),
|
|
2167
|
+
[...owed, ...files.filter((file) => file.size > COPY_LATER_ABOVE_BYTES)],
|
|
2144
2168
|
sweptAt
|
|
2145
2169
|
);
|
|
2146
2170
|
}
|
|
@@ -2158,12 +2182,13 @@ var Engine = class {
|
|
|
2158
2182
|
mkdirSync5(this.home, { recursive: true });
|
|
2159
2183
|
replaceFileAtomically(file, JSON.stringify([...this.adopting.keys()]), 420);
|
|
2160
2184
|
}
|
|
2161
|
-
async adopt(file, sweptAt) {
|
|
2185
|
+
async adopt(file, sweptAt, tries = 0) {
|
|
2162
2186
|
try {
|
|
2163
2187
|
if (this.whereFolder() !== "here") return;
|
|
2164
|
-
const
|
|
2188
|
+
const copied = await this.storeIfPresent(file.path);
|
|
2165
2189
|
await this.queue(async () => {
|
|
2166
|
-
await this.recordAdopted(file, sweptAt,
|
|
2190
|
+
if (await this.recordAdopted(file, sweptAt, copied) === "changing")
|
|
2191
|
+
return this.adoptLater(file, sweptAt, tries + 1);
|
|
2167
2192
|
this.adopting.delete(file.path);
|
|
2168
2193
|
this.saveAdopting();
|
|
2169
2194
|
});
|
|
@@ -2171,11 +2196,21 @@ var Engine = class {
|
|
|
2171
2196
|
if (!(error instanceof HistoryClosedError)) this.options.onError?.(error);
|
|
2172
2197
|
}
|
|
2173
2198
|
}
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
const
|
|
2178
|
-
|
|
2199
|
+
/** A file still changing stays named until a whole copy of it lands; the next open retries it. */
|
|
2200
|
+
adoptLater(file, sweptAt, tries) {
|
|
2201
|
+
if (this.closing) return;
|
|
2202
|
+
const timer = setTimeout(
|
|
2203
|
+
() => void this.adopt(file, sweptAt, tries),
|
|
2204
|
+
Math.min(SETTLE_MS * 2 ** tries, ADOPT_RETRY_AT_MOST_MS)
|
|
2205
|
+
);
|
|
2206
|
+
timer.unref?.();
|
|
2207
|
+
}
|
|
2208
|
+
async recordAdopted(file, sweptAt, first) {
|
|
2209
|
+
if (typeof first === "string" || this.whereFolder() !== "here") return first;
|
|
2210
|
+
const kept = this.blobs.has(first.hash) || isUncopied(file.path, file.size);
|
|
2211
|
+
const copied = kept ? first : await this.storeIfPresent(file.path);
|
|
2212
|
+
if (typeof copied === "string") return copied;
|
|
2213
|
+
const { hash } = copied;
|
|
2179
2214
|
const change = { path: file.path, before: null, after: hash };
|
|
2180
2215
|
const found = this.overwrittenBy(change, void 0, /* @__PURE__ */ new Set());
|
|
2181
2216
|
const start = found && this.blobs.has(found) ? found : hash;
|
|
@@ -2184,6 +2219,7 @@ var Engine = class {
|
|
|
2184
2219
|
if (start !== hash) addChange(this.outsideGroup(), file.path, start, hash);
|
|
2185
2220
|
this.persistLog(baselineRecord(this.log));
|
|
2186
2221
|
this.saveStatCache();
|
|
2222
|
+
return copied;
|
|
2187
2223
|
}
|
|
2188
2224
|
manifest() {
|
|
2189
2225
|
return new Map([...this.tracked].map(([path, file]) => [path, file.hash]));
|
|
@@ -2214,7 +2250,7 @@ var Engine = class {
|
|
|
2214
2250
|
* Takes in every write since the last sweep and files each change to its writer. ponytail: always the whole
|
|
2215
2251
|
* project (a stat per file, a hash only when the stat moved); per-path sweeps if projects reach tens of thousands.
|
|
2216
2252
|
*/
|
|
2217
|
-
async sweep() {
|
|
2253
|
+
async sweep(asItStands = /* @__PURE__ */ new Set()) {
|
|
2218
2254
|
if (this.whereFolder() !== "here") return;
|
|
2219
2255
|
const sweptAt = this.now();
|
|
2220
2256
|
const changedAt = (file) => Math.min(sweptAt, Math.max(file.mtimeMs, file.ctimeMs));
|
|
@@ -2233,8 +2269,14 @@ var Engine = class {
|
|
|
2233
2269
|
...removed,
|
|
2234
2270
|
...seen.map((file) => ({ at: appearedAt(file), path: file.path, file }))
|
|
2235
2271
|
].sort((a, b) => a.at - b.at);
|
|
2272
|
+
const waitsForQuiet = (path, file, at) => file.size === 0 && asItStands !== "every" && !asItStands.has(path) && isSettling(file, sweptAt) && !this.windows.some((open2) => takesWrite(open2, at));
|
|
2236
2273
|
let changed = false;
|
|
2274
|
+
let waiting = false;
|
|
2237
2275
|
for (const { at, path, file } of events) {
|
|
2276
|
+
if (file && waitsForQuiet(path, file, at)) {
|
|
2277
|
+
waiting = true;
|
|
2278
|
+
continue;
|
|
2279
|
+
}
|
|
2238
2280
|
if (file) {
|
|
2239
2281
|
changed = await this.observe(path, statKey(file, sweptAt), at) || changed;
|
|
2240
2282
|
continue;
|
|
@@ -2246,15 +2288,18 @@ var Engine = class {
|
|
|
2246
2288
|
changed = true;
|
|
2247
2289
|
}
|
|
2248
2290
|
if (changed) this.saveStatCache();
|
|
2291
|
+
if (waiting) this.sweepIn(SETTLE_MS);
|
|
2249
2292
|
}
|
|
2250
|
-
/** The file's hash once copied in
|
|
2293
|
+
/** The file's hash once copied in, or why there is none: gone, or still changing through every read. */
|
|
2251
2294
|
async storeIfPresent(path) {
|
|
2252
2295
|
try {
|
|
2253
2296
|
const abs = join8(this.dir, path);
|
|
2254
2297
|
const { size } = await stat2(abs);
|
|
2255
|
-
|
|
2298
|
+
if (isUncopied(path, size)) return { hash: await this.blobs.reference(abs) };
|
|
2299
|
+
const hash = await this.blobs.put(abs);
|
|
2300
|
+
return hash === null ? "changing" : { hash };
|
|
2256
2301
|
} catch (error) {
|
|
2257
|
-
if (error.code === "ENOENT") return
|
|
2302
|
+
if (error.code === "ENOENT") return "gone";
|
|
2258
2303
|
throw error;
|
|
2259
2304
|
}
|
|
2260
2305
|
}
|
|
@@ -2262,8 +2307,9 @@ var Engine = class {
|
|
|
2262
2307
|
const known = this.tracked.get(path) ?? { hash: null, stat: null };
|
|
2263
2308
|
if (stat4 && known.stat === stat4) return false;
|
|
2264
2309
|
const heard = this.overwritten.get(path);
|
|
2265
|
-
const
|
|
2266
|
-
if (
|
|
2310
|
+
const copied = await this.storeIfPresent(path);
|
|
2311
|
+
if (typeof copied === "string" || this.whereFolder() !== "here") return false;
|
|
2312
|
+
const { hash } = copied;
|
|
2267
2313
|
this.tracked.set(path, { hash, stat: stat4 });
|
|
2268
2314
|
this.forgetWritesBefore(path, hash, heard);
|
|
2269
2315
|
if (known.hash !== hash) await this.record(path, known.hash, hash, at);
|
|
@@ -2279,7 +2325,7 @@ var Engine = class {
|
|
|
2279
2325
|
}
|
|
2280
2326
|
/** ponytail: another's write between Studio's write and its sweep folds into Studio's entry (per-write tokens). */
|
|
2281
2327
|
async claimNow(who, label, paths, { coalesceKey, idleMs, overwrote = {}, targets = [] }) {
|
|
2282
|
-
await this.sweep();
|
|
2328
|
+
await this.sweep(new Set(paths.map((path) => this.logPath(path))));
|
|
2283
2329
|
const taken = await this.takeClaimed(who, paths, overwrote);
|
|
2284
2330
|
if (!taken.length) return this.claimNothing(coalesceKey);
|
|
2285
2331
|
const held = this.heldFor(coalesceKey, taken);
|
|
@@ -2481,7 +2527,7 @@ var Engine = class {
|
|
|
2481
2527
|
}
|
|
2482
2528
|
/** Before an operation or a window: every write is filed and every pending change committed, in write order. */
|
|
2483
2529
|
async settle() {
|
|
2484
|
-
await this.sweep();
|
|
2530
|
+
await this.sweep("every");
|
|
2485
2531
|
await this.commitClaim();
|
|
2486
2532
|
await this.commitPending();
|
|
2487
2533
|
}
|
|
@@ -2490,10 +2536,14 @@ var Engine = class {
|
|
|
2490
2536
|
const absolute = resolve8(this.dir, path);
|
|
2491
2537
|
if (this.notedTimer || !affectsProjectSignature(this.dir, absolute)) return;
|
|
2492
2538
|
if (!isHistoryPath(relative5(this.dir, absolute).split(sep5).join("/"))) return;
|
|
2539
|
+
this.sweepIn(20);
|
|
2540
|
+
}
|
|
2541
|
+
sweepIn(ms) {
|
|
2542
|
+
if (this.notedTimer || this.closed) return;
|
|
2493
2543
|
this.notedTimer = setTimeout(() => {
|
|
2494
2544
|
this.notedTimer = null;
|
|
2495
2545
|
this.background(() => this.sweep());
|
|
2496
|
-
},
|
|
2546
|
+
}, ms);
|
|
2497
2547
|
this.notedTimer.unref?.();
|
|
2498
2548
|
}
|
|
2499
2549
|
background(task) {
|
|
@@ -4,29 +4,10 @@ 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
|
-
withOwner
|
|
9
|
-
} from "./chunk-GTZVTATR.js";
|
|
10
|
-
import {
|
|
11
|
-
HistoryBusyError,
|
|
12
|
-
beginArtifactCapture
|
|
13
|
-
} from "./chunk-BF6RWOUF.js";
|
|
14
7
|
import {
|
|
15
8
|
createFileAtomically
|
|
16
9
|
} from "./chunk-IEXRKKHC.js";
|
|
17
10
|
|
|
18
|
-
// src/utils/artifactCapture.ts
|
|
19
|
-
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
20
|
-
function unlessAnotherProcessKeepsTheHistory(error) {
|
|
21
|
-
if (!(error instanceof HistoryBusyError)) throw error;
|
|
22
|
-
}
|
|
23
|
-
async function captureArtifactRevision(projectDir) {
|
|
24
|
-
await withOwner(projectDir, (owner) => owner.checkpoint(), SKIP_BUSY_HISTORY).catch(
|
|
25
|
-
unlessAnotherProcessKeepsTheHistory
|
|
26
|
-
);
|
|
27
|
-
return beginArtifactCapture(projectDir);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
11
|
// src/utils/toolContext.ts
|
|
31
12
|
import { appendFileSync } from "fs";
|
|
32
13
|
import { extname, isAbsolute, resolve } from "path";
|
|
@@ -203,7 +184,6 @@ function release(path, holder) {
|
|
|
203
184
|
}
|
|
204
185
|
|
|
205
186
|
export {
|
|
206
|
-
captureArtifactRevision,
|
|
207
187
|
readToolContext,
|
|
208
188
|
reportArtifacts,
|
|
209
189
|
readHolder,
|
|
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
12
|
-
} from "./chunk-YGGZ23BB.js";
|
|
13
|
-
import {
|
|
14
|
-
resolveCompositionViewportFromHtml
|
|
15
|
-
} from "./chunk-MEVLYDL2.js";
|
|
9
|
+
} from "./chunk-OSDNRYQJ.js";
|
|
16
10
|
import {
|
|
17
11
|
windowsChromeCrashRemediation
|
|
18
12
|
} from "./chunk-262C25DQ.js";
|
|
19
13
|
import {
|
|
20
14
|
pageNavigationTimeoutMs
|
|
21
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-42MHKDVP.js";
|
|
16
|
+
import {
|
|
17
|
+
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
|
+
} from "./chunk-YGGZ23BB.js";
|
|
19
|
+
import {
|
|
20
|
+
resolveCompositionViewportFromHtml
|
|
21
|
+
} from "./chunk-BJYCLZBQ.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-AOPNJEQC.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-LDTJCZZ2.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-VU4EPKFI.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-7GJKUOPX.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-NIMSUB4P.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-LM3YLJ6K.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-NIMSUB4P.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -225,7 +225,7 @@ async function launchCompositionBrowser(html, noListen, options) {
|
|
|
225
225
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-IAXYSRG5.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-NIMSUB4P.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OY4YSQBK.js";
|
|
12
12
|
import {
|
|
13
13
|
MOTION_BLUR_FINGERPRINT_FIELDS,
|
|
14
14
|
redactTelemetryString
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RYT22J4V.js";
|
|
16
16
|
import {
|
|
17
17
|
getPowerState
|
|
18
18
|
} from "./chunk-FOZBANEN.js";
|
|
@@ -45,8 +45,8 @@ function renderMotionBlurTelemetryPayload(motionBlur) {
|
|
|
45
45
|
var snake = (field) => field.replace(/[A-Z]/g, (c) => `_${c.toLowerCase()}`);
|
|
46
46
|
function renderMotionBlurEventProperties(props) {
|
|
47
47
|
const counts = MOTION_BLUR_FINGERPRINT_FIELDS.flatMap((field) => {
|
|
48
|
-
const
|
|
49
|
-
return
|
|
48
|
+
const count2 = props.motionBlurFingerprint?.[field];
|
|
49
|
+
return count2 ? [[`motion_blur_fp_${snake(field)}`, count2]] : [];
|
|
50
50
|
});
|
|
51
51
|
return {
|
|
52
52
|
motion_blur_tier: props.motionBlurTier,
|
|
@@ -55,6 +55,23 @@ function renderMotionBlurEventProperties(props) {
|
|
|
55
55
|
...Object.fromEntries(counts)
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
+
var count = (value) => typeof value === "number" && Number.isInteger(value) && value >= 0 ? value : 0;
|
|
59
|
+
function renderMotionBlurResult(motionBlur) {
|
|
60
|
+
const { tier, fingerprint } = motionBlur;
|
|
61
|
+
return {
|
|
62
|
+
...tier === "capture" || tier === "filter" ? { tier } : {},
|
|
63
|
+
movers: count(motionBlur.movers),
|
|
64
|
+
failed_frames: count(motionBlur.failedFrames),
|
|
65
|
+
...fingerprint ? {
|
|
66
|
+
fingerprint: Object.fromEntries(
|
|
67
|
+
MOTION_BLUR_FINGERPRINT_FIELDS.map((field) => [
|
|
68
|
+
snake(field),
|
|
69
|
+
count(fingerprint[field])
|
|
70
|
+
])
|
|
71
|
+
)
|
|
72
|
+
} : {}
|
|
73
|
+
};
|
|
74
|
+
}
|
|
58
75
|
|
|
59
76
|
// src/telemetry/events.ts
|
|
60
77
|
function powerStateFields() {
|
|
@@ -682,6 +699,7 @@ export {
|
|
|
682
699
|
FEEDBACK_RATING_SCALE,
|
|
683
700
|
parseFeedbackRating,
|
|
684
701
|
renderMotionBlurTelemetryPayload,
|
|
702
|
+
renderMotionBlurResult,
|
|
685
703
|
trackCommand,
|
|
686
704
|
trackRenderComplete,
|
|
687
705
|
trackRenderError,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
parseNumbers,
|
|
11
11
|
parseRoi,
|
|
12
12
|
probeVideo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2YZ6GA4E.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-VU4EPKFI.js";
|
|
17
17
|
import {
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BX2BIU6Z.js";
|
|
20
20
|
import {
|
|
21
21
|
failCommand
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
normalizeRelPath,
|
|
9
9
|
resolveLocalImageSourcePath,
|
|
10
10
|
splitUrlSuffix
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-J7PDBGQM.js";
|
|
12
12
|
import {
|
|
13
13
|
runFfmpeg,
|
|
14
14
|
runFfprobe
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7GJKUOPX.js";
|
|
16
16
|
import {
|
|
17
17
|
renameWithRetry
|
|
18
18
|
} from "./chunk-IEXRKKHC.js";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XKSHWUIF.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S3S3IHCR.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
30
|
} from "./chunk-RZ6CXJ56.js";
|