hyperframes 0.8.178 → 0.8.179
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-C4GN5ZDP.js → add-2CCBND75.js} +5 -5
- package/dist/api.js +8 -8
- package/dist/{asset-WTZ44Q7G.js → asset-7HOLVSD5.js} +2 -2
- package/dist/{audio-ZSWOKO3D.js → audio-356GVOLJ.js} +5 -5
- package/dist/{auth-EUSWPXME.js → auth-YHI5VR4X.js} +1 -1
- package/dist/{autoUpdate-WWXRJ2W7.js → autoUpdate-OP345EBV.js} +2 -2
- package/dist/{backgroundChecks-B2IJHAP6.js → backgroundChecks-6NVELE25.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{beats-OJT75KQY.js → beats-DQH5SOHM.js} +4 -4
- package/dist/{benchmark-EZTB4ITW.js → benchmark-2W2NPNLJ.js} +6 -6
- package/dist/{browser-DNHBS5C7.js → browser-SCM75524.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-GJAML42J.js → bundleWithLocalizedFonts-4F6HKLMZ.js} +1 -1
- package/dist/{catalog-YF23PXV2.js → catalog-MOSGL65T.js} +6 -6
- package/dist/{catch-up-YZZDUDRQ.js → catch-up-TCAZFTMO.js} +4 -4
- package/dist/{check-NVGQ5PMF.js → check-QVXSTHZB.js} +12 -12
- package/dist/{checkBrowser-JX22QQDH.js → checkBrowser-NF2CMWYR.js} +9 -9
- package/dist/chunk-2R5ZKWSV.js +26 -0
- package/dist/{chunk-HIP62XAW.js → chunk-2X4PQEYM.js} +1 -3
- package/dist/{chunk-HNMRB77F.js → chunk-5HZAIPHY.js} +1 -1
- package/dist/{chunk-DKGZR7QA.js → chunk-AEWZDKFS.js} +1 -1
- package/dist/{chunk-DNZMBQTH.js → chunk-AHPGAESX.js} +1 -1
- package/dist/{chunk-J4GE3BCG.js → chunk-BW2UQR4A.js} +4 -4
- package/dist/{chunk-Y6JLEN3P.js → chunk-C5XU53VP.js} +2 -2
- package/dist/{chunk-NL5F3AD4.js → chunk-CML25PAF.js} +2 -4
- package/dist/{chunk-U2AIXPAQ.js → chunk-COK5OUBX.js} +1 -1
- package/dist/{chunk-CJRGV2JW.js → chunk-CW3VIQMZ.js} +1 -1
- package/dist/{chunk-N6S6V2DY.js → chunk-DHKYJYOY.js} +1 -1
- package/dist/{chunk-C4FH67KI.js → chunk-DLF5KIBL.js} +2 -2
- package/dist/{chunk-FE2XTCTM.js → chunk-EEP5Y5IE.js} +1 -18
- package/dist/{chunk-YAPJOCSH.js → chunk-F3GML67X.js} +1 -1
- package/dist/{chunk-7IAVKLNC.js → chunk-HU4PBQGJ.js} +1 -1
- package/dist/{chunk-RTABHL2G.js → chunk-IHWI3KZY.js} +1 -1
- package/dist/{chunk-V6WIQWUB.js → chunk-ILLFG4RN.js} +2 -2
- package/dist/{chunk-O7PFPCQF.js → chunk-JRIXYXG3.js} +1334 -1252
- package/dist/{chunk-EBKIF46T.js → chunk-LBRJKTVY.js} +2 -2
- package/dist/{chunk-XBZOYP4D.js → chunk-M2DZX2DP.js} +1 -1
- package/dist/{chunk-G3M4BIFN.js → chunk-M5CJQ6EH.js} +1 -1
- package/dist/{chunk-74Z2T3YM.js → chunk-MK6D6HVT.js} +1 -1
- package/dist/{chunk-EINNFZAW.js → chunk-MXNKK7HY.js} +2 -2
- package/dist/{chunk-HFUMZZ4T.js → chunk-N3U7WHQK.js} +3 -3
- package/dist/{chunk-ZAO7FTQM.js → chunk-NTMCSIQB.js} +2 -2
- package/dist/{chunk-5PK3RLSB.js → chunk-OINJILMB.js} +1 -1
- package/dist/{chunk-62OXHKLS.js → chunk-OXP77SHD.js} +1 -1
- package/dist/{chunk-AR5MS234.js → chunk-Q73AGCTV.js} +3 -3
- package/dist/{chunk-AYEWZYYC.js → chunk-RJIJWETG.js} +1 -1
- package/dist/{chunk-UIXHQ4QG.js → chunk-VI7IQ2QF.js} +2 -2
- package/dist/{chunk-N66NVE65.js → chunk-WOXRCPJU.js} +1 -1
- package/dist/{chunk-PO2SDVQA.js → chunk-WQ6ZXHFQ.js} +3 -1
- package/dist/{chunk-UQEBSY5U.js → chunk-XX4ZYQR6.js} +1 -1
- package/dist/{clean-ODNP4ELD.js → clean-SJ2UIDKG.js} +4 -4
- package/dist/cli.js +52 -52
- package/dist/{cloud-2DACBBEP.js → cloud-DH7QGNPZ.js} +4 -4
- package/dist/{cloudrun-QSVGI2TT.js → cloudrun-ZA2ZH2VZ.js} +5 -3
- package/dist/{compare-HMMGOM4F.js → compare-5JNN5BHX.js} +4 -4
- package/dist/{component-C6OLXSIK.js → component-LJQWLOXZ.js} +3 -3
- package/dist/{compositions-MOGZ4ASK.js → compositions-UILNO2RF.js} +5 -5
- package/dist/{delete-MDAYHORQ.js → delete-WIO2MDPB.js} +2 -2
- package/dist/deploy-BUEYC7MP.js +196 -0
- package/dist/{destroy-BEL232I5.js → destroy-QBLMYDBF.js} +6 -3
- package/dist/{doctor-VEKKYMQT.js → doctor-5G2RXBQX.js} +3 -3
- package/dist/{events-CSKJXRJU.js → events-2LHNVY2F.js} +3 -3
- package/dist/{events-SKMTX6HF.js → events-BXODXMJ6.js} +2 -2
- package/dist/{feedback-64AKUFHZ.js → feedback-57END2CW.js} +4 -4
- package/dist/{figma-YEY76ZPG.js → figma-O5MO4GF5.js} +3 -3
- package/dist/fontLocalizeCli.js +2 -2
- package/dist/{get-YJS76PGZ.js → get-OEWPJ4HH.js} +2 -2
- package/dist/{grade-compare-35UEA52Z.js → grade-compare-PG2UOMHO.js} +4 -4
- package/dist/{help-I5TCDUVH.js → help-44J4SQTE.js} +1 -1
- package/dist/{history-7BKIWSP2.js → history-CUA53AOE.js} +6 -6
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-UEPOM2LV.js → info-UDXYDQVK.js} +5 -5
- package/dist/{init-HIB66K2S.js → init-CVT6HLW2.js} +16 -16
- package/dist/{inspect-634XIKDS.js → inspect-6F72RJQG.js} +6 -6
- package/dist/{keyframes-7BJX3EVE.js → keyframes-GJ7EEWW2.js} +5 -5
- package/dist/{lambda-Q4TRSMHZ.js → lambda-WFSBYU6U.js} +11 -16
- package/dist/{layout-6DUVSHEB.js → layout-SASENZOG.js} +6 -6
- package/dist/{lint-UPFD4JQZ.js → lint-JX57B52X.js} +6 -6
- package/dist/{list-M6OMQXJX.js → list-WG7NTE63.js} +2 -2
- package/dist/{login-QH6JDXDP.js → login-3NFLD65G.js} +4 -4
- package/dist/{manager-B4MSVFMK.js → manager-BKHRATMY.js} +2 -2
- package/dist/{media-treatment-SHFTIG4K.js → media-treatment-QI5F2SMU.js} +5 -5
- package/dist/{models-USEFHJFY.js → models-TXURF3J6.js} +4 -4
- package/dist/{normalize-audio-EP3HPQZB.js → normalize-audio-IEKL43N4.js} +4 -4
- package/dist/{open-HXZEXQ4X.js → open-GU3I75TB.js} +4 -4
- package/dist/{parakeetRunner-D5RSHQB2.js → parakeetRunner-S2QI3PCA.js} +5 -5
- package/dist/{pipeline-BDG52SPL.js → pipeline-OO2MYYIV.js} +2 -2
- package/dist/{play-LSRQ6R66.js → play-VL2WQCT3.js} +4 -4
- package/dist/{present-2VKAE63Q.js → present-YWSFX5CH.js} +4 -4
- package/dist/{preview-MWH5CHTN.js → preview-SMG6GXLY.js} +5 -5
- package/dist/{producer-W24FRIN7.js → producer-67RIQCWZ.js} +1 -1
- package/dist/{remove-background-JBOJAUIM.js → remove-background-HO2NBZCJ.js} +3 -3
- package/dist/{render-BROS2AIU.js → render-DH4CGGLO.js} +5 -5
- package/dist/{render-JCYFNDWT.js → render-MB7PW2YQ.js} +9 -9
- package/dist/{render-batch-FW56ZFGW.js → render-batch-4RPH66OX.js} +4 -1
- package/dist/{sam-IKPEJRRO.js → sam-MC24SZHC.js} +1 -1
- package/dist/{sherpa-GWYCXYEP.js → sherpa-LVXRZGE3.js} +4 -4
- package/dist/{sites-HZMADOA3.js → sites-3ZBYB5X4.js} +2 -1
- package/dist/{skills-YNM5SIHQ.js → skills-NDWQPEUD.js} +5 -5
- package/dist/{skillsUpdateCheck-FNC6VALY.js → skillsUpdateCheck-HZVZ3IUU.js} +3 -3
- package/dist/{snapshot-6EMEL4O3.js → snapshot-MCHWMAPH.js} +7 -7
- package/dist/{src-VUIKXEFU.js → src-E34ZBMAS.js} +1 -1
- package/dist/studio/assets/{hyperframes-player-Dfw61RJK.js → hyperframes-player-C0SyMC21.js} +1 -1
- package/dist/studio/assets/{index-eTRj5rY2.js → index-DHUassFP.js} +1 -1
- package/dist/studio/assets/{index-Bi6yVTq9.js → index-ueMRyAJ2.js} +150 -150
- package/dist/studio/index.html +1 -1
- package/dist/{studioServer-ZP2LJT7H.js → studioServer-XK5N6PIB.js} +8 -8
- package/dist/{synthesize-W2M7QGDV.js → synthesize-I2C24XJ5.js} +2 -2
- package/dist/{telemetry-HJQ7IO6R.js → telemetry-DD5ZIBOK.js} +3 -3
- package/dist/{timeline-CYW3YKMX.js → timeline-MJJEX5CU.js} +5 -5
- package/dist/{tokens-VOARLAAH.js → tokens-AKUZMYRE.js} +2 -2
- package/dist/{transcribe-F6UOG57Z.js → transcribe-ER7GGF4L.js} +3 -3
- package/dist/{transcribe-FJGNOR6R.js → transcribe-ZQI5P2LH.js} +9 -9
- package/dist/{tts-RE227GFP.js → tts-EDK3QS7M.js} +3 -3
- package/dist/{updateCheck-IOLCO3XV.js → updateCheck-GYFCXFWR.js} +2 -2
- package/dist/{upgrade-BVW67SB7.js → upgrade-UNWHMZP5.js} +2 -2
- package/dist/{validate-3NHIT4VT.js → validate-32CQZFNZ.js} +6 -6
- package/package.json +1 -1
- package/dist/deploy-3TTQZGTF.js +0 -116
package/dist/studio/index.html
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
document.documentElement.dataset.theme = "paper";
|
|
15
15
|
}
|
|
16
16
|
</script>
|
|
17
|
-
<script type="module" crossorigin src="/assets/index-
|
|
17
|
+
<script type="module" crossorigin src="/assets/index-ueMRyAJ2.js"></script>
|
|
18
18
|
<link rel="stylesheet" crossorigin href="/assets/index-CESvLzz0.css">
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
renderJobObservabilityTelemetryPayload,
|
|
9
9
|
renderObservabilityTelemetryPayload,
|
|
10
10
|
startRenderCpuSampler
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MK6D6HVT.js";
|
|
12
12
|
import {
|
|
13
13
|
HANDOFF_READY,
|
|
14
14
|
desktopDownloadUrl,
|
|
@@ -83,12 +83,12 @@ import "./chunk-5CS4T6C6.js";
|
|
|
83
83
|
import {
|
|
84
84
|
trackRenderComplete,
|
|
85
85
|
trackRenderError
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-COK5OUBX.js";
|
|
87
87
|
import {
|
|
88
88
|
canaryDecisionsForStudio,
|
|
89
89
|
resetTelemetryPostureCache,
|
|
90
90
|
shouldTrack
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-M5CJQ6EH.js";
|
|
92
92
|
import "./chunk-VWG7OQKU.js";
|
|
93
93
|
import {
|
|
94
94
|
bytesToMb,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
} from "./chunk-ISN5GRYI.js";
|
|
116
116
|
import {
|
|
117
117
|
VERSION
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-DLF5KIBL.js";
|
|
119
119
|
import {
|
|
120
120
|
isAtomicTempPath,
|
|
121
121
|
replaceFileAtomically
|
|
@@ -714,13 +714,13 @@ var RENDER_SHUTDOWN_WAIT_MS = 2e3;
|
|
|
714
714
|
var IMMUTABLE_CACHE_CONTROL = "public, max-age=31536000, immutable";
|
|
715
715
|
var REMOTE_GIF_IMG_SRC_RE = /<img\b[^>]*?\bsrc\s*=\s*["'](https?:\/\/[^"']+\.gif(?:[?#][^"']*)?)["'][^>]*>/gi;
|
|
716
716
|
async function loadStudioProducer() {
|
|
717
|
-
if (!isDevMode()) return await import("./src-
|
|
717
|
+
if (!isDevMode()) return await import("./src-E34ZBMAS.js");
|
|
718
718
|
if (!process.versions.bun) {
|
|
719
719
|
throw new Error(
|
|
720
720
|
"Studio dev-mode rendering requires bun (the producer is loaded from TypeScript source, which Node cannot resolve). Restart the studio with `bun run studio`."
|
|
721
721
|
);
|
|
722
722
|
}
|
|
723
|
-
return await import("./src-
|
|
723
|
+
return await import("./src-E34ZBMAS.js");
|
|
724
724
|
}
|
|
725
725
|
function resolveDistDir() {
|
|
726
726
|
return resolveStudioBundle().dir;
|
|
@@ -1171,7 +1171,7 @@ function createStudioServer(options) {
|
|
|
1171
1171
|
startBackgroundRemoval(opts) {
|
|
1172
1172
|
return createBackgroundRemovalJob(opts, async (renderOpts) => {
|
|
1173
1173
|
const sourcePipelinePath = "../background-removal/pipeline.ts";
|
|
1174
|
-
const pipeline = await import("./pipeline-
|
|
1174
|
+
const pipeline = await import("./pipeline-OO2MYYIV.js").catch(
|
|
1175
1175
|
() => import(sourcePipelinePath)
|
|
1176
1176
|
);
|
|
1177
1177
|
return pipeline.render(renderOpts);
|
|
@@ -1266,7 +1266,7 @@ function createStudioServer(options) {
|
|
|
1266
1266
|
return loadAllItems(blockAndComponentEntries, registry);
|
|
1267
1267
|
},
|
|
1268
1268
|
async installRegistryBlock(opts) {
|
|
1269
|
-
const { addToProject, primaryInstalledTarget } = await import("./add-
|
|
1269
|
+
const { addToProject, primaryInstalledTarget } = await import("./add-2CCBND75.js");
|
|
1270
1270
|
const { recordRewrittenInstall } = await import("./installer-ADKWK4I4.js");
|
|
1271
1271
|
const { registryTargetPath } = await import("./publication-7DW4IJPC.js");
|
|
1272
1272
|
const { result, item } = await addToProject({
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
ensureModel,
|
|
10
10
|
ensureVoices,
|
|
11
11
|
inferLangFromVoiceId
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AHPGAESX.js";
|
|
13
13
|
import {
|
|
14
14
|
findPython,
|
|
15
15
|
hasPythonPackage
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
writeNewFileSync
|
|
19
19
|
} from "./chunk-4YYJOFKS.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-WQ6ZXHFQ.js";
|
|
21
21
|
import "./chunk-M2WBOQ2Q.js";
|
|
22
22
|
|
|
23
23
|
// src/tts/synthesize.ts
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
trackInitTemplate,
|
|
18
18
|
trackRenderComplete,
|
|
19
19
|
trackRenderError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-COK5OUBX.js";
|
|
21
21
|
import {
|
|
22
22
|
flush,
|
|
23
23
|
flushSync,
|
|
24
24
|
shouldTrack,
|
|
25
25
|
showTelemetryNotice,
|
|
26
26
|
trackEvent
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-M5CJQ6EH.js";
|
|
28
28
|
import "./chunk-VWG7OQKU.js";
|
|
29
29
|
import {
|
|
30
30
|
bytesToMb,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
} from "./chunk-XUXGIA7H.js";
|
|
45
45
|
import "./chunk-WERLJGIC.js";
|
|
46
46
|
import "./chunk-ISN5GRYI.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-DLF5KIBL.js";
|
|
48
48
|
import "./chunk-XT6MXC7A.js";
|
|
49
49
|
import "./chunk-W2LGJSEN.js";
|
|
50
50
|
import "./chunk-634HSJ3J.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-BNGRVR3Y.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveProject
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XX4ZYQR6.js";
|
|
14
14
|
import {
|
|
15
15
|
applyFileMutations,
|
|
16
16
|
duplicateElementInHtml
|
|
@@ -35,8 +35,8 @@ import {
|
|
|
35
35
|
ensureDOMParser
|
|
36
36
|
} from "./chunk-442JNXRM.js";
|
|
37
37
|
import "./chunk-5CS4T6C6.js";
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-COK5OUBX.js";
|
|
39
|
+
import "./chunk-M5CJQ6EH.js";
|
|
40
40
|
import "./chunk-VWG7OQKU.js";
|
|
41
41
|
import "./chunk-T6AGUTZJ.js";
|
|
42
42
|
import {
|
|
@@ -59,12 +59,12 @@ import "./chunk-EVMY7IPL.js";
|
|
|
59
59
|
import "./chunk-7FMUTGOH.js";
|
|
60
60
|
import {
|
|
61
61
|
withMeta
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HU4PBQGJ.js";
|
|
63
63
|
import "./chunk-K4WIOZFP.js";
|
|
64
64
|
import "./chunk-XUXGIA7H.js";
|
|
65
65
|
import "./chunk-WERLJGIC.js";
|
|
66
66
|
import "./chunk-ISN5GRYI.js";
|
|
67
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-DLF5KIBL.js";
|
|
68
68
|
import "./chunk-EOVYQ3IG.js";
|
|
69
69
|
import "./chunk-XT6MXC7A.js";
|
|
70
70
|
import "./chunk-VU4JLRNH.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
tokensToVariables,
|
|
12
12
|
upsertBindings,
|
|
13
13
|
withFigmaErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5HZAIPHY.js";
|
|
15
15
|
import "./chunk-K2FLNJVB.js";
|
|
16
16
|
import {
|
|
17
17
|
defineCommand
|
|
@@ -76,7 +76,7 @@ var tokens_default = defineCommand({
|
|
|
76
76
|
console.log("add to data-composition-variables:");
|
|
77
77
|
console.log(JSON.stringify(result.entries, null, 2));
|
|
78
78
|
}
|
|
79
|
-
const { trackFigmaImport } = await import("./telemetry-
|
|
79
|
+
const { trackFigmaImport } = await import("./telemetry-DD5ZIBOK.js");
|
|
80
80
|
trackFigmaImport({
|
|
81
81
|
phase: "tokens",
|
|
82
82
|
tokensMode: result.mode,
|
|
@@ -18,10 +18,10 @@ import {
|
|
|
18
18
|
whisperModelSlowdownFactor,
|
|
19
19
|
withoutPaths,
|
|
20
20
|
wrapWhisperTimeoutError
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DHKYJYOY.js";
|
|
22
22
|
import "./chunk-XSQWXUK2.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-M2DZX2DP.js";
|
|
24
|
+
import "./chunk-WQ6ZXHFQ.js";
|
|
25
25
|
import "./chunk-5RS2FIZU.js";
|
|
26
26
|
import "./chunk-XT6MXC7A.js";
|
|
27
27
|
import "./chunk-VU4JLRNH.js";
|
|
@@ -6,8 +6,8 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
trackTranscribeUnavailable
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-COK5OUBX.js";
|
|
10
|
+
import "./chunk-M5CJQ6EH.js";
|
|
11
11
|
import "./chunk-VWG7OQKU.js";
|
|
12
12
|
import "./chunk-T6AGUTZJ.js";
|
|
13
13
|
import {
|
|
@@ -28,25 +28,25 @@ import "./chunk-K4WIOZFP.js";
|
|
|
28
28
|
import "./chunk-XUXGIA7H.js";
|
|
29
29
|
import "./chunk-WERLJGIC.js";
|
|
30
30
|
import "./chunk-ISN5GRYI.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-DLF5KIBL.js";
|
|
32
32
|
import {
|
|
33
33
|
MIN_TIMEOUT_MS,
|
|
34
34
|
TranscribeError,
|
|
35
35
|
runTranscribe
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-BW2UQR4A.js";
|
|
37
|
+
import "./chunk-WOXRCPJU.js";
|
|
38
|
+
import "./chunk-MXNKK7HY.js";
|
|
39
39
|
import "./chunk-NZZYJOMJ.js";
|
|
40
40
|
import "./chunk-3DKN5WKL.js";
|
|
41
41
|
import "./chunk-EOVYQ3IG.js";
|
|
42
42
|
import {
|
|
43
43
|
createProgressWriter
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-DHKYJYOY.js";
|
|
45
45
|
import "./chunk-XSQWXUK2.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_MODEL
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-M2DZX2DP.js";
|
|
49
|
+
import "./chunk-WQ6ZXHFQ.js";
|
|
50
50
|
import "./chunk-VHZ6DL3M.js";
|
|
51
51
|
import "./chunk-6BEFEWFB.js";
|
|
52
52
|
import "./chunk-5RS2FIZU.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
SUPPORTED_LANGS,
|
|
11
11
|
inferLangFromVoiceId,
|
|
12
12
|
isSupportedLang
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AHPGAESX.js";
|
|
14
14
|
import {
|
|
15
15
|
errorBox
|
|
16
16
|
} from "./chunk-K2FLNJVB.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
c
|
|
32
32
|
} from "./chunk-ZTZA4UWZ.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-WQ6ZXHFQ.js";
|
|
34
34
|
import "./chunk-M2WBOQ2Q.js";
|
|
35
35
|
|
|
36
36
|
// src/commands/tts.ts
|
|
@@ -152,7 +152,7 @@ var tts_default = defineCommand({
|
|
|
152
152
|
)
|
|
153
153
|
);
|
|
154
154
|
}
|
|
155
|
-
const { synthesize } = await import("./synthesize-
|
|
155
|
+
const { synthesize } = await import("./synthesize-I2C24XJ5.js");
|
|
156
156
|
const spin = args.json ? null : ft();
|
|
157
157
|
spin?.start(`Generating speech with ${c.accent(voice)} (${lang})...`);
|
|
158
158
|
try {
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
updateCheckDue,
|
|
17
17
|
updateNoticesSuppressed,
|
|
18
18
|
withMeta
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HU4PBQGJ.js";
|
|
20
20
|
import "./chunk-K4WIOZFP.js";
|
|
21
21
|
import "./chunk-XUXGIA7H.js";
|
|
22
22
|
import "./chunk-WERLJGIC.js";
|
|
23
23
|
import "./chunk-ISN5GRYI.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-DLF5KIBL.js";
|
|
25
25
|
import "./chunk-KNU5COPB.js";
|
|
26
26
|
import "./chunk-M2WBOQ2Q.js";
|
|
27
27
|
export {
|
|
@@ -28,14 +28,14 @@ import {
|
|
|
28
28
|
rewritePinnedHyperframesText,
|
|
29
29
|
rewriteProjectPinnedScripts,
|
|
30
30
|
withMeta
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-HU4PBQGJ.js";
|
|
32
32
|
import "./chunk-K4WIOZFP.js";
|
|
33
33
|
import "./chunk-XUXGIA7H.js";
|
|
34
34
|
import "./chunk-WERLJGIC.js";
|
|
35
35
|
import "./chunk-ISN5GRYI.js";
|
|
36
36
|
import {
|
|
37
37
|
VERSION
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-DLF5KIBL.js";
|
|
39
39
|
import "./chunk-KNU5COPB.js";
|
|
40
40
|
import "./chunk-M2WBOQ2Q.js";
|
|
41
41
|
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
shouldIgnoreHttpError,
|
|
14
14
|
shouldIgnoreRequestFailure,
|
|
15
15
|
validate_default
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-Q73AGCTV.js";
|
|
17
|
+
import "./chunk-XX4ZYQR6.js";
|
|
18
18
|
import "./chunk-3EJYUZHW.js";
|
|
19
19
|
import "./chunk-BGKZ37BC.js";
|
|
20
20
|
import "./chunk-TTVHYD5R.js";
|
|
@@ -33,8 +33,8 @@ import "./chunk-A2BB2XQU.js";
|
|
|
33
33
|
import "./chunk-442JNXRM.js";
|
|
34
34
|
import "./chunk-RGHQID2E.js";
|
|
35
35
|
import "./chunk-5CS4T6C6.js";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-COK5OUBX.js";
|
|
37
|
+
import "./chunk-M5CJQ6EH.js";
|
|
38
38
|
import "./chunk-VWG7OQKU.js";
|
|
39
39
|
import "./chunk-T6AGUTZJ.js";
|
|
40
40
|
import "./chunk-S3S4TGEH.js";
|
|
@@ -44,12 +44,12 @@ import "./chunk-ZTZA4UWZ.js";
|
|
|
44
44
|
import "./chunk-KLIKCX6Q.js";
|
|
45
45
|
import "./chunk-EVMY7IPL.js";
|
|
46
46
|
import "./chunk-7FMUTGOH.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-HU4PBQGJ.js";
|
|
48
48
|
import "./chunk-K4WIOZFP.js";
|
|
49
49
|
import "./chunk-XUXGIA7H.js";
|
|
50
50
|
import "./chunk-WERLJGIC.js";
|
|
51
51
|
import "./chunk-ISN5GRYI.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-DLF5KIBL.js";
|
|
53
53
|
import "./chunk-EOVYQ3IG.js";
|
|
54
54
|
import "./chunk-XT6MXC7A.js";
|
|
55
55
|
import "./chunk-VU4JLRNH.js";
|
package/package.json
CHANGED
package/dist/deploy-3TTQZGTF.js
DELETED
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
-
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
-
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
-
var require = __hf_createRequire(import.meta.url);
|
|
5
|
-
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
-
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import {
|
|
8
|
-
repoRoot
|
|
9
|
-
} from "./chunk-HIP62XAW.js";
|
|
10
|
-
import {
|
|
11
|
-
DEFAULT_STACK_NAME,
|
|
12
|
-
writeStackOutputs
|
|
13
|
-
} from "./chunk-H4YZZ2VQ.js";
|
|
14
|
-
import {
|
|
15
|
-
fetchStackOutputs,
|
|
16
|
-
locateSamTemplate,
|
|
17
|
-
samDeploy
|
|
18
|
-
} from "./chunk-NL5F3AD4.js";
|
|
19
|
-
import "./chunk-PBN6GBJE.js";
|
|
20
|
-
import {
|
|
21
|
-
c
|
|
22
|
-
} from "./chunk-ZTZA4UWZ.js";
|
|
23
|
-
import "./chunk-M2WBOQ2Q.js";
|
|
24
|
-
|
|
25
|
-
// src/commands/lambda/deploy.ts
|
|
26
|
-
import { spawnSync } from "child_process";
|
|
27
|
-
import { existsSync } from "fs";
|
|
28
|
-
import { join, resolve } from "path";
|
|
29
|
-
var DEFAULT_REGION = "us-east-1";
|
|
30
|
-
var DEFAULT_MEMORY_MB = 10240;
|
|
31
|
-
async function runDeploy(args = {}) {
|
|
32
|
-
const resolved = {
|
|
33
|
-
stackName: args.stackName ?? DEFAULT_STACK_NAME,
|
|
34
|
-
region: args.region ?? process.env.AWS_REGION ?? DEFAULT_REGION,
|
|
35
|
-
awsProfile: args.awsProfile ?? process.env.AWS_PROFILE,
|
|
36
|
-
reservedConcurrency: args.reservedConcurrency,
|
|
37
|
-
chromeSource: args.chromeSource ?? "sparticuz",
|
|
38
|
-
lambdaMemoryMb: args.lambdaMemoryMb ?? DEFAULT_MEMORY_MB,
|
|
39
|
-
skipBuild: args.skipBuild ?? false
|
|
40
|
-
};
|
|
41
|
-
const root = repoRoot();
|
|
42
|
-
locateSamTemplate(root);
|
|
43
|
-
if (!resolved.skipBuild) {
|
|
44
|
-
console.log(c.dim("\u2192 Building handler ZIP"));
|
|
45
|
-
buildHandlerZip(root);
|
|
46
|
-
} else {
|
|
47
|
-
const zip = join(root, "packages", "aws-lambda", "dist", "handler.zip");
|
|
48
|
-
if (!existsSync(zip)) {
|
|
49
|
-
throw new Error(
|
|
50
|
-
`--skip-build set but ${zip} does not exist. Run \`bun run --cwd packages/aws-lambda build:zip\` first or drop --skip-build.`
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
console.log(c.dim(`\u2192 sam deploy (stack=${resolved.stackName} region=${resolved.region})`));
|
|
55
|
-
samDeploy({
|
|
56
|
-
repoRoot: root,
|
|
57
|
-
stackName: resolved.stackName,
|
|
58
|
-
region: resolved.region,
|
|
59
|
-
awsProfile: resolved.awsProfile,
|
|
60
|
-
reservedConcurrency: resolved.reservedConcurrency,
|
|
61
|
-
lambdaMemoryMb: resolved.lambdaMemoryMb,
|
|
62
|
-
chromeSource: resolved.chromeSource
|
|
63
|
-
});
|
|
64
|
-
console.log(c.dim("\u2192 Reading stack outputs"));
|
|
65
|
-
const outputs = fetchStackOutputs({
|
|
66
|
-
stackName: resolved.stackName,
|
|
67
|
-
region: resolved.region,
|
|
68
|
-
awsProfile: resolved.awsProfile
|
|
69
|
-
});
|
|
70
|
-
const statePath = writeStackOutputs({
|
|
71
|
-
stackName: resolved.stackName,
|
|
72
|
-
region: resolved.region,
|
|
73
|
-
bucketName: outputs.bucketName,
|
|
74
|
-
stateMachineArn: outputs.stateMachineArn,
|
|
75
|
-
functionName: outputs.functionName,
|
|
76
|
-
lambdaMemoryMb: resolved.lambdaMemoryMb,
|
|
77
|
-
reservedConcurrency: outputs.reservedConcurrency,
|
|
78
|
-
deployedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
79
|
-
});
|
|
80
|
-
if (resolved.reservedConcurrency === -1) {
|
|
81
|
-
console.log(
|
|
82
|
-
c.warn(
|
|
83
|
-
"Removed the stack's reserved concurrency; each render now sizes itself to the account."
|
|
84
|
-
)
|
|
85
|
-
);
|
|
86
|
-
} else if (resolved.reservedConcurrency === void 0 && outputs.reservedConcurrency !== void 0) {
|
|
87
|
-
console.log(
|
|
88
|
-
c.warn(
|
|
89
|
-
`Kept the stack's reserved concurrency of ${outputs.reservedConcurrency}. Pass --concurrency=N to change it.`
|
|
90
|
-
)
|
|
91
|
-
);
|
|
92
|
-
}
|
|
93
|
-
console.log();
|
|
94
|
-
console.log(c.success("Stack deployed."));
|
|
95
|
-
console.log(` ${c.dim("Bucket:")} ${outputs.bucketName}`);
|
|
96
|
-
console.log(` ${c.dim("State machine:")} ${outputs.stateMachineArn}`);
|
|
97
|
-
console.log(` ${c.dim("Function:")} ${outputs.functionName}`);
|
|
98
|
-
console.log(` ${c.dim("State file:")} ${resolve(statePath)}`);
|
|
99
|
-
console.log();
|
|
100
|
-
console.log(c.dim(`Render with: hyperframes lambda render <project-dir>`));
|
|
101
|
-
}
|
|
102
|
-
function buildHandlerZip(root) {
|
|
103
|
-
const result = spawnSync(
|
|
104
|
-
"bun",
|
|
105
|
-
["run", "--cwd", join(root, "packages", "aws-lambda"), "build:zip"],
|
|
106
|
-
{ stdio: "inherit" }
|
|
107
|
-
);
|
|
108
|
-
if (result.status !== 0) {
|
|
109
|
-
throw new Error(
|
|
110
|
-
`[lambda deploy] handler ZIP build exited with code ${result.status ?? "unknown"}`
|
|
111
|
-
);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
export {
|
|
115
|
-
runDeploy
|
|
116
|
-
};
|