hyperframes 0.9.45 → 0.9.47
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-YPU2EV5O.js → add-QNGZD4DD.js} +13 -13
- package/dist/{agentPromptGenerator-O7EAXSHZ.js → agentPromptGenerator-62YBRRWR.js} +5 -5
- package/dist/{animatedGifPrep-HXJJESKY.js → animatedGifPrep-MOMPPYA2.js} +4 -4
- package/dist/api.js +28 -28
- package/dist/{appHistory-EAQ52L6X.js → appHistory-DK2XI4EZ.js} +2 -2
- package/dist/{asset-VNFRXZY5.js → asset-UCSTQD4V.js} +2 -2
- package/dist/{assetCataloger-EALOGJOW.js → assetCataloger-CB55JIVV.js} +6 -6
- package/dist/{audio-BWI7YJ34.js → audio-L6RHV5YR.js} +12 -12
- package/dist/{auth-VZOUEEAD.js → auth-26I37JOQ.js} +2 -2
- package/dist/{autoUpdate-Y4HG3PTQ.js → autoUpdate-IKM2WKSQ.js} +2 -2
- package/dist/{avatars-AB3OH25Q.js → avatars-PZPL5EG2.js} +8 -8
- package/dist/{backgroundChecks-5GNMIDQR.js → backgroundChecks-GISZGTXC.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-JG5MSARZ.js → batchRender-XYL2E7IX.js} +2 -2
- package/dist/{beats-2ZDHRMF2.js → beats-EKU5XXBV.js} +5 -5
- package/dist/{benchmark-SEYHSMS3.js → benchmark-TPGYG6JW.js} +7 -7
- package/dist/{billing-BNZPIIZS.js → billing-PECZH526.js} +12 -12
- package/dist/{browser-KUMMOQJX.js → browser-W26LDR2J.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-VFTRJ5JK.js → bundleWithLocalizedFonts-OI3E22MQ.js} +1 -1
- package/dist/{capture-7A7KWYH3.js → capture-OPWIRIZC.js} +4 -4
- package/dist/{capture-TM6OTHOG.js → capture-QHWQ2PB2.js} +15 -15
- package/dist/{captureCompositionFrame-VDH77DSY.js → captureCompositionFrame-EYB6LTAG.js} +11 -11
- package/dist/{captureFile-B5SMYIB6.js → captureFile-R5JZ7WRA.js} +2 -2
- package/dist/{catalog-BA7QPRWM.js → catalog-D6PL6DN3.js} +13 -13
- package/dist/{catch-up-MUQYCQFE.js → catch-up-SKLAQOCM.js} +7 -7
- package/dist/{check-LT756XVB.js → check-QHDE55TC.js} +40 -40
- package/dist/{checkAudio-R5CE2BRH.js → checkAudio-EENVIQJA.js} +7 -7
- package/dist/{checkBrowser-TAA7LLDH.js → checkBrowser-SERJXBXN.js} +32 -32
- package/dist/{chunk-OPJRCUK5.js → chunk-22EEGJLH.js} +14 -9
- package/dist/{chunk-7IE5T6OT.js → chunk-2KVC32Y3.js} +2 -2
- package/dist/{chunk-FG3PH5TF.js → chunk-2NDIECXH.js} +1 -1
- package/dist/{chunk-5ZBDI4UE.js → chunk-37AEW3GR.js} +2 -2
- package/dist/{chunk-RU432VM5.js → chunk-3FSMDR37.js} +5 -5
- package/dist/{chunk-DVYFSNTN.js → chunk-3GF2F27E.js} +1 -1
- package/dist/{chunk-KEG4N4E2.js → chunk-3GSERPDG.js} +4 -4
- package/dist/{chunk-GQDHE5GW.js → chunk-3JFTAIKA.js} +7 -7
- package/dist/{chunk-BZYDU2VT.js → chunk-3YBNVXEU.js} +3 -3
- package/dist/{chunk-WWMPS3LM.js → chunk-47MEWWCO.js} +2 -2
- package/dist/{chunk-M7ONQVZA.js → chunk-4KC5DS6S.js} +1 -1
- package/dist/{chunk-EUB2PYYJ.js → chunk-4XETQ5LC.js} +1 -1
- package/dist/{chunk-ZBSZZKS3.js → chunk-4Y5IDZOJ.js} +1 -1
- package/dist/{chunk-5ACNK6RD.js → chunk-57LBTIIT.js} +1 -1
- package/dist/{chunk-7Q234TS5.js → chunk-5PE6556N.js} +58 -35
- package/dist/{chunk-GKRNND5K.js → chunk-67QXALQY.js} +74 -16
- package/dist/{chunk-7I6CD4QB.js → chunk-6FMUE7ZO.js} +1 -1
- package/dist/{chunk-5UNTR3PT.js → chunk-7LO34MHD.js} +2 -2
- package/dist/{chunk-R2WSTO26.js → chunk-7RHN6N5F.js} +1 -1
- package/dist/{chunk-EQ6MHHC2.js → chunk-AOITLZJO.js} +1 -1
- package/dist/{chunk-OLKDBDIZ.js → chunk-B2WXMYMA.js} +17 -9
- package/dist/{chunk-ZBM6F3B4.js → chunk-B4LOHIIR.js} +2 -2
- package/dist/{chunk-RZ62FH4H.js → chunk-B7BYBS7G.js} +4 -4
- package/dist/{chunk-GJSXHP3K.js → chunk-BQKVAQLE.js} +2 -2
- package/dist/{chunk-4QGHNJHX.js → chunk-BVAN2Q5W.js} +3 -3
- package/dist/{chunk-MBOCWE3P.js → chunk-DE3JRSGT.js} +54 -2
- package/dist/{chunk-EQY5ITMK.js → chunk-DTA5WWXO.js} +3 -3
- package/dist/{chunk-L5NON5XI.js → chunk-E57FGXI2.js} +9 -9
- package/dist/{chunk-7QXO3TS4.js → chunk-FCNMU7LC.js} +2 -2
- package/dist/{chunk-4YIENZMZ.js → chunk-FHDIU5ZS.js} +2 -2
- package/dist/{chunk-WTPKBPKY.js → chunk-FWNIFHN5.js} +1 -1
- package/dist/{chunk-PXUR442C.js → chunk-G55B5LP6.js} +1 -1
- package/dist/{chunk-FATRK6W5.js → chunk-GCL4GZVF.js} +1 -1
- package/dist/{chunk-SI5EZFPE.js → chunk-HD5RVDL6.js} +1 -1
- package/dist/{chunk-CIWBZAS4.js → chunk-HDHFXHUG.js} +1 -1
- package/dist/{chunk-4JR7EGPB.js → chunk-HKXQXP7W.js} +1 -1
- package/dist/{chunk-KOHGGBWP.js → chunk-HUMMHYLF.js} +1 -1
- package/dist/{chunk-JSYN76WB.js → chunk-HZE3LKBA.js} +2 -2
- package/dist/{chunk-4OBVCIE6.js → chunk-I2UMQAOQ.js} +1 -1
- package/dist/{chunk-3O2EWF6Z.js → chunk-IHRUU5WH.js} +3 -3
- package/dist/{chunk-BSZP3W4G.js → chunk-IJOIZLYK.js} +6 -6
- package/dist/{chunk-DYRXALWM.js → chunk-IMNIW22F.js} +1 -1
- package/dist/{chunk-2BLORYMZ.js → chunk-IPKKY42Q.js} +3 -3
- package/dist/{chunk-2DNHC44G.js → chunk-J25LQS5W.js} +4 -4
- package/dist/{chunk-VLVLK2WK.js → chunk-J7XEUHMI.js} +10 -10
- package/dist/{chunk-ISFDARWG.js → chunk-JLJINOXS.js} +2 -2
- package/dist/{chunk-I6IFBQTC.js → chunk-KHK4M5ZI.js} +1 -1
- package/dist/{chunk-DMB5REF3.js → chunk-KWFYSZCH.js} +1 -1
- package/dist/{chunk-WMSRUOYN.js → chunk-KWZSUULG.js} +7 -7
- package/dist/{chunk-64NDDR4G.js → chunk-LE3XMWQX.js} +6 -6
- package/dist/{chunk-5O7QUHR5.js → chunk-LX4KUCDF.js} +1 -1
- package/dist/{chunk-XRQQIE2X.js → chunk-M3MXR3HG.js} +2 -2
- package/dist/{chunk-7VBNAOFZ.js → chunk-MGDDKISL.js} +1 -1
- package/dist/{chunk-G4KNTGAC.js → chunk-MOTJT42J.js} +2 -2
- package/dist/{chunk-43GCSOM5.js → chunk-MR7VKWYT.js} +1 -1
- package/dist/{chunk-OXTPNY3V.js → chunk-MXOWNQCI.js} +1 -1
- package/dist/{chunk-SFXUWXVE.js → chunk-N4FY2HKI.js} +2 -2
- package/dist/{chunk-AKGTRCVP.js → chunk-OBCJMZCW.js} +1 -1
- package/dist/{chunk-MAB6IFYY.js → chunk-OGCP6FB2.js} +1 -1
- package/dist/{chunk-P6HIXKAQ.js → chunk-P4CZXQU5.js} +10 -10
- package/dist/{chunk-CZXW4CFS.js → chunk-P63B2XHE.js} +2 -2
- package/dist/{chunk-DF5EKSIA.js → chunk-PCH55NAO.js} +1 -1
- package/dist/{chunk-NM64SXXM.js → chunk-PE4MPXIE.js} +3 -3
- package/dist/{chunk-YSYPHSWK.js → chunk-PLXD7DE2.js} +1 -1
- package/dist/{chunk-DL3DMPOF.js → chunk-PO3OQ2FP.js} +149 -64
- package/dist/{chunk-WCYMXYSP.js → chunk-RAWVDZVU.js} +3 -3
- package/dist/{chunk-F3XIVMDU.js → chunk-RCTY7VNK.js} +1 -1
- package/dist/{chunk-GCHJBZH3.js → chunk-RYBLJK44.js} +25 -24
- package/dist/{chunk-3MIL5QWL.js → chunk-SHNSD75H.js} +2 -2
- package/dist/{chunk-TPZXVFZM.js → chunk-SUZQXGUS.js} +3 -3
- package/dist/{chunk-QVI24QKB.js → chunk-T3QQB5EX.js} +1 -1
- package/dist/{chunk-Q3AMO2SN.js → chunk-TE3W2M5C.js} +3 -3
- package/dist/{chunk-JUNSRWYS.js → chunk-TQGFY4NR.js} +1 -1
- package/dist/{chunk-NBJEWRY2.js → chunk-TQIH2UOD.js} +6 -6
- package/dist/{chunk-KVLH7SV3.js → chunk-U7W6SW3X.js} +2 -2
- package/dist/{chunk-CL5IBQJC.js → chunk-U7ZCBWNM.js} +4 -0
- package/dist/{chunk-27NPHYSD.js → chunk-UAU4SIOQ.js} +3 -3
- package/dist/{chunk-QP5QUPDX.js → chunk-UX4HQHMS.js} +3 -3
- package/dist/{chunk-FHANW7O5.js → chunk-VOJ3ICMF.js} +1 -1
- package/dist/{chunk-RCAHDUZC.js → chunk-VXT4EGLU.js} +2 -2
- package/dist/{chunk-ZH2LHLVS.js → chunk-W4JWPYLU.js} +1 -1
- package/dist/{chunk-S7YH3IQH.js → chunk-WEP7PDVB.js} +6 -6
- package/dist/{chunk-E6XP5M6N.js → chunk-WMHMIMFW.js} +3 -3
- package/dist/{chunk-ESYKCW5A.js → chunk-WN4W76IQ.js} +1 -1
- package/dist/{chunk-LZA2BSZ7.js → chunk-WOJPS7PK.js} +3 -3
- package/dist/{chunk-R647EQLT.js → chunk-X3ZA4UCJ.js} +3 -3
- package/dist/{chunk-5SK5H4LH.js → chunk-XEGFC2UX.js} +1 -1
- package/dist/{chunk-SJQKYI3P.js → chunk-XG64CLX7.js} +1 -1
- package/dist/{chunk-2OBKBPZ6.js → chunk-XGHZO74X.js} +2 -2
- package/dist/{chunk-6X4LDJ4O.js → chunk-Y6FRUECL.js} +1 -1
- package/dist/{chunk-JXFEEIU4.js → chunk-YLX7EX7Z.js} +2 -2
- package/dist/{chunk-QAB7H2A2.js → chunk-YRXIEP35.js} +1 -1
- package/dist/{chunk-Z36N4XS4.js → chunk-YVWL2VBO.js} +2 -2
- package/dist/{chunk-4P626SFJ.js → chunk-YXYRPI4X.js} +2 -2
- package/dist/{chunk-J2PFGVTU.js → chunk-Z2EKCD7H.js} +1 -1
- package/dist/{chunk-D2UY5VC3.js → chunk-Z46RV43W.js} +1 -1
- package/dist/{chunk-47IOECPN.js → chunk-ZKVC5V7U.js} +1 -1
- package/dist/{chunk-TD3EUNTN.js → chunk-ZOCKADVZ.js} +1 -1
- package/dist/{chunk-Z3VRBEMB.js → chunk-ZPRNVEOF.js} +16 -14
- package/dist/{clean-F7DGPNLO.js → clean-ZJIHNP2V.js} +15 -15
- package/dist/cli.js +65 -65
- package/dist/{cloud-JIG76GAH.js → cloud-5C5SCK4H.js} +2 -2
- package/dist/{cloud-JK3QB63R.js → cloud-7I6NRBUH.js} +4 -4
- package/dist/{cloudrun-O3I4TRAZ.js → cloudrun-XXGMWBUO.js} +3 -3
- package/dist/{compare-RZ6XE464.js → compare-3LJ7SO5I.js} +30 -30
- package/dist/{component-5SAPVS5A.js → component-MDRAU2EL.js} +3 -3
- package/dist/{compositions-MYRF2ZIP.js → compositions-7WWVFUKL.js} +8 -8
- package/dist/{contactSheet-KCB4R2QC.js → contactSheet-O3FOOHOX.js} +3 -3
- package/dist/{curve-XEPSLISW.js → curve-CV2TEGZL.js} +8 -8
- package/dist/{cuts-BAW6E465.js → cuts-UUAWNDQJ.js} +9 -9
- package/dist/{delete-2BH2YVVH.js → delete-FFGW2LXY.js} +4 -4
- package/dist/{deploy-DJGKP7UX.js → deploy-CWTKDXLS.js} +2 -2
- package/dist/{describeProject-S4PDRITZ.js → describeProject-EDKWLCSL.js} +5 -5
- package/dist/{destroy-AOTDEPWH.js → destroy-NOYFGGDD.js} +2 -2
- package/dist/{deterministicFonts-TEZOZIED.js → deterministicFonts-QY4KNTOU.js} +2 -2
- package/dist/{diff-4VQECT6Y.js → diff-YSHVMJC7.js} +30 -30
- package/dist/{dist-CRZMQQ27.js → dist-BKWVQR7A.js} +8 -8
- package/dist/{dist-YLXB4RLU.js → dist-YX7FMBUD.js} +3 -1
- package/dist/{doctor-PGNUW3I3.js → doctor-4FEE457C.js} +8 -8
- package/dist/{energy-ZSL2J5PF.js → energy-POEWTT6O.js} +9 -9
- package/dist/{events-2CCPSWXT.js → events-FULDXHAM.js} +2 -2
- package/dist/{events-2YIJI2KG.js → events-I4LQF5YH.js} +4 -4
- package/dist/{events-RKIKPZLO.js → events-XQQBVMQT.js} +10 -10
- package/dist/{execute-LPQRLHU7.js → execute-PM46UN5B.js} +23 -23
- package/dist/{extract-GYOHALYZ.js → extract-RB6GUKDH.js} +9 -9
- package/dist/{face-JJMIXPKL.js → face-CTNMUSZJ.js} +10 -10
- package/dist/{feedback-HXLLCNDZ.js → feedback-JHSCPZAH.js} +6 -6
- package/dist/{ffmpeg-ZYJVIBIQ.js → ffmpeg-ZDD7X4NY.js} +4 -4
- package/dist/{figma-AF3V62M2.js → figma-DOTGYJR2.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-PQA5CWKV.js → frames-BA2O2YJD.js} +11 -11
- package/dist/{generate-26FXX7GM.js → generate-UVYECX6G.js} +20 -20
- package/dist/{get-FU4FNSC5.js → get-THXXCSQ6.js} +4 -4
- package/dist/{gpuPolicy-WMCC5JA6.js → gpuPolicy-SXWEHK7V.js} +4 -4
- package/dist/{grade-compare-COHZWWR2.js → grade-compare-H3VNRJQD.js} +29 -29
- package/dist/{heifImagePrep-2YWQXODI.js → heifImagePrep-OLZTCTGK.js} +5 -5
- package/dist/{help-M6MV2MYQ.js → help-LKHACFHV.js} +1 -1
- package/dist/{history-USBJ3RRE.js → history-6ABMJPFQ.js} +9 -9
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-X5YT745W.js → info-6ID5AKTQ.js} +10 -10
- package/dist/{init-3EHOBRTG.js → init-DMFKWS6X.js} +26 -26
- package/dist/{ink-QTRD44Q4.js → ink-TGKWBWHT.js} +9 -9
- package/dist/{inspect-5PCGGWUH.js → inspect-YV6LZCC5.js} +30 -30
- package/dist/{installer-R4OLQJLN.js → installer-2LTM4GWP.js} +5 -5
- package/dist/{keyframes-YYM7T7QG.js → keyframes-ZAEKCOXL.js} +7 -7
- package/dist/{lambda-VLFWMDG2.js → lambda-44XW4CWE.js} +9 -9
- package/dist/{layout-M5FCZ2HW.js → layout-C5ZLVGVK.js} +30 -30
- package/dist/{lint-6S6IOTML.js → lint-II2XYWFT.js} +7 -7
- package/dist/{list-6JVKIDMR.js → list-VR64W4L2.js} +4 -4
- package/dist/{localPage-JCUHUL5O.js → localPage-7ANEOK7B.js} +5 -5
- package/dist/{login-5MYRLW63.js → login-IXGTJPST.js} +4 -4
- package/dist/{look-2YC2JTOW.js → look-CJTTSIFD.js} +9 -9
- package/dist/{manager-GQ7GVEHY.js → manager-W5HFI6EI.js} +5 -5
- package/dist/{measure-YUFVQRJN.js → measure-FSFVXCQ5.js} +11 -11
- package/dist/{media-treatment-DAT6UUEA.js → media-treatment-2NRQQJKN.js} +10 -10
- package/dist/{media-use-L2VSONKR.js → media-use-IKIIV7TQ.js} +3 -3
- package/dist/{models-LIWRESXV.js → models-XDVZN6B2.js} +8 -8
- package/dist/{motionShot-QYSCVCE5.js → motionShot-PJU7NV2G.js} +13 -13
- package/dist/{normalize-audio-EYG5WB2C.js → normalize-audio-6G5VU5XM.js} +7 -7
- package/dist/{open-2CMLIGHD.js → open-22OQII2X.js} +15 -15
- package/dist/{parakeetRunner-B6HO4KCP.js → parakeetRunner-YOQACWZQ.js} +10 -10
- package/dist/{pipeline-IW4SGHDM.js → pipeline-DFPGGGHW.js} +7 -7
- package/dist/{plan-4RVKVJ6Z.js → plan-7IH2XDWA.js} +17 -17
- package/dist/{play-OSVIKZHP.js → play-YDY6IZZH.js} +19 -19
- package/dist/{preflight-LFPUGBT6.js → preflight-EPJE4LO7.js} +5 -5
- package/dist/{present-FQQMUTIT.js → present-FFNDXDPP.js} +13 -13
- package/dist/{preview-4OQXZO7B.js → preview-KBV5YTCC.js} +19 -19
- package/dist/{probe-CDHB5HB7.js → probe-ZN5VLXRP.js} +9 -9
- package/dist/{producer-6LBQY7LE.js → producer-JIJV6EUA.js} +1 -1
- package/dist/{projectConfig-XMUSYXL3.js → projectConfig-LSJSU4UR.js} +8 -8
- package/dist/{publication-R4E4LGFV.js → publication-4EYVOO47.js} +3 -3
- package/dist/{publish-4JIY66L6.js → publish-P5WEMSFM.js} +13 -13
- package/dist/{remove-background-O22ZAZ3N.js → remove-background-TUJDKW2H.js} +8 -8
- package/dist/{render-NPNT5RU7.js → render-IFRE426H.js} +4 -4
- package/dist/{render-VTINJG6L.js → render-IS5W2MXU.js} +23 -23
- package/dist/{render-YBI7WDRR.js → render-KICKIUBU.js} +36 -36
- package/dist/{render-batch-PKXLME2H.js → render-batch-2BWEMPAQ.js} +4 -4
- package/dist/{resolver-YMO7VCL6.js → resolver-PM56BNET.js} +5 -5
- package/dist/{reverse-SCZCNXOM.js → reverse-AUPP7FPD.js} +1 -1
- package/dist/{screenshotCapture-R3VXZICP.js → screenshotCapture-WLPWWM4U.js} +7 -7
- package/dist/{service-EQC6ENN3.js → service-WJTJEB5D.js} +8 -8
- package/dist/{share-GJV6KVVX.js → share-62SZB3ZC.js} +11 -11
- package/dist/{sherpa-VXBR2LVH.js → sherpa-MCYJFFXG.js} +9 -9
- package/dist/{skills-HXG3Y4KE.js → skills-WJWBMXTF.js} +7 -7
- package/dist/{skillsUpdateCheck-TILFOBGB.js → skillsUpdateCheck-UF27YQL3.js} +3 -3
- package/dist/{snapshot-RDALD7DE.js → snapshot-EXHFVNL2.js} +41 -41
- package/dist/{src-DMRL5PBJ.js → src-2IOZPMJR.js} +3 -3
- package/dist/{src-24RSMMOB.js → src-JYBAAFEQ.js} +7 -7
- package/dist/{start-T7XKA2MN.js → start-XSG7DSQ2.js} +18 -18
- package/dist/{staticProjectServer-AX23X7UN.js → staticProjectServer-FIGDMMOC.js} +17 -17
- package/dist/{status-47HVIQQ7.js → status-PQ2WYRMY.js} +12 -12
- package/dist/studio/assets/{hyperframes-player-C7JtYIRD.js → hyperframes-player-DTdMXCCs.js} +1 -1
- package/dist/studio/assets/{index-C7EGuz1n.js → index-CdtV6F8j.js} +121 -121
- package/dist/studio/assets/index-DA5GM2Mj.js +469 -0
- package/dist/studio/assets/pausedVideoDecoder-B4OsoiOL.js +1 -0
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-VXWAAFOS.js → studio-api-BTDNUTUL.js} +8 -8
- package/dist/{studioServer-VXIAK364.js → studioServer-R5OHWANQ.js} +54 -54
- package/dist/{sync-C6SUWWEZ.js → sync-LD3KRR6A.js} +9 -9
- package/dist/{synthesize-4WZGBE2D.js → synthesize-HOLHQCR2.js} +2 -2
- package/dist/{telemetry-SXASYO5M.js → telemetry-QZ6KSMD7.js} +4 -4
- package/dist/{templates-IL7G63RL.js → templates-LMVSSS6P.js} +12 -12
- package/dist/{timeline-UAI63XMM.js → timeline-RFMWAREC.js} +17 -17
- package/dist/{tokens-Y5AIVQJN.js → tokens-5G463QQT.js} +2 -2
- package/dist/{transcribe-AMRT4JMZ.js → transcribe-7DCWYRRP.js} +23 -23
- package/dist/{transcribe-ZDORCRKT.js → transcribe-N3NT7EMS.js} +7 -7
- package/dist/{tts-UFA5UHA6.js → tts-3VHEX4RB.js} +1 -1
- package/dist/{update-35I2M4ZI.js → update-44NG62J2.js} +9 -9
- package/dist/{updateCheck-3HXGV5NL.js → updateCheck-PEVRHYT2.js} +2 -2
- package/dist/{upgrade-FHOHHZNW.js → upgrade-YGBOB2HE.js} +4 -4
- package/dist/{urlDownloader-RD4SEG6K.js → urlDownloader-NBGMT536.js} +3 -3
- package/dist/{validate-D6CATGTW.js → validate-V65Y26SO.js} +23 -23
- package/dist/{video-UOZJSSUR.js → video-RYUMW6QV.js} +6 -6
- package/dist/{voices-KEY5L2AP.js → voices-OBIFVMMB.js} +18 -18
- package/dist/warmCheck.js +40 -40
- package/package.json +1 -1
- package/dist/studio/assets/codec-DQ7n-U_9.js +0 -314
- package/dist/studio/assets/index-CByWY7fK.js +0 -150
- package/dist/studio/assets/pausedVideoDecoder-Bnvo9NIs.js +0 -1
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MXOWNQCI.js";
|
|
23
23
|
import {
|
|
24
24
|
DEFAULT_TARGET_LUFS,
|
|
25
25
|
absoluteLoudnessPlan,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
requestedProjectPath,
|
|
29
29
|
requiredFfmpeg,
|
|
30
30
|
resolveLocalAudioPath
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-AOITLZJO.js";
|
|
32
32
|
import {
|
|
33
33
|
MEDIA_LINK_ATTR,
|
|
34
34
|
relinkSplitHalves
|
|
@@ -56,11 +56,11 @@ import {
|
|
|
56
56
|
scanProjectMedia,
|
|
57
57
|
shouldPrewarmProxy,
|
|
58
58
|
waitForProxy
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-M3MXR3HG.js";
|
|
60
60
|
import {
|
|
61
61
|
probeAudioTrack,
|
|
62
62
|
probeMediaMetadata
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-W4JWPYLU.js";
|
|
64
64
|
import {
|
|
65
65
|
HistoryBusyError,
|
|
66
66
|
MAX_WINDOW_IDLE_MS,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
resolveProjectSignature,
|
|
76
76
|
serveWhileOpen,
|
|
77
77
|
settledFileTag
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-22EEGJLH.js";
|
|
79
79
|
import {
|
|
80
80
|
findTimelineScript,
|
|
81
81
|
parseGsapScriptAcorn
|
|
@@ -121,11 +121,12 @@ import {
|
|
|
121
121
|
} from "./chunk-7SY3DERR.js";
|
|
122
122
|
import {
|
|
123
123
|
atomicTempPath,
|
|
124
|
+
catchHeldRename,
|
|
124
125
|
createFileAtomically,
|
|
125
126
|
createStagingDir,
|
|
126
127
|
replaceFileAtomically,
|
|
127
128
|
retryWindowsHold
|
|
128
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-DE3JRSGT.js";
|
|
129
130
|
import {
|
|
130
131
|
GSAP_BASE_URL_META,
|
|
131
132
|
PREVIEW_PROXY_BOX_PARAM,
|
|
@@ -143,7 +144,7 @@ import {
|
|
|
143
144
|
normalizeGsapLocalRoot,
|
|
144
145
|
parseFps,
|
|
145
146
|
parsePreviewProxyBox
|
|
146
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-U7ZCBWNM.js";
|
|
147
148
|
import {
|
|
148
149
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
149
150
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -4817,6 +4818,8 @@ function snapshotBeforeWrite(projectDir, absPath, options = {}) {
|
|
|
4817
4818
|
mkdirWithinProject(projectDir, backupDir);
|
|
4818
4819
|
const pathKey2 = Buffer2.from(relativePath, "utf-8").toString("base64url");
|
|
4819
4820
|
const backupKey = pathKey2.length <= 200 ? pathKey2 : `sha256~${createHash22("sha256").update(relativePath).digest("hex")}`;
|
|
4821
|
+
const [newest] = backupsNewestFirst(backupDir, [pathKey2, backupKey]);
|
|
4822
|
+
if (newest && readFileSync32(newest).equals(content)) return { backupPath: newest };
|
|
4820
4823
|
const backupPath = nextBackupPath(backupDir, backupKey);
|
|
4821
4824
|
writeFileSync3(backupPath, content, { flag: "wx" });
|
|
4822
4825
|
pruneBackups(backupDir, [pathKey2, backupKey], options.keepPerFile ?? DEFAULT_KEEP_PER_FILE);
|
|
@@ -4846,13 +4849,13 @@ function nextBackupPath(backupDir, backupKey) {
|
|
|
4846
4849
|
counter += 1;
|
|
4847
4850
|
}
|
|
4848
4851
|
}
|
|
4852
|
+
function backupsNewestFirst(backupDir, backupKeys) {
|
|
4853
|
+
const suffix = new RegExp(`-(?:${backupKeys.join("|")})(?:-\\d+)?$`);
|
|
4854
|
+
return readdirSync(backupDir).filter((name) => suffix.test(name)).map((name) => join5(backupDir, name)).sort((a, b) => b.localeCompare(a));
|
|
4855
|
+
}
|
|
4849
4856
|
function pruneBackups(backupDir, backupKeys, keepPerFile) {
|
|
4850
4857
|
const keep = Math.max(1, Math.floor(keepPerFile));
|
|
4851
|
-
const
|
|
4852
|
-
const matches = readdirSync(backupDir).filter((name) => suffix.test(name)).map((name) => join5(backupDir, name)).sort((a, b) => {
|
|
4853
|
-
return b.localeCompare(a);
|
|
4854
|
-
});
|
|
4855
|
-
for (const file of matches.slice(keep)) {
|
|
4858
|
+
for (const file of backupsNewestFirst(backupDir, backupKeys).slice(keep)) {
|
|
4856
4859
|
try {
|
|
4857
4860
|
unlinkSync(file);
|
|
4858
4861
|
} catch {
|
|
@@ -5901,7 +5904,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5901
5904
|
let block = extractGsapScriptBlock(html);
|
|
5902
5905
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5903
5906
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5904
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5907
|
+
const { GSAP_CDN } = await import("./dist-YX7FMBUD.js");
|
|
5905
5908
|
const bootstrap = [
|
|
5906
5909
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5907
5910
|
"<script>",
|
|
@@ -6797,6 +6800,29 @@ async function processUploadedFiles(formData, targetDir, projectDir) {
|
|
|
6797
6800
|
}
|
|
6798
6801
|
var MAX_TEXT_READ_BYTES = 32 * 1024 * 1024;
|
|
6799
6802
|
var GIT_BINARY_SNIFF_BYTES = 8e3;
|
|
6803
|
+
var HELD_EDIT_WAITS = [10, 20, 40, 80, 160, 320, 640, 1280, 2560];
|
|
6804
|
+
var EDIT_ROUTE = /\/projects\/[^/]+\/(files|file-mutations|gsap-mutations(-batch)?|gsap-mutation-rollback)\//;
|
|
6805
|
+
var REPLAYED = "x-hyperframes-held-replay";
|
|
6806
|
+
var HELD = "x-hyperframes-held";
|
|
6807
|
+
function isEdit(request) {
|
|
6808
|
+
return ["POST", "PUT"].includes(request.method) && EDIT_ROUTE.test(new URL(request.url).pathname) && !(request.headers.get("content-type") ?? "").startsWith("multipart/");
|
|
6809
|
+
}
|
|
6810
|
+
function keptForReplay(request) {
|
|
6811
|
+
const kept = request.clone();
|
|
6812
|
+
return () => {
|
|
6813
|
+
const again = new Request(kept.clone(), { headers: new Headers(kept.headers) });
|
|
6814
|
+
again.headers.set(REPLAYED, "1");
|
|
6815
|
+
return again;
|
|
6816
|
+
};
|
|
6817
|
+
}
|
|
6818
|
+
async function sendAgainOnceFree(api, replay) {
|
|
6819
|
+
for (const ms of HELD_EDIT_WAITS) {
|
|
6820
|
+
await new Promise((resolve7) => setTimeout(resolve7, ms));
|
|
6821
|
+
const again = await api.fetch(replay());
|
|
6822
|
+
if (!again.headers.has(HELD)) return again;
|
|
6823
|
+
}
|
|
6824
|
+
return null;
|
|
6825
|
+
}
|
|
6800
6826
|
function heldFileAnswer(c, error) {
|
|
6801
6827
|
const code = error?.code;
|
|
6802
6828
|
if (code === "EBUSY") return c.json({ error: "file in use", why: "busy" }, 423);
|
|
@@ -6806,6 +6832,32 @@ function heldFileAnswer(c, error) {
|
|
|
6806
6832
|
return null;
|
|
6807
6833
|
}
|
|
6808
6834
|
function registerFileRoutes(api, adapter) {
|
|
6835
|
+
api.use("/projects/:id/*", async (c, next) => {
|
|
6836
|
+
await next();
|
|
6837
|
+
const refusedWrite = c.error ? heldFileAnswer(c, c.error) : null;
|
|
6838
|
+
if (refusedWrite) c.res = refusedWrite;
|
|
6839
|
+
});
|
|
6840
|
+
const heldEdits = /* @__PURE__ */ new Map();
|
|
6841
|
+
api.use("/projects/:id/*", async (c, next) => {
|
|
6842
|
+
if (!isEdit(c.req.raw)) return next();
|
|
6843
|
+
const project = c.req.param("id") ?? "";
|
|
6844
|
+
const replayed = c.req.raw.headers.has(REPLAYED);
|
|
6845
|
+
while (!replayed && heldEdits.has(project)) await heldEdits.get(project);
|
|
6846
|
+
const replay = replayed ? null : keptForReplay(c.req.raw);
|
|
6847
|
+
const held = await catchHeldRename(next);
|
|
6848
|
+
if (held === null || c.finalized && c.res.ok) return;
|
|
6849
|
+
if (!replay) {
|
|
6850
|
+
c.res = new Response(null, { status: 423, headers: { [HELD]: "1" } });
|
|
6851
|
+
return;
|
|
6852
|
+
}
|
|
6853
|
+
const waiting = sendAgainOnceFree(api, replay);
|
|
6854
|
+
heldEdits.set(project, waiting);
|
|
6855
|
+
const again = await waiting.finally(() => {
|
|
6856
|
+
if (heldEdits.get(project) === waiting) heldEdits.delete(project);
|
|
6857
|
+
});
|
|
6858
|
+
if (!again) throw held;
|
|
6859
|
+
c.res = again;
|
|
6860
|
+
});
|
|
6809
6861
|
api.get("/projects/:id/files/*", async (c) => {
|
|
6810
6862
|
const res = await resolveProjectFile(c, adapter);
|
|
6811
6863
|
if ("error" in res) return res.error;
|
|
@@ -9527,9 +9579,15 @@ function registerFreezeFrameRoutes(api, adapter, extract = ffmpegExtractor, stil
|
|
|
9527
9579
|
return c.json({ error }, status);
|
|
9528
9580
|
};
|
|
9529
9581
|
if (!folded) return failAndRemoveStill("Freeze target was not found in the file", 400);
|
|
9530
|
-
|
|
9531
|
-
|
|
9532
|
-
|
|
9582
|
+
let written;
|
|
9583
|
+
try {
|
|
9584
|
+
written = writeFolded(project.dir, absPath, body.path, before, folded.html, {
|
|
9585
|
+
token: body.transactionToken ?? c.req.header("X-Hyperframes-Write-Token")
|
|
9586
|
+
});
|
|
9587
|
+
} catch (error) {
|
|
9588
|
+
rmSync5(imagePath, { force: true });
|
|
9589
|
+
throw error;
|
|
9590
|
+
}
|
|
9533
9591
|
if ("error" in written) return failAndRemoveStill(written.error, written.status);
|
|
9534
9592
|
const { version, writeToken, backupPath } = written;
|
|
9535
9593
|
return c.json({
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
uncheckedSource,
|
|
34
34
|
withProjectShareLock,
|
|
35
35
|
writeJsonAtomic
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3GSERPDG.js";
|
|
37
37
|
import {
|
|
38
38
|
apiBaseUrl
|
|
39
39
|
} from "./chunk-BAWGEGKD.js";
|
|
40
40
|
import {
|
|
41
41
|
findFFprobe
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-OGCP6FB2.js";
|
|
43
43
|
import {
|
|
44
44
|
defaultClientId,
|
|
45
45
|
oauthEnvironment,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
createFileAtomically
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DE3JRSGT.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/writeNewFile.ts
|
|
12
12
|
function writeNewFileSync(filePath, content) {
|
|
@@ -16,10 +16,15 @@ import {
|
|
|
16
16
|
|
|
17
17
|
// src/utils/reject-unknown-flags.ts
|
|
18
18
|
var ALWAYS_KNOWN = /* @__PURE__ */ new Set(["help", "h", "version", "v"]);
|
|
19
|
+
function kebabCase(name) {
|
|
20
|
+
return name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
|
|
21
|
+
}
|
|
19
22
|
function nameVariants(name) {
|
|
20
|
-
const kebab = name.replace(/[A-Z]/g, (c2) => "-" + c2.toLowerCase());
|
|
21
23
|
const camel = name.replace(/-([a-z])/g, (_, c2) => c2.toUpperCase());
|
|
22
|
-
return [name,
|
|
24
|
+
return [name, kebabCase(name), camel];
|
|
25
|
+
}
|
|
26
|
+
function visibleLongFlags(args) {
|
|
27
|
+
return Object.entries(args ?? {}).filter(([, def]) => def?.type !== "positional" && !(def && "hidden" in def && def.hidden)).map(([name]) => kebabCase(name));
|
|
23
28
|
}
|
|
24
29
|
function* spellingsOf(name, def) {
|
|
25
30
|
yield* nameVariants(name);
|
|
@@ -60,9 +65,10 @@ var FLAG_SYNONYMS = {
|
|
|
60
65
|
to: ["end"],
|
|
61
66
|
start: ["from"],
|
|
62
67
|
end: ["to"],
|
|
63
|
-
o: ["out", "output"]
|
|
68
|
+
o: ["out", "output"],
|
|
69
|
+
search: ["query"]
|
|
64
70
|
};
|
|
65
|
-
function unknownFlagError(flag,
|
|
71
|
+
function unknownFlagError(flag, visible, path) {
|
|
66
72
|
const command = `hyperframes ${path ? `${path} ` : ""}`.trim();
|
|
67
73
|
if (flag === "--json") {
|
|
68
74
|
return new CliUsageError(`${command} has no JSON output.`, {
|
|
@@ -70,11 +76,13 @@ function unknownFlagError(flag, known, path) {
|
|
|
70
76
|
hint: "Run it without --json."
|
|
71
77
|
});
|
|
72
78
|
}
|
|
73
|
-
const longNames = [...known].filter((name2) => name2.length > 1);
|
|
74
79
|
const name = flag.replace(/^--?/, "");
|
|
75
|
-
const match = FLAG_SYNONYMS[name]?.find((s) =>
|
|
76
|
-
const
|
|
77
|
-
|
|
80
|
+
const match = FLAG_SYNONYMS[name]?.find((s) => visible.includes(s)) ?? (flag.startsWith("--") ? closestMatch(name, visible) : void 0);
|
|
81
|
+
const hint = [
|
|
82
|
+
match && `Did you mean --${match}?`,
|
|
83
|
+
visible.length > 0 && `Its flags: ${visible.map((f) => `--${f}`).join(", ")}.`,
|
|
84
|
+
`Run 'hyperframes ${path ? `${path} ` : ""}--help' for what each does.`
|
|
85
|
+
].filter(Boolean).join(" ");
|
|
78
86
|
return new CliUsageError(`Unknown flag: ${flag}`, { hint, code: "unknown_flag" });
|
|
79
87
|
}
|
|
80
88
|
function assertKnownFlags(cmd, rawArgs, path = "") {
|
|
@@ -85,7 +93,7 @@ function assertKnownFlags(cmd, rawArgs, path = "") {
|
|
|
85
93
|
for (const tok of rawArgs) {
|
|
86
94
|
if (tok === "--") break;
|
|
87
95
|
const bad = unknownFlagIn(tok, known);
|
|
88
|
-
if (bad) throw unknownFlagError(bad,
|
|
96
|
+
if (bad) throw unknownFlagError(bad, visibleLongFlags(args), path);
|
|
89
97
|
}
|
|
90
98
|
}
|
|
91
99
|
function stringValueFlagOwners(args, ignore) {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PO3OQ2FP.js";
|
|
11
11
|
|
|
12
12
|
// src/browser/gpuPolicy.ts
|
|
13
13
|
function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCER_BROWSER_GPU_MODE) {
|
|
@@ -17,7 +17,7 @@ function resolveLocalBrowserGpuMode(browserGpuArg, envMode = process.env.PRODUCE
|
|
|
17
17
|
return "auto";
|
|
18
18
|
}
|
|
19
19
|
async function resolveCaptureBrowserGpuMode(requestedMode, chromePath, probeLifecycle) {
|
|
20
|
-
const { resolveBrowserGpuMode } = await import("./src-
|
|
20
|
+
const { resolveBrowserGpuMode } = await import("./src-2IOZPMJR.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-JJ47LVJ7.js";
|
|
19
19
|
import {
|
|
20
20
|
trackSkillsInstallSkipped
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YLX7EX7Z.js";
|
|
22
22
|
import {
|
|
23
23
|
diag
|
|
24
24
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -39,11 +39,11 @@ import {
|
|
|
39
39
|
isCoreSkill,
|
|
40
40
|
presentSkills,
|
|
41
41
|
retiredSkillNotice
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-JLJINOXS.js";
|
|
43
43
|
import {
|
|
44
44
|
NO_UPDATE_NOTICE,
|
|
45
45
|
withMeta
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FWNIFHN5.js";
|
|
47
47
|
import {
|
|
48
48
|
failureMessage,
|
|
49
49
|
jsonFailure
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-66W5IWLO.js";
|
|
55
55
|
import {
|
|
56
56
|
VERSION
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-N4FY2HKI.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/skills.ts
|
|
60
60
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YLX7EX7Z.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HUMMHYLF.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
} from "./chunk-7CLDXOEJ.js";
|
|
10
10
|
import {
|
|
11
11
|
stoppedByCancelSignal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MGDDKISL.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_MODEL,
|
|
15
15
|
ensureModel,
|
|
16
16
|
ensureWhisper,
|
|
17
17
|
hasFFmpeg,
|
|
18
18
|
pinnedWhisperModel
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HKXQXP7W.js";
|
|
20
20
|
import {
|
|
21
21
|
sha256File
|
|
22
22
|
} from "./chunk-RZ6CXJ56.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
findFFmpeg,
|
|
25
25
|
findFFprobe,
|
|
26
26
|
getFFmpegInstallHint
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OGCP6FB2.js";
|
|
28
28
|
import {
|
|
29
29
|
parseWhisperJson
|
|
30
30
|
} from "./chunk-CDNVZEGQ.js";
|
|
@@ -29,6 +29,7 @@ async function collectScratchLeftovers(run, report) {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
// ../core/dist/renameWithRetry.js
|
|
32
|
+
import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
|
|
32
33
|
import { copyFileSync, renameSync } from "fs";
|
|
33
34
|
import { copyFile, rename } from "fs/promises";
|
|
34
35
|
var RETRYABLE = /* @__PURE__ */ new Set(["EPERM", "EACCES", "EBUSY"]);
|
|
@@ -38,6 +39,33 @@ function isWindowsHold(error, platform = process.platform) {
|
|
|
38
39
|
return false;
|
|
39
40
|
return RETRYABLE.has(error?.code ?? "");
|
|
40
41
|
}
|
|
42
|
+
var holdScope = new AsyncLocalStorage2();
|
|
43
|
+
var HeldRename = class {
|
|
44
|
+
error;
|
|
45
|
+
constructor(error) {
|
|
46
|
+
this.error = error;
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
async function catchHeldRename(work) {
|
|
50
|
+
const scope = { open: true, held: null };
|
|
51
|
+
try {
|
|
52
|
+
await holdScope.run(scope, work);
|
|
53
|
+
} catch (thrown) {
|
|
54
|
+
if (!(thrown instanceof HeldRename))
|
|
55
|
+
throw thrown;
|
|
56
|
+
} finally {
|
|
57
|
+
scope.open = false;
|
|
58
|
+
}
|
|
59
|
+
return scope.held;
|
|
60
|
+
}
|
|
61
|
+
function handOverHold(error) {
|
|
62
|
+
const scope = holdScope.getStore();
|
|
63
|
+
if (!scope?.open)
|
|
64
|
+
return;
|
|
65
|
+
scope.open = false;
|
|
66
|
+
scope.held = error;
|
|
67
|
+
throw new HeldRename(error);
|
|
68
|
+
}
|
|
41
69
|
function nextStep(error, attempt, options, platform) {
|
|
42
70
|
if (!isWindowsHold(error, platform))
|
|
43
71
|
return "throw";
|
|
@@ -60,6 +88,7 @@ function renameWithRetry(from, to, options = {}) {
|
|
|
60
88
|
const step = nextStep(error, attempt, options, platform);
|
|
61
89
|
if (step === "throw")
|
|
62
90
|
throw error;
|
|
91
|
+
handOverHold(error);
|
|
63
92
|
if (step === "wait") {
|
|
64
93
|
sleepSync(BACKOFF_MS[attempt]);
|
|
65
94
|
continue;
|
|
@@ -117,10 +146,21 @@ async function retryWindowsHold(operation, options = {}) {
|
|
|
117
146
|
import * as fs from "fs";
|
|
118
147
|
import { createHash, randomBytes } from "crypto";
|
|
119
148
|
import { basename, dirname, isAbsolute, join, resolve, sep } from "path";
|
|
120
|
-
var NO_HARD_LINKS = /* @__PURE__ */ new Set([
|
|
149
|
+
var NO_HARD_LINKS = /* @__PURE__ */ new Set([
|
|
150
|
+
"EPERM",
|
|
151
|
+
"ENOTSUP",
|
|
152
|
+
"EOPNOTSUPP",
|
|
153
|
+
"ENOSYS",
|
|
154
|
+
"EXDEV",
|
|
155
|
+
"EISDIR",
|
|
156
|
+
"EACCES"
|
|
157
|
+
]);
|
|
121
158
|
var MAX_LINK_HOPS = 40;
|
|
122
159
|
var TEMP_NAME_TRIES = 3;
|
|
123
160
|
var TEMP_SUFFIX = /\.hf[0-9a-f]{6}\.tmp$/;
|
|
161
|
+
function cannotHardLink(error) {
|
|
162
|
+
return NO_HARD_LINKS.has(errorCode(error));
|
|
163
|
+
}
|
|
124
164
|
function atomicTempPath(filePath) {
|
|
125
165
|
return `${filePath}.hf${randomBytes(3).toString("hex")}.tmp`;
|
|
126
166
|
}
|
|
@@ -140,14 +180,23 @@ function traceWrite(filePath, content) {
|
|
|
140
180
|
}
|
|
141
181
|
function replaceFileAtomically(filePath, content, mode, operations = fs) {
|
|
142
182
|
traceWrite(filePath, content);
|
|
183
|
+
refuseReadOnly(filePath);
|
|
143
184
|
publishSibling(filePath, content, mode, operations, (tempPath) => renameWithRetry(tempPath, filePath, { rename: operations.renameSync }));
|
|
144
185
|
}
|
|
186
|
+
function refuseReadOnly(filePath) {
|
|
187
|
+
try {
|
|
188
|
+
fs.accessSync(filePath, fs.constants.W_OK);
|
|
189
|
+
} catch (error) {
|
|
190
|
+
if (errorCode(error) !== "ENOENT")
|
|
191
|
+
throw error;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
145
194
|
function createFileAtomically(filePath, content, operations = fs) {
|
|
146
195
|
publishSibling(filePath, content, void 0, operations, (tempPath) => {
|
|
147
196
|
try {
|
|
148
197
|
operations.linkSync(tempPath, filePath);
|
|
149
198
|
} catch (error) {
|
|
150
|
-
if (!
|
|
199
|
+
if (!cannotHardLink(error))
|
|
151
200
|
throw error;
|
|
152
201
|
createDirectly(filePath, content, operations);
|
|
153
202
|
}
|
|
@@ -259,12 +308,15 @@ export {
|
|
|
259
308
|
removeScratch,
|
|
260
309
|
collectScratchLeftovers,
|
|
261
310
|
isWindowsHold,
|
|
311
|
+
catchHeldRename,
|
|
262
312
|
renameWithRetry,
|
|
263
313
|
renameWithRetryAsync,
|
|
264
314
|
retryWindowsHold,
|
|
315
|
+
cannotHardLink,
|
|
265
316
|
atomicTempPath,
|
|
266
317
|
isAtomicTempPath,
|
|
267
318
|
replaceFileAtomically,
|
|
319
|
+
refuseReadOnly,
|
|
268
320
|
createFileAtomically,
|
|
269
321
|
resolveWritePath,
|
|
270
322
|
createStagingDir
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-XGHZO74X.js";
|
|
12
12
|
import {
|
|
13
13
|
Fix,
|
|
14
14
|
ffmpegBin,
|
|
15
15
|
probeVideo,
|
|
16
16
|
round,
|
|
17
17
|
runFfmpeg
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2NDIECXH.js";
|
|
19
19
|
import {
|
|
20
20
|
makeOutputFolder
|
|
21
21
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-DL4OD7IA.js";
|
|
25
25
|
import {
|
|
26
26
|
toneMapReferenceNits
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-U7ZCBWNM.js";
|
|
28
28
|
|
|
29
29
|
// src/commands/measure/probe.ts
|
|
30
30
|
import { execFileSync } from "child_process";
|
|
@@ -9,27 +9,27 @@ import {
|
|
|
9
9
|
} from "./chunk-TQBQYO4L.js";
|
|
10
10
|
import {
|
|
11
11
|
serveStaticProjectHtml
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WEP7PDVB.js";
|
|
13
13
|
import {
|
|
14
14
|
AUDIT_SEEK_OPTIONS,
|
|
15
15
|
installPageFunctionGuard,
|
|
16
16
|
seekCompositionTimeline,
|
|
17
17
|
waitForCompositionFonts,
|
|
18
18
|
waitForRuntimeReady
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-P4CZXQU5.js";
|
|
20
20
|
import {
|
|
21
21
|
gotoWhenSent
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-47MEWWCO.js";
|
|
23
23
|
import {
|
|
24
24
|
resolveProject
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZOCKADVZ.js";
|
|
26
26
|
import {
|
|
27
27
|
pageNavigationTimeoutMs
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-X3ZA4UCJ.js";
|
|
29
29
|
import {
|
|
30
30
|
launchManagedBrowser,
|
|
31
31
|
resolveManagedGpuMode
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FHDIU5ZS.js";
|
|
33
33
|
import {
|
|
34
34
|
readJsonFileText
|
|
35
35
|
} from "./chunk-EHZESMRB.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
printDeprecationNotice,
|
|
44
44
|
withMeta
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-FWNIFHN5.js";
|
|
46
46
|
import {
|
|
47
47
|
failureMessage,
|
|
48
48
|
jsonFailure
|
|
@@ -735,13 +735,13 @@ async function alignViewportToComposition(page, url) {
|
|
|
735
735
|
async function runLayoutAudit(projectDir, opts) {
|
|
736
736
|
const { ensureBrowser } = await import("./manager-25RJ4IZN.js");
|
|
737
737
|
const puppeteer = await import("puppeteer-core");
|
|
738
|
-
const { buildChromeArgs } = await import("./src-
|
|
738
|
+
const { buildChromeArgs } = await import("./src-2IOZPMJR.js");
|
|
739
739
|
const {
|
|
740
740
|
assertWebGpuAdapterAvailable,
|
|
741
741
|
compositionRequiresWebGpu,
|
|
742
742
|
resolveLocalBrowserGpuMode,
|
|
743
743
|
resolveLocalWebGpu
|
|
744
|
-
} = await import("./gpuPolicy-
|
|
744
|
+
} = await import("./gpuPolicy-SXWEHK7V.js");
|
|
745
745
|
const html = await bundleProjectHtml(projectDir);
|
|
746
746
|
const server = await serveStaticProjectHtml(
|
|
747
747
|
projectDir,
|
|
@@ -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-7RHN6N5F.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-MOTJT42J.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectConfig.ts
|
|
18
18
|
import { mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveCaptureBrowserGpuMode
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-B4LOHIIR.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
oneProcessOverPipe,
|
|
17
17
|
pipeLaunchClosedOnMac,
|
|
18
18
|
sandboxDeniedRemediation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PO3OQ2FP.js";
|
|
20
20
|
import {
|
|
21
21
|
processIsAlive
|
|
22
22
|
} from "./chunk-KGPLIH7B.js";
|