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
|
@@ -4,42 +4,41 @@ 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
|
-
avSync
|
|
9
|
-
} from "./chunk-SGWDJLFL.js";
|
|
10
|
-
import {
|
|
11
|
-
compareEnergy,
|
|
12
|
-
energyCurve
|
|
13
|
-
} from "./chunk-BR7GOCQJ.js";
|
|
14
7
|
import {
|
|
15
8
|
contrast,
|
|
16
9
|
drawnFrames,
|
|
17
10
|
drawnVerdict,
|
|
18
11
|
readDrawn,
|
|
19
12
|
scoreDrawnFrame
|
|
20
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FGJUVWAM.js";
|
|
21
14
|
import {
|
|
22
15
|
compareLook,
|
|
23
16
|
look,
|
|
24
17
|
sameLook
|
|
25
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2LJPBYKI.js";
|
|
26
19
|
import {
|
|
27
20
|
faceBoxes
|
|
28
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SC7SX2I3.js";
|
|
22
|
+
import {
|
|
23
|
+
avSync
|
|
24
|
+
} from "./chunk-WQGDE3L6.js";
|
|
25
|
+
import {
|
|
26
|
+
compareEnergy,
|
|
27
|
+
energyCurve
|
|
28
|
+
} from "./chunk-FQ26QE5N.js";
|
|
29
29
|
import {
|
|
30
30
|
parseMask,
|
|
31
31
|
repeated
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GMIFMRWR.js";
|
|
33
33
|
import {
|
|
34
34
|
classifiedCuts,
|
|
35
35
|
confirmsCut,
|
|
36
36
|
frameChanges,
|
|
37
37
|
signatures
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-HOCV5AW6.js";
|
|
38
|
+
} from "./chunk-L456Q4KU.js";
|
|
39
|
+
import "./chunk-ELDZ6C3R.js";
|
|
40
|
+
import "./chunk-R3ONQOLE.js";
|
|
41
|
+
import "./chunk-WI3FM54X.js";
|
|
43
42
|
import {
|
|
44
43
|
Fix,
|
|
45
44
|
decode,
|
|
@@ -56,131 +55,262 @@ import {
|
|
|
56
55
|
sumOf,
|
|
57
56
|
videoClip,
|
|
58
57
|
writeImage
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-OYKAS3J5.js";
|
|
59
|
+
import "./chunk-LB6ZAP4I.js";
|
|
60
|
+
import "./chunk-4VJQVTQI.js";
|
|
61
|
+
import "./chunk-MVA4OQL7.js";
|
|
61
62
|
import "./chunk-D3NWGOXW.js";
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-KGPHUBBA.js";
|
|
64
|
+
import "./chunk-TFAKFI3R.js";
|
|
64
65
|
import "./chunk-3S27CPV7.js";
|
|
65
|
-
import "./chunk-BAWGEGKD.js";
|
|
66
66
|
import "./chunk-6BEFEWFB.js";
|
|
67
67
|
import "./chunk-RZ6CXJ56.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-6R4MEYWD.js";
|
|
69
69
|
import "./chunk-ECGNWHFE.js";
|
|
70
70
|
import {
|
|
71
71
|
readCompositionFps
|
|
72
|
-
} from "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-LH5FRVAO.js";
|
|
72
|
+
} from "./chunk-TIBFCGLT.js";
|
|
73
|
+
import "./chunk-RHFB457E.js";
|
|
75
74
|
import "./chunk-XT7X6QCP.js";
|
|
76
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-OF7SQ77J.js";
|
|
77
76
|
import "./chunk-HVW7ABXD.js";
|
|
78
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-JT7RXK2N.js";
|
|
78
|
+
import "./chunk-6ATP7YPZ.js";
|
|
79
|
+
import "./chunk-3QMGLSKC.js";
|
|
80
|
+
import "./chunk-PXVQOMKL.js";
|
|
81
|
+
import "./chunk-NGRWDXRZ.js";
|
|
82
|
+
import "./chunk-DMW5SSUN.js";
|
|
83
|
+
import "./chunk-N6QWL3E7.js";
|
|
79
84
|
import "./chunk-XFF4XJZO.js";
|
|
80
|
-
import "./chunk-
|
|
81
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-65X2G57W.js";
|
|
86
|
+
import "./chunk-TNFTRLLJ.js";
|
|
82
87
|
import "./chunk-AWDFDFI3.js";
|
|
83
88
|
import "./chunk-662337AC.js";
|
|
84
89
|
import "./chunk-D3UCUI7G.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
-
import "./chunk-RFULFCYW.js";
|
|
87
|
-
import "./chunk-WUY74LHU.js";
|
|
88
|
-
import "./chunk-PXVQOMKL.js";
|
|
89
|
-
import "./chunk-MCDNAIFF.js";
|
|
90
|
-
import "./chunk-DMW5SSUN.js";
|
|
90
|
+
import "./chunk-YBYNBKCN.js";
|
|
91
91
|
import {
|
|
92
92
|
defineCommand
|
|
93
93
|
} from "./chunk-DL4OD7IA.js";
|
|
94
94
|
import "./chunk-S3S4TGEH.js";
|
|
95
|
-
import "./chunk-YAROSZMP.js";
|
|
96
95
|
import "./chunk-54HJ63Q2.js";
|
|
96
|
+
import "./chunk-YAROSZMP.js";
|
|
97
97
|
import {
|
|
98
98
|
c
|
|
99
99
|
} from "./chunk-JCNPHRGX.js";
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-OSKSTJNQ.js";
|
|
100
|
+
import "./chunk-CC72LTIT.js";
|
|
102
101
|
import "./chunk-Z5J67X44.js";
|
|
102
|
+
import "./chunk-PJQVJSMG.js";
|
|
103
|
+
import "./chunk-3GXQPCJC.js";
|
|
103
104
|
import "./chunk-YXX6CIHL.js";
|
|
104
105
|
import "./chunk-5S7W3TUO.js";
|
|
105
106
|
import "./chunk-D54ZDCZR.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-I6OSAVHD.js";
|
|
107
108
|
import {
|
|
108
109
|
replaceFileAtomically
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-3GXQPCJC.js";
|
|
110
|
+
} from "./chunk-K2WLOTTF.js";
|
|
111
111
|
import {
|
|
112
112
|
fpsToNumber,
|
|
113
113
|
parseFps
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-QHVE6AFU.js";
|
|
115
115
|
import "./chunk-FXMKHHPO.js";
|
|
116
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-NI7JVGOE.js";
|
|
117
117
|
import "./chunk-VC76R6W2.js";
|
|
118
|
-
import "./chunk-
|
|
118
|
+
import "./chunk-MHF5F4FF.js";
|
|
119
|
+
import "./chunk-UVZIABYZ.js";
|
|
119
120
|
import "./chunk-RQVDTPGD.js";
|
|
120
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-Q4FVSYTD.js";
|
|
121
122
|
import "./chunk-KGPLIH7B.js";
|
|
122
|
-
import "./chunk-
|
|
123
|
+
import "./chunk-WKE3WTIU.js";
|
|
123
124
|
import "./chunk-6LU6JICP.js";
|
|
124
|
-
import "./chunk-
|
|
125
|
+
import "./chunk-HLOJSBGC.js";
|
|
125
126
|
import "./chunk-6EMFSRTW.js";
|
|
126
|
-
import "./chunk-
|
|
127
|
+
import "./chunk-CIXP5G7Z.js";
|
|
127
128
|
import "./chunk-IH2C53YV.js";
|
|
128
|
-
import "./chunk-
|
|
129
|
+
import "./chunk-4NDSGKPO.js";
|
|
129
130
|
import "./chunk-FR7YBU3H.js";
|
|
130
131
|
import "./chunk-DZWAYZG2.js";
|
|
132
|
+
import "./chunk-WC4MTXGN.js";
|
|
131
133
|
import "./chunk-GWTIFRF5.js";
|
|
132
134
|
import "./chunk-2RY2LWAA.js";
|
|
133
|
-
import "./chunk-
|
|
135
|
+
import "./chunk-KK5Z5XQ3.js";
|
|
134
136
|
import "./chunk-WFQJ6EJ6.js";
|
|
135
137
|
import "./chunk-4NTCQF3L.js";
|
|
136
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-KUJJJBV2.js";
|
|
137
139
|
import {
|
|
138
140
|
withMeta
|
|
139
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-3DFEBAWJ.js";
|
|
140
142
|
import "./chunk-BR2JQQC5.js";
|
|
141
143
|
import "./chunk-AWD2MWWL.js";
|
|
142
144
|
import "./chunk-ISN5GRYI.js";
|
|
143
|
-
import "./chunk-ADVVQX4I.js";
|
|
144
145
|
import "./chunk-GR2E54E6.js";
|
|
146
|
+
import "./chunk-LMNCEQCC.js";
|
|
145
147
|
import {
|
|
146
148
|
failCommand,
|
|
147
149
|
scheduleCliExit,
|
|
148
150
|
setCommandExitCode
|
|
149
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-U7M4SZUB.js";
|
|
150
152
|
import "./chunk-CPHQTXP5.js";
|
|
151
153
|
import "./chunk-QBXDU24O.js";
|
|
152
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-JLMMY3UI.js";
|
|
153
155
|
import {
|
|
154
156
|
normalizeErrorMessage
|
|
155
157
|
} from "./chunk-E63BDV4Z.js";
|
|
156
158
|
import "./chunk-LW33P24U.js";
|
|
157
159
|
import "./chunk-XT6MXC7A.js";
|
|
158
160
|
import "./chunk-7KDQAD2W.js";
|
|
159
|
-
import "./chunk-
|
|
160
|
-
import "./chunk-
|
|
161
|
+
import "./chunk-VFGFXE6J.js";
|
|
162
|
+
import "./chunk-RX67N2PU.js";
|
|
161
163
|
import "./chunk-M2WBOQ2Q.js";
|
|
162
164
|
|
|
163
165
|
// src/commands/diff.ts
|
|
164
|
-
import { basename as basename2, extname, join as
|
|
166
|
+
import { basename as basename2, extname, join as join4, resolve as resolve2 } from "path";
|
|
165
167
|
|
|
166
168
|
// src/measure/diff.ts
|
|
167
169
|
import {
|
|
168
170
|
copyFileSync,
|
|
169
171
|
existsSync as existsSync2,
|
|
170
172
|
mkdirSync,
|
|
171
|
-
mkdtempSync as
|
|
172
|
-
readdirSync,
|
|
173
|
-
readFileSync as
|
|
173
|
+
mkdtempSync as mkdtempSync3,
|
|
174
|
+
readdirSync as readdirSync2,
|
|
175
|
+
readFileSync as readFileSync3,
|
|
174
176
|
rmSync as rmSync2,
|
|
175
177
|
statSync
|
|
176
178
|
} from "fs";
|
|
177
|
-
import { tmpdir as
|
|
178
|
-
import { basename, dirname, join as
|
|
179
|
+
import { tmpdir as tmpdir3 } from "os";
|
|
180
|
+
import { basename, dirname, join as join3, resolve } from "path";
|
|
179
181
|
|
|
180
|
-
// src/measure/
|
|
181
|
-
import {
|
|
182
|
+
// src/measure/layer.ts
|
|
183
|
+
import { constants, cpSync, mkdtempSync, readdirSync, readFileSync, writeFileSync } from "fs";
|
|
182
184
|
import { tmpdir } from "os";
|
|
183
185
|
import { join } from "path";
|
|
186
|
+
var FOOTPRINT_LEVELS = 25;
|
|
187
|
+
var MIN_FOOTPRINT = 100;
|
|
188
|
+
var REDUNDANT_MAE = 8;
|
|
189
|
+
var SHIFT = 40;
|
|
190
|
+
var SHIFT_STEP = 2;
|
|
191
|
+
var SCALES = [0.8, 0.85, 0.9, 0.95, 1.05, 1.1, 1.15, 1.2];
|
|
192
|
+
var SCALE_SHIFT = 6;
|
|
193
|
+
var SCALE_GAIN = 0.9;
|
|
194
|
+
var FIT_SAMPLE = 2e4;
|
|
195
|
+
function hiddenCopy(project, selector) {
|
|
196
|
+
const dir = mkdtempSync(join(tmpdir(), "hf-diff-hidden-"));
|
|
197
|
+
for (const name of readdirSync(project))
|
|
198
|
+
if (name !== "renders" && name !== "node_modules")
|
|
199
|
+
cpSync(join(project, name), join(dir, name), {
|
|
200
|
+
recursive: true,
|
|
201
|
+
mode: constants.COPYFILE_FICLONE
|
|
202
|
+
});
|
|
203
|
+
const index = join(dir, "index.html");
|
|
204
|
+
const html = readFileSync(index, "utf8");
|
|
205
|
+
const style = `<style>${selector}{visibility:hidden!important}</style>`;
|
|
206
|
+
writeFileSync(
|
|
207
|
+
index,
|
|
208
|
+
html.includes("</head>") ? html.replace("</head>", `${style}</head>`) : style + html
|
|
209
|
+
);
|
|
210
|
+
return dir;
|
|
211
|
+
}
|
|
212
|
+
function mae(a, b, idx, bIdx = idx) {
|
|
213
|
+
let sum = 0;
|
|
214
|
+
for (let n = 0; n < idx.length; n++)
|
|
215
|
+
for (let c2 = 0; c2 < 3; c2++) sum += Math.abs(a[idx[n] * 3 + c2] - b[bIdx[n] * 3 + c2]);
|
|
216
|
+
return sum / (idx.length * 3);
|
|
217
|
+
}
|
|
218
|
+
function moved(xs, ys, w, h, [cx, cy], scale, dx, dy) {
|
|
219
|
+
const out = new Int32Array(xs.length);
|
|
220
|
+
for (let n = 0; n < xs.length; n++) {
|
|
221
|
+
const x = Math.min(w - 1, Math.max(0, Math.round(cx + scale * (xs[n] - cx) + dx)));
|
|
222
|
+
const y = Math.min(h - 1, Math.max(0, Math.round(cy + scale * (ys[n] - cy) + dy)));
|
|
223
|
+
out[n] = y * w + x;
|
|
224
|
+
}
|
|
225
|
+
return out;
|
|
226
|
+
}
|
|
227
|
+
function instruction([dx, dy], scale) {
|
|
228
|
+
const parts = [
|
|
229
|
+
...dy ? [`move ${dy > 0 ? "down" : "up"} ${Math.abs(dy)} px`] : [],
|
|
230
|
+
...dx ? [`move ${dx > 0 ? "right" : "left"} ${Math.abs(dx)} px`] : [],
|
|
231
|
+
...scale === 1 ? [] : [`make it ${Math.round(Math.abs(scale - 1) * 100)}% ${scale > 1 ? "larger" : "smaller"}`]
|
|
232
|
+
];
|
|
233
|
+
return parts.join(", ") || "in place";
|
|
234
|
+
}
|
|
235
|
+
function footprintOf(withLayer, without, pixels) {
|
|
236
|
+
const at = [];
|
|
237
|
+
for (let i = 0; i < pixels; i++)
|
|
238
|
+
for (let c2 = 0; c2 < 3; c2++)
|
|
239
|
+
if (Math.abs(withLayer[i * 3 + c2] - without[i * 3 + c2]) > FOOTPRINT_LEVELS) {
|
|
240
|
+
at.push(i);
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
return Int32Array.from(at);
|
|
244
|
+
}
|
|
245
|
+
function fitLayer(err) {
|
|
246
|
+
let best = { offset: [0, 0], scale: 1, mae: err(1, 0, 0) };
|
|
247
|
+
const tryFit = (scale, dx, dy) => {
|
|
248
|
+
const m = err(scale, dx, dy);
|
|
249
|
+
if (m < best.mae) best = { offset: [dx, dy], scale, mae: m };
|
|
250
|
+
};
|
|
251
|
+
for (let dy = -SHIFT; dy <= SHIFT; dy += SHIFT_STEP)
|
|
252
|
+
for (let dx = -SHIFT; dx <= SHIFT; dx += SHIFT_STEP) tryFit(1, dx, dy);
|
|
253
|
+
const moveOnly = best;
|
|
254
|
+
const [bx, by] = best.offset;
|
|
255
|
+
for (const scale of SCALES)
|
|
256
|
+
for (let dy = by - SCALE_SHIFT; dy <= by + SCALE_SHIFT; dy += SHIFT_STEP)
|
|
257
|
+
for (let dx = bx - SCALE_SHIFT; dx <= bx + SCALE_SHIFT; dx += SHIFT_STEP)
|
|
258
|
+
tryFit(scale, dx, dy);
|
|
259
|
+
return best.mae > SCALE_GAIN * moveOnly.mae ? moveOnly : best;
|
|
260
|
+
}
|
|
261
|
+
function scoreLayerFrame(t, ref, withLayer, without, w, h) {
|
|
262
|
+
const idx = footprintOf(withLayer, without, w * h);
|
|
263
|
+
if (idx.length < MIN_FOOTPRINT) return { t, footprint_px: idx.length };
|
|
264
|
+
let [x0, x1, y0, y1] = [w, -1, h, -1];
|
|
265
|
+
for (const i of idx) {
|
|
266
|
+
const [x, y] = [i % w, Math.floor(i / w)];
|
|
267
|
+
[x0, x1, y0, y1] = [Math.min(x0, x), Math.max(x1, x), Math.min(y0, y), Math.max(y1, y)];
|
|
268
|
+
}
|
|
269
|
+
const centre2 = [(x0 + x1) / 2, (y0 + y1) / 2];
|
|
270
|
+
const head = {
|
|
271
|
+
t,
|
|
272
|
+
footprint_px: idx.length,
|
|
273
|
+
bbox: [x0, y0, x1 - x0 + 1, y1 - y0 + 1],
|
|
274
|
+
mae_with: round(mae(ref, withLayer, idx), 1),
|
|
275
|
+
mae_without: round(mae(ref, without, idx), 1)
|
|
276
|
+
};
|
|
277
|
+
if (head.mae_without < REDUNDANT_MAE)
|
|
278
|
+
return {
|
|
279
|
+
...head,
|
|
280
|
+
benefit: null,
|
|
281
|
+
note: "leaving the layer out already matches the original here: the original has nothing more there, or the footage carries its copy of the layer"
|
|
282
|
+
};
|
|
283
|
+
const step = Math.ceil(idx.length / FIT_SAMPLE);
|
|
284
|
+
const sample = idx.filter((_, n) => n % step === 0);
|
|
285
|
+
const xs = sample.map((i) => i % w);
|
|
286
|
+
const ys = sample.map((i) => Math.floor(i / w));
|
|
287
|
+
const fit = fitLayer(
|
|
288
|
+
(scale, dx, dy) => mae(ref, withLayer, moved(xs, ys, w, h, centre2, scale, dx, dy), sample)
|
|
289
|
+
);
|
|
290
|
+
return {
|
|
291
|
+
...head,
|
|
292
|
+
benefit: round(1 - head.mae_with / head.mae_without, 3),
|
|
293
|
+
fit: { ...fit, mae: round(fit.mae, 1) },
|
|
294
|
+
instruction: instruction(fit.offset, fit.scale)
|
|
295
|
+
};
|
|
296
|
+
}
|
|
297
|
+
function layerVerdict(selector, frames) {
|
|
298
|
+
const scored = frames.flatMap((f) => typeof f.benefit === "number" ? [f.benefit] : []);
|
|
299
|
+
const sorted = [...scored].sort((a, b) => a - b);
|
|
300
|
+
const mid = sorted.length >> 1;
|
|
301
|
+
return {
|
|
302
|
+
selector,
|
|
303
|
+
frames,
|
|
304
|
+
benefit_median: sorted.length ? round(sorted.length % 2 ? sorted[mid] : (sorted[mid - 1] + sorted[mid]) / 2, 3) : null,
|
|
305
|
+
worse: frames.filter((f) => typeof f.benefit === "number" && f.benefit < 0).map((f) => f.t),
|
|
306
|
+
redundant: frames.filter((f) => f.benefit === null).map((f) => f.t)
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
// src/measure/person.ts
|
|
311
|
+
import { existsSync, mkdtempSync as mkdtempSync2, readFileSync as readFileSync2, rmSync } from "fs";
|
|
312
|
+
import { tmpdir as tmpdir2 } from "os";
|
|
313
|
+
import { join as join2 } from "path";
|
|
184
314
|
var FRAMING_SHIFT = 0.3;
|
|
185
315
|
var FRAMING_SCALE = [0.8, 1.25];
|
|
186
316
|
var FRAMING_MIN_S = 1;
|
|
@@ -250,7 +380,7 @@ function bestLag(a, b) {
|
|
|
250
380
|
function placeClips(clips, project, ref, cuts, shown = /* @__PURE__ */ new Map()) {
|
|
251
381
|
let whole;
|
|
252
382
|
return clips.map((c2) => {
|
|
253
|
-
const file = project ?
|
|
383
|
+
const file = project ? join2(project, c2.path) : void 0;
|
|
254
384
|
let info;
|
|
255
385
|
try {
|
|
256
386
|
info = file ? probeVideo(file) : void 0;
|
|
@@ -290,17 +420,17 @@ function placeClips(clips, project, ref, cuts, shown = /* @__PURE__ */ new Map()
|
|
|
290
420
|
at_cut: [0, ...cuts].some((t) => Math.abs(t - offset) <= AT_CUT_S),
|
|
291
421
|
file,
|
|
292
422
|
info,
|
|
293
|
-
...c2.reference && existsSync(
|
|
423
|
+
...c2.reference && existsSync(join2(project, c2.reference)) ? { still: join2(project, c2.reference) } : {}
|
|
294
424
|
};
|
|
295
425
|
});
|
|
296
426
|
}
|
|
297
427
|
async function clipUses(project) {
|
|
298
428
|
const out = /* @__PURE__ */ new Map();
|
|
299
|
-
const index =
|
|
429
|
+
const index = join2(project, "index.html");
|
|
300
430
|
if (!existsSync(index)) return out;
|
|
301
431
|
const [{ ensureDOMParser }, { describeProject }] = await Promise.all([
|
|
302
432
|
import("./dom-VFHEO7VM.js"),
|
|
303
|
-
import("./describeProject-
|
|
433
|
+
import("./describeProject-7W6BN5A2.js")
|
|
304
434
|
]);
|
|
305
435
|
ensureDOMParser();
|
|
306
436
|
const timeline = await describeProject(index);
|
|
@@ -320,7 +450,7 @@ var normalize = (p) => p.replace(/^\.\//, "").replace(/\\/g, "/");
|
|
|
320
450
|
function boxAt(info, times, box, w, h) {
|
|
321
451
|
const ks = times.map((t) => Math.max(0, Math.min(info.frames - 1, Math.round(t * info.fps))));
|
|
322
452
|
const unique = [...new Set(ks)].sort((x, y) => x - y);
|
|
323
|
-
const work =
|
|
453
|
+
const work = mkdtempSync2(join2(tmpdir2(), "hf-person-"));
|
|
324
454
|
try {
|
|
325
455
|
const filters = [
|
|
326
456
|
`select=${sumOf(unique.map((k) => `eq(n\\,${k})`))}`,
|
|
@@ -337,7 +467,7 @@ function boxAt(info, times, box, w, h) {
|
|
|
337
467
|
void 0,
|
|
338
468
|
work
|
|
339
469
|
);
|
|
340
|
-
const raw =
|
|
470
|
+
const raw = readFileSync2(join2(work, "out.rgb"));
|
|
341
471
|
const size = box[2] * box[3] * 3;
|
|
342
472
|
return ks.map((k) => {
|
|
343
473
|
const i = unique.indexOf(k) * size;
|
|
@@ -646,7 +776,7 @@ function ssimSeries(ref, yours, logPath) {
|
|
|
646
776
|
return `[r${k}]${crop}[rc${k}];[o${k}]${crop}[oc${k}];[oc${k}][rc${k}]ssim=stats_file=cell${i}.log:shortest=1[s${k}]`;
|
|
647
777
|
})
|
|
648
778
|
].join(";");
|
|
649
|
-
const work =
|
|
779
|
+
const work = mkdtempSync3(join3(tmpdir3(), "hf-diff-cells-"));
|
|
650
780
|
const all = (text) => [...text.matchAll(/All:([\d.]+)/g)].map((m) => Number(m[1]));
|
|
651
781
|
try {
|
|
652
782
|
const maps = Array.from({ length: n }, (_, i) => ["-map", `[s${i}]`]).flat();
|
|
@@ -659,7 +789,7 @@ function ssimSeries(ref, yours, logPath) {
|
|
|
659
789
|
const frame = all(text);
|
|
660
790
|
const perCell = Array.from(
|
|
661
791
|
{ length: GRID * GRID },
|
|
662
|
-
(_, i) => all(
|
|
792
|
+
(_, i) => all(readFileSync3(join3(work, `cell${i}.log`), "utf8"))
|
|
663
793
|
);
|
|
664
794
|
return { frame, cells: frame.map((_, f) => perCell.map((cell) => cell[f] ?? 1)) };
|
|
665
795
|
} finally {
|
|
@@ -798,9 +928,9 @@ function cutReport(ref, yours, k0, fps) {
|
|
|
798
928
|
};
|
|
799
929
|
}
|
|
800
930
|
async function captureProject(projectDir, times, opts, ref) {
|
|
801
|
-
const { captureSnapshots } = await import("./snapshot-
|
|
802
|
-
const shots =
|
|
803
|
-
const seq =
|
|
931
|
+
const { captureSnapshots } = await import("./snapshot-GI2GWIF6.js");
|
|
932
|
+
const shots = mkdtempSync3(join3(tmpdir3(), "hf-diff-shots-"));
|
|
933
|
+
const seq = mkdtempSync3(join3(tmpdir3(), "hf-diff-seq-"));
|
|
804
934
|
try {
|
|
805
935
|
const captured = await captureSnapshots(projectDir, {
|
|
806
936
|
at: times,
|
|
@@ -817,7 +947,7 @@ async function captureProject(projectDir, times, opts, ref) {
|
|
|
817
947
|
"run npx hyperframes check on the project, then diff again"
|
|
818
948
|
);
|
|
819
949
|
captured.paths.forEach(
|
|
820
|
-
(p, i) => copyFileSync(resolve(projectDir, p),
|
|
950
|
+
(p, i) => copyFileSync(resolve(projectDir, p), join3(seq, `${String(i).padStart(6, "0")}.png`))
|
|
821
951
|
);
|
|
822
952
|
} catch (err) {
|
|
823
953
|
rmSync2(seq, { recursive: true, force: true });
|
|
@@ -828,7 +958,7 @@ async function captureProject(projectDir, times, opts, ref) {
|
|
|
828
958
|
return {
|
|
829
959
|
dir: seq,
|
|
830
960
|
clip: {
|
|
831
|
-
input: ["-framerate", ref.fpsText, "-i",
|
|
961
|
+
input: ["-framerate", ref.fpsText, "-i", join3(seq, "%06d.png")],
|
|
832
962
|
filters: [],
|
|
833
963
|
width: ref.width,
|
|
834
964
|
height: ref.height,
|
|
@@ -904,14 +1034,14 @@ function regeneratedSegment(s, head, ctx) {
|
|
|
904
1034
|
};
|
|
905
1035
|
if (s.end <= -ctx.offset)
|
|
906
1036
|
return { ...head, pass: null, note: "yours starts after this segment at this offset" };
|
|
907
|
-
const
|
|
1037
|
+
const moved2 = regeneratedVerdict(s, ctx.reference, ctx.yours, ctx.ref, void 0, ctx.offset);
|
|
908
1038
|
const person = ctx.person.get(s);
|
|
909
|
-
if (!person || person.pass === null) return { ...head, ...
|
|
1039
|
+
if (!person || person.pass === null) return { ...head, ...moved2 };
|
|
910
1040
|
return {
|
|
911
1041
|
...head,
|
|
912
1042
|
pass: person.pass,
|
|
913
1043
|
scored: "the person: framing, text carried in the generated clip, lip sync",
|
|
914
|
-
person: { ...person, energy:
|
|
1044
|
+
person: { ...person, energy: moved2.energy, look: moved2.look }
|
|
915
1045
|
};
|
|
916
1046
|
}
|
|
917
1047
|
function lowestCell(mine, series, ks, ref) {
|
|
@@ -931,7 +1061,7 @@ function mixedVerdict(s, head, mine, series, ctx) {
|
|
|
931
1061
|
const whole = s.pixels === "regenerated";
|
|
932
1062
|
const roi = whole ? [0, 0, ctx.ref.width, ctx.ref.height] : regionRoi(s.regenerated, ctx.ref.width, ctx.ref.height);
|
|
933
1063
|
const rest = whole ? [] : cellsOutside(roi, ctx.ref.width, ctx.ref.height);
|
|
934
|
-
const
|
|
1064
|
+
const moved2 = ctx.mode === "video" ? regeneratedVerdict(
|
|
935
1065
|
s,
|
|
936
1066
|
ctx.reference,
|
|
937
1067
|
ctx.yours,
|
|
@@ -940,10 +1070,10 @@ function mixedVerdict(s, head, mine, series, ctx) {
|
|
|
940
1070
|
ctx.offset
|
|
941
1071
|
) : void 0;
|
|
942
1072
|
const gates = ctx.person.get(s);
|
|
943
|
-
const person = gates ||
|
|
1073
|
+
const person = gates || moved2 ? {
|
|
944
1074
|
...gates ?? { gates: { framing: null, text: null, sync: null }, pass: null },
|
|
945
|
-
energy:
|
|
946
|
-
look:
|
|
1075
|
+
energy: moved2?.energy,
|
|
1076
|
+
look: moved2?.look
|
|
947
1077
|
} : void 0;
|
|
948
1078
|
const st = rest.length ? scores(
|
|
949
1079
|
mine.map((i) => rest.reduce((sum, c2) => sum + series.cells[i][c2], 0) / rest.length),
|
|
@@ -1103,7 +1233,7 @@ function findLedger(yours, segmentsFile) {
|
|
|
1103
1233
|
...existsSync2(yours) && statSync(yours).isDirectory() ? [yours] : [],
|
|
1104
1234
|
...segmentsFile ? [dirname(segmentsFile)] : []
|
|
1105
1235
|
];
|
|
1106
|
-
return dirs.flatMap((d) => [
|
|
1236
|
+
return dirs.flatMap((d) => [join3(d, ".media", "manifest.jsonl"), join3(d, "media-manifest.jsonl")]).find((f) => existsSync2(f));
|
|
1107
1237
|
}
|
|
1108
1238
|
function frameSpans(on, ks, fps) {
|
|
1109
1239
|
const spans = [];
|
|
@@ -1195,12 +1325,12 @@ async function worstMoments(picks, ctx) {
|
|
|
1195
1325
|
(y * (2 * cw + 4) + side * (cw + 4)) * 3
|
|
1196
1326
|
)
|
|
1197
1327
|
);
|
|
1198
|
-
const cellPicture = writeImage(
|
|
1328
|
+
const cellPicture = writeImage(join3(ctx.outDir, `${tag}-cell.png`), pair, 2 * cw + 4, ch);
|
|
1199
1329
|
const [a, b] = [frameOf(ctx.refClip, i, sw, sh), frameOf(ctx.yours, i, sw, sh)];
|
|
1200
1330
|
outline(a, sw, scaled);
|
|
1201
1331
|
outline(b, sw, scaled);
|
|
1202
|
-
images.push(writeImage(
|
|
1203
|
-
images.push(writeImage(
|
|
1332
|
+
images.push(writeImage(join3(ctx.outDir, `${tag}-original.png`), a, sw, sh));
|
|
1333
|
+
images.push(writeImage(join3(ctx.outDir, `${tag}-yours.png`), b, sw, sh));
|
|
1204
1334
|
labels.push(
|
|
1205
1335
|
`original ${t}s`,
|
|
1206
1336
|
`yours ${round(t + ctx.offset, 3)}s \xB7 ssim ${round(series.frame[i], 3)} \xB7 cell ${round(cells[c2], 2)}`
|
|
@@ -1213,8 +1343,8 @@ async function worstMoments(picks, ctx) {
|
|
|
1213
1343
|
});
|
|
1214
1344
|
}
|
|
1215
1345
|
if (!images.length) return { worst };
|
|
1216
|
-
const { createContactSheet } = await import("./contactSheet-
|
|
1217
|
-
const sheet = await createContactSheet(images,
|
|
1346
|
+
const { createContactSheet } = await import("./contactSheet-7SPGUTDV.js");
|
|
1347
|
+
const sheet = await createContactSheet(images, join3(ctx.outDir, "worst.jpg"), {
|
|
1218
1348
|
cols: 2,
|
|
1219
1349
|
maxImages: images.length,
|
|
1220
1350
|
cellWidth: 640,
|
|
@@ -1291,7 +1421,7 @@ function rateWarning(ref, rate) {
|
|
|
1291
1421
|
}
|
|
1292
1422
|
function projectRate(dir) {
|
|
1293
1423
|
const parsed = parseFps(
|
|
1294
|
-
readCompositionFps(
|
|
1424
|
+
readCompositionFps(readFileSync3(join3(dir, "index.html"), "utf8")) ?? "30"
|
|
1295
1425
|
);
|
|
1296
1426
|
return parsed.ok ? fpsToNumber(parsed.value) : 30;
|
|
1297
1427
|
}
|
|
@@ -1304,13 +1434,18 @@ async function diffVideos(options) {
|
|
|
1304
1434
|
"the original's frame rate varies, so frame times drift: npx hyperframes measure probe makes a constant-rate copy"
|
|
1305
1435
|
);
|
|
1306
1436
|
const mode = existsSync2(opts.yours) && statSync(opts.yours).isDirectory() ? "project" : "video";
|
|
1307
|
-
if (mode === "project" && !existsSync2(
|
|
1437
|
+
if (mode === "project" && !existsSync2(join3(opts.yours, "index.html")))
|
|
1308
1438
|
throw new Fix(`${opts.yours} has no index.html`, "pass a project folder or a rendered video");
|
|
1309
1439
|
if (mode === "project" && !opts.at && !opts.range && opts.segments?.length)
|
|
1310
1440
|
opts.range = [
|
|
1311
1441
|
Math.min(...opts.segments.map((s) => s.start)),
|
|
1312
1442
|
Math.max(...opts.segments.map((s) => s.end))
|
|
1313
1443
|
];
|
|
1444
|
+
if (opts.hide !== void 0 && mode !== "project")
|
|
1445
|
+
throw new Fix(
|
|
1446
|
+
"--hide needs a project folder to capture without the layer",
|
|
1447
|
+
"pass the project folder as yours"
|
|
1448
|
+
);
|
|
1314
1449
|
if (mode === "project" && !opts.at && !opts.range)
|
|
1315
1450
|
throw new Fix(
|
|
1316
1451
|
"a project folder is compared at chosen times, not whole",
|
|
@@ -1343,9 +1478,21 @@ async function diffVideos(options) {
|
|
|
1343
1478
|
const refClip = { ...videoClip(opts.reference, 0, void 0, ref), filters: select };
|
|
1344
1479
|
let yours;
|
|
1345
1480
|
let seqDir;
|
|
1481
|
+
let without;
|
|
1346
1482
|
if (mode === "project") {
|
|
1347
|
-
const
|
|
1483
|
+
const times = captureTimes(ks, ref.fps, offset);
|
|
1484
|
+
const captured = await captureProject(opts.yours, times, opts, ref);
|
|
1348
1485
|
[yours, seqDir] = [captured.clip, captured.dir];
|
|
1486
|
+
if (opts.hide !== void 0) {
|
|
1487
|
+
const copy = hiddenCopy(opts.yours, opts.hide);
|
|
1488
|
+
try {
|
|
1489
|
+
without = { ...await captureProject(copy, times, opts, ref), copy };
|
|
1490
|
+
} catch (err) {
|
|
1491
|
+
rmSync2(copy, { recursive: true, force: true });
|
|
1492
|
+
rmSync2(seqDir, { recursive: true, force: true });
|
|
1493
|
+
throw err;
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1349
1496
|
} else {
|
|
1350
1497
|
yours = {
|
|
1351
1498
|
...videoClip(opts.yours, 0, void 0, yoursInfo),
|
|
@@ -1356,9 +1503,9 @@ async function diffVideos(options) {
|
|
|
1356
1503
|
if (offRate) warnings.push(offRate);
|
|
1357
1504
|
try {
|
|
1358
1505
|
mkdirSync(opts.outDir, { recursive: true });
|
|
1359
|
-
for (const f of
|
|
1360
|
-
if (/^worst-/.test(f)) rmSync2(
|
|
1361
|
-
const logPath =
|
|
1506
|
+
for (const f of readdirSync2(opts.outDir))
|
|
1507
|
+
if (/^worst-/.test(f)) rmSync2(join3(opts.outDir, f), { force: true });
|
|
1508
|
+
const logPath = join3(opts.outDir, "ssim.log");
|
|
1362
1509
|
const series = ssimSeries(refClip, yours, logPath);
|
|
1363
1510
|
if (!series.frame.length)
|
|
1364
1511
|
throw new Fix("ffmpeg compared no frames", "check both videos play and overlap in time");
|
|
@@ -1366,7 +1513,7 @@ async function diffVideos(options) {
|
|
|
1366
1513
|
warnings.push(`yours ends early: ${series.frame.length} of ${ks.length} frames compared`);
|
|
1367
1514
|
const worstCell = series.cells.map((cells) => Math.min(...cells));
|
|
1368
1515
|
replaceFileAtomically(
|
|
1369
|
-
|
|
1516
|
+
join3(opts.outDir, "frames.tsv"),
|
|
1370
1517
|
[
|
|
1371
1518
|
"t frame ssim worst_cell cell",
|
|
1372
1519
|
...series.frame.map((v, i) => {
|
|
@@ -1426,7 +1573,7 @@ async function diffVideos(options) {
|
|
|
1426
1573
|
...lengths,
|
|
1427
1574
|
pass: Math.abs(ref.pictureDuration - yoursInfo.pictureDuration) <= 1.5 / ref.fps
|
|
1428
1575
|
} : void 0;
|
|
1429
|
-
const ledgerText = opts.ledger && existsSync2(opts.ledger) ?
|
|
1576
|
+
const ledgerText = opts.ledger && existsSync2(opts.ledger) ? readFileSync3(opts.ledger, "utf8") : void 0;
|
|
1430
1577
|
const people = /* @__PURE__ */ new Map();
|
|
1431
1578
|
let clips = [];
|
|
1432
1579
|
const regenerated = opts.segments?.some((s) => s.regenerated || s.pixels === "regenerated");
|
|
@@ -1480,6 +1627,27 @@ async function diffVideos(options) {
|
|
|
1480
1627
|
ref,
|
|
1481
1628
|
series.frame.length
|
|
1482
1629
|
) : void 0;
|
|
1630
|
+
const layer = without && layerVerdict(
|
|
1631
|
+
opts.hide,
|
|
1632
|
+
series.frame.map(
|
|
1633
|
+
(_, i) => scoreLayerFrame(
|
|
1634
|
+
round(ks[i] / ref.fps, 3),
|
|
1635
|
+
...[refClip, yours, without.clip].map(
|
|
1636
|
+
(clip) => frameOf(clip, i, ref.width, ref.height)
|
|
1637
|
+
),
|
|
1638
|
+
ref.width,
|
|
1639
|
+
ref.height
|
|
1640
|
+
)
|
|
1641
|
+
)
|
|
1642
|
+
);
|
|
1643
|
+
if (layer?.worse.length)
|
|
1644
|
+
warnings.push(
|
|
1645
|
+
`${opts.hide} is further from the original than leaving it out at ${layer.worse.map((t2) => `${t2} s`).join(", ")}`
|
|
1646
|
+
);
|
|
1647
|
+
if (layer?.redundant.length)
|
|
1648
|
+
warnings.push(
|
|
1649
|
+
`the backdrop already shows what ${opts.hide} draws at ${layer.redundant.map((t2) => `${t2} s`).join(", ")}: not scored`
|
|
1650
|
+
);
|
|
1483
1651
|
const ledger = ledgerText ? wholeFrameCuts(ledgerText, ref.width, ref.height) : void 0;
|
|
1484
1652
|
const reuse = ledger && (ledger.windows.length || ledger.stills.length) ? wholeFrameReuse(
|
|
1485
1653
|
ledger,
|
|
@@ -1504,7 +1672,7 @@ async function diffVideos(options) {
|
|
|
1504
1672
|
`${Math.round(reuse.share * 100)}% of frames play the original's whole frame: pass --segments <file> to tell footage from copied drawings`
|
|
1505
1673
|
);
|
|
1506
1674
|
const sound = whole ? soundOffset(opts.reference, opts.yours, ref, yoursInfo) : void 0;
|
|
1507
|
-
const sbs = opts.sbs && mode === "video" ? sideBySide(opts.reference, opts.yours, ref,
|
|
1675
|
+
const sbs = opts.sbs && mode === "video" ? sideBySide(opts.reference, opts.yours, ref, join3(opts.outDir, "sbs.mp4"), offset) : void 0;
|
|
1508
1676
|
const judged = segments ? segments.every((s) => s.pass !== false) : passes(overall, t);
|
|
1509
1677
|
const top = segments ? headline(
|
|
1510
1678
|
segments,
|
|
@@ -1530,20 +1698,23 @@ async function diffVideos(options) {
|
|
|
1530
1698
|
...top ? top : {},
|
|
1531
1699
|
...segments ? { segments } : {},
|
|
1532
1700
|
...elements ? { drawn: elements } : {},
|
|
1701
|
+
...layer ? { layer } : {},
|
|
1533
1702
|
...sheet ? { sheet } : {},
|
|
1534
1703
|
...sbs ? { sbs } : {},
|
|
1535
1704
|
log: logPath,
|
|
1536
|
-
frames:
|
|
1705
|
+
frames: join3(opts.outDir, "frames.tsv"),
|
|
1537
1706
|
...options.offset === void 0 ? {} : { offset: options.offset },
|
|
1538
1707
|
warnings
|
|
1539
1708
|
};
|
|
1540
1709
|
} finally {
|
|
1541
1710
|
if (seqDir) rmSync2(seqDir, { recursive: true, force: true });
|
|
1711
|
+
if (without)
|
|
1712
|
+
for (const dir of [without.dir, without.copy]) rmSync2(dir, { recursive: true, force: true });
|
|
1542
1713
|
}
|
|
1543
1714
|
}
|
|
1544
1715
|
|
|
1545
1716
|
// src/measure/segments.ts
|
|
1546
|
-
import { existsSync as existsSync3, readFileSync as
|
|
1717
|
+
import { existsSync as existsSync3, readFileSync as readFileSync4 } from "fs";
|
|
1547
1718
|
var HEADING = /^##\s+(S\d+)\s*[·|-]\s*(\d+(?:\.\d+)?)\s*[–—-]\s*(\d+(?:\.\d+)?)\s*s\b\s*(?:[·|-]\s*(.*))?$/gm;
|
|
1548
1719
|
var SOURCES = ["rebuilt", "reused", "regenerated"];
|
|
1549
1720
|
var PIXELS = /^Pixels:\s*(rebuilt|reused|regenerated)\b/im;
|
|
@@ -1588,7 +1759,7 @@ function parseSegments(markdown) {
|
|
|
1588
1759
|
function readSegments(path) {
|
|
1589
1760
|
if (!existsSync3(path))
|
|
1590
1761
|
throw new Fix(`no segments file at ${path}`, "pass a file of `## S01 \xB7 a\u2013b s` segments");
|
|
1591
|
-
const segments = parseSegments(
|
|
1762
|
+
const segments = parseSegments(readFileSync4(path, "utf8"));
|
|
1592
1763
|
if (!segments.length)
|
|
1593
1764
|
throw new Fix(
|
|
1594
1765
|
`${path} has no "## S01 \xB7 0.00\u20132.40 s \xB7 title" segment headings`,
|
|
@@ -1615,6 +1786,10 @@ var examples = [
|
|
|
1615
1786
|
"Score one drawn element (a title's box) by itself at chosen moments of a project",
|
|
1616
1787
|
"hyperframes diff original.mp4 . --at 1,1.5,2 --drawn 120,670,485,115"
|
|
1617
1788
|
],
|
|
1789
|
+
[
|
|
1790
|
+
"Score a project's captions by what they add: captured with and without them, with where to move each",
|
|
1791
|
+
'hyperframes diff original.mp4 . --at 1,2.5,4 --hide ".cap"'
|
|
1792
|
+
],
|
|
1618
1793
|
[
|
|
1619
1794
|
"Judge each segment of the final render and write a side-by-side",
|
|
1620
1795
|
"hyperframes diff original.mp4 renders/final.mp4 --segments segments.md --sbs"
|
|
@@ -1640,8 +1815,8 @@ function personLine(p) {
|
|
|
1640
1815
|
...(p.text ?? []).filter((t) => t.carried).map((t) => `${t.clip} carries ${t.drawn}'s text`),
|
|
1641
1816
|
...(p.sync ?? []).filter((x) => x.pass === false).map((x) => `lips ${x.lag_ms} ms off at ${x.window[0]} s`)
|
|
1642
1817
|
];
|
|
1643
|
-
const
|
|
1644
|
-
return `person ${p.pass === null ? "\u2014" : p.pass ? "\u2713" : "\u2717"}${off.length ? ` ${off.join("; ")}` : ""}${
|
|
1818
|
+
const moved2 = p.energy ? `, motion \xD7${p.energy.mean_ratio} (reported)` : "";
|
|
1819
|
+
return `person ${p.pass === null ? "\u2014" : p.pass ? "\u2713" : "\u2717"}${off.length ? ` ${off.join("; ")}` : ""}${moved2}`;
|
|
1645
1820
|
}
|
|
1646
1821
|
function printHuman(r) {
|
|
1647
1822
|
const mark = r.pass ? c.success("\u2713 pass") : c.error("\u2717 fail");
|
|
@@ -1705,6 +1880,15 @@ function printHuman(r) {
|
|
|
1705
1880
|
` ${state} ${d.id} ${d.box.join(",")} ${d.window[0]}\u2013${d.window[1]} s: ${detail}`
|
|
1706
1881
|
);
|
|
1707
1882
|
}
|
|
1883
|
+
if (r.layer)
|
|
1884
|
+
console.log(
|
|
1885
|
+
` layer ${r.layer.selector}: benefit median ${r.layer.benefit_median ?? "\u2014"} (1 matches the original, 0 is no better than without it)`
|
|
1886
|
+
);
|
|
1887
|
+
for (const f of r.layer?.frames ?? []) {
|
|
1888
|
+
const state = f.benefit === void 0 || f.benefit === null ? c.dim("\u2014") : f.benefit >= 0 ? c.success("\u2713") : c.error("\u2717");
|
|
1889
|
+
const detail = f.benefit === void 0 ? "the layer draws nothing here" : f.benefit === null ? f.note : `benefit ${f.benefit}, ${f.instruction} (box ${f.bbox.join(",")})`;
|
|
1890
|
+
console.log(` ${state} ${f.t} s: ${detail}`);
|
|
1891
|
+
}
|
|
1708
1892
|
for (const w of r.warnings) console.log(` ${c.warn("\u26A0")} ${w}`);
|
|
1709
1893
|
if (r.sheet) console.log(` sheet ${r.sheet}`);
|
|
1710
1894
|
if (r.sbs) console.log(` side by side ${r.sbs}`);
|
|
@@ -1766,6 +1950,10 @@ var diff_default = defineCommand({
|
|
|
1766
1950
|
type: "string",
|
|
1767
1951
|
description: "A drawn element's box x,y,w,h in the original's pixels, optionally its seconds a-b (repeatable): scored by itself whatever is behind it, with its offset and ink (yours over the original's: under 1 is lighter, thinner or smaller)"
|
|
1768
1952
|
},
|
|
1953
|
+
hide: {
|
|
1954
|
+
type: "string",
|
|
1955
|
+
description: 'A CSS selector for one layer of a project (".cap"): captured with and without it, each moment scores what the layer adds (benefit, 1 matches the original, under 0 is worse than without it) and where to move or resize it'
|
|
1956
|
+
},
|
|
1769
1957
|
json: { type: "boolean", description: "Print one JSON result", default: false }
|
|
1770
1958
|
},
|
|
1771
1959
|
// fallow-ignore-next-line complexity
|
|
@@ -1793,6 +1981,7 @@ var diff_default = defineCommand({
|
|
|
1793
1981
|
project: args.project === void 0 ? void 0 : resolve2(String(args.project)),
|
|
1794
1982
|
drawn: repeated(rawArgs, "--drawn").map(parseDrawn),
|
|
1795
1983
|
offset: args.offset === void 0 ? void 0 : parseOffset(args.offset),
|
|
1984
|
+
hide: args.hide === void 0 ? void 0 : String(args.hide),
|
|
1796
1985
|
thresholds: {
|
|
1797
1986
|
mean: number(args["min-mean"], "--min-mean"),
|
|
1798
1987
|
p05: number(args["min-p05"], "--min-p05"),
|
|
@@ -1800,7 +1989,7 @@ var diff_default = defineCommand({
|
|
|
1800
1989
|
},
|
|
1801
1990
|
worst: number(args.worst, "--worst"),
|
|
1802
1991
|
sbs: args.sbs === true,
|
|
1803
|
-
outDir: outDir(args.out,
|
|
1992
|
+
outDir: outDir(args.out, join4("diff", stem)),
|
|
1804
1993
|
timeoutMs: number(args.timeout, "--timeout"),
|
|
1805
1994
|
log: (message) => console.error(message)
|
|
1806
1995
|
});
|