hyperframes 0.8.162 → 0.8.163
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-UW7GCPQF.js → add-Y7BGO2MK.js} +11 -11
- package/dist/{animatedGifPrep-YAJTDXB7.js → animatedGifPrep-NUU6VMFL.js} +5 -5
- package/dist/api.js +11 -11
- package/dist/{asset-TWBPYQOL.js → asset-OONPCZS5.js} +2 -2
- package/dist/{assetCataloger-BIDQA34M.js → assetCataloger-YWJRJK23.js} +2 -2
- package/dist/{audio-DJIE4YLH.js → audio-KPTXNHDC.js} +10 -10
- package/dist/{auth-VTCEZYBT.js → auth-UKXSZ4WA.js} +1 -1
- package/dist/{autoUpdate-JA3SV472.js → autoUpdate-4MRUONUQ.js} +2 -2
- package/dist/{backgroundChecks-J3WJDPQJ.js → backgroundChecks-X5M7Z6L7.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-C2JCG5EK.js → batchRender-GJ65EZ26.js} +3 -3
- package/dist/{beats-QVJVXZV5.js → beats-EQNT7OZE.js} +4 -4
- package/dist/{benchmark-WNBAKOXS.js → benchmark-WXWALVZJ.js} +8 -8
- package/dist/{browser-VJOTRIXL.js → browser-ZSNFVRC3.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-SLBVWQ7O.js → bundleWithLocalizedFonts-O3BXZLCD.js} +2 -2
- package/dist/{capture-GUO23PVN.js → capture-JFFYE7XM.js} +2 -2
- package/dist/{capture-M5ZAD3BI.js → capture-TKWJBFGC.js} +9 -9
- package/dist/{catalog-SAC4GFIN.js → catalog-LK5MNUQY.js} +11 -11
- package/dist/{catch-up-T5RIRFJF.js → catch-up-ISTWIF6K.js} +4 -4
- package/dist/{check-IRETF27J.js → check-YVEBXKNY.js} +30 -30
- package/dist/{checkBrowser-5IXR4QCK.js → checkBrowser-OJAXYTRD.js} +28 -27
- package/dist/{chunk-VXVRPIJA.js → chunk-23IS5QVP.js} +69 -1
- package/dist/{chunk-B5FZ2CQM.js → chunk-2ALJMIFW.js} +1 -1
- package/dist/{chunk-ZEWX3GHP.js → chunk-2XIPB4MP.js} +1 -1
- package/dist/{chunk-RTS7BGEC.js → chunk-3E3VMAAM.js} +1 -1
- package/dist/{chunk-MMV6IY6U.js → chunk-3KY7FUSS.js} +2 -2
- package/dist/{chunk-XTLV6UVP.js → chunk-3TKNBY6K.js} +2 -2
- package/dist/{chunk-LYIG2GZ5.js → chunk-42AER3PM.js} +1 -1
- package/dist/{chunk-5K34RPE5.js → chunk-43H7XDO6.js} +2 -2
- package/dist/{chunk-B7RUGHBT.js → chunk-4LXWLCIX.js} +1 -1
- package/dist/{chunk-GS5EXZBV.js → chunk-54E2ELUA.js} +9 -9
- package/dist/{chunk-4ID635FL.js → chunk-5K5YH6M7.js} +1 -1
- package/dist/{chunk-GJQHHAAX.js → chunk-74H5SHQL.js} +3 -3
- package/dist/{chunk-PLEMSN3E.js → chunk-A356JY2J.js} +29 -19
- package/dist/{chunk-OMJA7JP6.js → chunk-AFPGUKMN.js} +4 -4
- package/dist/{chunk-RGYEL7QD.js → chunk-AXATVUCD.js} +3 -3
- package/dist/{chunk-GG37I7B3.js → chunk-BHGIBGUZ.js} +1 -1
- package/dist/{chunk-5YSHR4XC.js → chunk-CXVBPW5F.js} +6 -6
- package/dist/{chunk-GIPNECWL.js → chunk-D5PUMG2P.js} +1 -1
- package/dist/{chunk-D33YJZOH.js → chunk-DSXDYQQV.js} +1 -1
- package/dist/{chunk-PPF65XAF.js → chunk-GD7VU7CY.js} +1 -1
- package/dist/{chunk-ERTJPFCH.js → chunk-H3JGPRWA.js} +1 -1
- package/dist/{chunk-EVRUR7DW.js → chunk-H45RC6HN.js} +1 -1
- package/dist/{chunk-DJZEIVAP.js → chunk-H46R2BND.js} +1 -1
- package/dist/{chunk-YLBV2PXM.js → chunk-HQMWZNO2.js} +12 -1
- package/dist/{chunk-XWWYGXJ5.js → chunk-JEW5CCRU.js} +2 -2
- package/dist/{chunk-FF5TAEPT.js → chunk-JYR3YAAK.js} +1 -1
- package/dist/{chunk-JJYFRAI4.js → chunk-LHETZ63N.js} +1 -1
- package/dist/{chunk-G642IIVK.js → chunk-LMHXUDSR.js} +1 -1
- package/dist/{chunk-NQR5SBXX.js → chunk-M4237QMQ.js} +1 -1
- package/dist/{chunk-YJKUE3LV.js → chunk-NU4PDQ6G.js} +1 -1
- package/dist/{chunk-Q3TFX4OZ.js → chunk-NZ7K76Y2.js} +1 -1
- package/dist/{chunk-MP676E4B.js → chunk-O2CXBATN.js} +4 -3
- package/dist/{chunk-PBNV5V5G.js → chunk-OFD2XWIQ.js} +13 -2
- package/dist/{chunk-KAKBRDU4.js → chunk-OGGPNDGO.js} +2 -2
- package/dist/{chunk-3LQEZ4EI.js → chunk-OZUYK6IS.js} +1 -1
- package/dist/{chunk-N2NDDTYW.js → chunk-QGYAHDOR.js} +2 -2
- package/dist/{chunk-ON2HYNGB.js → chunk-QXAXCRK5.js} +6 -6
- package/dist/{chunk-2ZLYSXZC.js → chunk-R64V3KQN.js} +10 -9
- package/dist/{chunk-T65MIV36.js → chunk-SQN7N27A.js} +3 -3
- package/dist/{chunk-KIJO75L4.js → chunk-TQMJKZS5.js} +18 -4
- package/dist/{chunk-P4QE7SSN.js → chunk-ULAB77ZO.js} +1 -1
- package/dist/{chunk-YU2QRNWN.js → chunk-UZOZ2W2E.js} +3 -2
- package/dist/{chunk-3NSVHCOH.js → chunk-VG3ZMY2H.js} +2 -2
- package/dist/{chunk-GNFWKGSQ.js → chunk-WJVDUUH2.js} +2 -2
- package/dist/{chunk-S6OLD4SL.js → chunk-WMXOKTGO.js} +7 -7
- package/dist/{chunk-T5BG7PYZ.js → chunk-Z6P5OVCF.js} +1 -1
- package/dist/{chunk-SB5DX6AD.js → chunk-Z6VBXCYN.js} +2 -2
- package/dist/{chunk-P47XYVEQ.js → chunk-ZJO4SLHC.js} +1 -1
- package/dist/{chunk-AAUK5GDI.js → chunk-ZVOCFUPA.js} +9 -9
- package/dist/{clean-WB62QULT.js → clean-PGEA3UPT.js} +11 -11
- package/dist/cli.js +53 -53
- package/dist/{cloud-E5WB4DWZ.js → cloud-SAODZ2PK.js} +4 -4
- package/dist/{cloudrun-BIQXBUDO.js → cloudrun-RMBT2JQK.js} +3 -3
- package/dist/commands/layout-audit.browser.js +347 -20
- package/dist/{compare-GHFVHZ5A.js → compare-R7X7LXCX.js} +22 -22
- package/dist/{compiler-57M6W5WY.js → compiler-RKH75FZH.js} +2 -2
- package/dist/{component-ZGCC3MHX.js → component-DTVCMTLX.js} +3 -3
- package/dist/{compositions-THPEDDIX.js → compositions-UXS2ISGS.js} +9 -9
- package/dist/{delete-6FWT7DZX.js → delete-LIGHRH4L.js} +2 -2
- package/dist/{dist-4JFB3WAR.js → dist-P5OHBFEV.js} +2 -2
- package/dist/{doctor-RDGDOUC4.js → doctor-6VR5JUWZ.js} +7 -7
- package/dist/{events-VHXICDA2.js → events-YP2MRCPP.js} +2 -2
- package/dist/{events-CU6FDXHC.js → events-ZQFIOH5Z.js} +3 -3
- package/dist/{feedback-PUPN6EKP.js → feedback-47UEIUOO.js} +7 -7
- package/dist/{figma-ZKWBF7QH.js → figma-ZTHHEDY5.js} +3 -3
- package/dist/fontLocalizeCli.js +7 -7
- package/dist/{get-JHIBQRPM.js → get-EZGQNT7G.js} +2 -2
- package/dist/{gpuPolicy-VGE3I5J4.js → gpuPolicy-SYV7N237.js} +5 -5
- package/dist/{grade-compare-GPLUXDPW.js → grade-compare-SEFOAA4E.js} +22 -22
- package/dist/{help-GO6RGM37.js → help-WIZONGVE.js} +1 -1
- package/dist/{history-RUTC4SH5.js → history-PE45CSGA.js} +6 -6
- package/dist/hyperframe-runtime.js +23 -23
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +23 -23
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-773VXW37.js → info-WIRSMQKB.js} +7 -7
- package/dist/{init-YXSIRYZI.js → init-N26RW4YN.js} +20 -20
- package/dist/{inspect-L4RRJEAA.js → inspect-XHQUASDV.js} +23 -23
- package/dist/{installer-T3STEB4U.js → installer-QWK7EA5M.js} +4 -4
- package/dist/{keyframes-P5IOQ6AM.js → keyframes-RNTYYHMK.js} +6 -6
- package/dist/{lambda-RAJA6ZNA.js → lambda-LQHGF3LK.js} +4 -4
- package/dist/{layout-OH2VTN5E.js → layout-YRCKPNAO.js} +23 -23
- package/dist/{lint-YEEPVE6Q.js → lint-HLOZHJVM.js} +6 -6
- package/dist/{list-QURRZTVN.js → list-X7NTQB32.js} +2 -2
- package/dist/{login-DFT4L5YY.js → login-S7PVNUEB.js} +4 -4
- package/dist/{media-treatment-ERQ2PBIN.js → media-treatment-465Y6CWE.js} +8 -8
- package/dist/{models-OA4MXEYG.js → models-J2FZXHMD.js} +8 -8
- package/dist/{motionShot-C2YDYRNB.js → motionShot-K6OBEZ2N.js} +11 -11
- package/dist/{normalize-audio-R23VODOA.js → normalize-audio-VODIXLAC.js} +4 -4
- package/dist/{open-GEOB4L3S.js → open-K5OZGYJ7.js} +4 -4
- package/dist/{parakeetRunner-DBLHMD5T.js → parakeetRunner-NDIU5PKO.js} +8 -8
- package/dist/{pipeline-FSY65OQ4.js → pipeline-UKGI44NN.js} +5 -5
- package/dist/{play-BYUS37GA.js → play-QOXKOZ6L.js} +16 -16
- package/dist/{present-BZLRNHDY.js → present-7CVCJIS3.js} +12 -12
- package/dist/{preview-TXML6PQ7.js → preview-HX5F6RGT.js} +15 -15
- package/dist/{producer-C5V2A3YL.js → producer-66MQWVVQ.js} +1 -1
- package/dist/{projectConfig-X2IEHCSK.js → projectConfig-EVBNJKPS.js} +6 -6
- package/dist/{publication-JEANCWBW.js → publication-F6BOBZMI.js} +2 -2
- package/dist/{publish-VX5OH4ST.js → publish-6KTQDKL6.js} +8 -8
- package/dist/{remove-background-IXCISD26.js → remove-background-TJTKY3YM.js} +6 -6
- package/dist/{render-57SXH6NS.js → render-TRU75TVB.js} +42 -29
- package/dist/{render-ISUT7Q3X.js → render-X4MWSR5L.js} +3 -3
- package/dist/{render-JTY7XQFQ.js → render-XS22VQHC.js} +9 -9
- package/dist/{render-batch-2C6RUP3F.js → render-batch-VKFOIMV5.js} +3 -3
- package/dist/{resolver-KTNKZVIB.js → resolver-VGAM26OR.js} +4 -4
- package/dist/{sherpa-GFRG3TMM.js → sherpa-3OI5VMCY.js} +9 -7
- package/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +1 -1
- package/dist/{skills-2LBVMKVY.js → skills-RKDR4AXV.js} +5 -5
- package/dist/{skillsUpdateCheck-5DRXL565.js → skillsUpdateCheck-QWIERB7M.js} +3 -3
- package/dist/{snapshot-V2L77FCF.js → snapshot-SSSF334Y.js} +25 -25
- package/dist/{src-GPUDUKY6.js → src-LZXECBBQ.js} +4 -4
- package/dist/{src-IMCQRH4P.js → src-RQPKPFRO.js} +6 -6
- package/dist/{staticProjectServer-4CQ3KDQK.js → staticProjectServer-DMG2CER4.js} +12 -12
- package/dist/studio/assets/{hyperframes-player-CAclPB6q.js → hyperframes-player-oCk9rjq9.js} +1 -1
- package/dist/studio/assets/{index-DCwGKghK.js → index-BOQPXBQ0.js} +1 -1
- package/dist/studio/assets/{index-B82aOvgB.js → index-DK2wgdLx.js} +4 -4
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-RYCDLEOR.js → studio-api-KRPBPUYQ.js} +6 -6
- package/dist/{studioServer-B7H7EQ4U.js → studioServer-KWNULEM4.js} +54 -41
- package/dist/{telemetry-WVHWY3DU.js → telemetry-4G6CD3X7.js} +3 -3
- package/dist/{timeline-EDXJ5L45.js → timeline-TKPBJ4EP.js} +13 -13
- package/dist/{tokens-UNJONAXT.js → tokens-TX7THSB7.js} +2 -2
- package/dist/{transcribe-VX7ZE2IZ.js → transcribe-7DBONX4C.js} +12 -12
- package/dist/{transcribe-FL6NGWHF.js → transcribe-HOLKYWY5.js} +6 -6
- package/dist/{updateCheck-NLH5E44Q.js → updateCheck-64D7B73Z.js} +2 -2
- package/dist/{upgrade-RGQJA2B4.js → upgrade-MXQDGGYO.js} +2 -2
- package/dist/{urlDownloader-KDJGLR2Y.js → urlDownloader-Z435W35E.js} +4 -4
- package/dist/{validate-4AN4PDV7.js → validate-5ZNGP5QO.js} +17 -17
- package/dist/{video-AHO4CDCK.js → video-62JJK3XL.js} +5 -5
- package/package.json +1 -1
|
@@ -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-3E3VMAAM.js";
|
|
10
10
|
import {
|
|
11
11
|
DecodeCancelled,
|
|
12
12
|
prepareSherpaWav,
|
|
13
13
|
sherpaUnsupportedReason,
|
|
14
14
|
transcribeWithSherpa
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-O2CXBATN.js";
|
|
16
16
|
import {
|
|
17
17
|
initialModelForLanguage,
|
|
18
18
|
transcribe
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-H46R2BND.js";
|
|
20
20
|
import {
|
|
21
21
|
createRenderCancellationScope,
|
|
22
22
|
stoppedByCancelSignal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LMHXUDSR.js";
|
|
24
24
|
import {
|
|
25
25
|
formatSrt,
|
|
26
26
|
formatVtt,
|
|
@@ -7,7 +7,7 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
getMimeType,
|
|
9
9
|
injectMediaCodecMapIntoHtml
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CXVBPW5F.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-5K5YH6M7.js";
|
|
22
22
|
import {
|
|
23
23
|
resolveAutoProxy
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BHGIBGUZ.js";
|
|
25
25
|
import {
|
|
26
26
|
decodeWellFormedEscapes
|
|
27
27
|
} from "./chunk-BSQ7XANM.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
splitElementInHtml,
|
|
20
20
|
unwrapElementsFromHtml,
|
|
21
21
|
wrapElementsInHtml
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D5PUMG2P.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-5K5YH6M7.js";
|
|
58
58
|
import {
|
|
59
59
|
MAX_WINDOW_IDLE_MS,
|
|
60
60
|
STUDIO_SIGNATURE_MANIFEST_PATHS,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
} from "./chunk-EOVYQ3IG.js";
|
|
104
104
|
import {
|
|
105
105
|
addScenePartsManifest
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-42AER3PM.js";
|
|
107
107
|
import {
|
|
108
108
|
ensureHfIds,
|
|
109
109
|
stampHfIdsInPlace
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
parseFps,
|
|
118
118
|
parsePreviewProxyBox,
|
|
119
119
|
sameInstant
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
121
121
|
import {
|
|
122
122
|
AFTER_FONTS_SCRIPT_TYPE,
|
|
123
123
|
RUNTIME_BOOTSTRAP_ATTR,
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
resolveRateSpec,
|
|
132
132
|
sourceTimeAt,
|
|
133
133
|
stripEmbeddedRuntimeScripts
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
135
135
|
import {
|
|
136
136
|
HTML_ATTRIBUTE_ENTITIES,
|
|
137
137
|
MagicString,
|
|
@@ -5495,7 +5495,7 @@ async function prepareGsapMutationScript(c, res, firstMutation) {
|
|
|
5495
5495
|
let block = extractGsapScriptBlock(html);
|
|
5496
5496
|
if (!block && (firstMutation.type === "add" || firstMutation.type === "add-with-keyframes")) {
|
|
5497
5497
|
const compId = html.match(/data-composition-id="([^"]+)"/)?.[1] ?? "main";
|
|
5498
|
-
const { GSAP_CDN } = await import("./dist-
|
|
5498
|
+
const { GSAP_CDN } = await import("./dist-P5OHBFEV.js");
|
|
5499
5499
|
const bootstrap = [
|
|
5500
5500
|
`<script src="${GSAP_CDN}"></script>`,
|
|
5501
5501
|
"<script>",
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
flush,
|
|
9
9
|
shouldTrack,
|
|
10
10
|
trackEvent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2XIPB4MP.js";
|
|
12
12
|
import {
|
|
13
13
|
getPowerState
|
|
14
14
|
} from "./chunk-QWQ6GQTI.js";
|
|
@@ -145,6 +145,15 @@ function renderEnvironmentEventProperties(props) {
|
|
|
145
145
|
browser_path_drive: props.browserInstall?.drive
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
|
+
function renderCpuEventProperties(props) {
|
|
149
|
+
return {
|
|
150
|
+
cpu_busy_avg_pct: props.cpuBusyAvgPct,
|
|
151
|
+
cpu_busy_peak_pct: props.cpuBusyPeakPct,
|
|
152
|
+
cpu_cores_busy_peak: props.cpuCoresBusyPeak,
|
|
153
|
+
load_avg_start: props.loadAvgStart,
|
|
154
|
+
load_avg_end: props.loadAvgEnd
|
|
155
|
+
};
|
|
156
|
+
}
|
|
148
157
|
function redactTelemetryMessage(value) {
|
|
149
158
|
return redactTelemetryString(value);
|
|
150
159
|
}
|
|
@@ -293,6 +302,7 @@ function trackRenderComplete(props) {
|
|
|
293
302
|
source: props.source ?? "cli",
|
|
294
303
|
...renderOutputShapeEventProperties(props),
|
|
295
304
|
...renderEnvironmentEventProperties(props),
|
|
305
|
+
...renderCpuEventProperties(props),
|
|
296
306
|
composition_duration_ms: props.compositionDurationMs,
|
|
297
307
|
composition_width: props.compositionWidth,
|
|
298
308
|
composition_height: props.compositionHeight,
|
|
@@ -349,6 +359,7 @@ function trackRenderError(props) {
|
|
|
349
359
|
elapsed_ms: props.elapsedMs,
|
|
350
360
|
...renderOutputShapeEventProperties(props),
|
|
351
361
|
...renderEnvironmentEventProperties(props),
|
|
362
|
+
...renderCpuEventProperties(props),
|
|
352
363
|
peak_memory_mb: props.peakMemoryMb,
|
|
353
364
|
memory_free_mb: props.memoryFreeMb,
|
|
354
365
|
...powerStateFields(),
|
|
@@ -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-CXVBPW5F.js";
|
|
10
10
|
import {
|
|
11
11
|
injectTagsAtHeadStart
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
13
13
|
|
|
14
14
|
// src/utils/compositionServer.ts
|
|
15
15
|
import { createHash } from "crypto";
|
|
@@ -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-VG3ZMY2H.js";
|
|
10
10
|
|
|
11
11
|
// src/registry/compatibility.ts
|
|
12
12
|
import { compareVersions } from "compare-versions";
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
emitWords,
|
|
22
22
|
getPreparedWavDurationSeconds,
|
|
23
23
|
prepareWav
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-H46R2BND.js";
|
|
25
25
|
import {
|
|
26
26
|
stoppedByCancelSignal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LMHXUDSR.js";
|
|
28
28
|
import {
|
|
29
29
|
PARAKEET_MODEL_LABEL,
|
|
30
30
|
SHERPA_ERROR_PREFIX,
|
|
@@ -79,7 +79,7 @@ var PARAKEET_MODEL_FILES = [
|
|
|
79
79
|
sha256: "d58544679ea4bc6ac563d1f545eb7d474bd6cfa467f0a6e2c1dc1c7d37e3c35d"
|
|
80
80
|
}
|
|
81
81
|
];
|
|
82
|
-
var decodeTimeoutMs = (audioSeconds) => Math.max(18e5, audioSeconds * 2e3);
|
|
82
|
+
var decodeTimeoutMs = (audioSeconds) => Math.min(2 ** 31 - 1, Math.max(18e5, Math.ceil(audioSeconds * 2e3)));
|
|
83
83
|
var SUPPORTED_TARGETS = [
|
|
84
84
|
"darwin-arm64",
|
|
85
85
|
"darwin-x64",
|
|
@@ -381,6 +381,7 @@ async function transcribeWithSherpa(wavPath, dir, options) {
|
|
|
381
381
|
export {
|
|
382
382
|
SHERPA_RUNTIME_DIR,
|
|
383
383
|
PARAKEET_MODEL_DIR,
|
|
384
|
+
decodeTimeoutMs,
|
|
384
385
|
sherpaUnsupportedReason,
|
|
385
386
|
sherpaRuntimeLoadError,
|
|
386
387
|
sherpaPlatformPackage,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-AWDFDFI3.js";
|
|
15
15
|
import {
|
|
16
16
|
isBlockedNetworkHost
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-A356JY2J.js";
|
|
18
18
|
import {
|
|
19
19
|
DOMParser,
|
|
20
20
|
parseHTML
|
|
@@ -376,7 +376,13 @@ async function validEmbeddedImages(references) {
|
|
|
376
376
|
|
|
377
377
|
// src/capture/assetDownloader.ts
|
|
378
378
|
function noDrops() {
|
|
379
|
-
return {
|
|
379
|
+
return {
|
|
380
|
+
"size-floor": 0,
|
|
381
|
+
"size-ceiling": 0,
|
|
382
|
+
"budget-exhausted": 0,
|
|
383
|
+
"cap-reached": 0,
|
|
384
|
+
unavailable: 0
|
|
385
|
+
};
|
|
380
386
|
}
|
|
381
387
|
function mergeDrops(a, b) {
|
|
382
388
|
const total = noDrops();
|
|
@@ -523,6 +529,7 @@ async function downloadAssets(tokens, outputDir, catalogedAssets, faviconLinks,
|
|
|
523
529
|
ensureCaptureDirSync(outputDir, join(outputDir, "assets", "svgs"));
|
|
524
530
|
const usedSvgNames = /* @__PURE__ */ new Set();
|
|
525
531
|
const MAX_INLINE_SVGS = 30;
|
|
532
|
+
const MAX_INLINE_SVG_BYTES = 2 * 1024 * 1024;
|
|
526
533
|
drops["cap-reached"] += Math.max(0, tokens.svgs.length - MAX_INLINE_SVGS);
|
|
527
534
|
for (let i = 0; i < tokens.svgs.length && i < MAX_INLINE_SVGS; i++) {
|
|
528
535
|
const svg = tokens.svgs[i];
|
|
@@ -531,6 +538,10 @@ async function downloadAssets(tokens, outputDir, catalogedAssets, faviconLinks,
|
|
|
531
538
|
continue;
|
|
532
539
|
}
|
|
533
540
|
const svgFile = toStandaloneSvg(svg.outerHTML);
|
|
541
|
+
if (Buffer.byteLength(svgFile, "utf-8") > MAX_INLINE_SVG_BYTES) {
|
|
542
|
+
drops["size-ceiling"]++;
|
|
543
|
+
continue;
|
|
544
|
+
}
|
|
534
545
|
const slug = svgContentHashSlug(svgFile, !!svg.isLogo);
|
|
535
546
|
let finalSlug = slug;
|
|
536
547
|
let suffix = 2;
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
typeDirPath,
|
|
21
21
|
updateRecord,
|
|
22
22
|
withFigmaErrors
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-OZUYK6IS.js";
|
|
24
24
|
import {
|
|
25
25
|
defineCommand
|
|
26
26
|
} from "./chunk-S3S4TGEH.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-4G6CD3X7.js");
|
|
233
233
|
trackFigmaImport({
|
|
234
234
|
phase: "asset",
|
|
235
235
|
reused: results.every((r) => r.reused),
|
|
@@ -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-ZQFIOH5Z.js");
|
|
1282
1282
|
trackCommandFailure(
|
|
1283
1283
|
command,
|
|
1284
1284
|
err,
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
DEFAULT_REGISTRY_URL,
|
|
9
9
|
fetchItemFile,
|
|
10
10
|
validRegistryItem
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H45RC6HN.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-NZ7K76Y2.js";
|
|
19
19
|
import {
|
|
20
20
|
realProjectRoot
|
|
21
21
|
} from "./chunk-OFQWTKPW.js";
|
|
@@ -8,25 +8,25 @@ import {
|
|
|
8
8
|
launchManagedBrowser,
|
|
9
9
|
resolveManagedGpuMode,
|
|
10
10
|
rethrowAfterBrowserCleanup
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2ALJMIFW.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveCompositionViewportFromHtml
|
|
14
14
|
} from "./chunk-FH7WODJH.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveDiagnosticNavigationTimeoutMs,
|
|
17
17
|
windowsChromeCrashRemediation
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-H3JGPRWA.js";
|
|
19
19
|
import {
|
|
20
20
|
resolveLocalBrowserGpuMode,
|
|
21
21
|
resolveLocalWebGpu
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Z6VBXCYN.js";
|
|
23
23
|
import {
|
|
24
24
|
c
|
|
25
25
|
} from "./chunk-ZTZA4UWZ.js";
|
|
26
26
|
import {
|
|
27
27
|
assertWebGpuAdapterAvailable,
|
|
28
28
|
compositionRequiresWebGpu
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-A356JY2J.js";
|
|
30
30
|
import {
|
|
31
31
|
normalizeErrorMessage
|
|
32
32
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -108,9 +108,9 @@ async function openSettledCompositionPage(html, url, options) {
|
|
|
108
108
|
const { ensureBrowser, findSystemBrowser } = await import("./manager-HEUPD2YB.js");
|
|
109
109
|
const browser = await ensureBrowser({ signal: options.signal });
|
|
110
110
|
const puppeteer = await import("puppeteer-core");
|
|
111
|
-
const { buildChromeArgs } = await import("./src-
|
|
111
|
+
const { buildChromeArgs } = await import("./src-LZXECBBQ.js");
|
|
112
112
|
const requestedGpuMode = options.browserGpuMode ?? resolveCliChromeGpuMode();
|
|
113
|
-
const answer = (await import("./staticProjectServer-
|
|
113
|
+
const answer = (await import("./staticProjectServer-DMG2CER4.js")).inProcessAnswer(url);
|
|
114
114
|
const requiresWebGpu = compositionRequiresWebGpu(html);
|
|
115
115
|
let softwareWebGpu = false;
|
|
116
116
|
const launch = async (executablePath) => {
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
EncoderInterruptedError,
|
|
17
17
|
encoderFailureError,
|
|
18
18
|
prepareAnimatedGifInputs
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-3KY7FUSS.js";
|
|
20
20
|
import {
|
|
21
21
|
parseEncoderOptions
|
|
22
22
|
} from "./chunk-KLIKCX6Q.js";
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
validateEngineConfigSnapshot,
|
|
152
152
|
verifyDiskDrawElementSamples,
|
|
153
153
|
writeCapturedFrame
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-A356JY2J.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-42AER3PM.js";
|
|
168
168
|
import {
|
|
169
169
|
LOW_MEMORY_TOTAL_MB_THRESHOLD,
|
|
170
170
|
getCgroupMemoryLimitMb,
|
|
@@ -188,7 +188,7 @@ import {
|
|
|
188
188
|
resolveAbsoluteMediaStartSeconds,
|
|
189
189
|
resolveAuthoredTimingWindow,
|
|
190
190
|
toFps
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-NZ7K76Y2.js";
|
|
192
192
|
import {
|
|
193
193
|
COMPOSITION_SOURCE_URL,
|
|
194
194
|
HF_COLOR_GRADING_ATTR,
|
|
@@ -216,7 +216,7 @@ import {
|
|
|
216
216
|
shouldClampResolvedMediaDuration,
|
|
217
217
|
sourceTimeAt,
|
|
218
218
|
styleElementsFor
|
|
219
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-ZJO4SLHC.js";
|
|
220
220
|
import {
|
|
221
221
|
MAX_AUDIO_GAIN
|
|
222
222
|
} from "./chunk-UJKQWGFF.js";
|
|
@@ -5399,7 +5399,7 @@ function placeAudio(audio, window2) {
|
|
|
5399
5399
|
}
|
|
5400
5400
|
|
|
5401
5401
|
// ../core/dist/generated/position-edits-render-inline.js
|
|
5402
|
-
var POSITION_EDITS_RENDER_IIFE = '"use strict";(()=>{function T(){return globalThis}function P(e,t){if(typeof window>"u")return;let o=T(),r=o.__hf?.onSwallowed;if(r)try{r({label:e,error:t})}catch(s){}(o.__hfDebug||o.__HYPERFRAMES_DEBUG)&&console.debug(`[hyperframes] ${e} swallowed:`,t)}var x=null;function R(e,t){if(x)try{x({source:"hf-preview",type:"analytics",event:e,properties:t??{}})}catch(o){P("runtime.analytics.site1",o)}}var W="http://www.w3.org/1999/xhtml";function N(e){return e!=null&&e.nodeType===1}function k(e){return N(e)&&(e.namespaceURI===W||e.namespaceURI==="http://www.w3.org/2000/svg")}var w="data-hf-edit-base-x",y="data-hf-edit-base-y",m="data-hf-edit-original-translate",_=e=>{let t=parseFloat(e??"");return Number.isFinite(t)?t:0},O=e=>{let t=[],o=0,r="";for(let s of e.trim())s==="("&&(o+=1),s===")"&&(o=Math.max(0,o-1)),/\\s/.test(s)&&o===0?(r&&t.push(r),r=""):r+=s;return r&&t.push(r),t}
|
|
5402
|
+
var POSITION_EDITS_RENDER_IIFE = '"use strict";(()=>{function T(){return globalThis}function P(e,t){if(typeof window>"u")return;let o=T(),r=o.__hf?.onSwallowed;if(r)try{r({label:e,error:t})}catch(s){}(o.__hfDebug||o.__HYPERFRAMES_DEBUG)&&console.debug(`[hyperframes] ${e} swallowed:`,t)}var x=null;function R(e,t){if(x)try{x({source:"hf-preview",type:"analytics",event:e,properties:t??{}})}catch(o){P("runtime.analytics.site1",o)}}var W="http://www.w3.org/1999/xhtml";function N(e){return e!=null&&e.nodeType===1}function k(e){return N(e)&&(e.namespaceURI===W||e.namespaceURI==="http://www.w3.org/2000/svg")}var w="data-hf-edit-base-x",y="data-hf-edit-base-y",m="data-hf-edit-original-translate",_=e=>{let t=parseFloat(e??"");return Number.isFinite(t)?t:0},O=e=>{let t=[],o=0,r="";for(let s of e.trim())s==="("&&(o+=1),s===")"&&(o=Math.max(0,o-1)),/\\s/.test(s)&&o===0?(r&&t.push(r),r=""):r+=s;return r&&t.push(r),t},$=/^-?(?:\\d+(?:\\.\\d+)?|\\.\\d+)px$/,E=(e,t)=>$.test(e)&&$.test(t)?`${parseFloat(e)+parseFloat(t)}px`:`calc(${e} + ${t})`,C=(e,t,o)=>{if(!e||e==="none")return`${t} ${o}`;let[r,s,a]=O(e);if(r===void 0)return`${t} ${o}`;if(s===void 0)return`${E(r,t)} ${o}`;let i=a===void 0?"":` ${a}`;return`${E(r,t)} ${E(s,o)}${i}`},V=e=>{try{e.ownerDocument.defaultView?.gsap?.getProperty?.(e,"x")}catch{}},j=e=>{let t=e.style.getPropertyValue("translate").trim();if(t)return t==="none"?"":t;try{let o=e.ownerDocument.defaultView,r=o?o.getComputedStyle(e).getPropertyValue("translate").trim():"";return r==="none"?"":r}catch{return""}},b=new WeakMap;function B(e,t){let o=b.get(e);if(!t?.force&&o!==void 0&&e.style.getPropertyValue("translate")!==o){R("position_edit_fold_skipped",{hfId:e.getAttribute("data-hf-id")});return}let r=_(e.getAttribute("data-x"))-_(e.getAttribute(w)),s=_(e.getAttribute("data-y"))-_(e.getAttribute(y));e.hasAttribute(m)||e.setAttribute(m,j(e)),o===void 0&&V(e);let a=e.getAttribute(m)??"",i=C(a,`${r}px`,`${s}px`);e.style.setProperty("translate",i),b.set(e,e.style.getPropertyValue("translate"))}function S(e,t){let o=e.querySelectorAll(`[${m}]:not([${w}]):not([${y}])`);for(let a=0;a<o.length;a++){let i=o[a];if(i===void 0||!k(i))continue;let g=i.getAttribute(m)??"";g===""?i.style.removeProperty("translate"):i.style.setProperty("translate",g),i.removeAttribute(m),b.delete(i)}let r=e.querySelectorAll(`[${w}], [${y}]`),s=0;for(let a=0;a<r.length;a++){let i=r[a];i===void 0||!k(i)||(B(i,t),s+=1)}return s}var L="__hfPositionEditsSeekReapplyWrapped",D=new WeakSet,F=new WeakMap,M=new WeakMap;function H(e){let t=e,o=()=>{try{S(t.document)}catch{}},r=n=>typeof n=="function"&&(D.has(n)||!!n[L]),s=n=>{D.add(n);try{Object.defineProperty(n,L,{value:!0})}catch{}},a=n=>{if(typeof n!="function"||r(n))return n;let l=function(...u){let d=n.apply(this,u);return o(),d};return s(l),l},i=(n,l)=>{let u=F.get(n);if(u?.has(l))return!0;let d=Object.getOwnPropertyDescriptor(n,l);if(d?.configurable===!1){let c=n[l];return typeof c=="function"&&(n[l]=a(c),o()),!1}let p=n[l],f=d?.set;return Object.defineProperty(n,l,{configurable:!0,enumerable:d?.enumerable??!0,get:()=>p,set:c=>{p=a(c),f?.call(n,c)}}),p=a(p),u??(u=new Set),u.add(l),F.set(n,u),o(),!0},g=(n,l)=>{let u=M.get(t),d=Object.getOwnPropertyDescriptor(t,n);if(!u?.has(n)){if(d?.configurable===!1){let c=t[n];return c?i(c,l):!1}let f=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:d?.enumerable??!0,get:()=>f,set:c=>{f=c,f&&i(f,l)}}),u??(u=new Set),u.add(n),M.set(t,u)}let p=t[n];return p?i(p,l):!1},h=()=>{let n=g("__hf","seek"),l=g("__player","renderSeek");return n&&l};if(h())return;let v=120,A=t.setInterval(()=>{if(h()){t.clearInterval(A);return}v-=1,v<=0&&t.clearInterval(A)},50)}function I(){document.querySelector(`[${w}], [${y}]`)&&(S(document),H(window))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",I,{once:!0}):I();})();\n';
|
|
5403
5403
|
function getPositionEditsRenderScript() {
|
|
5404
5404
|
return POSITION_EDITS_RENDER_IIFE;
|
|
5405
5405
|
}
|
|
@@ -10047,7 +10047,8 @@ function formatSeconds(sec) {
|
|
|
10047
10047
|
}
|
|
10048
10048
|
function sanitizeProbeFailure(reason, paths) {
|
|
10049
10049
|
const message = reason instanceof Error ? reason.message : String(reason);
|
|
10050
|
-
|
|
10050
|
+
const keepFfmpegsLastLineUncapped = Number.POSITIVE_INFINITY;
|
|
10051
|
+
return redactTelemetryString(redactKnownPaths(message, paths), keepFfmpegsLastLineUncapped);
|
|
10051
10052
|
}
|
|
10052
10053
|
async function padOrTrimAudioToVideoFrameCount(input) {
|
|
10053
10054
|
const probeVideo = input.probeVideoFrameInfo ?? ((videoPath) => defaultProbeVideoFrameInfo(videoPath, input.signal));
|
|
@@ -14422,7 +14423,7 @@ function startServer(options = {}) {
|
|
|
14422
14423
|
});
|
|
14423
14424
|
async function shutdown(signal) {
|
|
14424
14425
|
log.info(`Received ${signal}, shutting down`);
|
|
14425
|
-
const { drainBrowserPool } = await import("./src-
|
|
14426
|
+
const { drainBrowserPool } = await import("./src-LZXECBBQ.js");
|
|
14426
14427
|
await drainBrowserPool().catch(() => {
|
|
14427
14428
|
});
|
|
14428
14429
|
const handle = await Promise.race([
|
|
@@ -15609,7 +15610,7 @@ async function buildLocalExecutionPlan(projectDir, config, executionPlanDir, opt
|
|
|
15609
15610
|
if (probeResult.fileServer) closeFileServerSafely(probeResult.fileServer, "plan", log);
|
|
15610
15611
|
if (probeResult.probeSession) {
|
|
15611
15612
|
try {
|
|
15612
|
-
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-
|
|
15613
|
+
const { closeCaptureSession: closeCaptureSession2 } = await import("./src-LZXECBBQ.js");
|
|
15613
15614
|
await closeCaptureSession2(probeResult.probeSession);
|
|
15614
15615
|
} catch (err) {
|
|
15615
15616
|
log.warn("[plan] probe session close failed", {
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
getUpdateMeta,
|
|
34
34
|
withMeta
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Z6P5OVCF.js";
|
|
36
36
|
import {
|
|
37
37
|
CONFIG_PATH,
|
|
38
38
|
withFileLock
|
|
39
39
|
} from "./chunk-XUXGIA7H.js";
|
|
40
40
|
import {
|
|
41
41
|
VERSION
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-VG3ZMY2H.js";
|
|
43
43
|
import {
|
|
44
44
|
OPTIONAL_PACKAGES,
|
|
45
45
|
installedOptionalPackageVersion
|
|
46
46
|
} from "./chunk-3DKN5WKL.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveExtractCacheDir
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-A356JY2J.js";
|
|
50
50
|
import {
|
|
51
51
|
normalizeErrorMessage
|
|
52
52
|
} from "./chunk-KNU5COPB.js";
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
updateNoticesSuppressed
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Z6P5OVCF.js";
|
|
10
10
|
import {
|
|
11
11
|
hostAnswers
|
|
12
12
|
} from "./chunk-K4WIOZFP.js";
|
|
@@ -66,14 +66,28 @@ var FALLBACK_CORE_SKILLS = [
|
|
|
66
66
|
"hyperframes-studio",
|
|
67
67
|
"media-use"
|
|
68
68
|
];
|
|
69
|
+
var RUNTIME_DIRS = /* @__PURE__ */ new Set([
|
|
70
|
+
"__pycache__",
|
|
71
|
+
".pytest_cache",
|
|
72
|
+
".mypy_cache",
|
|
73
|
+
".ruff_cache",
|
|
74
|
+
"node_modules"
|
|
75
|
+
]);
|
|
76
|
+
var RUNTIME_FILES = /* @__PURE__ */ new Set([".DS_Store", "Thumbs.db"]);
|
|
77
|
+
var RUNTIME_FILE_SUFFIXES = [".pyc", ".pyo", ".swp", ".swo", "~"];
|
|
78
|
+
function isRuntimeFile(name) {
|
|
79
|
+
return RUNTIME_FILES.has(name) || RUNTIME_FILE_SUFFIXES.some((s) => name.endsWith(s));
|
|
80
|
+
}
|
|
69
81
|
function listFilesSorted(dir) {
|
|
70
82
|
const out = [];
|
|
71
83
|
const walk = (d) => {
|
|
72
84
|
for (const name of readdirSync(d)) {
|
|
73
|
-
if (name === ".DS_Store") continue;
|
|
74
85
|
const p = join(d, name);
|
|
75
|
-
if (statSync(p).isDirectory())
|
|
76
|
-
|
|
86
|
+
if (statSync(p).isDirectory()) {
|
|
87
|
+
if (!RUNTIME_DIRS.has(name)) walk(p);
|
|
88
|
+
} else if (!isRuntimeFile(name)) {
|
|
89
|
+
out.push(p);
|
|
90
|
+
}
|
|
77
91
|
}
|
|
78
92
|
};
|
|
79
93
|
walk(dir);
|
|
@@ -204,6 +204,7 @@ async function metadataRequestError(response, fallback) {
|
|
|
204
204
|
return response.status === 401 ? new CredentialRejectedError(message) : new Error(message);
|
|
205
205
|
}
|
|
206
206
|
var LOGIN_EXPIRED = "Your login expired. Run hyperframes auth login, then publish again.";
|
|
207
|
+
var LOGIN_REQUIRED = "Publishing needs an account. Run hyperframes auth login to publish.";
|
|
207
208
|
var LOGIN_CHANGED = "Your login changed during publish. Run publish again.";
|
|
208
209
|
function rejectedCredentialMessage(credential) {
|
|
209
210
|
const envVar = envCredentialVar(credential.source);
|
|
@@ -619,8 +620,8 @@ async function publishProjectArchive(projectDir, opts = {}) {
|
|
|
619
620
|
throw new CredentialRejectedError("unclaimed publish");
|
|
620
621
|
}
|
|
621
622
|
} catch (error) {
|
|
622
|
-
if (error instanceof CredentialRejectedError
|
|
623
|
-
throw new Error(rejectedCredentialMessage(credential));
|
|
623
|
+
if (error instanceof CredentialRejectedError) {
|
|
624
|
+
throw new Error(credential ? rejectedCredentialMessage(credential) : LOGIN_REQUIRED);
|
|
624
625
|
}
|
|
625
626
|
throw error;
|
|
626
627
|
}
|
|
@@ -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.163" : "0.0.0-dev";
|
|
10
|
+
var PRODUCER_VERSION = true ? "0.8.163" : "0.0.0-dev";
|
|
11
11
|
|
|
12
12
|
export {
|
|
13
13
|
VERSION,
|