hyperframes 0.8.168 → 0.8.170
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-KDCZCEMQ.js} +11 -11
- package/dist/{animatedGifPrep-TWD5BNVK.js → animatedGifPrep-MVP5LCEM.js} +5 -5
- package/dist/api.js +11 -11
- package/dist/{asset-BBJ3GAL7.js → asset-6VH3OCEC.js} +2 -2
- package/dist/{assetCataloger-S47GINRQ.js → assetCataloger-RN5A2SVA.js} +5 -5
- package/dist/{audio-MEDCANA3.js → audio-636CQSXK.js} +11 -11
- package/dist/{auth-LZYMCNTB.js → auth-AHLKM4M2.js} +1 -1
- package/dist/{autoUpdate-AXTW2NKX.js → autoUpdate-5UA6TJW7.js} +2 -2
- package/dist/{backgroundChecks-3YDYYI3D.js → backgroundChecks-DP242536.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-UDE7TOKY.js → batchRender-KWBVAUE3.js} +3 -3
- package/dist/{beats-HHXMPMGT.js → beats-HKY5L463.js} +4 -4
- package/dist/{benchmark-2BY7PBAP.js → benchmark-4YQDVIO5.js} +8 -8
- package/dist/{browser-CXB4KTJP.js → browser-7ZPWXEYW.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-M7CRHOS7.js → bundleWithLocalizedFonts-42V34HJF.js} +2 -2
- package/dist/{capture-WHG37ZLF.js → capture-572X5NDD.js} +9 -9
- package/dist/{capture-PRTE4Z7E.js → capture-VXMUZSBI.js} +2 -2
- package/dist/{catalog-WRM2373Z.js → catalog-PUUTHPP7.js} +11 -11
- package/dist/{catch-up-WHLD6E5F.js → catch-up-K6CV44WQ.js} +4 -4
- package/dist/{check-R5E7WLKF.js → check-MBDLSWCY.js} +35 -34
- package/dist/{checkBrowser-Y4CZVGIV.js → checkBrowser-33UWWDZG.js} +30 -30
- package/dist/{chunk-ID7B7NGN.js → chunk-2E7NDKTN.js} +1 -1
- package/dist/{chunk-EW2QBTYO.js → chunk-2UD6O6QG.js} +10 -7
- package/dist/{chunk-QKJ4KGNR.js → chunk-44GV6ZMC.js} +1 -1
- package/dist/{chunk-YTZA25TZ.js → chunk-4B6PUT4R.js} +1 -1
- package/dist/{chunk-N7QCMEQG.js → chunk-4RXJG3SY.js} +197 -26
- package/dist/chunk-6M3IPJS6.js +3803 -0
- package/dist/{chunk-TJSTGSAW.js → chunk-7FMUTGOH.js} +2 -77
- package/dist/{chunk-AQZZZTFL.js → chunk-AGHHZIZN.js} +1 -1
- package/dist/{chunk-FA3TWKZO.js → chunk-AUMJ3QSO.js} +2 -2
- package/dist/{chunk-ATOXD5VV.js → chunk-AWSVUIWG.js} +1 -1
- package/dist/{chunk-MD4S2RXW.js → chunk-BAW7UNLK.js} +9 -9
- package/dist/{chunk-RG66EU4L.js → chunk-CFBGKAKQ.js} +9 -9
- package/dist/{chunk-ATCB4PMO.js → chunk-EHDKCMKX.js} +1 -1
- package/dist/{chunk-LGCHE2F4.js → chunk-EJYBYR4C.js} +1 -1
- package/dist/{chunk-LUSWL6OJ.js → chunk-ERJHLFPD.js} +2 -2
- package/dist/{chunk-KDC5D5VM.js → chunk-FAORS3UR.js} +28 -13
- package/dist/{chunk-EEP5Y5IE.js → chunk-FE2XTCTM.js} +18 -1
- package/dist/{chunk-YULVV525.js → chunk-FSP2JNAP.js} +1 -1
- package/dist/{chunk-NT3WPYAU.js → chunk-G6GKIAEM.js} +3 -3
- package/dist/{chunk-4CIMRQQY.js → chunk-GBWSBTEE.js} +1 -1
- package/dist/{chunk-O7BABHM4.js → chunk-GG3V5BHG.js} +1 -1
- package/dist/{chunk-E7CIMKJS.js → chunk-GU5FLCZV.js} +1 -1
- package/dist/{chunk-XR3XDG7V.js → chunk-JAERN4RH.js} +1 -1
- package/dist/{chunk-2GSGFDEP.js → chunk-KUFEPCR3.js} +7 -7
- package/dist/{chunk-LZGRJDNJ.js → chunk-KUW4LWY6.js} +1 -1
- package/dist/{chunk-BTCUP5ZY.js → chunk-LMMFO5UV.js} +2 -2
- package/dist/{chunk-HL6GWREP.js → chunk-LWB3KZ5E.js} +1 -1
- package/dist/{chunk-EKEK3GOB.js → chunk-MSFON5DJ.js} +3 -3
- package/dist/{chunk-CDDIEZ4D.js → chunk-MXMIVNUE.js} +19 -23
- package/dist/{chunk-4WPRJ7ID.js → chunk-NSJLCWLG.js} +1 -1
- package/dist/{chunk-MOJKJ4K4.js → chunk-NYCJCQNY.js} +4 -4
- package/dist/{chunk-PYSGYMM4.js → chunk-OGVQJHNM.js} +2 -2
- package/dist/{chunk-C3WPYYGK.js → chunk-PCX3YF2U.js} +1 -1
- package/dist/{chunk-5VGEWXJL.js → chunk-PECICVTJ.js} +2 -2
- package/dist/{chunk-TW7H5CJO.js → chunk-PH3RS5X4.js} +2 -2
- package/dist/{chunk-XOODFU75.js → chunk-PP64Q43K.js} +1 -1
- package/dist/{chunk-DO3UPPO4.js → chunk-PXA4S6OE.js} +2 -2
- package/dist/{chunk-54MI3SGP.js → chunk-QO3JEPEW.js} +2 -2
- package/dist/{chunk-SYKPCN32.js → chunk-QZUVPWC4.js} +3 -1
- package/dist/{chunk-EXMTTXKQ.js → chunk-T56MM7RC.js} +2 -2
- package/dist/{chunk-BOT7PGM5.js → chunk-T5LGOTQR.js} +1 -1
- package/dist/{chunk-UWQL2MP4.js → chunk-UDDJQEGS.js} +25 -6
- package/dist/{chunk-BC2XZL6O.js → chunk-UQPH3Y45.js} +2 -2
- package/dist/{chunk-4PHDDZVL.js → chunk-UUP4KOMD.js} +4 -4
- package/dist/{chunk-BV2NH7ZA.js → chunk-V2T7FFPB.js} +1 -1
- package/dist/{chunk-CAHSX6IW.js → chunk-VKFYI7AQ.js} +182 -77
- package/dist/{chunk-2F7S7OK2.js → chunk-WICIV6R3.js} +23 -1
- package/dist/{chunk-4LXK7TOM.js → chunk-WLNNWLIE.js} +7 -7
- package/dist/{chunk-OQGORCT3.js → chunk-WZQSL7UX.js} +2 -2
- package/dist/{chunk-NYIKKCMC.js → chunk-X3U6KEID.js} +1 -1
- package/dist/{chunk-M4N6IHCQ.js → chunk-XRQBHOBT.js} +7 -1
- package/dist/{chunk-BWFUUGIZ.js → chunk-YFGJVADL.js} +10 -5
- package/dist/{chunk-VTBME36F.js → chunk-ZINH7YA2.js} +1 -1
- package/dist/{clean-UPXYD6VX.js → clean-5AXXHD45.js} +12 -12
- package/dist/cli.js +53 -53
- package/dist/{cloud-74GU7KDD.js → cloud-DQCCYKOB.js} +4 -4
- package/dist/{cloudrun-KHMVQL7C.js → cloudrun-CDFL5JBL.js} +9 -11
- package/dist/{compare-BG77ZXYF.js → compare-6RB5X3SO.js} +25 -25
- package/dist/{compiler-OSQ4L7FP.js → compiler-GU5GPO5A.js} +2 -2
- package/dist/{component-34PVECJG.js → component-7RRNNC5F.js} +3 -3
- package/dist/{compositions-KCVIKKSR.js → compositions-CANET3EJ.js} +9 -9
- package/dist/{delete-NU2ENZYQ.js → delete-KEZJPDWJ.js} +2 -2
- package/dist/{deterministicFonts-KXVO7QEL.js → deterministicFonts-RWGQPEZU.js} +2 -2
- package/dist/{dist-3VKMLNXT.js → dist-IDZRZHGE.js} +2 -2
- package/dist/{doctor-GVELHIHI.js → doctor-5RAEGA6G.js} +7 -7
- package/dist/{events-E6CVR42M.js → events-4ZJSJ76H.js} +2 -2
- package/dist/{events-UP3IQXPM.js → events-SHOWEHI5.js} +3 -3
- package/dist/{feedback-IRYQ4YKX.js → feedback-4IIGUUYZ.js} +6 -6
- package/dist/{figma-BLQBHAPG.js → figma-BFDECPE5.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-HESG62RX.js → get-BO32YZUQ.js} +2 -2
- package/dist/{gpuPolicy-CHXUX2ZT.js → gpuPolicy-QWJYZLVJ.js} +5 -5
- package/dist/{grade-compare-ZDJMJUYY.js → grade-compare-SW4SAG5R.js} +25 -25
- package/dist/{help-2BQBFF4Z.js → help-7AMSMPUF.js} +1 -1
- package/dist/{history-4IZQ6NRV.js → history-VXAQFJJV.js} +6 -6
- package/dist/hyperframe-runtime.js +63 -62
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +63 -62
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-JNGAI3JU.js → info-KN4TX6T5.js} +7 -7
- package/dist/{init-ZQO6G5C7.js → init-7A2T7LDW.js} +20 -20
- package/dist/{inspect-DWMKJEVE.js → inspect-CCCV6JFV.js} +26 -26
- package/dist/{installer-UKZT4SKK.js → installer-ZCCZUOPN.js} +4 -4
- package/dist/{keyframes-FC273E5N.js → keyframes-K6XNZGK3.js} +6 -6
- package/dist/{lambda-GSZCV77P.js → lambda-B2K237DX.js} +10 -12
- package/dist/{layout-ASSCBJCO.js → layout-HAPR5OV4.js} +26 -26
- package/dist/{lint-PSCEVVNL.js → lint-3COFAXAJ.js} +6 -6
- package/dist/{list-KO4N2VJL.js → list-QCNHO7DR.js} +2 -2
- package/dist/{login-ZJEBRFV5.js → login-BAFYZS6W.js} +4 -4
- package/dist/{media-treatment-HGHLLZR3.js → media-treatment-C53ZBW2B.js} +8 -8
- package/dist/{models-NTAVDCAV.js → models-INX67ETR.js} +8 -8
- package/dist/{motionShot-SJENYTRO.js → motionShot-UOS26VLB.js} +13 -13
- package/dist/{normalize-audio-PQIC7IPK.js → normalize-audio-I7HGJGA5.js} +4 -4
- package/dist/{open-EI7UEAZZ.js → open-RFXGV4RY.js} +4 -4
- package/dist/{parakeetRunner-7SDEI3IZ.js → parakeetRunner-PCCBODBS.js} +8 -8
- package/dist/{pipeline-EXHHCUE7.js → pipeline-GDC7SL5N.js} +5 -5
- package/dist/{play-Y4EMM2OJ.js → play-DRCWK35L.js} +17 -17
- package/dist/{present-LFMGQGX6.js → present-HUJV553D.js} +13 -13
- package/dist/{preview-EYQG7L6X.js → preview-CZENYIGN.js} +15 -15
- package/dist/{producer-FKOEAHJW.js → producer-23NJEJRO.js} +1 -1
- package/dist/{projectConfig-SXW3QMZE.js → projectConfig-R3FCIARW.js} +6 -6
- package/dist/{publication-ZC4LDEXQ.js → publication-GY3OJ6VH.js} +2 -2
- package/dist/{publish-4ZCLHA5W.js → publish-XBW4NVFY.js} +7 -7
- package/dist/{remove-background-IGDRS2QV.js → remove-background-Q7CQ3PJF.js} +6 -6
- package/dist/{render-ZN777RDD.js → render-24JWWXMA.js} +3 -3
- package/dist/{render-TA3DG3LZ.js → render-DOHHCT2G.js} +8 -8
- package/dist/{render-QJCBJQOM.js → render-WWAXTKYR.js} +23 -23
- package/dist/{render-batch-2JQNFAL4.js → render-batch-EK4ZBQHH.js} +3 -3
- package/dist/renderSetupWorker.js +9 -1
- package/dist/{resolver-JZF5G6YC.js → resolver-5Y6VNMTC.js} +4 -4
- package/dist/{sherpa-MDVSUF6Y.js → sherpa-VMADZBF7.js} +7 -7
- package/dist/skills/media-use/SKILL.md +3 -3
- package/dist/skills/media-use/audio/references/requirements.md +7 -7
- package/dist/skills/media-use/audio/references/sfx.md +19 -13
- package/dist/skills/media-use/audio/scripts/audio.mjs +9 -9
- package/dist/skills/media-use/audio/scripts/audio.test.mjs +17 -10
- package/dist/skills/media-use/audio/scripts/lib/media-record.mjs +7 -3
- package/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +22 -3
- package/dist/skills/media-use/audio/scripts/lib/openverse.mjs +134 -0
- package/dist/skills/media-use/audio/scripts/lib/sfx.mjs +120 -89
- package/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +222 -12
- package/dist/skills/media-use/references/audio.md +1 -1
- package/dist/skills/media-use/references/resolve.md +1 -1
- package/dist/skills/media-use/references/setup-providers.md +13 -12
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +4 -7
- package/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +5 -5
- package/dist/skills/media-use/scripts/lib/manifest.d.mts +1 -0
- package/dist/skills/media-use/scripts/lib/manifest.mjs +9 -6
- package/dist/skills/media-use/scripts/lib/openverse.mjs +134 -0
- package/dist/skills/media-use/scripts/lib/openverse.test.mjs +219 -0
- package/dist/skills/media-use/scripts/lib/registry.mjs +4 -2
- package/dist/skills/media-use/scripts/lib/registry.test.mjs +13 -13
- package/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -13
- package/dist/skills/media-use/scripts/resolve.mjs +45 -55
- package/dist/{skills-JVNMX37H.js → skills-ONFYYL6R.js} +5 -5
- package/dist/{skillsUpdateCheck-KNTQFGOI.js → skillsUpdateCheck-JTHZOHRT.js} +3 -3
- package/dist/{snapshot-RDQTFIPX.js → snapshot-SUA62VQ2.js} +28 -28
- package/dist/{src-ZPEZRIUC.js → src-J6KABXGZ.js} +8 -8
- package/dist/{src-5XO7KBBL.js → src-VFTQPSQD.js} +4 -4
- package/dist/{staticProjectServer-RLERPIY6.js → staticProjectServer-XQPUABYX.js} +13 -13
- package/dist/studio/assets/{hyperframes-player-mYPt9XVX.js → hyperframes-player-Dsmhm7Q8.js} +1 -1
- package/dist/studio/assets/{index-B-v5xQjD.js → index-CV00F8qG.js} +4 -4
- package/dist/studio/assets/{index-DtHmIKM0.js → index-DT1wigvW.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-4INCUOCU.js → studio-api-MBDDFEA2.js} +7 -7
- package/dist/{studioServer-DMDE7IZU.js → studioServer-7HWDCLKT.js} +38 -38
- package/dist/{telemetry-4Y5DYI6H.js → telemetry-763NW3QF.js} +3 -3
- package/dist/{timeline-XJRKELVE.js → timeline-ZLFPNI27.js} +15 -15
- package/dist/{tokens-G4VKTABI.js → tokens-RXJLVZKD.js} +2 -2
- package/dist/{transcribe-JRSQRPVH.js → transcribe-IM5UNBSH.js} +6 -6
- package/dist/{transcribe-Y46B2ZVD.js → transcribe-UDISJXCZ.js} +12 -12
- package/dist/{updateCheck-NGYDWGQL.js → updateCheck-V2RXHFQL.js} +2 -2
- package/dist/{upgrade-M2LQP5S7.js → upgrade-MJI3EW3W.js} +2 -2
- package/dist/{urlDownloader-UFDUP3VF.js → urlDownloader-BOLOMGC7.js} +4 -4
- package/dist/{validate-B3AUFCC5.js → validate-IM5NPJHI.js} +20 -20
- package/dist/{video-WLCNVSVU.js → video-HUNOZDLT.js} +5 -5
- package/package.json +1 -1
- package/dist/chunk-QE7XLLGT.js +0 -3803
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GBWSBTEE.js";
|
|
23
23
|
import {
|
|
24
24
|
MEDIA_LINK_ATTR,
|
|
25
25
|
relinkSplitHalves
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
scanProjectMediaCodecMap,
|
|
55
55
|
shouldPrewarmProxy,
|
|
56
56
|
waitForProxy
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AGHHZIZN.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_WINDOW_IDLE_MS,
|
|
60
60
|
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
@@ -93,9 +93,8 @@ import {
|
|
|
93
93
|
SYSTEM_FONT_SIZE_LIMIT,
|
|
94
94
|
collectFontFileEntries,
|
|
95
95
|
fontDirectories,
|
|
96
|
-
getSystemProfilerFamilies,
|
|
97
96
|
locateSystemFont
|
|
98
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-7FMUTGOH.js";
|
|
99
98
|
import {
|
|
100
99
|
atomicTempPath,
|
|
101
100
|
createFileAtomically,
|
|
@@ -103,7 +102,7 @@ import {
|
|
|
103
102
|
} from "./chunk-EOVYQ3IG.js";
|
|
104
103
|
import {
|
|
105
104
|
addScenePartsManifest
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-FAORS3UR.js";
|
|
107
106
|
import {
|
|
108
107
|
ensureHfIds,
|
|
109
108
|
stampHfIdsInPlace
|
|
@@ -117,7 +116,7 @@ import {
|
|
|
117
116
|
parseFps,
|
|
118
117
|
parsePreviewProxyBox,
|
|
119
118
|
sameInstant
|
|
120
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-QZUVPWC4.js";
|
|
121
120
|
import {
|
|
122
121
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
123
122
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -131,7 +130,7 @@ import {
|
|
|
131
130
|
resolveRateSpec,
|
|
132
131
|
sourceTimeAt,
|
|
133
132
|
stripEmbeddedRuntimeScripts
|
|
134
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-6M3IPJS6.js";
|
|
135
134
|
import {
|
|
136
135
|
HTML_ATTRIBUTE_ENTITIES,
|
|
137
136
|
MagicString,
|
|
@@ -5497,7 +5496,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5497
5496
|
let block = extractGsapScriptBlock(html);
|
|
5498
5497
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5499
5498
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5500
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5499
|
+
const { GSAP_CDN } = await import("./dist-IDZRZHGE.js");
|
|
5501
5500
|
const bootstrap = [
|
|
5502
5501
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5503
5502
|
"<script>",
|
|
@@ -9183,10 +9182,6 @@ function collectFontsFromDir(dir) {
|
|
|
9183
9182
|
function listInstalledFontFamilies() {
|
|
9184
9183
|
if (cachedFonts) return cachedFonts;
|
|
9185
9184
|
const families = /* @__PURE__ */ new Set();
|
|
9186
|
-
for (const family of getSystemProfilerFamilies()) {
|
|
9187
|
-
families.add(family);
|
|
9188
|
-
if (families.size >= MAX_FONT_RESULTS) break;
|
|
9189
|
-
}
|
|
9190
9185
|
for (const dir of fontDirectories()) {
|
|
9191
9186
|
for (const family of collectFontsFromDir(dir)) {
|
|
9192
9187
|
families.add(family);
|
|
@@ -9685,10 +9680,11 @@ function nextStep(history, direction) {
|
|
|
9685
9680
|
return { id: target.id, label: target.label, endedAt: target.endedAt, paths };
|
|
9686
9681
|
}
|
|
9687
9682
|
async function withHistory(adapter, c, task) {
|
|
9688
|
-
const history = await historyOf(adapter, c);
|
|
9689
|
-
if (!history) return c.json({ error: "This project has no history here." }, 404);
|
|
9690
9683
|
try {
|
|
9691
|
-
|
|
9684
|
+
const history = await historyOf(adapter, c);
|
|
9685
|
+
if (!history) return c.json({ error: "This project has no history here." }, 404);
|
|
9686
|
+
const result = await task(history, await bodyOf(c));
|
|
9687
|
+
return result instanceof Response ? result : c.json(result ?? null);
|
|
9692
9688
|
} catch (error) {
|
|
9693
9689
|
return c.json({ error: error instanceof Error ? error.message : String(error) }, 409);
|
|
9694
9690
|
}
|
|
@@ -9744,14 +9740,14 @@ function registerHistoryRoutes(api, adapter) {
|
|
|
9744
9740
|
return { ok: true };
|
|
9745
9741
|
})
|
|
9746
9742
|
);
|
|
9747
|
-
api.get(
|
|
9748
|
-
|
|
9749
|
-
|
|
9750
|
-
|
|
9751
|
-
|
|
9752
|
-
|
|
9753
|
-
|
|
9754
|
-
|
|
9743
|
+
api.get(
|
|
9744
|
+
`${base}/blob/:hash`,
|
|
9745
|
+
(c) => withHistory(adapter, c, async (history) => {
|
|
9746
|
+
const hash = c.req.param("hash") ?? "";
|
|
9747
|
+
const bytes = /^[0-9a-f]{64}$/.test(hash) ? await history.readBlob(hash).catch(() => null) : null;
|
|
9748
|
+
return bytes ? c.body(new Uint8Array(bytes)) : c.json({ error: "That file is not kept in this project's history." }, 404);
|
|
9749
|
+
})
|
|
9750
|
+
);
|
|
9755
9751
|
api.post(
|
|
9756
9752
|
`${base}/claim`,
|
|
9757
9753
|
(c) => withHistory(adapter, c, async (history, body) => {
|
|
@@ -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-KUW4LWY6.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PECICVTJ.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V2T7FFPB.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-AWSVUIWG.js";
|
|
24
24
|
import {
|
|
25
25
|
formatSrt,
|
|
26
26
|
formatVtt,
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
trackLintReport,
|
|
9
9
|
trackLintRuleStreak
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4B6PUT4R.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FSP2JNAP.js";
|
|
14
14
|
import {
|
|
15
15
|
LINT_RULE_COUNT,
|
|
16
16
|
LINT_RULE_GROUP_COUNTS
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-V2T7FFPB.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-AWSVUIWG.js";
|
|
28
28
|
import {
|
|
29
29
|
PARAKEET_MODEL_LABEL,
|
|
30
30
|
SHERPA_ERROR_PREFIX,
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
DEFAULT_VP9_CPU_USED,
|
|
9
9
|
isHttpUrl,
|
|
10
10
|
runFfmpeg
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-VKFYI7AQ.js";
|
|
12
12
|
import {
|
|
13
13
|
parseAnimatedGifMetadata
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QZUVPWC4.js";
|
|
15
15
|
import {
|
|
16
16
|
parseHTML
|
|
17
17
|
} from "./chunk-SDYDNHEE.js";
|
|
@@ -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-UQPH3Y45.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
resolveConfig,
|
|
9
9
|
usesSoftwareWebGpu
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VKFYI7AQ.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-VFTQPSQD.js");
|
|
21
21
|
return resolveBrowserGpuMode(requestedMode, { chromePath, probeLifecycle });
|
|
22
22
|
}
|
|
23
23
|
function resolveLocalWebGpu(browserGpuMode, requiresWebGpu) {
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2E7NDKTN.js";
|
|
12
12
|
import {
|
|
13
13
|
publishRegistryFile,
|
|
14
14
|
registryTargetPath
|
|
15
15
|
} from "./chunk-GMECXFAN.js";
|
|
16
16
|
import {
|
|
17
17
|
validateVariables
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QZUVPWC4.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
parseStrictFiniteTimingNumber,
|
|
10
10
|
resolveNaturalMediaTimelineDuration,
|
|
11
11
|
resolveTimedImageDurationSeconds
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6M3IPJS6.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);
|
|
@@ -7,10 +7,10 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
parseFeedbackRating,
|
|
9
9
|
trackRenderFeedback
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4B6PUT4R.js";
|
|
11
11
|
import {
|
|
12
12
|
shouldTrack
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FSP2JNAP.js";
|
|
14
14
|
import {
|
|
15
15
|
detectAgentRuntime
|
|
16
16
|
} from "./chunk-QWQ6GQTI.js";
|
|
@@ -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-PXA4S6OE.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
|
}
|
|
@@ -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.170" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.170" : "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
|
readCompositionFps
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JAERN4RH.js";
|
|
10
10
|
import {
|
|
11
11
|
findSyncPartner,
|
|
12
12
|
readLinkTiming,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
extractMediaMetadata,
|
|
19
19
|
resolveReferencedDuration,
|
|
20
20
|
resolveReferencedStart
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VKFYI7AQ.js";
|
|
22
22
|
import {
|
|
23
23
|
byStart,
|
|
24
24
|
compositionOriginSeconds,
|
|
@@ -27,14 +27,14 @@ import {
|
|
|
27
27
|
hostInPointSeconds,
|
|
28
28
|
parseFpsWithDefault,
|
|
29
29
|
resolveMediaStartSeconds
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QZUVPWC4.js";
|
|
31
31
|
import {
|
|
32
32
|
HF_AUDIO_AUTOMATION_ATTR,
|
|
33
33
|
HF_AUDIO_FX_ATTR,
|
|
34
34
|
parseAudioFxChain,
|
|
35
35
|
parseAutomation,
|
|
36
36
|
resolveAutomation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-6M3IPJS6.js";
|
|
38
38
|
import {
|
|
39
39
|
isSubCompositionHost,
|
|
40
40
|
topLevelElements,
|