hyperframes 0.8.135 → 0.8.137
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-7E2GRDW5.js → add-RUYRFHHN.js} +14 -14
- package/dist/{animatedGifPrep-3AKQSXPU.js → animatedGifPrep-VMLA2P45.js} +5 -5
- package/dist/{asset-43SXDTJI.js → asset-DHOG5RFW.js} +2 -2
- package/dist/{assetCataloger-KBN5LNK4.js → assetCataloger-7XIMSAPT.js} +2 -2
- package/dist/{auth-BWQ4HPK7.js → auth-FUBCZVUH.js} +2 -2
- package/dist/{autoUpdate-JTHQKHG5.js → autoUpdate-LHVP2DWF.js} +2 -2
- package/dist/{backgroundChecks-H43RKGRE.js → backgroundChecks-JO3KP5QE.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-VFXGGGJG.js → batchRender-PBCQ3R2Y.js} +3 -3
- package/dist/{beats-HAOQC7GJ.js → beats-AF7C54FH.js} +11 -11
- package/dist/{benchmark-ANUXIEPD.js → benchmark-QST66S5G.js} +11 -11
- package/dist/{browser-HEICRDNT.js → browser-NBKY3N66.js} +8 -8
- package/dist/{bundleWithLocalizedFonts-5ATL25BF.js → bundleWithLocalizedFonts-ZYZHO7IV.js} +2 -2
- package/dist/{capture-UEJG6BUX.js → capture-6GM7SIH5.js} +2 -2
- package/dist/{capture-DYBK5LGE.js → capture-MGC5AO5D.js} +8 -8
- package/dist/{catalog-2F5L72ZT.js → catalog-IT2TP2YE.js} +15 -15
- package/dist/{check-WZ5QMBBF.js → check-HNTSVBUV.js} +30 -30
- package/dist/{checkBrowser-FXVVADP6.js → checkBrowser-XH446M7L.js} +29 -29
- package/dist/{chunk-KZ7B3XK7.js → chunk-2DQ356HE.js} +1 -1
- package/dist/{chunk-2EAXUCCE.js → chunk-2NCHQUPX.js} +1 -1
- package/dist/{chunk-Z3EFUXL5.js → chunk-4HWOEWMH.js} +3 -3
- package/dist/{chunk-XFKPUKL7.js → chunk-4LBBWEEH.js} +4 -4
- package/dist/{chunk-3NCZ2SCH.js → chunk-5ORPW6RH.js} +3 -3
- package/dist/{chunk-XE6S5CE6.js → chunk-6IEDWKFR.js} +1 -1
- package/dist/{chunk-LYJNFBD6.js → chunk-6XCIGLRQ.js} +43 -13
- package/dist/{chunk-I54AADBN.js → chunk-7LAWNKVY.js} +1 -1
- package/dist/{chunk-H4UIYRZZ.js → chunk-7MF7FTFV.js} +1 -1
- package/dist/{chunk-BWJ27MQP.js → chunk-ADXD2HP4.js} +1 -1
- package/dist/{chunk-PULS7UW7.js → chunk-BVOGEPHM.js} +2 -2
- package/dist/{chunk-XSWKLDVC.js → chunk-DKYXU4F4.js} +2 -2
- package/dist/{chunk-GN6GW6IP.js → chunk-DRYF6HV2.js} +9 -9
- package/dist/{chunk-T5LPCY6I.js → chunk-E2C5SLHT.js} +27 -41
- package/dist/{chunk-KZJPREW7.js → chunk-E6WZHX7J.js} +1 -1
- package/dist/{chunk-HNUHWAHR.js → chunk-FAID56IK.js} +1 -1
- package/dist/{chunk-N3DZEPNT.js → chunk-GR7YLWXS.js} +1 -1
- package/dist/{chunk-2BJCQN7K.js → chunk-GYVUR4XC.js} +1 -1
- package/dist/{chunk-PGFP4FLW.js → chunk-HUV6BP7O.js} +1 -1
- package/dist/{chunk-RVG35AL2.js → chunk-J4AOOISS.js} +1 -1
- package/dist/{chunk-WVRNPWVW.js → chunk-J6BHZVM3.js} +1 -1
- package/dist/{chunk-XZVPQYLU.js → chunk-JVJQL42J.js} +6 -6
- package/dist/{chunk-XZABUQTX.js → chunk-JYYOAKHS.js} +1 -1
- package/dist/{chunk-GK5W3SIJ.js → chunk-LSLJIVWV.js} +2 -2
- package/dist/{chunk-527WRFUQ.js → chunk-MBSFY6Y5.js} +1 -1
- package/dist/{chunk-37EDNWLQ.js → chunk-MOBLZWAK.js} +1 -1
- package/dist/{chunk-SMWYGLTD.js → chunk-N4Y4KZFV.js} +7 -7
- package/dist/{chunk-RTURM45Q.js → chunk-NSLSFVFN.js} +1 -1
- package/dist/{chunk-4AXZWUQ6.js → chunk-OEJQAXS3.js} +1 -1
- package/dist/{chunk-TKSAWNNI.js → chunk-OUKLD6D2.js} +2 -2
- package/dist/{chunk-SRXQEQWZ.js → chunk-P7GAS5DG.js} +1 -1
- package/dist/{chunk-OAF4XJOW.js → chunk-PXSM4HPB.js} +7 -2
- package/dist/{chunk-LO7L5PJ3.js → chunk-R2MFCLGW.js} +5 -5
- package/dist/{chunk-32QEFPDS.js → chunk-RQLZL5KC.js} +1 -1
- package/dist/{chunk-IQ3OUQ5Z.js → chunk-S3S2LSZX.js} +22 -2
- package/dist/{chunk-BHOKLX4F.js → chunk-SCCJUPPX.js} +1 -1
- package/dist/{chunk-VNC6YQOC.js → chunk-SMGQFCBC.js} +1 -1
- package/dist/{chunk-N3KRRPL7.js → chunk-TTBOUHWT.js} +2 -2
- package/dist/{chunk-LKCICE2T.js → chunk-VU7RRQNA.js} +9 -9
- package/dist/{chunk-BSU7EOWJ.js → chunk-VYGC4AJL.js} +1 -1
- package/dist/{chunk-X5HWXQPU.js → chunk-WCJGTLPF.js} +22 -10
- package/dist/{chunk-V26IB6L2.js → chunk-WFNNUWFN.js} +2 -2
- package/dist/{chunk-NDKVPWBH.js → chunk-WTGGSKAJ.js} +3 -3
- package/dist/{chunk-AV7FBRWP.js → chunk-WYX6L7AV.js} +2 -2
- package/dist/{chunk-Z3KAYWE5.js → chunk-X2GKNLHE.js} +3 -3
- package/dist/{chunk-5ALWCRBU.js → chunk-YDCEBBEL.js} +7 -7
- package/dist/{chunk-V2J2ZWPR.js → chunk-ZBAC7334.js} +2 -2
- package/dist/{chunk-OSSVNAI5.js → chunk-ZBKSKJ37.js} +1 -1
- package/dist/{clean-SZMPUNNQ.js → clean-OWDWVJBN.js} +14 -14
- package/dist/cli.js +52 -52
- package/dist/{cloud-L7RFQB5E.js → cloud-S3MPN5VF.js} +4 -4
- package/dist/{cloudrun-FA4XHPZS.js → cloudrun-TLB7DEIN.js} +3 -3
- package/dist/{compare-DN5GHUAZ.js → compare-YRR6E22F.js} +24 -24
- package/dist/{compiler-XZ654ZH2.js → compiler-ENHZ73DN.js} +2 -2
- package/dist/{component-RYYGPCCC.js → component-EIJRLMDN.js} +3 -3
- package/dist/{compositions-TF42YRGQ.js → compositions-5CBYWP55.js} +10 -10
- package/dist/{delete-KYGP772F.js → delete-3U5L6XFA.js} +2 -2
- package/dist/{dist-HVJAGLHF.js → dist-7Y5HTID7.js} +2 -2
- package/dist/{doctor-AWERBYTS.js → doctor-IZQZRMWC.js} +9 -9
- package/dist/{events-QMT3TXJ2.js → events-6BYBCUBA.js} +8 -8
- package/dist/{events-W4AILK4F.js → events-BYDKYSIJ.js} +7 -7
- package/dist/{feedback-KNKJFGOK.js → feedback-I4YN55BC.js} +9 -9
- package/dist/{figma-D76N4WD7.js → figma-A3FAM3JT.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-JHNZVDVT.js → get-PIFWLOAB.js} +2 -2
- package/dist/{gpuPolicy-ON3RMSWD.js → gpuPolicy-26BEFD3H.js} +5 -5
- package/dist/{grade-compare-22SRAVPO.js → grade-compare-H2OKE5QQ.js} +24 -24
- package/dist/{help-CKKLDL3G.js → help-AXK7X72W.js} +1 -1
- package/dist/{history-44SS2VJQ.js → history-KUS6IXSL.js} +14 -14
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-A2CXIT7G.js → info-DRASLTTJ.js} +10 -10
- package/dist/{init-6D2GNNON.js → init-3BZKVTW5.js} +49 -26
- package/dist/{inspect-QLYCCDHV.js → inspect-ROKMT5V7.js} +25 -25
- package/dist/{installer-DDJVY4TO.js → installer-ERYE2UVI.js} +4 -4
- package/dist/{keyframes-TBS3BUZ5.js → keyframes-PXGT4QQ5.js} +11 -11
- package/dist/{lambda-LPLYOEYY.js → lambda-EQAPNZDT.js} +4 -4
- package/dist/{layout-YLBD2653.js → layout-PMFNU7NB.js} +25 -25
- package/dist/{lint-6XERRN4E.js → lint-G26WF3YE.js} +11 -11
- package/dist/{list-DPVTICQX.js → list-WIPSPI6M.js} +2 -2
- package/dist/{login-FJJH3ZPU.js → login-3CPZGZKC.js} +4 -4
- package/dist/{manager-GFN75DM4.js → manager-524RPYO7.js} +2 -2
- package/dist/{manager-67P2XFXQ.js → manager-DXB7JDHU.js} +2 -2
- package/dist/{media-treatment-CQWZZRHR.js → media-treatment-MGAQ5DQJ.js} +11 -11
- package/dist/{models-54NL5PRB.js → models-QHS7P3NJ.js} +7 -7
- package/dist/{motionShot-BSI4U6X7.js → motionShot-OLA4DIP7.js} +11 -11
- package/dist/{normalize-audio-2QQBNTAW.js → normalize-audio-PAPIKX2Y.js} +10 -10
- package/dist/{open-YCWBIUNN.js → open-D5INI7M6.js} +9 -9
- package/dist/{pipeline-P7QRGI5H.js → pipeline-IWP6BVSS.js} +7 -7
- package/dist/{play-5OX76SR5.js → play-O2WTUH6O.js} +19 -19
- package/dist/{preflight-X3XFRJPQ.js → preflight-EUCDEHR5.js} +6 -6
- package/dist/{present-UFG6NPCO.js → present-YDJZIRYD.js} +15 -15
- package/dist/{preview-AGS4TAWM.js → preview-AS6S5EKV.js} +16 -16
- package/dist/{producer-KQNJKM7F.js → producer-S77FHAAG.js} +1 -1
- package/dist/{projectConfig-EAAQYRMP.js → projectConfig-6XCGW6KX.js} +6 -6
- package/dist/{publication-H3G346EX.js → publication-E46VH7XO.js} +2 -2
- package/dist/{publish-NEGKIS35.js → publish-GQXWU7NF.js} +7 -7
- package/dist/{remove-background-HU4S4HH5.js → remove-background-JPPYOSD2.js} +9 -9
- package/dist/{render-KEZFDRDA.js → render-HQJEYV6Q.js} +20 -20
- package/dist/{render-POQI3EKS.js → render-IPOSWART.js} +11 -11
- package/dist/{render-F3CNO2IE.js → render-XC3O77AK.js} +3 -3
- package/dist/{render-batch-63CBIJYR.js → render-batch-FX5TZDGW.js} +3 -3
- package/dist/{renderCancellation-FT3JJ7GB.js → renderCancellation-66SZW2VF.js} +5 -5
- package/dist/{resolver-YJJKOGQF.js → resolver-JU3VRG4K.js} +4 -4
- package/dist/{sherpa-3BQDMJPJ.js → sherpa-I5YSMJNV.js} +24 -10
- package/dist/sherpaWorker.js +1 -1
- package/dist/{skills-L7SZ45NC.js → skills-SLCG4D3C.js} +10 -10
- package/dist/{skillsUpdateCheck-HP3GJFBP.js → skillsUpdateCheck-KJBSMNG3.js} +3 -3
- package/dist/{snapshot-CYB2PZPW.js → snapshot-WOPONARS.js} +25 -25
- package/dist/{src-CUR36DBE.js → src-A7PS67DT.js} +4 -4
- package/dist/{src-ZPAJ44CP.js → src-EDXJKFXO.js} +6 -6
- package/dist/{staticProjectServer-U5DMWKWA.js → staticProjectServer-XUCQPVTF.js} +13 -13
- package/dist/{status-6CGT2PJT.js → status-Z23IJMWJ.js} +5 -5
- package/dist/studio/assets/{hyperframes-player-DFv9heE6.js → hyperframes-player-D_Mh6hbx.js} +1 -1
- package/dist/studio/assets/{index-N_4Ij4X6.js → index-B3lJsA-e.js} +108 -108
- package/dist/studio/assets/{index-syMK0_9C.css → index-CC_E-Cbl.css} +1 -1
- package/dist/studio/assets/{index-CTp4loy9.js → index-CHEctGzc.js} +1 -1
- package/dist/studio/assets/{index-Buy06mZy.js → index-rtccfg9b.js} +1 -1
- package/dist/studio/{chunk-QRLKWENQ.js → chunk-4S3AYCOG.js} +2 -2
- package/dist/studio/{chunk-NM7BXNZ7.js → chunk-LOVBLSMR.js} +10 -4
- package/dist/studio/chunk-LOVBLSMR.js.map +1 -0
- package/dist/studio/index.html +2 -2
- package/dist/studio/index.js +2831 -2822
- package/dist/studio/index.js.map +1 -1
- package/dist/studio/player.js +2 -2
- package/dist/studio/styles.css +1 -1
- package/dist/studio/ui.d.ts +2 -1
- package/dist/studio/ui.js +1 -1
- package/dist/{studio-api-KMBTUYG5.js → studio-api-SAZ65ULH.js} +9 -7
- package/dist/{studioServer-LOJ6IOWA.js → studioServer-525NV45Z.js} +37 -37
- package/dist/{synthesize-K62TIZWI.js → synthesize-4RPDY46T.js} +2 -2
- package/dist/{system-3BTZGJNK.js → system-SXBUUXBG.js} +5 -5
- package/dist/{telemetry-MCEZ5JYB.js → telemetry-MUWYEQ42.js} +8 -8
- package/dist/{timeline-XWH4I5CF.js → timeline-BUCFPNP6.js} +14 -14
- package/dist/{tokens-6UTTSLVN.js → tokens-OOJBPXYD.js} +2 -2
- package/dist/{transcribe-S3NI7SYU.js → transcribe-GCVTFFIF.js} +79 -23
- package/dist/{transcribe-HC35FL6W.js → transcribe-JAADNKL7.js} +8 -8
- package/dist/{tts-P3LIPIL5.js → tts-XGVL5UHX.js} +3 -3
- package/dist/{updateCheck-3YAKEXSX.js → updateCheck-AVUIJNVC.js} +2 -2
- package/dist/{upgrade-JQPBH5RY.js → upgrade-DV6IVILG.js} +2 -2
- package/dist/{urlDownloader-A5TT3AFE.js → urlDownloader-N7LDOVHK.js} +4 -4
- package/dist/{validate-BLUPV5H5.js → validate-22IQFLYH.js} +15 -15
- package/dist/{video-USXMJDEZ.js → video-22M7YBQT.js} +5 -5
- package/package.json +1 -1
- package/dist/studio/chunk-NM7BXNZ7.js.map +0 -1
- /package/dist/studio/{chunk-QRLKWENQ.js.map → chunk-4S3AYCOG.js.map} +0 -0
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WYX6L7AV.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-5ETJX6WM.js";
|
|
17
17
|
import {
|
|
18
18
|
runEnvironmentChecks
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ADXD2HP4.js";
|
|
20
20
|
import {
|
|
21
21
|
c
|
|
22
22
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -25,24 +25,24 @@ import {
|
|
|
25
25
|
getFreeDiskMb,
|
|
26
26
|
getShmSizeMb,
|
|
27
27
|
getSystemMeta
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OEJQAXS3.js";
|
|
29
29
|
import {
|
|
30
30
|
defineCommand
|
|
31
31
|
} from "./chunk-S3S4TGEH.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveExtractCacheDir
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-TTBOUHWT.js";
|
|
35
35
|
import {
|
|
36
36
|
getUpdateMeta,
|
|
37
37
|
withMeta
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-2DQ356HE.js";
|
|
39
39
|
import {
|
|
40
40
|
CONFIG_PATH,
|
|
41
41
|
withFileLock
|
|
42
42
|
} from "./chunk-XUXGIA7H.js";
|
|
43
43
|
import {
|
|
44
44
|
VERSION
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-WYX6L7AV.js";
|
|
46
46
|
import {
|
|
47
47
|
normalizeErrorMessage
|
|
48
48
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -232,7 +232,7 @@ function checkEnvironment() {
|
|
|
232
232
|
return { ok: true, detail: parts.join(" \xB7 ") };
|
|
233
233
|
}
|
|
234
234
|
async function checkWhisper() {
|
|
235
|
-
const { findWhisper, getInstallInstructions } = await import("./manager-
|
|
235
|
+
const { findWhisper, getInstallInstructions } = await import("./manager-DXB7JDHU.js");
|
|
236
236
|
const result = findWhisper();
|
|
237
237
|
if (result) {
|
|
238
238
|
return { ok: true, detail: result.executablePath };
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
isAllowedHtmlAttribute,
|
|
9
9
|
isSafeAttributeValue,
|
|
10
10
|
sanitizeRichTextChildren
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SCCJUPPX.js";
|
|
12
12
|
import {
|
|
13
13
|
removeElementWithGsapCascade
|
|
14
14
|
} from "./chunk-OZUQF4NB.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
ensureHfIds,
|
|
18
18
|
mintHfId,
|
|
19
19
|
walkCompositionDescendants
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HUV6BP7O.js";
|
|
21
21
|
import {
|
|
22
22
|
require_dist
|
|
23
23
|
} from "./chunk-VDQCNWQI.js";
|
|
@@ -7,29 +7,29 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
RegistryCompatibilityError,
|
|
9
9
|
gateRegistryItemsCompatibility
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-GR7YLWXS.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-SMGQFCBC.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-RQLZL5KC.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZBAC7334.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-NSLSFVFN.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-WTGGSKAJ.js";
|
|
33
33
|
import {
|
|
34
34
|
c
|
|
35
35
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-PBN6GBJE.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-SCCJUPPX.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WTGGSKAJ.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-X2GKNLHE.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -1782,7 +1782,7 @@ function parseHTMLContent(html) {
|
|
|
1782
1782
|
return parseHTML(`<!DOCTYPE html><html><head></head><body>${html}</body></html>`).document;
|
|
1783
1783
|
}
|
|
1784
1784
|
function lowerAscii(text) {
|
|
1785
|
-
return text.replace(/[A-Z]+/g, (letters) => letters.toLowerCase());
|
|
1785
|
+
return text.replace(/[A-Z][\s\S]{0,65535}/g, (chunk) => chunk.replace(/[A-Z]+/g, (letters) => letters.toLowerCase()));
|
|
1786
1786
|
}
|
|
1787
1787
|
function stripEmbeddedRuntimeScripts(html) {
|
|
1788
1788
|
if (!html)
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
downloadFile
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WCJGTLPF.js";
|
|
10
10
|
import {
|
|
11
11
|
findFFmpeg
|
|
12
12
|
} from "./chunk-TVCRUG2S.js";
|
|
@@ -144,6 +144,11 @@ function hasCmake() {
|
|
|
144
144
|
async function ensureWhisper(options) {
|
|
145
145
|
const existing = findWhisper();
|
|
146
146
|
if (existing) return existing;
|
|
147
|
+
if (options?.installRuntime === false) {
|
|
148
|
+
throw new WhisperUnavailableError(
|
|
149
|
+
"whisper-cpp not found; runtime installation is disabled by --no-runtime-install."
|
|
150
|
+
);
|
|
151
|
+
}
|
|
147
152
|
if (platform() === "darwin" && hasBrew()) {
|
|
148
153
|
options?.onProgress?.("Installing whisper-cpp via Homebrew...");
|
|
149
154
|
try {
|
|
@@ -169,7 +174,7 @@ async function ensureModel(model = DEFAULT_MODEL, options) {
|
|
|
169
174
|
if (existsSync(modelPath)) return modelPath;
|
|
170
175
|
mkdirSync(MODELS_DIR, { recursive: true });
|
|
171
176
|
options?.onProgress?.(`Downloading model ${model}...`);
|
|
172
|
-
await downloadFile(getModelUrl(model), modelPath);
|
|
177
|
+
await downloadFile(getModelUrl(model), modelPath, { onProgress: options?.onDownloadProgress });
|
|
173
178
|
if (!existsSync(modelPath)) {
|
|
174
179
|
throw new Error(`Model download failed: ${model}`);
|
|
175
180
|
}
|
|
@@ -10,21 +10,21 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
launchManagedBrowser,
|
|
12
12
|
resolveManagedGpuMode
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6IEDWKFR.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveDiagnosticNavigationTimeoutMs,
|
|
16
16
|
windowsChromeCrashRemediation
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-VYGC4AJL.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveLocalBrowserGpuMode
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-ZBKSKJ37.js";
|
|
21
21
|
import {
|
|
22
22
|
c
|
|
23
23
|
} from "./chunk-ZTZA4UWZ.js";
|
|
24
24
|
import {
|
|
25
25
|
assertWebGpuAdapterAvailable,
|
|
26
26
|
compositionRequiresWebGpu
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TTBOUHWT.js";
|
|
28
28
|
import {
|
|
29
29
|
normalizeErrorMessage
|
|
30
30
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -103,7 +103,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
103
103
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-CT3D67CG.js");
|
|
104
104
|
const browser = await ensureBrowser();
|
|
105
105
|
const puppeteer = await import("puppeteer-core");
|
|
106
|
-
const { buildChromeArgs } = await import("./src-
|
|
106
|
+
const { buildChromeArgs } = await import("./src-A7PS67DT.js");
|
|
107
107
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
108
108
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
109
109
|
const launch = async (executablePath) => {
|
|
@@ -178,13 +178,26 @@ function transcribeWithParakeet(inputPath, dir, options) {
|
|
|
178
178
|
try {
|
|
179
179
|
const argv = [inputPath, "--model", model, "--output-format", "json", "--output-dir", workDir];
|
|
180
180
|
if (options?.language) argv.push("--language", options.language);
|
|
181
|
+
options?.onEvent?.({
|
|
182
|
+
type: "progress",
|
|
183
|
+
phase: "transcription",
|
|
184
|
+
model: PARAKEET_MODEL_LABEL,
|
|
185
|
+
status: "started"
|
|
186
|
+
});
|
|
181
187
|
execFileSync(runner, argv, { stdio: ["ignore", "pipe", "pipe"], timeout: 18e5 });
|
|
182
188
|
const produced = join(workDir, `${basename(inputPath, extname(inputPath))}.json`);
|
|
183
189
|
if (!existsSync(produced)) throw new Error("Parakeet did not produce output.");
|
|
184
|
-
|
|
190
|
+
const result = writeParakeetTranscript(
|
|
185
191
|
dir,
|
|
186
192
|
mergeTokensToWords(JSON.parse(readFileSync(produced, "utf-8")))
|
|
187
193
|
);
|
|
194
|
+
options?.onEvent?.({
|
|
195
|
+
type: "progress",
|
|
196
|
+
phase: "transcription",
|
|
197
|
+
model: result.model,
|
|
198
|
+
status: "completed"
|
|
199
|
+
});
|
|
200
|
+
return result;
|
|
188
201
|
} finally {
|
|
189
202
|
rmSync(workDir, { recursive: true, force: true });
|
|
190
203
|
}
|
|
@@ -194,7 +207,14 @@ function writeParakeetTranscript(dir, words) {
|
|
|
194
207
|
const transcriptPath = join(dir, "transcript.json");
|
|
195
208
|
writeFileSync(transcriptPath, JSON.stringify(words, null, 2));
|
|
196
209
|
const durationSeconds = words.length > 0 ? words[words.length - 1].end : 0;
|
|
197
|
-
return {
|
|
210
|
+
return {
|
|
211
|
+
model: PARAKEET_MODEL_LABEL,
|
|
212
|
+
detectedLanguage: null,
|
|
213
|
+
transcriptPath,
|
|
214
|
+
wordCount: words.length,
|
|
215
|
+
durationSeconds,
|
|
216
|
+
speechOnsetSeconds: null
|
|
217
|
+
};
|
|
198
218
|
}
|
|
199
219
|
|
|
200
220
|
export {
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
renderFrameIdForRenderId,
|
|
23
23
|
resolveAuthoredTimingWindow,
|
|
24
24
|
toFps
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-SCCJUPPX.js";
|
|
26
26
|
import {
|
|
27
27
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
28
28
|
COLOR_GRADING_SOURCE_HIDDEN_ATTR,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
shiftRateLane,
|
|
54
54
|
sourceTimeAt,
|
|
55
55
|
timeAtSourceTime
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-P7GAS5DG.js";
|
|
57
57
|
import {
|
|
58
58
|
chromeMajorCeiling,
|
|
59
59
|
exceedsChromeCeiling
|
|
@@ -9,17 +9,17 @@ import {
|
|
|
9
9
|
resolveCliChromeGpuMode,
|
|
10
10
|
seekCompositionTimeline,
|
|
11
11
|
waitForRuntimeReady
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-R2MFCLGW.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-5Z63TBTX.js";
|
|
16
16
|
import {
|
|
17
17
|
launchManagedBrowser,
|
|
18
18
|
resolveManagedGpuMode
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6IEDWKFR.js";
|
|
20
20
|
import {
|
|
21
21
|
resolveProject
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-J6BHZVM3.js";
|
|
23
23
|
import {
|
|
24
24
|
c
|
|
25
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
printDeprecationNotice,
|
|
35
35
|
withMeta
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2DQ356HE.js";
|
|
37
37
|
import {
|
|
38
38
|
normalizeErrorMessage
|
|
39
39
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -222,7 +222,7 @@ function extractCompositionErrorsFromLint(lintResult) {
|
|
|
222
222
|
async function localizeRemoteAssets(html) {
|
|
223
223
|
let dir;
|
|
224
224
|
try {
|
|
225
|
-
const { loadProducer } = await import("./producer-
|
|
225
|
+
const { loadProducer } = await import("./producer-S77FHAAG.js");
|
|
226
226
|
const { localizeRemoteMediaSources, localizeRemoteImageSources, localizeRemoteFontFaces } = await loadProducer();
|
|
227
227
|
dir = mkdtempSync(join(tmpdir(), "hf-validate-assets-"));
|
|
228
228
|
const assetDir = dir;
|
|
@@ -243,9 +243,9 @@ async function localizeRemoteAssets(html) {
|
|
|
243
243
|
}
|
|
244
244
|
async function validateInBrowser(project, opts) {
|
|
245
245
|
const projectDir = project.dir;
|
|
246
|
-
const { bundleToSingleHtml } = await import("./compiler-
|
|
246
|
+
const { bundleToSingleHtml } = await import("./compiler-ENHZ73DN.js");
|
|
247
247
|
const { ensureBrowser } = await import("./manager-CT3D67CG.js");
|
|
248
|
-
const { serveStaticProjectHtml } = await import("./staticProjectServer-
|
|
248
|
+
const { serveStaticProjectHtml } = await import("./staticProjectServer-XUCQPVTF.js");
|
|
249
249
|
const { lintProject } = await import("./lintProject-EPVG2EFE.js");
|
|
250
250
|
const lintResult = await lintProject(projectDir);
|
|
251
251
|
const compositionErrors = extractCompositionErrorsFromLint(lintResult);
|
|
@@ -267,9 +267,9 @@ async function validateInBrowser(project, opts) {
|
|
|
267
267
|
try {
|
|
268
268
|
const browser = await ensureBrowser();
|
|
269
269
|
const puppeteer = await import("puppeteer-core");
|
|
270
|
-
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-
|
|
270
|
+
const { buildChromeArgs, analyzeClipMediaFit } = await import("./src-A7PS67DT.js");
|
|
271
271
|
const requestedGpuMode = resolveCliChromeGpuMode();
|
|
272
|
-
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-
|
|
272
|
+
const { assertWebGpuAdapterAvailable, compositionRequiresWebGpu } = await import("./gpuPolicy-26BEFD3H.js");
|
|
273
273
|
const resolvedGpuMode = await resolveManagedGpuMode(requestedGpuMode, browser.executablePath);
|
|
274
274
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
275
275
|
const chromeBrowser = await launchManagedBrowser(puppeteer.default, {
|
|
@@ -23,22 +23,32 @@ function removePartialFile(path) {
|
|
|
23
23
|
} catch {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
function measureDownload(options, contentLength) {
|
|
27
|
+
const length = Number(contentLength);
|
|
28
|
+
const totalBytes = Number.isSafeInteger(length) && length >= 0 ? length : null;
|
|
29
|
+
let receivedBytes = 0;
|
|
30
|
+
let reportedAt = Date.now();
|
|
31
|
+
options.onProgress?.(0, totalBytes);
|
|
32
|
+
const stream = new Transform({
|
|
29
33
|
transform(chunk, _encoding, callback) {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
receivedBytes += chunk.byteLength;
|
|
35
|
+
if (options.maxBytes !== void 0 && receivedBytes > options.maxBytes) {
|
|
36
|
+
callback(new Error(`Download exceeded ${options.maxBytes} bytes`));
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
const now = Date.now();
|
|
40
|
+
if (now - reportedAt >= 100) {
|
|
41
|
+
options.onProgress?.(receivedBytes, totalBytes);
|
|
42
|
+
reportedAt = now;
|
|
43
|
+
}
|
|
44
|
+
callback(null, chunk);
|
|
35
45
|
}
|
|
36
46
|
});
|
|
47
|
+
return { stream, complete: () => options.onProgress?.(receivedBytes, totalBytes) };
|
|
37
48
|
}
|
|
38
49
|
function downloadFile(url, dest, options = {}) {
|
|
39
50
|
const tmp = `${dest}.${process.pid}.${randomUUID()}.tmp`;
|
|
40
51
|
const timeoutMs = options.timeoutMs ?? DEFAULT_DOWNLOAD_TIMEOUT_MS;
|
|
41
|
-
const maxBytes = options.maxBytes;
|
|
42
52
|
return new Promise((resolve, reject) => {
|
|
43
53
|
const follow = (u, hops = 0) => {
|
|
44
54
|
let activeResponse;
|
|
@@ -75,11 +85,13 @@ function downloadFile(url, dest, options = {}) {
|
|
|
75
85
|
reject(new Error(`Download failed: HTTP ${res.statusCode}`));
|
|
76
86
|
return;
|
|
77
87
|
}
|
|
88
|
+
const meter = measureDownload(options, res.headers["content-length"]);
|
|
78
89
|
const file = createWriteStream(tmp);
|
|
79
90
|
responsePipelineStarted = true;
|
|
80
|
-
const transfer =
|
|
91
|
+
const transfer = pipeline(res, meter.stream, file);
|
|
81
92
|
transfer.then(() => {
|
|
82
93
|
renameSync(tmp, dest);
|
|
94
|
+
meter.complete();
|
|
83
95
|
resolve();
|
|
84
96
|
}).catch((err) => {
|
|
85
97
|
removePartialFile(tmp);
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-TTBOUHWT.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SCCJUPPX.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-GK4AIFIH.js";
|
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-X2GKNLHE.js";
|
|
12
12
|
import {
|
|
13
13
|
getPowerState
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OEJQAXS3.js";
|
|
15
15
|
import {
|
|
16
16
|
CliRuntimeError
|
|
17
17
|
} from "./chunk-PBN6GBJE.js";
|
|
18
18
|
import {
|
|
19
19
|
redactTelemetryString
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-SCCJUPPX.js";
|
|
21
21
|
import {
|
|
22
22
|
readConfig
|
|
23
23
|
} from "./chunk-XUXGIA7H.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.8.
|
|
10
|
-
var PRODUCER_VERSION = true ? "0.8.
|
|
9
|
+
var VERSION = true ? "0.8.137" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.137" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZTZA4UWZ.js";
|
|
13
13
|
import {
|
|
14
14
|
getSystemMeta
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OEJQAXS3.js";
|
|
16
16
|
import {
|
|
17
17
|
getInvocationId
|
|
18
18
|
} from "./chunk-54HJ63Q2.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
evaluateCanary,
|
|
24
24
|
findCanary,
|
|
25
25
|
parseCanaryOverride
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SCCJUPPX.js";
|
|
27
27
|
import {
|
|
28
28
|
hostAnswers
|
|
29
29
|
} from "./chunk-K4WIOZFP.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-XUXGIA7H.js";
|
|
38
38
|
import {
|
|
39
39
|
VERSION
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-WYX6L7AV.js";
|
|
41
41
|
|
|
42
42
|
// src/telemetry/transport.ts
|
|
43
43
|
import { spawn } from "child_process";
|