hyperframes 0.9.15 → 0.9.17
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/README.md +12 -2
- package/dist/{add-S3QTEUUZ.js → add-VZQBLSRT.js} +16 -15
- package/dist/{agentPromptGenerator-7FNPHUHJ.js → agentPromptGenerator-TGXEQHN3.js} +7 -9
- package/dist/{animatedGifPrep-NFT2NCNX.js → animatedGifPrep-25YV72PG.js} +7 -9
- package/dist/api.js +37 -38
- package/dist/{appHistory-BCWH6XYH.js → appHistory-WXJ4STHX.js} +2 -1
- package/dist/{asset-2BBOP7JZ.js → asset-UNDSQLEP.js} +2 -2
- package/dist/{assetCataloger-IY3XEIOP.js → assetCataloger-7RUWILYE.js} +9 -11
- package/dist/{audio-QJUSICGQ.js → audio-5O25WHIY.js} +22 -23
- package/dist/{auth-VDFPA4VH.js → auth-6JG6SMSP.js} +4 -4
- package/dist/{autoUpdate-XUQK5WGH.js → autoUpdate-YIRRNQ6V.js} +25 -16
- package/dist/{avatars-KCRRY6FB.js → avatars-YE2WC2TM.js} +16 -17
- package/dist/{backgroundChecks-QAR4J3EA.js → backgroundChecks-A7TYPXRD.js} +5 -4
- package/dist/backgroundChecksWorker.js +5 -4
- package/dist/{batchRender-IHSCRPWL.js → batchRender-EX5TDMP3.js} +5 -4
- package/dist/{beats-KHLBORQV.js → beats-F3AZFVZG.js} +11 -12
- package/dist/{benchmark-7OK27YVS.js → benchmark-ZBLLJL5C.js} +11 -11
- package/dist/{billing-CZWTUT4T.js → billing-MUTW7EEI.js} +80 -37
- package/dist/{browser-R4ZG7RVY.js → browser-BRIP2ZMX.js} +8 -7
- package/dist/{bundleWithLocalizedFonts-F3TAMJ2J.js → bundleWithLocalizedFonts-F557ZVFL.js} +1 -1
- package/dist/{capture-2TL7VL2K.js → capture-6TRISPA2.js} +17 -19
- package/dist/{capture-LRBDPPKP.js → capture-GSJVFS7R.js} +3 -3
- package/dist/{captureCompositionFrame-2XH2Z4RY.js → captureCompositionFrame-YRZVOCTO.js} +13 -15
- package/dist/{catalog-PTVMH3GV.js → catalog-5HJJNBFM.js} +24 -22
- package/dist/{catch-up-WRIIXOZE.js → catch-up-AQ5TFCAH.js} +9 -7
- package/dist/{check-XHB7IC3B.js → check-TYBSHODD.js} +46 -47
- package/dist/{checkAudio-LETXIMCO.js → checkAudio-LDSIWNQL.js} +10 -12
- package/dist/{checkBrowser-YHD3NILB.js → checkBrowser-7CFHX4VU.js} +37 -38
- package/dist/{chunk-6QP3ZSJN.js → chunk-2UJSYHED.js} +1 -1
- package/dist/{chunk-5G5YR4P3.js → chunk-3IMHFJDG.js} +30 -19
- package/dist/{chunk-US4BCRYB.js → chunk-3L2POG2J.js} +23 -1
- package/dist/{chunk-QBDOEJX2.js → chunk-426GU4YI.js} +1007 -643
- package/dist/{chunk-72K35GRP.js → chunk-4R63FXGU.js} +15 -5
- package/dist/{chunk-Q3IYSP4G.js → chunk-4TW62PDH.js} +17 -8
- package/dist/{chunk-44HJCTWN.js → chunk-64RLXCUT.js} +6 -3
- package/dist/{chunk-OO6AETRF.js → chunk-6DX4URUB.js} +1 -1
- package/dist/{chunk-AWV4F5TS.js → chunk-6OBCXHIF.js} +4 -4
- package/dist/{chunk-X5FSMQEJ.js → chunk-6RPKPL22.js} +1 -1
- package/dist/{chunk-7YCF2F5M.js → chunk-77E2UIIR.js} +1 -1
- package/dist/{chunk-QNE3NJO5.js → chunk-7BJQ4R4F.js} +3 -3
- package/dist/{chunk-UXS7VE75.js → chunk-7PZLR2JZ.js} +1 -1
- package/dist/{chunk-7WAEV3OM.js → chunk-AII4BFKZ.js} +2 -2
- package/dist/{chunk-EWAPC74T.js → chunk-ATTDG6NR.js} +1 -1
- package/dist/{chunk-UWZ2OIWM.js → chunk-AZO2YY3U.js} +1 -1
- package/dist/{chunk-QK4HTIXK.js → chunk-BIY3M2WW.js} +11 -11
- package/dist/{chunk-IL5CYE3O.js → chunk-C67RYYGK.js} +5 -5
- package/dist/{chunk-KIGPWWIE.js → chunk-C6MYVPHX.js} +1 -1
- package/dist/{chunk-CKEOCCMK.js → chunk-CMQZP52Y.js} +22 -18
- package/dist/{chunk-V5UBOBEG.js → chunk-CXSJ6H5Q.js} +3 -3
- package/dist/{chunk-YEE4A3IV.js → chunk-DEI35LJT.js} +2 -2
- package/dist/{chunk-XD7LQWTU.js → chunk-DLTSPBI7.js} +2 -2
- package/dist/{chunk-OMOBWXJL.js → chunk-DVKZ55DS.js} +2 -2
- package/dist/{chunk-UCQ7ZF47.js → chunk-E5FLGIV3.js} +2 -2
- package/dist/{chunk-UWB44MM4.js → chunk-ENJ3M6OM.js} +2 -2
- package/dist/{chunk-EOCFNE53.js → chunk-ENVFGBRD.js} +1 -1
- package/dist/chunk-EXA6R6SW.js +24 -0
- package/dist/{chunk-TNTQ7H24.js → chunk-GDQQ4U3L.js} +75 -9
- package/dist/{chunk-XQ26I3PL.js → chunk-GKLZMLX3.js} +4 -2
- package/dist/{chunk-KJSCMUST.js → chunk-GQORIM44.js} +14 -14
- package/dist/chunk-GR2E54E6.js +31 -0
- package/dist/{chunk-WM7JSUK2.js → chunk-HUCRKZ6J.js} +7 -7
- package/dist/{chunk-DJTC4NK7.js → chunk-HUZ3GL3F.js} +87 -5
- package/dist/{chunk-RL5VZ4Y2.js → chunk-I4BH3ASB.js} +1 -1
- package/dist/{chunk-76GLTXI5.js → chunk-IIXZLGSI.js} +5 -5
- package/dist/chunk-IN3ZKLLQ.js +59 -0
- package/dist/{chunk-Q5QMH5QA.js → chunk-IQL7NJSE.js} +1 -1
- package/dist/{chunk-BY7PZB6H.js → chunk-J3QW55W5.js} +2 -2
- package/dist/{chunk-WE6SM4HJ.js → chunk-JEPV6WOW.js} +2 -2
- package/dist/{chunk-766MOTIZ.js → chunk-JOQR4AP6.js} +5 -1
- package/dist/{chunk-JMUHTEAS.js → chunk-JSCY2GUB.js} +42 -27
- package/dist/{chunk-PMVFBCE5.js → chunk-JU2XCDW5.js} +2 -2
- package/dist/{chunk-AKE744C5.js → chunk-JWORQ5WQ.js} +5 -1
- package/dist/{chunk-NB2AEFNM.js → chunk-KE6NXX45.js} +62 -19
- package/dist/{chunk-LQ74BSBR.js → chunk-KEZSFOSN.js} +2 -2
- package/dist/{chunk-MB2NPHAS.js → chunk-KVANP54U.js} +1 -1
- package/dist/{chunk-ZFZXGZTX.js → chunk-L24NAUBS.js} +1 -1
- package/dist/{chunk-DCLZEI2C.js → chunk-L3HCPZZT.js} +32 -33
- package/dist/{chunk-BRHSN2TH.js → chunk-L5EM7KAY.js} +2 -2
- package/dist/{chunk-422TEJIX.js → chunk-LHQZYLVO.js} +7 -7
- package/dist/{chunk-BVAPHHMQ.js → chunk-LP7B3JLC.js} +4 -2
- package/dist/{chunk-MYQ4NH3E.js → chunk-LV3MNSL7.js} +1 -1
- package/dist/{chunk-IODESAJT.js → chunk-LV7BDQ5X.js} +1 -1
- package/dist/{chunk-FBQKUBMD.js → chunk-M4HDVKHG.js} +2 -2
- package/dist/{chunk-XRKQJADF.js → chunk-M6F4HXMW.js} +3 -3
- package/dist/{chunk-6KZAQHWH.js → chunk-M6FS7TNN.js} +3 -3
- package/dist/{chunk-TABWG4IT.js → chunk-M7VAMZQW.js} +18 -11
- package/dist/{chunk-P77AJDIN.js → chunk-MB7VK7MW.js} +3 -3
- package/dist/{chunk-76AJS2LI.js → chunk-MDZANX4P.js} +9 -3
- package/dist/{chunk-RLPTQF5E.js → chunk-MJFEHOGJ.js} +2 -2
- package/dist/{chunk-XLNV66JK.js → chunk-MLBH6KJL.js} +1 -1
- package/dist/{chunk-ZFDKOTN4.js → chunk-MZI62LS2.js} +45 -27
- package/dist/{chunk-RXFKSZN2.js → chunk-N6E2T3JY.js} +1 -1
- package/dist/{chunk-SUFHFBNO.js → chunk-N6YQHI3Z.js} +2 -2
- package/dist/{chunk-5UT3R43E.js → chunk-NL4RCLQF.js} +1 -1
- package/dist/{chunk-ATRSQXUV.js → chunk-NMQWKWV4.js} +71 -18
- package/dist/{chunk-XWFPP6LC.js → chunk-NO2YYTAK.js} +2 -2
- package/dist/{chunk-TRA75UKG.js → chunk-NQZQZY4B.js} +3 -3
- package/dist/{chunk-CZ5NNJ6H.js → chunk-NTMMUK6Q.js} +115 -69
- package/dist/{chunk-Z6AERD5Q.js → chunk-NV7IMBP7.js} +1 -1
- package/dist/{chunk-D3B76FBE.js → chunk-O6757ZOW.js} +5 -5
- package/dist/{chunk-OWZAG6N4.js → chunk-O7SPZE7M.js} +1 -1
- package/dist/{chunk-MRJRAAB2.js → chunk-OE347X32.js} +3 -3
- package/dist/{chunk-3YIOLQ2Y.js → chunk-OKPASJ5P.js} +5 -5
- package/dist/{chunk-GPLINKEE.js → chunk-OYNHNQ3E.js} +7 -7
- package/dist/{chunk-CHRHMT6W.js → chunk-OYXGIP35.js} +6 -6
- package/dist/{chunk-MT2Z5YBM.js → chunk-P7DCQJ6N.js} +1 -1
- package/dist/{chunk-6P2ZRIKN.js → chunk-PHJNYHGA.js} +1 -1
- package/dist/{chunk-4VYPICIA.js → chunk-PJEXCOCR.js} +12 -4
- package/dist/{chunk-6KQHLLKI.js → chunk-PVDBALBI.js} +7 -7
- package/dist/{chunk-SIAPGZ4S.js → chunk-QR7666XO.js} +4 -4
- package/dist/{chunk-HXQO2Q6T.js → chunk-RPLMK4WC.js} +1 -1
- package/dist/{chunk-HQOJ5ZBI.js → chunk-SKOBUO2F.js} +3 -3
- package/dist/{chunk-HCTHKNMZ.js → chunk-SVPRFL7O.js} +1 -1
- package/dist/{chunk-SM4DG7SR.js → chunk-SZLKWUHN.js} +3 -3
- package/dist/{chunk-SUCTCDDY.js → chunk-TBXNHLRL.js} +8 -5
- package/dist/{chunk-B3CSMKM7.js → chunk-TJUJJYJC.js} +1 -1
- package/dist/{chunk-HNZ2FZIB.js → chunk-TTCNUS5M.js} +3 -3
- package/dist/{chunk-AQZZLJY7.js → chunk-UE2RAXA7.js} +2 -2
- package/dist/{chunk-CIWX5UKC.js → chunk-UQXBGFKU.js} +14 -5
- package/dist/{chunk-XLPCBE2Q.js → chunk-US2SO6O4.js} +1 -1
- package/dist/{chunk-G7XKDDWE.js → chunk-UURC7DFD.js} +1 -1
- package/dist/{chunk-FU5TXQAN.js → chunk-UYMUPV7Q.js} +11 -11
- package/dist/chunk-VBEP277H.js +5035 -0
- package/dist/{chunk-AVOYOW2Y.js → chunk-VFGKM45X.js} +1 -1
- package/dist/{chunk-5UXMG5CM.js → chunk-VMWRWUDV.js} +1 -1
- package/dist/{chunk-2VYQ62PP.js → chunk-VR7E3QEQ.js} +9 -3
- package/dist/{chunk-DTWIC6JZ.js → chunk-VTQ6LSSX.js} +2 -2
- package/dist/{chunk-N4KVW3ZI.js → chunk-WEW22B4F.js} +4 -4
- package/dist/{chunk-7X3UDKJK.js → chunk-WMRHEI4N.js} +2 -2
- package/dist/{chunk-G4L4JU4I.js → chunk-WODNT4NL.js} +2 -2
- package/dist/{chunk-W7ITBVJE.js → chunk-X2TDLUIK.js} +16 -21
- package/dist/{chunk-4VOK4IOF.js → chunk-XBJNA2O5.js} +26 -9
- package/dist/{chunk-6CXFFUL5.js → chunk-XCF72IZY.js} +2 -2
- package/dist/{chunk-TMAFZJAP.js → chunk-XZRMB5Q7.js} +8 -8
- package/dist/{chunk-3CHUQRFX.js → chunk-ZAJSIWIC.js} +1 -1
- package/dist/{chunk-4W5NIHYU.js → chunk-ZMG7COPL.js} +1 -1
- package/dist/{chunk-V2BRRTED.js → chunk-ZO74SCFC.js} +16 -9
- package/dist/{clean-F7Y2JBO5.js → clean-RCXP7VIE.js} +22 -23
- package/dist/cli.js +81 -72
- package/dist/{cloud-RFM3PYTR.js → cloud-D3WTNTF2.js} +5 -4
- package/dist/{cloud-SQSYDRCJ.js → cloud-UMR6YM53.js} +4 -4
- package/dist/{cloudrun-3NSTX3CE.js → cloudrun-WNFJ6HDK.js} +10 -8
- package/dist/commands/contrast-audit.browser.js +50 -14
- package/dist/commands/motion-signature.browser.js +8 -1
- package/dist/{compare-J2K3SBGQ.js → compare-4DOTZFJB.js} +36 -37
- package/dist/{compiler-DMRQ44TO.js → compiler-QZAK3CQM.js} +3 -4
- package/dist/{component-FDWARSYD.js → component-JUNJ3HR5.js} +3 -3
- package/dist/{compositions-CVCE2GJN.js → compositions-Y4TVCT6A.js} +15 -17
- package/dist/{contactSheet-RJTY6IIV.js → contactSheet-RWRMLRZI.js} +3 -3
- package/dist/{curve-C7MZIWFU.js → curve-MRBPVFJR.js} +13 -14
- package/dist/{cuts-PN574VHO.js → cuts-FEQBTLCK.js} +14 -15
- package/dist/{delete-V6U3W4CS.js → delete-IZIO5BPH.js} +9 -8
- package/dist/{deploy-R33MSCVV.js → deploy-LYSMVVKT.js} +2 -2
- package/dist/{describeProject-ARFPRWDZ.js → describeProject-37HOCRQS.js} +8 -10
- package/dist/{deterministicFonts-HY5GWGQQ.js → deterministicFonts-DQDB47K3.js} +2 -2
- package/dist/{diff-QFMI6N6P.js → diff-JLJZ7CWH.js} +41 -42
- package/dist/{dist-BYY3JRG2.js → dist-LIQVRDQQ.js} +11 -13
- package/dist/{dist-XVVBUFOD.js → dist-RSKVXBET.js} +12 -3
- package/dist/{dist-TI44VPHO.js → dist-URQMS2HM.js} +5 -4
- package/dist/docs/examples.md +4 -0
- package/dist/{doctor-CREGMXCV.js → doctor-YXP5OQZJ.js} +15 -16
- package/dist/{energy-7G2AX2CC.js → energy-E2MNVLQG.js} +14 -15
- package/dist/{events-LF3JDEMV.js → events-7KJUZ6JN.js} +6 -5
- package/dist/{events-ISILMISS.js → events-AUFOARC3.js} +5 -4
- package/dist/{events-Y47D7LCD.js → events-IQMZODOM.js} +16 -17
- package/dist/{extract-NXHUAZJQ.js → extract-MNRKSTVS.js} +15 -16
- package/dist/{face-52FKXAW6.js → face-PLFENYM6.js} +14 -15
- package/dist/{feedback-LDYDOVKP.js → feedback-PMTFDXYG.js} +16 -13
- package/dist/{ffmpeg-4YTCWYMO.js → ffmpeg-6NPH4Y32.js} +7 -9
- package/dist/{figma-K3XDEK3K.js → figma-VRGLERFC.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -13
- package/dist/{frames-ZR3SBSEJ.js → frames-IJODIWMC.js} +16 -17
- package/dist/{generate-DDFMXJZV.js → generate-QGD5W7C2.js} +28 -29
- package/dist/{get-YLVWTD7K.js → get-JRHXJ3XB.js} +9 -8
- package/dist/{gpuPolicy-5L45UYI4.js → gpuPolicy-ZUQPIKA6.js} +7 -9
- package/dist/{grade-compare-U22AZXLQ.js → grade-compare-PBNOHUTC.js} +36 -37
- package/dist/{heifImagePrep-E5UHLK7F.js → heifImagePrep-IHGRDGIQ.js} +8 -10
- package/dist/{help-6UBS7VEC.js → help-TSKN5WKM.js} +1 -1
- package/dist/{history-NQ57D6BT.js → history-CKYGYGIT.js} +12 -11
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +68 -68
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-VMAWCCR7.js → info-MJVDLEVI.js} +42 -14
- package/dist/{init-E3E5O4BO.js → init-DOL2FWBB.js} +78 -44
- package/dist/{ink-JP2JIJ7O.js → ink-O6QSMSKC.js} +14 -15
- package/dist/{inspect-PB7AQSWP.js → inspect-PC3SZZOR.js} +35 -36
- package/dist/{installer-DXVPAZI5.js → installer-HMGKE36F.js} +5 -5
- package/dist/{keyframes-WU52W4WC.js → keyframes-7XC3AC4V.js} +9 -8
- package/dist/{lambda-EPKOKH3F.js → lambda-3FAGLEU5.js} +11 -13
- package/dist/{layout-QYDZ3OWK.js → layout-VHTDCWFW.js} +35 -36
- package/dist/{lint-HA2BXUCU.js → lint-IC6NER4M.js} +18 -12
- package/dist/{lintProject-Z2TEXMY4.js → lintProject-6TML32JZ.js} +1 -2
- package/dist/{list-P4PHY54O.js → list-I35ERZHZ.js} +9 -8
- package/dist/{localPage-GJQ2KHOH.js → localPage-FDNKKTXH.js} +7 -9
- package/dist/{login-FZ224A3F.js → login-6K6LXYCK.js} +8 -7
- package/dist/{logout-YACQMRZN.js → logout-EQ2HJDL4.js} +4 -3
- package/dist/{look-OMZ2QZO5.js → look-MUM6FFJS.js} +14 -15
- package/dist/{manager-PFURXZN7.js → manager-C555E5U3.js} +8 -10
- package/dist/{manager-5V4O7DY3.js → manager-MKDNQ5KZ.js} +2 -2
- package/dist/{measure-5UEQ3Z35.js → measure-HIFTI44U.js} +11 -11
- package/dist/{media-treatment-TD6MD2AQ.js → media-treatment-DI3C7GLC.js} +16 -17
- package/dist/{media-use-WM7OZFIU.js → media-use-DA5QVW4C.js} +6 -5
- package/dist/{models-RWXD6PFC.js → models-GDXFVABP.js} +11 -13
- package/dist/{motionShot-VI4JADFG.js → motionShot-UTGGCPYH.js} +17 -19
- package/dist/{normalize-audio-BS27PUKV.js → normalize-audio-YS3YILNJ.js} +23 -13
- package/dist/{open-UMB23DN6.js → open-4PKI3YVG.js} +17 -16
- package/dist/{parakeetRunner-2QB5ZG35.js → parakeetRunner-EC4KUGKK.js} +13 -15
- package/dist/{pipeline-3P5DX3DB.js → pipeline-L3ZWWTXS.js} +11 -13
- package/dist/{play-CF73RCMH.js → play-I3NXVJST.js} +25 -26
- package/dist/{preflight-JQS3EL4O.js → preflight-G2AVNYY7.js} +9 -11
- package/dist/{present-RPBRZSP2.js → present-RUJ3YKSR.js} +20 -21
- package/dist/{preview-XT5SK5IE.js → preview-M2T36DYH.js} +29 -28
- package/dist/{probe-OPBECP2X.js → probe-OASNPT5T.js} +14 -15
- package/dist/{producer-YY7LXKRQ.js → producer-YEHQIQ3O.js} +1 -1
- package/dist/{projectConfig-JA6XEBSL.js → projectConfig-LBMTOOJX.js} +8 -8
- package/dist/{publication-EOYYVFJS.js → publication-O2M6ZZNY.js} +2 -3
- package/dist/{publish-TPBXTYN2.js → publish-PMGCGIVE.js} +17 -17
- package/dist/{refresh-L5C2HPMC.js → refresh-ARZZRKMP.js} +4 -3
- package/dist/{remove-background-DMV2HTVF.js → remove-background-DFDEZEXM.js} +12 -14
- package/dist/{render-P5745VYG.js → render-PJMQH4EQ.js} +5 -6
- package/dist/{render-RXQUFM2X.js → render-SVP72X6C.js} +63 -45
- package/dist/{render-WQQ7ZPS5.js → render-U3NYKVOA.js} +33 -34
- package/dist/{render-batch-I6OHT72Q.js → render-batch-EUT4DTQZ.js} +5 -6
- package/dist/renderSetupWorker.js +6 -4
- package/dist/{resolver-CMFVVODA.js → resolver-H6U77U4P.js} +6 -6
- package/dist/{reverse-5CNVGBVP.js → reverse-IRAAQ6T7.js} +1 -1
- package/dist/{run-65M6ECM2.js → run-WZP6HXIH.js} +7 -6
- package/dist/{screenshotCapture-HTGXPA7D.js → screenshotCapture-2QYWSWGP.js} +36 -4
- package/dist/{sherpa-BPJWQXFB.js → sherpa-DO75VQI4.js} +12 -14
- package/dist/skills/hyperframes/SKILL.md +1 -1
- package/dist/skills/hyperframes/references/format.md +1 -1
- package/dist/skills/hyperframes/references/path-tracing.md +36 -0
- package/dist/skills/hyperframes/references/runtimes.md +1 -1
- package/dist/skills/hyperframes/references/storyboard.md +1 -1
- package/dist/skills/hyperframes/references/types/3d.md +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +3 -1
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/references/media-treatments.md +1 -1
- package/dist/skills/media-use/references/setup-providers.md +1 -1
- package/dist/skills/media-use/scripts/lib/local-media-search.mjs +6 -2
- package/dist/skills/media-use/scripts/lib/local-media-search.test.mjs +23 -0
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +6 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +34 -0
- package/dist/{skills-2Z2E7TX7.js → skills-7GNBYIEM.js} +10 -9
- package/dist/{skillsUpdateCheck-TQHSQ26D.js → skillsUpdateCheck-3X5WU4YB.js} +5 -4
- package/dist/{snapshot-NR3BZVZK.js → snapshot-7XX5FCQC.js} +82 -75
- package/dist/{src-LIR2WBQL.js → src-OUHQBPJL.js} +10 -12
- package/dist/{src-VZIS3GRG.js → src-R2QH27BL.js} +8 -8
- package/dist/{start-FDWHVOMC.js → start-SD4CCZFP.js} +44 -30
- package/dist/{staticProjectServer-L5O2GBZH.js → staticProjectServer-3DQIE2ZT.js} +20 -22
- package/dist/{status-SMFFS6LS.js → status-HUVATV7S.js} +20 -17
- package/dist/studio/assets/{hyperframes-player-bkb0-LEY.js → hyperframes-player-CL-Qh_Bx.js} +1 -1
- package/dist/studio/assets/{index-RUPGNyct.css → index-CNZk2EFC.css} +1 -1
- package/dist/studio/assets/{index-DfsIam9M.js → index-DkiYRx1f.js} +137 -137
- package/dist/studio/assets/{index-D5zessN9.js → index-DyvmaiBB.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{studio-api-VLBZZ4IB.js → studio-api-776ZTVLU.js} +11 -13
- package/dist/{studioSelectionClient-FA6XPVIL.js → studioSelectionClient-W2S3H2VO.js} +3 -1
- package/dist/{studioServer-CP5HGR3W.js → studioServer-A3LGBU4W.js} +60 -62
- package/dist/{sync-NBM7J3IT.js → sync-5BBHBAZ6.js} +14 -15
- package/dist/{synthesize-S3FF5KXC.js → synthesize-GX74JPPZ.js} +2 -2
- package/dist/{telemetry-B5OJHH2C.js → telemetry-7ETKP7HP.js} +6 -5
- package/dist/{telemetry-5WZGQCKA.js → telemetry-IXOTZW4E.js} +2 -1
- package/dist/{templates-PQZCZZUG.js → templates-RH674B5Q.js} +17 -16
- package/dist/{timeline-X27NA7UH.js → timeline-DEZAVAFR.js} +42 -28
- package/dist/{tokens-XS2LOTWB.js → tokens-2UHFZABD.js} +2 -2
- package/dist/{transcribe-YPWD4E63.js → transcribe-EZEUKBI3.js} +10 -12
- package/dist/{transcribe-7M33PLAV.js → transcribe-NZBJVCSZ.js} +30 -31
- package/dist/{tts-QRQEYR3Q.js → tts-QW53FBKW.js} +3 -3
- package/dist/{update-BRTUI6AI.js → update-YXZI2ICU.js} +11 -10
- package/dist/{updateCheck-IW37C7XV.js → updateCheck-GJMC7GXZ.js} +4 -3
- package/dist/{upgrade-7EF5SHLD.js → upgrade-E3QK3G3D.js} +5 -4
- package/dist/{upload-HMRWGZIO.js → upload-YQMBLKH5.js} +3 -1
- package/dist/{urlDownloader-L6HYQHNK.js → urlDownloader-KYFYU6AG.js} +6 -8
- package/dist/{validate-PQJBBBBK.js → validate-HD224PCX.js} +28 -29
- package/dist/{video-DO6SLUPI.js → video-3NIYVUPF.js} +9 -11
- package/dist/{voices-VP5LLP5V.js → voices-G2YC3Y7U.js} +25 -26
- package/dist/warmCheck.js +47 -48
- package/dist/warmCheckClient.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-AFYIYW5D.js +0 -5035
- package/dist/chunk-CZGHFATT.js +0 -31
- package/dist/chunk-IVIVAE6U.js +0 -29
- package/dist/chunk-MEJH7VEA.js +0 -63
|
@@ -12,13 +12,16 @@ import {
|
|
|
12
12
|
} from "./chunk-D3MUHMFG.js";
|
|
13
13
|
import {
|
|
14
14
|
firstFrameColourArgs,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
keyframeTransferArgs,
|
|
16
|
+
parseFirstFrameColour,
|
|
17
|
+
parseKeyframeTransfers,
|
|
18
|
+
readsKeyframeTransfers
|
|
19
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
17
20
|
import {
|
|
18
21
|
findFfBinary
|
|
19
22
|
} from "./chunk-HYRPH6LL.js";
|
|
20
23
|
|
|
21
|
-
// ../studio-server/dist/chunk-
|
|
24
|
+
// ../studio-server/dist/chunk-Y6EZUBYR.js
|
|
22
25
|
import { execFile } from "child_process";
|
|
23
26
|
import { extname } from "path";
|
|
24
27
|
var execFileRunner = (command, args, options) => new Promise((resolvePromise) => {
|
|
@@ -95,14 +98,21 @@ function classifyMediaColor(stream) {
|
|
|
95
98
|
bitsPerRawSample: stream?.bits_per_raw_sample
|
|
96
99
|
};
|
|
97
100
|
}
|
|
98
|
-
async function probeFirstFrameColour(filePath, runner = execFileRunner) {
|
|
101
|
+
async function probeFirstFrameColour(filePath, codec, runner = execFileRunner) {
|
|
99
102
|
const ffmpegPath = findFfBinary("ffmpeg", { configuredMustExist: true }) ?? (runner === execFileRunner ? void 0 : "ffmpeg");
|
|
100
103
|
if (!ffmpegPath) return {};
|
|
101
104
|
const result = await runner(ffmpegPath, firstFrameColourArgs(filePath), {
|
|
102
105
|
timeout: 15e3,
|
|
103
106
|
maxBuffer: 1024 * 1024
|
|
104
107
|
});
|
|
105
|
-
|
|
108
|
+
const first = result.status === 0 ? parseFirstFrameColour(String(result.stderr)) : {};
|
|
109
|
+
if (result.status !== 0 || !readsKeyframeTransfers(first)) return first;
|
|
110
|
+
const keyframes = await runner(ffmpegPath, keyframeTransferArgs(filePath, codec), {
|
|
111
|
+
timeout: 3e4,
|
|
112
|
+
maxBuffer: 8 * 1024 * 1024
|
|
113
|
+
});
|
|
114
|
+
const keyframeTransfers = keyframes.status === 0 ? parseKeyframeTransfers(String(keyframes.stderr)) : [];
|
|
115
|
+
return { ...first, keyframeTransfers };
|
|
106
116
|
}
|
|
107
117
|
function bitDepthOf(stream) {
|
|
108
118
|
const raw = Number(stream.bits_per_raw_sample);
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
warnUnknownEnumValues,
|
|
59
59
|
wrapInlineScriptWithErrorBoundary,
|
|
60
60
|
wrapScopedCompositionScript
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-VBEP277H.js";
|
|
62
62
|
import {
|
|
63
63
|
cssVariableName
|
|
64
64
|
} from "./chunk-VC76R6W2.js";
|
|
@@ -67,9 +67,9 @@ import {
|
|
|
67
67
|
resolveWithinProject
|
|
68
68
|
} from "./chunk-OFQWTKPW.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
linkedSources,
|
|
71
71
|
lintHyperframeHtml
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-NTMMUK6Q.js";
|
|
73
73
|
import {
|
|
74
74
|
readTextFile
|
|
75
75
|
} from "./chunk-WVRAFHJU.js";
|
|
@@ -403,9 +403,7 @@ function extractStandaloneEntryFromIndex(indexHtml, entryFile, entryHtml) {
|
|
|
403
403
|
|
|
404
404
|
// ../core/dist/compiler/staticGuard.js
|
|
405
405
|
async function validateHyperframeHtmlContract(html, project) {
|
|
406
|
-
const result = await lintHyperframeHtml(html, project &&
|
|
407
|
-
externalStyles: collectExternalStyles(project.dir, html, project.compSrcPath)
|
|
408
|
-
});
|
|
406
|
+
const result = await lintHyperframeHtml(html, project && linkedSources(project.dir, html, project.compSrcPath));
|
|
409
407
|
const missingKeys = result.findings.filter((finding) => finding.severity === "error").map((finding) => finding.message);
|
|
410
408
|
if (missingKeys.length === 0) {
|
|
411
409
|
return { isValid: true, missingKeys: [], failureReason: null };
|
|
@@ -765,6 +763,10 @@ function applyRenames(resolved, idMap) {
|
|
|
765
763
|
rewriteElementIdReferences(el, idMap);
|
|
766
764
|
}
|
|
767
765
|
}
|
|
766
|
+
var CLIP_SELECTOR = "[data-start]:not([data-composition-id]):not([data-composition-src])";
|
|
767
|
+
function sceneClipRoots(document, hosts) {
|
|
768
|
+
return [...document.querySelectorAll(CLIP_SELECTOR)].filter((clip) => !clip.parentElement?.closest(CLIP_SELECTOR) && !!clip.parentElement?.closest("[data-composition-id]") && !isExcluded(clip, hosts) && !!clip.querySelector("svg"));
|
|
769
|
+
}
|
|
768
770
|
function namespaceCollidingSvgIds(document, scopes, finalizedIds) {
|
|
769
771
|
if (scopes.length === 0)
|
|
770
772
|
return [];
|
|
@@ -1206,6 +1208,8 @@ ${AUTHORED_SOURCE_END}`);
|
|
|
1206
1208
|
styleEnd
|
|
1207
1209
|
});
|
|
1208
1210
|
}
|
|
1211
|
+
const hostRoots = svgIdScopes.map(({ root }) => root);
|
|
1212
|
+
const clips = sceneClipRoots(document, hostRoots);
|
|
1209
1213
|
const svgIdMaps = namespaceCollidingSvgIds(document, [
|
|
1210
1214
|
...svgIdScopes.map(({ root, namespace, exclude, styleStart, styleEnd }) => ({
|
|
1211
1215
|
root,
|
|
@@ -1217,9 +1221,14 @@ ${AUTHORED_SOURCE_END}`);
|
|
|
1217
1221
|
root: document.documentElement,
|
|
1218
1222
|
namespace: "",
|
|
1219
1223
|
referenceTarget: "document",
|
|
1220
|
-
exclude:
|
|
1224
|
+
exclude: [...hostRoots, ...clips],
|
|
1221
1225
|
cssTexts: rootStyles.map((style) => style.textContent ?? "")
|
|
1222
|
-
}
|
|
1226
|
+
},
|
|
1227
|
+
...clips.map((root, index) => ({
|
|
1228
|
+
root,
|
|
1229
|
+
namespace: `clip-${index}`,
|
|
1230
|
+
exclude: hostRoots.filter((host) => root.contains(host))
|
|
1231
|
+
}))
|
|
1223
1232
|
]);
|
|
1224
1233
|
svgIdMaps.slice(0, svgIdScopes.length).forEach((idMap, index) => {
|
|
1225
1234
|
const { styleStart, styleEnd } = svgIdScopes[index];
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
jsonArg,
|
|
9
9
|
runMeasure,
|
|
10
10
|
videoArg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MDZANX4P.js";
|
|
12
12
|
import {
|
|
13
13
|
makeOutputFolder
|
|
14
14
|
} from "./chunk-3S27CPV7.js";
|
|
@@ -18,10 +18,13 @@ import {
|
|
|
18
18
|
probeVideo,
|
|
19
19
|
round,
|
|
20
20
|
runFfmpeg
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VR7E3QEQ.js";
|
|
22
22
|
import {
|
|
23
23
|
defineCommand
|
|
24
24
|
} from "./chunk-DL4OD7IA.js";
|
|
25
|
+
import {
|
|
26
|
+
toneMapReferenceNits
|
|
27
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
25
28
|
|
|
26
29
|
// src/commands/measure/probe.ts
|
|
27
30
|
import { execFileSync } from "child_process";
|
|
@@ -58,7 +61,7 @@ function normalize(info, out) {
|
|
|
58
61
|
"install an ffmpeg built with libzimg, e.g. brew install ffmpeg"
|
|
59
62
|
);
|
|
60
63
|
filters.push(
|
|
61
|
-
|
|
64
|
+
`zscale=t=linear:npl=${toneMapReferenceNits(info.transfer ? [info.transfer] : [])},format=gbrpf32le,zscale=p=bt709,tonemap=hable:desat=0,zscale=t=bt709:m=bt709:r=tv`
|
|
62
65
|
);
|
|
63
66
|
}
|
|
64
67
|
makeOutputFolder(dirname(out));
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
} from "./chunk-HBAUU3IK.js";
|
|
20
20
|
import {
|
|
21
21
|
uploadAssetViaDirectUpload
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GDQQ4U3L.js";
|
|
23
23
|
import {
|
|
24
24
|
refreshIfNeeded,
|
|
25
25
|
resolveCloudBaseUrl
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-J3QW55W5.js";
|
|
27
27
|
import {
|
|
28
28
|
buildAuthHeaders,
|
|
29
29
|
tryResolveCredential
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-L24NAUBS.js";
|
|
31
31
|
import {
|
|
32
32
|
HyperframesCloudClient
|
|
33
33
|
} from "./chunk-3XJM7XZN.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-SWC3QIEH.js";
|
|
38
38
|
import {
|
|
39
39
|
hyperframesCacheDir
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-JOQR4AP6.js";
|
|
41
41
|
|
|
42
42
|
// src/audio/analysis/run.ts
|
|
43
43
|
import { existsSync as existsSync3 } 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
|
hyperframesCacheDir
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JOQR4AP6.js";
|
|
10
10
|
|
|
11
11
|
// src/warmCheckProtocol.ts
|
|
12
12
|
import { createHash, createHmac, randomBytes, timingSafeEqual } from "crypto";
|
|
@@ -6,17 +6,17 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ATTDG6NR.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-M3JU24AI.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_CONFIG,
|
|
15
15
|
resolvePageNavigationTimeout
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NMQWKWV4.js";
|
|
17
17
|
import {
|
|
18
18
|
parseFps
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
20
20
|
import {
|
|
21
21
|
failUsage
|
|
22
22
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
rewritePinnedHyperframesText,
|
|
28
28
|
rewriteProjectPinnedScripts,
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-DVKZ55DS.js";
|
|
31
31
|
import {
|
|
32
32
|
setCommandExitCode
|
|
33
33
|
} from "./chunk-66W5IWLO.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-FYZFURBN.js";
|
|
37
37
|
import {
|
|
38
38
|
VERSION
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-DEI35LJT.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/upgrade.ts
|
|
42
42
|
import { execFileSync } from "child_process";
|
|
@@ -6,28 +6,28 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
gotoWhenSent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-N6E2T3JY.js";
|
|
10
10
|
import {
|
|
11
11
|
windowsChromeCrashRemediation
|
|
12
12
|
} from "./chunk-262C25DQ.js";
|
|
13
13
|
import {
|
|
14
14
|
pageNavigationTimeoutMs
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7BJQ4R4F.js";
|
|
16
16
|
import {
|
|
17
17
|
SEEK_SETTLES_BEFORE_PROTOCOL_TIMEOUT_MS
|
|
18
18
|
} from "./chunk-YGGZ23BB.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KVANP54U.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode,
|
|
25
25
|
rethrowAfterBrowserCleanup
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N6YQHI3Z.js";
|
|
27
27
|
import {
|
|
28
28
|
resolveLocalBrowserGpuMode,
|
|
29
29
|
resolveLocalWebGpu
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ENJ3M6OM.js";
|
|
31
31
|
import {
|
|
32
32
|
c
|
|
33
33
|
} from "./chunk-HOCC4J5C.js";
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
assertWebGpuAdapterAvailable,
|
|
36
36
|
compositionRequiresWebGpu,
|
|
37
37
|
oneProcessOverPipe
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NMQWKWV4.js";
|
|
39
39
|
import {
|
|
40
40
|
normalizeErrorMessage
|
|
41
41
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -143,7 +143,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
143
143
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
144
144
|
});
|
|
145
145
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
146
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
146
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-R2QH27BL.js");
|
|
147
147
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
148
148
|
await waitForImagesReady(
|
|
149
149
|
page,
|
|
@@ -192,7 +192,7 @@ async function installPageFunctionGuard(page) {
|
|
|
192
192
|
async function openSettledCompositionPage(html, url, options) {
|
|
193
193
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
194
194
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
195
|
-
const answer = (await import("./staticProjectServer-
|
|
195
|
+
const answer = (await import("./staticProjectServer-3DQIE2ZT.js")).inProcessAnswer(url);
|
|
196
196
|
const noListen = answer !== void 0;
|
|
197
197
|
let chromeBrowser;
|
|
198
198
|
try {
|
|
@@ -203,7 +203,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
203
203
|
options.onBrowserReady?.();
|
|
204
204
|
const page = await chromeBrowser.newPage();
|
|
205
205
|
await installPageFunctionGuard(page);
|
|
206
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
206
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-R2QH27BL.js");
|
|
207
207
|
await installMediaRenderIdBridge(page);
|
|
208
208
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
209
209
|
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
@@ -222,10 +222,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
222
222
|
}
|
|
223
223
|
async function launchCompositionBrowser(html, noListen, options) {
|
|
224
224
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
225
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
225
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-MKDNQ5KZ.js");
|
|
226
226
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
227
227
|
const puppeteer = await import("puppeteer-core");
|
|
228
|
-
const { buildChromeArgs } = await import("./src-
|
|
228
|
+
const { buildChromeArgs } = await import("./src-R2QH27BL.js");
|
|
229
229
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
230
230
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
231
231
|
let softwareWebGpu = false;
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
copyDirSync
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EXA6R6SW.js";
|
|
10
10
|
import {
|
|
11
11
|
R
|
|
12
12
|
} from "./chunk-LISUH6KH.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-6BEFEWFB.js";
|
|
16
16
|
import {
|
|
17
17
|
trackSkillsInstallSkipped
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UE2RAXA7.js";
|
|
19
19
|
import {
|
|
20
20
|
diag
|
|
21
21
|
} from "./chunk-MCDNAIFF.js";
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
isCoreSkill,
|
|
37
37
|
presentSkills,
|
|
38
38
|
retiredSkillNotice
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-SZLKWUHN.js";
|
|
40
40
|
import {
|
|
41
41
|
NO_UPDATE_NOTICE,
|
|
42
42
|
withMeta
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-DVKZ55DS.js";
|
|
44
44
|
import {
|
|
45
45
|
failureMessage,
|
|
46
46
|
jsonFailure
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-66W5IWLO.js";
|
|
52
52
|
import {
|
|
53
53
|
VERSION
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-DEI35LJT.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/skills.ts
|
|
57
57
|
import { execFileSync, spawn } from "child_process";
|
|
@@ -7,6 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
isDevMode
|
|
9
9
|
} from "./chunk-ISN5GRYI.js";
|
|
10
|
+
import {
|
|
11
|
+
hyperframesConfigDir,
|
|
12
|
+
seededConfigFile
|
|
13
|
+
} from "./chunk-GR2E54E6.js";
|
|
10
14
|
import {
|
|
11
15
|
isAttendedTerminal
|
|
12
16
|
} from "./chunk-FYZFURBN.js";
|
|
@@ -94,9 +98,9 @@ import { existsSync, mkdirSync, readFileSync, renameSync, rmSync, writeFileSync
|
|
|
94
98
|
import { join } from "path";
|
|
95
99
|
import { homedir } from "os";
|
|
96
100
|
import { randomUUID } from "crypto";
|
|
97
|
-
var
|
|
98
|
-
var
|
|
99
|
-
var
|
|
101
|
+
var configDir = () => hyperframesConfigDir();
|
|
102
|
+
var configFile = () => seededConfigFile("config.json");
|
|
103
|
+
var stateFile = () => seededConfigFile("install-state.json");
|
|
100
104
|
var LEGACY_STATE_FILE = join(homedir(), ".local", "state", "hyperframes", "install-state.json");
|
|
101
105
|
function salvageInstallState(parsed) {
|
|
102
106
|
const markerAt = typeof parsed.markerAt === "string" ? parsed.markerAt : void 0;
|
|
@@ -163,7 +167,7 @@ function isInstallState(value) {
|
|
|
163
167
|
return typeof value !== "string";
|
|
164
168
|
}
|
|
165
169
|
function readInstallState() {
|
|
166
|
-
const current = parseInstallState(
|
|
170
|
+
const current = parseInstallState(stateFile());
|
|
167
171
|
if (isInstallState(current)) {
|
|
168
172
|
removeLegacyStateFile();
|
|
169
173
|
return current;
|
|
@@ -189,10 +193,10 @@ function removeLegacyStateFile() {
|
|
|
189
193
|
var stateMarkerSynced = false;
|
|
190
194
|
var stateFiredSynced = false;
|
|
191
195
|
function writeInstallState(next) {
|
|
192
|
-
mkdirSync(
|
|
193
|
-
const tmpFile = `${
|
|
196
|
+
mkdirSync(configDir(), { recursive: true, mode: 448 });
|
|
197
|
+
const tmpFile = `${stateFile()}.${process.pid}.tmp`;
|
|
194
198
|
writeFileSync(tmpFile, JSON.stringify(next, null, 2) + "\n", { mode: 384 });
|
|
195
|
-
renameSync(tmpFile,
|
|
199
|
+
renameSync(tmpFile, stateFile());
|
|
196
200
|
}
|
|
197
201
|
function sameInstallState(a, b) {
|
|
198
202
|
return a.deParallelRouterTrialFired === b.deParallelRouterTrialFired && a.bucketSeed === b.bucketSeed;
|
|
@@ -222,7 +226,7 @@ function applyInstallState(config, wantFired) {
|
|
|
222
226
|
}
|
|
223
227
|
function syncInstallState(config) {
|
|
224
228
|
const wantFired = config.deParallelRouterTrialFired === true;
|
|
225
|
-
if (stateMarkerSynced && !existsSync(
|
|
229
|
+
if (stateMarkerSynced && !existsSync(stateFile())) {
|
|
226
230
|
stateMarkerSynced = false;
|
|
227
231
|
stateFiredSynced = false;
|
|
228
232
|
}
|
|
@@ -386,9 +390,9 @@ function materializeConfig(parsed) {
|
|
|
386
390
|
}
|
|
387
391
|
function readConfig() {
|
|
388
392
|
if (cachedConfig) return { ...cachedConfig };
|
|
389
|
-
if (!existsSync(
|
|
393
|
+
if (!existsSync(configFile())) return mintAndCacheConfig();
|
|
390
394
|
try {
|
|
391
|
-
const raw = readFileSync(
|
|
395
|
+
const raw = readFileSync(configFile(), "utf-8");
|
|
392
396
|
const parsed = JSON.parse(raw);
|
|
393
397
|
const config = materializeConfig(parsed);
|
|
394
398
|
const idFromDisk = parseNonEmptyString(parsed.anonymousId) !== void 0;
|
|
@@ -466,7 +470,7 @@ function consentFrom(value) {
|
|
|
466
470
|
}
|
|
467
471
|
function localModelConsentOnDisk() {
|
|
468
472
|
try {
|
|
469
|
-
return consentFrom(JSON.parse(readFileSync(
|
|
473
|
+
return consentFrom(JSON.parse(readFileSync(configFile(), "utf-8")).localEmbeddingEnabled);
|
|
470
474
|
} catch (error) {
|
|
471
475
|
return error.code === "ENOENT" ? void 0 : false;
|
|
472
476
|
}
|
|
@@ -474,8 +478,8 @@ function localModelConsentOnDisk() {
|
|
|
474
478
|
var holdingConfigLock = false;
|
|
475
479
|
function withConfigLock(task) {
|
|
476
480
|
if (holdingConfigLock) return task();
|
|
477
|
-
mkdirSync(
|
|
478
|
-
return withFileLock(`${
|
|
481
|
+
mkdirSync(configDir(), { recursive: true, mode: 448 });
|
|
482
|
+
return withFileLock(`${configFile()}.lock`, fs, () => {
|
|
479
483
|
holdingConfigLock = true;
|
|
480
484
|
try {
|
|
481
485
|
return task();
|
|
@@ -486,10 +490,10 @@ function withConfigLock(task) {
|
|
|
486
490
|
}
|
|
487
491
|
function persistConfig(config) {
|
|
488
492
|
try {
|
|
489
|
-
mkdirSync(
|
|
490
|
-
const tmpFile = `${
|
|
493
|
+
mkdirSync(configDir(), { recursive: true, mode: 448 });
|
|
494
|
+
const tmpFile = `${configFile()}.${process.pid}.tmp`;
|
|
491
495
|
writeFileSync(tmpFile, JSON.stringify(config, null, 2) + "\n", { mode: 384 });
|
|
492
|
-
renameSync(tmpFile,
|
|
496
|
+
renameSync(tmpFile, configFile());
|
|
493
497
|
cachedConfig = { ...config };
|
|
494
498
|
const mirrored = syncInstallState(config);
|
|
495
499
|
return mirrored ? { ok: true } : { ok: true, mirrored: false };
|
|
@@ -503,8 +507,8 @@ function incrementCommandCount() {
|
|
|
503
507
|
writeConfig(config);
|
|
504
508
|
return config.commandCount;
|
|
505
509
|
}
|
|
506
|
-
var CONFIG_PATH =
|
|
507
|
-
var STATE_PATH =
|
|
510
|
+
var CONFIG_PATH = configFile();
|
|
511
|
+
var STATE_PATH = stateFile();
|
|
508
512
|
|
|
509
513
|
export {
|
|
510
514
|
POSTHOG_API_KEY,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
readSeen,
|
|
11
11
|
seenPath,
|
|
12
12
|
writeRecord
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GKLZMLX3.js";
|
|
14
14
|
import {
|
|
15
15
|
createProjectConfig
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZAJSIWIC.js";
|
|
17
17
|
import {
|
|
18
18
|
isHyperframesProject
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
20
20
|
import {
|
|
21
21
|
isCI
|
|
22
22
|
} from "./chunk-FYZFURBN.js";
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
|
|
8
8
|
// src/version.ts
|
|
9
|
-
var VERSION = true ? "0.9.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.9.
|
|
9
|
+
var VERSION = true ? "0.9.17" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.9.17" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./chunk-R4EWRIDL.js";
|
|
13
13
|
import {
|
|
14
14
|
findFFmpeg
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RPLMK4WC.js";
|
|
16
16
|
import {
|
|
17
17
|
stoppableExecFile
|
|
18
18
|
} from "./chunk-HU2SPFNG.js";
|
|
19
19
|
import {
|
|
20
20
|
hyperframesCacheDir
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JOQR4AP6.js";
|
|
22
22
|
|
|
23
23
|
// src/whisper/manager.ts
|
|
24
24
|
import { execFileSync } from "child_process";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readConfig,
|
|
13
13
|
readConfigFresh,
|
|
14
14
|
writeConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CMQZP52Y.js";
|
|
16
16
|
import {
|
|
17
17
|
isDevMode
|
|
18
18
|
} from "./chunk-ISN5GRYI.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
} from "./chunk-FYZFURBN.js";
|
|
26
26
|
import {
|
|
27
27
|
VERSION
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-DEI35LJT.js";
|
|
29
29
|
|
|
30
30
|
// src/utils/updateCheck.ts
|
|
31
31
|
import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TBXNHLRL.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-T2WJO4XM.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-HUZ3GL3F.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NMQWKWV4.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-R2QH27BL.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -0,0 +1,24 @@
|
|
|
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/copyDir.ts
|
|
9
|
+
import { copyFileSync, mkdirSync, readdirSync, readlinkSync, symlinkSync } from "fs";
|
|
10
|
+
import { join } from "path";
|
|
11
|
+
function copyDirSync(src, dest) {
|
|
12
|
+
mkdirSync(dest, { recursive: true });
|
|
13
|
+
for (const entry of readdirSync(src, { withFileTypes: true })) {
|
|
14
|
+
const from = join(src, entry.name);
|
|
15
|
+
const to = join(dest, entry.name);
|
|
16
|
+
if (entry.isDirectory()) copyDirSync(from, to);
|
|
17
|
+
else if (entry.isSymbolicLink()) symlinkSync(readlinkSync(from), to);
|
|
18
|
+
else copyFileSync(from, to);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
copyDirSync
|
|
24
|
+
};
|