hyperframes 0.9.5 → 0.9.6
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-XI5CW2YO.js → add-FI2ERBMZ.js} +11 -11
- package/dist/{agentPromptGenerator-EEP7CJRK.js → agentPromptGenerator-DZTXHJV3.js} +5 -5
- package/dist/{animatedGifPrep-3VKPC32B.js → animatedGifPrep-GXQA4KCD.js} +5 -5
- package/dist/api.d.ts +2 -0
- package/dist/api.js +19 -19
- package/dist/{asset-RYVHIREA.js → asset-BRSG6JNL.js} +2 -2
- package/dist/{assetCataloger-MG3GSWNQ.js → assetCataloger-KVWF4SRK.js} +6 -6
- package/dist/{audio-CNKU2KQR.js → audio-BVZOX6LU.js} +502 -143
- package/dist/{auth-MX2SGZQH.js → auth-HFFN7USX.js} +2 -2
- package/dist/{autoUpdate-MB3SWOXG.js → autoUpdate-JNGMUXLZ.js} +2 -2
- package/dist/{backgroundChecks-TYCDOGQX.js → backgroundChecks-O4ADPXOL.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-PHXZBVEA.js → batchRender-A2HW6QW7.js} +3 -3
- package/dist/{beats-5SXSGNUM.js → beats-F7Q3G6VW.js} +7 -7
- package/dist/{benchmark-V5Y5OQ3W.js → benchmark-4BDMIYTW.js} +8 -8
- package/dist/{billing-FFWAEIQ6.js → billing-35NVMZWK.js} +1 -1
- package/dist/{browser-CJ2HDBEC.js → browser-S6ADXSB7.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-2FPP3MMD.js → bundleWithLocalizedFonts-EE27EYEU.js} +2 -2
- package/dist/{capture-424KH55L.js → capture-CXDJO524.js} +18 -18
- package/dist/{capture-KE3474CJ.js → capture-LWWBL6SH.js} +3 -3
- package/dist/{captureCompositionFrame-ZPZCQTYL.js → captureCompositionFrame-BB2ZGM6R.js} +10 -10
- package/dist/{catalog-3S4LAGZH.js → catalog-RQ6HIUBG.js} +11 -11
- package/dist/{catch-up-7ZLNBOG4.js → catch-up-PBAXR7FI.js} +4 -4
- package/dist/{check-6OCBPXX5.js → check-O4V4UWE3.js} +35 -35
- package/dist/{checkAudio-O5RDEOEX.js → checkAudio-EUT3AO3L.js} +8 -8
- package/dist/{checkBrowser-DJPH634D.js → checkBrowser-QQUBR4QI.js} +29 -29
- package/dist/{chunk-GC2GKCRQ.js → chunk-27AVZR7K.js} +17 -17
- package/dist/{chunk-JZJ3LLIO.js → chunk-2FNUCIHD.js} +1 -1
- package/dist/{chunk-ARNCWQNR.js → chunk-2KO357TJ.js} +1 -1
- package/dist/chunk-2KYY75JP.js +134 -0
- package/dist/{chunk-KLJEGC6M.js → chunk-3SB24TVT.js} +1 -1
- package/dist/{chunk-BXE6GDIL.js → chunk-44T2V4EW.js} +1 -1
- package/dist/{chunk-MX7NW3QW.js → chunk-47IBOMXH.js} +3 -3
- package/dist/{chunk-JDT5PZWS.js → chunk-4E7G2GME.js} +1 -1
- package/dist/{chunk-CRDXU4IX.js → chunk-4III3SDC.js} +9 -9
- package/dist/{chunk-CS6UO5NC.js → chunk-4VOK22DG.js} +1 -1
- package/dist/{chunk-TI4JPSFS.js → chunk-5BCFV2HE.js} +3 -3
- package/dist/{chunk-5T2D2XYR.js → chunk-6GZB32Q5.js} +1 -1
- package/dist/{chunk-HWIGWPIG.js → chunk-6JMNJYYR.js} +1 -1
- package/dist/{chunk-HDKRDALC.js → chunk-6UOHLXVU.js} +2 -2
- package/dist/{chunk-MGXQXY4C.js → chunk-7DKGU6CY.js} +2 -2
- package/dist/{chunk-WAQX3AYB.js → chunk-AB3ZXWI3.js} +1 -1
- package/dist/{chunk-5TBRPDH3.js → chunk-APVBITVZ.js} +55 -16
- package/dist/{chunk-XXFWK5Y7.js → chunk-BIJBGCF4.js} +1 -1
- package/dist/{chunk-ALBHEVJJ.js → chunk-BMRZP6X6.js} +1 -1
- package/dist/{chunk-YGSQABOD.js → chunk-BQQTZET2.js} +2 -2
- package/dist/{chunk-VPVO5COM.js → chunk-BUDP4GF4.js} +1 -1
- package/dist/{chunk-QIFINY2N.js → chunk-C47ZGVKT.js} +7 -7
- package/dist/{chunk-ZFQ4N6D2.js → chunk-CUAZHDVV.js} +3 -3
- package/dist/{chunk-TWIPYH4G.js → chunk-DETBSOYO.js} +1 -1
- package/dist/{chunk-C555UZ5B.js → chunk-DUSSDJJC.js} +2 -2
- package/dist/{chunk-NRO2PLEC.js → chunk-E2VWKW2A.js} +2 -2
- package/dist/{chunk-IWMVCOUX.js → chunk-FB366S4I.js} +5 -5
- package/dist/{chunk-6447ORC2.js → chunk-FDZXVTBY.js} +1 -1
- package/dist/{chunk-JAYAOI3W.js → chunk-FIIFME5M.js} +1 -1
- package/dist/{chunk-JX5GUEFA.js → chunk-FM7VWSN3.js} +1 -1
- package/dist/{chunk-MYTROPEC.js → chunk-FP37FSOT.js} +2 -2
- package/dist/{chunk-64OUBJSX.js → chunk-G4VDT5D7.js} +1 -1
- package/dist/{chunk-EG2ESF6S.js → chunk-GKVERDJ2.js} +1 -1
- package/dist/{chunk-CGXL36FR.js → chunk-GP7OHHXR.js} +1 -1
- package/dist/{chunk-KW2ZREKY.js → chunk-GR3LU4D5.js} +1 -1
- package/dist/{chunk-6PLIPRVQ.js → chunk-GYPSZFRF.js} +2 -2
- package/dist/{chunk-7FERR4YN.js → chunk-HTTGTROQ.js} +1 -1
- package/dist/{chunk-PMQ65BTY.js → chunk-I2OMLFBJ.js} +1 -1
- package/dist/{chunk-7XCGHD55.js → chunk-I47SIQGX.js} +4 -4
- package/dist/{chunk-PYOEIKGI.js → chunk-IG3GSBHB.js} +2 -2
- package/dist/{chunk-46DXV7OQ.js → chunk-IVFZG3CU.js} +2 -2
- package/dist/{chunk-HZMM3D6P.js → chunk-JFIBO4CZ.js} +1 -1
- package/dist/{chunk-2RLI5ISA.js → chunk-JLKEXS4I.js} +2 -2
- package/dist/{chunk-SXKFFBN3.js → chunk-JLLNDU2F.js} +84 -8
- package/dist/{chunk-JAJ6PAR6.js → chunk-KAWNVSAE.js} +7 -7
- package/dist/{chunk-5FAU3XAO.js → chunk-KJDQS24S.js} +2 -2
- package/dist/{chunk-SBPDYU34.js → chunk-KJLZZ4MY.js} +1 -1
- package/dist/{chunk-MCROAQ7A.js → chunk-KXAGCBVO.js} +8 -8
- package/dist/{chunk-HMMHCSSN.js → chunk-L6MNWJTL.js} +1 -1
- package/dist/{chunk-HZDSKYTV.js → chunk-LS4CCRTK.js} +1 -1
- package/dist/{chunk-Y6TDJUHR.js → chunk-M4WEGGF7.js} +2 -2
- package/dist/{chunk-UL3SKAZB.js → chunk-ODKXNWDL.js} +2 -2
- package/dist/{chunk-6U4EV64B.js → chunk-P5GOQDA2.js} +8 -8
- package/dist/{chunk-MBOZUQFZ.js → chunk-PWYAOU4I.js} +1 -1
- package/dist/{chunk-RTUQDHKE.js → chunk-QDB7EFLI.js} +94 -10
- package/dist/{chunk-YK6ERJTN.js → chunk-RYNMIBZM.js} +2 -2
- package/dist/{chunk-YPBGUVLY.js → chunk-SAWXMCHB.js} +1 -1
- package/dist/{chunk-NUGADGXQ.js → chunk-SWWDVPVO.js} +1 -1
- package/dist/{chunk-RW4DTMPK.js → chunk-T57ARBNR.js} +7 -7
- package/dist/{chunk-44IJ426Z.js → chunk-TIXW6JWD.js} +1 -1
- package/dist/chunk-TNWWLO4T.js +5030 -0
- package/dist/{chunk-M56MEMPF.js → chunk-TS4HYR6I.js} +1 -1
- package/dist/{chunk-FEC4UQK2.js → chunk-VFOCEFRZ.js} +5 -5
- package/dist/{chunk-K4SINZFP.js → chunk-VG4JPJMI.js} +2 -2
- package/dist/{chunk-MNW4FTAJ.js → chunk-VWRIARRR.js} +12 -12
- package/dist/{chunk-T46SP3UD.js → chunk-W3G7DNCR.js} +2 -2
- package/dist/{chunk-WAK6IPMP.js → chunk-WCET3OHQ.js} +4 -4
- package/dist/{chunk-5FFHLOVF.js → chunk-XC3LDNBH.js} +1 -1
- package/dist/{chunk-JD7MLLJD.js → chunk-YDG5LVIK.js} +4 -4
- package/dist/{chunk-NVPB37H4.js → chunk-YFISKULK.js} +2 -2
- package/dist/{chunk-S5SVW6ZY.js → chunk-YIWNZ2CI.js} +13 -13
- package/dist/{chunk-WTUIK6Y4.js → chunk-YOZPHSYV.js} +2 -0
- package/dist/{chunk-DRXVRDUX.js → chunk-YUMVQB2F.js} +1 -1
- package/dist/{chunk-RUZ63CJF.js → chunk-YVUOJW4H.js} +1 -1
- package/dist/{chunk-4W2ZN4HT.js → chunk-YY7YI2FW.js} +1 -1
- package/dist/{chunk-3B3LGZ36.js → chunk-ZP3LPFTA.js} +9 -9
- package/dist/{chunk-Q2LWMJAQ.js → chunk-ZR2GMFNH.js} +2 -2
- package/dist/{chunk-H7KAHDJJ.js → chunk-ZV5GD5LV.js} +3 -3
- package/dist/{clean-ZKPZ4HHG.js → clean-2AFJGFIG.js} +15 -15
- package/dist/cli.js +58 -57
- package/dist/{cloud-GQZYBRBI.js → cloud-JM5MFMVV.js} +4 -4
- package/dist/{cloudrun-TWSNNKIV.js → cloudrun-PNVETMPA.js} +4 -4
- package/dist/{compare-3IXL3WVG.js → compare-ST4DXEMX.js} +26 -26
- package/dist/{compiler-SKQTN3EA.js → compiler-UCX3MZVN.js} +2 -2
- package/dist/{component-RV72K74J.js → component-ECFJIDUD.js} +3 -3
- package/dist/{compositions-W2IKF36U.js → compositions-ZCAD47PD.js} +9 -9
- package/dist/{curve-TRCKVHYB.js → curve-NYXZWGPO.js} +9 -9
- package/dist/{cuts-SRXTGX33.js → cuts-CKUCNNOX.js} +10 -10
- package/dist/{delete-7PZLZFBE.js → delete-MVGSOWSC.js} +2 -2
- package/dist/{deploy-GORJQIPX.js → deploy-WBKPSWPG.js} +4 -4
- package/dist/{describeProject-ZIFVZUSV.js → describeProject-ZDI5B6JO.js} +6 -6
- package/dist/{diff-PHRMVJMC.js → diff-3UYDXIEZ.js} +21 -21
- package/dist/{dist-4KKPG6A5.js → dist-XRAW3URT.js} +2 -2
- package/dist/{doctor-C6Q2FECX.js → doctor-A4HMMBII.js} +9 -9
- package/dist/{energy-CNXVSSE6.js → energy-RN6KTYH6.js} +10 -10
- package/dist/{events-FSUH46NR.js → events-6NE2NRCQ.js} +12 -12
- package/dist/{events-27C4TXPP.js → events-AO3FEPL3.js} +3 -3
- package/dist/{events-UG3LC2PB.js → events-LSEMS2LO.js} +2 -2
- package/dist/{extract-GLPADLLV.js → extract-6UO4QR77.js} +10 -10
- package/dist/{face-TTOHRJEY.js → face-FTKPGC2O.js} +10 -10
- package/dist/{feedback-BYONPSSM.js → feedback-GSKVBGA7.js} +6 -6
- package/dist/{ffmpeg-WAM27CD6.js → ffmpeg-HPMQUKY4.js} +5 -5
- package/dist/{figma-Y4UR2EDE.js → figma-UIWB3XSX.js} +3 -3
- package/dist/fontLocalizeCli.js +8 -8
- package/dist/{frames-CNQUJEUV.js → frames-U3LLSXSV.js} +11 -11
- package/dist/{generate-BPYDIEPB.js → generate-AFCKBHGB.js} +13 -13
- package/dist/{get-4LY5VJW2.js → get-J3TJCAZW.js} +2 -2
- package/dist/{gpuPolicy-OUHJ7GVX.js → gpuPolicy-W2OEEW7Y.js} +5 -5
- package/dist/{grade-compare-WEZBE3WM.js → grade-compare-AOXNJ53Z.js} +27 -27
- package/dist/{heifImagePrep-7L4HH33F.js → heifImagePrep-4RSVCLPX.js} +6 -6
- package/dist/{help-QKNWJOBV.js → help-5NYIBLJJ.js} +2 -1
- package/dist/{history-XQEWP2IW.js → history-KAXYCLVT.js} +6 -6
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +64 -64
- package/dist/hyperframes-player.global.js +90 -3
- package/dist/{info-AMRQ5R4N.js → info-Z6KNUMH6.js} +7 -7
- package/dist/{init-4VTMKZSQ.js → init-GSMXQX3U.js} +30 -27
- package/dist/{ink-KB3LZMJY.js → ink-IPPBJFH3.js} +10 -10
- package/dist/{inspect-ZWN2DVO4.js → inspect-MXIGEN6Z.js} +27 -27
- package/dist/{installer-2NUMLKHQ.js → installer-JXI2JC3T.js} +4 -4
- package/dist/{keyframes-I456RFGP.js → keyframes-Z53YGH5F.js} +6 -6
- package/dist/{lambda-2QKB4BJM.js → lambda-KD7ZRYVK.js} +9 -9
- package/dist/{layout-WPHWXQCM.js → layout-NLDWEPDQ.js} +27 -27
- package/dist/{lint-EO5DXJ36.js → lint-MSZMGQO5.js} +6 -6
- package/dist/{list-LZOUUJBY.js → list-OLNBKKB4.js} +2 -2
- package/dist/{localPage-SZWQWWJ7.js → localPage-BQ2LKHED.js} +5 -5
- package/dist/{login-IEWPNTGD.js → login-TBJVG5PZ.js} +4 -4
- package/dist/{look-6L3CPY4H.js → look-T5V6JBD5.js} +10 -10
- package/dist/{manager-C7677YAV.js → manager-FHVSGJNR.js} +6 -6
- package/dist/{measure-TINTS6YY.js → measure-KI3XY2MJ.js} +11 -11
- package/dist/{media-treatment-3BDHM4P6.js → media-treatment-UZI55RS3.js} +11 -11
- package/dist/{media-use-JC2B2JSE.js → media-use-2PIPVWX4.js} +1 -1
- package/dist/{models-JMM25YO6.js → models-MV4HBZKZ.js} +9 -9
- package/dist/{motionShot-4WB3SH6V.js → motionShot-A3TWOBRE.js} +13 -13
- package/dist/{normalize-audio-2ZJKR5G3.js → normalize-audio-37WYHLP4.js} +8 -8
- package/dist/{open-LMYSLYH2.js → open-4PPPV45S.js} +11 -11
- package/dist/{parakeetRunner-HTQVLX2B.js → parakeetRunner-J22MMWSM.js} +10 -10
- package/dist/{pipeline-FMVCPIRU.js → pipeline-GE4LBTRO.js} +8 -8
- package/dist/{play-GFHBG3NZ.js → play-MZSW7GIL.js} +18 -18
- package/dist/{preflight-L5GC6ASI.js → preflight-NXMN7P4B.js} +6 -6
- package/dist/{present-PW3RWNWF.js → present-TWZLASXI.js} +14 -14
- package/dist/{preview-IRLHPLSD.js → preview-OEXP2RPO.js} +16 -16
- package/dist/probe-HNAD6ACH.js +69 -0
- package/dist/{producer-M6IWCFMK.js → producer-E4AN4ADM.js} +1 -1
- package/dist/{projectConfig-IVJE7A42.js → projectConfig-HKWVTV5Q.js} +10 -6
- package/dist/{publication-BS2YATIF.js → publication-DTIE7G2E.js} +2 -2
- package/dist/{publish-OTRA2JWM.js → publish-CUU5W6CP.js} +8 -8
- package/dist/{remove-background-UV37Y7T7.js → remove-background-2MRQ3YH4.js} +9 -9
- package/dist/{render-XSDVVBEY.js → render-EEIQAOGV.js} +34 -15
- package/dist/{render-3FANM5MO.js → render-JP6JUXWP.js} +5 -5
- package/dist/{render-7VBLI4AZ.js → render-QRWGJUCD.js} +30 -30
- package/dist/{render-batch-DPWJHKFY.js → render-batch-46SYPMYV.js} +5 -5
- package/dist/{resolver-VQ32ZH6Y.js → resolver-DPRCISSD.js} +4 -4
- package/dist/reverse-MY6DSOXL.js +32 -0
- package/dist/{run-MTGSR5HH.js → run-2VGZ3URU.js} +1 -1
- package/dist/{sherpa-BSIBIIIO.js → sherpa-5LOEXZ46.js} +9 -9
- package/dist/{skills-S7JNBPZZ.js → skills-BBHR4SHX.js} +5 -5
- package/dist/{skillsUpdateCheck-WFEV6VYU.js → skillsUpdateCheck-HBOVCIXG.js} +3 -3
- package/dist/{snapshot-NCWXYS2E.js → snapshot-S264O54Z.js} +31 -31
- package/dist/{src-AYBT7IBT.js → src-G2EK32ZO.js} +7 -7
- package/dist/{src-7WW3KXOI.js → src-GLO4X3WA.js} +12 -4
- package/dist/start-6AFMEXPO.js +226 -0
- package/dist/{staticProjectServer-VYZV4BSU.js → staticProjectServer-KWSV5IRS.js} +16 -16
- package/dist/{status-Z5BPMROD.js → status-5ZRM4R4N.js} +1 -1
- package/dist/studio/assets/hyperframes-player-CGO8wE5a.js +565 -0
- package/dist/studio/assets/{index-BohL7wdo.js → index-COtefOSM.js} +1 -1
- package/dist/studio/assets/{index-CTbhykVD.js → index-DHPJjAUV.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-OTNMLH4B.js → studio-api-JJO6VEFD.js} +8 -8
- package/dist/{studioServer-AA4B3YP7.js → studioServer-YFZIESIH.js} +45 -45
- package/dist/{sync-3M7VO3UJ.js → sync-DBMNZ32Z.js} +10 -10
- package/dist/{telemetry-VJ3A6ZMD.js → telemetry-OPZTKPDG.js} +3 -3
- package/dist/{timeline-ZLZ45W7F.js → timeline-MCJUCDME.js} +16 -16
- package/dist/{tokens-WXEJNNJV.js → tokens-3DREMPWC.js} +2 -2
- package/dist/{transcribe-PPH5H67E.js → transcribe-AU7TPKMU.js} +8 -8
- package/dist/{transcribe-XMVXOBHM.js → transcribe-TMGPK6FM.js} +17 -17
- package/dist/{updateCheck-HDLNWLIC.js → updateCheck-YKTRFFFV.js} +2 -2
- package/dist/{upgrade-6UXVTJII.js → upgrade-UAKM3KAT.js} +2 -2
- package/dist/{urlDownloader-DPN2KRCX.js → urlDownloader-77YL7TXO.js} +4 -4
- package/dist/{validate-BZOURM4G.js → validate-SR35R3QM.js} +21 -21
- package/dist/{video-BE42DAT2.js → video-GNMQTE4D.js} +6 -6
- package/dist/warmCheck.js +35 -35
- package/package.json +1 -1
- package/dist/chunk-2YQ2XYO5.js +0 -5030
- package/dist/probe-FPHFC3SD.js +0 -179
- package/dist/studio/assets/hyperframes-player-Cum4k6V2.js +0 -478
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-HVW7ABXD.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_REGISTRY_URL
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SWWDVPVO.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/projectConfig.ts
|
|
18
|
-
import { readFileSync, writeFileSync } from "fs";
|
|
18
|
+
import { mkdirSync, readFileSync, writeFileSync } from "fs";
|
|
19
19
|
import { join, resolve } from "path";
|
|
20
20
|
var PROJECT_CONFIG_FILENAME = "hyperframes.json";
|
|
21
21
|
var PROJECT_CONFIG_SCHEMA_URL = "https://hyperframes.heygen.com/schema/hyperframes.json";
|
|
@@ -72,9 +72,14 @@ function normalizeConfig(partial) {
|
|
|
72
72
|
// Whitelist rebuild - an omission here silently drops the manifest on
|
|
73
73
|
// every config round-trip, which would read as "this project never
|
|
74
74
|
// installed a catalog item".
|
|
75
|
-
registryItems: normalizeRegistryItems(partial.registryItems)
|
|
75
|
+
registryItems: normalizeRegistryItems(partial.registryItems),
|
|
76
|
+
reverseSessionId: normalizeReverseSessionId(partial.reverseSessionId)
|
|
76
77
|
};
|
|
77
78
|
}
|
|
79
|
+
var REVERSE_SESSION_ID = /^rvs_[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
|
|
80
|
+
function normalizeReverseSessionId(raw) {
|
|
81
|
+
return typeof raw === "string" && REVERSE_SESSION_ID.test(raw) ? raw : void 0;
|
|
82
|
+
}
|
|
78
83
|
function normalizeRegistryItems(raw) {
|
|
79
84
|
if (!Array.isArray(raw)) return void 0;
|
|
80
85
|
const items = raw.filter(
|
|
@@ -101,6 +106,14 @@ function resolveAutoProxy(projectDir, flagValue) {
|
|
|
101
106
|
function isJsonObject(value) {
|
|
102
107
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
103
108
|
}
|
|
109
|
+
function rewriteConfig(path, text, parsed) {
|
|
110
|
+
const indent = /\n([ \t]+)"/.exec(text)?.[1] ?? " ";
|
|
111
|
+
writeFileSync(
|
|
112
|
+
path,
|
|
113
|
+
(text.startsWith("\uFEFF") ? "\uFEFF" : "") + JSON.stringify(parsed, null, indent) + "\n",
|
|
114
|
+
"utf-8"
|
|
115
|
+
);
|
|
116
|
+
}
|
|
104
117
|
function isFileNotFound(error) {
|
|
105
118
|
return typeof error === "object" && error !== null && "code" in error && error.code === "ENOENT";
|
|
106
119
|
}
|
|
@@ -125,12 +138,7 @@ function seedProjectAuthoringSkill(projectDir, rawSkill) {
|
|
|
125
138
|
if (!isJsonObject(parsed)) return;
|
|
126
139
|
if (normalizeSkillSlug(parsed.authoringSkill)) return;
|
|
127
140
|
parsed.authoringSkill = skill;
|
|
128
|
-
|
|
129
|
-
writeFileSync(
|
|
130
|
-
path,
|
|
131
|
-
(text.startsWith("\uFEFF") ? "\uFEFF" : "") + JSON.stringify(parsed, null, indent) + "\n",
|
|
132
|
-
"utf-8"
|
|
133
|
-
);
|
|
141
|
+
rewriteConfig(path, text, parsed);
|
|
134
142
|
} catch {
|
|
135
143
|
}
|
|
136
144
|
}
|
|
@@ -156,13 +164,42 @@ function recordProjectRegistryItems(projectDir, items) {
|
|
|
156
164
|
});
|
|
157
165
|
if (unchanged) return;
|
|
158
166
|
parsed.registryItems = merged;
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
167
|
+
rewriteConfig(path, text, parsed);
|
|
168
|
+
} catch {
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
function recordProjectReverseSession(projectDir, sessionId, authoringSkill) {
|
|
172
|
+
if (!normalizeReverseSessionId(sessionId)) return void 0;
|
|
173
|
+
const path = projectConfigPath(projectDir);
|
|
174
|
+
let text;
|
|
175
|
+
try {
|
|
176
|
+
text = readFileSync(path, "utf-8");
|
|
177
|
+
} catch (error) {
|
|
178
|
+
if (!isFileNotFound(error)) return void 0;
|
|
179
|
+
try {
|
|
180
|
+
mkdirSync(resolve(projectDir), { recursive: true });
|
|
181
|
+
createProjectConfig(projectDir, {
|
|
182
|
+
...DEFAULT_PROJECT_CONFIG,
|
|
183
|
+
authoringSkill: normalizeSkillSlug(authoringSkill),
|
|
184
|
+
reverseSessionId: sessionId
|
|
185
|
+
});
|
|
186
|
+
return path;
|
|
187
|
+
} catch {
|
|
188
|
+
return void 0;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
try {
|
|
192
|
+
const parsed = JSON.parse(text.replace(/^\uFEFF/, ""));
|
|
193
|
+
if (!isJsonObject(parsed)) return void 0;
|
|
194
|
+
parsed.reverseSessionId = sessionId;
|
|
195
|
+
if (!normalizeSkillSlug(parsed.authoringSkill)) {
|
|
196
|
+
const skill = normalizeSkillSlug(authoringSkill);
|
|
197
|
+
if (skill) parsed.authoringSkill = skill;
|
|
198
|
+
}
|
|
199
|
+
rewriteConfig(path, text, parsed);
|
|
200
|
+
return path;
|
|
165
201
|
} catch {
|
|
202
|
+
return void 0;
|
|
166
203
|
}
|
|
167
204
|
}
|
|
168
205
|
|
|
@@ -173,10 +210,12 @@ export {
|
|
|
173
210
|
readProjectConfigWithStatus,
|
|
174
211
|
readProjectConfig,
|
|
175
212
|
normalizeConfig,
|
|
213
|
+
normalizeReverseSessionId,
|
|
176
214
|
writeProjectConfig,
|
|
177
215
|
createProjectConfig,
|
|
178
216
|
loadProjectConfig,
|
|
179
217
|
resolveAutoProxy,
|
|
180
218
|
seedProjectAuthoringSkill,
|
|
181
|
-
recordProjectRegistryItems
|
|
219
|
+
recordProjectRegistryItems,
|
|
220
|
+
recordProjectReverseSession
|
|
182
221
|
};
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QDB7EFLI.js";
|
|
12
12
|
import {
|
|
13
13
|
renameWithRetry
|
|
14
14
|
} from "./chunk-YWRUQ7XZ.js";
|
|
15
15
|
import {
|
|
16
16
|
parseAnimatedGifMetadata
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6JMNJYYR.js";
|
|
18
18
|
import {
|
|
19
19
|
parseHTML
|
|
20
20
|
} from "./chunk-GWTIFRF5.js";
|
|
@@ -7,32 +7,32 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SAWXMCHB.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_PROJECT_CONFIG,
|
|
13
13
|
createProjectConfig,
|
|
14
14
|
loadProjectConfig,
|
|
15
15
|
projectConfigPath,
|
|
16
16
|
recordProjectRegistryItems
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-APVBITVZ.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-3SB24TVT.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-IG3GSBHB.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SWWDVPVO.js";
|
|
30
30
|
import {
|
|
31
31
|
readJsonFlag
|
|
32
32
|
} from "./chunk-EHZESMRB.js";
|
|
33
33
|
import {
|
|
34
34
|
trackRegistryItemAdded
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-G4VDT5D7.js";
|
|
36
36
|
import {
|
|
37
37
|
defineCommand
|
|
38
38
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-2GICKZ3I.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-6JMNJYYR.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G4VDT5D7.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LS4CCRTK.js";
|
|
14
14
|
import {
|
|
15
15
|
c
|
|
16
16
|
} from "./chunk-2GICKZ3I.js";
|
|
@@ -84,7 +84,7 @@ async function getDoctorSummary() {
|
|
|
84
84
|
try {
|
|
85
85
|
const [{ getSystemMeta }, { findFFmpeg }] = await Promise.all([
|
|
86
86
|
import("./system-FDPS57FU.js"),
|
|
87
|
-
import("./ffmpeg-
|
|
87
|
+
import("./ffmpeg-HPMQUKY4.js")
|
|
88
88
|
]);
|
|
89
89
|
const sys = getSystemMeta();
|
|
90
90
|
const parts = [
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
shouldTrack
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LS4CCRTK.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FIIFME5M.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -229,7 +229,7 @@ var asset_default = defineCommand({
|
|
|
229
229
|
rendered > 0 ? `(${results.length} nodes, ${rendered} rendered in 1 figma request)` : `(${results.length} nodes, all reused from cache \u2014 no figma request)`
|
|
230
230
|
);
|
|
231
231
|
}
|
|
232
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
232
|
+
const { trackFigmaImport } = await import("./telemetry-OPZTKPDG.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -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-IVFZG3CU.js";
|
|
10
10
|
import {
|
|
11
11
|
explainChromeLaunchFailure,
|
|
12
12
|
inAgentSandbox,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
oneProcessOverPipe,
|
|
16
16
|
pipeLaunchClosedOnMac,
|
|
17
17
|
sandboxDeniedRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QDB7EFLI.js";
|
|
19
19
|
import {
|
|
20
20
|
processIsAlive
|
|
21
21
|
} from "./chunk-KGPLIH7B.js";
|
|
@@ -116,18 +116,18 @@ async function heygenHeaders() {
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
async function serviceAccess(env, path, defaultMs) {
|
|
119
|
-
const timeout = Number(process.env[env.timeout]);
|
|
119
|
+
const timeout = env ? Number(process.env[env.timeout]) : 0;
|
|
120
120
|
const timeoutMs = timeout > 0 ? timeout : defaultMs;
|
|
121
|
-
const url = process.env[env.url]?.trim();
|
|
122
|
-
const key = process.env[env.key]?.trim();
|
|
123
|
-
if (url === "") return `${env.url} is empty, which turns this service off`;
|
|
121
|
+
const url = env ? process.env[env.url]?.trim() : void 0;
|
|
122
|
+
const key = env ? process.env[env.key]?.trim() : void 0;
|
|
123
|
+
if (env && url === "") return `${env.url} is empty, which turns this service off`;
|
|
124
124
|
if (key)
|
|
125
125
|
return {
|
|
126
126
|
url: url || `${resolveCloudBaseUrl()}${path}`,
|
|
127
127
|
headers: { "x-api-key": key },
|
|
128
128
|
timeoutMs
|
|
129
129
|
};
|
|
130
|
-
if (url) return `${env.url} is set but ${env.key} is not`;
|
|
130
|
+
if (env && url) return `${env.url} is set but ${env.key} is not`;
|
|
131
131
|
const headers = await heygenHeaders();
|
|
132
132
|
if (typeof headers === "string") return headers;
|
|
133
133
|
return { url: `${resolveCloudBaseUrl()}${path}`, headers, timeoutMs };
|
|
@@ -1278,7 +1278,7 @@ async function withFigmaErrors(command, fn) {
|
|
|
1278
1278
|
} catch (err) {
|
|
1279
1279
|
if (err instanceof Error) {
|
|
1280
1280
|
try {
|
|
1281
|
-
const { trackCommandFailure } = await import("./events-
|
|
1281
|
+
const { trackCommandFailure } = await import("./events-AO3FEPL3.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -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-4VOK22DG.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-TNWWLO4T.js";
|
|
18
18
|
import {
|
|
19
19
|
findFfBinary
|
|
20
20
|
} from "./chunk-HYRPH6LL.js";
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-G4VDT5D7.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LS4CCRTK.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
findFFmpeg,
|
|
16
16
|
findFFprobe,
|
|
17
17
|
getFFmpegInstallHint
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-PWYAOU4I.js";
|
|
19
19
|
import {
|
|
20
20
|
registerBrowserSessionCleanup
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E2VWKW2A.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_VP9_CPU_USED,
|
|
24
24
|
SDR_RGB_TO_BT709_FILTER,
|
|
25
25
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
26
26
|
renderProvenanceArgs
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-QDB7EFLI.js";
|
|
28
28
|
import {
|
|
29
29
|
runCancellableProcess
|
|
30
30
|
} from "./chunk-X6JUUQCM.js";
|
|
@@ -432,7 +432,7 @@ async function decoderTransposesDimensions(inputPath) {
|
|
|
432
432
|
}
|
|
433
433
|
async function probeMedia(inputPath) {
|
|
434
434
|
const isImage = inferInputKind(inputPath) === "image";
|
|
435
|
-
const engine = await import("./src-
|
|
435
|
+
const engine = await import("./src-GLO4X3WA.js");
|
|
436
436
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
437
437
|
if (isImage) {
|
|
438
438
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SWWDVPVO.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-6JMNJYYR.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-QDB7EFLI.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-GLO4X3WA.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
ensureHfIds,
|
|
13
13
|
mintHfId,
|
|
14
14
|
walkCompositionDescendants
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JFIBO4CZ.js";
|
|
16
16
|
import {
|
|
17
17
|
isAllowedHtmlAttribute,
|
|
18
18
|
isSafeAttributeValue,
|
|
19
19
|
sanitizeRichTextChildren
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6JMNJYYR.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
23
|
} from "./chunk-NASVSJQK.js";
|