hyperframes 0.9.56 → 0.9.59
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/bin/hyperframes.mjs +3 -1
- package/dist/{add-KW7OTOWF.js → add-C7J7HSLI.js} +35 -31
- package/dist/{agentPromptGenerator-NNXUWNU4.js → agentPromptGenerator-GCLJUGVE.js} +18 -16
- package/dist/{animatedGifPrep-6ATQHQON.js → animatedGifPrep-JPQZPZC4.js} +20 -17
- package/dist/api.js +69 -67
- package/dist/{appHistory-KHX53SGI.js → appHistory-TQ6JAEP5.js} +7 -5
- package/dist/{asset-QVINGJRK.js → asset-HQEPGBDJ.js} +6 -5
- package/dist/{assetCataloger-DENJPUBH.js → assetCataloger-LMPPKPF6.js} +20 -18
- package/dist/{audio-LB7HQYPJ.js → audio-FD2EBZ6D.js} +45 -43
- package/dist/{auth-7AGRVI5A.js → auth-JA7XH6NG.js} +4 -4
- package/dist/{autoUpdate-ITCP2JDM.js → autoUpdate-WKW2OMIY.js} +6 -6
- package/dist/{avatars-2K2C74EQ.js → avatars-Q7U6CO4X.js} +30 -28
- package/dist/{backgroundChecks-UOTBCWPN.js → backgroundChecks-H2SOS2CM.js} +16 -9
- package/dist/backgroundChecksWorker.js +9 -9
- package/dist/{batchRender-Z7ESYQDS.js → batchRender-75OLVMZY.js} +18 -14
- package/dist/{beats-TG6ZB3XH.js → beats-R4EHWWJN.js} +21 -19
- package/dist/{benchmark-RU5MLZHE.js → benchmark-F5OHG3Q3.js} +34 -31
- package/dist/{billing-VB5PYYSN.js → billing-LBRSBVXQ.js} +49 -33
- package/dist/{browser-VSQRY5GG.js → browser-CNTCFZOG.js} +23 -21
- package/dist/{bundleWithLocalizedFonts-XDPJE355.js → bundleWithLocalizedFonts-RVF7AFP5.js} +1 -1
- package/dist/{capture-TQCFWPAT.js → capture-CTRZEZTC.js} +38 -15
- package/dist/{capture-M4FL7MWI.js → capture-DLYM3V5F.js} +51 -46
- package/dist/{captureCompositionFrame-XF67Q6YK.js → captureCompositionFrame-2O2HP6SK.js} +28 -26
- package/dist/{captureFile-F254H22J.js → captureFile-W7ZDDBCD.js} +5 -3
- package/dist/captureProxy-4K3J652A.js +23 -0
- package/dist/{catalog-24EGH662.js → catalog-6XL63LU3.js} +46 -40
- package/dist/{catch-up-L23HGDLB.js → catch-up-AOFQWE6O.js} +36 -27
- package/dist/{check-F4HQVV2M.js → check-5V7K4RL6.js} +71 -69
- package/dist/{checkAudio-6DT3ONR7.js → checkAudio-4YUTDQSQ.js} +29 -25
- package/dist/{checkBrowser-S7P4X7QV.js → checkBrowser-BAWRZZZU.js} +62 -60
- package/dist/{chunk-OXT2LXZB.js → chunk-2ARKMOCD.js} +8 -8
- package/dist/{chunk-VC4YMXUQ.js → chunk-2LJPBYKI.js} +1 -1
- package/dist/{chunk-YOMFN6HH.js → chunk-3DFEBAWJ.js} +3 -3
- package/dist/{chunk-4RPIEGL3.js → chunk-3JVTHNDH.js} +1 -1
- package/dist/{chunk-WUY74LHU.js → chunk-3QMGLSKC.js} +3 -3
- package/dist/{chunk-QJDMX53S.js → chunk-3RTZ2UX7.js} +1 -1
- package/dist/{chunk-BA33QNKK.js → chunk-4NDSGKPO.js} +54 -22
- package/dist/{chunk-VVXSMYXQ.js → chunk-4QSDXDLV.js} +3 -3
- package/dist/{chunk-WGWKT7ME.js → chunk-4STRMCGD.js} +12 -4
- package/dist/{chunk-IDGWNOBX.js → chunk-4VJQVTQI.js} +1 -1
- package/dist/{chunk-LK7F7P2X.js → chunk-5T6HPV25.js} +2 -2
- package/dist/{chunk-NCJSN6SV.js → chunk-65X2G57W.js} +24 -14
- package/dist/{chunk-RFULFCYW.js → chunk-6ATP7YPZ.js} +4 -4
- package/dist/{chunk-CPSD7337.js → chunk-6K6RIX2A.js} +9 -9
- package/dist/{chunk-PHAZT6EB.js → chunk-6LGB4MVX.js} +2 -2
- package/dist/{chunk-B6BWLFAF.js → chunk-6R4MEYWD.js} +3 -3
- package/dist/{chunk-UIMXEY4U.js → chunk-6UAYOSE7.js} +36 -21
- package/dist/{chunk-ZLTB7ZCQ.js → chunk-6VY52EVW.js} +1 -1
- package/dist/{chunk-GTC2STHN.js → chunk-6VY6WTY5.js} +22 -13
- package/dist/{chunk-QTZICZWT.js → chunk-763UG5II.js} +26 -23
- package/dist/{chunk-XEVAW42J.js → chunk-7CI5MLCC.js} +18 -18
- package/dist/{chunk-BZULWFMJ.js → chunk-7FIJRDUG.js} +45 -10
- package/dist/{chunk-R2LP7QPB.js → chunk-7Q4EGB3N.js} +1 -1
- package/dist/{chunk-ICDGP335.js → chunk-7XOORL2Q.js} +14 -14
- package/dist/{chunk-CKIYT34K.js → chunk-7YRZBB4C.js} +1 -1
- package/dist/{chunk-CNAOJ7XI.js → chunk-A7NRMVUG.js} +1 -1
- package/dist/{chunk-CDNVZEGQ.js → chunk-AEXDJU77.js} +5 -2
- package/dist/{chunk-TVZTTWU7.js → chunk-AQIHV4PM.js} +4 -4
- package/dist/{chunk-Q2TT62RQ.js → chunk-B653JKWT.js} +4 -4
- package/dist/{chunk-QNIID7EN.js → chunk-BMTT2T7M.js} +17 -7
- package/dist/{chunk-RCGNYXWK.js → chunk-BTXYXM2A.js} +64 -34
- package/dist/{chunk-664QGMR4.js → chunk-C3NDLM4S.js} +6 -6
- package/dist/{chunk-DUZ6Z2ZN.js → chunk-CAMD2NBN.js} +31 -23
- package/dist/{chunk-6LONEKJR.js → chunk-CC72LTIT.js} +2650 -2430
- package/dist/{chunk-L27Z3PZT.js → chunk-CIXP5G7Z.js} +1 -1
- package/dist/{chunk-AN6KWGYI.js → chunk-D44MBZI6.js} +2 -2
- package/dist/{chunk-VCSQLM36.js → chunk-DCRHNRUY.js} +9 -9
- package/dist/{chunk-BTJYK56C.js → chunk-DSCMYTKJ.js} +5 -5
- package/dist/{chunk-6RPKPL22.js → chunk-EGZQX3UX.js} +1 -1
- package/dist/{chunk-4DJGUZJR.js → chunk-ELDZ6C3R.js} +3 -3
- package/dist/{chunk-PCKKKICA.js → chunk-EUVU5JS4.js} +4 -4
- package/dist/{chunk-CWIOKI2R.js → chunk-FC77MYAD.js} +1 -1
- package/dist/{chunk-XKNNZ4WR.js → chunk-FFL5R2EZ.js} +7 -4
- package/dist/{chunk-BW4H55SU.js → chunk-FGJUVWAM.js} +1 -1
- package/dist/{chunk-BR7GOCQJ.js → chunk-FQ26QE5N.js} +1 -1
- package/dist/{chunk-BMVUB2CY.js → chunk-GMIFMRWR.js} +9 -9
- package/dist/{chunk-2GRCTZNS.js → chunk-GYJ7AJXN.js} +2 -2
- package/dist/{chunk-PPLFDG7N.js → chunk-H3TD4VKX.js} +3 -3
- package/dist/{chunk-YQSVPHOS.js → chunk-HLOJSBGC.js} +34 -17
- package/dist/chunk-HOIEN7O4.js +31 -0
- package/dist/{chunk-MYETYFDI.js → chunk-HTISHNLA.js} +2 -2
- package/dist/{chunk-DDCXMXAD.js → chunk-HXFGAI6L.js} +49 -249
- package/dist/{chunk-CUO2HF4M.js → chunk-HY7FPTBD.js} +2 -2
- package/dist/{chunk-I6V25IXG.js → chunk-HYXQR5I3.js} +2 -2
- package/dist/{chunk-PVF32NRA.js → chunk-I5H2FPNP.js} +2 -2
- package/dist/{chunk-L5NPBGQB.js → chunk-I6OSAVHD.js} +33 -29
- package/dist/{chunk-43CQTZGB.js → chunk-ISSG4PUD.js} +27 -14
- package/dist/{chunk-7QFFS657.js → chunk-J3H6QDDY.js} +1 -1
- package/dist/{chunk-UHVKV5IF.js → chunk-J4OHC5FU.js} +1 -1
- package/dist/{chunk-TY7EHE4Q.js → chunk-JLMMY3UI.js} +2 -2
- package/dist/{chunk-XLP34AJR.js → chunk-JQ7BPN2R.js} +20 -8
- package/dist/{chunk-JDXALWOM.js → chunk-JT7RXK2N.js} +59 -7
- package/dist/{chunk-7F4RAWDS.js → chunk-JUUOYXWH.js} +4 -4
- package/dist/{chunk-PUTPYYE4.js → chunk-K2WLOTTF.js} +5 -2
- package/dist/{chunk-D3WRRPHI.js → chunk-K33E3YNK.js} +11 -11
- package/dist/{chunk-OIO7YMBP.js → chunk-KGPHUBBA.js} +1 -1
- package/dist/chunk-KK5Z5XQ3.js +109 -0
- package/dist/{chunk-WHX2OV4C.js → chunk-KQHDFVFF.js} +3 -3
- package/dist/chunk-KUJJJBV2.js +211 -0
- package/dist/{chunk-CHCMXYER.js → chunk-KVIXXJLO.js} +1 -1
- package/dist/{chunk-YDNBMPP3.js → chunk-KYXH4JWF.js} +8 -8
- package/dist/{chunk-XD5T43S7.js → chunk-L456Q4KU.js} +1 -1
- package/dist/{chunk-EBRN4YJH.js → chunk-L4MXZHRB.js} +3 -3
- package/dist/{chunk-YTHXSYYB.js → chunk-LB6ZAP4I.js} +19 -11
- package/dist/{chunk-ADVVQX4I.js → chunk-LMNCEQCC.js} +4 -2
- package/dist/{chunk-IO7PRQQC.js → chunk-LSGJY2FG.js} +1 -1
- package/dist/{chunk-CLRHKYOK.js → chunk-LTOUXR3X.js} +8 -8
- package/dist/{chunk-5ZDNSYTO.js → chunk-LZWG4GCC.js} +3 -3
- package/dist/{chunk-UVPLW55S.js → chunk-MHF5F4FF.js} +69 -68
- package/dist/{chunk-52XHPMCX.js → chunk-MTKXKULM.js} +2 -2
- package/dist/{chunk-ON3CGL3V.js → chunk-MVA4OQL7.js} +2 -2
- package/dist/{chunk-6XRXUMFG.js → chunk-N6QWL3E7.js} +5 -2
- package/dist/{chunk-MCDNAIFF.js → chunk-NGRWDXRZ.js} +1 -1
- package/dist/chunk-NI7JVGOE.js +5083 -0
- package/dist/{chunk-IT2QBRVS.js → chunk-NLN5NY3P.js} +1 -1
- package/dist/{chunk-MDRLJ737.js → chunk-O733DEVT.js} +2 -2
- package/dist/{chunk-ANYW22IT.js → chunk-ODLSLYJR.js} +10 -4
- package/dist/{chunk-BZXW5QU7.js → chunk-OF7SQ77J.js} +1 -1
- package/dist/{chunk-D2LIT7UR.js → chunk-OH3MUFZG.js} +1 -1
- package/dist/{chunk-EGR2ZFFP.js → chunk-OPIS2YMA.js} +13 -11
- package/dist/{chunk-IHXMN5YH.js → chunk-ORKZUTZW.js} +2 -2
- package/dist/{chunk-HVG656G6.js → chunk-OV5OSN74.js} +6 -4
- package/dist/{chunk-MVLAPENI.js → chunk-OYKAS3J5.js} +3 -3
- package/dist/{chunk-XCJ2YYMV.js → chunk-P5M3IEXO.js} +1 -1
- package/dist/{chunk-CNXZCMJZ.js → chunk-PCHUX7Y5.js} +2 -2
- package/dist/{chunk-7QFLMCTD.js → chunk-PDT6CBK2.js} +37 -6
- package/dist/{chunk-AGTBMLNM.js → chunk-PHYFZXOS.js} +2 -2
- package/dist/{chunk-OSKSTJNQ.js → chunk-PJQVJSMG.js} +21 -12
- package/dist/{chunk-CZCZ5YXT.js → chunk-PLOCYJ5U.js} +1 -1
- package/dist/{chunk-NFST2HIM.js → chunk-PMKWTXHE.js} +2 -2
- package/dist/{chunk-APCVZGU6.js → chunk-POFQOZOF.js} +267 -81
- package/dist/{chunk-72GTIFAI.js → chunk-POVOGRMU.js} +2 -2
- package/dist/{chunk-ZIF44RW2.js → chunk-PSREPOJ4.js} +11 -8
- package/dist/{chunk-7DKWEIH4.js → chunk-PYRM3OAI.js} +31 -25
- package/dist/{chunk-X6JUUQCM.js → chunk-Q4FVSYTD.js} +5 -2
- package/dist/{chunk-T5HYPGST.js → chunk-QC35TPEE.js} +37 -13
- package/dist/{chunk-JQKCRTVQ.js → chunk-QHVE6AFU.js} +2 -2
- package/dist/{chunk-W4AR7UZH.js → chunk-QJ2BV7FM.js} +2 -2
- package/dist/{chunk-MP52CUHL.js → chunk-QKHW5NXL.js} +12 -6
- package/dist/{chunk-KRYXZVA2.js → chunk-QVHDAS3L.js} +5 -5
- package/dist/{chunk-5GSCSZOS.js → chunk-R3ONQOLE.js} +177 -55
- package/dist/{chunk-JPEIUGS5.js → chunk-RAOGN2HG.js} +2 -2
- package/dist/{chunk-LRWWCTSJ.js → chunk-RDWGNSVI.js} +2 -2
- package/dist/{chunk-LH5FRVAO.js → chunk-RHFB457E.js} +3 -3
- package/dist/{chunk-PGJYA6I3.js → chunk-RKIF4EU7.js} +77 -23
- package/dist/{chunk-B2WXMYMA.js → chunk-RPICLHBJ.js} +1 -1
- package/dist/{chunk-GWSMTN55.js → chunk-RX67N2PU.js} +55 -1
- package/dist/{chunk-7E7VKASF.js → chunk-SC7SX2I3.js} +20 -10
- package/dist/{chunk-RRT6URIP.js → chunk-SGQKP2JT.js} +4 -4
- package/dist/{chunk-CXFW7YPT.js → chunk-SO7FT7YA.js} +99 -77
- package/dist/chunk-SXCM6VY3.js +125 -0
- package/dist/{chunk-LKWWY6WN.js → chunk-T5QI7ZL2.js} +1 -1
- package/dist/{chunk-BAWGEGKD.js → chunk-TFAKFI3R.js} +4 -4
- package/dist/{chunk-3GVHDPEP.js → chunk-THGJTFYB.js} +42 -31
- package/dist/{chunk-EKSS3KI7.js → chunk-TIBFCGLT.js} +1 -1
- package/dist/{chunk-IHX3AFTY.js → chunk-TIZC4XKU.js} +8 -5
- package/dist/{chunk-WFB4XPJR.js → chunk-TJGGLLQJ.js} +13 -13
- package/dist/{chunk-MPOWSPBD.js → chunk-TNFTRLLJ.js} +4 -4
- package/dist/{chunk-YWH7HWDP.js → chunk-TVWDS5AT.js} +345 -331
- package/dist/{chunk-66W5IWLO.js → chunk-U7M4SZUB.js} +13 -2
- package/dist/{chunk-2ZOJCSLJ.js → chunk-UBNJWS2H.js} +74 -19
- package/dist/{chunk-PGHROSLJ.js → chunk-UNB2DFR2.js} +4 -4
- package/dist/{chunk-4GPKDDQZ.js → chunk-URHIQHDR.js} +15 -15
- package/dist/chunk-UVZIABYZ.js +40 -0
- package/dist/{chunk-OZDELWQP.js → chunk-VFGFXE6J.js} +1 -1
- package/dist/{chunk-QBADK3LD.js → chunk-VPPKUCSP.js} +3 -3
- package/dist/{chunk-EUP7ODOV.js → chunk-VXRTE7MZ.js} +1 -1
- package/dist/{chunk-YFWFCKKF.js → chunk-WDMSNDHS.js} +7646 -7450
- package/dist/{chunk-HOCV5AW6.js → chunk-WI3FM54X.js} +8 -4
- package/dist/{chunk-SEC76O65.js → chunk-WKE3WTIU.js} +1 -1
- package/dist/{chunk-SGWDJLFL.js → chunk-WQGDE3L6.js} +1 -1
- package/dist/{chunk-BPYNILOZ.js → chunk-WRSGWDDB.js} +11 -9
- package/dist/{chunk-DY7PQLIE.js → chunk-WTJZ5QFR.js} +42 -5
- package/dist/{chunk-FGGRBKWL.js → chunk-WTZT6FSK.js} +1 -1
- package/dist/{chunk-BUG5AOPJ.js → chunk-XWV6BOCG.js} +3 -3
- package/dist/{chunk-HCQXGGVY.js → chunk-XXJBWKDS.js} +241 -25
- package/dist/{chunk-4WSJ5MUN.js → chunk-XXOEYRD5.js} +5 -5
- package/dist/{chunk-IRZUZ32B.js → chunk-XZ6THYIK.js} +11 -5
- package/dist/{chunk-CBG6MIT2.js → chunk-YBYNBKCN.js} +2 -2
- package/dist/{chunk-7HQC5MDZ.js → chunk-YMKCJRVK.js} +1 -1
- package/dist/{chunk-CKIVYAKG.js → chunk-Z2U7ELGP.js} +3 -3
- package/dist/{chunk-L5CBCPUH.js → chunk-ZIYYSD6S.js} +44 -21
- package/dist/{chunk-Z72VXQPN.js → chunk-ZMLZRMG7.js} +2 -2
- package/dist/{chunk-LRQEIKFT.js → chunk-ZQIMO52O.js} +9 -9
- package/dist/{clean-VB6BH3FV.js → clean-Z5REUSNY.js} +43 -40
- package/dist/cli.js +123 -79
- package/dist/{cloud-7KRPD2K4.js → cloud-NJ7G3NF3.js} +4 -4
- package/dist/{cloud-A67BW6OH.js → cloud-QP5R6B6A.js} +11 -9
- package/dist/{cloudrun-VKBARVVT.js → cloudrun-CPAZLNTW.js} +16 -14
- package/dist/{compare-SE55PMC3.js → compare-T5CHD25P.js} +63 -60
- package/dist/{compiler-WK7ABGRW.js → compiler-QVDXN4OS.js} +9 -7
- package/dist/{component-XT2AT3RY.js → component-QMZ46KTE.js} +24 -7
- package/dist/{compositions-ZZWLQNDQ.js → compositions-JHYYNBAK.js} +29 -28
- package/dist/{contactSheet-MXOASCDR.js → contactSheet-7SPGUTDV.js} +8 -6
- package/dist/contract/path-policy.json +12 -2
- package/dist/{curve-4RQQKZ2K.js → curve-ON6QQY7T.js} +26 -24
- package/dist/{cuts-M3QU2CBE.js → cuts-K4FOVP4E.js} +27 -25
- package/dist/{delete-5ZZNPK5G.js → delete-6WFQ3FC2.js} +22 -20
- package/dist/{deploy-VR5SQP4U.js → deploy-UAZQ5PBA.js} +18 -15
- package/dist/{describeProject-NU5BVVIA.js → describeProject-7W6BN5A2.js} +18 -16
- package/dist/{destroy-FFS62PAW.js → destroy-4B4OVPHJ.js} +17 -14
- package/dist/{deterministicFonts-FQQNGORI.js → deterministicFonts-VLIVGXUQ.js} +8 -6
- package/dist/{diff-NQGTF6GR.js → diff-ZSA37QQS.js} +295 -106
- package/dist/{dist-B7IBHWIW.js → dist-2O52E7QZ.js} +21 -18
- package/dist/{dist-APXZ5EN2.js → dist-ACT5C6ME.js} +5 -4
- package/dist/{dist-6GYOC3BU.js → dist-VRYZIJFZ.js} +14 -5
- package/dist/{docs-YTM4NX2R.js → docs-3OAPSKPG.js} +1 -1
- package/dist/{doctor-FATJGTPD.js → doctor-RXQ2Y2YY.js} +30 -28
- package/dist/{energy-PHDK6SKL.js → energy-DRA3DCRO.js} +27 -25
- package/dist/{events-OIWXSBZA.js → events-4SNBQE3M.js} +29 -27
- package/dist/{events-25VQ2O66.js → events-AJNF2C3H.js} +16 -14
- package/dist/{events-RXVHG2NT.js → events-GA3YM3WT.js} +9 -9
- package/dist/{execute-MKP4Z573.js → execute-6LTZRWE4.js} +53 -51
- package/dist/{extract-YYNYXPOC.js → extract-XZQN654B.js} +30 -28
- package/dist/{face-JSTMFQRM.js → face-RKUNVSN3.js} +28 -26
- package/dist/{feedback-PY6LMZCX.js → feedback-AL7NPPMZ.js} +33 -30
- package/dist/{ffmpeg-KLIB55FK.js → ffmpeg-BEL7EZBA.js} +18 -16
- package/dist/{figma-ACFOXVPM.js → figma-IZ3NH2KZ.js} +3 -3
- package/dist/fontLocalizeCli.js +26 -23
- package/dist/{frames-BLZCBXO7.js → frames-AYE53CSZ.js} +29 -27
- package/dist/{generate-DMVEKZEV.js → generate-BZ4EVVQI.js} +47 -45
- package/dist/{get-3WZDQ5YM.js → get-2GG4NSOK.js} +18 -16
- package/dist/{gpuPolicy-TT6UCOLQ.js → gpuPolicy-W2ZGBXNG.js} +17 -15
- package/dist/{grade-compare-F5DJ53XH.js → grade-compare-65NWHVXK.js} +65 -62
- package/dist/{gsapParserAcorn-SKGP4R4N.js → gsapParserAcorn-RODCGO2L.js} +1 -1
- package/dist/hangReport.js +2 -2
- package/dist/{heifImagePrep-UV23RWOG.js → heifImagePrep-MRQ4KKDF.js} +21 -18
- package/dist/{help-QMP5KFYW.js → help-TEQWNNPI.js} +2 -2
- package/dist/{history-UOZ4RDEZ.js → history-MVNPETRW.js} +32 -29
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +67 -67
- package/dist/hyperframes-player.global.js +14 -6
- package/dist/{index-gen-OPMQ5WSN.js → index-gen-3DWPA4FO.js} +14 -12
- package/dist/{info-A6KSO64E.js → info-NGNTHWYX.js} +34 -33
- package/dist/{init-OQU46K3Q.js → init-H7SUGVZX.js} +58 -54
- package/dist/{ink-HGRKLGII.js → ink-CPZ4YZFM.js} +27 -25
- package/dist/{inspect-BKENKUXF.js → inspect-GZBQ7XN7.js} +63 -57
- package/dist/{installer-Z6FTR7BJ.js → installer-ZTHYVK4L.js} +12 -10
- package/dist/{keyframes-UDQGWKPW.js → keyframes-B52LQUOI.js} +96 -48
- package/dist/{lambda-SHXQFHLE.js → lambda-SZDQJMKA.js} +31 -29
- package/dist/{layout-CJAVQ4D3.js → layout-BOUOG2D2.js} +63 -59
- package/dist/{lint-RAPNYPWS.js → lint-H4OWI5JN.js} +26 -25
- package/dist/{lintProject-JZRM7UKH.js → lintProject-P4EAXFU2.js} +5 -4
- package/dist/{list-4BKFMJQN.js → list-VNEYACGL.js} +21 -19
- package/dist/{localPage-BJW2TP77.js → localPage-ZP7WVA2N.js} +18 -16
- package/dist/{login-S5VZAGCI.js → login-RUDOUO5Z.js} +10 -10
- package/dist/{logout-CCATTNTL.js → logout-5ZO6ZNS3.js} +5 -5
- package/dist/{look-V2I6BGUY.js → look-G3NVPKXZ.js} +27 -25
- package/dist/{manager-WQWU5VJ4.js → manager-KWNID2ZA.js} +6 -6
- package/dist/{manager-OS2FYJI5.js → manager-NXH2NJC6.js} +19 -17
- package/dist/{manifest-QSJYVERU.js → manifest-TSKRUXZ5.js} +5 -1
- package/dist/{measure-RO5R2SUZ.js → measure-5PVIZ2W2.js} +11 -11
- package/dist/{media-treatment-CS7BVMJW.js → media-treatment-T5QJI4PQ.js} +37 -31
- package/dist/{media-use-W3DGCKFB.js → media-use-RTN3SMVY.js} +9 -9
- package/dist/{models-ZOGYW2SC.js → models-J2CJ7EVX.js} +30 -28
- package/dist/{motionShot-IMRI7W7T.js → motionShot-HU7P26WJ.js} +45 -35
- package/dist/{normalize-PGMS24I2.js → normalize-44E7R6T5.js} +5 -1
- package/dist/{normalize-audio-HXTFAZUK.js → normalize-audio-2YFTP2T6.js} +25 -22
- package/dist/{oauth-SAVP2YM4.js → oauth-E5QBYYTX.js} +3 -3
- package/dist/{open-LJDQ37KV.js → open-RSCNUV6E.js} +36 -33
- package/dist/{parakeetRunner-CKMSKDH6.js → parakeetRunner-BUY25EIR.js} +29 -27
- package/dist/{pipeline-ZNCYOTUH.js → pipeline-A4RL5R5P.js} +23 -21
- package/dist/{plan-NCFS5T6W.js → plan-7WYNPILA.js} +40 -38
- package/dist/{play-5UZDFFXJ.js → play-UKHFNMYZ.js} +52 -48
- package/dist/{policies-5RUNO47I.js → policies-XG6OTGQC.js} +2 -2
- package/dist/{preflight-H5XYFKFF.js → preflight-2VFCT3PI.js} +21 -19
- package/dist/{present-EFXUFT5Y.js → present-ZUGFCQOF.js} +43 -39
- package/dist/{preview-RV7ALGDQ.js → preview-BT2ZFYMC.js} +55 -53
- package/dist/{probe-UB6DM2Q3.js → probe-2CLEK2UT.js} +27 -25
- package/dist/{producer-2PKB5CW5.js → producer-HCAMS55D.js} +1 -1
- package/dist/{progress-S36VQBQW.js → progress-5A4N7PTR.js} +7 -4
- package/dist/{projectConfig-EUH5DILC.js → projectConfig-2KJ2PXIM.js} +15 -13
- package/dist/{prompts-7VQEH645.js → prompts-XC3IBT4D.js} +2 -2
- package/dist/{publicNetwork-GW7SVP7N.js → publicNetwork-66HWFKYG.js} +3 -1
- package/dist/{publication-VI2AXXKR.js → publication-AR63EGJF.js} +9 -7
- package/dist/{publish-225GB7R4.js → publish-EGKYOJWV.js} +78 -67
- package/dist/{refresh-X5ZLKQO5.js → refresh-GYRLZ7DZ.js} +5 -5
- package/dist/{remove-background-W2RLEQHJ.js → remove-background-IQQPMM24.js} +27 -25
- package/dist/{render-KXKBSNOQ.js → render-HJRMJYTA.js} +16 -13
- package/dist/{render-Y3JKWEN4.js → render-ROJ5X53T.js} +69 -66
- package/dist/{render-WMWCCMWI.js → render-YNSZYEEK.js} +101 -91
- package/dist/{render-batch-GK6CDHKN.js → render-batch-MXYDIHRO.js} +20 -16
- package/dist/renderSetupWorker.js +21 -11
- package/dist/{resolver-5CRZD5XB.js → resolver-SPLAVF76.js} +12 -10
- package/dist/{reverse-YPYKKQSJ.js → reverse-CE6OGBB7.js} +1 -1
- package/dist/{run-FQ76QNES.js → run-YVNJJL26.js} +15 -13
- package/dist/runtimeVersion.js +6 -1
- package/dist/{sam-A4NXDWSU.js → sam-2D3BUTL7.js} +5 -5
- package/dist/{screenshotCapture-R6VE66NR.js → screenshotCapture-DRO7VMNI.js} +20 -18
- package/dist/{service-P3IKHZFC.js → service-K65JYG4O.js} +30 -27
- package/dist/{share-BU4VQL3B.js → share-CSVWF6SB.js} +38 -35
- package/dist/{sherpa-44GLXY3A.js → sherpa-JE6AFUEV.js} +28 -26
- package/dist/sherpaWorker.js +7 -5
- package/dist/{sites-TAX3JLNX.js → sites-QCGTWVNF.js} +9 -5
- package/dist/skills/hyperframes/references/plugin-installation.md +12 -0
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +47 -9
- package/dist/skills/hyperframes-cli/references/lambda.md +1 -1
- package/dist/skills/media-use/audio/scripts/audio.mjs +24 -7
- package/dist/skills/media-use/audio/scripts/carve.mjs +10 -82
- package/dist/skills/media-use/audio/scripts/lib/audio-carve.mjs +4 -0
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +25 -7
- package/dist/skills/media-use/audio/scripts/lib/project-path.mjs +56 -0
- package/dist/skills/media-use/audio/scripts/lib/recording.mjs +66 -3
- package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +12 -7
- package/dist/skills/media-use/references/audio.md +2 -2
- package/dist/skills/media-use/references/mixing.md +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +1 -1
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +14 -9
- package/dist/skills/media-use/scripts/lib/index-gen.mjs +13 -11
- package/dist/skills/media-use/scripts/lib/manifest.mjs +51 -4
- package/dist/{skills-H4OZQ6VR.js → skills-L3BXM7VJ.js} +22 -20
- package/dist/{skillsUpdateCheck-U3XZX7UE.js → skillsUpdateCheck-VUENI5OR.js} +7 -7
- package/dist/{snapshot-FJQVXBFB.js → snapshot-GI2GWIF6.js} +121 -99
- package/dist/{src-PAM5LJ6K.js → src-B646B52O.js} +36 -22
- package/dist/{src-O6BHCR4O.js → src-ZXZO5RCJ.js} +30 -27
- package/dist/{start-R7CYOQ5S.js → start-ZNGKXRNE.js} +46 -44
- package/dist/{state-YFRV6TQH.js → state-7CJBWHXJ.js} +7 -4
- package/dist/{staticProjectServer-4X2OSUN4.js → staticProjectServer-46T6YTPF.js} +35 -32
- package/dist/{status-VN3FAN4M.js → status-7SWTPLVI.js} +43 -39
- package/dist/studio/assets/hyperframes-player-bya4hgms.js +573 -0
- package/dist/studio/assets/{index-yuN1pZrv.js → index--dcfSUzI.js} +1 -1
- package/dist/studio/assets/{index-CgyBYe2L.js → index-Bxh5lW0C.js} +178 -178
- package/dist/studio/assets/{pausedVideoDecoder-DtvSF8bV.js → pausedVideoDecoder-BKym1jA6.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-V3TMIWFB.js → studio-api-4XKM5HDR.js} +21 -18
- package/dist/{studioServer-GY2ZTR2E.js → studioServer-4TWRIZNU.js} +206 -139
- package/dist/subCompositionWorker.js +1163 -0
- package/dist/{sync-2V3JYCDE.js → sync-R3K6LYB3.js} +27 -25
- package/dist/{synthesize-TQELPMS5.js → synthesize-OZ3SJTOF.js} +22 -12
- package/dist/{system-2YOII5LZ.js → system-LZ4PMOJD.js} +3 -3
- package/dist/{telemetry-M722DCXI.js → telemetry-UC4MSMG3.js} +1 -1
- package/dist/{telemetry-KMRZ3IJV.js → telemetry-WSBY25O3.js} +16 -14
- package/dist/{templates-EEFY4FPS.js → templates-ITP6ISAF.js} +41 -33
- package/dist/{timeline-HSRGYZ3Q.js → timeline-U7GJMYKV.js} +51 -44
- package/dist/{tokens-NYFORL53.js → tokens-3YTSUU27.js} +6 -5
- package/dist/{transcribe-GFFWRWK3.js → transcribe-ISCBYWN4.js} +24 -22
- package/dist/{transcribe-CNIQYQ52.js → transcribe-QHHY5M3G.js} +58 -56
- package/dist/{tts-NPMDYSXP.js → tts-24IJXIT2.js} +9 -9
- package/dist/{update-BDMPUNNA.js → update-SVEH2GOL.js} +25 -23
- package/dist/{updateCheck-43UZ2USJ.js → updateCheck-MDG7N7VO.js} +6 -6
- package/dist/{upgrade-Z5B57UWL.js → upgrade-6CGAI4OR.js} +12 -10
- package/dist/{urlDownloader-KDZ76BKM.js → urlDownloader-VPQTIGEH.js} +16 -14
- package/dist/{validate-UQKZNR5K.js → validate-QUB4KCEQ.js} +50 -43
- package/dist/{video-VR4363OG.js → video-PUGZ5UHS.js} +37 -30
- package/dist/{voices-GUWAM3TH.js → voices-4UO5AYLS.js} +44 -42
- package/dist/warmCheck.js +72 -70
- package/dist/warmCheckClient.js +4 -4
- package/package.json +1 -1
- package/dist/chunk-56T2OGYR.js +0 -5085
- package/dist/chunk-IJYIIHGK.js +0 -21
- package/dist/chunk-JOQR4AP6.js +0 -22
- package/dist/chunk-MK4RH5L7.js +0 -81
- package/dist/skills/hyperframes/scripts/lib/main-module.test.mjs +0 -46
- package/dist/skills/hyperframes/scripts/lib/windows-exe-search.test.mjs +0 -149
- package/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +0 -231
- package/dist/skills/media-use/audio/scripts/audio.test.mjs +0 -166
- package/dist/skills/media-use/audio/scripts/carve.test.mjs +0 -254
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +0 -131
- package/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +0 -38
- package/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +0 -233
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +0 -136
- package/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +0 -135
- package/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +0 -41
- package/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +0 -86
- package/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +0 -253
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +0 -627
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +0 -239
- package/dist/skills/media-use/audio/scripts/lib/python.test.mjs +0 -198
- package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +0 -331
- package/dist/skills/media-use/audio/scripts/lib/tts.cleanup.test.mjs +0 -181
- package/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +0 -183
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +0 -280
- package/dist/skills/media-use/audio/scripts/lib/voice-credit.test.mjs +0 -21
- package/dist/skills/media-use/audio/scripts/recording.test.mjs +0 -139
- package/dist/skills/media-use/audio/scripts/trusted-program.test.mjs +0 -106
- package/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +0 -108
- package/dist/skills/media-use/scripts/compatibility.test.mjs +0 -41
- package/dist/skills/media-use/scripts/dither.test.mjs +0 -176
- package/dist/skills/media-use/scripts/lib/adopt.test.mjs +0 -143
- package/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +0 -178
- package/dist/skills/media-use/scripts/lib/cache.test.mjs +0 -110
- package/dist/skills/media-use/scripts/lib/candidates.test.mjs +0 -155
- package/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +0 -34
- package/dist/skills/media-use/scripts/lib/config-lock.test.mjs +0 -79
- package/dist/skills/media-use/scripts/lib/coverage.test.mjs +0 -136
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +0 -39
- package/dist/skills/media-use/scripts/lib/cube-build.test.mjs +0 -80
- package/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +0 -130
- package/dist/skills/media-use/scripts/lib/cutlist.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/duck.test.mjs +0 -319
- package/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +0 -102
- package/dist/skills/media-use/scripts/lib/freeze.test.mjs +0 -138
- package/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +0 -285
- package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +0 -315
- package/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +0 -49
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +0 -435
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +0 -92
- package/dist/skills/media-use/scripts/lib/local-models.test.mjs +0 -220
- package/dist/skills/media-use/scripts/lib/local-run.test.mjs +0 -121
- package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +0 -312
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +0 -331
- package/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +0 -199
- package/dist/skills/media-use/scripts/lib/manifest.test.mjs +0 -397
- package/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +0 -197
- package/dist/skills/media-use/scripts/lib/media-home.test.mjs +0 -61
- package/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +0 -174
- package/dist/skills/media-use/scripts/lib/misses.test.mjs +0 -89
- package/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +0 -41
- package/dist/skills/media-use/scripts/lib/openverse.test.mjs +0 -219
- package/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +0 -44
- package/dist/skills/media-use/scripts/lib/prefs-store.concurrent.test.mjs +0 -173
- package/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +0 -245
- package/dist/skills/media-use/scripts/lib/probe.test.mjs +0 -221
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +0 -391
- package/dist/skills/media-use/scripts/lib/registry.test.mjs +0 -261
- package/dist/skills/media-use/scripts/lib/search.test.mjs +0 -32
- package/dist/skills/media-use/scripts/lib/specs.test.mjs +0 -157
- package/dist/skills/media-use/scripts/lib/stats.test.mjs +0 -165
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +0 -550
- package/dist/skills/media-use/scripts/lib/test-home.test.mjs +0 -10
- package/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +0 -33
- package/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +0 -59
- package/dist/skills/media-use/scripts/lib/usage.test.mjs +0 -54
- package/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +0 -46
- package/dist/skills/media-use/scripts/resolve-plugin.test.mjs +0 -86
- package/dist/skills/media-use/scripts/transcribe.test.mjs +0 -215
- package/dist/skills/media-use/scripts/transcript-cut.test.mjs +0 -341
- package/dist/studio/assets/hyperframes-player-SRLbmEDB.js +0 -565
|
@@ -7,16 +7,16 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveCloudAuthHeaders,
|
|
9
9
|
resolveCloudBaseUrl
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MVA4OQL7.js";
|
|
11
11
|
import {
|
|
12
12
|
readProjectConfig
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RHFB457E.js";
|
|
14
14
|
import {
|
|
15
15
|
normalizeSkillSlug
|
|
16
16
|
} from "./chunk-HVW7ABXD.js";
|
|
17
17
|
import {
|
|
18
18
|
trackBillingCheckoutReturnRefused
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6ATP7YPZ.js";
|
|
20
20
|
|
|
21
21
|
// src/heygen/plan.ts
|
|
22
22
|
import { randomUUID } from "crypto";
|
|
@@ -68,6 +68,9 @@ async function readPlan(stop) {
|
|
|
68
68
|
var webBase = () => "https://hyperframes.studio";
|
|
69
69
|
var plansUrl = () => process.env["HYPERFRAMES_PLANS_URL"] || `${webBase()}/pricing`;
|
|
70
70
|
var creditsUrl = () => process.env["HYPERFRAMES_CREDITS_URL"] || `${webBase()}/pricing`;
|
|
71
|
+
var manageUrl = () => process.env["HYPERFRAMES_BILLING_URL"] || `${webBase()}/billing`;
|
|
72
|
+
var PAGES = { plans: plansUrl, credits: creditsUrl, manage: manageUrl };
|
|
73
|
+
var MANAGE_LABEL = "Manage or cancel your plan:";
|
|
71
74
|
async function signedInSpace() {
|
|
72
75
|
try {
|
|
73
76
|
const res = await fetch(`${billingBaseUrl()}/v1/pacific/account.get`, {
|
|
@@ -95,7 +98,7 @@ function cliCheckoutLink(link, skill = checkoutSkill()) {
|
|
|
95
98
|
return url.toString();
|
|
96
99
|
}
|
|
97
100
|
async function pageUrl(kind, fields = {}) {
|
|
98
|
-
const url = new URL(fields.base ??
|
|
101
|
+
const url = new URL(fields.base ?? PAGES[kind]());
|
|
99
102
|
url.searchParams.set("from", "cli");
|
|
100
103
|
url.searchParams.set("utm_source", "cli");
|
|
101
104
|
const skill = checkoutSkill(fields.skill);
|
|
@@ -224,6 +227,7 @@ async function postCheckout(route, body, stop) {
|
|
|
224
227
|
export {
|
|
225
228
|
billingBaseUrl,
|
|
226
229
|
readPlan,
|
|
230
|
+
MANAGE_LABEL,
|
|
227
231
|
checkoutSkill,
|
|
228
232
|
cliCheckoutLink,
|
|
229
233
|
pageUrl,
|
|
@@ -6,18 +6,18 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QJ2BV7FM.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_INPUT_ARGS
|
|
12
12
|
} from "./chunk-6T4PB35F.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveWithinProject
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-THGJTFYB.js";
|
|
16
16
|
import {
|
|
17
17
|
MAX_AUDIO_GAIN_DB,
|
|
18
18
|
formatAudioGain,
|
|
19
19
|
isAudibleVideoElement
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-NI7JVGOE.js";
|
|
21
21
|
import {
|
|
22
22
|
decodeWellFormedEscapes,
|
|
23
23
|
decodedUrlPath,
|
|
@@ -25,15 +25,12 @@ import {
|
|
|
25
25
|
} from "./chunk-IH2C53YV.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4NDSGKPO.js";
|
|
29
29
|
import {
|
|
30
30
|
findFfBinary
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RX67N2PU.js";
|
|
32
32
|
|
|
33
|
-
// ../studio-server/dist/chunk-
|
|
34
|
-
import { execFile } from "child_process";
|
|
35
|
-
import { isAbsolute, relative, resolve } from "path";
|
|
36
|
-
import { promisify } from "util";
|
|
33
|
+
// ../studio-server/dist/chunk-E3C5RD7I.js
|
|
37
34
|
import { existsSync } from "fs";
|
|
38
35
|
function requestSubPath(url, route) {
|
|
39
36
|
const routeSegments = route.split("/");
|
|
@@ -46,6 +43,11 @@ function requestedProjectPath(projectDir, field) {
|
|
|
46
43
|
const named = resolveWithinProject(projectDir, trimmed);
|
|
47
44
|
return named && existsSync(named) ? trimmed : decodedUrlPath(trimmed);
|
|
48
45
|
}
|
|
46
|
+
|
|
47
|
+
// ../studio-server/dist/chunk-47YGKB5B.js
|
|
48
|
+
import { execFile } from "child_process";
|
|
49
|
+
import { isAbsolute, relative, resolve } from "path";
|
|
50
|
+
import { promisify } from "util";
|
|
49
51
|
var execFileAsync = promisify(execFile);
|
|
50
52
|
var FFMPEG_TIMEOUT_MS = 12e4;
|
|
51
53
|
function authoredNumber(raw, fallback, attribute, id, strictlyPositive = false) {
|
|
@@ -8,15 +8,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
8
8
|
// src/media-use/lib/manifest.mjs
|
|
9
9
|
import {
|
|
10
10
|
readFileSync,
|
|
11
|
-
appendFileSync,
|
|
12
11
|
mkdirSync,
|
|
13
12
|
existsSync,
|
|
14
13
|
readdirSync,
|
|
15
14
|
openSync,
|
|
16
15
|
closeSync,
|
|
17
16
|
writeFileSync,
|
|
17
|
+
writeSync,
|
|
18
18
|
rmSync,
|
|
19
|
-
|
|
19
|
+
renameSync,
|
|
20
|
+
statSync,
|
|
21
|
+
lstatSync,
|
|
22
|
+
realpathSync,
|
|
23
|
+
constants
|
|
20
24
|
} from "fs";
|
|
21
25
|
import { randomBytes } from "crypto";
|
|
22
26
|
import { basename, join } from "path";
|
|
@@ -67,14 +71,45 @@ function readManifest(projectDir) {
|
|
|
67
71
|
}
|
|
68
72
|
return records;
|
|
69
73
|
}
|
|
70
|
-
function
|
|
74
|
+
function ownMediaDir(projectDir) {
|
|
71
75
|
const dir = mediaDir(projectDir);
|
|
72
76
|
mkdirSync(dir, { recursive: true });
|
|
77
|
+
if (lstatSync(dir).isSymbolicLink() || realpathSync(dir) !== join(realpathSync(projectDir), ".media")) {
|
|
78
|
+
throw new Error(`${dir} leads outside the project folder; nothing was written there`);
|
|
79
|
+
}
|
|
80
|
+
return dir;
|
|
81
|
+
}
|
|
82
|
+
function refuseLink(path) {
|
|
83
|
+
if (lstatSync(path, { throwIfNoEntry: false })?.isSymbolicLink()) {
|
|
84
|
+
throw new Error(`${path} is a link; nothing was written through it`);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
function replaceFile(path, content) {
|
|
88
|
+
const temp = `${path}.hf${randomBytes(3).toString("hex")}.tmp`;
|
|
89
|
+
writeFileSync(temp, content, { flag: "wx" });
|
|
90
|
+
try {
|
|
91
|
+
renameSync(temp, path);
|
|
92
|
+
} catch (error) {
|
|
93
|
+
rmSync(temp, { force: true });
|
|
94
|
+
throw error;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
function appendRecord(projectDir, record) {
|
|
98
|
+
ownMediaDir(projectDir);
|
|
73
99
|
const typeDir = typeDirPath(projectDir, record.type);
|
|
74
100
|
mkdirSync(typeDir, { recursive: true });
|
|
75
101
|
const p = manifestPath(projectDir);
|
|
76
|
-
|
|
77
|
-
|
|
102
|
+
refuseLink(p);
|
|
103
|
+
const fd = openSync(
|
|
104
|
+
p,
|
|
105
|
+
constants.O_WRONLY | constants.O_APPEND | constants.O_CREAT | (constants.O_NOFOLLOW ?? 0),
|
|
106
|
+
438
|
|
107
|
+
);
|
|
108
|
+
try {
|
|
109
|
+
writeSync(fd, JSON.stringify(record) + "\n");
|
|
110
|
+
} finally {
|
|
111
|
+
closeSync(fd);
|
|
112
|
+
}
|
|
78
113
|
}
|
|
79
114
|
var AGENT_SOURCES = ["generated", "search", "bundled"];
|
|
80
115
|
function latestRecordFor(projectDir, path) {
|
|
@@ -232,6 +267,8 @@ export {
|
|
|
232
267
|
typeSubdir,
|
|
233
268
|
typeDirPath,
|
|
234
269
|
readManifest,
|
|
270
|
+
ownMediaDir,
|
|
271
|
+
replaceFile,
|
|
235
272
|
appendRecord,
|
|
236
273
|
AGENT_SOURCES,
|
|
237
274
|
latestRecordFor,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D44MBZI6.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
oneProcessOverPipe,
|
|
17
17
|
pipeLaunchClosedOnMac,
|
|
18
18
|
sandboxDeniedRemediation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CC72LTIT.js";
|
|
20
20
|
import {
|
|
21
21
|
processIsAlive
|
|
22
22
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-4NTCQF3L.js";
|
|
29
29
|
import {
|
|
30
30
|
requestCliExit
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U7M4SZUB.js";
|
|
32
32
|
import {
|
|
33
33
|
normalizeErrorMessage,
|
|
34
34
|
notePageCrash
|
|
@@ -4,18 +4,14 @@ 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
|
-
ambiguousIssue,
|
|
9
|
-
loadBrowserScript
|
|
10
|
-
} from "./chunk-DDCXMXAD.js";
|
|
11
7
|
import {
|
|
12
8
|
auditClipDurations,
|
|
13
9
|
shouldIgnoreHttpError,
|
|
14
10
|
shouldIgnoreRequestFailure
|
|
15
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BTXYXM2A.js";
|
|
16
12
|
import {
|
|
17
13
|
serveStaticProjectHtml
|
|
18
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TJGGLLQJ.js";
|
|
19
15
|
import {
|
|
20
16
|
AUDIT_SEEK_OPTIONS,
|
|
21
17
|
DEFAULT_ZOOM_PADDING_PX,
|
|
@@ -29,14 +25,14 @@ import {
|
|
|
29
25
|
seekCompositionTimeline,
|
|
30
26
|
seekInPage,
|
|
31
27
|
waitForPreferredSeekTarget
|
|
32
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-RKIF4EU7.js";
|
|
33
29
|
import {
|
|
34
30
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS,
|
|
35
31
|
withRemainingBudget
|
|
36
32
|
} from "./chunk-YGGZ23BB.js";
|
|
37
33
|
import {
|
|
38
34
|
findStageProxyBox
|
|
39
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-7YRZBB4C.js";
|
|
40
36
|
import {
|
|
41
37
|
FfmpegUnavailableError,
|
|
42
38
|
decideMediaProxyEligibility,
|
|
@@ -46,29 +42,32 @@ import {
|
|
|
46
42
|
resolveProxies,
|
|
47
43
|
scanProjectMediaCodecMap,
|
|
48
44
|
shouldPrewarmProxy
|
|
49
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-LTOUXR3X.js";
|
|
50
46
|
import {
|
|
51
47
|
artifactDirectory,
|
|
52
48
|
finishSnapshotRun
|
|
53
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-TVWDS5AT.js";
|
|
54
50
|
import {
|
|
55
51
|
BrowserCleanupError,
|
|
56
52
|
closeManagedBrowser,
|
|
57
53
|
onStopSignal
|
|
58
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-XWV6BOCG.js";
|
|
59
55
|
import {
|
|
60
56
|
resolveAutoProxy
|
|
61
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RHFB457E.js";
|
|
58
|
+
import {
|
|
59
|
+
projectFolder
|
|
60
|
+
} from "./chunk-JT7RXK2N.js";
|
|
62
61
|
import {
|
|
63
62
|
DEFAULT_CONFIG
|
|
64
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-CC72LTIT.js";
|
|
65
64
|
import {
|
|
66
65
|
STUDIO_PREVIEW_CAPTURE_MODE,
|
|
67
66
|
STUDIO_PREVIEW_MARK_META
|
|
68
67
|
} from "./chunk-YXX6CIHL.js";
|
|
69
68
|
import {
|
|
70
69
|
injectTagsAtHeadStart
|
|
71
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-NI7JVGOE.js";
|
|
72
71
|
import {
|
|
73
72
|
parseHTML
|
|
74
73
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -410,6 +409,8 @@ function checkSnapshotDirectory(projectDir) {
|
|
|
410
409
|
directory = artifactDirectory(project, "snapshots");
|
|
411
410
|
runDirectories.set(project, directory);
|
|
412
411
|
}
|
|
412
|
+
if (!projectFolder(project, directory))
|
|
413
|
+
throw new Error(`${directory} is reached through a link or a file; remove it and run again`);
|
|
413
414
|
return directory;
|
|
414
415
|
}
|
|
415
416
|
async function finishCheckSnapshots(projectDir) {
|
|
@@ -427,9 +428,216 @@ async function finishCheckSnapshots(projectDir) {
|
|
|
427
428
|
}
|
|
428
429
|
|
|
429
430
|
// src/utils/checkBrowser.ts
|
|
430
|
-
import { existsSync
|
|
431
|
+
import { existsSync as existsSync2, writeFileSync } from "fs";
|
|
431
432
|
import os from "os";
|
|
432
|
-
import { join, resolve as resolve2 } from "path";
|
|
433
|
+
import { join as join2, resolve as resolve2 } from "path";
|
|
434
|
+
|
|
435
|
+
// src/commands/browserScript.ts
|
|
436
|
+
import { existsSync, readFileSync } from "fs";
|
|
437
|
+
import { dirname, join } from "path";
|
|
438
|
+
import { fileURLToPath } from "url";
|
|
439
|
+
var __dirname = dirname(fileURLToPath(import.meta.url));
|
|
440
|
+
function loadBrowserScript(name) {
|
|
441
|
+
const candidates = [join(__dirname, name), join(__dirname, "commands", name)];
|
|
442
|
+
for (const candidate of candidates) {
|
|
443
|
+
if (existsSync(candidate)) return readFileSync(candidate, "utf-8");
|
|
444
|
+
}
|
|
445
|
+
throw new Error(`Missing browser script ${name}`);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
// src/utils/motionAudit.ts
|
|
449
|
+
var APPEAR_OPACITY = 0.5;
|
|
450
|
+
var FRAME_TOLERANCE = 1;
|
|
451
|
+
var DEFAULT_MAX_STATIC_SEC = 2;
|
|
452
|
+
var END_CARD_HOLD_SEC = 3;
|
|
453
|
+
var ZERO_RECT = { left: 0, top: 0, right: 0, bottom: 0, width: 0, height: 0 };
|
|
454
|
+
function ambiguousIssue(selector) {
|
|
455
|
+
return {
|
|
456
|
+
code: "motion_selector_ambiguous",
|
|
457
|
+
severity: "error",
|
|
458
|
+
time: 0,
|
|
459
|
+
selector,
|
|
460
|
+
message: `${selector} matches multiple elements \u2014 use a more specific selector so the assertion targets exactly one.`,
|
|
461
|
+
rect: ZERO_RECT,
|
|
462
|
+
fixHint: "Use #id or :nth-child() instead of a class selector when multiple elements share the same class."
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
function round(value) {
|
|
466
|
+
return Math.round(value * 100) / 100;
|
|
467
|
+
}
|
|
468
|
+
function everMatched(frames, selector) {
|
|
469
|
+
return frames.some((frame) => frame.data[selector] != null);
|
|
470
|
+
}
|
|
471
|
+
function firstAppear(frames, selector) {
|
|
472
|
+
for (const frame of frames) {
|
|
473
|
+
const sample = frame.data[selector];
|
|
474
|
+
if (sample && sample.visible && sample.opacity >= APPEAR_OPACITY) {
|
|
475
|
+
return { time: frame.time, rect: sample.rect };
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
return null;
|
|
479
|
+
}
|
|
480
|
+
function missingIssue(selector, time) {
|
|
481
|
+
return {
|
|
482
|
+
code: "motion_selector_missing",
|
|
483
|
+
severity: "error",
|
|
484
|
+
time,
|
|
485
|
+
selector,
|
|
486
|
+
message: `${selector} matched no element in any sampled frame \u2014 check the selector`,
|
|
487
|
+
rect: ZERO_RECT,
|
|
488
|
+
fixHint: "Verify the selector exists in the composition and is spelled correctly."
|
|
489
|
+
};
|
|
490
|
+
}
|
|
491
|
+
function appearsBy(frames, selector, bySec) {
|
|
492
|
+
if (!everMatched(frames, selector)) return [missingIssue(selector, 0)];
|
|
493
|
+
const appear = firstAppear(frames, selector);
|
|
494
|
+
if (appear && appear.time <= bySec) return [];
|
|
495
|
+
return [
|
|
496
|
+
{
|
|
497
|
+
code: "motion_appears_late",
|
|
498
|
+
severity: "error",
|
|
499
|
+
time: appear ? appear.time : bySec,
|
|
500
|
+
selector,
|
|
501
|
+
message: appear ? `appears at ${round(appear.time)}s but should be visible by ${round(bySec)}s (check its entrance reveal fires under seek)` : `never reaches visible opacity but should be visible by ${round(bySec)}s (check its entrance reveal fires under seek)`,
|
|
502
|
+
rect: appear ? appear.rect : ZERO_RECT,
|
|
503
|
+
fixHint: "The renderer seeks a paused timeline; a forward-only reveal can be skipped. Ensure the entrance is applied at this time, not only played through."
|
|
504
|
+
}
|
|
505
|
+
];
|
|
506
|
+
}
|
|
507
|
+
function before(frames, a, b) {
|
|
508
|
+
const issues = [];
|
|
509
|
+
if (!everMatched(frames, a)) issues.push(missingIssue(a, 0));
|
|
510
|
+
if (!everMatched(frames, b)) issues.push(missingIssue(b, 0));
|
|
511
|
+
if (issues.length > 0) return issues;
|
|
512
|
+
const appearA = firstAppear(frames, a);
|
|
513
|
+
const appearB = firstAppear(frames, b);
|
|
514
|
+
const timeA = appearA ? appearA.time : Number.POSITIVE_INFINITY;
|
|
515
|
+
const timeB = appearB ? appearB.time : Number.POSITIVE_INFINITY;
|
|
516
|
+
if (timeA < timeB) return [];
|
|
517
|
+
const label = (t) => Number.isFinite(t) ? `${round(t)}s` : "never";
|
|
518
|
+
return [
|
|
519
|
+
{
|
|
520
|
+
code: "motion_out_of_order",
|
|
521
|
+
severity: "error",
|
|
522
|
+
time: Number.isFinite(timeA) ? timeA : 0,
|
|
523
|
+
selector: a,
|
|
524
|
+
message: `${a} should appear before ${b}, but ${a} appears at ${label(timeA)} and ${b} at ${label(timeB)} \u2014 reorder the entrances`,
|
|
525
|
+
rect: appearA ? appearA.rect : ZERO_RECT,
|
|
526
|
+
fixHint: `Make ${a}'s entrance land before ${b}'s on the timeline.`
|
|
527
|
+
}
|
|
528
|
+
];
|
|
529
|
+
}
|
|
530
|
+
function isOffFrame(r, canvas) {
|
|
531
|
+
return r.left < -FRAME_TOLERANCE || r.top < -FRAME_TOLERANCE || r.right > canvas.width + FRAME_TOLERANCE || r.bottom > canvas.height + FRAME_TOLERANCE;
|
|
532
|
+
}
|
|
533
|
+
function staysInFrame(frames, selector, canvas) {
|
|
534
|
+
if (!everMatched(frames, selector)) return [missingIssue(selector, 0)];
|
|
535
|
+
const appear = firstAppear(frames, selector);
|
|
536
|
+
if (!appear) return [];
|
|
537
|
+
for (const frame of frames) {
|
|
538
|
+
const sample = frame.data[selector];
|
|
539
|
+
if (frame.time < appear.time || !sample || !sample.visible) continue;
|
|
540
|
+
if (!isOffFrame(sample.rect, canvas)) continue;
|
|
541
|
+
const r = sample.rect;
|
|
542
|
+
return [
|
|
543
|
+
{
|
|
544
|
+
code: "motion_off_frame",
|
|
545
|
+
severity: "error",
|
|
546
|
+
time: frame.time,
|
|
547
|
+
selector,
|
|
548
|
+
message: `${selector} drifts off the ${canvas.width}\xD7${canvas.height} canvas at ${round(frame.time)}s (box ${r.left},${r.top}\u2192${r.right},${r.bottom})`,
|
|
549
|
+
rect: r,
|
|
550
|
+
fixHint: "Clamp the element's motion so its box stays within the canvas for the whole shot."
|
|
551
|
+
}
|
|
552
|
+
];
|
|
553
|
+
}
|
|
554
|
+
return [];
|
|
555
|
+
}
|
|
556
|
+
function frozenSpans(frames, scope, maxStaticSec, endCardStart = Number.POSITIVE_INFINITY) {
|
|
557
|
+
const spans = [];
|
|
558
|
+
const first = frames[0];
|
|
559
|
+
if (!first) return spans;
|
|
560
|
+
let runStart = first.time;
|
|
561
|
+
let runSig = first.liveness[scope] ?? "";
|
|
562
|
+
const flush = (runEnd) => {
|
|
563
|
+
const end = Math.min(runEnd, endCardStart);
|
|
564
|
+
if (end - runStart > maxStaticSec) spans.push({ start: runStart, end });
|
|
565
|
+
};
|
|
566
|
+
let lastTime = runStart;
|
|
567
|
+
for (const frame of frames.slice(1)) {
|
|
568
|
+
lastTime = frame.time;
|
|
569
|
+
const sig = frame.liveness[scope] ?? "";
|
|
570
|
+
if (sig !== runSig) {
|
|
571
|
+
flush(frame.time);
|
|
572
|
+
runStart = frame.time;
|
|
573
|
+
runSig = sig;
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
flush(lastTime);
|
|
577
|
+
return spans;
|
|
578
|
+
}
|
|
579
|
+
function keepsMoving(frames, within, maxStaticSec, endCardStart) {
|
|
580
|
+
const scope = within ?? "*";
|
|
581
|
+
if (within && frames.every((frame) => !frame.liveness[scope])) {
|
|
582
|
+
return [missingIssue(within, 0)];
|
|
583
|
+
}
|
|
584
|
+
return frozenSpans(frames, scope, maxStaticSec, endCardStart).map(({ start, end }) => ({
|
|
585
|
+
code: "motion_frozen",
|
|
586
|
+
severity: "error",
|
|
587
|
+
time: start,
|
|
588
|
+
selector: within ?? "composition",
|
|
589
|
+
message: `nothing moves${within ? ` within ${within}` : ""} between ${round(start)}s and ${round(end)}s (${round(end - start)}s static) \u2014 should keep moving`,
|
|
590
|
+
rect: ZERO_RECT,
|
|
591
|
+
fixHint: "Add or extend motion so no shot freezes for this long, or shorten the static hold."
|
|
592
|
+
}));
|
|
593
|
+
}
|
|
594
|
+
function evaluateMotion(frames, assertions, canvas, filmDuration) {
|
|
595
|
+
if (frames.length === 0) return [];
|
|
596
|
+
const endCardStart = filmDuration !== void 0 && filmDuration > 0 ? filmDuration - END_CARD_HOLD_SEC : Number.POSITIVE_INFINITY;
|
|
597
|
+
return assertions.flatMap((assertion) => {
|
|
598
|
+
switch (assertion.kind) {
|
|
599
|
+
case "appearsBy":
|
|
600
|
+
return appearsBy(frames, assertion.selector, assertion.bySec);
|
|
601
|
+
case "before":
|
|
602
|
+
return before(frames, assertion.a, assertion.b);
|
|
603
|
+
case "staysInFrame":
|
|
604
|
+
return staysInFrame(frames, assertion.selector, canvas);
|
|
605
|
+
case "keepsMoving":
|
|
606
|
+
return keepsMoving(
|
|
607
|
+
frames,
|
|
608
|
+
assertion.withinSelector,
|
|
609
|
+
assertion.maxStaticSec ?? DEFAULT_MAX_STATIC_SEC,
|
|
610
|
+
endCardStart
|
|
611
|
+
);
|
|
612
|
+
}
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
function assertionTargets(assertion) {
|
|
616
|
+
switch (assertion.kind) {
|
|
617
|
+
case "appearsBy":
|
|
618
|
+
case "staysInFrame":
|
|
619
|
+
return { selectors: [assertion.selector], scopes: [] };
|
|
620
|
+
case "before":
|
|
621
|
+
return { selectors: [assertion.a, assertion.b], scopes: [] };
|
|
622
|
+
case "keepsMoving":
|
|
623
|
+
return { selectors: [], scopes: [assertion.withinSelector ?? "*"] };
|
|
624
|
+
default: {
|
|
625
|
+
const exhaustive = assertion;
|
|
626
|
+
void exhaustive;
|
|
627
|
+
return { selectors: [], scopes: [] };
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
function collectSamplingTargets(assertions) {
|
|
632
|
+
const selectors = /* @__PURE__ */ new Set();
|
|
633
|
+
const scopes = /* @__PURE__ */ new Set();
|
|
634
|
+
for (const assertion of assertions) {
|
|
635
|
+
const targets = assertionTargets(assertion);
|
|
636
|
+
for (const selector of targets.selectors) selectors.add(selector);
|
|
637
|
+
for (const scope of targets.scopes) scopes.add(scope);
|
|
638
|
+
}
|
|
639
|
+
return { selectors: [...selectors], livenessScopes: [...scopes] };
|
|
640
|
+
}
|
|
433
641
|
|
|
434
642
|
// src/utils/checkFindingInspect.ts
|
|
435
643
|
import { realpathSync } from "fs";
|
|
@@ -911,7 +1119,7 @@ async function preResolveHostileMediaProxies(projectDir, html, autoProxyOverride
|
|
|
911
1119
|
}
|
|
912
1120
|
function proxyCached(projectDir, source) {
|
|
913
1121
|
try {
|
|
914
|
-
return
|
|
1122
|
+
return existsSync2(
|
|
915
1123
|
getProxyCachePath(
|
|
916
1124
|
projectDir,
|
|
917
1125
|
source.sourcePath,
|
|
@@ -928,7 +1136,7 @@ function proxyFailedDraft(message) {
|
|
|
928
1136
|
return { code: "media_proxy_failed", severity: "warning", message, time: 0 };
|
|
929
1137
|
}
|
|
930
1138
|
async function loadCheckHtmlWithDeferredMedia(dir) {
|
|
931
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1139
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RVF7AFP5.js");
|
|
932
1140
|
return withCapturePreviewMark(await bundleWithLocalizedFonts(dir));
|
|
933
1141
|
}
|
|
934
1142
|
function withCapturePreviewMark(html) {
|
|
@@ -1001,7 +1209,7 @@ async function runBrowserCheck(project, options, motion, runGrid, deadline, prel
|
|
|
1001
1209
|
).map((draft) => runtimeFinding(draft, rootAnchor))
|
|
1002
1210
|
}));
|
|
1003
1211
|
const launchSettleMs = Date.now() - launchSettleStart;
|
|
1004
|
-
const { analyzeClipMediaFit } = await import("./src-
|
|
1212
|
+
const { analyzeClipMediaFit } = await import("./src-B646B52O.js");
|
|
1005
1213
|
for (const entry of await auditClipDurations(page, analyzeClipMediaFit, options.timeout)) {
|
|
1006
1214
|
drafts.push({ code: "clip_media_fit", severity: entry.level, message: entry.text, time: 0 });
|
|
1007
1215
|
}
|
|
@@ -1134,8 +1342,8 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1134
1342
|
}));
|
|
1135
1343
|
const region = padCropRegion(request.bbox, canvas, DEFAULT_ZOOM_PADDING_PX);
|
|
1136
1344
|
const buffer = await captureRegionCrop(page, region, DEFAULT_ZOOM_SCALE);
|
|
1137
|
-
writeFileSync(
|
|
1138
|
-
written.push(
|
|
1345
|
+
writeFileSync(join2(snapshotDir, request.filename), buffer);
|
|
1346
|
+
written.push(join2(snapshotDir, request.filename));
|
|
1139
1347
|
}
|
|
1140
1348
|
return written;
|
|
1141
1349
|
});
|
|
@@ -1143,7 +1351,7 @@ async function captureFindingCrops(project, options, requests, deadline) {
|
|
|
1143
1351
|
async function captureFindingFrames(project, options, requests, deadline) {
|
|
1144
1352
|
if (requests.length === 0) return { written: [], inspected: [] };
|
|
1145
1353
|
const inspector = requests.some((request) => request.inspect?.length) ? await prepareFindingInspector(project.dir, async (bundleOptions) => {
|
|
1146
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1354
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-RVF7AFP5.js");
|
|
1147
1355
|
return withCapturePreviewMark(
|
|
1148
1356
|
await bundleWithLocalizedFonts(project.dir, void 0, bundleOptions)
|
|
1149
1357
|
);
|
|
@@ -1163,8 +1371,8 @@ async function captureFindingFrames(project, options, requests, deadline) {
|
|
|
1163
1371
|
deadline?.enter("frames");
|
|
1164
1372
|
await seekCompositionTimeline(page, request.time, SCREENSHOT_SEEK_OPTIONS);
|
|
1165
1373
|
const buffer = await page.screenshot({ type: "png", optimizeForSpeed: true });
|
|
1166
|
-
writeFileSync(
|
|
1167
|
-
written.push(
|
|
1374
|
+
writeFileSync(join2(snapshotDir, request.filename), buffer);
|
|
1375
|
+
written.push(join2(snapshotDir, request.filename));
|
|
1168
1376
|
if (!inspector) continue;
|
|
1169
1377
|
for (const target of request.inspect ?? []) {
|
|
1170
1378
|
deadline?.enter("frames");
|
|
@@ -1204,7 +1412,6 @@ async function withFindingCapturePage(project, options, deadline, what, capture,
|
|
|
1204
1412
|
chromeBrowser = session.browser;
|
|
1205
1413
|
await waitForPreferredSeekTarget(session.page);
|
|
1206
1414
|
const snapshotDir = checkSnapshotDirectory(project.dir);
|
|
1207
|
-
mkdirSync(snapshotDir, { recursive: true });
|
|
1208
1415
|
return await capture(session.page, snapshotDir, server);
|
|
1209
1416
|
} catch (error) {
|
|
1210
1417
|
failure = { kind: "failed", error };
|
|
@@ -2448,6 +2655,13 @@ function matchComponentFindings({
|
|
|
2448
2655
|
}
|
|
2449
2656
|
|
|
2450
2657
|
export {
|
|
2658
|
+
DEFAULT_MAX_STATIC_SEC,
|
|
2659
|
+
END_CARD_HOLD_SEC,
|
|
2660
|
+
ambiguousIssue,
|
|
2661
|
+
frozenSpans,
|
|
2662
|
+
evaluateMotion,
|
|
2663
|
+
assertionTargets,
|
|
2664
|
+
collectSamplingTargets,
|
|
2451
2665
|
idleWindow,
|
|
2452
2666
|
CheckDeadlineError,
|
|
2453
2667
|
CheckCopiesUnfinishedError,
|
|
@@ -2457,6 +2671,7 @@ export {
|
|
|
2457
2671
|
beginCheckSnapshots,
|
|
2458
2672
|
checkSnapshotDirectory,
|
|
2459
2673
|
finishCheckSnapshots,
|
|
2674
|
+
loadBrowserScript,
|
|
2460
2675
|
rectToBbox,
|
|
2461
2676
|
RENDER_READY_WARNING_SUFFIX,
|
|
2462
2677
|
preResolveHostileMediaProxies,
|
|
@@ -2472,5 +2687,6 @@ export {
|
|
|
2472
2687
|
createPageDriver,
|
|
2473
2688
|
collectSeekClock,
|
|
2474
2689
|
captureOverviewShot,
|
|
2690
|
+
parseLayoutIssue,
|
|
2475
2691
|
matchComponentFindings
|
|
2476
2692
|
};
|
|
@@ -4,15 +4,15 @@ 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
|
-
errorBox
|
|
9
|
-
} from "./chunk-ZLTB7ZCQ.js";
|
|
10
7
|
import {
|
|
11
8
|
trackCommandFailure
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6ATP7YPZ.js";
|
|
10
|
+
import {
|
|
11
|
+
errorBox
|
|
12
|
+
} from "./chunk-6VY52EVW.js";
|
|
13
13
|
import {
|
|
14
14
|
failCommand
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U7M4SZUB.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/project.ts
|
|
18
18
|
import { existsSync, statSync } from "fs";
|