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
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
diag
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EQGKUPBJ.js";
|
|
10
10
|
import {
|
|
11
11
|
getInvocationId
|
|
12
12
|
} from "./chunk-54HJ63Q2.js";
|
|
13
13
|
import {
|
|
14
14
|
c
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2GICKZ3I.js";
|
|
16
16
|
import {
|
|
17
17
|
CANARIES,
|
|
18
18
|
canaryEnvVar,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-FXMKHHPO.js";
|
|
24
24
|
import {
|
|
25
25
|
getSystemMeta
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5766TK7Q.js";
|
|
27
27
|
import {
|
|
28
28
|
hostAnswers
|
|
29
29
|
} from "./chunk-K4WIOZFP.js";
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
readConfig,
|
|
35
35
|
telemetryRuntimeOverride,
|
|
36
36
|
writeConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-ZCHULPJZ.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UXH6E5HC.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -4,12 +4,15 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
asNotice
|
|
9
|
+
} from "./chunk-SJGE5I5F.js";
|
|
7
10
|
|
|
8
11
|
// src/ui/diagnostics.ts
|
|
9
12
|
var diag = {
|
|
10
13
|
/** A user-facing notice or progress line (e.g. "Installing … skills…"). */
|
|
11
14
|
notice(...args) {
|
|
12
|
-
console.error(...args);
|
|
15
|
+
asNotice(() => console.error(...args));
|
|
13
16
|
},
|
|
14
17
|
/** A warning the user should see but that isn't fatal. */
|
|
15
18
|
warn(...args) {
|
|
@@ -6,13 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
writeNewFileSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5YPMCCCA.js";
|
|
10
10
|
import {
|
|
11
11
|
normalizeSkillSlug
|
|
12
12
|
} from "./chunk-HVW7ABXD.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_REGISTRY_URL
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-45JN2GIZ.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectConfig.ts
|
|
18
18
|
import { readFileSync, writeFileSync } from "fs";
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// src/utils/download.ts
|
|
9
|
+
import { randomUUID } from "crypto";
|
|
10
|
+
import { createWriteStream, renameSync, statSync, unlinkSync } from "fs";
|
|
11
|
+
import { get as httpsGet } from "https";
|
|
12
|
+
import { once } from "events";
|
|
13
|
+
import { Transform } from "stream";
|
|
14
|
+
import { pipeline } from "stream/promises";
|
|
15
|
+
var DEFAULT_DOWNLOAD_TIMEOUT_MS = 3e4;
|
|
16
|
+
var REDIRECT_CODES = /* @__PURE__ */ new Set([301, 302, 303, 307, 308]);
|
|
17
|
+
function redirectTarget(location, from) {
|
|
18
|
+
return new URL(location, from).toString();
|
|
19
|
+
}
|
|
20
|
+
var MAX_REDIRECTS = 10;
|
|
21
|
+
function removePartialFile(path) {
|
|
22
|
+
try {
|
|
23
|
+
unlinkSync(path);
|
|
24
|
+
} catch {
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function measureDownload(options, startBytes, totalBytes) {
|
|
28
|
+
let receivedBytes = startBytes;
|
|
29
|
+
let reportedAt = Date.now();
|
|
30
|
+
options.onProgress?.(receivedBytes, totalBytes);
|
|
31
|
+
const stream = new Transform({
|
|
32
|
+
transform(chunk, _encoding, callback) {
|
|
33
|
+
receivedBytes += chunk.byteLength;
|
|
34
|
+
if (options.maxBytes !== void 0 && receivedBytes > options.maxBytes) {
|
|
35
|
+
callback(new Error(`Download exceeded ${options.maxBytes} bytes`));
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
const now = Date.now();
|
|
39
|
+
if (now - reportedAt >= 100) {
|
|
40
|
+
options.onProgress?.(receivedBytes, totalBytes);
|
|
41
|
+
reportedAt = now;
|
|
42
|
+
}
|
|
43
|
+
callback(null, chunk);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
stream,
|
|
48
|
+
received: () => receivedBytes,
|
|
49
|
+
complete: () => options.onProgress?.(receivedBytes, totalBytes)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function getUrl(url, signal, offset, onResponse) {
|
|
53
|
+
const headers = offset > 0 ? { Range: `bytes=${offset}-` } : void 0;
|
|
54
|
+
if (!signal && !headers) return httpsGet(url, onResponse);
|
|
55
|
+
return httpsGet(
|
|
56
|
+
url,
|
|
57
|
+
{ ...signal ? { signal } : {}, ...headers ? { headers } : {} },
|
|
58
|
+
onResponse
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
function fileSize(path) {
|
|
62
|
+
try {
|
|
63
|
+
return statSync(path).size;
|
|
64
|
+
} catch {
|
|
65
|
+
return 0;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function byteCount(value) {
|
|
69
|
+
const n = Number(value);
|
|
70
|
+
return value !== void 0 && Number.isSafeInteger(n) && n >= 0 ? n : null;
|
|
71
|
+
}
|
|
72
|
+
function contentRange(header) {
|
|
73
|
+
const match = /^bytes (\d+)-\d+\/(\d+|\*)$/.exec(header ?? "");
|
|
74
|
+
return match ? { start: Number(match[1]), total: match[2] === "*" ? null : Number(match[2]) } : null;
|
|
75
|
+
}
|
|
76
|
+
function planResponse(res, offset) {
|
|
77
|
+
const status = res.statusCode;
|
|
78
|
+
const location = res.headers.location;
|
|
79
|
+
if (status && REDIRECT_CODES.has(status) && location) return { kind: "redirect", location };
|
|
80
|
+
const range = status === 206 ? contentRange(res.headers["content-range"]) : null;
|
|
81
|
+
if (offset > 0 && range?.start === offset) {
|
|
82
|
+
return { kind: "body", start: offset, total: range.total, append: true };
|
|
83
|
+
}
|
|
84
|
+
if (status === 200) {
|
|
85
|
+
return {
|
|
86
|
+
kind: "body",
|
|
87
|
+
start: 0,
|
|
88
|
+
total: byteCount(res.headers["content-length"]),
|
|
89
|
+
append: false
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
return { kind: "refuse", status };
|
|
93
|
+
}
|
|
94
|
+
async function writeBody(res, tmp, plan, state, options) {
|
|
95
|
+
state.received = plan.start;
|
|
96
|
+
state.total = plan.total;
|
|
97
|
+
const meter = measureDownload(options, plan.start, plan.total);
|
|
98
|
+
const file = createWriteStream(tmp, { flags: plan.append ? "a" : "w" });
|
|
99
|
+
try {
|
|
100
|
+
await pipeline(res, meter.stream, file);
|
|
101
|
+
} catch (error) {
|
|
102
|
+
if (!file.closed) await once(file, "close").catch(() => {
|
|
103
|
+
});
|
|
104
|
+
state.received = fileSize(tmp);
|
|
105
|
+
throw error;
|
|
106
|
+
}
|
|
107
|
+
state.received = meter.received();
|
|
108
|
+
meter.complete();
|
|
109
|
+
}
|
|
110
|
+
function downloadAttempt(url, tmp, state, options) {
|
|
111
|
+
const timeoutMs = options.timeoutMs ?? DEFAULT_DOWNLOAD_TIMEOUT_MS;
|
|
112
|
+
const offset = state.received;
|
|
113
|
+
return new Promise((resolve, reject) => {
|
|
114
|
+
const follow = (u, hops = 0) => {
|
|
115
|
+
let activeResponse;
|
|
116
|
+
let responseDiscarded = false;
|
|
117
|
+
let responsePipelineStarted = false;
|
|
118
|
+
let requestError;
|
|
119
|
+
const discard = (res) => {
|
|
120
|
+
responseDiscarded = true;
|
|
121
|
+
res.destroy();
|
|
122
|
+
};
|
|
123
|
+
const onResponse = (res) => {
|
|
124
|
+
activeResponse = res;
|
|
125
|
+
const plan = planResponse(res, offset);
|
|
126
|
+
if (plan.kind === "refuse") {
|
|
127
|
+
discard(res);
|
|
128
|
+
reject(new Error(`Download failed: HTTP ${plan.status}`));
|
|
129
|
+
} else if (plan.kind === "redirect") {
|
|
130
|
+
discard(res);
|
|
131
|
+
if (hops >= MAX_REDIRECTS) {
|
|
132
|
+
reject(
|
|
133
|
+
new Error(
|
|
134
|
+
`Download failed: more than ${MAX_REDIRECTS} redirects from ${url.split("?")[0]}`
|
|
135
|
+
)
|
|
136
|
+
);
|
|
137
|
+
} else {
|
|
138
|
+
try {
|
|
139
|
+
follow(redirectTarget(plan.location, u), hops + 1);
|
|
140
|
+
} catch (error) {
|
|
141
|
+
reject(error);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
} else {
|
|
145
|
+
responsePipelineStarted = true;
|
|
146
|
+
writeBody(res, tmp, plan, state, options).then(
|
|
147
|
+
resolve,
|
|
148
|
+
(err) => reject(requestError ?? err)
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
let request;
|
|
153
|
+
try {
|
|
154
|
+
request = getUrl(u, options.signal, offset, onResponse);
|
|
155
|
+
} catch (error) {
|
|
156
|
+
reject(error);
|
|
157
|
+
return;
|
|
158
|
+
}
|
|
159
|
+
request.setTimeout(timeoutMs, () => {
|
|
160
|
+
request.destroy(new Error(`Download timed out after ${timeoutMs}ms`));
|
|
161
|
+
});
|
|
162
|
+
request.on("error", (err) => {
|
|
163
|
+
if (responseDiscarded) return;
|
|
164
|
+
if (responsePipelineStarted) {
|
|
165
|
+
requestError = err;
|
|
166
|
+
activeResponse?.destroy(err);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
reject(err);
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
follow(url);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
async function downloadFile(url, dest, options = {}) {
|
|
176
|
+
const tmp = `${dest}.${process.pid}.${randomUUID()}.tmp`;
|
|
177
|
+
const state = { received: 0, total: null };
|
|
178
|
+
for (; ; ) {
|
|
179
|
+
const before = state.received;
|
|
180
|
+
try {
|
|
181
|
+
await downloadAttempt(url, tmp, state, options);
|
|
182
|
+
const size = fileSize(tmp);
|
|
183
|
+
if (state.total !== null && size !== state.total) {
|
|
184
|
+
state.received = size;
|
|
185
|
+
throw new Error(`Download incomplete: ${size} of ${state.total} bytes`);
|
|
186
|
+
}
|
|
187
|
+
renameSync(tmp, dest);
|
|
188
|
+
return;
|
|
189
|
+
} catch (error) {
|
|
190
|
+
const overLimit = error instanceof Error && error.message.startsWith("Download exceeded");
|
|
191
|
+
if (options.signal?.aborted || overLimit || state.received <= before) {
|
|
192
|
+
removePartialFile(tmp);
|
|
193
|
+
throw error;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
export {
|
|
200
|
+
downloadFile
|
|
201
|
+
};
|
|
@@ -4,15 +4,45 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
CliUsageError
|
|
9
|
-
} from "./chunk-JVBRJMOP.js";
|
|
10
7
|
import {
|
|
11
8
|
c
|
|
12
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2GICKZ3I.js";
|
|
10
|
+
import {
|
|
11
|
+
CliUsageError
|
|
12
|
+
} from "./chunk-DP5LF7GF.js";
|
|
13
|
+
|
|
14
|
+
// src/utils/didYouMean.ts
|
|
15
|
+
function editDistance(a, b) {
|
|
16
|
+
let previous = Array.from({ length: b.length + 1 }, (_, i) => i);
|
|
17
|
+
for (let i = 1; i <= a.length; i++) {
|
|
18
|
+
const current = [i];
|
|
19
|
+
for (let j = 1; j <= b.length; j++) {
|
|
20
|
+
const substitution = previous[j - 1] + (a[i - 1] === b[j - 1] ? 0 : 1);
|
|
21
|
+
current[j] = Math.min(previous[j] + 1, current[j - 1] + 1, substitution);
|
|
22
|
+
}
|
|
23
|
+
previous = current;
|
|
24
|
+
}
|
|
25
|
+
return previous[b.length];
|
|
26
|
+
}
|
|
27
|
+
function closestMatch(input, candidates) {
|
|
28
|
+
const names = [...candidates];
|
|
29
|
+
const prefixed = input.length >= 2 ? names.find((name) => name.startsWith(input)) : void 0;
|
|
30
|
+
if (prefixed) return prefixed;
|
|
31
|
+
const limit = input.length <= 3 ? 1 : Math.max(2, Math.floor(input.length / 3));
|
|
32
|
+
let best;
|
|
33
|
+
let bestDistance = limit + 1;
|
|
34
|
+
for (const name of names) {
|
|
35
|
+
const distance = editDistance(input, name);
|
|
36
|
+
if (distance < bestDistance) {
|
|
37
|
+
best = name;
|
|
38
|
+
bestDistance = distance;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return best;
|
|
42
|
+
}
|
|
13
43
|
|
|
14
44
|
// src/utils/reject-unknown-flags.ts
|
|
15
|
-
var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"
|
|
45
|
+
var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
|
|
16
46
|
function nameVariants(name) {
|
|
17
47
|
const kebab = name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
|
|
18
48
|
const camel = name.replace(/-([a-z])/g, (_, c2) => c2.toUpperCase());
|
|
@@ -52,7 +82,21 @@ function unknownFlagIn(tok, known) {
|
|
|
52
82
|
}
|
|
53
83
|
return null;
|
|
54
84
|
}
|
|
55
|
-
function
|
|
85
|
+
function unknownFlagError(flag, known, path) {
|
|
86
|
+
const command = `hyperframes ${path ? `${path} ` : ""}`.trim();
|
|
87
|
+
if (flag === "--json") {
|
|
88
|
+
return new CliUsageError(`${command} has no JSON output.`, {
|
|
89
|
+
code: "json_unsupported",
|
|
90
|
+
hint: "Run it without --json."
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
const longNames = [...known].filter((name) => name.length > 1);
|
|
94
|
+
const match = flag.startsWith("--") ? closestMatch(flag.slice(2), longNames) : void 0;
|
|
95
|
+
const help = `Run 'hyperframes ${path ? `${path} ` : ""}--help' to see its flags.`;
|
|
96
|
+
const hint = match ? `Did you mean --${match}? ${help}` : help;
|
|
97
|
+
return new CliUsageError(`Unknown flag: ${flag}`, { hint, code: "unknown_flag" });
|
|
98
|
+
}
|
|
99
|
+
function assertKnownFlags(cmd, rawArgs, path = "") {
|
|
56
100
|
if (!Array.isArray(rawArgs)) return;
|
|
57
101
|
const rawDef = cmd.args;
|
|
58
102
|
const args = rawDef && typeof rawDef === "object" ? rawDef : void 0;
|
|
@@ -60,7 +104,7 @@ function assertKnownFlags(cmd, rawArgs) {
|
|
|
60
104
|
for (const tok of rawArgs) {
|
|
61
105
|
if (tok === "--") break;
|
|
62
106
|
const bad = unknownFlagIn(tok, known);
|
|
63
|
-
if (bad) throw
|
|
107
|
+
if (bad) throw unknownFlagError(bad, known, path);
|
|
64
108
|
}
|
|
65
109
|
}
|
|
66
110
|
function stringValueFlagOwners(args, ignore) {
|
|
@@ -136,6 +180,7 @@ function guardSwallowedFlagValues(cmd, path, rawArgs) {
|
|
|
136
180
|
}
|
|
137
181
|
|
|
138
182
|
export {
|
|
183
|
+
closestMatch,
|
|
139
184
|
assertKnownFlags,
|
|
140
185
|
swallowedFlagUsageError,
|
|
141
186
|
guardSwallowedFlagValues
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
probeFirstFrameColour,
|
|
9
9
|
probeMediaMetadata
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-R5B6GXQM.js";
|
|
11
11
|
import {
|
|
12
12
|
alphaDecoderFor
|
|
13
13
|
} from "./chunk-5S7W3TUO.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
formatPreviewProxyBox,
|
|
16
16
|
hdrToSdrToneMapFilter,
|
|
17
17
|
isHeavyForPreview
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BYRXSKIY.js";
|
|
19
19
|
import {
|
|
20
20
|
mkdirWithinProject,
|
|
21
21
|
realProjectRoot,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
} from "./chunk-PBNWRWKA.js";
|
|
33
33
|
import {
|
|
34
34
|
rewriteAssetPath
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-X4SBDDLS.js";
|
|
36
36
|
import {
|
|
37
37
|
decodeAuthoredAttribute,
|
|
38
38
|
scanHtmlOpeningTags
|
|
@@ -5,11 +5,12 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
|
-
// ../studio-server/dist/chunk-
|
|
8
|
+
// ../studio-server/dist/chunk-H5AB5322.js
|
|
9
9
|
var CRF_MAX_BY_FORMAT = { mp4: 51, webm: 63 };
|
|
10
10
|
var VIDEO_BITRATE = /^\d+(\.\d+)?[kKmMgG]?$/;
|
|
11
11
|
var VIDEO_FRAME_FORMATS = ["auto", "jpg", "png"];
|
|
12
12
|
var HDR_MODES = ["auto", "force-hdr", "force-sdr"];
|
|
13
|
+
var PRORES_PROFILES = ["4444", "hq", "422", "lt", "proxy"];
|
|
13
14
|
var isSet = (value) => value !== void 0 && value !== null;
|
|
14
15
|
function oneOf(value, allowed) {
|
|
15
16
|
return typeof value === "string" && allowed.includes(value);
|
|
@@ -70,12 +71,21 @@ function parseDelivery(body, format) {
|
|
|
70
71
|
}
|
|
71
72
|
return { ok: true, options };
|
|
72
73
|
}
|
|
74
|
+
function parseProres(value, format) {
|
|
75
|
+
if (!isSet(value)) return { ok: true, options: {} };
|
|
76
|
+
if (!oneOf(value, PRORES_PROFILES)) {
|
|
77
|
+
return { ok: false, error: `proresProfile must be one of ${PRORES_PROFILES.join(", ")}` };
|
|
78
|
+
}
|
|
79
|
+
return { ok: true, options: format === "mov" ? { proresProfile: value } : {} };
|
|
80
|
+
}
|
|
73
81
|
function parseEncoderOptions(body, format) {
|
|
74
82
|
const rate = parseRateControl(body, format);
|
|
75
83
|
if (!rate.ok) return rate;
|
|
76
84
|
const delivery = parseDelivery(body, format);
|
|
77
85
|
if (!delivery.ok) return delivery;
|
|
78
|
-
const
|
|
86
|
+
const prores = parseProres(body.proresProfile, format);
|
|
87
|
+
if (!prores.ok) return prores;
|
|
88
|
+
const options = { ...rate.options, ...delivery.options, ...prores.options };
|
|
79
89
|
if (isSet(body.gifLoop)) {
|
|
80
90
|
if (typeof body.gifLoop !== "number" || !Number.isInteger(body.gifLoop) || body.gifLoop < 0 || body.gifLoop > 65535) {
|
|
81
91
|
return { ok: false, error: "gifLoop must be an integer from 0 to 65535" };
|
|
@@ -5,14 +5,8 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
-
detectWsl
|
|
9
|
-
|
|
10
|
-
} from "./chunk-UIOZIIB7.js";
|
|
11
|
-
|
|
12
|
-
// src/telemetry/system.ts
|
|
13
|
-
import { cpus, platform as platform2, release as release2 } from "os";
|
|
14
|
-
import { existsSync as existsSync2, readFileSync as readFileSync2, statfsSync } from "fs";
|
|
15
|
-
import { execSync } from "child_process";
|
|
8
|
+
detectWsl
|
|
9
|
+
} from "./chunk-7KDQAD2W.js";
|
|
16
10
|
|
|
17
11
|
// src/telemetry/agent_runtime.ts
|
|
18
12
|
import { existsSync, readFileSync, statSync } from "fs";
|
|
@@ -58,7 +52,8 @@ var VENDOR_RULES = [
|
|
|
58
52
|
// Source: https://docs.cursor.com/en/agent/terminal
|
|
59
53
|
{
|
|
60
54
|
name: "cursor",
|
|
61
|
-
check: (env) => Boolean(env["CURSOR_AGENT"]) || env["TERM_PROGRAM"] === "cursor"
|
|
55
|
+
check: (env) => Boolean(env["CURSOR_AGENT"]) || env["TERM_PROGRAM"] === "cursor",
|
|
56
|
+
agentOnly: (env) => Boolean(env["CURSOR_AGENT"])
|
|
62
57
|
},
|
|
63
58
|
// Windsurf (Codeium) integrated terminal — exports TERM_PROGRAM=windsurf.
|
|
64
59
|
// Attested across many independent detectors (nx
|
|
@@ -70,7 +65,8 @@ var VENDOR_RULES = [
|
|
|
70
65
|
// driving; under WSL/remote it can also fall back to TERM_PROGRAM=vscode.
|
|
71
66
|
{
|
|
72
67
|
name: "windsurf",
|
|
73
|
-
check: (env) => env["TERM_PROGRAM"]?.toLowerCase() === "windsurf"
|
|
68
|
+
check: (env) => env["TERM_PROGRAM"]?.toLowerCase() === "windsurf",
|
|
69
|
+
agentOnly: () => false
|
|
74
70
|
},
|
|
75
71
|
// GitHub Copilot Coding Agent — runs inside GitHub Actions and the
|
|
76
72
|
// workflow injects an additional marker to distinguish from generic CI.
|
|
@@ -86,7 +82,8 @@ var VENDOR_RULES = [
|
|
|
86
82
|
// Source: https://docs.replit.com/replit-workspace/configuring-the-environment
|
|
87
83
|
{
|
|
88
84
|
name: "replit",
|
|
89
|
-
check: (env) => typeof env["REPL_ID"] === "string" || typeof env["REPLIT_USER"] === "string"
|
|
85
|
+
check: (env) => typeof env["REPL_ID"] === "string" || typeof env["REPLIT_USER"] === "string",
|
|
86
|
+
agentOnly: () => false
|
|
90
87
|
},
|
|
91
88
|
// Nous Research Hermes Agent — cli.py:50 unconditionally executes
|
|
92
89
|
// os.environ["HERMES_QUIET"] = "1"
|
|
@@ -170,6 +167,10 @@ function detectAgentRuntime() {
|
|
|
170
167
|
}
|
|
171
168
|
return null;
|
|
172
169
|
}
|
|
170
|
+
function isAgentDriven(env = process.env) {
|
|
171
|
+
if (isGeminiManagedAgent()) return true;
|
|
172
|
+
return VENDOR_RULES.some((rule) => (rule.agentOnly ?? rule.check)(env));
|
|
173
|
+
}
|
|
173
174
|
function detectExecutionHarnessHint() {
|
|
174
175
|
return typeof process.env["HARBOR_AGENT"] === "string" ? "harbor" : null;
|
|
175
176
|
}
|
|
@@ -287,127 +288,10 @@ function isGeminiManagedAgent() {
|
|
|
287
288
|
return isGVisor();
|
|
288
289
|
}
|
|
289
290
|
|
|
290
|
-
// src/telemetry/system.ts
|
|
291
|
-
function bytesToMb(bytes) {
|
|
292
|
-
return Math.trunc(bytes / (1024 * 1024));
|
|
293
|
-
}
|
|
294
|
-
var cached = null;
|
|
295
|
-
var CLIENT_TAG = /^[a-z0-9][a-z0-9._+-]{0,31}(\/[a-z0-9._+-]{1,32}){0,3}$/i;
|
|
296
|
-
function readClientTag() {
|
|
297
|
-
const tag = process.env["HYPERFRAMES_CLIENT"]?.trim() ?? "";
|
|
298
|
-
return CLIENT_TAG.test(tag) ? tag : null;
|
|
299
|
-
}
|
|
300
|
-
function getSystemMeta() {
|
|
301
|
-
if (cached) return cached;
|
|
302
|
-
const cpuInfo = cpus();
|
|
303
|
-
const firstCpu = cpuInfo[0] ?? null;
|
|
304
|
-
const agent_runtime = detectAgentRuntime();
|
|
305
|
-
const hints = agent_runtime === null ? detectAgentHints() : { agent_hint: null, term_program: null, agent_env_hints: null };
|
|
306
|
-
cached = {
|
|
307
|
-
os_release: release2(),
|
|
308
|
-
cpu_count: cpuInfo.length,
|
|
309
|
-
cpu_model: firstCpu?.model?.trim() ?? null,
|
|
310
|
-
cpu_speed: firstCpu?.speed ?? null,
|
|
311
|
-
memory_total_mb: getSystemTotalMb(),
|
|
312
|
-
is_docker: detectDocker(),
|
|
313
|
-
is_ci: detectCI(),
|
|
314
|
-
ci_name: getCIName(),
|
|
315
|
-
is_wsl: detectWsl(),
|
|
316
|
-
is_tty: Boolean(process.stdout?.isTTY),
|
|
317
|
-
sandbox_runtime: detectSandboxRuntime(),
|
|
318
|
-
agent_runtime,
|
|
319
|
-
execution_harness_hint: detectExecutionHarnessHint(),
|
|
320
|
-
agent_hint: hints.agent_hint,
|
|
321
|
-
term_program: hints.term_program,
|
|
322
|
-
agent_env_hints: hints.agent_env_hints,
|
|
323
|
-
client: readClientTag()
|
|
324
|
-
};
|
|
325
|
-
return cached;
|
|
326
|
-
}
|
|
327
|
-
function detectDocker() {
|
|
328
|
-
try {
|
|
329
|
-
if (existsSync2("/.dockerenv")) return true;
|
|
330
|
-
if (platform2() === "linux") {
|
|
331
|
-
const cgroup = readFileSync2("/proc/1/cgroup", "utf-8");
|
|
332
|
-
if (cgroup.includes("docker") || cgroup.includes("containerd")) return true;
|
|
333
|
-
}
|
|
334
|
-
} catch {
|
|
335
|
-
}
|
|
336
|
-
return false;
|
|
337
|
-
}
|
|
338
|
-
var CI_PROVIDERS = [
|
|
339
|
-
{ name: "github_actions", envVar: "GITHUB_ACTIONS", mode: "truthy" },
|
|
340
|
-
{ name: "gitlab_ci", envVar: "GITLAB_CI", mode: "truthy" },
|
|
341
|
-
{ name: "circleci", envVar: "CIRCLECI", mode: "truthy" },
|
|
342
|
-
{ name: "jenkins", envVar: "JENKINS_URL", mode: "presence" },
|
|
343
|
-
{ name: "buildkite", envVar: "BUILDKITE", mode: "truthy" },
|
|
344
|
-
{ name: "travis", envVar: "TRAVIS", mode: "truthy" },
|
|
345
|
-
{ name: null, envVar: "CONTINUOUS_INTEGRATION", mode: "truthy" },
|
|
346
|
-
{ name: null, envVar: "CI", mode: "truthy" }
|
|
347
|
-
];
|
|
348
|
-
function matchesProvider(p) {
|
|
349
|
-
const v = process.env[p.envVar];
|
|
350
|
-
if (p.mode === "presence") return v != null;
|
|
351
|
-
return v === "true" || v === "1";
|
|
352
|
-
}
|
|
353
|
-
function detectCI() {
|
|
354
|
-
return CI_PROVIDERS.some(matchesProvider);
|
|
355
|
-
}
|
|
356
|
-
function getCIName() {
|
|
357
|
-
for (const provider of CI_PROVIDERS) {
|
|
358
|
-
if (provider.name && matchesProvider(provider)) return provider.name;
|
|
359
|
-
}
|
|
360
|
-
return detectCI() ? "unknown" : null;
|
|
361
|
-
}
|
|
362
|
-
function getShmSizeMb() {
|
|
363
|
-
if (platform2() !== "linux") return null;
|
|
364
|
-
try {
|
|
365
|
-
const stats = statfsSync("/dev/shm");
|
|
366
|
-
return bytesToMb(stats.bsize * stats.blocks);
|
|
367
|
-
} catch {
|
|
368
|
-
return null;
|
|
369
|
-
}
|
|
370
|
-
}
|
|
371
|
-
function getFreeDiskMb(path = ".") {
|
|
372
|
-
try {
|
|
373
|
-
const stats = statfsSync(path);
|
|
374
|
-
return bytesToMb(stats.bsize * stats.bavail);
|
|
375
|
-
} catch {
|
|
376
|
-
return null;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
function parsePmsetPowerSource(raw) {
|
|
380
|
-
const m = raw.match(/Now drawing from '([^']+)'/);
|
|
381
|
-
if (!m) return null;
|
|
382
|
-
return m[1] === "Battery Power";
|
|
383
|
-
}
|
|
384
|
-
function getPowerState() {
|
|
385
|
-
if (platform2() !== "darwin") {
|
|
386
|
-
return { on_battery: null, low_power_mode: null };
|
|
387
|
-
}
|
|
388
|
-
let on_battery = null;
|
|
389
|
-
let low_power_mode = null;
|
|
390
|
-
try {
|
|
391
|
-
on_battery = parsePmsetPowerSource(
|
|
392
|
-
execSync("pmset -g batt", { encoding: "utf-8", timeout: 2e3 })
|
|
393
|
-
);
|
|
394
|
-
} catch {
|
|
395
|
-
}
|
|
396
|
-
try {
|
|
397
|
-
const raw = execSync("pmset -g", { encoding: "utf-8", timeout: 2e3 });
|
|
398
|
-
const m = raw.match(/lowpowermode\s+(\d)/);
|
|
399
|
-
if (m) low_power_mode = m[1] === "1";
|
|
400
|
-
} catch {
|
|
401
|
-
}
|
|
402
|
-
return { on_battery, low_power_mode };
|
|
403
|
-
}
|
|
404
|
-
|
|
405
291
|
export {
|
|
292
|
+
detectSandboxRuntime,
|
|
406
293
|
detectAgentRuntime,
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
getFreeDiskMb,
|
|
411
|
-
parsePmsetPowerSource,
|
|
412
|
-
getPowerState
|
|
294
|
+
isAgentDriven,
|
|
295
|
+
detectExecutionHarnessHint,
|
|
296
|
+
detectAgentHints
|
|
413
297
|
};
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
} from "./chunk-Y65ZU7XY.js";
|
|
11
11
|
import {
|
|
12
12
|
downloadFile
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJ646TIT.js";
|
|
14
14
|
import {
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-T7KNW7PE.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RDZKBIEB.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OL5E4Y4L.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -391,7 +391,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
391
391
|
}
|
|
392
392
|
async function probeMedia(inputPath) {
|
|
393
393
|
const isImage = inferInputKind(inputPath) === "image";
|
|
394
|
-
const engine = await import("./src-
|
|
394
|
+
const engine = await import("./src-OHJ7USRX.js");
|
|
395
395
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
396
396
|
if (isImage) {
|
|
397
397
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|