hyperframes 0.8.210 → 0.8.212
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-36M7YRR4.js → add-JSM7YBQX.js} +28 -24
- package/dist/{agentPromptGenerator-4NJ252MR.js → agentPromptGenerator-NTPYCKOI.js} +30 -1
- package/dist/{animatedGifPrep-RZLTC77F.js → animatedGifPrep-XTK7UWXF.js} +11 -10
- package/dist/api.js +26 -25
- package/dist/{appHistory-OHYU5ZBQ.js → appHistory-BCWH6XYH.js} +3 -3
- package/dist/{asset-HRGZ7ZCB.js → asset-SMY2EGPH.js} +11 -5
- package/dist/{assetCataloger-LN7RI2IC.js → assetCataloger-CVPWY34W.js} +12 -11
- package/dist/{audio-ULOHC2KL.js → audio-Y4OYLTWN.js} +37 -33
- package/dist/{auth-K4ZULHQY.js → auth-MDEHZR7R.js} +11 -6
- package/dist/{autoUpdate-MUJ4WPP6.js → autoUpdate-3FL6EDPM.js} +12 -5
- package/dist/{backgroundChecks-O6JST752.js → backgroundChecks-A6TG2BT3.js} +10 -5
- package/dist/backgroundChecksWorker.js +11 -5
- package/dist/{batchRender-U742UVOD.js → batchRender-K2PBRRTQ.js} +14 -9
- package/dist/{beats-2CSE5WJD.js → beats-RA6XK6J5.js} +25 -21
- package/dist/{benchmark-YJB2YKOE.js → benchmark-EHU5O4PP.js} +32 -27
- package/dist/{browser-WJ5E7RYS.js → browser-7RUIZT2H.js} +27 -22
- package/dist/{bundleWithLocalizedFonts-F5VQMFHZ.js → bundleWithLocalizedFonts-O2U2FYY2.js} +7 -3
- package/dist/{capture-6OJDKKEZ.js → capture-77KDKKNK.js} +25 -24
- package/dist/{capture-IYV3OS5W.js → capture-JGYBORAG.js} +19 -14
- package/dist/{captureCompositionFrame-7357PUMG.js → captureCompositionFrame-DZ7EHPZV.js} +23 -18
- package/dist/{catalog-CZBK33QH.js → catalog-CUP3SYAI.js} +43 -39
- package/dist/{catch-up-7IJQ7AUR.js → catch-up-ZGUCWH5Q.js} +21 -17
- package/dist/{check-ISUFX4DK.js → check-ITGFVBT6.js} +60 -56
- package/dist/{checkAudio-GAA2SY5E.js → checkAudio-CTLPD6YT.js} +19 -15
- package/dist/{checkBrowser-JRADOMED.js → checkBrowser-G2N4JI6N.js} +52 -48
- package/dist/{chunk-J7A73K2B.js → chunk-24F7TOW2.js} +99 -44
- package/dist/{chunk-W3V5EOFA.js → chunk-25MKZTRT.js} +1 -1
- package/dist/chunk-26AQTUU4.js +1103 -0
- package/dist/{chunk-ZTZA4UWZ.js → chunk-2GICKZ3I.js} +4 -1
- package/dist/{chunk-U7CZBDMV.js → chunk-2P5DTXUN.js} +1 -1
- package/dist/{chunk-7BOGLQFM.js → chunk-2YDIEZSF.js} +4 -4
- package/dist/{chunk-UIOZIIB7.js → chunk-32NEJ553.js} +1 -73
- package/dist/{chunk-DHTWYTSV.js → chunk-3JQ2YOKL.js} +2 -2
- package/dist/{chunk-BKXC5XHB.js → chunk-3YBXKWAF.js} +1 -1
- package/dist/{chunk-5IWRGVAX.js → chunk-45JN2GIZ.js} +2 -2
- package/dist/chunk-5766TK7Q.js +145 -0
- package/dist/{chunk-MMJAHBH2.js → chunk-5SKC4G26.js} +4 -1
- package/dist/{chunk-MNNK7RV5.js → chunk-5SWWIT7K.js} +2 -1
- package/dist/{chunk-FCIO4WSW.js → chunk-5TQ4AEPF.js} +3 -3
- package/dist/{chunk-KCLBO65Y.js → chunk-5YPMCCCA.js} +1 -1
- package/dist/{chunk-K2FLNJVB.js → chunk-5ZBMHUY2.js} +5 -1
- package/dist/{chunk-NEKKA2DA.js → chunk-64XQS7AP.js} +2 -2
- package/dist/chunk-6LDHXB4Z.js +36 -0
- package/dist/{chunk-FCXEVKFQ.js → chunk-6SG3RRAQ.js} +4 -4
- package/dist/{chunk-JLCAHJUO.js → chunk-6ZLDIMPL.js} +2 -2
- package/dist/{chunk-DGECWPTL.js → chunk-7KBS6ZLB.js} +2 -2
- package/dist/chunk-7KDQAD2W.js +81 -0
- package/dist/{chunk-AZGVCQGO.js → chunk-7Q5TBUC2.js} +2 -2
- package/dist/{chunk-JHNBF2HD.js → chunk-7TWX4Y7I.js} +4 -4
- package/dist/{chunk-ZRSQNF4A.js → chunk-7W7ANGR4.js} +55 -40
- package/dist/{chunk-WOFTAZSZ.js → chunk-7ZAVTGGT.js} +12 -11
- package/dist/{chunk-BYZPLQSX.js → chunk-A2WPZE2R.js} +1 -1
- package/dist/{chunk-NQ2INEHX.js → chunk-A4ZTSQLW.js} +1 -1
- package/dist/{chunk-ERVBXEPZ.js → chunk-AJAXP4HF.js} +10 -6
- package/dist/{chunk-PCPMSUW6.js → chunk-BLVHVXRU.js} +3 -3
- package/dist/{chunk-5ZJGEQGS.js → chunk-BYRXSKIY.js} +2 -2
- package/dist/{chunk-AF3L5JJX.js → chunk-CCLBOLYU.js} +1 -1
- package/dist/{chunk-4A27M7CJ.js → chunk-CODPTVC2.js} +1 -1
- package/dist/{chunk-VQB7G5BM.js → chunk-CTZJSMGU.js} +1 -1
- package/dist/chunk-DL4OD7IA.js +21 -0
- package/dist/{chunk-JVBRJMOP.js → chunk-DP5LF7GF.js} +8 -2
- package/dist/{chunk-EVTBRL37.js → chunk-DS7ANFBV.js} +5 -5
- package/dist/{chunk-35HSGF46.js → chunk-DVVTBVKA.js} +11 -16
- package/dist/{chunk-6CSYCFQV.js → chunk-DW35FX4I.js} +1 -1
- package/dist/{chunk-WWQJYYAB.js → chunk-DXPC7Z6L.js} +4 -4
- package/dist/{chunk-X2T5EOI7.js → chunk-EC77ZBCP.js} +5 -5
- package/dist/{chunk-VWG7OQKU.js → chunk-EQGKUPBJ.js} +4 -1
- package/dist/{chunk-IMKBZEGT.js → chunk-F5XADOGC.js} +2 -2
- package/dist/chunk-FJ646TIT.js +201 -0
- package/dist/{chunk-GDZA4ALG.js → chunk-FKFGGAXN.js} +52 -7
- package/dist/{chunk-2R5ZKWSV.js → chunk-FLXZ4GZI.js} +1 -1
- package/dist/{chunk-FHIBBIEZ.js → chunk-FW6CYA5D.js} +3 -3
- package/dist/{chunk-QXUFQSSK.js → chunk-G6HUXX3L.js} +1 -1
- package/dist/{chunk-5YHQBCWH.js → chunk-G6OKQMJI.js} +12 -2
- package/dist/{chunk-QSFWGZG6.js → chunk-G7VEYUZ2.js} +16 -132
- package/dist/{chunk-KGG2PUZN.js → chunk-GQ724553.js} +5 -5
- package/dist/{chunk-F7IWJMIO.js → chunk-GVE6I5EL.js} +6 -6
- package/dist/{chunk-66LREXGS.js → chunk-HXZNCXQX.js} +1 -1
- package/dist/{chunk-WERLJGIC.js → chunk-J3RXEDR2.js} +17 -2
- package/dist/{chunk-DKJAK6JW.js → chunk-J7GPSY5N.js} +7 -7
- package/dist/{chunk-5PCT5DDF.js → chunk-JZNQQI5M.js} +5 -5
- package/dist/{chunk-3PTZ2TD4.js → chunk-KUXOAS4Z.js} +1 -1
- package/dist/{chunk-32BLIKEV.js → chunk-KZZWYIEB.js} +3 -3
- package/dist/{chunk-AHPGAESX.js → chunk-L72RQ45A.js} +1 -1
- package/dist/{chunk-FBIWJ3A4.js → chunk-MJCIAZSK.js} +3 -3
- package/dist/{chunk-BW5WYF4N.js → chunk-MX2GMAAW.js} +106 -62
- package/dist/{chunk-JLBJRJO6.js → chunk-N3J2MLXC.js} +3 -3
- package/dist/{chunk-KGAPL42S.js → chunk-N7XJHZ35.js} +1 -1
- package/dist/{chunk-UA3YNZK6.js → chunk-NGSENR4J.js} +16 -6
- package/dist/{chunk-QIDN4ML5.js → chunk-NO6F7CLR.js} +1 -1
- package/dist/{chunk-EQPXSSNG.js → chunk-NXDKBFEO.js} +15 -15
- package/dist/{chunk-I3PNZDKR.js → chunk-OL5E4Y4L.js} +2226 -2081
- package/dist/{chunk-XNFDDVJS.js → chunk-ONMTNYGR.js} +4 -1
- package/dist/{chunk-P2L7NNHT.js → chunk-ORJY6Z6G.js} +3 -3
- package/dist/{chunk-GKNTPIFD.js → chunk-OSCWTA2O.js} +10 -10
- package/dist/{chunk-ZA5TNF4R.js → chunk-OWV36OJP.js} +5 -2
- package/dist/{chunk-YBY2WVLC.js → chunk-P2VGMOX7.js} +5 -5
- package/dist/{chunk-QPX7FJP3.js → chunk-PW7FCVHR.js} +1 -1
- package/dist/{chunk-RUW65P3N.js → chunk-Q55JNFDV.js} +3 -3
- package/dist/{chunk-GNESG4XA.js → chunk-QUXWS5UG.js} +3 -3
- package/dist/{chunk-I4H5JWND.js → chunk-R5B6GXQM.js} +1 -1
- package/dist/{chunk-TGFDRZTM.js → chunk-RDZKBIEB.js} +5 -5
- package/dist/{chunk-OMLVCHNN.js → chunk-RJILJ4OR.js} +3 -3
- package/dist/{chunk-36EOFTVG.js → chunk-RQC4PHO3.js} +1 -1
- package/dist/{chunk-RIJHDTM5.js → chunk-S2HWGG5O.js} +1 -1
- package/dist/chunk-SJGE5I5F.js +131 -0
- package/dist/{chunk-A45HCDG7.js → chunk-SPDSRBIN.js} +31 -5
- package/dist/{chunk-HKCIRH26.js → chunk-SXTWQ7CH.js} +5 -5
- package/dist/{chunk-K4FVGVA6.js → chunk-T2WJO4XM.js} +1 -1
- package/dist/{chunk-EYGWMHXV.js → chunk-T7KNW7PE.js} +4 -4
- package/dist/{chunk-DROFHVQD.js → chunk-TPO32Z65.js} +4 -4
- package/dist/{chunk-P327BIJR.js → chunk-U46JEU26.js} +1 -1
- package/dist/{chunk-HP7BXJFZ.js → chunk-UBUKKTNW.js} +2 -2
- package/dist/{chunk-TDEORHFN.js → chunk-UE4CXHMF.js} +7 -7
- package/dist/{chunk-BN22WCAF.js → chunk-UULZKCBI.js} +2 -2
- package/dist/{chunk-AG566TRI.js → chunk-UXH6E5HC.js} +2 -2
- package/dist/{chunk-W4E3ZOWH.js → chunk-V6OSE6VT.js} +2 -2
- package/dist/{chunk-DST7GU2Y.js → chunk-VKD23SIO.js} +1 -1
- package/dist/{chunk-57QUPSP2.js → chunk-VVDHSRKD.js} +1 -1
- package/dist/{chunk-QI5TLQNW.js → chunk-W2VJTKIW.js} +17 -20
- package/dist/{chunk-HD4KXG5U.js → chunk-W55BW7KA.js} +15 -14
- package/dist/chunk-W5OBRMZ6.js +4870 -0
- package/dist/{chunk-ERUQ3S6D.js → chunk-WE42NVH7.js} +6 -1
- package/dist/{chunk-QRWTVCGH.js → chunk-WVIH5BBZ.js} +30 -23
- package/dist/{chunk-SE2MXV2N.js → chunk-X4SBDDLS.js} +2 -1
- package/dist/{chunk-A2H5EJZM.js → chunk-XEWMJWNW.js} +2 -2
- package/dist/{chunk-LRE4GDFA.js → chunk-XGXTZNES.js} +4 -4
- package/dist/{chunk-YIFEK3UD.js → chunk-XQ26I3PL.js} +1 -1
- package/dist/{chunk-UWEGMKKU.js → chunk-Y3U7ECBH.js} +1 -1
- package/dist/{chunk-MV3J6ZOP.js → chunk-YACECUHX.js} +9 -9
- package/dist/{chunk-MA447PNF.js → chunk-YVT5IU6J.js} +22 -23
- package/dist/{chunk-XCIHCPJK.js → chunk-YWRUQ7XZ.js} +3 -2
- package/dist/{chunk-XIUHHEBS.js → chunk-YX5ELTKV.js} +3 -3
- package/dist/{chunk-P6EXMN5D.js → chunk-ZCHULPJZ.js} +3 -3
- package/dist/{chunk-QFXF5GXE.js → chunk-ZCYSQ3NQ.js} +3 -3
- package/dist/{chunk-RIAWW4G2.js → chunk-ZE57TSS6.js} +2 -2
- package/dist/{clean-NVBEXXIS.js → clean-FBZ7GHRY.js} +39 -35
- package/dist/cli.js +161 -80
- package/dist/{cloud-3T6HF7DT.js → cloud-VYSWJ7UO.js} +11 -6
- package/dist/{cloudrun-TXEEZGJ7.js → cloudrun-U6LI7KLV.js} +39 -30
- package/dist/{colors-HKWSZCGK.js → colors-HRL7QSVG.js} +5 -1
- package/dist/commands/layout-audit.browser.js +1 -1
- package/dist/commands/motion-signature.browser.js +11 -2
- package/dist/{compare-Q42Z56P7.js → compare-YR7BMEHJ.js} +63 -61
- package/dist/{compiler-IL2PZJFH.js → compiler-6YCAUK7Z.js} +4 -4
- package/dist/{component-2IWQZYCZ.js → component-HVSM6FJV.js} +13 -7
- package/dist/{compositions-3EZ3GBK2.js → compositions-QTFL2VNL.js} +27 -23
- package/dist/{delete-2UBY2JTM.js → delete-2FHCQ72T.js} +28 -20
- package/dist/{deploy-QTS2OM2H.js → deploy-6S45QWG6.js} +11 -7
- package/dist/{destroy-CGAZIL2C.js → destroy-BQ5R7LUF.js} +8 -4
- package/dist/{dist-XF53LCKD.js → dist-B4KLCLZ5.js} +3 -3
- package/dist/{dist-73YTUT3W.js → dist-NCI6JOJZ.js} +2 -2
- package/dist/{docs-UEWLIP6D.js → docs-6EM6FDNI.js} +12 -6
- package/dist/{doctor-FIXMXWE6.js → doctor-4MRS6RED.js} +25 -20
- package/dist/{events-7WYSDXTE.js → events-4VBBY7PP.js} +15 -10
- package/dist/{events-NTZSSMBR.js → events-FN45HVPM.js} +14 -11
- package/dist/{feedback-7SOB5GZC.js → feedback-T67P2CDA.js} +41 -35
- package/dist/{ffmpeg-PYY5FSIX.js → ffmpeg-ED7ZK6XH.js} +12 -11
- package/dist/{figma-DTWA3G22.js → figma-UXAWKPOY.js} +10 -5
- package/dist/fontLocalizeCli.js +16 -14
- package/dist/{get-DMGUJPLP.js → get-EFH3PPJA.js} +20 -15
- package/dist/{gpuPolicy-KVYO4OU4.js → gpuPolicy-ZADQMXQT.js} +11 -10
- package/dist/{grade-compare-NCYPJFLI.js → grade-compare-425BFHSF.js} +65 -60
- package/dist/hangReport.js +1 -0
- package/dist/{heifImagePrep-F7LFUYGC.js → heifImagePrep-ZJM7N2XY.js} +12 -11
- package/dist/{help-I4RRBHCW.js → help-23PPB2BD.js} +16 -8
- package/dist/{history-GVBBXZKQ.js → history-CHJV33M5.js} +28 -22
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-UE2PY5AF.js → info-36YPISVA.js} +22 -18
- package/dist/{init-4UGFGJQK.js → init-U6EE2EIU.js} +73 -65
- package/dist/{inspect-ZRREAUCB.js → inspect-NI2RMUFR.js} +50 -46
- package/dist/{installer-ABXPRFIJ.js → installer-K3HIZ5CF.js} +7 -7
- package/dist/{keyframes-MFR4TYVR.js → keyframes-I6T2IT6I.js} +20 -16
- package/dist/{lambda-E3Z6JCIB.js → lambda-WL64Z2F3.js} +50 -42
- package/dist/{layout-IO7T5SSU.js → layout-R2YZ4N6P.js} +50 -46
- package/dist/{lint-WYPQK5XA.js → lint-IAAG6Z65.js} +30 -24
- package/dist/{lintProject-KCN7MRBN.js → lintProject-EM7Y2ZRB.js} +2 -2
- package/dist/{list-7F2LXWOZ.js → list-3O6743DJ.js} +23 -18
- package/dist/{live-LAHBXVK2.js → live-WWPFZQ74.js} +33 -7
- package/dist/localPage-L5FRBCNP.js +56 -0
- package/dist/{login-TTMYCXN2.js → login-27TRFTYB.js} +17 -13
- package/dist/{logout-QRSB4CNH.js → logout-C6P6ERZ3.js} +12 -7
- package/dist/{manager-OQ5J26ST.js → manager-D6TE4ENP.js} +14 -13
- package/dist/{manager-LQXZTUTJ.js → manager-IZIK7BHN.js} +7 -5
- package/dist/{media-treatment-ELB6WRA5.js → media-treatment-E3YLZVXC.js} +58 -45
- package/dist/{media-use-JBN57JE3.js → media-use-ZRHFRO46.js} +3 -2
- package/dist/{models-D2FNIGNZ.js → models-2Q3TGNH5.js} +40 -28
- package/dist/{motionShot-53VDDRIC.js → motionShot-XYW2HMVI.js} +27 -22
- package/dist/{normalize-audio-QHNCFWR2.js → normalize-audio-D5WNUNDM.js} +42 -28
- package/dist/{open-3KMTT3AV.js → open-3KO7UUPC.js} +33 -29
- package/dist/{parakeetRunner-T65S6FW3.js → parakeetRunner-WX6L6MW5.js} +20 -19
- package/dist/{pipeline-DUVRZGIM.js → pipeline-WYIO4KGN.js} +17 -16
- package/dist/{play-27R6RBSK.js → play-ZM3ZUJSZ.js} +53 -52
- package/dist/{policies-NWIEUGGW.js → policies-J5BWAZHM.js} +18 -12
- package/dist/{preflight-QB6NKBBL.js → preflight-7OMCIXNM.js} +16 -14
- package/dist/{present-RHV3FKI5.js → present-E2PLH2GJ.js} +47 -46
- package/dist/{preview-IAKIXYLN.js → preview-TVRM75FN.js} +52 -48
- package/dist/{producer-F6PHB4M4.js → producer-M5F6KZEF.js} +1 -1
- package/dist/{progress-PX3PVAIM.js → progress-X3QFO3FE.js} +9 -5
- package/dist/{projectConfig-MPHWYY5D.js → projectConfig-VFKGY3XE.js} +11 -11
- package/dist/prompts-VAO7RDKX.js +40 -0
- package/dist/{publication-CBAEINEG.js → publication-AF33R7LF.js} +5 -5
- package/dist/{publish-4A2A6V7Z.js → publish-Z7HGDQ5R.js} +41 -30
- package/dist/{refresh-F7FUCXLX.js → refresh-IYRGLHG5.js} +12 -7
- package/dist/{remove-background-3I7RZGVG.js → remove-background-PN3KCBT4.js} +39 -30
- package/dist/{render-BSKLHCZ4.js → render-I3HBIJX3.js} +82 -77
- package/dist/{render-BGPUHBFC.js → render-IZNPEXMU.js} +17 -12
- package/dist/{render-2HYATL32.js → render-SEODWRRR.js} +46 -41
- package/dist/{render-batch-JD6C3BDD.js → render-batch-MQSORY55.js} +18 -13
- package/dist/renderSetupWorker.js +10 -7
- package/dist/{resolver-SQYR7LII.js → resolver-HXE4F2G4.js} +7 -7
- package/dist/{sam-FHJ7IL7T.js → sam-QA7JT7IM.js} +2 -1
- package/dist/{sherpa-VXD3DAH4.js → sherpa-NPT6S3RP.js} +19 -18
- package/dist/sherpaWorker.js +1 -0
- package/dist/{sites-Q2S3DZY4.js → sites-MTLVMYJ6.js} +7 -3
- package/dist/{skills-B2SHEHWL.js → skills-P3BI55YP.js} +27 -20
- package/dist/{skillsUpdateCheck-ST43UUPK.js → skillsUpdateCheck-43Q4ZHWN.js} +10 -5
- package/dist/{snapshot-USJYNKDM.js → snapshot-YLT64YQS.js} +93 -71
- package/dist/{src-5OX35WPG.js → src-7S7K4QUN.js} +14 -13
- package/dist/{src-PX3VIS7K.js → src-OHJ7USRX.js} +20 -9
- package/dist/{state-JPNCCXAV.js → state-6QHNNHDA.js} +2 -2
- package/dist/{staticProjectServer-ET7H5LMV.js → staticProjectServer-RP3MW2EW.js} +31 -24
- package/dist/{status-QVDRHXW2.js → status-SLILCDBZ.js} +21 -12
- package/dist/studio/assets/{hyperframes-player-DUpxahTX.js → hyperframes-player-DHfuW7Lt.js} +1 -1
- package/dist/studio/assets/{index-CtrcjpbM.js → index-CWgIsKzV.js} +123 -123
- package/dist/studio/assets/{index-B4dcZZAm.js → index-CkjUY33q.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-PLKYSG2X.js → studio-api-BZPZCJL6.js} +17 -15
- package/dist/{studioServer-CNUXGRFS.js → studioServer-QLRIXNYM.js} +74 -70
- package/dist/{synthesize-RVE7IUOJ.js → synthesize-FQML2LN2.js} +5 -5
- package/dist/{system-YD4AW5ZX.js → system-MVRF5UM2.js} +5 -3
- package/dist/{telemetry-EJS5PXH2.js → telemetry-NTO4FJFN.js} +13 -8
- package/dist/{telemetry-DGDEJLGL.js → telemetry-QOBPRUWF.js} +14 -11
- package/dist/templates/blank/index.html +1 -1
- package/dist/{timeline-VCQC4TLM.js → timeline-OLQFVWVU.js} +47 -40
- package/dist/{tokens-AEOBCDW5.js → tokens-BAHLVGEC.js} +12 -6
- package/dist/{transcribe-COFCB3ZB.js → transcribe-3NHUWW4J.js} +45 -39
- package/dist/{transcribe-X6O5ZSGQ.js → transcribe-HR6BFDUR.js} +16 -15
- package/dist/{tts-AGMCPQXE.js → tts-K5HRN6NQ.js} +26 -17
- package/dist/{updateCheck-BW7MDUXZ.js → updateCheck-BGHPCA7J.js} +9 -4
- package/dist/{upgrade-QXOGA54H.js → upgrade-NFI6JOME.js} +28 -14
- package/dist/{urlDownloader-QB3TBIQ5.js → urlDownloader-P35K74RS.js} +10 -9
- package/dist/{usage-HG4WMM7A.js → usage-772JV45U.js} +2 -1
- package/dist/{validate-AU2BZ7D7.js → validate-Q57ZCI4Q.js} +42 -38
- package/dist/{video-GNNYAL5T.js → video-OO2M2AKD.js} +19 -15
- package/dist/warmCheck.js +63 -58
- package/dist/warmCheckClient.js +1 -0
- package/package.json +1 -1
- package/dist/chunk-QRC7IVBC.js +0 -4870
- package/dist/chunk-WMQNIQDJ.js +0 -2057
- package/dist/chunk-WQ6ZXHFQ.js +0 -133
- package/dist/dist-EWXJGN63.js +0 -129
- package/dist/localPage-V3HBGM3Z.js +0 -27
package/dist/cli.js
CHANGED
|
@@ -10,39 +10,53 @@ import {
|
|
|
10
10
|
} from "./chunk-4VYPICIA.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveExtraPositionals
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OWV36OJP.js";
|
|
14
14
|
import "./chunk-K4WKGXRC.js";
|
|
15
15
|
import {
|
|
16
16
|
isRenderSucceeded
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HXZNCXQX.js";
|
|
18
18
|
import {
|
|
19
19
|
assertKnownFlags,
|
|
20
|
+
closestMatch,
|
|
20
21
|
guardSwallowedFlagValues
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FKFGGAXN.js";
|
|
23
|
+
import {
|
|
24
|
+
defineCommand
|
|
25
|
+
} from "./chunk-DL4OD7IA.js";
|
|
22
26
|
import {
|
|
23
|
-
defineCommand,
|
|
24
27
|
parseArgs,
|
|
25
28
|
runCommand
|
|
26
29
|
} from "./chunk-S3S4TGEH.js";
|
|
27
30
|
import {
|
|
28
31
|
getRunId
|
|
29
32
|
} from "./chunk-54HJ63Q2.js";
|
|
33
|
+
import "./chunk-2GICKZ3I.js";
|
|
34
|
+
import {
|
|
35
|
+
isDevMode
|
|
36
|
+
} from "./chunk-ISN5GRYI.js";
|
|
37
|
+
import {
|
|
38
|
+
jsonErrorBody,
|
|
39
|
+
watchOutput,
|
|
40
|
+
writeJsonFailure
|
|
41
|
+
} from "./chunk-SJGE5I5F.js";
|
|
30
42
|
import {
|
|
31
43
|
CliResultSignal,
|
|
32
44
|
CliRuntimeError,
|
|
33
45
|
CliUsageError,
|
|
46
|
+
USAGE_EXIT_CODE,
|
|
34
47
|
consumeCommandResult,
|
|
35
48
|
outputWritten,
|
|
36
49
|
registerRootExitCodeSanitizer,
|
|
37
50
|
registerRootExitRequester
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
isDevMode
|
|
42
|
-
} from "./chunk-ISN5GRYI.js";
|
|
51
|
+
} from "./chunk-DP5LF7GF.js";
|
|
52
|
+
import "./chunk-J3RXEDR2.js";
|
|
43
53
|
import {
|
|
44
54
|
VERSION
|
|
45
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UXH6E5HC.js";
|
|
56
|
+
import "./chunk-G7VEYUZ2.js";
|
|
57
|
+
import "./chunk-XT6MXC7A.js";
|
|
58
|
+
import "./chunk-7KDQAD2W.js";
|
|
59
|
+
import "./chunk-6LDHXB4Z.js";
|
|
46
60
|
import "./chunk-M2WBOQ2Q.js";
|
|
47
61
|
|
|
48
62
|
// src/cli.ts
|
|
@@ -84,7 +98,7 @@ function wrapCommand(cmd, path) {
|
|
|
84
98
|
return wrapped;
|
|
85
99
|
}
|
|
86
100
|
function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
87
|
-
assertKnownFlags(cmd, rawArgs);
|
|
101
|
+
assertKnownFlags(cmd, rawArgs, path);
|
|
88
102
|
const guarded = guardSwallowedFlagValues(cmd, path, rawArgs);
|
|
89
103
|
if (!guarded.rewritten) return;
|
|
90
104
|
ctx.rawArgs = guarded.rawArgs;
|
|
@@ -92,7 +106,7 @@ function guardLeafFlags(cmd, path, ctx, rawArgs) {
|
|
|
92
106
|
}
|
|
93
107
|
async function reportCommandFailure(command2, err) {
|
|
94
108
|
try {
|
|
95
|
-
const { trackCommandFailure } = await import("./events-
|
|
109
|
+
const { trackCommandFailure } = await import("./events-FN45HVPM.js");
|
|
96
110
|
trackCommandFailure(command2, err);
|
|
97
111
|
} catch {
|
|
98
112
|
}
|
|
@@ -108,14 +122,22 @@ async function loadSubcommand(command2, name) {
|
|
|
108
122
|
async function resolveCommandUsage(root, argv2) {
|
|
109
123
|
let command2 = root;
|
|
110
124
|
let parent;
|
|
125
|
+
const path = [];
|
|
111
126
|
for (const argument of argv2) {
|
|
112
127
|
if (argument.startsWith("-")) break;
|
|
113
128
|
const child = await loadSubcommand(command2, argument);
|
|
114
|
-
if (!child)
|
|
129
|
+
if (!child)
|
|
130
|
+
return {
|
|
131
|
+
command: command2,
|
|
132
|
+
parent,
|
|
133
|
+
path,
|
|
134
|
+
unknownSubcommand: command2.subCommands ? argument : void 0
|
|
135
|
+
};
|
|
115
136
|
parent = command2;
|
|
116
137
|
command2 = child;
|
|
138
|
+
path.push(argument);
|
|
117
139
|
}
|
|
118
|
-
return { command: command2, parent };
|
|
140
|
+
return { command: command2, parent, path };
|
|
119
141
|
}
|
|
120
142
|
|
|
121
143
|
// src/utils/projectShortcut.ts
|
|
@@ -154,6 +176,10 @@ for (const stream of [process.stdout, process.stderr]) {
|
|
|
154
176
|
}
|
|
155
177
|
})();
|
|
156
178
|
var argv = process.argv.slice(2);
|
|
179
|
+
if (argv[0] === "help") {
|
|
180
|
+
process.argv = [...process.argv.slice(0, 2), ...argv.slice(1), "--help"];
|
|
181
|
+
argv = process.argv.slice(2);
|
|
182
|
+
}
|
|
157
183
|
var commandArg = argv[0];
|
|
158
184
|
var rootVersionRequested = commandArg === "--version" || commandArg === "-V" || commandArg === void 0 && (argv.includes("--version") || argv.includes("-V"));
|
|
159
185
|
if (rootVersionRequested) {
|
|
@@ -189,55 +215,55 @@ async function assertStudioWorkspaceBuilt() {
|
|
|
189
215
|
});
|
|
190
216
|
}
|
|
191
217
|
var commandLoaders = {
|
|
192
|
-
init: () => import("./init-
|
|
193
|
-
add: () => import("./add-
|
|
194
|
-
catalog: () => import("./catalog-
|
|
195
|
-
"media-use": () => import("./media-use-
|
|
196
|
-
play: () => import("./play-
|
|
197
|
-
present: () => import("./present-
|
|
198
|
-
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-
|
|
199
|
-
publish: () => import("./publish-
|
|
200
|
-
open: () => import("./open-
|
|
201
|
-
"catch-up": () => import("./catch-up-
|
|
202
|
-
render: () => import("./render-
|
|
203
|
-
lint: () => import("./lint-
|
|
204
|
-
check: () => import("./check-
|
|
205
|
-
beats: () => import("./beats-
|
|
206
|
-
audio: () => import("./audio-
|
|
207
|
-
"normalize-audio": () => import("./normalize-audio-
|
|
208
|
-
inspect: () => import("./inspect-
|
|
209
|
-
keyframes: () => import("./keyframes-
|
|
210
|
-
layout: () => import("./layout-
|
|
211
|
-
info: () => import("./info-
|
|
212
|
-
compositions: () => import("./compositions-
|
|
213
|
-
timeline: () => import("./timeline-
|
|
214
|
-
history: () => import("./history-
|
|
215
|
-
benchmark: () => import("./benchmark-
|
|
216
|
-
browser: () => import("./browser-
|
|
217
|
-
"remove-background": () => import("./remove-background-
|
|
218
|
-
transcribe: () => import("./transcribe-
|
|
219
|
-
usage: () => import("./usage-
|
|
220
|
-
models: () => import("./models-
|
|
221
|
-
tts: () => import("./tts-
|
|
222
|
-
docs: () => import("./docs-
|
|
223
|
-
doctor: () => import("./doctor-
|
|
224
|
-
clean: () => import("./clean-
|
|
225
|
-
upgrade: () => import("./upgrade-
|
|
226
|
-
skills: () => import("./skills-
|
|
227
|
-
feedback: () => import("./feedback-
|
|
228
|
-
telemetry: () => import("./telemetry-
|
|
229
|
-
events: () => import("./events-
|
|
230
|
-
validate: () => import("./validate-
|
|
231
|
-
snapshot: () => import("./snapshot-
|
|
232
|
-
"media-treatment": () => import("./media-treatment-
|
|
233
|
-
"grade-compare": () => import("./grade-compare-
|
|
234
|
-
compare: () => import("./compare-
|
|
235
|
-
capture: () => import("./capture-
|
|
236
|
-
lambda: () => import("./lambda-
|
|
237
|
-
cloudrun: () => import("./cloudrun-
|
|
238
|
-
cloud: () => import("./cloud-
|
|
239
|
-
auth: () => import("./auth-
|
|
240
|
-
figma: () => import("./figma-
|
|
218
|
+
init: () => import("./init-U6EE2EIU.js").then((m) => m.default),
|
|
219
|
+
add: () => import("./add-JSM7YBQX.js").then((m) => m.default),
|
|
220
|
+
catalog: () => import("./catalog-CUP3SYAI.js").then((m) => m.default),
|
|
221
|
+
"media-use": () => import("./media-use-ZRHFRO46.js").then((m) => m.default),
|
|
222
|
+
play: () => import("./play-ZM3ZUJSZ.js").then((m) => m.default),
|
|
223
|
+
present: () => import("./present-E2PLH2GJ.js").then((m) => m.default),
|
|
224
|
+
preview: () => assertStudioWorkspaceBuilt().then(() => import("./preview-TVRM75FN.js").then((m) => m.default)),
|
|
225
|
+
publish: () => import("./publish-Z7HGDQ5R.js").then((m) => m.default),
|
|
226
|
+
open: () => import("./open-3KO7UUPC.js").then((m) => m.default),
|
|
227
|
+
"catch-up": () => import("./catch-up-ZGUCWH5Q.js").then((m) => m.default),
|
|
228
|
+
render: () => import("./render-I3HBIJX3.js").then((m) => m.default),
|
|
229
|
+
lint: () => import("./lint-IAAG6Z65.js").then((m) => m.default),
|
|
230
|
+
check: () => import("./check-ITGFVBT6.js").then((m) => m.default),
|
|
231
|
+
beats: () => import("./beats-RA6XK6J5.js").then((m) => m.default),
|
|
232
|
+
audio: () => import("./audio-Y4OYLTWN.js").then((m) => m.default),
|
|
233
|
+
"normalize-audio": () => import("./normalize-audio-D5WNUNDM.js").then((m) => m.default),
|
|
234
|
+
inspect: () => import("./inspect-NI2RMUFR.js").then((m) => m.default),
|
|
235
|
+
keyframes: () => import("./keyframes-I6T2IT6I.js").then((m) => m.default),
|
|
236
|
+
layout: () => import("./layout-R2YZ4N6P.js").then((m) => m.default),
|
|
237
|
+
info: () => import("./info-36YPISVA.js").then((m) => m.default),
|
|
238
|
+
compositions: () => import("./compositions-QTFL2VNL.js").then((m) => m.default),
|
|
239
|
+
timeline: () => import("./timeline-OLQFVWVU.js").then((m) => m.default),
|
|
240
|
+
history: () => import("./history-CHJV33M5.js").then((m) => m.default),
|
|
241
|
+
benchmark: () => import("./benchmark-EHU5O4PP.js").then((m) => m.default),
|
|
242
|
+
browser: () => import("./browser-7RUIZT2H.js").then((m) => m.default),
|
|
243
|
+
"remove-background": () => import("./remove-background-PN3KCBT4.js").then((m) => m.default),
|
|
244
|
+
transcribe: () => import("./transcribe-3NHUWW4J.js").then((m) => m.default),
|
|
245
|
+
usage: () => import("./usage-772JV45U.js").then((m) => m.default),
|
|
246
|
+
models: () => import("./models-2Q3TGNH5.js").then((m) => m.default),
|
|
247
|
+
tts: () => import("./tts-K5HRN6NQ.js").then((m) => m.default),
|
|
248
|
+
docs: () => import("./docs-6EM6FDNI.js").then((m) => m.default),
|
|
249
|
+
doctor: () => import("./doctor-4MRS6RED.js").then((m) => m.default),
|
|
250
|
+
clean: () => import("./clean-FBZ7GHRY.js").then((m) => m.default),
|
|
251
|
+
upgrade: () => import("./upgrade-NFI6JOME.js").then((m) => m.default),
|
|
252
|
+
skills: () => import("./skills-P3BI55YP.js").then((m) => m.default),
|
|
253
|
+
feedback: () => import("./feedback-T67P2CDA.js").then((m) => m.default),
|
|
254
|
+
telemetry: () => import("./telemetry-NTO4FJFN.js").then((m) => m.default),
|
|
255
|
+
events: () => import("./events-4VBBY7PP.js").then((m) => m.default),
|
|
256
|
+
validate: () => import("./validate-Q57ZCI4Q.js").then((m) => m.default),
|
|
257
|
+
snapshot: () => import("./snapshot-YLT64YQS.js").then((m) => m.default),
|
|
258
|
+
"media-treatment": () => import("./media-treatment-E3YLZVXC.js").then((m) => m.mediaTreatmentCommand),
|
|
259
|
+
"grade-compare": () => import("./grade-compare-425BFHSF.js").then((m) => m.default),
|
|
260
|
+
compare: () => import("./compare-YR7BMEHJ.js").then((m) => m.default),
|
|
261
|
+
capture: () => import("./capture-JGYBORAG.js").then((m) => m.default),
|
|
262
|
+
lambda: () => import("./lambda-WL64Z2F3.js").then((m) => m.default),
|
|
263
|
+
cloudrun: () => import("./cloudrun-U6LI7KLV.js").then((m) => m.default),
|
|
264
|
+
cloud: () => import("./cloud-VYSWJ7UO.js").then((m) => m.default),
|
|
265
|
+
auth: () => import("./auth-MDEHZR7R.js").then((m) => m.default),
|
|
266
|
+
figma: () => import("./figma-UXAWKPOY.js").then((m) => m.default)
|
|
241
267
|
};
|
|
242
268
|
process.argv = [
|
|
243
269
|
...process.argv.slice(0, 2),
|
|
@@ -258,6 +284,7 @@ var main = defineCommand({
|
|
|
258
284
|
var cliCommandArg = process.argv[2];
|
|
259
285
|
var command = cliCommandArg && cliCommandArg in subCommands ? cliCommandArg : "unknown";
|
|
260
286
|
var hasJsonFlag = process.argv.includes("--json");
|
|
287
|
+
var jsonOutput = hasJsonFlag ? watchOutput() : void 0;
|
|
261
288
|
var _flushSync;
|
|
262
289
|
var _trackCliError;
|
|
263
290
|
var _trackCommandResult;
|
|
@@ -266,7 +293,7 @@ var _printStalePinNotice;
|
|
|
266
293
|
var _printSkillsUpdateNotice;
|
|
267
294
|
var telemetryReady = Promise.resolve();
|
|
268
295
|
if (!isHelp && command !== "telemetry" && command !== "events" && command !== "usage" && command !== "unknown") {
|
|
269
|
-
telemetryReady = import("./telemetry-
|
|
296
|
+
telemetryReady = import("./telemetry-QOBPRUWF.js").then((mod) => {
|
|
270
297
|
_flushSync = mod.flushSync;
|
|
271
298
|
_trackCliError = mod.trackCliError;
|
|
272
299
|
_trackCommandResult = mod.trackCommandResult;
|
|
@@ -277,29 +304,29 @@ if (!isHelp && command !== "telemetry" && command !== "events" && command !== "u
|
|
|
277
304
|
}
|
|
278
305
|
if (!isHelp && command !== "upgrade" && command !== "events" && command !== "telemetry" && command !== "skills" && command !== "usage") {
|
|
279
306
|
if (!hasJsonFlag) {
|
|
280
|
-
import("./autoUpdate-
|
|
307
|
+
import("./autoUpdate-3FL6EDPM.js").then((mod) => mod.reportCompletedUpdate()).catch(() => {
|
|
281
308
|
});
|
|
282
|
-
import("./updateCheck-
|
|
309
|
+
import("./updateCheck-BGHPCA7J.js").then(async (mod) => {
|
|
283
310
|
_printUpdateNotice = mod.printUpdateNotice;
|
|
284
311
|
_printStalePinNotice = mod.printStalePinNotice;
|
|
285
312
|
const result = mod.cachedUpdateCheck();
|
|
286
313
|
if (result.updateAvailable) {
|
|
287
|
-
const auto = await import("./autoUpdate-
|
|
314
|
+
const auto = await import("./autoUpdate-3FL6EDPM.js").catch(() => null);
|
|
288
315
|
auto?.scheduleBackgroundInstall(result.latest, result.current);
|
|
289
316
|
}
|
|
290
317
|
}).catch(() => {
|
|
291
318
|
});
|
|
292
319
|
}
|
|
293
|
-
import("./skillsUpdateCheck-
|
|
320
|
+
import("./skillsUpdateCheck-43Q4ZHWN.js").then((mod) => {
|
|
294
321
|
_printSkillsUpdateNotice = mod.printSkillsUpdateNotice;
|
|
295
322
|
}).catch(() => {
|
|
296
323
|
});
|
|
297
|
-
import("./backgroundChecks-
|
|
324
|
+
import("./backgroundChecks-A6TG2BT3.js").then((mod) => mod.launchBackgroundChecks()).catch(() => {
|
|
298
325
|
});
|
|
299
326
|
}
|
|
300
327
|
var _appHistoryNotice = null;
|
|
301
328
|
if (!isHelp && !["unknown", "catch-up", "events", "telemetry"].includes(command)) {
|
|
302
|
-
import("./appHistory-
|
|
329
|
+
import("./appHistory-BCWH6XYH.js").then((mod) => {
|
|
303
330
|
_appHistoryNotice = mod.appHistoryNotice(process.cwd(), process.argv.slice(3));
|
|
304
331
|
}).catch(() => {
|
|
305
332
|
});
|
|
@@ -321,6 +348,10 @@ async function finalizeCli(result) {
|
|
|
321
348
|
durationMs: Date.now() - commandStart,
|
|
322
349
|
runId
|
|
323
350
|
});
|
|
351
|
+
if (result.kind !== "usage_error") printNotices();
|
|
352
|
+
process.exitCode = exitCode;
|
|
353
|
+
}
|
|
354
|
+
function printNotices() {
|
|
324
355
|
if (!hasJsonFlag) {
|
|
325
356
|
_printUpdateNotice?.();
|
|
326
357
|
_printStalePinNotice?.();
|
|
@@ -328,7 +359,6 @@ async function finalizeCli(result) {
|
|
|
328
359
|
_printSkillsUpdateNotice?.();
|
|
329
360
|
if (_appHistoryNotice) process.stderr.write(`\u25C7 ${_appHistoryNotice}
|
|
330
361
|
`);
|
|
331
|
-
process.exitCode = exitCode;
|
|
332
362
|
}
|
|
333
363
|
registerRootExitRequester((exitCode) => {
|
|
334
364
|
void finalizeCli({
|
|
@@ -414,38 +444,89 @@ process.on("unhandledRejection", (reason) => {
|
|
|
414
444
|
process.exitCode = 1;
|
|
415
445
|
emitCliErrorEvent("unhandled_rejection", error);
|
|
416
446
|
});
|
|
417
|
-
async function showUsage(cmd, parent) {
|
|
418
|
-
const { showUsage: impl } = await import("./help-
|
|
419
|
-
return impl(cmd, parent);
|
|
447
|
+
async function showUsage(cmd, parent, print) {
|
|
448
|
+
const { showUsage: impl } = await import("./help-23PPB2BD.js");
|
|
449
|
+
return impl(cmd, parent, print);
|
|
450
|
+
}
|
|
451
|
+
async function unknownCommandError(requested) {
|
|
452
|
+
const word = requested.unknownSubcommand ?? "";
|
|
453
|
+
const group = ["hyperframes", ...requested.path].join(" ");
|
|
454
|
+
const declared = requested.command.subCommands;
|
|
455
|
+
const subCommands2 = typeof declared === "function" ? await declared() : await declared;
|
|
456
|
+
const match = closestMatch(word, Object.keys(subCommands2 ?? {}));
|
|
457
|
+
console.error(`Unknown command: ${word}`);
|
|
458
|
+
if (match) console.error(`Did you mean '${group} ${match}'?`);
|
|
459
|
+
console.error("");
|
|
460
|
+
await showUsage(requested.command, requested.parent, console.error);
|
|
461
|
+
return new CliUsageError(`Unknown command: ${word}`, {
|
|
462
|
+
presented: true,
|
|
463
|
+
code: "unknown_command",
|
|
464
|
+
hint: match ? `Did you mean '${group} ${match}'?` : void 0
|
|
465
|
+
});
|
|
420
466
|
}
|
|
421
|
-
|
|
467
|
+
function takesPositionals(command2) {
|
|
468
|
+
const args = command2.args;
|
|
469
|
+
return typeof args === "object" && args !== null && Object.values(args).some((arg) => arg.type === "positional");
|
|
470
|
+
}
|
|
471
|
+
async function showRequestedUsage(print) {
|
|
422
472
|
const requested = await resolveCommandUsage(main, argv);
|
|
423
|
-
|
|
473
|
+
if (requested.unknownSubcommand && !takesPositionals(requested.command)) {
|
|
474
|
+
throw await unknownCommandError(requested);
|
|
475
|
+
}
|
|
476
|
+
return showUsage(requested.command, requested.parent, print);
|
|
477
|
+
}
|
|
478
|
+
async function rejectUnknownTopLevelCommand() {
|
|
479
|
+
const word = argv[0];
|
|
480
|
+
if (!word || word.startsWith("-") || Object.hasOwn(subCommands, word)) return;
|
|
481
|
+
throw await unknownCommandError({
|
|
482
|
+
command: main,
|
|
483
|
+
path: [],
|
|
484
|
+
unknownSubcommand: word
|
|
485
|
+
});
|
|
486
|
+
}
|
|
487
|
+
function isCittyError(error, code) {
|
|
488
|
+
return error instanceof Error && error.name === "CLIError" && error.code === code;
|
|
489
|
+
}
|
|
490
|
+
var CITTY_USAGE_CODES = /* @__PURE__ */ new Set(["EARG", "E_UNKNOWN_COMMAND", "E_NO_COMMAND"]);
|
|
491
|
+
function isCittyUsageError(error) {
|
|
492
|
+
return [...CITTY_USAGE_CODES].some((code) => isCittyError(error, code));
|
|
424
493
|
}
|
|
425
494
|
function commandResultForError(error) {
|
|
426
495
|
if (error instanceof CliResultSignal) return error.result;
|
|
427
496
|
if (error instanceof CliUsageError || error instanceof CliRuntimeError) return error.result;
|
|
497
|
+
if (isCittyUsageError(error)) return { exitCode: USAGE_EXIT_CODE, kind: "usage_error" };
|
|
428
498
|
return { exitCode: 1, kind: "runtime_error" };
|
|
429
499
|
}
|
|
430
500
|
async function executeCli() {
|
|
431
501
|
let result = { exitCode: 0, kind: "success" };
|
|
502
|
+
let failure;
|
|
432
503
|
try {
|
|
433
|
-
if (isHelp) await showRequestedUsage();
|
|
434
|
-
else
|
|
435
|
-
|
|
504
|
+
if (isHelp) await showRequestedUsage(console.log);
|
|
505
|
+
else {
|
|
506
|
+
await rejectUnknownTopLevelCommand();
|
|
507
|
+
await runCommand(main, { rawArgs: argv });
|
|
508
|
+
}
|
|
509
|
+
} catch (caught) {
|
|
510
|
+
const error = isCittyError(caught, "E_UNKNOWN_COMMAND") ? await unknownCommandError(await resolveCommandUsage(main, argv)) : caught;
|
|
511
|
+
failure = error;
|
|
436
512
|
result = commandResultForError(error);
|
|
437
513
|
if (!(error instanceof CliResultSignal)) {
|
|
438
514
|
commandFailed = true;
|
|
439
515
|
await reportCommandFailure(command, error);
|
|
440
516
|
const typed = error instanceof CliUsageError || error instanceof CliRuntimeError;
|
|
441
|
-
|
|
517
|
+
const usage = error instanceof CliUsageError && !error.result.presented;
|
|
518
|
+
if (usage && !error.hint) await showRequestedUsage(console.error);
|
|
442
519
|
if (!typed || !error.result.presented) {
|
|
443
520
|
console.error(error instanceof Error ? error.message : String(error));
|
|
444
521
|
}
|
|
522
|
+
if (usage && error.hint) console.error(error.hint);
|
|
445
523
|
}
|
|
446
524
|
} finally {
|
|
447
525
|
const pending = consumeCommandResult();
|
|
448
526
|
if (pending.exitCode !== 0 || result.exitCode === 0) result = pending;
|
|
527
|
+
if (jsonOutput && result.exitCode !== 0 && !jsonOutput.wroteStdout()) {
|
|
528
|
+
writeJsonFailure(jsonErrorBody(failure, result, jsonOutput.stderrText()));
|
|
529
|
+
}
|
|
449
530
|
await finalizeCli(result);
|
|
450
531
|
}
|
|
451
532
|
}
|
|
@@ -6,10 +6,15 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
defineCommand
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DL4OD7IA.js";
|
|
10
|
+
import "./chunk-S3S4TGEH.js";
|
|
10
11
|
import {
|
|
11
12
|
c
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2GICKZ3I.js";
|
|
14
|
+
import "./chunk-J3RXEDR2.js";
|
|
15
|
+
import "./chunk-G7VEYUZ2.js";
|
|
16
|
+
import "./chunk-XT6MXC7A.js";
|
|
17
|
+
import "./chunk-7KDQAD2W.js";
|
|
13
18
|
import "./chunk-M2WBOQ2Q.js";
|
|
14
19
|
|
|
15
20
|
// src/commands/cloud.ts
|
|
@@ -55,10 +60,10 @@ ${c.bold("AUTH:")}
|
|
|
55
60
|
var cloud_default = defineCommand({
|
|
56
61
|
meta: { name: "cloud", description: "Render HyperFrames compositions on the HeyGen cloud" },
|
|
57
62
|
subCommands: {
|
|
58
|
-
render: () => import("./render-
|
|
59
|
-
list: () => import("./list-
|
|
60
|
-
get: () => import("./get-
|
|
61
|
-
delete: () => import("./delete-
|
|
63
|
+
render: () => import("./render-SEODWRRR.js").then((m) => m.default),
|
|
64
|
+
list: () => import("./list-3O6743DJ.js").then((m) => m.default),
|
|
65
|
+
get: () => import("./get-EFH3PPJA.js").then((m) => m.default),
|
|
66
|
+
delete: () => import("./delete-2FHCQ72T.js").then((m) => m.default)
|
|
62
67
|
},
|
|
63
68
|
async run({ args }) {
|
|
64
69
|
if (!args._?.[0]) console.log(HELP);
|
|
@@ -6,42 +6,40 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parseOutputResolutionFlag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5SKC4G26.js";
|
|
10
10
|
import {
|
|
11
11
|
isMissingPackageError,
|
|
12
12
|
missingPackageMessage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FLXZ4GZI.js";
|
|
14
14
|
import {
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
resolveVariablesArg,
|
|
17
17
|
validateVariablesAgainstProject
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AJAXP4HF.js";
|
|
19
19
|
import "./chunk-ZBAF6L74.js";
|
|
20
20
|
import "./chunk-XFMO3BEN.js";
|
|
21
21
|
import {
|
|
22
22
|
defaultCloudFps
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-V6OSE6VT.js";
|
|
24
|
+
import "./chunk-5ZBMHUY2.js";
|
|
25
25
|
import {
|
|
26
26
|
defineCommand
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import
|
|
29
|
-
failCommand
|
|
30
|
-
} from "./chunk-JVBRJMOP.js";
|
|
27
|
+
} from "./chunk-DL4OD7IA.js";
|
|
28
|
+
import "./chunk-S3S4TGEH.js";
|
|
31
29
|
import {
|
|
32
30
|
c
|
|
33
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2GICKZ3I.js";
|
|
34
32
|
import {
|
|
35
33
|
DISTRIBUTED_FPS,
|
|
36
34
|
isDistributedFps
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
} from "./chunk-BYRXSKIY.js";
|
|
36
|
+
import "./chunk-W5OBRMZ6.js";
|
|
39
37
|
import "./chunk-VC76R6W2.js";
|
|
40
38
|
import "./chunk-OFQWTKPW.js";
|
|
41
39
|
import "./chunk-RQVDTPGD.js";
|
|
42
40
|
import "./chunk-634HSJ3J.js";
|
|
43
41
|
import "./chunk-FXMKHHPO.js";
|
|
44
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-X4SBDDLS.js";
|
|
45
43
|
import "./chunk-NHA4NRBE.js";
|
|
46
44
|
import "./chunk-FR7YBU3H.js";
|
|
47
45
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -49,9 +47,19 @@ import "./chunk-GWTIFRF5.js";
|
|
|
49
47
|
import "./chunk-2RY2LWAA.js";
|
|
50
48
|
import "./chunk-3422KMTD.js";
|
|
51
49
|
import "./chunk-WC4MTXGN.js";
|
|
50
|
+
import "./chunk-SJGE5I5F.js";
|
|
51
|
+
import {
|
|
52
|
+
CliUsageError,
|
|
53
|
+
failCommand,
|
|
54
|
+
failUsage
|
|
55
|
+
} from "./chunk-DP5LF7GF.js";
|
|
56
|
+
import "./chunk-J3RXEDR2.js";
|
|
52
57
|
import {
|
|
53
58
|
normalizeErrorMessage
|
|
54
59
|
} from "./chunk-E63BDV4Z.js";
|
|
60
|
+
import "./chunk-G7VEYUZ2.js";
|
|
61
|
+
import "./chunk-XT6MXC7A.js";
|
|
62
|
+
import "./chunk-7KDQAD2W.js";
|
|
55
63
|
import "./chunk-M2WBOQ2Q.js";
|
|
56
64
|
|
|
57
65
|
// src/commands/cloudrun.ts
|
|
@@ -261,7 +269,7 @@ var cloudrun_default = defineCommand({
|
|
|
261
269
|
default:
|
|
262
270
|
console.error(`${c.error("Unknown subcommand:")} ${subcommand}
|
|
263
271
|
${HELP}`);
|
|
264
|
-
|
|
272
|
+
failUsage();
|
|
265
273
|
}
|
|
266
274
|
}
|
|
267
275
|
});
|
|
@@ -317,7 +325,7 @@ async function runDeploy(args) {
|
|
|
317
325
|
const project = args.project;
|
|
318
326
|
if (!project) {
|
|
319
327
|
console.error("[cloudrun deploy] --project <gcp-project-id> is required.");
|
|
320
|
-
|
|
328
|
+
failUsage();
|
|
321
329
|
}
|
|
322
330
|
const region = args.region ?? "us-central1";
|
|
323
331
|
const repo = args.repo ?? "hyperframes";
|
|
@@ -343,7 +351,7 @@ async function runDeploy(args) {
|
|
|
343
351
|
console.error(
|
|
344
352
|
"[cloudrun deploy] --image is required when not running from a hyperframes checkout (no Dockerfile context found)."
|
|
345
353
|
);
|
|
346
|
-
|
|
354
|
+
failUsage();
|
|
347
355
|
}
|
|
348
356
|
const exists = spawnSync("gcloud", [
|
|
349
357
|
"artifacts",
|
|
@@ -450,12 +458,12 @@ async function runSites(args) {
|
|
|
450
458
|
console.error(
|
|
451
459
|
`[cloudrun sites] unknown verb "${String(args.target)}". Only "create" is supported.`
|
|
452
460
|
);
|
|
453
|
-
|
|
461
|
+
failUsage();
|
|
454
462
|
}
|
|
455
463
|
const projectDir = args.extra;
|
|
456
464
|
if (!projectDir) {
|
|
457
465
|
console.error("[cloudrun sites create] usage: hyperframes cloudrun sites create <projectDir>");
|
|
458
|
-
|
|
466
|
+
failUsage();
|
|
459
467
|
}
|
|
460
468
|
const state = readState(args);
|
|
461
469
|
const { deploySite } = await loadCloudRunAdapter();
|
|
@@ -479,7 +487,7 @@ function resolveCloudRunFps(args, projectDir, command) {
|
|
|
479
487
|
console.error(
|
|
480
488
|
`[cloudrun ${command}] --fps must be one of ${DISTRIBUTED_FPS.join(", ")}; got ${fps}.`
|
|
481
489
|
);
|
|
482
|
-
|
|
490
|
+
failUsage();
|
|
483
491
|
}
|
|
484
492
|
async function runRender(args) {
|
|
485
493
|
const projectDir = args.target;
|
|
@@ -487,18 +495,19 @@ async function runRender(args) {
|
|
|
487
495
|
console.error(
|
|
488
496
|
"[cloudrun render] usage: hyperframes cloudrun render <projectDir> --width <px> --height <px>"
|
|
489
497
|
);
|
|
490
|
-
|
|
498
|
+
failUsage();
|
|
491
499
|
}
|
|
492
500
|
const width = parsePositiveInt(args.width, "--width");
|
|
493
501
|
const height = parsePositiveInt(args.height, "--height");
|
|
494
502
|
if (width === void 0 || height === void 0) {
|
|
495
503
|
console.error("[cloudrun render] --width and --height are required.");
|
|
496
|
-
|
|
504
|
+
failUsage();
|
|
497
505
|
}
|
|
498
506
|
const fps = resolveCloudRunFps(args, projectDir, "render");
|
|
499
|
-
const state = readState(args);
|
|
500
507
|
const variables = resolveAndValidateVariables(args, resolve(projectDir));
|
|
501
508
|
const config = buildRenderConfig(args, fps, width, height, variables);
|
|
509
|
+
const intervalMs = parsePositiveInt(args["wait-interval-ms"], "--wait-interval-ms") ?? 5e3;
|
|
510
|
+
const state = readState(args);
|
|
502
511
|
const { renderToCloudRun, getRenderProgress } = await loadCloudRunAdapter();
|
|
503
512
|
const handle = await renderToCloudRun({
|
|
504
513
|
projectDir: resolve(projectDir),
|
|
@@ -522,7 +531,6 @@ async function runRender(args) {
|
|
|
522
531
|
}
|
|
523
532
|
return;
|
|
524
533
|
}
|
|
525
|
-
const intervalMs = parsePositiveInt(args["wait-interval-ms"], "--wait-interval-ms") ?? 5e3;
|
|
526
534
|
let progress = await getRenderProgress({ executionName: handle.executionName });
|
|
527
535
|
while (progress.status === "running") {
|
|
528
536
|
await new Promise((r) => setTimeout(r, intervalMs));
|
|
@@ -546,7 +554,7 @@ async function runProgress(args) {
|
|
|
546
554
|
const executionName = args.target;
|
|
547
555
|
if (!executionName) {
|
|
548
556
|
console.error("[cloudrun progress] usage: hyperframes cloudrun progress <executionName>");
|
|
549
|
-
|
|
557
|
+
failUsage();
|
|
550
558
|
}
|
|
551
559
|
const { getRenderProgress } = await loadCloudRunAdapter();
|
|
552
560
|
const progress = await getRenderProgress({ executionName });
|
|
@@ -569,15 +577,16 @@ async function runRenderBatch(args) {
|
|
|
569
577
|
console.error(
|
|
570
578
|
"[cloudrun render-batch] usage: hyperframes cloudrun render-batch <projectDir> --batch <file.jsonl> --width <px> --height <px>"
|
|
571
579
|
);
|
|
572
|
-
|
|
580
|
+
failUsage();
|
|
573
581
|
}
|
|
574
582
|
const width = parsePositiveInt(args.width, "--width");
|
|
575
583
|
const height = parsePositiveInt(args.height, "--height");
|
|
576
584
|
if (width === void 0 || height === void 0) {
|
|
577
585
|
console.error("[cloudrun render-batch] --width and --height are required.");
|
|
578
|
-
|
|
586
|
+
failUsage();
|
|
579
587
|
}
|
|
580
588
|
const fps = resolveCloudRunFps(args, projectDir, "render-batch");
|
|
589
|
+
buildRenderConfig(args, fps, width, height, void 0);
|
|
581
590
|
if (!existsSync(resolve(batchPath))) {
|
|
582
591
|
console.error(`[cloudrun render-batch] batch file not found: ${batchPath}`);
|
|
583
592
|
failCommand();
|
|
@@ -597,8 +606,8 @@ async function runRenderBatch(args) {
|
|
|
597
606
|
console.log(JSON.stringify(manifest, null, 2));
|
|
598
607
|
return;
|
|
599
608
|
}
|
|
600
|
-
const state = readState(args);
|
|
601
609
|
const maxConcurrent = parsePositiveInt(args["max-concurrent"], "--max-concurrent") ?? DEFAULT_BATCH_MAX_CONCURRENT;
|
|
610
|
+
const state = readState(args);
|
|
602
611
|
const { deploySite, renderToCloudRun } = await loadCloudRunAdapter();
|
|
603
612
|
const siteHandle = await deploySite({
|
|
604
613
|
projectDir: resolve(projectDir),
|
|
@@ -676,7 +685,7 @@ async function runDestroy(args) {
|
|
|
676
685
|
const image = args.image ?? "unused:latest";
|
|
677
686
|
if (!project) {
|
|
678
687
|
console.error("[cloudrun destroy] --project is required (or deploy first to cache it).");
|
|
679
|
-
|
|
688
|
+
failUsage();
|
|
680
689
|
}
|
|
681
690
|
const vars = [
|
|
682
691
|
"-var",
|
|
@@ -748,7 +757,7 @@ function parsePositiveInt(raw, flagName) {
|
|
|
748
757
|
const n = parseIntFlag(raw);
|
|
749
758
|
if (n === void 0) return void 0;
|
|
750
759
|
if (!Number.isInteger(n) || n < 1) {
|
|
751
|
-
throw new
|
|
760
|
+
throw new CliUsageError(`[cloudrun] ${flagName} must be a positive integer; got ${n}`);
|
|
752
761
|
}
|
|
753
762
|
return n;
|
|
754
763
|
}
|
|
@@ -756,7 +765,7 @@ function parseEnum(raw, allowed, errorPrefix, defaultValue) {
|
|
|
756
765
|
if (raw === void 0 || raw === null || raw === "") return defaultValue;
|
|
757
766
|
const s = String(raw);
|
|
758
767
|
if (allowed.includes(s)) return s;
|
|
759
|
-
throw new
|
|
768
|
+
throw new CliUsageError(`${errorPrefix} must be ${allowed.join("|")}; got ${s}`);
|
|
760
769
|
}
|
|
761
770
|
var FORMATS = ["mp4", "mov", "png-sequence", "webm"];
|
|
762
771
|
var CODECS = ["h264", "h265"];
|
|
@@ -7,7 +7,11 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
c,
|
|
9
9
|
isColorSupported
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2GICKZ3I.js";
|
|
11
|
+
import "./chunk-J3RXEDR2.js";
|
|
12
|
+
import "./chunk-G7VEYUZ2.js";
|
|
13
|
+
import "./chunk-XT6MXC7A.js";
|
|
14
|
+
import "./chunk-7KDQAD2W.js";
|
|
11
15
|
import "./chunk-M2WBOQ2Q.js";
|
|
12
16
|
export {
|
|
13
17
|
c,
|
|
@@ -2648,7 +2648,7 @@
|
|
|
2648
2648
|
|
|
2649
2649
|
function craftTextParts(root, rootRect) {
|
|
2650
2650
|
const candidates = [];
|
|
2651
|
-
for (const element of
|
|
2651
|
+
for (const element of elementsOnScreenScenes(root)) {
|
|
2652
2652
|
if (!hasOwnTextCandidate(element, true) || !isVisibleElement(element, 0.05, false)) continue;
|
|
2653
2653
|
const rect = unionRects(visibleTextClientRects(element, true));
|
|
2654
2654
|
if (!rect || !intersectsRect(rect, rootRect)) continue;
|