hyperframes 0.8.168 → 0.8.169
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-VCX3UE2B.js → add-7GLP4BPM.js} +11 -11
- package/dist/{animatedGifPrep-TWD5BNVK.js → animatedGifPrep-NEBEGVSO.js} +5 -5
- package/dist/api.js +11 -11
- package/dist/{asset-BBJ3GAL7.js → asset-RORTT5HS.js} +2 -2
- package/dist/{assetCataloger-S47GINRQ.js → assetCataloger-RLJ6MDGF.js} +5 -5
- package/dist/{audio-MEDCANA3.js → audio-OKDGU7TY.js} +11 -11
- package/dist/{auth-LZYMCNTB.js → auth-QWYNCU5U.js} +1 -1
- package/dist/{autoUpdate-AXTW2NKX.js → autoUpdate-EDJJPWAU.js} +2 -2
- package/dist/{backgroundChecks-3YDYYI3D.js → backgroundChecks-KQR6FGVU.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-UDE7TOKY.js → batchRender-YKTTAIHH.js} +3 -3
- package/dist/{beats-HHXMPMGT.js → beats-I6AGLTLW.js} +4 -4
- package/dist/{benchmark-2BY7PBAP.js → benchmark-NBSV7PNB.js} +8 -8
- package/dist/{browser-CXB4KTJP.js → browser-FPEL5FGW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-M7CRHOS7.js → bundleWithLocalizedFonts-TYQXMNSU.js} +2 -2
- package/dist/{capture-PRTE4Z7E.js → capture-5BRJJMZB.js} +2 -2
- package/dist/{capture-WHG37ZLF.js → capture-FXGOI23U.js} +9 -9
- package/dist/{catalog-WRM2373Z.js → catalog-SG3ZIS45.js} +11 -11
- package/dist/{catch-up-WHLD6E5F.js → catch-up-ETXUT6Q5.js} +4 -4
- package/dist/{check-R5E7WLKF.js → check-KXNNIEUR.js} +34 -33
- package/dist/{checkBrowser-Y4CZVGIV.js → checkBrowser-546UMI3N.js} +29 -29
- package/dist/{chunk-EXMTTXKQ.js → chunk-2F4HJFGW.js} +2 -2
- package/dist/{chunk-MD4S2RXW.js → chunk-5ETJPA5Z.js} +9 -9
- package/dist/{chunk-54MI3SGP.js → chunk-5FWVFCQM.js} +2 -2
- package/dist/{chunk-QKJ4KGNR.js → chunk-5SQHHBAR.js} +1 -1
- package/dist/{chunk-OQGORCT3.js → chunk-7635SDI5.js} +2 -2
- package/dist/{chunk-CAHSX6IW.js → chunk-7FHFPHEM.js} +2 -2
- package/dist/{chunk-ATOXD5VV.js → chunk-A6K7M46D.js} +1 -1
- package/dist/{chunk-LGCHE2F4.js → chunk-AP5AVVAB.js} +1 -1
- package/dist/chunk-BIV5HVTQ.js +3803 -0
- package/dist/{chunk-BC2XZL6O.js → chunk-BNEKKUPG.js} +2 -2
- package/dist/{chunk-4WPRJ7ID.js → chunk-CESKA6VO.js} +1 -1
- package/dist/{chunk-FA3TWKZO.js → chunk-CNP6AMFM.js} +2 -2
- package/dist/{chunk-EW2QBTYO.js → chunk-DCG22HKT.js} +10 -7
- package/dist/{chunk-ID7B7NGN.js → chunk-EELTMBCC.js} +1 -1
- package/dist/{chunk-XR3XDG7V.js → chunk-EFP25BUY.js} +1 -1
- package/dist/{chunk-YTZA25TZ.js → chunk-FQJDV2RI.js} +1 -1
- package/dist/{chunk-YULVV525.js → chunk-FSX7GTBB.js} +1 -1
- package/dist/{chunk-TW7H5CJO.js → chunk-GVX2443P.js} +2 -2
- package/dist/{chunk-C3WPYYGK.js → chunk-J5Z56PU3.js} +1 -1
- package/dist/{chunk-4LXK7TOM.js → chunk-JPN7SVWC.js} +7 -7
- package/dist/{chunk-O7BABHM4.js → chunk-K5PU5ISL.js} +1 -1
- package/dist/{chunk-E7CIMKJS.js → chunk-KA4LSAD5.js} +1 -1
- package/dist/{chunk-MOJKJ4K4.js → chunk-MCPDZWZY.js} +4 -4
- package/dist/{chunk-BWFUUGIZ.js → chunk-NKG3LTPI.js} +10 -5
- package/dist/{chunk-SYKPCN32.js → chunk-O3J7BHBU.js} +3 -1
- package/dist/{chunk-KDC5D5VM.js → chunk-P24X6CGY.js} +1 -1
- package/dist/{chunk-HL6GWREP.js → chunk-PVTHDNDZ.js} +1 -1
- package/dist/{chunk-DO3UPPO4.js → chunk-Q5K73VW3.js} +2 -2
- package/dist/{chunk-EKEK3GOB.js → chunk-QD5VJOQK.js} +3 -3
- package/dist/{chunk-VTBME36F.js → chunk-QLHXC4E6.js} +1 -1
- package/dist/{chunk-PYSGYMM4.js → chunk-RUYYAL3T.js} +2 -2
- package/dist/{chunk-BOT7PGM5.js → chunk-RZKQ3G6B.js} +1 -1
- package/dist/{chunk-LZGRJDNJ.js → chunk-S6U7YLPJ.js} +1 -1
- package/dist/{chunk-LUSWL6OJ.js → chunk-SJPNVLYS.js} +2 -2
- package/dist/{chunk-AQZZZTFL.js → chunk-T4HL3SZH.js} +1 -1
- package/dist/{chunk-BTCUP5ZY.js → chunk-TEFHMDVR.js} +2 -2
- package/dist/{chunk-4CIMRQQY.js → chunk-TVDXMJ43.js} +1 -1
- package/dist/{chunk-5VGEWXJL.js → chunk-U7P2XTRY.js} +2 -2
- package/dist/{chunk-N7QCMEQG.js → chunk-UCNQE52B.js} +7 -7
- package/dist/{chunk-BV2NH7ZA.js → chunk-UISU4SYG.js} +1 -1
- package/dist/{chunk-ATCB4PMO.js → chunk-VCXVZRR2.js} +1 -1
- package/dist/{chunk-UWQL2MP4.js → chunk-WAVFNZB7.js} +25 -6
- package/dist/{chunk-2F7S7OK2.js → chunk-WICIV6R3.js} +23 -1
- package/dist/{chunk-CDDIEZ4D.js → chunk-XJQ6NN2L.js} +6 -6
- package/dist/{chunk-RG66EU4L.js → chunk-XK5SZNYE.js} +9 -9
- package/dist/{chunk-4PHDDZVL.js → chunk-XZNHVWDD.js} +4 -4
- package/dist/{chunk-NYIKKCMC.js → chunk-YLAREDAU.js} +1 -1
- package/dist/{chunk-2GSGFDEP.js → chunk-YT6TFGIS.js} +7 -7
- package/dist/{chunk-XOODFU75.js → chunk-YZRS3COO.js} +1 -1
- package/dist/{chunk-NT3WPYAU.js → chunk-ZFJ5RI7A.js} +3 -3
- package/dist/{clean-UPXYD6VX.js → clean-ARH23EGW.js} +11 -11
- package/dist/cli.js +53 -53
- package/dist/{cloud-74GU7KDD.js → cloud-GBY7MRZM.js} +4 -4
- package/dist/{cloudrun-KHMVQL7C.js → cloudrun-HBVA5UZB.js} +4 -4
- package/dist/{compare-BG77ZXYF.js → compare-Z4YNESYN.js} +24 -24
- package/dist/{compiler-OSQ4L7FP.js → compiler-6WJ5SVTD.js} +2 -2
- package/dist/{component-34PVECJG.js → component-AR4MS4R7.js} +3 -3
- package/dist/{compositions-KCVIKKSR.js → compositions-ERZVZBYW.js} +9 -9
- package/dist/{delete-NU2ENZYQ.js → delete-NWSW3BET.js} +2 -2
- package/dist/{dist-3VKMLNXT.js → dist-VKLSNKRZ.js} +2 -2
- package/dist/{doctor-GVELHIHI.js → doctor-P4QZQRCB.js} +7 -7
- package/dist/{events-E6CVR42M.js → events-F2UVJQIC.js} +2 -2
- package/dist/{events-UP3IQXPM.js → events-SV46AWMI.js} +3 -3
- package/dist/{feedback-IRYQ4YKX.js → feedback-XS4IK6SW.js} +6 -6
- package/dist/{figma-BLQBHAPG.js → figma-DELISEUP.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-HESG62RX.js → get-DNGXCEFB.js} +2 -2
- package/dist/{gpuPolicy-CHXUX2ZT.js → gpuPolicy-JG5PUOJP.js} +5 -5
- package/dist/{grade-compare-ZDJMJUYY.js → grade-compare-F46JWE4O.js} +24 -24
- package/dist/{help-2BQBFF4Z.js → help-XVEBMX3U.js} +1 -1
- package/dist/{history-4IZQ6NRV.js → history-NS4PKG4S.js} +6 -6
- package/dist/hyperframe-runtime.js +57 -57
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +57 -57
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-JNGAI3JU.js → info-DJ6VNESS.js} +7 -7
- package/dist/{init-ZQO6G5C7.js → init-TSRTMVRN.js} +20 -20
- package/dist/{inspect-DWMKJEVE.js → inspect-VTZXXDJ4.js} +25 -25
- package/dist/{installer-UKZT4SKK.js → installer-3ERHU4CD.js} +4 -4
- package/dist/{keyframes-FC273E5N.js → keyframes-6DN7BOYJ.js} +6 -6
- package/dist/{lambda-GSZCV77P.js → lambda-RCOIEGL6.js} +5 -5
- package/dist/{layout-ASSCBJCO.js → layout-FFGRLVK4.js} +25 -25
- package/dist/{lint-PSCEVVNL.js → lint-MBYIDFKS.js} +6 -6
- package/dist/{list-KO4N2VJL.js → list-KEZDFW5R.js} +2 -2
- package/dist/{login-ZJEBRFV5.js → login-7ZV374QL.js} +4 -4
- package/dist/{media-treatment-HGHLLZR3.js → media-treatment-LGWWRXAX.js} +8 -8
- package/dist/{models-NTAVDCAV.js → models-TC4K6UQP.js} +8 -8
- package/dist/{motionShot-SJENYTRO.js → motionShot-4E3RTV5O.js} +13 -13
- package/dist/{normalize-audio-PQIC7IPK.js → normalize-audio-XCGB2IQP.js} +4 -4
- package/dist/{open-EI7UEAZZ.js → open-JNNJSNTH.js} +4 -4
- package/dist/{parakeetRunner-7SDEI3IZ.js → parakeetRunner-S3DG4BJB.js} +8 -8
- package/dist/{pipeline-EXHHCUE7.js → pipeline-3SIYCBLU.js} +5 -5
- package/dist/{play-Y4EMM2OJ.js → play-LBPOOD3V.js} +16 -16
- package/dist/{present-LFMGQGX6.js → present-PWEN5SDL.js} +12 -12
- package/dist/{preview-EYQG7L6X.js → preview-IS32RLKM.js} +15 -15
- package/dist/{producer-FKOEAHJW.js → producer-4UUUEPPS.js} +1 -1
- package/dist/{projectConfig-SXW3QMZE.js → projectConfig-K347VIO3.js} +6 -6
- package/dist/{publication-ZC4LDEXQ.js → publication-4CQS532O.js} +2 -2
- package/dist/{publish-4ZCLHA5W.js → publish-OJYF37FY.js} +7 -7
- package/dist/{remove-background-IGDRS2QV.js → remove-background-HO6YL2HU.js} +6 -6
- package/dist/{render-ZN777RDD.js → render-L76SEAMC.js} +3 -3
- package/dist/{render-TA3DG3LZ.js → render-Q6QAXJCN.js} +8 -8
- package/dist/{render-QJCBJQOM.js → render-QBQYF2NC.js} +23 -23
- package/dist/{render-batch-2JQNFAL4.js → render-batch-JLANN5Y2.js} +3 -3
- package/dist/{resolver-JZF5G6YC.js → resolver-EDUM4DHG.js} +4 -4
- package/dist/{sherpa-MDVSUF6Y.js → sherpa-QEM5XYHD.js} +7 -7
- package/dist/{skills-JVNMX37H.js → skills-FSZK6FIG.js} +5 -5
- package/dist/{skillsUpdateCheck-KNTQFGOI.js → skillsUpdateCheck-3354HXDJ.js} +3 -3
- package/dist/{snapshot-RDQTFIPX.js → snapshot-5VVMFEMM.js} +27 -27
- package/dist/{src-ZPEZRIUC.js → src-RYILCNU7.js} +6 -6
- package/dist/{src-5XO7KBBL.js → src-ZGMLMQ3B.js} +4 -4
- package/dist/{staticProjectServer-RLERPIY6.js → staticProjectServer-PIVSGEAO.js} +12 -12
- package/dist/studio/assets/{hyperframes-player-mYPt9XVX.js → hyperframes-player-B04Yx96S.js} +1 -1
- package/dist/studio/assets/{index-B-v5xQjD.js → index-D2e0J6kh.js} +4 -4
- package/dist/studio/assets/{index-DtHmIKM0.js → index-D9CDX_Rr.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4INCUOCU.js → studio-api-PHADR6VB.js} +6 -6
- package/dist/{studioServer-DMDE7IZU.js → studioServer-5AVDKN5V.js} +36 -36
- package/dist/{telemetry-4Y5DYI6H.js → telemetry-JCTHMPSB.js} +3 -3
- package/dist/{timeline-XJRKELVE.js → timeline-QU2F6R2M.js} +14 -14
- package/dist/{tokens-G4VKTABI.js → tokens-YYK4G36C.js} +2 -2
- package/dist/{transcribe-JRSQRPVH.js → transcribe-7ORH7R6O.js} +6 -6
- package/dist/{transcribe-Y46B2ZVD.js → transcribe-PRG4FLLA.js} +12 -12
- package/dist/{updateCheck-NGYDWGQL.js → updateCheck-NV7QNANK.js} +2 -2
- package/dist/{upgrade-M2LQP5S7.js → upgrade-UZXN36J2.js} +2 -2
- package/dist/{urlDownloader-UFDUP3VF.js → urlDownloader-AW57H722.js} +4 -4
- package/dist/{validate-B3AUFCC5.js → validate-QD53ABUM.js} +19 -19
- package/dist/{video-WLCNVSVU.js → video-VLVPYQQR.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-QE7XLLGT.js +0 -3803
|
@@ -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.169" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.169" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|
|
@@ -6,10 +6,10 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getMimeType
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XJQ6NN2L.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BIV5HVTQ.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -9,25 +9,28 @@ import {
|
|
|
9
9
|
launchManagedBrowser,
|
|
10
10
|
resolveManagedGpuMode,
|
|
11
11
|
rethrowAfterBrowserCleanup
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WAVFNZB7.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveCompositionViewportFromHtml
|
|
15
15
|
} from "./chunk-FH7WODJH.js";
|
|
16
16
|
import {
|
|
17
17
|
resolveDiagnosticNavigationTimeoutMs,
|
|
18
18
|
windowsChromeCrashRemediation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-TEFHMDVR.js";
|
|
20
|
+
import {
|
|
21
|
+
oneProcessOverPipe
|
|
22
|
+
} from "./chunk-WICIV6R3.js";
|
|
20
23
|
import {
|
|
21
24
|
resolveLocalBrowserGpuMode,
|
|
22
25
|
resolveLocalWebGpu
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-Q5K73VW3.js";
|
|
24
27
|
import {
|
|
25
28
|
c
|
|
26
29
|
} from "./chunk-ZTZA4UWZ.js";
|
|
27
30
|
import {
|
|
28
31
|
assertWebGpuAdapterAvailable,
|
|
29
32
|
compositionRequiresWebGpu
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-7FHFPHEM.js";
|
|
31
34
|
import {
|
|
32
35
|
normalizeErrorMessage
|
|
33
36
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -110,9 +113,9 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
110
113
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
|
|
111
114
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
112
115
|
const puppeteer = await import("puppeteer-core");
|
|
113
|
-
const { buildChromeArgs } = await import("./src-
|
|
116
|
+
const { buildChromeArgs } = await import("./src-ZGMLMQ3B.js");
|
|
114
117
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
115
|
-
const answer = (await import("./staticProjectServer-
|
|
118
|
+
const answer = (await import("./staticProjectServer-PIVSGEAO.js")).inProcessAnswer(url);
|
|
116
119
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
117
120
|
let softwareWebGpu = false;
|
|
118
121
|
const launch = async (executablePath) => {
|
|
@@ -133,7 +136,7 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
133
136
|
headless: true,
|
|
134
137
|
signal: options.signal,
|
|
135
138
|
executablePath,
|
|
136
|
-
...answer ? {
|
|
139
|
+
...answer ? oneProcessOverPipe({ args }) : { args }
|
|
137
140
|
});
|
|
138
141
|
};
|
|
139
142
|
let chromeBrowser;
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7FHFPHEM.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-O3J7BHBU.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.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-YZRS3COO.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-J5Z56PU3.js";
|
|
18
18
|
import {
|
|
19
19
|
resolveItemWithDependencies,
|
|
20
20
|
resolveItemsByTag
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5SQHHBAR.js";
|
|
22
22
|
import {
|
|
23
23
|
InvalidVariableValuesError,
|
|
24
24
|
prepareItem,
|
|
25
25
|
publishItem
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5FWVFCQM.js";
|
|
27
27
|
import {
|
|
28
28
|
DEFAULT_REGISTRY_URL
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-EELTMBCC.js";
|
|
30
30
|
import {
|
|
31
31
|
trackRegistryItemAdded
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FQJDV2RI.js";
|
|
33
33
|
import {
|
|
34
34
|
defineCommand
|
|
35
35
|
} from "./chunk-S3S4TGEH.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
} from "./chunk-ZTZA4UWZ.js";
|
|
42
42
|
import {
|
|
43
43
|
ITEM_TYPE_DIRS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-O3J7BHBU.js";
|
|
45
45
|
import {
|
|
46
46
|
isProjectRootMissing,
|
|
47
47
|
realpath
|
|
@@ -6,21 +6,21 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
parakeetRunner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S6U7YLPJ.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U7P2XTRY.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-UISU4SYG.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-A6K7M46D.js";
|
|
24
24
|
import {
|
|
25
25
|
formatSrt,
|
|
26
26
|
formatVtt,
|
|
@@ -6,17 +6,22 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
withOwner
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YT6TFGIS.js";
|
|
10
10
|
import {
|
|
11
11
|
beginArtifactCapture
|
|
12
12
|
} from "./chunk-JGYHWVXQ.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/artifactCapture.ts
|
|
15
|
+
var SKIP_BUSY_HISTORY = { ownerWaitMs: 0 };
|
|
15
16
|
async function captureArtifactRevision(projectDir) {
|
|
16
|
-
return withOwner(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
return withOwner(
|
|
18
|
+
projectDir,
|
|
19
|
+
async (owner) => {
|
|
20
|
+
await owner.checkpoint();
|
|
21
|
+
return beginArtifactCapture(projectDir);
|
|
22
|
+
},
|
|
23
|
+
SKIP_BUSY_HISTORY
|
|
24
|
+
);
|
|
20
25
|
}
|
|
21
26
|
|
|
22
27
|
export {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BIV5HVTQ.js";
|
|
13
13
|
import {
|
|
14
14
|
CANVAS_DIMENSIONS,
|
|
15
15
|
isCompositionElement,
|
|
@@ -120,6 +120,8 @@ function parseFpsWithDefault(input) {
|
|
|
120
120
|
return { ok: true, value: { num: 30, den: 1 } };
|
|
121
121
|
return parseFps(input);
|
|
122
122
|
}
|
|
123
|
+
|
|
124
|
+
// ../core/dist/distributedFps.js
|
|
123
125
|
var DISTRIBUTED_FPS = [24, 25, 30, 60];
|
|
124
126
|
function isDistributedFps(value) {
|
|
125
127
|
return DISTRIBUTED_FPS.includes(value);
|
|
@@ -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-SV46AWMI.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-7FHFPHEM.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-ZGMLMQ3B.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XJQ6NN2L.js";
|
|
11
11
|
import {
|
|
12
12
|
PROXY_VARIANT_CONFIG,
|
|
13
13
|
ProxyCapacityError,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
recordProxyRequest,
|
|
19
19
|
resolveProxy,
|
|
20
20
|
resolveProxyVariantRequest
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T4HL3SZH.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-J5Z56PU3.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeWellFormedEscapes
|
|
27
27
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -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-FSX7GTBB.js";
|
|
10
10
|
|
|
11
11
|
// src/telemetry/renderObservability.ts
|
|
12
12
|
function renderObservabilityTelemetryPayload(observability) {
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FQJDV2RI.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FSX7GTBB.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
SDR_RGB_TO_BT709_FILTER,
|
|
21
21
|
SDR_RGB_TO_TAGGED_BT709_FILTER,
|
|
22
22
|
renderProvenanceArgs
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-7FHFPHEM.js";
|
|
24
24
|
|
|
25
25
|
// src/background-removal/pipeline.ts
|
|
26
26
|
import { spawn } from "child_process";
|
|
@@ -270,7 +270,7 @@ function inferInputKind(inputPath) {
|
|
|
270
270
|
}
|
|
271
271
|
async function probeMedia(inputPath) {
|
|
272
272
|
const isImage = inferInputKind(inputPath) === "image";
|
|
273
|
-
const engine = await import("./src-
|
|
273
|
+
const engine = await import("./src-ZGMLMQ3B.js");
|
|
274
274
|
const meta = await engine.extractMediaMetadata(inputPath);
|
|
275
275
|
if (isImage) {
|
|
276
276
|
return { width: meta.width, height: meta.height, fps: 0, frameCount: 1 };
|
|
@@ -6,7 +6,7 @@ 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-EFP25BUY.js";
|
|
10
10
|
import {
|
|
11
11
|
errorBox
|
|
12
12
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-PBN6GBJE.js";
|
|
16
16
|
import {
|
|
17
17
|
parseFps
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-O3J7BHBU.js";
|
|
19
19
|
|
|
20
20
|
// src/browser/windowsCrash.ts
|
|
21
21
|
var STATUS_STACK_BUFFER_OVERRUN_DEC = "3221225595";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-UISU4SYG.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-A6K7M46D.js";
|
|
28
28
|
import {
|
|
29
29
|
PARAKEET_MODEL_LABEL,
|
|
30
30
|
SHERPA_ERROR_PREFIX,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
EncoderInterruptedError,
|
|
23
23
|
encoderFailureError,
|
|
24
24
|
prepareAnimatedGifInputs
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GVX2443P.js";
|
|
26
26
|
import {
|
|
27
27
|
BROWSER_GPU_NOT_SOFTWARE,
|
|
28
28
|
CaptureFailure,
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
validateEngineConfigSnapshot,
|
|
152
152
|
verifyDiskDrawElementSamples,
|
|
153
153
|
writeCapturedFrame
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-7FHFPHEM.js";
|
|
155
155
|
import {
|
|
156
156
|
assignBundledRuntimeCompositionIds,
|
|
157
157
|
buildVariablesByCompScript,
|
|
@@ -164,7 +164,7 @@ import {
|
|
|
164
164
|
isTemplateEntry,
|
|
165
165
|
parsesAsScript,
|
|
166
166
|
prepareFlattenedInnerRoot
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-P24X6CGY.js";
|
|
168
168
|
import {
|
|
169
169
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
170
170
|
getCgroupMemoryLimitMb,
|
|
@@ -190,7 +190,7 @@ import {
|
|
|
190
190
|
resolveAbsoluteMediaStartSeconds,
|
|
191
191
|
resolveAuthoredTimingWindow,
|
|
192
192
|
toFps
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-O3J7BHBU.js";
|
|
194
194
|
import {
|
|
195
195
|
COMPOSITION_SOURCE_URL,
|
|
196
196
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -218,7 +218,7 @@ import {
|
|
|
218
218
|
shouldClampResolvedMediaDuration,
|
|
219
219
|
sourceTimeAt,
|
|
220
220
|
styleElementsFor
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-BIV5HVTQ.js";
|
|
222
222
|
import {
|
|
223
223
|
MAX_AUDIO_GAIN
|
|
224
224
|
} from "./chunk-UJKQWGFF.js";
|
|
@@ -14390,7 +14390,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
14390
14390
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
14391
14391
|
if (probeResult.probeSession) {
|
|
14392
14392
|
try {
|
|
14393
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
14393
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-ZGMLMQ3B.js");
|
|
14394
14394
|
await closeCaptureSession2(probeResult.probeSession);
|
|
14395
14395
|
} catch (err) {
|
|
14396
14396
|
log.warn("[plan] probe session close failed", {
|
|
@@ -15917,7 +15917,7 @@ function startServer(options = {}) {
|
|
|
15917
15917
|
});
|
|
15918
15918
|
async function shutdown(signal) {
|
|
15919
15919
|
log.info(`Received ${signal}, shutting down`);
|
|
15920
|
-
const { drainBrowserPool } = await import("./src-
|
|
15920
|
+
const { drainBrowserPool } = await import("./src-ZGMLMQ3B.js");
|
|
15921
15921
|
await drainBrowserPool().catch(() => {
|
|
15922
15922
|
});
|
|
15923
15923
|
const handle = await Promise.race([
|
|
@@ -5,11 +5,15 @@ var require = __hf_createRequire(import.meta.url);
|
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
|
+
inAgentSandbox,
|
|
9
|
+
isOneProcessOverPipe,
|
|
10
|
+
machServiceDenied,
|
|
11
|
+
oneProcessOverPipe,
|
|
8
12
|
sandboxDeniedRemediation
|
|
9
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WICIV6R3.js";
|
|
10
14
|
import {
|
|
11
15
|
resolveCaptureBrowserGpuMode
|
|
12
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-Q5K73VW3.js";
|
|
13
17
|
import {
|
|
14
18
|
isNavigationTimeoutError,
|
|
15
19
|
withRemainingBudget
|
|
@@ -59,7 +63,7 @@ async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
|
|
|
59
63
|
context.signal?.throwIfAborted();
|
|
60
64
|
const browser = await launchManagedBrowser(puppeteer, {
|
|
61
65
|
...options,
|
|
62
|
-
...context.noListen ?
|
|
66
|
+
...context.noListen ? oneProcessOverPipe(options) : {},
|
|
63
67
|
signal: context.signal
|
|
64
68
|
});
|
|
65
69
|
try {
|
|
@@ -73,6 +77,24 @@ async function resolveManagedGpuMode(requestedMode, chromePath, context = {}) {
|
|
|
73
77
|
});
|
|
74
78
|
}
|
|
75
79
|
async function launchManagedBrowser(puppeteer, options) {
|
|
80
|
+
const sandboxed = isOneProcessOverPipe(options) || inAgentSandbox();
|
|
81
|
+
try {
|
|
82
|
+
return await launchOwnedBrowser(puppeteer, sandboxed ? oneProcessOverPipe(options) : options);
|
|
83
|
+
} catch (error) {
|
|
84
|
+
const unnamedSeatbelt = !sandboxed && machServiceDenied(normalizeErrorMessage(error));
|
|
85
|
+
if (!unnamedSeatbelt) throw withRemediation(error);
|
|
86
|
+
return launchOwnedBrowser(puppeteer, oneProcessOverPipe(options)).catch(
|
|
87
|
+
(retryError) => {
|
|
88
|
+
throw withRemediation(retryError);
|
|
89
|
+
}
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
function withRemediation(error) {
|
|
94
|
+
const remediation = sandboxDeniedRemediation(normalizeErrorMessage(error));
|
|
95
|
+
return remediation ? new Error(remediation, { cause: error }) : error;
|
|
96
|
+
}
|
|
97
|
+
async function launchOwnedBrowser(puppeteer, options) {
|
|
76
98
|
if (shutdown) throw new Error("The CLI is stopping; no browser can start.");
|
|
77
99
|
ownSignals();
|
|
78
100
|
const abort = new AbortController();
|
|
@@ -91,9 +113,6 @@ async function launchManagedBrowser(puppeteer, options) {
|
|
|
91
113
|
browsers.add(browser);
|
|
92
114
|
child.once("exit", () => browsers.delete(browser));
|
|
93
115
|
return browser;
|
|
94
|
-
} catch (error) {
|
|
95
|
-
const remediation = sandboxDeniedRemediation(normalizeErrorMessage(error));
|
|
96
|
-
throw remediation ? new Error(remediation, { cause: error }) : error;
|
|
97
116
|
} finally {
|
|
98
117
|
pending.delete(launch);
|
|
99
118
|
}
|
|
@@ -7,8 +7,26 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
|
|
8
8
|
// src/browser/sandboxDenied.ts
|
|
9
9
|
var MACH_SERVICE_DENIED = /bootstrap_check_in\b[^\n]*Permission denied/;
|
|
10
|
+
var SINGLE_PROCESS = "--single-process";
|
|
11
|
+
function machServiceDenied(errorMessage) {
|
|
12
|
+
return MACH_SERVICE_DENIED.test(errorMessage);
|
|
13
|
+
}
|
|
14
|
+
function inAgentSandbox(env = process.env, platform = process.platform) {
|
|
15
|
+
return platform === "darwin" && env.CODEX_SANDBOX === "seatbelt";
|
|
16
|
+
}
|
|
17
|
+
function oneProcessOverPipe(options) {
|
|
18
|
+
const args = options.args ?? [];
|
|
19
|
+
return {
|
|
20
|
+
...options,
|
|
21
|
+
pipe: true,
|
|
22
|
+
args: args.includes(SINGLE_PROCESS) ? args : [...args, SINGLE_PROCESS]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function isOneProcessOverPipe(options) {
|
|
26
|
+
return options.pipe === true && (options.args ?? []).includes(SINGLE_PROCESS);
|
|
27
|
+
}
|
|
10
28
|
function sandboxDeniedRemediation(errorMessage) {
|
|
11
|
-
if (!
|
|
29
|
+
if (!machServiceDenied(errorMessage)) return void 0;
|
|
12
30
|
return [
|
|
13
31
|
"The browser can't start inside this sandbox: macOS refused Chrome's mach service (bootstrap_check_in: Permission denied).",
|
|
14
32
|
"Rerun this command with escalation, outside the sandbox."
|
|
@@ -16,5 +34,9 @@ function sandboxDeniedRemediation(errorMessage) {
|
|
|
16
34
|
}
|
|
17
35
|
|
|
18
36
|
export {
|
|
37
|
+
machServiceDenied,
|
|
38
|
+
inAgentSandbox,
|
|
39
|
+
oneProcessOverPipe,
|
|
40
|
+
isOneProcessOverPipe,
|
|
19
41
|
sandboxDeniedRemediation
|
|
20
42
|
};
|