hyperframes 0.8.213 → 0.8.216
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-GRJ6BQMO.js → add-2RWN7JAI.js} +18 -15
- package/dist/{agentPromptGenerator-2HTUGEKK.js → agentPromptGenerator-RVE5RWTH.js} +9 -8
- package/dist/{animatedGifPrep-7KPZBZXD.js → animatedGifPrep-I32BS5HI.js} +9 -8
- package/dist/api.js +20 -19
- package/dist/{asset-YVIFFWCU.js → asset-YLZ5UGVE.js} +2 -2
- package/dist/{assetCataloger-IZW7LPCT.js → assetCataloger-B4KOZO3V.js} +10 -9
- package/dist/{audio-X7274SUF.js → audio-VUOJ7MOJ.js} +180 -64
- package/dist/{auth-II6SIDJD.js → auth-3UL65CN7.js} +4 -4
- package/dist/{autoUpdate-WJIT74BG.js → autoUpdate-FEK5AHLP.js} +4 -3
- package/dist/{backgroundChecks-NMKJAES7.js → backgroundChecks-VJSQ3REH.js} +5 -4
- package/dist/backgroundChecksWorker.js +6 -5
- package/dist/{batchRender-I7GRY73M.js → batchRender-NC6SUDYN.js} +4 -4
- package/dist/{beats-6VXALJZT.js → beats-KSUZ23LE.js} +25 -19
- package/dist/{benchmark-RLIRA74V.js → benchmark-TRVQ7EPQ.js} +15 -12
- package/dist/{browser-7T3JMNTR.js → browser-3LJ3SLQ4.js} +10 -7
- package/dist/{bundleWithLocalizedFonts-C2LP6QZZ.js → bundleWithLocalizedFonts-Y7VGIRFK.js} +2 -2
- package/dist/{capture-V4HWHG7C.js → capture-NC5OO4D2.js} +3 -3
- package/dist/{capture-OZFDTN4A.js → capture-NT2SOO5J.js} +17 -16
- package/dist/{captureCompositionFrame-WZAVXCRQ.js → captureCompositionFrame-PAJRNURH.js} +15 -14
- package/dist/{catalog-UFC7JS4T.js → catalog-BOGZ2BQD.js} +19 -16
- package/dist/{catch-up-YBNKJDWJ.js → catch-up-FGF5SAEW.js} +10 -7
- package/dist/{check-ESQJHRGA.js → check-IG6NIMSC.js} +46 -43
- package/dist/{checkAudio-OIIBWFBF.js → checkAudio-6B2FKTIU.js} +14 -13
- package/dist/{checkBrowser-WAWL6TKX.js → checkBrowser-D6MZRCTH.js} +39 -36
- package/dist/{chunk-7LOVQRUJ.js → chunk-2JV6FKNZ.js} +3 -3
- package/dist/{chunk-WSEPFRJV.js → chunk-3AOXAXTA.js} +1 -1
- package/dist/{chunk-6LDHXB4Z.js → chunk-3F2DTPBD.js} +3 -2
- package/dist/{chunk-V2H5UABS.js → chunk-3S2WWGJJ.js} +3 -3
- package/dist/{chunk-ENE4IKFX.js → chunk-43USF7JF.js} +11 -11
- package/dist/{chunk-VTX27LET.js → chunk-4EEVTNDU.js} +3 -3
- package/dist/{chunk-MFC2PE7D.js → chunk-4MWUMT3T.js} +2 -2
- package/dist/chunk-4WEWHZZO.js +24 -0
- package/dist/{chunk-7JWRVKN4.js → chunk-4YIKQM4K.js} +1 -1
- package/dist/{chunk-SZOCI3JJ.js → chunk-557ZJMFI.js} +2 -2
- package/dist/{chunk-DQ26IA5P.js → chunk-5XTOAZMR.js} +1 -1
- package/dist/{chunk-LGDRKQKL.js → chunk-6HJUC2VX.js} +3 -3
- package/dist/{chunk-MBSESQED.js → chunk-6LQL2BVD.js} +1 -1
- package/dist/{chunk-F4EX52FU.js → chunk-7P76YIVS.js} +1 -1
- package/dist/{chunk-3OYLHBQZ.js → chunk-7RPXLY6U.js} +1 -1
- package/dist/{chunk-KSMCX5EP.js → chunk-ACAU2AK2.js} +4 -4
- package/dist/{chunk-I3G45TWG.js → chunk-BHWXSO6T.js} +1 -1
- package/dist/{chunk-K4WIOZFP.js → chunk-BR2JQQC5.js} +3 -5
- package/dist/{chunk-5ODMV7X6.js → chunk-BTYR7Y3Z.js} +2 -2
- package/dist/{chunk-PAZ7WUYZ.js → chunk-BYHG2T5X.js} +2 -2
- package/dist/{chunk-G6HUXX3L.js → chunk-CBCZBHGK.js} +4 -2
- package/dist/{chunk-ISMOBMWF.js → chunk-CX4TSC7T.js} +98 -37
- package/dist/{chunk-DJFEYX23.js → chunk-DFA5GTRJ.js} +1 -1
- package/dist/{chunk-KY67MTBH.js → chunk-DYHAZFK3.js} +336 -3
- package/dist/{chunk-TCCCAEZD.js → chunk-EB44YMQO.js} +3 -3
- package/dist/{chunk-LYON3VGF.js → chunk-EJTVBW42.js} +2 -2
- package/dist/{chunk-32NEJ553.js → chunk-FBN2M2HK.js} +28 -0
- package/dist/{chunk-QHWVCKC5.js → chunk-FUSUFW2L.js} +1 -1
- package/dist/{chunk-L72RQ45A.js → chunk-G3AG7A42.js} +1 -1
- package/dist/{chunk-FKFGGAXN.js → chunk-GLC5XHN5.js} +13 -0
- package/dist/{chunk-NGJS5H5E.js → chunk-GTKUQUZ6.js} +1 -1
- package/dist/{chunk-ZGG53XZX.js → chunk-I3VXWMQW.js} +7 -7
- package/dist/chunk-IVRKWQTX.js +5061 -0
- package/dist/{chunk-4645UHJF.js → chunk-JF3RF6GS.js} +3 -2
- package/dist/{chunk-FGIMC5I4.js → chunk-JFFQWMNE.js} +5 -5
- package/dist/{chunk-EQ66MVWZ.js → chunk-JOZQFSOV.js} +1 -1
- package/dist/{chunk-STK62RL7.js → chunk-KBTXAUCZ.js} +1 -1
- package/dist/{chunk-X4SBDDLS.js → chunk-KSC4O2RY.js} +4 -0
- package/dist/{chunk-FHO3FXTW.js → chunk-KYXBPFI7.js} +8 -6
- package/dist/{chunk-5766TK7Q.js → chunk-LAGZGKKN.js} +1 -1
- package/dist/{chunk-CLA4XSBO.js → chunk-LGZP4IR2.js} +3 -3
- package/dist/{chunk-TLXK5A2N.js → chunk-MKL6JGDL.js} +35 -30
- package/dist/{chunk-IHYWP4V5.js → chunk-MO6DJMZP.js} +1 -1
- package/dist/{chunk-2GS2RUVI.js → chunk-MU66MHZB.js} +2 -2
- package/dist/{chunk-Z7QHOT65.js → chunk-MYHAS5U2.js} +13 -17
- package/dist/{chunk-6CGYINE7.js → chunk-NOH32H42.js} +25 -0
- package/dist/{chunk-S3ZWVEGQ.js → chunk-NWYJZAPP.js} +1 -1
- package/dist/{chunk-2WELGDXU.js → chunk-OFJTXNRS.js} +5 -5
- package/dist/{chunk-TWCICOCI.js → chunk-OPLEWQHF.js} +1 -1
- package/dist/{chunk-BVHNFPRF.js → chunk-OWU2BURB.js} +2 -2
- package/dist/{chunk-HWHPYCBZ.js → chunk-PNE2Y42T.js} +1 -1
- package/dist/{chunk-VVDHSRKD.js → chunk-PPMLF76Z.js} +1 -1
- package/dist/chunk-PXVQOMKL.js +39 -0
- package/dist/{chunk-AJ3QW6RX.js → chunk-Q3OKLJ34.js} +3 -3
- package/dist/chunk-QBXDU24O.js +20 -0
- package/dist/{chunk-L34IH4SH.js → chunk-QETCWXRM.js} +5 -5
- package/dist/{chunk-H3I2VLLL.js → chunk-QGMRSNG5.js} +8 -4
- package/dist/{chunk-ZE57TSS6.js → chunk-QRIC4WOO.js} +1 -1
- package/dist/{chunk-FJ646TIT.js → chunk-R4EWRIDL.js} +161 -21
- package/dist/{chunk-53VXGZ3L.js → chunk-RH5Y75UX.js} +2 -2
- package/dist/{chunk-ZTCILR3V.js → chunk-RIGQABEL.js} +1 -1
- package/dist/{chunk-ZSRNM6LP.js → chunk-RKS7GO4O.js} +1 -1
- package/dist/{chunk-7I5N36JA.js → chunk-RN7RQBW3.js} +2 -2
- package/dist/{chunk-N3MOQTRS.js → chunk-ROUK3OL2.js} +8 -8
- package/dist/{chunk-BE6XXZAR.js → chunk-RXQU3QM4.js} +11 -11
- package/dist/{chunk-XNY2KI2Z.js → chunk-SBBYMUWY.js} +1 -1
- package/dist/{chunk-7J6LQ3SQ.js → chunk-SGTEKMJW.js} +19 -4
- package/dist/{chunk-GNSNCIHF.js → chunk-SPFTXNKQ.js} +20 -15
- package/dist/{chunk-46HYDDZ5.js → chunk-TBEU55KU.js} +1 -1
- package/dist/{chunk-76T7KAYD.js → chunk-TQSKEMSL.js} +48 -9
- package/dist/{chunk-O63A26XQ.js → chunk-U54ZBLTF.js} +2 -2
- package/dist/{chunk-Q55JNFDV.js → chunk-UGQFQDSV.js} +1 -1
- package/dist/{chunk-D3Q2TABU.js → chunk-UIETUYFT.js} +1 -1
- package/dist/{chunk-4BXPCS5B.js → chunk-UJEEURID.js} +15 -15
- package/dist/{chunk-DKEZSH6M.js → chunk-URUUGFZD.js} +3 -3
- package/dist/{chunk-LTQXIYNL.js → chunk-USQTLRSD.js} +3 -3
- package/dist/{chunk-7TWX4Y7I.js → chunk-UVXIJYZY.js} +3 -15
- package/dist/{chunk-NP4G4WPP.js → chunk-VDFY4FE5.js} +12 -11
- package/dist/{chunk-KL2UJXCY.js → chunk-VPA5YKEY.js} +2 -2
- package/dist/{chunk-CTZJSMGU.js → chunk-VZBJ5BQF.js} +1 -1
- package/dist/{chunk-KVFOQ3EM.js → chunk-VZENYSX7.js} +103 -13
- package/dist/{chunk-DW35FX4I.js → chunk-X5EOH44V.js} +1 -1
- package/dist/{chunk-CCLBOLYU.js → chunk-YBNF5ZOC.js} +1 -1
- package/dist/{chunk-TDNPJHEQ.js → chunk-YT4DR2UT.js} +7 -7
- package/dist/{chunk-LALMFSLB.js → chunk-Z4W7ND2L.js} +7 -7
- package/dist/{chunk-Z65ZQYBW.js → chunk-ZRK7ZEWI.js} +3 -3
- package/dist/{clean-XBQ54UZX.js → clean-WPLBDRSW.js} +23 -22
- package/dist/cli.js +61 -59
- package/dist/{cloud-E2GUGXXL.js → cloud-VMSG2SJB.js} +4 -4
- package/dist/{cloudrun-IAPFT66T.js → cloudrun-AXB4G6X2.js} +5 -5
- package/dist/commands/layout-audit.browser.js +37 -0
- package/dist/{compare-2VPIOCLV.js → compare-NVW3E74E.js} +36 -33
- package/dist/{compiler-3ED6KJYN.js → compiler-GHX7QLHL.js} +4 -4
- package/dist/{component-IH2KSDNM.js → component-ZQAP7CBI.js} +3 -3
- package/dist/{compositions-MIMF2GM3.js → compositions-FKHNCB6H.js} +17 -14
- package/dist/{delete-5H5EYSYK.js → delete-XYC7FN6A.js} +8 -6
- package/dist/{deploy-DMQT34K2.js → deploy-DOJS666X.js} +2 -2
- package/dist/{dist-ANQ2CIIO.js → dist-3Q2DNDSR.js} +17 -3
- package/dist/{dist-OKQM7BQ3.js → dist-KXFW5H5Q.js} +2 -2
- package/dist/{doctor-MTRZJQZZ.js → doctor-7CUFMW3Y.js} +16 -15
- package/dist/{events-2GNMM2YS.js → events-K7HUJ4DO.js} +9 -6
- package/dist/{events-TBKM6B5H.js → events-KGXVDZV7.js} +9 -6
- package/dist/{feedback-6NNSKXQP.js → feedback-F7WLYJGJ.js} +17 -14
- package/dist/{ffmpeg-622QCJLB.js → ffmpeg-ZFHN4YZ2.js} +9 -8
- package/dist/{figma-TFHZ3N5A.js → figma-7QKRKT5Q.js} +3 -3
- package/dist/fontLocalizeCli.js +13 -12
- package/dist/{get-P6RA7MAU.js → get-XKPYG6IC.js} +8 -6
- package/dist/{gpuPolicy-CK2XDEAM.js → gpuPolicy-A74BROG6.js} +9 -8
- package/dist/{grade-compare-LK6U7OJD.js → grade-compare-7SR62TE5.js} +37 -34
- package/dist/hangReport.js +1 -1
- package/dist/{heifImagePrep-3OXKQUEZ.js → heifImagePrep-XTCBHE3B.js} +10 -9
- package/dist/{help-YENCFXYK.js → help-B7CXC4J5.js} +3 -3
- package/dist/{history-V3E4UCMY.js → history-3INEHHZ4.js} +12 -9
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +71 -71
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-ZGKQMX3Z.js → info-J3U63EFT.js} +14 -11
- package/dist/{init-D6PJI2TA.js → init-2IEXXRG2.js} +35 -32
- package/dist/{inspect-UCHLILOX.js → inspect-IRJABR66.js} +37 -34
- package/dist/{installer-CV2OKJFW.js → installer-6JLQM6OJ.js} +5 -5
- package/dist/{keyframes-2IJTDJ7K.js → keyframes-G2TSKZRL.js} +12 -9
- package/dist/{lambda-GKZBKWTK.js → lambda-QFFFCFK3.js} +13 -12
- package/dist/{layout-KKPRCTME.js → layout-INRUYIDJ.js} +37 -34
- package/dist/{lint-NAC6M4NT.js → lint-BHPBD7Z3.js} +15 -12
- package/dist/{lintProject-MSATZIK7.js → lintProject-SZIPPOJR.js} +2 -2
- package/dist/{list-QRMXOTNB.js → list-BGL5PH6J.js} +8 -6
- package/dist/{localPage-KMXALM7A.js → localPage-MLFDX4Y6.js} +9 -8
- package/dist/{login-GBN5ZMEA.js → login-ABDL65L6.js} +19 -18
- package/dist/{logout-C6P6ERZ3.js → logout-CXGSSQ4Q.js} +6 -4
- package/dist/{manager-GPDDRQIW.js → manager-DEKPCPWH.js} +11 -10
- package/dist/{manager-IZIK7BHN.js → manager-LXWVBDLM.js} +3 -3
- package/dist/{media-treatment-4Q7G27JJ.js → media-treatment-BQDTCBIT.js} +31 -19
- package/dist/{models-7KJF4LYJ.js → models-SJIA5QDV.js} +13 -12
- package/dist/{motionShot-DQAX2QTZ.js → motionShot-46J3W5UJ.js} +19 -18
- package/dist/{normalize-audio-K7VCJQYJ.js → normalize-audio-UXAJSQKI.js} +16 -13
- package/dist/{open-ZSBVR3KC.js → open-DHRYP3N3.js} +18 -15
- package/dist/{parakeetRunner-XXZHJYKO.js → parakeetRunner-WKMM4TYU.js} +15 -14
- package/dist/{pipeline-KNLOS5CL.js → pipeline-EIVKRUX2.js} +13 -12
- package/dist/{play-GQWF7MU5.js → play-J5A7KHNF.js} +27 -24
- package/dist/{preflight-UMKQ5C5W.js → preflight-GKIQIXFQ.js} +12 -11
- package/dist/{present-X7BPH35M.js → present-ZDXILGQJ.js} +23 -20
- package/dist/{preview-5Q7HPEOF.js → preview-A2MLHZFF.js} +25 -22
- package/dist/{producer-IXOPGETH.js → producer-NYWYRG4X.js} +1 -1
- package/dist/{projectConfig-YGI5AINR.js → projectConfig-DY6FHC7A.js} +7 -7
- package/dist/{publication-ZSDCS2ST.js → publication-N4WHPZOW.js} +3 -3
- package/dist/{publish-S2IIRPFZ.js → publish-26W6VDND.js} +17 -15
- package/dist/{refresh-IYRGLHG5.js → refresh-VJ4FQVH2.js} +3 -2
- package/dist/{remove-background-F2WFDCNM.js → remove-background-JYUB75RB.js} +14 -13
- package/dist/{render-CHRSSQNM.js → render-AQH2VMHO.js} +125 -72
- package/dist/{render-NVHUPEDG.js → render-JZWO3VX3.js} +25 -22
- package/dist/{render-WYBQO4SR.js → render-YPI6CDRS.js} +6 -6
- package/dist/{render-batch-SDGA2643.js → render-batch-GR2Y3F2S.js} +6 -6
- package/dist/renderSetupWorker.js +6 -6
- package/dist/{resolver-3W2OPVGC.js → resolver-LTLSX6DR.js} +5 -5
- package/dist/{screenshotCapture-HDRHY4NN.js → screenshotCapture-U3IYWTDB.js} +1 -1
- package/dist/{sherpa-HCPAOYGA.js → sherpa-2DJ33LQP.js} +14 -13
- package/dist/sherpaWorker.js +1 -1
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +1 -1
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +9 -0
- package/dist/skills/hyperframes-cli/references/preview-render.md +2 -2
- package/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +2 -2
- package/dist/skills/media-use/references/meta.md +6 -5
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +49 -15
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +19 -5
- package/dist/{skills-KOVM4OP5.js → skills-OF7XMPKX.js} +11 -8
- package/dist/{skillsUpdateCheck-ISMQFMPY.js → skillsUpdateCheck-E3HPT4PS.js} +5 -4
- package/dist/{snapshot-K7LVZDHG.js → snapshot-6F5XK22M.js} +60 -40
- package/dist/{src-QEFKMRH7.js → src-JUJFZ6GC.js} +12 -7
- package/dist/{src-FUMXFZYG.js → src-UNN3TXHH.js} +11 -10
- package/dist/{staticProjectServer-MF57NBIU.js → staticProjectServer-DLSH7DHS.js} +21 -20
- package/dist/{status-SLILCDBZ.js → status-TJFZFDGS.js} +5 -4
- package/dist/studio/assets/{hyperframes-player-Bb6n05RB.js → hyperframes-player-D38lr2hR.js} +3 -3
- package/dist/studio/assets/{index-pq574E5O.js → index-C-DCQ7nQ.js} +121 -121
- package/dist/studio/assets/{index-DOtf09XR.js → index-CJ28BLvq.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Y4S3W7XE.js → studio-api-5YATSN7H.js} +11 -11
- package/dist/{studioServer-5LUZQOQV.js → studioServer-O3FSLOUF.js} +58 -55
- package/dist/{synthesize-FQML2LN2.js → synthesize-IKSZPKFJ.js} +2 -2
- package/dist/{system-MVRF5UM2.js → system-FDPS57FU.js} +2 -2
- package/dist/{telemetry-NTO4FJFN.js → telemetry-CY7V7FIN.js} +6 -5
- package/dist/{telemetry-TJMB5BTF.js → telemetry-MMCJ2ORL.js} +9 -6
- package/dist/{timeline-CU6CIWYL.js → timeline-ZBJTZK6E.js} +26 -23
- package/dist/{tokens-7P4N2FWN.js → tokens-JFYRYRDK.js} +2 -2
- package/dist/{transcribe-TFDEQFMG.js → transcribe-QUMMQM34.js} +13 -12
- package/dist/{transcribe-FZ7JK6QS.js → transcribe-UVQQ3OMR.js} +23 -20
- package/dist/{tts-K5HRN6NQ.js → tts-MQNOBHLH.js} +3 -3
- package/dist/{updateCheck-HUDVZHVM.js → updateCheck-VMMBGLTI.js} +4 -3
- package/dist/{upgrade-KP4RQZKY.js → upgrade-4VYNPIFQ.js} +4 -3
- package/dist/{urlDownloader-5SHSHWMB.js → urlDownloader-EAPV3CZL.js} +8 -7
- package/dist/{validate-VWX423M4.js → validate-JJG6Q6IH.js} +31 -28
- package/dist/{video-K4L2YFU2.js → video-7MJZ7IYL.js} +10 -9
- package/dist/warmCheck.js +47 -44
- package/dist/warmCheckClient.js +1 -1
- package/package.json +2 -1
- package/dist/chunk-N3ZAIZF3.js +0 -4870
|
@@ -4,9 +4,15 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
heygenUserId
|
|
9
|
+
} from "./chunk-PXVQOMKL.js";
|
|
7
10
|
import {
|
|
8
11
|
diag
|
|
9
12
|
} from "./chunk-EQGKUPBJ.js";
|
|
13
|
+
import {
|
|
14
|
+
credentialPath
|
|
15
|
+
} from "./chunk-4WEWHZZO.js";
|
|
10
16
|
import {
|
|
11
17
|
getInvocationId
|
|
12
18
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -23,10 +29,10 @@ import {
|
|
|
23
29
|
} from "./chunk-FXMKHHPO.js";
|
|
24
30
|
import {
|
|
25
31
|
getSystemMeta
|
|
26
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-LAGZGKKN.js";
|
|
27
33
|
import {
|
|
28
34
|
hostAnswers
|
|
29
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-BR2JQQC5.js";
|
|
30
36
|
import {
|
|
31
37
|
POSTHOG_API_KEY,
|
|
32
38
|
getIdentityPersistence,
|
|
@@ -37,7 +43,7 @@ import {
|
|
|
37
43
|
} from "./chunk-ZCHULPJZ.js";
|
|
38
44
|
import {
|
|
39
45
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-VPA5YKEY.js";
|
|
41
47
|
|
|
42
48
|
// src/telemetry/transport.ts
|
|
43
49
|
import { spawn } from "child_process";
|
|
@@ -155,8 +161,8 @@ function resolveCanary(name) {
|
|
|
155
161
|
decisions.clear();
|
|
156
162
|
decisionsTelemetryPosture = posture;
|
|
157
163
|
}
|
|
158
|
-
const
|
|
159
|
-
if (
|
|
164
|
+
const cached2 = decisions.get(name);
|
|
165
|
+
if (cached2) return cached2;
|
|
160
166
|
const decision = decideCanary(name);
|
|
161
167
|
decisions.set(name, decision);
|
|
162
168
|
return decision;
|
|
@@ -186,6 +192,35 @@ function canaryEventProperties() {
|
|
|
186
192
|
);
|
|
187
193
|
}
|
|
188
194
|
|
|
195
|
+
// src/telemetry/signedInUser.ts
|
|
196
|
+
import { closeSync, fstatSync, openSync, readFileSync } from "fs";
|
|
197
|
+
var cached;
|
|
198
|
+
function usernameOf(parsed) {
|
|
199
|
+
if (!parsed || typeof parsed !== "object") return void 0;
|
|
200
|
+
const { user, api_key, oauth } = parsed;
|
|
201
|
+
if (!api_key && !oauth) return void 0;
|
|
202
|
+
if (!user || typeof user !== "object") return void 0;
|
|
203
|
+
const name = user.username;
|
|
204
|
+
return typeof name === "string" && name.trim() ? name : void 0;
|
|
205
|
+
}
|
|
206
|
+
function signedInHeygenUsername() {
|
|
207
|
+
const path = credentialPath();
|
|
208
|
+
let fd;
|
|
209
|
+
try {
|
|
210
|
+
fd = openSync(path, "r");
|
|
211
|
+
const { mtimeMs } = fstatSync(fd);
|
|
212
|
+
if (cached?.path === path && cached.mtimeMs === mtimeMs) return cached.username;
|
|
213
|
+
const username = usernameOf(JSON.parse(readFileSync(fd, "utf8")));
|
|
214
|
+
cached = { path, mtimeMs, username };
|
|
215
|
+
return username;
|
|
216
|
+
} catch {
|
|
217
|
+
cached = void 0;
|
|
218
|
+
return void 0;
|
|
219
|
+
} finally {
|
|
220
|
+
if (fd !== void 0) closeSync(fd);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
189
224
|
// src/telemetry/client.ts
|
|
190
225
|
var telemetryEnabled = null;
|
|
191
226
|
function shouldTrack() {
|
|
@@ -204,6 +239,7 @@ function resetTelemetryPostureCache() {
|
|
|
204
239
|
function trackEvent(event, properties = {}, distinctId) {
|
|
205
240
|
if (!shouldTrack()) return;
|
|
206
241
|
const sys = getSystemMeta();
|
|
242
|
+
const heygenUsername = signedInHeygenUsername();
|
|
207
243
|
enqueue(
|
|
208
244
|
event,
|
|
209
245
|
{
|
|
@@ -259,9 +295,10 @@ function trackEvent(event, properties = {}, distinctId) {
|
|
|
259
295
|
// never pay for it. See telemetry/canary.ts.
|
|
260
296
|
...canaryEventProperties(),
|
|
261
297
|
agent_env_hints: sys.agent_env_hints ?? void 0,
|
|
262
|
-
client: sys.client ?? void 0
|
|
298
|
+
client: sys.client ?? void 0,
|
|
299
|
+
heygen_username: heygenUsername
|
|
263
300
|
},
|
|
264
|
-
distinctId
|
|
301
|
+
distinctId ?? (heygenUsername ? heygenUserId(heygenUsername) : void 0)
|
|
265
302
|
);
|
|
266
303
|
}
|
|
267
304
|
function showTelemetryNotice() {
|
|
@@ -271,10 +308,12 @@ function showTelemetryNotice() {
|
|
|
271
308
|
config.telemetryNoticeShown = true;
|
|
272
309
|
writeConfig(config);
|
|
273
310
|
diag.notice();
|
|
274
|
-
diag.notice(
|
|
311
|
+
diag.notice(
|
|
312
|
+
` ${c.dim("Hyperframes collects usage data to improve the tool, anonymous until you sign in.")}`
|
|
313
|
+
);
|
|
275
314
|
diag.notice(` ${c.dim("File paths and composition content are never collected.")}`);
|
|
276
315
|
diag.notice(
|
|
277
|
-
` ${c.dim("If you sign in to HeyGen, your account (email
|
|
316
|
+
` ${c.dim("If you sign in to HeyGen, your account (email and username) is linked to your usage.")}`
|
|
278
317
|
);
|
|
279
318
|
diag.notice();
|
|
280
319
|
diag.notice(` ${c.dim("Disable anytime:")} ${c.accent("hyperframes telemetry disable")}`);
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
hostAnswers
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BR2JQQC5.js";
|
|
10
10
|
import {
|
|
11
11
|
readConfig,
|
|
12
12
|
readConfigFresh,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-J3RXEDR2.js";
|
|
25
25
|
import {
|
|
26
26
|
VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VPA5YKEY.js";
|
|
28
28
|
|
|
29
29
|
// src/utils/updateCheck.ts
|
|
30
30
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -6,23 +6,23 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveProject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RIGQABEL.js";
|
|
10
10
|
import {
|
|
11
11
|
installPageFunctionGuard,
|
|
12
12
|
resolveCliChromeGpuMode,
|
|
13
13
|
seekCompositionTimeline,
|
|
14
14
|
waitForRuntimeReady
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VDFY4FE5.js";
|
|
16
16
|
import {
|
|
17
17
|
pageNavigationTimeoutMs
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2JV6FKNZ.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveCompositionViewportFromHtml
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GTKUQUZ6.js";
|
|
22
22
|
import {
|
|
23
23
|
launchManagedBrowser,
|
|
24
24
|
resolveManagedGpuMode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OWU2BURB.js";
|
|
26
26
|
import {
|
|
27
27
|
defineCommand
|
|
28
28
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -31,14 +31,14 @@ import {
|
|
|
31
31
|
} from "./chunk-2GICKZ3I.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveNaturalMediaTimelineDuration
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IVRKWQTX.js";
|
|
35
35
|
import {
|
|
36
36
|
decodeWellFormedEscapes
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-KSC4O2RY.js";
|
|
38
38
|
import {
|
|
39
39
|
printDeprecationNotice,
|
|
40
40
|
withMeta
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-U54ZBLTF.js";
|
|
42
42
|
import {
|
|
43
43
|
failureMessage,
|
|
44
44
|
jsonFailure
|
|
@@ -252,7 +252,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
252
252
|
async function localizeRemoteAssets(html) {
|
|
253
253
|
let dir;
|
|
254
254
|
try {
|
|
255
|
-
const { loadProducer } = await import("./producer-
|
|
255
|
+
const { loadProducer } = await import("./producer-NYWYRG4X.js");
|
|
256
256
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
257
257
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
258
258
|
const assetDir = dir;
|
|
@@ -273,10 +273,10 @@ async function localizeRemoteAssets(html) {
|
|
|
273
273
|
}
|
|
274
274
|
async function validateInBrowser(project, opts) {
|
|
275
275
|
const projectDir = project.dir;
|
|
276
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
277
|
-
const { ensureBrowser } = await import("./manager-
|
|
278
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
279
|
-
const { lintProject } = await import("./lintProject-
|
|
276
|
+
const { bundleToSingleHtml } = await import("./compiler-GHX7QLHL.js");
|
|
277
|
+
const { ensureBrowser } = await import("./manager-LXWVBDLM.js");
|
|
278
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-DLSH7DHS.js");
|
|
279
|
+
const { lintProject } = await import("./lintProject-SZIPPOJR.js");
|
|
280
280
|
const lintResult = await lintProject(projectDir);
|
|
281
281
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
282
282
|
const html = await bundleToSingleHtml(projectDir);
|
|
@@ -297,9 +297,9 @@ async function validateInBrowser(project, opts) {
|
|
|
297
297
|
try {
|
|
298
298
|
const browser = await ensureBrowser();
|
|
299
299
|
const puppeteer = await import("puppeteer-core");
|
|
300
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
300
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-JUJFZ6GC.js");
|
|
301
301
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
302
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-
|
|
302
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu, resolveLocalWebGpu } = await import("./gpuPolicy-A74BROG6.js");
|
|
303
303
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
304
304
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
305
305
|
const { gpuConfig, softwareWebGpu } = resolveLocalWebGpu(resolvedGpuMode, requiresWebGpu);
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeAudioTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MO6DJMZP.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveWithinProject
|
|
12
12
|
} from "./chunk-ALVXFXUG.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
MAX_AUDIO_GAIN_DB,
|
|
15
15
|
formatAudioGain,
|
|
16
16
|
isAudibleVideoElement
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-IVRKWQTX.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-VAS6HQX3.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
decodeWellFormedEscapes,
|
|
23
23
|
decodedUrlPath,
|
|
24
24
|
readMediaOffsetSeconds
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KSC4O2RY.js";
|
|
26
26
|
import {
|
|
27
27
|
decodeAuthoredAttribute
|
|
28
28
|
} from "./chunk-NHA4NRBE.js";
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PNE2Y42T.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-DYHAZFK3.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
22
22
|
import {
|
|
23
23
|
isCompositionVariable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KSC4O2RY.js";
|
|
25
25
|
|
|
26
26
|
// src/registry/installer.ts
|
|
27
27
|
import { createHash } from "crypto";
|
|
@@ -4,6 +4,9 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
credentialPath
|
|
9
|
+
} from "./chunk-4WEWHZZO.js";
|
|
7
10
|
import {
|
|
8
11
|
c
|
|
9
12
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -14,19 +17,6 @@ import {
|
|
|
14
17
|
normalizeErrorMessage
|
|
15
18
|
} from "./chunk-E63BDV4Z.js";
|
|
16
19
|
|
|
17
|
-
// src/auth/paths.ts
|
|
18
|
-
import { homedir } from "os";
|
|
19
|
-
import { join } from "path";
|
|
20
|
-
var CREDENTIAL_FILENAME = "credentials";
|
|
21
|
-
function configDir() {
|
|
22
|
-
const override = process.env["HEYGEN_CONFIG_DIR"];
|
|
23
|
-
if (override && override.length > 0) return override;
|
|
24
|
-
return join(homedir(), ".heygen");
|
|
25
|
-
}
|
|
26
|
-
function credentialPath() {
|
|
27
|
-
return join(configDir(), CREDENTIAL_FILENAME);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
20
|
// src/auth/errors.ts
|
|
31
21
|
var AuthError = class extends Error {
|
|
32
22
|
code;
|
|
@@ -1201,8 +1191,6 @@ async function safeText2(res) {
|
|
|
1201
1191
|
}
|
|
1202
1192
|
|
|
1203
1193
|
export {
|
|
1204
|
-
configDir,
|
|
1205
|
-
credentialPath,
|
|
1206
1194
|
isAuthError,
|
|
1207
1195
|
readStore,
|
|
1208
1196
|
writeStore,
|
|
@@ -6,23 +6,23 @@ 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-SGTEKMJW.js";
|
|
10
10
|
import {
|
|
11
11
|
pageNavigationTimeoutMs,
|
|
12
12
|
windowsChromeCrashRemediation
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2JV6FKNZ.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveCompositionViewportFromHtml
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GTKUQUZ6.js";
|
|
17
17
|
import {
|
|
18
18
|
launchManagedBrowser,
|
|
19
19
|
resolveManagedGpuMode,
|
|
20
20
|
rethrowAfterBrowserCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-OWU2BURB.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveLocalBrowserGpuMode,
|
|
24
24
|
resolveLocalWebGpu
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EJTVBW42.js";
|
|
26
26
|
import {
|
|
27
27
|
c
|
|
28
28
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
assertWebGpuAdapterAvailable,
|
|
31
31
|
compositionRequiresWebGpu,
|
|
32
32
|
oneProcessOverPipe
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VZENYSX7.js";
|
|
34
34
|
import {
|
|
35
35
|
normalizeErrorMessage
|
|
36
36
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -138,7 +138,7 @@ async function waitForCompositionSettle(page, options) {
|
|
|
138
138
|
console.warn(` ${c.warn("\u26A0")} Shader transitions did not finish pre-rendering`);
|
|
139
139
|
});
|
|
140
140
|
await waitForLateSubresources(page, options.lateSubresourceTimeoutMs ?? CAPTURE_SETTLE_MS);
|
|
141
|
-
const { resolveConfig, waitForImagesReady } = await import("./src-
|
|
141
|
+
const { resolveConfig, waitForImagesReady } = await import("./src-JUJFZ6GC.js");
|
|
142
142
|
const imageTimeoutMs = resolveConfig().playerReadyTimeout;
|
|
143
143
|
await waitForImagesReady(
|
|
144
144
|
page,
|
|
@@ -187,7 +187,7 @@ async function installPageFunctionGuard(page) {
|
|
|
187
187
|
async function openSettledCompositionPage(html, url, options) {
|
|
188
188
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
189
189
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
190
|
-
const answer = (await import("./staticProjectServer-
|
|
190
|
+
const answer = (await import("./staticProjectServer-DLSH7DHS.js")).inProcessAnswer(url);
|
|
191
191
|
const noListen = answer !== void 0;
|
|
192
192
|
let chromeBrowser;
|
|
193
193
|
try {
|
|
@@ -198,9 +198,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
198
198
|
options.onBrowserReady?.();
|
|
199
199
|
const page = await chromeBrowser.newPage();
|
|
200
200
|
await installPageFunctionGuard(page);
|
|
201
|
-
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-
|
|
201
|
+
const { installMediaRenderIdBridge, forcePreservedDrawingBuffer } = await import("./src-JUJFZ6GC.js");
|
|
202
202
|
await installMediaRenderIdBridge(page);
|
|
203
203
|
await page.evaluateOnNewDocument(forcePreservedDrawingBuffer);
|
|
204
|
+
await page.evaluateOnNewDocument("window.__HF_REPLAY_SKIPPED_FRAMES = true");
|
|
204
205
|
await page.setViewport(viewport);
|
|
205
206
|
if (answer) await answerPageInProcess(page, url, answer);
|
|
206
207
|
await options.beforeNavigate?.(page);
|
|
@@ -215,10 +216,10 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
215
216
|
}
|
|
216
217
|
async function launchCompositionBrowser(html, noListen, options) {
|
|
217
218
|
const viewport = resolveCompositionViewportFromHtml(html);
|
|
218
|
-
const { ensureBrowser, findSystemBrowser } = await import("./manager-
|
|
219
|
+
const { ensureBrowser, findSystemBrowser } = await import("./manager-LXWVBDLM.js");
|
|
219
220
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
220
221
|
const puppeteer = await import("puppeteer-core");
|
|
221
|
-
const { buildChromeArgs } = await import("./src-
|
|
222
|
+
const { buildChromeArgs } = await import("./src-JUJFZ6GC.js");
|
|
222
223
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
223
224
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
224
225
|
let softwareWebGpu = false;
|
|
@@ -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.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.216" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.216" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
readMediaOffsetSeconds
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KSC4O2RY.js";
|
|
10
10
|
|
|
11
11
|
// ../core/dist/mediaLink.js
|
|
12
12
|
var MEDIA_LINK_ATTR = "data-link";
|