hyperframes 0.8.209 → 0.8.211
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-VZKUIZEH.js → add-WERDY37C.js} +27 -24
- package/dist/{agentPromptGenerator-4NJ252MR.js → agentPromptGenerator-SEAPWYY5.js} +30 -1
- package/dist/{animatedGifPrep-PN4G4YPJ.js → animatedGifPrep-LC43PROA.js} +11 -10
- package/dist/api.js +29 -25
- package/dist/{appHistory-OHYU5ZBQ.js → appHistory-BCWH6XYH.js} +3 -3
- package/dist/{asset-I4PHGE57.js → asset-IVDQNYHP.js} +10 -5
- package/dist/{assetCataloger-LRAUXQ46.js → assetCataloger-PPE7M2WM.js} +13 -12
- package/dist/{audio-T7SAVYED.js → audio-IJ22GXO6.js} +34 -31
- package/dist/{auth-GP6HTQT3.js → auth-FZMDHX2H.js} +11 -6
- package/dist/{autoUpdate-Z6GFPZAG.js → autoUpdate-EO6SFALF.js} +11 -6
- package/dist/{backgroundChecks-ZJ7JV52S.js → backgroundChecks-YW5VIAYF.js} +9 -6
- package/dist/backgroundChecksWorker.js +10 -6
- package/dist/{batchRender-J3ETE23Y.js → batchRender-OOXYNZOT.js} +12 -8
- package/dist/{beats-WF4FJCM5.js → beats-X7GRQA4J.js} +22 -19
- package/dist/{benchmark-B7UPP4PQ.js → benchmark-JGGBMRZO.js} +25 -22
- package/dist/{browser-SIUYD43U.js → browser-FQ5JPTME.js} +23 -20
- package/dist/{bundleWithLocalizedFonts-RRGFY3XV.js → bundleWithLocalizedFonts-XA73ZJ4S.js} +8 -4
- package/dist/{capture-VYS4PCCJ.js → capture-GUVCA5JQ.js} +35 -32
- package/dist/{capture-J3GLHUKI.js → capture-KKVB3MKM.js} +12 -10
- package/dist/{captureCompositionFrame-SVLMPQYC.js → captureCompositionFrame-LNKWWCXE.js} +24 -20
- package/dist/{catalog-DVBNR422.js → catalog-LKJEMEOC.js} +40 -37
- package/dist/{catch-up-OBPMV7KG.js → catch-up-FA6KWX4S.js} +20 -17
- package/dist/{check-MEALXNZK.js → check-6GIDKL6S.js} +59 -56
- package/dist/{checkAudio-RZ7WQYVN.js → checkAudio-H3AUFC4M.js} +19 -15
- package/dist/{checkBrowser-2LEQ2LSX.js → checkBrowser-YWWF63S6.js} +51 -48
- package/dist/{chunk-R52YM6ZK.js → chunk-22OGII5H.js} +5 -5
- package/dist/{chunk-J7A73K2B.js → chunk-24F7TOW2.js} +99 -44
- package/dist/{chunk-ZTZA4UWZ.js → chunk-2GICKZ3I.js} +4 -1
- package/dist/{chunk-U7CZBDMV.js → chunk-2P5DTXUN.js} +1 -1
- package/dist/{chunk-EVYDKSML.js → chunk-2QAR7ZNY.js} +3 -3
- package/dist/{chunk-DROFHVQD.js → chunk-2RQZQJHV.js} +4 -4
- package/dist/{chunk-UIOZIIB7.js → chunk-32NEJ553.js} +1 -73
- package/dist/{chunk-VYRJAQGC.js → chunk-3JYKWNFR.js} +1 -1
- package/dist/{chunk-KGBFHYHX.js → chunk-3LACB6HG.js} +5 -5
- package/dist/{chunk-66PNSZ7K.js → chunk-3NIESDKN.js} +1 -1
- package/dist/{chunk-EA5FUMJN.js → chunk-3R5MYOJN.js} +4 -4
- package/dist/{chunk-IJPFVMIE.js → chunk-3WL7WU6K.js} +28 -20
- package/dist/{chunk-MI4V4HPE.js → chunk-472C35EW.js} +4 -2
- package/dist/{chunk-OML6HQQN.js → chunk-4D46TX6Q.js} +5 -5
- package/dist/{chunk-Z67J3TTU.js → chunk-4EO7DNRJ.js} +3 -3
- package/dist/{chunk-CBM4ZUVN.js → chunk-4JWKC3GH.js} +6 -6
- package/dist/chunk-5766TK7Q.js +145 -0
- package/dist/{chunk-PYVYF64E.js → chunk-5AKWJHRJ.js} +1 -1
- package/dist/{chunk-Y2EVJBR6.js → chunk-5KOZRJR7.js} +2 -2
- package/dist/{chunk-H7B526GH.js → chunk-5LITFBMY.js} +178 -72
- package/dist/{chunk-4BXEPVSA.js → chunk-5MCR5DA5.js} +15 -5
- package/dist/{chunk-MNNK7RV5.js → chunk-5SWWIT7K.js} +2 -1
- package/dist/{chunk-KCLBO65Y.js → chunk-5YPMCCCA.js} +1 -1
- package/dist/{chunk-DVIX7UPH.js → chunk-66KMYUNO.js} +2 -2
- package/dist/{chunk-RVG2JNDU.js → chunk-67JTGRNM.js} +2 -2
- package/dist/{chunk-AQTODJWP.js → chunk-6EN2LWOM.js} +1 -1
- package/dist/{chunk-3A4SB326.js → chunk-6J2G57BB.js} +11 -16
- package/dist/chunk-6LDHXB4Z.js +36 -0
- package/dist/{chunk-GDZA4ALG.js → chunk-77KGX4A3.js} +7 -4
- package/dist/{chunk-MOEGCMKI.js → chunk-7J6LQ3SQ.js} +20 -0
- package/dist/chunk-7KDQAD2W.js +81 -0
- package/dist/{chunk-NQ2INEHX.js → chunk-A4ZTSQLW.js} +1 -1
- package/dist/{chunk-P3OKYRGA.js → chunk-ABBVDJMG.js} +5 -5
- package/dist/{chunk-RJO4X3AA.js → chunk-AIY2Y5UY.js} +3 -3
- package/dist/{chunk-L5XVBFUM.js → chunk-AQMGYRX6.js} +2 -2
- package/dist/{chunk-5T4DP25D.js → chunk-B2B4MN3R.js} +3 -3
- package/dist/{chunk-SOXQXX2M.js → chunk-B4KGJHTE.js} +3 -3
- package/dist/{chunk-NJZRXELC.js → chunk-BGC5S3OZ.js} +41 -29
- package/dist/{chunk-AF3L5JJX.js → chunk-CCLBOLYU.js} +1 -1
- package/dist/{chunk-YCGLT5B4.js → chunk-CGAUUUDL.js} +4 -4
- package/dist/{chunk-DGECWPTL.js → chunk-CJ5QZRY7.js} +2 -2
- package/dist/{chunk-CA3PXWN4.js → chunk-CNU65QE2.js} +4 -4
- package/dist/{chunk-VQB7G5BM.js → chunk-CTZJSMGU.js} +1 -1
- package/dist/{chunk-W32DVMX3.js → chunk-CZCRSS3U.js} +2 -2
- package/dist/{chunk-OK3QLJSF.js → chunk-DAXKGMJL.js} +21 -4
- package/dist/{chunk-RAONLDN5.js → chunk-DDRCX7P2.js} +2 -2
- package/dist/{chunk-SE6S4SGZ.js → chunk-DJ3H6EW3.js} +17 -17
- package/dist/chunk-DL4OD7IA.js +21 -0
- package/dist/{chunk-3RATCY3W.js → chunk-DMIFCIG6.js} +1 -1
- package/dist/{chunk-U5IZUWBW.js → chunk-DPYI2HRJ.js} +91 -17
- package/dist/{chunk-6CSYCFQV.js → chunk-DW35FX4I.js} +1 -1
- package/dist/{chunk-P2FSCR5B.js → chunk-DWIMUPFK.js} +4 -4
- package/dist/{chunk-EU7MVORF.js → chunk-E63BDV4Z.js} +10 -1
- package/dist/{chunk-M4QZFUMW.js → chunk-FBN5AQJL.js} +3 -3
- package/dist/{chunk-LJ7H2A2C.js → chunk-FI7SSV73.js} +1 -1
- package/dist/{chunk-SNLXWCET.js → chunk-FIC3E7IM.js} +21 -15
- package/dist/{chunk-2R5ZKWSV.js → chunk-FLXZ4GZI.js} +1 -1
- package/dist/{chunk-CIDCNE2D.js → chunk-FVY2XRX4.js} +3 -3
- package/dist/chunk-FWKZ3O52.js +4870 -0
- package/dist/{chunk-QSFWGZG6.js → chunk-G7VEYUZ2.js} +16 -132
- package/dist/{chunk-A7GDBL6D.js → chunk-GSXA4YLV.js} +1 -1
- package/dist/{chunk-TSM67ADU.js → chunk-IEVU4FXB.js} +3 -3
- package/dist/{chunk-K2FLNJVB.js → chunk-J2JG4XGP.js} +1 -1
- package/dist/{chunk-WERLJGIC.js → chunk-J3RXEDR2.js} +17 -2
- package/dist/{chunk-JLCAHJUO.js → chunk-JMD5HDPB.js} +2 -2
- package/dist/{chunk-MKALOCDV.js → chunk-JZVUSRZ5.js} +1 -1
- package/dist/{chunk-ZPILPVYU.js → chunk-K3LLHG6I.js} +2 -2
- package/dist/{chunk-HTZJNQYI.js → chunk-K43XLAQV.js} +3 -3
- package/dist/{chunk-V4VXWOIF.js → chunk-KDDO3UYI.js} +9 -9
- package/dist/{chunk-FB5BXGGF.js → chunk-KF6I5WA7.js} +10 -10
- package/dist/chunk-KSNIYQRB.js +1105 -0
- package/dist/{chunk-3PTZ2TD4.js → chunk-KUXOAS4Z.js} +1 -1
- package/dist/{chunk-I3ICHLHV.js → chunk-KZBBY72Q.js} +2 -2
- package/dist/{chunk-JVBRJMOP.js → chunk-LALLQUSK.js} +6 -2
- package/dist/{chunk-F4O4G4ZW.js → chunk-LAR5VTCN.js} +7 -7
- package/dist/{chunk-66LREXGS.js → chunk-NEQIJUV2.js} +1 -1
- package/dist/{chunk-QIDN4ML5.js → chunk-NO6F7CLR.js} +1 -1
- package/dist/{chunk-NXNDHV26.js → chunk-OE5EHGDG.js} +1 -1
- package/dist/{chunk-BYPDKF36.js → chunk-OOA6C4AG.js} +8 -4
- package/dist/{chunk-RIJHDTM5.js → chunk-ORXLO64X.js} +1 -1
- package/dist/{chunk-JJRMN2RV.js → chunk-PICG2XRD.js} +6 -8
- package/dist/{chunk-SWHCYFEF.js → chunk-PKWZG642.js} +3 -3
- package/dist/{chunk-D2CE2J2A.js → chunk-PV4XID2A.js} +1 -1
- package/dist/{chunk-ZMIRSWN6.js → chunk-Q52ISCT4.js} +1 -1
- package/dist/{chunk-3PUXUIWB.js → chunk-QVHC77IF.js} +1 -1
- package/dist/{chunk-SPMKVI6H.js → chunk-RQNFW6YC.js} +9 -4
- package/dist/{chunk-ZA5TNF4R.js → chunk-SJK64HHG.js} +1 -1
- package/dist/{chunk-L7MGVFR4.js → chunk-SXJJTFV4.js} +4 -4
- package/dist/{chunk-MVNTJGDX.js → chunk-T2L2GJ4C.js} +5 -5
- package/dist/{chunk-GMECXFAN.js → chunk-T2WJO4XM.js} +5 -2
- package/dist/{chunk-P327BIJR.js → chunk-U46JEU26.js} +1 -1
- package/dist/{chunk-IQNS7O4W.js → chunk-UI7X4L4M.js} +220 -38
- package/dist/{chunk-JC6BAQOG.js → chunk-VBC3DQFS.js} +3 -3
- package/dist/{chunk-D6T5BNSK.js → chunk-VGKQFZCC.js} +25 -22
- package/dist/{chunk-56ANHX5U.js → chunk-VUEWZXZG.js} +1 -1
- package/dist/{chunk-ERUQ3S6D.js → chunk-WE42NVH7.js} +6 -1
- package/dist/{chunk-TF7YE7J5.js → chunk-WNDTMINP.js} +5 -5
- package/dist/{chunk-SE2MXV2N.js → chunk-X4SBDDLS.js} +2 -1
- package/dist/{chunk-Q43YUROE.js → chunk-X6JUUQCM.js} +1 -1
- package/dist/{chunk-YIFEK3UD.js → chunk-XQ26I3PL.js} +1 -1
- package/dist/{chunk-EXAX37XR.js → chunk-Y65ZU7XY.js} +18 -13
- package/dist/{chunk-GQZHLF5P.js → chunk-YPNBEBQ6.js} +22 -22
- package/dist/{chunk-DR47DSOY.js → chunk-YWPCMOX4.js} +21 -13
- package/dist/{chunk-XCIHCPJK.js → chunk-YWRUQ7XZ.js} +3 -2
- package/dist/{chunk-WLVHSGVL.js → chunk-Z2UZAY2Q.js} +2 -2
- package/dist/{chunk-NEASABW6.js → chunk-ZCHULPJZ.js} +4 -4
- package/dist/{chunk-KTWGVEN6.js → chunk-ZE57TSS6.js} +4 -4
- package/dist/{chunk-6PWQH77E.js → chunk-ZFVNYA3M.js} +1 -1
- package/dist/{chunk-QIKZ2HZJ.js → chunk-ZNSKOXFW.js} +3 -3
- package/dist/{chunk-LV4NWCJS.js → chunk-ZPXXWUQ3.js} +2 -2
- package/dist/{clean-VWCYLOVI.js → clean-SVEOBRPM.js} +38 -35
- package/dist/cli.js +82 -67
- package/dist/{cloud-HU3RXCVE.js → cloud-ADFJGIEH.js} +11 -6
- package/dist/{cloudrun-OST6QBYD.js → cloudrun-BNY7Q5RK.js} +25 -19
- package/dist/{colors-HKWSZCGK.js → colors-HRL7QSVG.js} +5 -1
- package/dist/commands/layout-audit.browser.js +94 -5
- package/dist/commands/motion-signature.browser.js +11 -2
- package/dist/{compare-U2MJWZAH.js → compare-QC3T22KV.js} +51 -48
- package/dist/{compiler-DSP4MVEC.js → compiler-4ITKK4XI.js} +4 -4
- package/dist/{component-EC5XU6KR.js → component-CNZCB3RY.js} +12 -7
- package/dist/{compositions-AKYCTF4G.js → compositions-UO32IP6Z.js} +26 -23
- package/dist/{contactSheet-RYAE7Y5D.js → contactSheet-WG4HT5XP.js} +2 -2
- package/dist/{delete-Z5MOEZM2.js → delete-RWTOSI24.js} +24 -18
- package/dist/{deploy-Y4LFVYXT.js → deploy-OKWS53NP.js} +9 -5
- package/dist/{destroy-CGAZIL2C.js → destroy-4RL5VOXQ.js} +7 -3
- package/dist/{dist-JJL4QUDL.js → dist-AEE3QTRB.js} +5 -3
- package/dist/{dist-73YTUT3W.js → dist-NCI6JOJZ.js} +2 -2
- package/dist/{docs-UEWLIP6D.js → docs-UMIA66EZ.js} +8 -3
- package/dist/{doctor-7234U557.js → doctor-SIF72ESZ.js} +30 -23
- package/dist/{events-SII53QYO.js → events-34PIVLZQ.js} +13 -11
- package/dist/{events-RUIZNTG3.js → events-S3VUTFEG.js} +13 -10
- package/dist/{feedback-6CCDDQ36.js → feedback-VS4LRXHW.js} +34 -29
- package/dist/{ffmpeg-C4VWK4M2.js → ffmpeg-YVQOKNV6.js} +14 -13
- package/dist/{figma-GAN63U5U.js → figma-AF4JKDBA.js} +10 -5
- package/dist/fontLocalizeCli.js +15 -13
- package/dist/{get-RZGUHZB4.js → get-UQGCS6Q4.js} +20 -16
- package/dist/{gpuPolicy-BGJRCLP4.js → gpuPolicy-Q4B3D6PW.js} +11 -10
- package/dist/{grade-compare-XOBN52WV.js → grade-compare-G34673XC.js} +52 -49
- package/dist/hangReport.js +1 -0
- package/dist/{heifImagePrep-DCHSYGW7.js → heifImagePrep-XD4DGOUS.js} +12 -11
- package/dist/{help-O2IV6PUC.js → help-3QSD26IC.js} +7 -3
- package/dist/{history-GPTEM4UX.js → history-6DC24UCF.js} +22 -19
- 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-7Y3JPN7C.js → info-6JUHWWJK.js} +21 -18
- package/dist/{init-L6W5WG5K.js → init-2DPX6U3J.js} +67 -60
- package/dist/{inspect-MQZANGQY.js → inspect-Z55YUSXC.js} +49 -46
- package/dist/{installer-DCIMLYB6.js → installer-XVKYJU7S.js} +7 -6
- package/dist/{keyframes-WNJIKL4G.js → keyframes-YHF4AQIL.js} +19 -16
- package/dist/{lambda-FEA4SSFK.js → lambda-JITTS37E.js} +37 -31
- package/dist/{layout-AUQAYDJU.js → layout-V5NYJXIX.js} +49 -46
- package/dist/{lint-A33IHYID.js → lint-V4WMO7YL.js} +22 -19
- package/dist/{lintProject-KCN7MRBN.js → lintProject-EM7Y2ZRB.js} +2 -2
- package/dist/{list-56JHCET6.js → list-W7UCIYKA.js} +21 -17
- package/dist/localPage-BLQFFIDF.js +56 -0
- package/dist/{login-HUOM4GNP.js → login-IX3MOREU.js} +16 -12
- package/dist/{logout-3IID4KXD.js → logout-46NLNY2K.js} +11 -6
- package/dist/{manager-Z7W4GQGF.js → manager-IZIK7BHN.js} +9 -7
- package/dist/{manager-SDRJOMPR.js → manager-WJOWZNHM.js} +15 -14
- package/dist/{media-treatment-5TGZOD67.js → media-treatment-XBO6EXL4.js} +31 -28
- package/dist/{media-use-JBN57JE3.js → media-use-3RFKY7XJ.js} +3 -2
- package/dist/{models-ABDX6TXI.js → models-P3NSHDQS.js} +29 -24
- package/dist/{motionShot-AV2WRH2C.js → motionShot-D4QMLTQP.js} +31 -27
- package/dist/{normalize-audio-M7T25DST.js → normalize-audio-Q4VUR3QJ.js} +23 -20
- package/dist/{open-IRNZY5XN.js → open-LGKX534P.js} +30 -27
- package/dist/{parakeetRunner-2EJUIMOJ.js → parakeetRunner-FAOQMPS6.js} +23 -22
- package/dist/{pipeline-QGKOJKXS.js → pipeline-2YONKZYC.js} +19 -15
- package/dist/{play-2SQLHM5B.js → play-PJOUIY55.js} +44 -41
- package/dist/{policies-PKLD4UW5.js → policies-UPNRQ7IW.js} +11 -6
- package/dist/{preflight-ZHXMG2SM.js → preflight-3PPM7QBU.js} +18 -16
- package/dist/{present-RERVL6R7.js → present-323D6OE2.js} +38 -35
- package/dist/{preview-S6RQOMHE.js → preview-E42QP2KX.js} +52 -49
- package/dist/{producer-DBRGH2FI.js → producer-MTMNLJSC.js} +1 -1
- package/dist/{progress-PX3PVAIM.js → progress-LMQ2DXM4.js} +7 -3
- package/dist/{projectConfig-TUMDULTL.js → projectConfig-5QRVB5KY.js} +11 -11
- package/dist/prompts-P3IT5H36.js +40 -0
- package/dist/{publication-7VGXIFVZ.js → publication-AUZLFOG5.js} +5 -4
- package/dist/{publish-KJB2AGHL.js → publish-H5P7UHRV.js} +40 -29
- package/dist/{refresh-3IRHJEQA.js → refresh-4XRQS3N6.js} +11 -6
- package/dist/{remove-background-EFWXPLS4.js → remove-background-T2RV476S.js} +34 -27
- package/dist/{render-5O5ARP6C.js → render-3FRGIWES.js} +44 -40
- package/dist/{render-7S6UBLOE.js → render-4XEB3XWI.js} +82 -59
- package/dist/{render-HV6AA22W.js → render-GJH7446R.js} +15 -10
- package/dist/{render-batch-7UEOULJJ.js → render-batch-77X5453X.js} +16 -11
- package/dist/renderSetupWorker.js +13 -10
- package/dist/{resolver-HFTEER5V.js → resolver-DIUNK525.js} +7 -6
- package/dist/{screenshotCapture-HOW4VSV6.js → screenshotCapture-HDRHY4NN.js} +2 -2
- package/dist/{sherpa-HSSM76FL.js → sherpa-SUS3YSEP.js} +22 -21
- package/dist/sherpaWorker.js +1 -0
- package/dist/{sites-Q2S3DZY4.js → sites-V42IFVTK.js} +7 -3
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +2 -2
- package/dist/{skills-RQO5K6WL.js → skills-YCGSIOCE.js} +18 -15
- package/dist/{skillsUpdateCheck-S5WL2YLZ.js → skillsUpdateCheck-VCQIZGOL.js} +9 -6
- package/dist/{snapshot-4RGI235E.js → snapshot-H6R5PWNS.js} +85 -72
- package/dist/{src-D75YYW2M.js → src-ED5VCIRC.js} +13 -12
- package/dist/{src-ALOV4D57.js → src-HHDLJV4L.js} +24 -9
- package/dist/{state-JPNCCXAV.js → state-D5SYQFCB.js} +2 -2
- package/dist/{staticProjectServer-DIHWPJ6B.js → staticProjectServer-VY7QG5XH.js} +30 -23
- package/dist/{status-DTP6ZYDU.js → status-GEZNVPII.js} +12 -8
- package/dist/studio/assets/{hyperframes-player-CMH8OeX2.js → hyperframes-player-CzrqgMUX.js} +1 -1
- package/dist/studio/assets/{index-DjHzuJGR.js → index-B3SPHPi1.js} +1 -1
- package/dist/studio/assets/{index-CYbvOVp-.css → index-RUPGNyct.css} +1 -1
- package/dist/studio/assets/{index-DQam8zzE.js → index-k4nVfS2D.js} +123 -123
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-A2VSWTVF.js → studio-api-TR5RPX57.js} +16 -14
- package/dist/{studioServer-PECYWZHS.js → studioServer-4SZLLQOV.js} +79 -76
- package/dist/{synthesize-RVE7IUOJ.js → synthesize-QALK5SQR.js} +3 -3
- package/dist/{system-YD4AW5ZX.js → system-MVRF5UM2.js} +5 -3
- package/dist/{telemetry-YDGXGOLH.js → telemetry-7HUKOQ6X.js} +13 -11
- package/dist/{telemetry-6BPSGY5W.js → telemetry-KGY7G3UR.js} +10 -6
- package/dist/templates/blank/index.html +1 -1
- package/dist/{timeline-5WUEEKZ3.js → timeline-CGIKWCQI.js} +38 -35
- package/dist/{tokens-XVFZPIUZ.js → tokens-AZALDJEK.js} +11 -6
- package/dist/{transcribe-QWDUIJWK.js → transcribe-CTF5EIXJ.js} +38 -35
- package/dist/{transcribe-TTJ6CDQT.js → transcribe-V6K5547L.js} +18 -17
- package/dist/{tts-AGMCPQXE.js → tts-C2HBLFKK.js} +14 -9
- package/dist/{updateCheck-P7STSJ6Q.js → updateCheck-5I563YLB.js} +8 -5
- package/dist/{upgrade-NEIZ3KVL.js → upgrade-GRPVQE7Z.js} +26 -13
- package/dist/{urlDownloader-ZZFNGZNG.js → urlDownloader-EP6Q4WES.js} +10 -9
- package/dist/{usage-HG4WMM7A.js → usage-772JV45U.js} +2 -1
- package/dist/{validate-T2SLBOXG.js → validate-TVCDSQS3.js} +41 -38
- package/dist/{video-7OHSBSRT.js → video-CFEIRKAE.js} +18 -14
- package/dist/warmCheck.js +60 -56
- package/dist/warmCheckClient.js +1 -0
- package/package.json +1 -1
- package/dist/chunk-WMQNIQDJ.js +0 -2057
- package/dist/chunk-ZXTSUXSL.js +0 -4870
- package/dist/dist-EWXJGN63.js +0 -129
- package/dist/localPage-V3HBGM3Z.js +0 -27
|
@@ -131,82 +131,10 @@ function getAvailableMemoryMb() {
|
|
|
131
131
|
return fallback;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
// ../engine/src/services/wslHost.ts
|
|
135
|
-
import { accessSync, constants, existsSync, readFileSync as readFileSync2, statSync } from "fs";
|
|
136
|
-
import { platform as platform2, release } from "os";
|
|
137
|
-
function groupName(gid) {
|
|
138
|
-
try {
|
|
139
|
-
const line = readFileSync2("/etc/group", "utf-8").split("\n").find((entry) => entry.split(":")[2] === String(gid));
|
|
140
|
-
return line?.split(":")[0] || String(gid);
|
|
141
|
-
} catch {
|
|
142
|
-
return String(gid);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
var realHost = {
|
|
146
|
-
get platform() {
|
|
147
|
-
return platform2();
|
|
148
|
-
},
|
|
149
|
-
get release() {
|
|
150
|
-
return release();
|
|
151
|
-
},
|
|
152
|
-
readProcVersion: () => readFileSync2("/proc/version", "utf-8"),
|
|
153
|
-
renderNodeAccess: (path) => {
|
|
154
|
-
if (!existsSync(path)) return { state: "missing" };
|
|
155
|
-
try {
|
|
156
|
-
accessSync(path, constants.R_OK | constants.W_OK);
|
|
157
|
-
return { state: "read-write" };
|
|
158
|
-
} catch {
|
|
159
|
-
const gid = statSync(path, { throwIfNoEntry: false })?.gid ?? -1;
|
|
160
|
-
return {
|
|
161
|
-
state: "denied",
|
|
162
|
-
group: groupName(gid),
|
|
163
|
-
userInGroup: process.getgroups?.().includes(gid) ?? false
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
};
|
|
168
|
-
function detectWsl(host = realHost) {
|
|
169
|
-
if (host.platform !== "linux") return false;
|
|
170
|
-
try {
|
|
171
|
-
const osRelease = host.release.toLowerCase();
|
|
172
|
-
if (osRelease.includes("microsoft") || osRelease.includes("wsl")) return true;
|
|
173
|
-
const procVersion = host.readProcVersion().toLowerCase();
|
|
174
|
-
return procVersion.includes("microsoft") || procVersion.includes("wsl");
|
|
175
|
-
} catch {
|
|
176
|
-
return false;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
var RENDER_NODE = "/dev/dri/renderD128";
|
|
180
|
-
var NATIVE_WINDOWS = "render from native Windows (project copied to a Windows drive, run from PowerShell), where Chrome uses the GPU through Direct3D.";
|
|
181
|
-
function describeWslGpuAccess(host = realHost) {
|
|
182
|
-
if (!detectWsl(host)) return null;
|
|
183
|
-
const access = host.renderNodeAccess(RENDER_NODE);
|
|
184
|
-
if (access.state === "denied" && !access.userInGroup) {
|
|
185
|
-
return [
|
|
186
|
-
` Your Linux user cannot read and write ${RENDER_NODE} and is not in its group ("${access.group}"), which can stop Mesa from reaching the GPU.`,
|
|
187
|
-
` Fix: run \`sudo usermod -aG ${access.group} $USER\`, then \`wsl --shutdown\` from Windows, reopen WSL and render again.`,
|
|
188
|
-
` Or ${NATIVE_WINDOWS}`
|
|
189
|
-
];
|
|
190
|
-
}
|
|
191
|
-
if (access.state === "denied") {
|
|
192
|
-
return [
|
|
193
|
-
` Your Linux user is in the "${access.group}" group but still cannot read and write ${RENDER_NODE}; check its permissions with \`ls -l ${RENDER_NODE}\`.`,
|
|
194
|
-
` Or ${NATIVE_WINDOWS}`
|
|
195
|
-
];
|
|
196
|
-
}
|
|
197
|
-
const seen = access.state === "missing" ? "does not exist" : "is readable and writable";
|
|
198
|
-
return [
|
|
199
|
-
` ${RENDER_NODE} ${seen}, so file permissions are not the cause.`,
|
|
200
|
-
` To use the GPU, ${NATIVE_WINDOWS}`
|
|
201
|
-
];
|
|
202
|
-
}
|
|
203
|
-
|
|
204
134
|
export {
|
|
205
135
|
getCgroupMemoryLimitMb,
|
|
206
136
|
getSystemTotalMb,
|
|
207
137
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
208
138
|
isLowMemorySystem,
|
|
209
|
-
getAvailableMemoryMb
|
|
210
|
-
detectWsl,
|
|
211
|
-
describeWslGpuAccess
|
|
139
|
+
getAvailableMemoryMb
|
|
212
140
|
};
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
downloadToFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NO6F7CLR.js";
|
|
10
10
|
import {
|
|
11
11
|
CACHE_DIR,
|
|
12
12
|
PINNED_PACKAGES,
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
pinnedPackageBesideCli,
|
|
17
17
|
runNpm,
|
|
18
18
|
sweepStaleStaging
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-Y65ZU7XY.js";
|
|
20
20
|
import {
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-PKWZG642.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-67JTGRNM.js";
|
|
28
28
|
import {
|
|
29
29
|
verifies
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QVHC77IF.js";
|
|
31
31
|
import {
|
|
32
32
|
PARAKEET_MODEL_LABEL,
|
|
33
33
|
SHERPA_ERROR_PREFIX,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
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-DDRCX7P2.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|
|
@@ -9,44 +9,44 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveProject
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IEVU4FXB.js";
|
|
13
13
|
import {
|
|
14
14
|
serveStaticProjectHtml
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6J2G57BB.js";
|
|
16
16
|
import {
|
|
17
17
|
AUDIT_SEEK_OPTIONS,
|
|
18
18
|
installPageFunctionGuard,
|
|
19
19
|
seekCompositionTimeline,
|
|
20
20
|
waitForCompositionFonts,
|
|
21
21
|
waitForRuntimeReady
|
|
22
|
-
} from "./chunk-
|
|
23
|
-
import {
|
|
24
|
-
launchManagedBrowser,
|
|
25
|
-
resolveManagedGpuMode
|
|
26
|
-
} from "./chunk-4BXEPVSA.js";
|
|
22
|
+
} from "./chunk-DJ3H6EW3.js";
|
|
27
23
|
import {
|
|
28
24
|
gotoWhenSent
|
|
29
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-7J6LQ3SQ.js";
|
|
30
26
|
import {
|
|
31
27
|
pageNavigationTimeoutMs
|
|
32
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-T2L2GJ4C.js";
|
|
29
|
+
import {
|
|
30
|
+
launchManagedBrowser,
|
|
31
|
+
resolveManagedGpuMode
|
|
32
|
+
} from "./chunk-5MCR5DA5.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DL4OD7IA.js";
|
|
36
36
|
import {
|
|
37
37
|
failCommand,
|
|
38
38
|
setCommandExitCode
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LALLQUSK.js";
|
|
40
40
|
import {
|
|
41
41
|
c
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-2GICKZ3I.js";
|
|
43
43
|
import {
|
|
44
44
|
printDeprecationNotice,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-RQNFW6YC.js";
|
|
47
47
|
import {
|
|
48
48
|
normalizeErrorMessage
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-E63BDV4Z.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/layout.ts
|
|
52
52
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -162,7 +162,7 @@ function collapseStaticLayoutIssues(issues, totalSampleCount) {
|
|
|
162
162
|
const sampleCount = totalSampleCount ?? new Set(issues.map((issue) => issue.time)).size;
|
|
163
163
|
const multiSampleRun = sampleCount > 1;
|
|
164
164
|
return [...groups.values()].map(
|
|
165
|
-
({ issue, firstSeen, lastSeen, occurrences, times }) =>
|
|
165
|
+
({ issue, firstSeen, lastSeen, occurrences, times }) => tierIssue(
|
|
166
166
|
{
|
|
167
167
|
...issue,
|
|
168
168
|
firstSeen,
|
|
@@ -171,7 +171,8 @@ function collapseStaticLayoutIssues(issues, totalSampleCount) {
|
|
|
171
171
|
heldMs: longestContiguousRunMs(times),
|
|
172
172
|
times: [...new Set(times)].sort((a, b) => a - b)
|
|
173
173
|
},
|
|
174
|
-
multiSampleRun
|
|
174
|
+
multiSampleRun,
|
|
175
|
+
sampleCount
|
|
175
176
|
)
|
|
176
177
|
);
|
|
177
178
|
}
|
|
@@ -194,6 +195,13 @@ function longestContiguousRun(times) {
|
|
|
194
195
|
}
|
|
195
196
|
return longest.length === 0 || span(run) > span(longest) ? run : longest;
|
|
196
197
|
}
|
|
198
|
+
function coverTier(issue, sampleCount) {
|
|
199
|
+
return (issue.occurrences ?? 1) * 2 >= sampleCount ? issue : { ...issue, severity: "info" };
|
|
200
|
+
}
|
|
201
|
+
function tierIssue(issue, multiSampleRun, sampleCount) {
|
|
202
|
+
if (multiSampleRun && issue.code === "canvas_covered") return coverTier(issue, sampleCount);
|
|
203
|
+
return applyPersistenceTier(issue, multiSampleRun);
|
|
204
|
+
}
|
|
197
205
|
function applyPersistenceTier(issue, multiSampleRun) {
|
|
198
206
|
if (!multiSampleRun) return issue;
|
|
199
207
|
if (!PERSISTENCE_TIERED_CODES.has(issue.code)) return issue;
|
|
@@ -690,7 +698,7 @@ async function collectTweenBoundaries(page) {
|
|
|
690
698
|
});
|
|
691
699
|
}
|
|
692
700
|
async function bundleProjectHtml(projectDir) {
|
|
693
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
701
|
+
const { bundleToSingleHtml } = await import("./compiler-4ITKK4XI.js");
|
|
694
702
|
return bundleToSingleHtml(projectDir);
|
|
695
703
|
}
|
|
696
704
|
async function alignViewportToComposition(page, url) {
|
|
@@ -707,15 +715,15 @@ async function alignViewportToComposition(page, url) {
|
|
|
707
715
|
await gotoWhenSent(page, url, pageNavigationTimeoutMs());
|
|
708
716
|
}
|
|
709
717
|
async function runLayoutAudit(projectDir, opts) {
|
|
710
|
-
const { ensureBrowser } = await import("./manager-
|
|
718
|
+
const { ensureBrowser } = await import("./manager-IZIK7BHN.js");
|
|
711
719
|
const puppeteer = await import("puppeteer-core");
|
|
712
|
-
const { buildChromeArgs } = await import("./src-
|
|
720
|
+
const { buildChromeArgs } = await import("./src-HHDLJV4L.js");
|
|
713
721
|
const {
|
|
714
722
|
assertWebGpuAdapterAvailable,
|
|
715
723
|
compositionRequiresWebGpu,
|
|
716
724
|
resolveLocalBrowserGpuMode,
|
|
717
725
|
resolveLocalWebGpu
|
|
718
|
-
} = await import("./gpuPolicy-
|
|
726
|
+
} = await import("./gpuPolicy-Q4B3D6PW.js");
|
|
719
727
|
const html = await bundleProjectHtml(projectDir);
|
|
720
728
|
const server = await serveStaticProjectHtml(
|
|
721
729
|
projectDir,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FWKZ3O52.js";
|
|
13
13
|
import {
|
|
14
14
|
COMPOSITION_ATTRIBUTES,
|
|
15
15
|
MEDIA_START_BASIS_ATTR,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
parseStartExpression,
|
|
22
22
|
resolveMediaStartSeconds,
|
|
23
23
|
sameInstant
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-X4SBDDLS.js";
|
|
25
25
|
import {
|
|
26
26
|
CANVAS_DIMENSIONS,
|
|
27
27
|
isCompositionElement,
|
|
@@ -1231,6 +1231,7 @@ var PREVIEW_PROXY_BOX_PARAM = "hf-proxy-box";
|
|
|
1231
1231
|
var PREVIEW_PROXY_LIGHT_PARAM = "hf-proxy-light";
|
|
1232
1232
|
var PREVIEW_PROXY_RETRY_PARAM = "hf-proxy-retry";
|
|
1233
1233
|
var PREVIEW_PROXY_PROGRESS_HEADER = "X-HF-Proxy-Progress";
|
|
1234
|
+
var PREVIEW_PROXY_PRIORITY_HEADER = "X-HF-Proxy-Priority";
|
|
1234
1235
|
var RUNGS = [
|
|
1235
1236
|
256,
|
|
1236
1237
|
304,
|
|
@@ -5651,6 +5652,7 @@ export {
|
|
|
5651
5652
|
PREVIEW_PROXY_LIGHT_PARAM,
|
|
5652
5653
|
PREVIEW_PROXY_RETRY_PARAM,
|
|
5653
5654
|
PREVIEW_PROXY_PROGRESS_HEADER,
|
|
5655
|
+
PREVIEW_PROXY_PRIORITY_HEADER,
|
|
5654
5656
|
quantizePreviewProxyBox,
|
|
5655
5657
|
formatPreviewProxyBox,
|
|
5656
5658
|
parsePreviewProxyBox,
|
|
@@ -11,17 +11,17 @@ import {
|
|
|
11
11
|
distroLabel,
|
|
12
12
|
getFFmpegInstallHint,
|
|
13
13
|
parseLddMissingLibs
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-22OGII5H.js";
|
|
15
15
|
import {
|
|
16
16
|
ensureBrowser,
|
|
17
17
|
findBrowser
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZE57TSS6.js";
|
|
19
19
|
import {
|
|
20
20
|
runCancellableProcess
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-X6JUUQCM.js";
|
|
22
22
|
import {
|
|
23
23
|
getFreeDiskMb
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5766TK7Q.js";
|
|
25
25
|
import {
|
|
26
26
|
FFMPEG_PATH_ENV,
|
|
27
27
|
FFPROBE_PATH_ENV,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VAS6HQX3.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeErrorMessage
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-E63BDV4Z.js";
|
|
33
33
|
|
|
34
34
|
// src/browser/preflight.ts
|
|
35
35
|
import { existsSync } from "fs";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UI7X4L4M.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-472C35EW.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -6,26 +6,26 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OE5EHGDG.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3LACB6HG.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PKWZG642.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-67JTGRNM.js";
|
|
24
24
|
import {
|
|
25
25
|
DEFAULT_MODEL,
|
|
26
26
|
findWhisper,
|
|
27
27
|
isWhisperUnavailable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QVHC77IF.js";
|
|
29
29
|
import {
|
|
30
30
|
formatSrt,
|
|
31
31
|
formatVtt,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-IR35BCLK.js";
|
|
44
44
|
import {
|
|
45
45
|
normalizeErrorMessage
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-E63BDV4Z.js";
|
|
47
47
|
|
|
48
48
|
// src/api/transcribe.ts
|
|
49
49
|
import { existsSync, realpathSync, rmSync, statSync, writeFileSync } from "fs";
|
|
@@ -0,0 +1,145 @@
|
|
|
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
|
+
import {
|
|
8
|
+
getSystemTotalMb
|
|
9
|
+
} from "./chunk-32NEJ553.js";
|
|
10
|
+
import {
|
|
11
|
+
detectAgentHints,
|
|
12
|
+
detectAgentRuntime,
|
|
13
|
+
detectExecutionHarnessHint,
|
|
14
|
+
detectSandboxRuntime
|
|
15
|
+
} from "./chunk-G7VEYUZ2.js";
|
|
16
|
+
import {
|
|
17
|
+
detectWsl
|
|
18
|
+
} from "./chunk-7KDQAD2W.js";
|
|
19
|
+
|
|
20
|
+
// src/telemetry/system.ts
|
|
21
|
+
import { cpus, platform, release } from "os";
|
|
22
|
+
import { existsSync, readFileSync, statfsSync } from "fs";
|
|
23
|
+
import { execSync } from "child_process";
|
|
24
|
+
function bytesToMb(bytes) {
|
|
25
|
+
return Math.trunc(bytes / (1024 * 1024));
|
|
26
|
+
}
|
|
27
|
+
var cached = null;
|
|
28
|
+
var CLIENT_TAG = /^[a-z0-9][a-z0-9._+-]{0,31}(\/[a-z0-9._+-]{1,32}){0,3}$/i;
|
|
29
|
+
function readClientTag() {
|
|
30
|
+
const tag = process.env["HYPERFRAMES_CLIENT"]?.trim() ?? "";
|
|
31
|
+
return CLIENT_TAG.test(tag) ? tag : null;
|
|
32
|
+
}
|
|
33
|
+
function getSystemMeta() {
|
|
34
|
+
if (cached) return cached;
|
|
35
|
+
const cpuInfo = cpus();
|
|
36
|
+
const firstCpu = cpuInfo[0] ?? null;
|
|
37
|
+
const agent_runtime = detectAgentRuntime();
|
|
38
|
+
const hints = agent_runtime === null ? detectAgentHints() : { agent_hint: null, term_program: null, agent_env_hints: null };
|
|
39
|
+
cached = {
|
|
40
|
+
os_release: release(),
|
|
41
|
+
cpu_count: cpuInfo.length,
|
|
42
|
+
cpu_model: firstCpu?.model?.trim() ?? null,
|
|
43
|
+
cpu_speed: firstCpu?.speed ?? null,
|
|
44
|
+
memory_total_mb: getSystemTotalMb(),
|
|
45
|
+
is_docker: detectDocker(),
|
|
46
|
+
is_ci: detectCI(),
|
|
47
|
+
ci_name: getCIName(),
|
|
48
|
+
is_wsl: detectWsl(),
|
|
49
|
+
is_tty: Boolean(process.stdout?.isTTY),
|
|
50
|
+
sandbox_runtime: detectSandboxRuntime(),
|
|
51
|
+
agent_runtime,
|
|
52
|
+
execution_harness_hint: detectExecutionHarnessHint(),
|
|
53
|
+
agent_hint: hints.agent_hint,
|
|
54
|
+
term_program: hints.term_program,
|
|
55
|
+
agent_env_hints: hints.agent_env_hints,
|
|
56
|
+
client: readClientTag()
|
|
57
|
+
};
|
|
58
|
+
return cached;
|
|
59
|
+
}
|
|
60
|
+
function detectDocker() {
|
|
61
|
+
try {
|
|
62
|
+
if (existsSync("/.dockerenv")) return true;
|
|
63
|
+
if (platform() === "linux") {
|
|
64
|
+
const cgroup = readFileSync("/proc/1/cgroup", "utf-8");
|
|
65
|
+
if (cgroup.includes("docker") || cgroup.includes("containerd")) return true;
|
|
66
|
+
}
|
|
67
|
+
} catch {
|
|
68
|
+
}
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
var CI_PROVIDERS = [
|
|
72
|
+
{ name: "github_actions", envVar: "GITHUB_ACTIONS", mode: "truthy" },
|
|
73
|
+
{ name: "gitlab_ci", envVar: "GITLAB_CI", mode: "truthy" },
|
|
74
|
+
{ name: "circleci", envVar: "CIRCLECI", mode: "truthy" },
|
|
75
|
+
{ name: "jenkins", envVar: "JENKINS_URL", mode: "presence" },
|
|
76
|
+
{ name: "buildkite", envVar: "BUILDKITE", mode: "truthy" },
|
|
77
|
+
{ name: "travis", envVar: "TRAVIS", mode: "truthy" },
|
|
78
|
+
{ name: null, envVar: "CONTINUOUS_INTEGRATION", mode: "truthy" },
|
|
79
|
+
{ name: null, envVar: "CI", mode: "truthy" }
|
|
80
|
+
];
|
|
81
|
+
function matchesProvider(p) {
|
|
82
|
+
const v = process.env[p.envVar];
|
|
83
|
+
if (p.mode === "presence") return v != null;
|
|
84
|
+
return v === "true" || v === "1";
|
|
85
|
+
}
|
|
86
|
+
function detectCI() {
|
|
87
|
+
return CI_PROVIDERS.some(matchesProvider);
|
|
88
|
+
}
|
|
89
|
+
function getCIName() {
|
|
90
|
+
for (const provider of CI_PROVIDERS) {
|
|
91
|
+
if (provider.name && matchesProvider(provider)) return provider.name;
|
|
92
|
+
}
|
|
93
|
+
return detectCI() ? "unknown" : null;
|
|
94
|
+
}
|
|
95
|
+
function getShmSizeMb() {
|
|
96
|
+
if (platform() !== "linux") return null;
|
|
97
|
+
try {
|
|
98
|
+
const stats = statfsSync("/dev/shm");
|
|
99
|
+
return bytesToMb(stats.bsize * stats.blocks);
|
|
100
|
+
} catch {
|
|
101
|
+
return null;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
function getFreeDiskMb(path = ".") {
|
|
105
|
+
try {
|
|
106
|
+
const stats = statfsSync(path);
|
|
107
|
+
return bytesToMb(stats.bsize * stats.bavail);
|
|
108
|
+
} catch {
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
function parsePmsetPowerSource(raw) {
|
|
113
|
+
const m = raw.match(/Now drawing from '([^']+)'/);
|
|
114
|
+
if (!m) return null;
|
|
115
|
+
return m[1] === "Battery Power";
|
|
116
|
+
}
|
|
117
|
+
function getPowerState() {
|
|
118
|
+
if (platform() !== "darwin") {
|
|
119
|
+
return { on_battery: null, low_power_mode: null };
|
|
120
|
+
}
|
|
121
|
+
let on_battery = null;
|
|
122
|
+
let low_power_mode = null;
|
|
123
|
+
try {
|
|
124
|
+
on_battery = parsePmsetPowerSource(
|
|
125
|
+
execSync("pmset -g batt", { encoding: "utf-8", timeout: 2e3 })
|
|
126
|
+
);
|
|
127
|
+
} catch {
|
|
128
|
+
}
|
|
129
|
+
try {
|
|
130
|
+
const raw = execSync("pmset -g", { encoding: "utf-8", timeout: 2e3 });
|
|
131
|
+
const m = raw.match(/lowpowermode\s+(\d)/);
|
|
132
|
+
if (m) low_power_mode = m[1] === "1";
|
|
133
|
+
} catch {
|
|
134
|
+
}
|
|
135
|
+
return { on_battery, low_power_mode };
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export {
|
|
139
|
+
bytesToMb,
|
|
140
|
+
getSystemMeta,
|
|
141
|
+
getShmSizeMb,
|
|
142
|
+
getFreeDiskMb,
|
|
143
|
+
parsePmsetPowerSource,
|
|
144
|
+
getPowerState
|
|
145
|
+
};
|
|
@@ -24,10 +24,10 @@ import {
|
|
|
24
24
|
} from "./chunk-P6LJ4Y32.js";
|
|
25
25
|
import {
|
|
26
26
|
publishRegistryFile
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-T2WJO4XM.js";
|
|
28
28
|
import {
|
|
29
29
|
ITEM_TYPE_DIRS
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-472C35EW.js";
|
|
31
31
|
import {
|
|
32
32
|
realProjectRoot
|
|
33
33
|
} from "./chunk-OFQWTKPW.js";
|