hyperframes 0.9.70 → 0.9.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-OB25YJFY.js → add-XWHDS7YX.js} +13 -13
- package/dist/{agentPromptGenerator-YEMOLBHX.js → agentPromptGenerator-BLMDKRCG.js} +8 -8
- package/dist/{animatedGifPrep-CWO57DSI.js → animatedGifPrep-UE462FBV.js} +8 -8
- package/dist/api.js +33 -33
- package/dist/{asset-2FYOS6IZ.js → asset-BLC34AN6.js} +6 -6
- package/dist/{assetCataloger-EP4UNIT6.js → assetCataloger-MG6KCN75.js} +9 -9
- package/dist/{audio-Q47NEFZE.js → audio-YAFY5J25.js} +19 -19
- package/dist/{auth-JIDEBDKL.js → auth-4CRMXDLN.js} +4 -4
- package/dist/{autoUpdate-G7VXD2UI.js → autoUpdate-RMRYEKVS.js} +2 -2
- package/dist/{avatars-3QXBICLS.js → avatars-JTVLM4MK.js} +15 -15
- package/dist/{backgroundChecks-PUMLSXQL.js → backgroundChecks-SL33RDD3.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-N2I7VETQ.js → batchRender-CZ6LXSKM.js} +5 -5
- package/dist/{beats-XL4LR5EQ.js → beats-SSHPB25F.js} +10 -10
- package/dist/{benchmark-6SDC3GDK.js → benchmark-2VOEXNAG.js} +12 -12
- package/dist/{billing-O5X3PI5S.js → billing-MA7256GL.js} +15 -15
- package/dist/{browser-I2BEMC74.js → browser-ZTPHXS3J.js} +7 -7
- package/dist/{bundleWithLocalizedFonts-DMKRW2UB.js → bundleWithLocalizedFonts-ZPBNLZ6L.js} +1 -1
- package/dist/{capture-XROQXWVQ.js → capture-FLEHXO4D.js} +17 -17
- package/dist/{capture-7M44WLWY.js → capture-WLCFTBVY.js} +7 -7
- package/dist/{captureCompositionFrame-U7EYNX2B.js → captureCompositionFrame-Y27APMZK.js} +15 -15
- package/dist/{catalog-WAEJBDGR.js → catalog-MB363QIW.js} +14 -14
- package/dist/{catch-up-KXRCC6WG.js → catch-up-M5RL2PYQ.js} +8 -8
- package/dist/{check-TJGAEO3K.js → check-R6BJV65S.js} +43 -43
- package/dist/{checkAudio-N7OZ2B44.js → checkAudio-CTBAZEZ4.js} +12 -12
- package/dist/{checkBrowser-WN3DVBRB.js → checkBrowser-WNCJM7D4.js} +36 -36
- package/dist/{chunk-2FHXXMO2.js → chunk-2LTW5J45.js} +11 -12
- package/dist/{chunk-3MN6HZPF.js → chunk-2NPP73LA.js} +2 -2
- package/dist/{chunk-USSVHLTY.js → chunk-2QH7LC2N.js} +2 -2
- package/dist/{chunk-ISVZN3QT.js → chunk-2WDUJDEH.js} +2 -2
- package/dist/{chunk-DAWLQ57Z.js → chunk-3AVPJZGU.js} +1 -1
- package/dist/{chunk-SRGQK4QA.js → chunk-3MJHEGWD.js} +11 -8
- package/dist/{chunk-QH7YF4HP.js → chunk-3NP5S3G6.js} +1 -1
- package/dist/{chunk-HGSRXZJ6.js → chunk-3OTSUGBE.js} +1 -1
- package/dist/{chunk-QGFJ7OY3.js → chunk-3OY4DOGB.js} +2 -2
- package/dist/{chunk-7QNCNGN6.js → chunk-47KES52H.js} +1 -1
- package/dist/{chunk-CVLZUNYV.js → chunk-4KM5FC2Y.js} +2 -2
- package/dist/{chunk-Y5F7NMB5.js → chunk-4L6VD5EC.js} +1 -1
- package/dist/{chunk-PP3VZKEY.js → chunk-4VNK4SSU.js} +3 -3
- package/dist/{chunk-V6IDC754.js → chunk-5QBONJKT.js} +1 -1
- package/dist/{chunk-2FPWK2SB.js → chunk-5VHQS6YQ.js} +2 -2
- package/dist/{chunk-ZHHJOXV4.js → chunk-6ESQKLNR.js} +1 -1
- package/dist/{chunk-UODN7SXX.js → chunk-6OCWJJLC.js} +11 -7
- package/dist/{chunk-3EJQGAHO.js → chunk-6UIELAGX.js} +1 -1
- package/dist/{chunk-GH4FCEFX.js → chunk-6UUF7VEA.js} +1 -1
- package/dist/{chunk-6M3LVFUZ.js → chunk-77H7YCR4.js} +1 -1
- package/dist/{chunk-CL2W6KRU.js → chunk-77PZ7BBT.js} +1 -1
- package/dist/{chunk-5EJ2MQQN.js → chunk-A6ZYZED3.js} +21 -21
- package/dist/{chunk-EI4K5XOY.js → chunk-AJ6EPEUU.js} +3 -3
- package/dist/{chunk-2ERWAKRM.js → chunk-ARBHOMLB.js} +1 -1
- package/dist/{chunk-J7HSRUDY.js → chunk-BNCJBI7K.js} +2 -2
- package/dist/{chunk-O6G4TTLL.js → chunk-C4262VTW.js} +1 -1
- package/dist/{chunk-Q4JP4Y3M.js → chunk-CNOH3G6W.js} +3 -3
- package/dist/{chunk-MNUZ3EPM.js → chunk-CRTKWMS5.js} +11 -11
- package/dist/{chunk-KAFGC547.js → chunk-CSXAUBGU.js} +1 -1
- package/dist/{chunk-CHRUH235.js → chunk-CW3TCFCI.js} +4 -4
- package/dist/{chunk-LFU7OM3M.js → chunk-DBLPDI6N.js} +7 -7
- package/dist/{chunk-GAF2FZG4.js → chunk-DE3BPVY4.js} +2 -2
- package/dist/{chunk-OTYZU7WK.js → chunk-DE7TZC76.js} +10 -10
- package/dist/{chunk-MMCMJJXU.js → chunk-DHPUX7Q2.js} +1 -1
- package/dist/{chunk-FN7T5YLO.js → chunk-DHSVK2NO.js} +3 -3
- package/dist/{chunk-SMAS442E.js → chunk-DLBAENCZ.js} +26 -29
- package/dist/{chunk-6MGLBXWL.js → chunk-DMSWCKVS.js} +9 -9
- package/dist/{chunk-BOSDYIEF.js → chunk-DPKQTAJH.js} +3 -3
- package/dist/{chunk-MIH574RA.js → chunk-DVUB3NJI.js} +1 -1
- package/dist/{chunk-CN4FUPM4.js → chunk-E7D7KG7O.js} +1 -1
- package/dist/{chunk-RJBRGH6N.js → chunk-EHDUOOIH.js} +3 -3
- package/dist/{chunk-LDGHWWJT.js → chunk-ETEKL25D.js} +2 -2
- package/dist/{chunk-MTKXKULM.js → chunk-EXQTV3OZ.js} +1 -1
- package/dist/{chunk-HELZOSTI.js → chunk-EXZQ7VUS.js} +1 -1
- package/dist/{chunk-QGZG33SS.js → chunk-FMA53TF7.js} +1 -1
- package/dist/{chunk-5E46EQ3U.js → chunk-FPVUZ4OL.js} +1 -1
- package/dist/{chunk-5GPBUBWD.js → chunk-GEKUZPSK.js} +3 -3
- package/dist/{chunk-YQIBUGNM.js → chunk-GN6CIYSK.js} +2 -2
- package/dist/{chunk-ZNRZPC73.js → chunk-GYK5TUEU.js} +3 -3
- package/dist/{chunk-TQG2HQ5A.js → chunk-HAMBGPXQ.js} +2 -2
- package/dist/{chunk-UNMSSSDP.js → chunk-HFXOEUXM.js} +1 -1
- package/dist/{chunk-MMFWGCAX.js → chunk-HIG3JV5T.js} +8 -8
- package/dist/{chunk-XRJO4OHW.js → chunk-HZGO2GNX.js} +1 -1
- package/dist/{chunk-TGAFH3LS.js → chunk-IEQCOWZU.js} +2 -2
- package/dist/{chunk-O5F6C2WE.js → chunk-IPSLXUKG.js} +1 -1
- package/dist/{chunk-TYGEX4GI.js → chunk-IVSDEUPE.js} +14 -14
- package/dist/{chunk-DAFKZNMG.js → chunk-IYVCMBYV.js} +4 -4
- package/dist/{chunk-UKJW2DTU.js → chunk-JOJ35UOG.js} +2 -2
- package/dist/{chunk-U3X2REBN.js → chunk-JPQNMMYT.js} +1 -1
- package/dist/chunk-KTVURB6P.js +5148 -0
- package/dist/{chunk-5OCGHKBS.js → chunk-LTRRYJSA.js} +3 -3
- package/dist/{chunk-JRTHO6IU.js → chunk-M5MDKF6U.js} +3 -3
- package/dist/{chunk-36PT62LR.js → chunk-MEIQSBM3.js} +2 -2
- package/dist/{chunk-3NKJTDCV.js → chunk-MHVMNSCB.js} +1 -1
- package/dist/{chunk-LEOXORSR.js → chunk-MODACKQY.js} +2 -2
- package/dist/{chunk-IPCCR4XI.js → chunk-MRXUJ3MV.js} +7 -7
- package/dist/{chunk-HKS663HD.js → chunk-N242PSDK.js} +2 -2
- package/dist/{chunk-SHNFWJZ2.js → chunk-NBGYJ7B3.js} +2 -2
- package/dist/{chunk-GVGAFJPD.js → chunk-ND53YU4M.js} +2 -2
- package/dist/{chunk-Y2E24JP2.js → chunk-NWGLQ7SR.js} +1 -1
- package/dist/{chunk-2IIMKKDD.js → chunk-NWOMYHWS.js} +1 -1
- package/dist/{chunk-BACVICA3.js → chunk-OPDA3GMT.js} +1 -1
- package/dist/{chunk-GVUVOII5.js → chunk-OVBCL5FU.js} +4 -4
- package/dist/{chunk-XJGEVPOA.js → chunk-P77PIIRV.js} +1 -1
- package/dist/{chunk-FREE2DZY.js → chunk-PFVEPQLT.js} +1 -1
- package/dist/{chunk-Y45YJNK7.js → chunk-Q2ZB6CXS.js} +4 -4
- package/dist/{chunk-F4N5H26K.js → chunk-Q3XMQVDG.js} +4 -4
- package/dist/{chunk-4NDSGKPO.js → chunk-QURE6VDP.js} +16 -5
- package/dist/{chunk-IIUGI5TK.js → chunk-R6ARS4HA.js} +17 -11
- package/dist/{chunk-QP2QJ5K2.js → chunk-R6LA7R2G.js} +5 -5
- package/dist/{chunk-KZ5PV5TL.js → chunk-RADFYYSJ.js} +19 -2
- package/dist/{chunk-CLIIBA2G.js → chunk-RBIU5EPK.js} +1 -1
- package/dist/{chunk-T2X7UEE4.js → chunk-RJHHZEFV.js} +1 -1
- package/dist/{chunk-PCL6LYMV.js → chunk-RKVDGDTB.js} +6 -6
- package/dist/{chunk-W4ORI6T3.js → chunk-RS34CIQG.js} +5 -5
- package/dist/{chunk-KTP74HGT.js → chunk-S3JPCNRU.js} +1 -1
- package/dist/{chunk-3LEB7WKD.js → chunk-S44NPI2H.js} +1 -1
- package/dist/{chunk-2SVL2LI6.js → chunk-S6A2CTIE.js} +75 -34
- package/dist/{chunk-SSVUBWCH.js → chunk-SBD775KI.js} +1 -1
- package/dist/{chunk-TIT3F3JC.js → chunk-T2J2E27U.js} +1 -1
- package/dist/{chunk-PH42355D.js → chunk-T62PZIBF.js} +3 -3
- package/dist/{chunk-2HJDVY37.js → chunk-T6FUWIRT.js} +4 -4
- package/dist/{chunk-R2TM7CS5.js → chunk-TYCJTCIL.js} +1 -1
- package/dist/{chunk-PZITE5EX.js → chunk-U4C2AK5M.js} +11 -11
- package/dist/{chunk-4KE3UFUS.js → chunk-UMRF36PX.js} +88 -47
- package/dist/{chunk-P4YNH5CF.js → chunk-URATFSHD.js} +1 -1
- package/dist/{chunk-46S73TBZ.js → chunk-V4XODAJ3.js} +2 -2
- package/dist/{chunk-YGPYCV2D.js → chunk-VK2J45KH.js} +2 -2
- package/dist/{chunk-SK24LBA2.js → chunk-VSUDCHZG.js} +2 -2
- package/dist/{chunk-N52C7TQ4.js → chunk-W5GEGL53.js} +2 -2
- package/dist/{chunk-UVXERISW.js → chunk-WA3VZSMD.js} +5 -5
- package/dist/{chunk-IK7EURH6.js → chunk-WQ57PQIL.js} +2 -2
- package/dist/{chunk-HBZH2LAU.js → chunk-X6XTWKCX.js} +52 -13
- package/dist/{chunk-FWKO64VP.js → chunk-XNKIHG7E.js} +13 -13
- package/dist/{chunk-R7KKJC5C.js → chunk-YCJJRFHP.js} +1 -1
- package/dist/{chunk-DF2UZ56O.js → chunk-YCT3TQ53.js} +1 -1
- package/dist/{chunk-CPQTWPMM.js → chunk-Z56VK5EM.js} +1 -1
- package/dist/{chunk-W5V27MB6.js → chunk-ZH3Z4CMQ.js} +2 -2
- package/dist/{clean-72HIE4YL.js → clean-4QI63VWI.js} +19 -19
- package/dist/cli.js +68 -68
- package/dist/{cloud-636TX2BM.js → cloud-2D2FPOAS.js} +8 -8
- package/dist/{cloud-QDKM6N4I.js → cloud-4AYLCFXV.js} +4 -4
- package/dist/{cloudrun-TL45TRAX.js → cloudrun-OW4PMMBU.js} +7 -7
- package/dist/{compare-CB7OY3YL.js → compare-X7574P5M.js} +34 -34
- package/dist/{compiler-WGLCDTPO.js → compiler-FBCFBEVR.js} +7 -5
- package/dist/{component-E4ZL4VOR.js → component-IAATW22P.js} +7 -7
- package/dist/{compositions-IUHDXAQR.js → compositions-3LUIEPYT.js} +14 -14
- package/dist/{curve-JV2FOUGH.js → curve-7H65IJGX.js} +12 -12
- package/dist/{cuts-TNIAVAIW.js → cuts-YMQPCCMK.js} +13 -13
- package/dist/{delete-FXHTTCL6.js → delete-LTH43TQ2.js} +10 -10
- package/dist/{deploy-MTEFXQW2.js → deploy-X4NGXNMK.js} +2 -2
- package/dist/{describeProject-IAYIZACI.js → describeProject-2MZQPUIN.js} +10 -10
- package/dist/{destroy-MUICCZYW.js → destroy-F27X4BSW.js} +2 -2
- package/dist/{deterministicFonts-645ILNLP.js → deterministicFonts-LAVFR7ST.js} +2 -2
- package/dist/{diff-6ZRQZONO.js → diff-3XOE6HG3.js} +33 -33
- package/dist/{dist-ZPV47FCH.js → dist-KK4LXXZ2.js} +3 -3
- package/dist/{dist-X5B32EU4.js → dist-LU5D4LW7.js} +4 -4
- package/dist/{dist-435FS3PH.js → dist-YVWNTGL3.js} +12 -12
- package/dist/{doctor-4QNEKEDV.js → doctor-QPOIJ2NR.js} +12 -12
- package/dist/{dotEnv-A6WBJIUK.js → dotEnv-YOQMWFNF.js} +5 -5
- package/dist/{energy-NN2K2UTA.js → energy-VJ27SJEY.js} +13 -13
- package/dist/{events-35IDRIEZ.js → events-2JLEGPPH.js} +7 -7
- package/dist/{events-2NN5JVRJ.js → events-CZND4KW2.js} +2 -2
- package/dist/{events-F5YQ6L6V.js → events-V7P42MG3.js} +15 -15
- package/dist/{execute-M7CWJD3Y.js → execute-2JP3CJMK.js} +27 -27
- package/dist/{extract-IZVF55FY.js → extract-46N3SUQY.js} +13 -13
- package/dist/{face-HTX6V7NW.js → face-7V6G7KYX.js} +13 -13
- package/dist/{face-LYUPME7N.js → face-YXPQ5D5V.js} +10 -10
- package/dist/{feedback-ZUTJT2JL.js → feedback-77SRGPAG.js} +14 -14
- package/dist/{ffmpeg-JAKAMPVF.js → ffmpeg-QAULWC67.js} +8 -8
- package/dist/{figma-VUSWO73O.js → figma-OD5ESSI4.js} +3 -3
- package/dist/fontLocalizeCli.js +12 -12
- package/dist/{frames-Y2TCFDTN.js → frames-MS6XRSHU.js} +14 -14
- package/dist/{generate-W6EKLTBG.js → generate-ANGMXYC3.js} +25 -25
- package/dist/{get-356CGHW2.js → get-S6WXKTDS.js} +10 -10
- package/dist/{gpuPolicy-U2ARKKHK.js → gpuPolicy-VQFOQQYQ.js} +8 -8
- package/dist/{grade-compare-SDYYPPUR.js → grade-compare-L67KOIK7.js} +33 -33
- package/dist/{hands-KUSBZXNU.js → hands-35AMXCAK.js} +14 -14
- package/dist/{heifImagePrep-XP2LWF4K.js → heifImagePrep-DCWFFQRJ.js} +9 -9
- package/dist/{help-OH7AJFJN.js → help-GT2BYSUO.js} +1 -1
- package/dist/{history-JV5IGLJB.js → history-TAZ3JKGK.js} +10 -10
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +72 -72
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KWBP5T3B.js → info-EDVUZ6C5.js} +14 -14
- package/dist/{init-6ZFO7GEQ.js → init-BSVJKLRB.js} +28 -28
- package/dist/{ink-KR634EBG.js → ink-LIEJHJD6.js} +13 -13
- package/dist/{inspect-QCRDMCXE.js → inspect-YHEUR53N.js} +37 -37
- package/dist/inspection.js +1 -2088
- package/dist/{installer-QVPWLJGP.js → installer-Y7MOWIYS.js} +6 -6
- package/dist/{keyframes-RBHX4AHX.js → keyframes-Q2VCJDAF.js} +16 -14
- package/dist/{lambda-GFMDJ4WZ.js → lambda-MEFG5LJQ.js} +14 -14
- package/dist/{launch-XLEBN2IW.js → launch-FY2JFGOT.js} +9 -9
- package/dist/{layout-6UXQUL6T.js → layout-6W5DINBY.js} +37 -37
- package/dist/{lint-BLWTJMXW.js → lint-KYGSUGVZ.js} +11 -11
- package/dist/{lintProject-3GXSYHIU.js → lintProject-FBFR7O2G.js} +3 -3
- package/dist/{list-BHKIKZYM.js → list-XE5RHEEY.js} +10 -10
- package/dist/{localPage-PG6ELY2L.js → localPage-Z7LGTYR2.js} +8 -8
- package/dist/{login-BR5WBRHQ.js → login-Y6BCS3JB.js} +10 -10
- package/dist/{logout-PV4NXB35.js → logout-ISUH3ZWQ.js} +6 -6
- package/dist/{look-XMUJ2LVS.js → look-BWLF7IML.js} +13 -13
- package/dist/{manager-IHYC7UTF.js → manager-EIIBQKQX.js} +9 -9
- package/dist/{measure-MKFXMCUP.js → measure-JXWBOYEX.js} +12 -12
- package/dist/{media-KYQWREVI.js → media-EGNEEACI.js} +9 -9
- package/dist/{media-treatment-VOGGAEEM.js → media-treatment-XEGZQEFP.js} +16 -16
- package/dist/{media-use-SB5K7FMP.js → media-use-EFQ2BPQM.js} +9 -9
- package/dist/{models-OF5SWCVQ.js → models-M5SCRKPF.js} +12 -12
- package/dist/{motionShot-EDY7KCJC.js → motionShot-UQ6NTHJP.js} +18 -18
- package/dist/{normalize-audio-TW3QBWSN.js → normalize-audio-5JCB2HCI.js} +11 -11
- package/dist/{oauth-RWPEXJPO.js → oauth-DVFQMBWX.js} +4 -4
- package/dist/{open-6HWIWJPA.js → open-R4MALQKL.js} +14 -14
- package/dist/{parakeetRunner-LBAOF2EL.js → parakeetRunner-D4IKJLIT.js} +13 -13
- package/dist/{pipeline-UWLKV3OK.js → pipeline-QZIJWBVD.js} +11 -11
- package/dist/{plan-H6764BT6.js → plan-EFAHJHAI.js} +19 -19
- package/dist/{play-R45NBRHH.js → play-L5DV5IQM.js} +23 -23
- package/dist/{preflight-LTWUS6KZ.js → preflight-N47VXI3H.js} +9 -9
- package/dist/{present-HQAJCWWF.js → present-CVT6CHJS.js} +19 -19
- package/dist/{preview-NH7M36RM.js → preview-ZIEDS5EN.js} +20 -20
- package/dist/{privateProjectFile-35JQWH43.js → privateProjectFile-TURAMXG6.js} +4 -4
- package/dist/{probe-FRCQIA3Q.js → probe-RNDZW5JD.js} +13 -13
- package/dist/{producer-BHVQNUSS.js → producer-CH55FS26.js} +1 -1
- package/dist/{projectConfig-X6QIF5K7.js → projectConfig-E3FY2DBH.js} +8 -8
- package/dist/{publication-LMS4SDEX.js → publication-DO2SCIXS.js} +4 -4
- package/dist/{publish-E77MV4U7.js → publish-MZDYJQPP.js} +18 -18
- package/dist/{receivedRecordFollow-7KG7AHPZ.js → receivedRecordFollow-QCZFP4HL.js} +7 -7
- package/dist/{refresh-6W3IWT25.js → refresh-UUUL77GJ.js} +6 -6
- package/dist/{remove-background-B4UP7U6D.js → remove-background-E73KHYRC.js} +12 -12
- package/dist/{render-W7GRWYLW.js → render-HEPV3YU3.js} +29 -29
- package/dist/{render-3WU5JGHQ.js → render-HYE4VCCN.js} +38 -38
- package/dist/{render-32E25QMM.js → render-U6PZWGUV.js} +7 -7
- package/dist/{render-batch-LGWZGAVO.js → render-batch-JEUJ6EZD.js} +7 -7
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-FGWA2ULU.js → resolver-KGEFMJ3G.js} +6 -6
- package/dist/{reverse-45NIGLX3.js → reverse-NKHFJU5N.js} +1 -1
- package/dist/{run-DGPYX7OH.js → run-NU27ZVP2.js} +8 -8
- package/dist/{screenshotCapture-CPJLZKU2.js → screenshotCapture-TQND5WAK.js} +10 -10
- package/dist/{service-6RUDBS5J.js → service-TQ6BSTIQ.js} +14 -14
- package/dist/{share-HKMUCHZH.js → share-LGS3YIO6.js} +17 -17
- package/dist/{sherpa-VZ7CSNUR.js → sherpa-XE2PVYNT.js} +12 -12
- package/dist/skills/media-use/audio/scripts/audio.mjs +12 -7
- package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +7 -4
- package/dist/skills/media-use/audio/scripts/wait-bgm.mjs +13 -7
- package/dist/skills/media-use/scripts/audio-duck.mjs +5 -2
- package/dist/skills/media-use/scripts/dither.mjs +4 -3
- package/dist/skills/media-use/scripts/lib/codex-provider.mjs +4 -1
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/heygen-search.mjs +4 -1
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +4 -1
- package/dist/skills/media-use/scripts/lib/mflux-provider.mjs +5 -2
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +27 -4
- package/dist/skills/media-use/scripts/lib/terminal-text.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/terminal-text.mjs +9 -0
- package/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +2 -1
- package/dist/skills/media-use/scripts/transcribe.mjs +9 -3
- package/dist/skills/media-use/scripts/transcript-cut.mjs +8 -5
- package/dist/{skills-CI5AMDVJ.js → skills-PXOV33AC.js} +10 -10
- package/dist/{skillsUpdateCheck-IGE6UQA6.js → skillsUpdateCheck-2FBSAJ22.js} +3 -3
- package/dist/{snapshot-AWHDC5RL.js → snapshot-JHI2FKUO.js} +42 -42
- package/dist/{snapshotHeldVideos-Q3X4IJDP.js → snapshotHeldVideos-BUY7XBI2.js} +9 -9
- package/dist/{src-PLBQVHOG.js → src-T6K3VPXH.js} +7 -7
- package/dist/{src-JLUEYWIO.js → src-XJOJW5RZ.js} +11 -11
- package/dist/{start-T4KAUQBY.js → start-CE556AMS.js} +23 -23
- package/dist/{staticProjectServer-5UXPYN7E.js → staticProjectServer-EAXLMYDM.js} +20 -20
- package/dist/{status-YWAFZZF5.js → status-KNH7MD5E.js} +15 -15
- package/dist/studio/assets/{hyperframes-player-DbKnA7Gb.js → hyperframes-player-DqReb4X0.js} +1 -1
- package/dist/studio/assets/{index-C1pMpHNI.js → index-CEWlhXBE.js} +1 -1
- package/dist/studio/assets/{index-B6udBl3J.js → index-CcVJGJWt.js} +122 -122
- package/dist/studio/assets/{pausedVideoDecoder-CMlybc04.js → pausedVideoDecoder-BIHwpgUB.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Y6AVBF55.js → studio-api-F2RUYN3D.js} +12 -12
- package/dist/{studioServer-RO3MQKUI.js → studioServer-H66TRJEE.js} +61 -61
- package/dist/subCompositionWorker.js +20 -23
- package/dist/{sync-AGMXKLDL.js → sync-IICYK6ZZ.js} +13 -13
- package/dist/{telemetry-OXPSYNFL.js → telemetry-7RHY5NXL.js} +7 -7
- package/dist/{templates-AKPQC2MW.js → templates-KNTJ7UHN.js} +15 -15
- package/dist/{textOverFace-7OQZKRS5.js → textOverFace-HCQ2ARZ6.js} +3 -3
- package/dist/{timeline-BL7TPJ4S.js → timeline-IJMTJ2Z4.js} +20 -20
- package/dist/{tokens-XFXXBPQP.js → tokens-53F2OGSX.js} +6 -6
- package/dist/{transcribe-3AOQAMTZ.js → transcribe-CGABVCYD.js} +27 -27
- package/dist/{transcribe-DV5YLWJ5.js → transcribe-HQLUK6QL.js} +11 -11
- package/dist/{tts-CXIWZ6EE.js → tts-MRNDK2OS.js} +4 -4
- package/dist/{update-YP23WT7A.js → update-DFATNVNM.js} +11 -11
- package/dist/{updateCheck-IZ6NIWYW.js → updateCheck-ZAMNFB7U.js} +2 -2
- package/dist/{upgrade-MSHA4MOR.js → upgrade-ZBN3FUYF.js} +3 -3
- package/dist/{urlDownloader-WAJ3XRVI.js → urlDownloader-27M3WTMJ.js} +7 -7
- package/dist/{validate-OFIOTGHR.js → validate-XS6VQQWO.js} +27 -27
- package/dist/{video-V5ETW572.js → video-42GENFKJ.js} +9 -9
- package/dist/{voices-GPE67NEB.js → voices-GFVEEVSX.js} +23 -23
- package/dist/warmCheck.js +43 -43
- package/package.json +1 -1
- package/dist/chunk-TTJQMYTF.js +0 -5146
|
@@ -58,6 +58,7 @@ import { mapWithConcurrency } from "./lib/concurrency.mjs";
|
|
|
58
58
|
import { openAudioMeta } from "./lib/audio-meta.mjs";
|
|
59
59
|
import { recordInManifest, voicePaths, writtenAssets } from "./lib/media-record.mjs";
|
|
60
60
|
import { engineBgmLog, projectPath } from "./lib/project-path.mjs";
|
|
61
|
+
import { terminalText } from "../../scripts/lib/terminal-text.mjs";
|
|
61
62
|
|
|
62
63
|
const HERE = dirname(fileURLToPath(import.meta.url));
|
|
63
64
|
const argv = process.argv.slice(2);
|
|
@@ -67,7 +68,7 @@ const flag = (name, def) => {
|
|
|
67
68
|
};
|
|
68
69
|
const has = (name) => argv.includes(`--${name}`);
|
|
69
70
|
const die = (m) => {
|
|
70
|
-
console.error(`✗ audio engine: ${m}
|
|
71
|
+
console.error(`✗ audio engine: ${m}`.split("\n").map(terminalText).join("\n"));
|
|
71
72
|
process.exit(1);
|
|
72
73
|
};
|
|
73
74
|
const r3 = (x) => Number(x.toFixed(3));
|
|
@@ -162,7 +163,7 @@ if (only.has("tts") && lines.length) {
|
|
|
162
163
|
ttsProvider = "recording"; // every line is the person's own recording: no TTS provider to pick
|
|
163
164
|
voiceId = null;
|
|
164
165
|
}
|
|
165
|
-
console.error(`· tts: ${ttsProvider} · voice ${voiceId} · ${lines.length} line(s)`);
|
|
166
|
+
console.error(terminalText(`· tts: ${ttsProvider} · voice ${voiceId} · ${lines.length} line(s)`));
|
|
166
167
|
// A line with `audio` is the person's own recording (path inside the project), with optional
|
|
167
168
|
// `words`; `speed` applies to it like to a generated voice. Returns synthesizeOne's shape.
|
|
168
169
|
const useRecording = (line, abs) => {
|
|
@@ -221,7 +222,9 @@ if (only.has("tts") && lines.length) {
|
|
|
221
222
|
const results = await mapWithConcurrency(lines, ttsConcurrency, synthLine);
|
|
222
223
|
voices = results.filter(Boolean);
|
|
223
224
|
for (const v of voices)
|
|
224
|
-
console.error(
|
|
225
|
+
console.error(
|
|
226
|
+
terminalText(` voice ${v.id}: ${v.path} (${v.duration_s}s, ${v.words.length} words)`),
|
|
227
|
+
);
|
|
225
228
|
}
|
|
226
229
|
const hasVoice = voices.length > 0;
|
|
227
230
|
const totalDuration = r3(voices.reduce((a, v) => a + (v.duration_s || 0), 0));
|
|
@@ -271,7 +274,7 @@ if (only.has("bgm")) {
|
|
|
271
274
|
if (bgm) {
|
|
272
275
|
bgmFields.bgm_provider = "heygen";
|
|
273
276
|
bgmFields.bgm_mode = "retrieve";
|
|
274
|
-
console.error(` bgm: ${bgm.path} (retrieve "${bgm.query}")`);
|
|
277
|
+
console.error(terminalText(` bgm: ${bgm.path} (retrieve "${bgm.query}")`));
|
|
275
278
|
} else {
|
|
276
279
|
anomalies.push(`bgm: no music match for "${request.bgm?.query ?? ""}" — skipped`);
|
|
277
280
|
}
|
|
@@ -307,7 +310,9 @@ if (only.has("bgm")) {
|
|
|
307
310
|
bgmFields.bgm_target_duration_s = gen.target_duration_s ?? null;
|
|
308
311
|
bgmFields.bgm_seed_duration_s = gen.seed_duration_s ?? null;
|
|
309
312
|
bgmFields.bgm_loop_count = gen.loop_count ?? null;
|
|
310
|
-
console.error(
|
|
313
|
+
console.error(
|
|
314
|
+
terminalText(` bgm: launched ${gen.provider} (detached, pid ${gen.pid}) → ${gen.path}`),
|
|
315
|
+
);
|
|
311
316
|
}
|
|
312
317
|
}
|
|
313
318
|
}
|
|
@@ -345,7 +350,7 @@ audioMeta.write(meta);
|
|
|
345
350
|
const written = writtenAssets({ only, lines, voices, ttsProvider, bgm, bgmFields, sfx });
|
|
346
351
|
anomalies.push(...recordInManifest(hyperframesDir, written));
|
|
347
352
|
|
|
348
|
-
console.log(`✓ audio engine → ${outPath}`);
|
|
353
|
+
console.log(terminalText(`✓ audio engine → ${outPath}`));
|
|
349
354
|
console.log(` heygen: ${heygenOK ? "yes" : "no"} · ran: ${[...only].join(",")}`);
|
|
350
355
|
console.log(
|
|
351
356
|
` voices: ${voices.length} · bgm: ${bgm ? `${bgmFields.bgm_provider}${bgmFields.bgm_pending ? " (pending)" : ""}` : "none"} · sfx: ${sfx.length}`,
|
|
@@ -353,5 +358,5 @@ console.log(
|
|
|
353
358
|
console.log(` total voice duration: ${totalDuration}s`);
|
|
354
359
|
if (anomalies.length) {
|
|
355
360
|
console.log(`\nanomalies (non-fatal):`);
|
|
356
|
-
for (const a of anomalies) console.log(` - ${a}`);
|
|
361
|
+
for (const a of anomalies) console.log(terminalText(` - ${a}`));
|
|
357
362
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, resolve } from "node:path";
|
|
20
20
|
import { heygenAuthHeaders, heygenJSON, loadEnvFromDir } from "./lib/heygen.mjs";
|
|
21
|
+
import { terminalText } from "../../scripts/lib/terminal-text.mjs";
|
|
21
22
|
import { ffprobeDuration, resolveVoiceId, synthesizeOne, withWordIds } from "./lib/tts.mjs";
|
|
22
23
|
|
|
23
24
|
const argv = process.argv.slice(2);
|
|
@@ -29,7 +30,7 @@ function flag(name, def) {
|
|
|
29
30
|
return v.startsWith("--") ? true : v;
|
|
30
31
|
}
|
|
31
32
|
const die = (m) => {
|
|
32
|
-
console.error(`✗ heygen-tts: ${m}
|
|
33
|
+
console.error(`✗ heygen-tts: ${m}`.split("\n").map(terminalText).join("\n"));
|
|
33
34
|
process.exit(1);
|
|
34
35
|
};
|
|
35
36
|
|
|
@@ -77,7 +78,7 @@ if (listOnly) {
|
|
|
77
78
|
headers: authHeaders,
|
|
78
79
|
});
|
|
79
80
|
for (const v of payload.data ?? payload.voices ?? []) {
|
|
80
|
-
console.log(`${v.voice_id}\t${v.name}\t${v.language ?? ""}`);
|
|
81
|
+
console.log(terminalText(`${v.voice_id}\t${v.name}\t${v.language ?? ""}`));
|
|
81
82
|
}
|
|
82
83
|
process.exit(0);
|
|
83
84
|
}
|
|
@@ -91,7 +92,7 @@ const text =
|
|
|
91
92
|
if (!text) die("input text is empty");
|
|
92
93
|
|
|
93
94
|
const voiceId = await resolveVoiceId({ provider: "heygen", userVoice, lang });
|
|
94
|
-
if (!userVoice) console.error(`· using voice ${voiceId}`);
|
|
95
|
+
if (!userVoice) console.error(terminalText(`· using voice ${voiceId}`));
|
|
95
96
|
|
|
96
97
|
// ---------- synthesize (shared engine code) ----------
|
|
97
98
|
const { ok, words, error } = await synthesizeOne({
|
|
@@ -119,4 +120,6 @@ if (wordsPath) {
|
|
|
119
120
|
|
|
120
121
|
const dur = ffprobeDuration(output);
|
|
121
122
|
const durStr = isFinite(dur) ? ` (${dur.toFixed(2)}s)` : "";
|
|
122
|
-
console.log(
|
|
123
|
+
console.log(
|
|
124
|
+
terminalText(`✓ ${output}${durStr}${wordCount ? ` · ${wordsPath} (${wordCount} words)` : ""}`),
|
|
125
|
+
);
|
|
@@ -18,6 +18,7 @@ import { join, resolve } from "node:path";
|
|
|
18
18
|
import { replaceFile } from "../../scripts/lib/manifest.mjs";
|
|
19
19
|
import { recordInManifest } from "./lib/media-record.mjs";
|
|
20
20
|
import { engineBgmLog, projectPath } from "./lib/project-path.mjs";
|
|
21
|
+
import { terminalText } from "../../scripts/lib/terminal-text.mjs";
|
|
21
22
|
|
|
22
23
|
const argv = process.argv.slice(2);
|
|
23
24
|
const flag = (name, def) => {
|
|
@@ -26,7 +27,7 @@ const flag = (name, def) => {
|
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
function die(msg) {
|
|
29
|
-
console.error(`✗ wait-bgm.mjs: ${msg}
|
|
30
|
+
console.error(`✗ wait-bgm.mjs: ${msg}`.split("\n").map(terminalText).join("\n"));
|
|
30
31
|
process.exit(1);
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -89,7 +90,12 @@ function writeStatus(status) {
|
|
|
89
90
|
|
|
90
91
|
if (!existsSync(audioMetaPath)) die(`audio_meta.json missing at ${audioMetaPath}`);
|
|
91
92
|
|
|
92
|
-
|
|
93
|
+
let audioMeta;
|
|
94
|
+
try {
|
|
95
|
+
audioMeta = JSON.parse(readFileSync(audioMetaPath, "utf8"));
|
|
96
|
+
} catch (e) {
|
|
97
|
+
die(`audio_meta.json parse: ${e.message}`);
|
|
98
|
+
}
|
|
93
99
|
// A track path that leads outside the project counts as no track.
|
|
94
100
|
const bgmAbsPath = (audioMeta.bgm?.path && projectPath(hyperframesDir, audioMeta.bgm.path)) || "";
|
|
95
101
|
const bgmPath = bgmAbsPath ? audioMeta.bgm.path : "";
|
|
@@ -118,7 +124,7 @@ if (!base.enabled) {
|
|
|
118
124
|
waited_ms: 0,
|
|
119
125
|
message: "BGM not requested or disabled in audio_meta.json.",
|
|
120
126
|
});
|
|
121
|
-
console.log(`✓ bgm: ${status.status} (${status.message})`);
|
|
127
|
+
console.log(terminalText(`✓ bgm: ${status.status} (${status.message})`));
|
|
122
128
|
process.exit(0);
|
|
123
129
|
}
|
|
124
130
|
|
|
@@ -137,10 +143,10 @@ while (Date.now() - started <= timeoutMs) {
|
|
|
137
143
|
size_bytes: size,
|
|
138
144
|
message: `BGM ready at ${bgmPath}.`,
|
|
139
145
|
});
|
|
140
|
-
console.log(`✓ bgm: ready (${bgmPath}, ${size}B)`);
|
|
146
|
+
console.log(terminalText(`✓ bgm: ready (${bgmPath}, ${size}B)`));
|
|
141
147
|
const generated = { path: bgmPath, type: "bgm", source: "generated", provider: base.provider };
|
|
142
148
|
for (const anomaly of recordInManifest(hyperframesDir, [generated]))
|
|
143
|
-
console.error(` ${anomaly}`);
|
|
149
|
+
console.error(terminalText(` ${anomaly}`));
|
|
144
150
|
process.exit(0);
|
|
145
151
|
}
|
|
146
152
|
|
|
@@ -160,7 +166,7 @@ while (Date.now() - started <= timeoutMs) {
|
|
|
160
166
|
message,
|
|
161
167
|
error_tail: (lastFailure || lastTail).slice(-2000),
|
|
162
168
|
});
|
|
163
|
-
console.log(`! bgm: failed (${status.message})`);
|
|
169
|
+
console.log(terminalText(`! bgm: failed (${status.message})`));
|
|
164
170
|
process.exit(0);
|
|
165
171
|
}
|
|
166
172
|
|
|
@@ -177,4 +183,4 @@ const status = writeStatus({
|
|
|
177
183
|
message: `Timed out waiting for ${bgmPath}; assemble-index will skip BGM if still absent.`,
|
|
178
184
|
log_tail: lastTail.slice(-2000),
|
|
179
185
|
});
|
|
180
|
-
console.log(`! bgm: timeout after ${status.waited_ms}ms (${bgmPath})`);
|
|
186
|
+
console.log(terminalText(`! bgm: timeout after ${status.waited_ms}ms (${bgmPath})`));
|
|
@@ -5,6 +5,7 @@ import { resolve } from "node:path";
|
|
|
5
5
|
import { parseArgs } from "node:util";
|
|
6
6
|
import { duckKeyframes, duckLane, speechSpans } from "./lib/duck.mjs";
|
|
7
7
|
import { track } from "./lib/telemetry.mjs";
|
|
8
|
+
import { terminalText } from "./lib/terminal-text.mjs";
|
|
8
9
|
|
|
9
10
|
const { values: args } = parseArgs({
|
|
10
11
|
options: {
|
|
@@ -51,7 +52,7 @@ try {
|
|
|
51
52
|
await track("media_use_duck", { sequential: !!args.sequential });
|
|
52
53
|
} catch (err) {
|
|
53
54
|
if (args.json) console.log(JSON.stringify({ ok: false, error: err.message }));
|
|
54
|
-
else console.error(`error: ${err.message}
|
|
55
|
+
else console.error(`error: ${err.message}`.split("\n").map(terminalText).join("\n"));
|
|
55
56
|
process.exit(1);
|
|
56
57
|
}
|
|
57
58
|
|
|
@@ -88,7 +89,9 @@ function run() {
|
|
|
88
89
|
return;
|
|
89
90
|
}
|
|
90
91
|
|
|
91
|
-
console.log(
|
|
92
|
+
console.log(
|
|
93
|
+
terminalText(`<!-- auto-duck: ${target} under narration; add to its <audio> element -->`),
|
|
94
|
+
);
|
|
92
95
|
console.log(`data-automation='${JSON.stringify(lane)}'`);
|
|
93
96
|
}
|
|
94
97
|
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
applyErrorDiffusionRgba,
|
|
13
13
|
errorDiffusionBufferLength,
|
|
14
14
|
} from "./lib/error-diffusion.mjs";
|
|
15
|
+
import { terminalText } from "./lib/terminal-text.mjs";
|
|
15
16
|
|
|
16
17
|
const IMAGE_EXTENSIONS = new Set([".png", ".jpg", ".jpeg", ".webp", ".bmp", ".tif", ".tiff"]);
|
|
17
18
|
const OUTPUT_IMAGE_EXTENSIONS = new Set([".png", ".jpg", ".jpeg", ".webp"]);
|
|
@@ -59,13 +60,13 @@ try {
|
|
|
59
60
|
const result = await run();
|
|
60
61
|
if (args.json) console.log(JSON.stringify({ ok: true, ...result }));
|
|
61
62
|
else {
|
|
62
|
-
console.log(`dithered ${result.input} -> ${result.out} (${result.algorithm})`);
|
|
63
|
-
console.log(`next: resolve --from ${result.out} --type ${result.type}`);
|
|
63
|
+
console.log(terminalText(`dithered ${result.input} -> ${result.out} (${result.algorithm})`));
|
|
64
|
+
console.log(terminalText(`next: resolve --from ${result.out} --type ${result.type}`));
|
|
64
65
|
}
|
|
65
66
|
} catch (error) {
|
|
66
67
|
const message = error instanceof Error ? error.message : String(error);
|
|
67
68
|
if (args.json) console.log(JSON.stringify({ ok: false, error: message }));
|
|
68
|
-
else console.error(`error: ${message}
|
|
69
|
+
else console.error(`error: ${message}`.split("\n").map(terminalText).join("\n"));
|
|
69
70
|
process.exit(1);
|
|
70
71
|
}
|
|
71
72
|
|
|
@@ -3,6 +3,7 @@ import { copyFileSync, existsSync, readdirSync, statSync } from "node:fs";
|
|
|
3
3
|
import { homedir } from "node:os";
|
|
4
4
|
import { dirname, join } from "node:path";
|
|
5
5
|
import { discardPrivateOutput, privateOutputPath } from "./private-output.mjs";
|
|
6
|
+
import { terminalLines } from "./terminal-text.mjs";
|
|
6
7
|
|
|
7
8
|
// Image generation via the OpenAI Codex CLI's built-in image tool (gpt-image-2)
|
|
8
9
|
// on the user's ChatGPT subscription: the codex CLI owns auth, media-use holds
|
|
@@ -144,7 +145,9 @@ function generateIn(outPath, intent, flag) {
|
|
|
144
145
|
);
|
|
145
146
|
} catch (err) {
|
|
146
147
|
console.error(
|
|
147
|
-
|
|
148
|
+
terminalLines(
|
|
149
|
+
`media-use: \`codex exec\` image generation failed: ${err.stderr?.toString().trim().slice(-200) || err.message}`,
|
|
150
|
+
),
|
|
148
151
|
);
|
|
149
152
|
return null;
|
|
150
153
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { execFileSync } from "node:child_process";
|
|
2
2
|
import { track } from "./telemetry.mjs";
|
|
3
|
+
import { terminalLines } from "./terminal-text.mjs";
|
|
3
4
|
|
|
4
5
|
// v0.3.0 is the first CLI that can use an OAuth session; v0.1.x/0.2.x reject it
|
|
5
6
|
// ("heygen-cli can't use OAuth yet"), and OAuth is what the free-usage path
|
|
@@ -129,7 +130,7 @@ export function reportHeygenFailure(err, context, trackEvent = track) {
|
|
|
129
130
|
if (ACTIONABLE_MESSAGES.has(message)) {
|
|
130
131
|
console.error(message);
|
|
131
132
|
} else {
|
|
132
|
-
console.error(`media-use: \`${context}\` failed: ${message}`);
|
|
133
|
+
console.error(terminalLines(`media-use: \`${context}\` failed: ${message}`));
|
|
133
134
|
}
|
|
134
135
|
try {
|
|
135
136
|
const tracked = Promise.resolve(
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { execFileSync } from "node:child_process";
|
|
2
2
|
import { HEYGEN_CLIENT_SOURCE_ARGV, reportHeygenFailure } from "./heygen-cli.mjs";
|
|
3
|
+
import { terminalLines } from "./terminal-text.mjs";
|
|
3
4
|
|
|
4
5
|
export function heygenSearch(subcommand, query, { type, limit = 5, minScore, onEmpty } = {}) {
|
|
5
6
|
// execFileSync with an argv array (no shell), so query/type/etc. are passed as
|
|
@@ -36,7 +37,9 @@ export function heygenSearch(subcommand, query, { type, limit = 5, minScore, onE
|
|
|
36
37
|
}
|
|
37
38
|
if (parsed?.error) {
|
|
38
39
|
const e = parsed.error;
|
|
39
|
-
console.error(
|
|
40
|
+
console.error(
|
|
41
|
+
terminalLines(`media-use: \`heygen ${subcommand}\` error: ${e.message ?? JSON.stringify(e)}`),
|
|
42
|
+
);
|
|
40
43
|
return null;
|
|
41
44
|
}
|
|
42
45
|
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
reportHeygenFailure,
|
|
12
12
|
runHeygenJson,
|
|
13
13
|
} from "./heygen-cli.mjs";
|
|
14
|
+
import { terminalText } from "./terminal-text.mjs";
|
|
14
15
|
|
|
15
16
|
export const AVATAR_VIDEO_SIGNIN_MESSAGE = `media-use: avatar video is free for new API users — sign in: ${HEYGEN_AUTH_COMMAND}`;
|
|
16
17
|
|
|
@@ -123,7 +124,7 @@ export async function heygenVideoGenerate(intent, ctx) {
|
|
|
123
124
|
// Preserve the download failure if temporary-directory cleanup fails.
|
|
124
125
|
}
|
|
125
126
|
}
|
|
126
|
-
console.error(`media-use: heygen video download failed: ${err.message}`);
|
|
127
|
+
console.error(terminalText(`media-use: heygen video download failed: ${err.message}`));
|
|
127
128
|
return null;
|
|
128
129
|
}
|
|
129
130
|
|
|
@@ -4,6 +4,7 @@ import { homedir } from "node:os";
|
|
|
4
4
|
import { describeDownload, probeSpecs } from "./specs.mjs";
|
|
5
5
|
import { buildArgv, selectModel, selectModelLadder } from "./local-models.mjs";
|
|
6
6
|
import { discardPrivateOutput, privateOutputPath } from "./private-output.mjs";
|
|
7
|
+
import { terminalLines } from "./terminal-text.mjs";
|
|
7
8
|
|
|
8
9
|
export async function ltxVideoGenerate(
|
|
9
10
|
intent,
|
|
@@ -72,7 +73,9 @@ export async function ltxVideoGenerate(
|
|
|
72
73
|
} catch (err) {
|
|
73
74
|
discardPartial(outPath);
|
|
74
75
|
console.error(
|
|
75
|
-
|
|
76
|
+
terminalLines(
|
|
77
|
+
`media-use: local video gen (${model.id}) failed: ${err.stderr?.toString().trim().slice(-200) || err.message}`,
|
|
78
|
+
),
|
|
76
79
|
);
|
|
77
80
|
continue;
|
|
78
81
|
}
|
|
@@ -3,6 +3,7 @@ import { existsSync, unlinkSync } from "node:fs";
|
|
|
3
3
|
import { describeDownload, probeSpecs } from "./specs.mjs";
|
|
4
4
|
import { buildArgv, selectModelLadder } from "./local-models.mjs";
|
|
5
5
|
import { discardPrivateOutput, privateOutputPath } from "./private-output.mjs";
|
|
6
|
+
import { terminalLines } from "./terminal-text.mjs";
|
|
6
7
|
|
|
7
8
|
// Local image generation via mflux (FLUX-on-MLX), the Mac-native runner.
|
|
8
9
|
// Spec-gated: selectModelLadder("imagegen", specs) returns every FLUX-class
|
|
@@ -87,7 +88,7 @@ export async function mfluxImageGenerate(
|
|
|
87
88
|
}
|
|
88
89
|
if (!snap) {
|
|
89
90
|
discardPartial(outPath);
|
|
90
|
-
console.error(`media-use: local image gen (${model.id}): ${why}`);
|
|
91
|
+
console.error(terminalLines(`media-use: local image gen (${model.id}): ${why}`));
|
|
91
92
|
continue;
|
|
92
93
|
}
|
|
93
94
|
vars.model_path = snap;
|
|
@@ -104,7 +105,9 @@ export async function mfluxImageGenerate(
|
|
|
104
105
|
} catch (err) {
|
|
105
106
|
discardPartial(outPath);
|
|
106
107
|
console.error(
|
|
107
|
-
|
|
108
|
+
terminalLines(
|
|
109
|
+
`media-use: local image gen (${model.id}) failed: ${err.stderr?.toString().trim().slice(-200) || err.message}`,
|
|
110
|
+
),
|
|
108
111
|
);
|
|
109
112
|
continue;
|
|
110
113
|
}
|
|
@@ -196,6 +196,18 @@ function readRecipeJson(dir) {
|
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
+
/** The highest `<slug>@v<N>` archive number in `recipesDir`, 0 when there is none. */
|
|
200
|
+
function highestArchive(recipesDir, slug) {
|
|
201
|
+
const prefix = `${slug}@v`;
|
|
202
|
+
let highest = 0;
|
|
203
|
+
for (const entry of readdirSync(recipesDir)) {
|
|
204
|
+
if (!entry.startsWith(prefix)) continue;
|
|
205
|
+
const number = Number(entry.slice(prefix.length));
|
|
206
|
+
if (Number.isSafeInteger(number) && number > highest) highest = number;
|
|
207
|
+
}
|
|
208
|
+
return highest;
|
|
209
|
+
}
|
|
210
|
+
|
|
199
211
|
function prefValue(prefs, key) {
|
|
200
212
|
return prefs[key]?.value;
|
|
201
213
|
}
|
|
@@ -224,10 +236,21 @@ export function freezeRecipe({ projectDir, name, workflow, blocks }) {
|
|
|
224
236
|
let version = 1;
|
|
225
237
|
const previous = existsSync(dir) ? readRecipeJson(dir) : null;
|
|
226
238
|
if (previous) {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
239
|
+
// recipe.json travels with the project, so its version is untrusted text: only a positive
|
|
240
|
+
// integer may name the archive, and an archive already on disk is never replaced. A
|
|
241
|
+
// malformed version, or one whose archive exists, moves to the first slot above them all.
|
|
242
|
+
const claimed =
|
|
243
|
+
Number.isSafeInteger(previous.version) && previous.version > 0 ? previous.version : 0;
|
|
244
|
+
const slot =
|
|
245
|
+
claimed && !existsSync(`${dir}@v${claimed}`)
|
|
246
|
+
? claimed
|
|
247
|
+
: Math.max(claimed, highestArchive(projectRecipesDir(root), slug)) + 1;
|
|
248
|
+
version = slot + 1;
|
|
249
|
+
// Checked before either folder moves, and keeps the next freeze's version valid too.
|
|
250
|
+
if (!Number.isSafeInteger(version)) {
|
|
251
|
+
throw new Error(`recipe "${slug}" has no version number left to freeze into`);
|
|
252
|
+
}
|
|
253
|
+
renameSync(dir, `${dir}@v${slot}`);
|
|
231
254
|
}
|
|
232
255
|
mkdirSync(dir, { recursive: true });
|
|
233
256
|
|
|
@@ -10,3 +10,12 @@ export function terminalText(value) {
|
|
|
10
10
|
}
|
|
11
11
|
return shown;
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
// Multi-line output keeps its line breaks, with a "\r\n" pair printed as one break. Every other
|
|
15
|
+
// control character, a lone "\r" included, still prints as an escape.
|
|
16
|
+
export function terminalLines(value) {
|
|
17
|
+
return String(value)
|
|
18
|
+
.split(/\r?\n/)
|
|
19
|
+
.map((line) => terminalText(line))
|
|
20
|
+
.join("\n");
|
|
21
|
+
}
|
|
@@ -2,6 +2,7 @@ import { execFileSync } from "node:child_process";
|
|
|
2
2
|
import { existsSync, statSync } from "node:fs";
|
|
3
3
|
import { ffprobeBinary } from "./ff-binaries.mjs";
|
|
4
4
|
import { discardPrivateOutput, privateOutputPath } from "./private-output.mjs";
|
|
5
|
+
import { terminalLines } from "./terminal-text.mjs";
|
|
5
6
|
import { resolveSpawnCommand } from "../../audio/scripts/lib/tts.mjs";
|
|
6
7
|
|
|
7
8
|
// Local voiceover via the packaged Kokoro-82M TTS (the `hyperframes tts` CLI),
|
|
@@ -82,7 +83,7 @@ export async function localTtsGenerate(
|
|
|
82
83
|
const hint = /not installed|pip install kokoro/i.test(out)
|
|
83
84
|
? "install for free on-device voice: pip install kokoro-onnx soundfile (or set HYPERFRAMES_PYTHON to a venv that has it)"
|
|
84
85
|
: out.slice(-200) || err.message;
|
|
85
|
-
console.error(`media-use: local voice not enabled (kokoro). ${hint}`);
|
|
86
|
+
console.error(terminalLines(`media-use: local voice not enabled (kokoro). ${hint}`));
|
|
86
87
|
discardPrivateOutput(outPath);
|
|
87
88
|
return null;
|
|
88
89
|
}
|
|
@@ -17,6 +17,7 @@ import { parseArgs, stripVTControlCharacters } from "node:util";
|
|
|
17
17
|
import { mergeTokensToWords } from "./lib/parakeet-words.mjs";
|
|
18
18
|
import { track } from "./lib/telemetry.mjs";
|
|
19
19
|
import { resolveNpxInvocation } from "./lib/npx-sync.mjs";
|
|
20
|
+
import { terminalText } from "./lib/terminal-text.mjs";
|
|
20
21
|
|
|
21
22
|
// The DEFAULT local transcription path. Prefers NVIDIA Parakeet-TDT via
|
|
22
23
|
// parakeet-mlx, which beats whisper.cpp on the Open ASR Leaderboard (~6.05% vs
|
|
@@ -61,7 +62,7 @@ if (!args.input) {
|
|
|
61
62
|
}
|
|
62
63
|
const inputPath = resolve(args.input);
|
|
63
64
|
if (!existsSync(inputPath)) {
|
|
64
|
-
console.error(`error: input not found: ${inputPath}`);
|
|
65
|
+
console.error(terminalText(`error: input not found: ${inputPath}`));
|
|
65
66
|
process.exit(2);
|
|
66
67
|
}
|
|
67
68
|
const outPath = resolve(
|
|
@@ -104,7 +105,9 @@ function report(engine, wordCount) {
|
|
|
104
105
|
if (args.json) console.log(JSON.stringify({ ok: true, out: outPath, engine, words: wordCount }));
|
|
105
106
|
else
|
|
106
107
|
console.log(
|
|
107
|
-
|
|
108
|
+
terminalText(
|
|
109
|
+
`transcribed ${basename(inputPath)} -> ${outPath}${wordCount != null ? ` (${wordCount} words,` : " ("}${engine})`,
|
|
110
|
+
),
|
|
108
111
|
);
|
|
109
112
|
}
|
|
110
113
|
|
|
@@ -206,6 +209,9 @@ try {
|
|
|
206
209
|
await track("media_use_transcribe", { engine });
|
|
207
210
|
} catch (err) {
|
|
208
211
|
if (args.json) console.log(JSON.stringify({ ok: false, error: err.message }));
|
|
209
|
-
else
|
|
212
|
+
else
|
|
213
|
+
console.error(
|
|
214
|
+
`error: transcription failed: ${err.message}`.split("\n").map(terminalText).join("\n"),
|
|
215
|
+
);
|
|
210
216
|
process.exit(1);
|
|
211
217
|
}
|
|
@@ -9,6 +9,7 @@ import { parseArgs } from "node:util";
|
|
|
9
9
|
import { compileCutList } from "./lib/cutlist.mjs";
|
|
10
10
|
import { fadeFilterFor } from "./lib/transcriptCutFade.mjs";
|
|
11
11
|
import { track } from "./lib/telemetry.mjs";
|
|
12
|
+
import { terminalText } from "./lib/terminal-text.mjs";
|
|
12
13
|
|
|
13
14
|
const { values: args } = parseArgs({
|
|
14
15
|
options: {
|
|
@@ -61,7 +62,7 @@ try {
|
|
|
61
62
|
});
|
|
62
63
|
} catch (err) {
|
|
63
64
|
if (args.json) console.log(JSON.stringify({ ok: false, error: err.message }));
|
|
64
|
-
else console.error(`error: ${err.message}
|
|
65
|
+
else console.error(`error: ${err.message}`.split("\n").map(terminalText).join("\n"));
|
|
65
66
|
process.exit(1);
|
|
66
67
|
}
|
|
67
68
|
|
|
@@ -175,11 +176,13 @@ function run() {
|
|
|
175
176
|
}
|
|
176
177
|
|
|
177
178
|
console.log(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
179
|
+
terminalText(
|
|
180
|
+
`cut ${inputPath} -> ${outPath} (${segments.length} segments, ${fmt(keptSeconds)}s kept of ${fmt(
|
|
181
|
+
totalSeconds,
|
|
182
|
+
)}s)`,
|
|
183
|
+
),
|
|
181
184
|
);
|
|
182
|
-
console.log(`next: resolve --from ${outPath} --type <type>`);
|
|
185
|
+
console.log(terminalText(`next: resolve --from ${outPath} --type <type>`));
|
|
183
186
|
}
|
|
184
187
|
|
|
185
188
|
function cutSegment(inputPath, segment, outPath, copy, fade) {
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
skillsManagedExternally,
|
|
10
10
|
skills_default,
|
|
11
11
|
updateSkills
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IYVCMBYV.js";
|
|
13
13
|
import "./chunk-EXA6R6SW.js";
|
|
14
14
|
import "./chunk-XJQKSMOK.js";
|
|
15
15
|
import "./chunk-OH3MUFZG.js";
|
|
16
16
|
import "./chunk-6BEFEWFB.js";
|
|
17
17
|
import "./chunk-JJ47LVJ7.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ZH3Z4CMQ.js";
|
|
19
|
+
import "./chunk-OPDA3GMT.js";
|
|
20
20
|
import "./chunk-PXVQOMKL.js";
|
|
21
21
|
import "./chunk-NGRWDXRZ.js";
|
|
22
22
|
import "./chunk-DMW5SSUN.js";
|
|
@@ -24,16 +24,16 @@ import "./chunk-DL4OD7IA.js";
|
|
|
24
24
|
import "./chunk-S3S4TGEH.js";
|
|
25
25
|
import "./chunk-54HJ63Q2.js";
|
|
26
26
|
import "./chunk-JCNPHRGX.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-EHDUOOIH.js";
|
|
28
28
|
import "./chunk-LIHELBPB.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-KTVURB6P.js";
|
|
30
30
|
import "./chunk-PWRUMN7B.js";
|
|
31
31
|
import "./chunk-OGL5VQGT.js";
|
|
32
32
|
import "./chunk-RQVDTPGD.js";
|
|
33
33
|
import "./chunk-KRRQGJIF.js";
|
|
34
34
|
import "./chunk-KXL4WNPB.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-RADFYYSJ.js";
|
|
36
|
+
import "./chunk-QURE6VDP.js";
|
|
37
37
|
import "./chunk-FR7YBU3H.js";
|
|
38
38
|
import "./chunk-DZWAYZG2.js";
|
|
39
39
|
import "./chunk-WC4MTXGN.js";
|
|
@@ -41,8 +41,8 @@ import "./chunk-GWTIFRF5.js";
|
|
|
41
41
|
import "./chunk-2RY2LWAA.js";
|
|
42
42
|
import "./chunk-NTGTWXAO.js";
|
|
43
43
|
import "./chunk-WFQJ6EJ6.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-2NPP73LA.js";
|
|
45
|
+
import "./chunk-MHVMNSCB.js";
|
|
46
46
|
import "./chunk-BR2JQQC5.js";
|
|
47
47
|
import "./chunk-AWD2MWWL.js";
|
|
48
48
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -51,7 +51,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
51
51
|
import "./chunk-U7M4SZUB.js";
|
|
52
52
|
import "./chunk-CPHQTXP5.js";
|
|
53
53
|
import "./chunk-QBXDU24O.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-JOJ35UOG.js";
|
|
55
55
|
import "./chunk-E63BDV4Z.js";
|
|
56
56
|
import "./chunk-LW33P24U.js";
|
|
57
57
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
recordSkillsCheck,
|
|
11
11
|
refreshSkillsCache,
|
|
12
12
|
skillsCheckDue
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-2NPP73LA.js";
|
|
14
|
+
import "./chunk-MHVMNSCB.js";
|
|
15
15
|
import "./chunk-BR2JQQC5.js";
|
|
16
16
|
import "./chunk-AWD2MWWL.js";
|
|
17
17
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-LMNCEQCC.js";
|
|
|
20
20
|
import "./chunk-U7M4SZUB.js";
|
|
21
21
|
import "./chunk-CPHQTXP5.js";
|
|
22
22
|
import "./chunk-QBXDU24O.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-JOJ35UOG.js";
|
|
24
24
|
import "./chunk-E63BDV4Z.js";
|
|
25
25
|
import "./chunk-LW33P24U.js";
|
|
26
26
|
import "./chunk-XT6MXC7A.js";
|