hyperframes 0.8.186 → 0.8.189
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-UGK7AZI6.js → add-TIKUM2YX.js} +12 -12
- package/dist/{animatedGifPrep-HPZPSB43.js → animatedGifPrep-25X4G5IE.js} +7 -7
- package/dist/api.js +15 -15
- package/dist/{asset-X2GTFWOY.js → asset-TPKLIP4R.js} +2 -2
- package/dist/{assetCataloger-5NWEG4IU.js → assetCataloger-PQAIV3FI.js} +7 -7
- package/dist/{audio-7PBM5F3H.js → audio-6RLPKB5X.js} +15 -15
- package/dist/{auth-WABSMO46.js → auth-O7QSTP6Y.js} +1 -1
- package/dist/{autoUpdate-6SCMLTSC.js → autoUpdate-TIEJODP7.js} +2 -2
- package/dist/{backgroundChecks-XOGPAAR3.js → backgroundChecks-K2AXYDYG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-VR6IA77K.js → batchRender-ORVWYJAH.js} +4 -4
- package/dist/{beats-3IWXLMSC.js → beats-2VTB2ATR.js} +4 -4
- package/dist/{benchmark-2SSYATCX.js → benchmark-NLNBL6YR.js} +9 -9
- package/dist/{browser-PMRN345D.js → browser-M5UV6VJB.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-TT32MZBO.js → bundleWithLocalizedFonts-EDD2XDS2.js} +2 -2
- package/dist/{capture-4VD6AKUJ.js → capture-JSYVNFKO.js} +10 -10
- package/dist/{capture-BDGYTE57.js → capture-WHWEE5FE.js} +2 -2
- package/dist/{captureCompositionFrame-5FVLAETA.js → captureCompositionFrame-JANGQCIA.js} +13 -13
- package/dist/{catalog-HUYZO5D7.js → catalog-MPOOKNSZ.js} +12 -12
- package/dist/{catch-up-SSGTR2ZT.js → catch-up-6KZV3UMZ.js} +4 -4
- package/dist/{check-JWUWHGM2.js → check-G273NWK7.js} +37 -36
- package/dist/{checkBrowser-X7G6YNR7.js → checkBrowser-G53E2ZQI.js} +32 -33
- package/dist/{chunk-WHMFW5ET.js → chunk-2CYM34M7.js} +3 -3
- package/dist/{chunk-HZ7M2MZA.js → chunk-37EPEFXM.js} +1 -1
- package/dist/{chunk-4XFFJAWS.js → chunk-3OLOVRWS.js} +1 -1
- package/dist/{chunk-ZIRIDSDB.js → chunk-3X6LH25W.js} +1 -1
- package/dist/{chunk-TH7J3JZ5.js → chunk-44TJOEH5.js} +92 -25
- package/dist/{chunk-K6KBOORN.js → chunk-4DZ3HBKF.js} +2 -2
- package/dist/{chunk-U7QTMRLW.js → chunk-4QFKGRTB.js} +2 -2
- package/dist/{chunk-7MVODWQF.js → chunk-5544QB3U.js} +1 -1
- package/dist/{chunk-7AUMTARQ.js → chunk-565X6Q4X.js} +3 -3
- package/dist/{chunk-J36JVBLR.js → chunk-5C7R55BJ.js} +1 -1
- package/dist/{chunk-YRAJDFIN.js → chunk-5HJJEHGE.js} +1 -1
- package/dist/{chunk-5UBZPG74.js → chunk-6A45RKAK.js} +1 -1
- package/dist/{chunk-ROWEDRVX.js → chunk-6RA4TWGV.js} +1 -1
- package/dist/{chunk-3YHGQJI6.js → chunk-74Y43RJZ.js} +3 -3
- package/dist/{chunk-4AFNEKU7.js → chunk-ANYBRVPF.js} +1 -1
- package/dist/{chunk-R6IGQ5NO.js → chunk-AQ3L7DVB.js} +2 -2
- package/dist/{chunk-LDW3KVGK.js → chunk-ASZ4IQB4.js} +2 -2
- package/dist/{chunk-DQZMJS2P.js → chunk-AYBKDHYD.js} +2 -2
- package/dist/{chunk-RVZNSKRH.js → chunk-B52BJM5K.js} +2 -2
- package/dist/{chunk-GTMBII7X.js → chunk-B634ZCY2.js} +1 -1
- package/dist/chunk-BPX7LZG6.js +3896 -0
- package/dist/{chunk-5ZMIVTHN.js → chunk-BZQLTNMB.js} +219 -79
- package/dist/{chunk-MY6CVBDD.js → chunk-CE7EQUBV.js} +1 -1
- package/dist/{chunk-ZVBEGBII.js → chunk-CSYSEPWL.js} +31 -7
- package/dist/{chunk-EZINX6HH.js → chunk-CTF7BYCV.js} +3 -3
- package/dist/{chunk-2II34JPM.js → chunk-E676Y7AY.js} +82 -29
- package/dist/{chunk-YQICCAVA.js → chunk-E7TI5PAQ.js} +1 -1
- package/dist/{chunk-TTVHYD5R.js → chunk-EI7FP7F3.js} +1 -1
- package/dist/{chunk-UJZT6HNN.js → chunk-F45HHA3M.js} +1 -1
- package/dist/{chunk-TQ2RRB5V.js → chunk-FJF5JBYU.js} +1 -1
- package/dist/{chunk-Z5233OAN.js → chunk-GBT7P3OQ.js} +5 -5
- package/dist/{chunk-NPDPDEPP.js → chunk-GWYMAII7.js} +1 -1
- package/dist/{chunk-UAJCTEK2.js → chunk-HNMDLKA4.js} +1 -1
- package/dist/{chunk-FCWFV4P7.js → chunk-HQIFMCQN.js} +2278 -2273
- package/dist/{chunk-DTXDQ6OP.js → chunk-HUG47UEE.js} +1 -1
- package/dist/{chunk-7M7TMM4S.js → chunk-HXM2ISEK.js} +264 -124
- package/dist/{chunk-WLHNIIXU.js → chunk-IFXOMIBP.js} +3 -3
- package/dist/{chunk-77QM6YRQ.js → chunk-IPEP346Y.js} +1 -1
- package/dist/{chunk-22QKQDEE.js → chunk-JIPUWKLA.js} +14 -14
- package/dist/{chunk-YNH6ERDL.js → chunk-JZDVIDFH.js} +2 -2
- package/dist/{chunk-KNLSYCI5.js → chunk-KLWUB37U.js} +7 -7
- package/dist/{chunk-PEIV2SOG.js → chunk-KS4HMJJD.js} +1 -1
- package/dist/{chunk-4NTW45W5.js → chunk-M6FHSQZ3.js} +3 -3
- package/dist/{chunk-RFJ6SX4U.js → chunk-NDBWI7OA.js} +5 -5
- package/dist/{chunk-ACLABKEF.js → chunk-NSJ5HD6A.js} +5 -5
- package/dist/{chunk-FRLTKTOR.js → chunk-OHXHBMF4.js} +1 -1
- package/dist/{chunk-7MLFYMFB.js → chunk-QMFI4N7J.js} +1 -1
- package/dist/{chunk-HOFX63F2.js → chunk-QYQ2EYOI.js} +3 -3
- package/dist/{chunk-27H2363S.js → chunk-R5FS7GFU.js} +1 -1
- package/dist/{chunk-PFD25NAC.js → chunk-RIJHDTM5.js} +4 -0
- package/dist/{chunk-FH7WODJH.js → chunk-SGFMCNLY.js} +8 -0
- package/dist/{chunk-BRTDLVK3.js → chunk-SMF6YAUL.js} +9 -11
- package/dist/{chunk-6IOBAOU7.js → chunk-T37XXYRK.js} +1 -1
- package/dist/{chunk-T4RP55P2.js → chunk-TFUAKV6O.js} +1 -1
- package/dist/{chunk-U6RXZNZE.js → chunk-TMBUBLZB.js} +55 -23
- package/dist/{chunk-5ZMXGNGC.js → chunk-TPTQHOXU.js} +9 -9
- package/dist/{chunk-U4BMRIE6.js → chunk-TREMHDWT.js} +12 -10
- package/dist/{chunk-Q447CX26.js → chunk-TSFA2Y5C.js} +60 -47
- package/dist/{chunk-Y2M6XSNK.js → chunk-VRQU564T.js} +1 -1
- package/dist/{chunk-ID5AJ4L3.js → chunk-WMJJCHVQ.js} +2 -2
- package/dist/{chunk-RNZEQTWZ.js → chunk-WYCFMNU3.js} +15 -2
- package/dist/{chunk-UJKQWGFF.js → chunk-X7HBSTCZ.js} +8 -0
- package/dist/{chunk-ZKBW7NU2.js → chunk-XJVXROOL.js} +2 -2
- package/dist/{chunk-CML25PAF.js → chunk-XNFDDVJS.js} +27 -3
- package/dist/{chunk-RPUIMFHF.js → chunk-Z2BW2WJS.js} +1 -1
- package/dist/{chunk-2PZZMAME.js → chunk-ZPMF6GAQ.js} +17 -12
- package/dist/{clean-IM2JIAUT.js → clean-PS4VYGQ6.js} +17 -17
- package/dist/cli.js +53 -53
- package/dist/{cloud-6IPBCJSX.js → cloud-E47CE5VQ.js} +4 -4
- package/dist/{cloudrun-MWZ6S2I2.js → cloudrun-3J4SQBXE.js} +5 -5
- package/dist/{compare-WD7A2TV5.js → compare-EAKHXBDO.js} +29 -29
- package/dist/{compiler-2EKSMC3I.js → compiler-23MT6CX6.js} +4 -4
- package/dist/{component-JKALWH36.js → component-QBOXYJJS.js} +3 -3
- package/dist/{compositions-643NAG4A.js → compositions-QC3EO3MJ.js} +11 -11
- package/dist/{delete-EASPXKHQ.js → delete-TXEOLPC6.js} +4 -4
- package/dist/deploy-3B3WJ6PM.js +300 -0
- package/dist/{destroy-4B5HW5FH.js → destroy-SSPAKADI.js} +13 -3
- package/dist/{dist-F6FOKRSU.js → dist-F4UJFK4S.js} +5 -3
- package/dist/{dist-LM7AVHOU.js → dist-JH32CBQL.js} +1 -1
- package/dist/{doctor-7XUVYDJQ.js → doctor-2CRFH4B3.js} +11 -11
- package/dist/{events-TULV6D3G.js → events-GUIOSBIB.js} +3 -3
- package/dist/{events-5TTPYBKG.js → events-KVTX3QFV.js} +2 -2
- package/dist/{feedback-4FTPWM6P.js → feedback-VQIOSTIB.js} +7 -7
- package/dist/{ffmpeg-MP7ZVYLZ.js → ffmpeg-BPCZGXFW.js} +7 -7
- package/dist/{figma-B7LFWYKO.js → figma-QIOKCH26.js} +3 -3
- package/dist/fontLocalizeCli.js +9 -9
- package/dist/{get-F7W4AQ2V.js → get-TU45SNXF.js} +4 -4
- package/dist/{gpuPolicy-NSNVDFXC.js → gpuPolicy-AWAJBGYY.js} +7 -7
- package/dist/{grade-compare-6QXDTLS2.js → grade-compare-LDNUXX3Q.js} +30 -30
- package/dist/{help-RJAA4O74.js → help-YUCHJKKL.js} +1 -1
- package/dist/{history-OOQBDVV5.js → history-MMHFUMIG.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +65 -64
- package/dist/hyperframes-player.global.js +3 -3
- package/dist/{info-5OGGYYLO.js → info-HBHOFSC2.js} +8 -8
- package/dist/{init-DM3TJKW2.js → init-3E4GUXIZ.js} +27 -27
- package/dist/{inspect-FECQCLS5.js → inspect-YNUPJVIH.js} +30 -30
- package/dist/{installer-WOG4VORV.js → installer-WLCRP33K.js} +5 -5
- package/dist/{keyframes-SZHWUF5Y.js → keyframes-Z47GHCGO.js} +6 -6
- package/dist/{lambda-JG2ZRGMC.js → lambda-CA4PEUO2.js} +20 -13
- package/dist/{layout-7ACF7ZKC.js → layout-YPV6PIKF.js} +30 -30
- package/dist/{lint-ZCQGMILV.js → lint-3AVVQ74A.js} +7 -7
- package/dist/{lintProject-JATQKR64.js → lintProject-XM3DLUKG.js} +1 -1
- package/dist/{list-MH2X3Y2T.js → list-JH52Y735.js} +7 -7
- package/dist/{login-CK46WX5U.js → login-G7NPJUAW.js} +4 -4
- package/dist/{manager-GXTPNJVW.js → manager-2LSMMZY4.js} +8 -8
- package/dist/{media-treatment-EH2AT34Z.js → media-treatment-BVMMD5EN.js} +13 -13
- package/dist/{models-D5XP2UK6.js → models-P3TNRVRV.js} +11 -11
- package/dist/{motionShot-UR7D3SRQ.js → motionShot-LK62QHNE.js} +18 -18
- package/dist/{normalize-audio-635JOR5W.js → normalize-audio-Y7BAQ7AR.js} +6 -6
- package/dist/{open-6WE5WFVM.js → open-CCFFLAT7.js} +12 -12
- package/dist/{parakeetRunner-STHZPG32.js → parakeetRunner-N2BWSOSD.js} +12 -12
- package/dist/{pipeline-LVEKRETU.js → pipeline-3VT2DQGU.js} +8 -8
- package/dist/{play-W6TDW4FE.js → play-G4I5IFHO.js} +20 -20
- package/dist/{policies-XXNGXWHV.js → policies-MBWGLMWB.js} +17 -0
- package/dist/{preflight-LIMQXLR7.js → preflight-2KU2QLCZ.js} +8 -8
- package/dist/{present-RX5QX6UR.js → present-EJ7XHGQO.js} +16 -16
- package/dist/{preview-KIWTWK63.js → preview-O23BYFAY.js} +18 -18
- package/dist/{producer-TSNKSCUM.js → producer-UJQVLKLP.js} +1 -1
- package/dist/{progress-NHJIHAAG.js → progress-PX3PVAIM.js} +5 -3
- package/dist/{projectConfig-NCP7JRH4.js → projectConfig-QFVIBT37.js} +7 -7
- package/dist/{publication-5W5UZWGC.js → publication-4UYGFB2X.js} +3 -3
- package/dist/{publish-7WR4XJ6I.js → publish-MHLVJLCR.js} +9 -9
- package/dist/{remove-background-43JGBRWQ.js → remove-background-N7AHTZWP.js} +9 -9
- package/dist/{render-7T44HIM6.js → render-6HQV4LZJ.js} +11 -9
- package/dist/{render-WHMLYIOI.js → render-CDATEVDJ.js} +31 -22
- package/dist/{render-456HCO6O.js → render-EI2ODKOP.js} +45 -29
- package/dist/{render-batch-LURBJTBV.js → render-batch-F7HMC7XH.js} +7 -7
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-MBIW4VC4.js → resolver-63DB5JCY.js} +5 -5
- package/dist/{sam-MC24SZHC.js → sam-FHJ7IL7T.js} +3 -1
- package/dist/{sherpa-5J2AALED.js → sherpa-AK3MTPL3.js} +11 -11
- package/dist/{sites-MAVH57MO.js → sites-5PWHAMEG.js} +1 -1
- package/dist/skills/hyperframes/references/motion.md +1 -0
- package/dist/{skills-UHOXOGGF.js → skills-EVIDL7PV.js} +5 -5
- package/dist/{skillsUpdateCheck-PDZIFUJE.js → skillsUpdateCheck-YCNJYDJO.js} +3 -3
- package/dist/{snapshot-PFV7ALLH.js → snapshot-WSYZKR3C.js} +35 -35
- package/dist/{src-XK5YIR6L.js → src-KTD6WTEV.js} +8 -8
- package/dist/{src-DCVSEODX.js → src-YNXBU4ZQ.js} +12 -6
- package/dist/{state-ORRPOLMQ.js → state-JPNCCXAV.js} +3 -1
- package/dist/{staticProjectServer-4IE4G4JO.js → staticProjectServer-D2D3BKBP.js} +18 -16
- package/dist/studio/assets/{hyperframes-player-B_skzvYC.js → hyperframes-player-CkK8Zijf.js} +1 -1
- package/dist/studio/assets/{index-CgLbvCUo.js → index-ATnRoBug.js} +1 -1
- package/dist/studio/assets/{index-Dn5FAk2e.js → index-B2JcCaRF.js} +130 -130
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-JMWYU7KF.js → studio-api-3ZGQPE5J.js} +10 -10
- package/dist/{studioServer-BWLSTGIG.js → studioServer-VWM4J7ZP.js} +48 -48
- package/dist/{telemetry-JCU3AV7W.js → telemetry-BEVI64BB.js} +3 -3
- package/dist/templates/_shared/AGENTS.md +5 -0
- package/dist/templates/_shared/CLAUDE.md +5 -0
- package/dist/{timeline-BCIFQYOM.js → timeline-P57FUXJQ.js} +18 -18
- package/dist/{tokens-7IXKALMQ.js → tokens-OUQY6LPD.js} +2 -2
- package/dist/{transcribe-ZUQD3B32.js → transcribe-CK66VIU4.js} +10 -10
- package/dist/{transcribe-HW7HGJ4V.js → transcribe-QUPX67KC.js} +16 -16
- package/dist/{updateCheck-Z6LNEK7B.js → updateCheck-XZ43CH3L.js} +2 -2
- package/dist/{upgrade-JYH72JGL.js → upgrade-7QQNGI7I.js} +2 -2
- package/dist/{urlDownloader-WKLFHSUH.js → urlDownloader-ESAEL6YX.js} +6 -6
- package/dist/{validate-QCC27YYI.js → validate-5GZ6KFRU.js} +24 -24
- package/dist/{video-EZ7ONY6L.js → video-AQNVR6PE.js} +7 -7
- package/dist/warmCheck.js +37 -38
- package/package.json +18 -2
- package/dist/chunk-KANNRHY7.js +0 -53
- package/dist/chunk-UOZX5W5T.js +0 -3852
- package/dist/deploy-CDKCQ5MX.js +0 -196
|
@@ -7,8 +7,8 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
createCloudClient,
|
|
9
9
|
reportApiError
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5C7R55BJ.js";
|
|
11
|
+
import "./chunk-6A45RKAK.js";
|
|
12
12
|
import "./chunk-HRPWRZGF.js";
|
|
13
13
|
import "./chunk-7KVVNF7B.js";
|
|
14
14
|
import "./chunk-CZUAX3BV.js";
|
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
import "./chunk-OFQWTKPW.js";
|
|
29
29
|
import {
|
|
30
30
|
withMeta
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OHXHBMF4.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
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ASZ4IQB4.js";
|
|
37
37
|
import "./chunk-KNU5COPB.js";
|
|
38
38
|
import "./chunk-M2WBOQ2Q.js";
|
|
39
39
|
|
|
@@ -0,0 +1,300 @@
|
|
|
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
|
+
isMissingPackageError
|
|
9
|
+
} from "./chunk-2R5ZKWSV.js";
|
|
10
|
+
import {
|
|
11
|
+
repoRoot
|
|
12
|
+
} from "./chunk-2X4PQEYM.js";
|
|
13
|
+
import {
|
|
14
|
+
fetchStackOutputs,
|
|
15
|
+
locateSamTemplate,
|
|
16
|
+
samDeploy
|
|
17
|
+
} from "./chunk-XNFDDVJS.js";
|
|
18
|
+
import {
|
|
19
|
+
DEFAULT_STACK_NAME,
|
|
20
|
+
readStackOutputs,
|
|
21
|
+
writeStackOutputs
|
|
22
|
+
} from "./chunk-RIJHDTM5.js";
|
|
23
|
+
import {
|
|
24
|
+
downloadFile
|
|
25
|
+
} from "./chunk-WQ6ZXHFQ.js";
|
|
26
|
+
import "./chunk-JVBRJMOP.js";
|
|
27
|
+
import {
|
|
28
|
+
c
|
|
29
|
+
} from "./chunk-ZTZA4UWZ.js";
|
|
30
|
+
import {
|
|
31
|
+
VERSION
|
|
32
|
+
} from "./chunk-ASZ4IQB4.js";
|
|
33
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
34
|
+
|
|
35
|
+
// src/commands/lambda/deploy.ts
|
|
36
|
+
import { spawnSync as spawnSync2 } from "child_process";
|
|
37
|
+
import { existsSync as existsSync2 } from "fs";
|
|
38
|
+
import { dirname as dirname2, join as join3, resolve } from "path";
|
|
39
|
+
|
|
40
|
+
// src/commands/lambda/prebuiltHandler.ts
|
|
41
|
+
import { createHash } from "crypto";
|
|
42
|
+
import {
|
|
43
|
+
copyFileSync,
|
|
44
|
+
createReadStream,
|
|
45
|
+
existsSync,
|
|
46
|
+
mkdirSync,
|
|
47
|
+
readdirSync,
|
|
48
|
+
renameSync,
|
|
49
|
+
unlinkSync
|
|
50
|
+
} from "fs";
|
|
51
|
+
import { homedir } from "os";
|
|
52
|
+
import { dirname, join } from "path";
|
|
53
|
+
var DOCS_URL = "https://hyperframes.heygen.com/deploy/aws-lambda";
|
|
54
|
+
var HANDLER_CACHE_DIR = join(homedir(), ".cache", "hyperframes", "lambda-handler");
|
|
55
|
+
var defaultDeps = {
|
|
56
|
+
loadAdapter: () => import("@hyperframes/aws-lambda/sdk"),
|
|
57
|
+
download: downloadFile,
|
|
58
|
+
cacheDir: HANDLER_CACHE_DIR,
|
|
59
|
+
log: (line) => console.log(line)
|
|
60
|
+
};
|
|
61
|
+
function noHandlerMessage(adapterInstalled) {
|
|
62
|
+
const adapter = adapterInstalled ? " - The installed @hyperframes/aws-lambda has no prebuilt handler for its version. Install one that does:\n" : " - Install the Lambda adapter; its release pins the prebuilt handler:\n";
|
|
63
|
+
return "[lambda deploy] This is not a HyperFrames checkout, and no prebuilt Lambda handler is available.\n" + adapter + ` npm install -g @hyperframes/aws-lambda@${VERSION}
|
|
64
|
+
- Or run from a hyperframes checkout, or set HYPERFRAMES_REPO_ROOT to one.
|
|
65
|
+
Docs: ${DOCS_URL}`;
|
|
66
|
+
}
|
|
67
|
+
async function sha256File(path) {
|
|
68
|
+
const hash = createHash("sha256");
|
|
69
|
+
for await (const chunk of createReadStream(path)) hash.update(chunk);
|
|
70
|
+
return hash.digest("hex");
|
|
71
|
+
}
|
|
72
|
+
async function fetchPinned(pinned, asset, deps) {
|
|
73
|
+
const dir = join(deps.cacheDir, `${pinned.version}-${pinned.sha256}`);
|
|
74
|
+
const file = join(dir, asset.fileName);
|
|
75
|
+
if (existsSync(file) && await sha256File(file) === pinned.sha256) {
|
|
76
|
+
deps.log(`\u2192 Using verified ${asset.label} ${pinned.version} from ${dir}`);
|
|
77
|
+
return file;
|
|
78
|
+
}
|
|
79
|
+
const url = asset.urlOverride ?? pinned.url;
|
|
80
|
+
deps.log(`\u2192 Downloading ${asset.label} ${pinned.version} (${pinned.bytes} bytes)`);
|
|
81
|
+
mkdirSync(dir, { recursive: true });
|
|
82
|
+
const partial = `${file}.download`;
|
|
83
|
+
await deps.download(url, partial, { maxBytes: pinned.bytes });
|
|
84
|
+
const actual = await sha256File(partial);
|
|
85
|
+
if (actual !== pinned.sha256) {
|
|
86
|
+
unlinkSync(partial);
|
|
87
|
+
const urlWithoutCredentials = url.split("?")[0];
|
|
88
|
+
throw new Error(
|
|
89
|
+
`[lambda deploy] Refusing the ${asset.label} from ${urlWithoutCredentials}: sha256 ${actual} does not match the ${pinned.sha256} pinned by @hyperframes/aws-lambda@${pinned.version}.`
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
renameSync(partial, file);
|
|
93
|
+
deps.log(`\u2192 Verified sha256 ${pinned.sha256}`);
|
|
94
|
+
return file;
|
|
95
|
+
}
|
|
96
|
+
async function stagePrebuiltHandler(deps = defaultDeps) {
|
|
97
|
+
let sdk;
|
|
98
|
+
try {
|
|
99
|
+
sdk = await deps.loadAdapter();
|
|
100
|
+
} catch (err) {
|
|
101
|
+
if (isMissingPackageError(err, "@hyperframes/aws-lambda"))
|
|
102
|
+
throw new Error(noHandlerMessage(false));
|
|
103
|
+
throw err;
|
|
104
|
+
}
|
|
105
|
+
const pinned = sdk.prebuiltHandler?.();
|
|
106
|
+
if (!pinned) throw new Error(noHandlerMessage(true));
|
|
107
|
+
const zip = await fetchPinned(
|
|
108
|
+
pinned,
|
|
109
|
+
{
|
|
110
|
+
fileName: "handler.zip",
|
|
111
|
+
label: "handler ZIP",
|
|
112
|
+
urlOverride: process.env.HYPERFRAMES_LAMBDA_HANDLER_URL
|
|
113
|
+
},
|
|
114
|
+
deps
|
|
115
|
+
);
|
|
116
|
+
const dir = dirname(zip);
|
|
117
|
+
const templateDir = dirname(pinned.templatePath);
|
|
118
|
+
for (const file of readdirSync(templateDir).filter((name) => name.endsWith(".yaml"))) {
|
|
119
|
+
copyFileSync(join(templateDir, file), join(dir, file));
|
|
120
|
+
}
|
|
121
|
+
return dir;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// src/commands/lambda/videoImage.ts
|
|
125
|
+
import { spawnSync } from "child_process";
|
|
126
|
+
import { mkdtempSync, rmSync } from "fs";
|
|
127
|
+
import { tmpdir } from "os";
|
|
128
|
+
import { join as join2 } from "path";
|
|
129
|
+
function videoRepositoryName(stackName) {
|
|
130
|
+
return `${stackName.toLowerCase()}-video`;
|
|
131
|
+
}
|
|
132
|
+
async function pushVideoImage(opts, deps = defaultDeps) {
|
|
133
|
+
const sdk = await deps.loadAdapter();
|
|
134
|
+
const tarball = await videoImageTarball(sdk, opts.inCheckout, deps);
|
|
135
|
+
if (!sdk.ensureEcrRepository || !sdk.pushImageToEcr) {
|
|
136
|
+
throw new Error(noVideoImageMessage(opts.inCheckout));
|
|
137
|
+
}
|
|
138
|
+
const layoutDir = mkdtempSync(join2(tmpdir(), "hf-video-image-"));
|
|
139
|
+
try {
|
|
140
|
+
const untar = spawnSync("tar", ["-xf", tarball, "-C", layoutDir], { stdio: "inherit" });
|
|
141
|
+
if (untar.status !== 0) {
|
|
142
|
+
throw new Error(
|
|
143
|
+
`[lambda deploy] tar could not extract ${tarball} (exit ${untar.status ?? "unknown"})`
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
const repositoryName = videoRepositoryName(opts.stackName);
|
|
147
|
+
const { repositoryUri } = await sdk.ensureEcrRepository({
|
|
148
|
+
region: opts.region,
|
|
149
|
+
repositoryName,
|
|
150
|
+
tags: [{ Key: "hyperframes:stack", Value: opts.stackName }]
|
|
151
|
+
});
|
|
152
|
+
deps.log(`\u2192 Pushing the arm64 video image to ${repositoryUri}`);
|
|
153
|
+
const pushed = await sdk.pushImageToEcr({
|
|
154
|
+
region: opts.region,
|
|
155
|
+
layoutDir,
|
|
156
|
+
repositoryName,
|
|
157
|
+
repositoryUri,
|
|
158
|
+
tag: "video",
|
|
159
|
+
log: deps.log
|
|
160
|
+
});
|
|
161
|
+
if (pushed.os !== "linux" || pushed.architecture !== "arm64") {
|
|
162
|
+
throw new Error(
|
|
163
|
+
`[lambda deploy] ${tarball} is a ${pushed.os}/${pushed.architecture} image; the video function needs linux/arm64.`
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
return { imageUri: pushed.imageUri, repositoryName };
|
|
167
|
+
} finally {
|
|
168
|
+
rmSync(layoutDir, { recursive: true, force: true });
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
async function videoImageTarball(sdk, inCheckout, deps) {
|
|
172
|
+
const local = process.env.HYPERFRAMES_LAMBDA_VIDEO_IMAGE;
|
|
173
|
+
if (local) return local;
|
|
174
|
+
const pinned = inCheckout ? void 0 : sdk.prebuiltVideoImage?.();
|
|
175
|
+
if (!pinned) throw new Error(noVideoImageMessage(inCheckout));
|
|
176
|
+
return fetchPinned(pinned, { fileName: "video-arm64.oci.tar", label: "arm64 video image" }, deps);
|
|
177
|
+
}
|
|
178
|
+
function noVideoImageMessage(inCheckout) {
|
|
179
|
+
return inCheckout ? "[lambda deploy] An arm64 deploy from a checkout needs an image built from that checkout: build packages/aws-lambda/image's `video` target as an OCI tarball and set HYPERFRAMES_LAMBDA_VIDEO_IMAGE to it, or pass --video-arch x86_64." : "[lambda deploy] The installed @hyperframes/aws-lambda pins no arm64 video image. Install a newer one, or pass --video-arch x86_64.";
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
// src/commands/lambda/deploy.ts
|
|
183
|
+
var DEFAULT_REGION = "us-east-1";
|
|
184
|
+
var DEFAULT_MEMORY_MB = 10240;
|
|
185
|
+
async function runDeploy(args = {}) {
|
|
186
|
+
const resolved = {
|
|
187
|
+
stackName: args.stackName ?? DEFAULT_STACK_NAME,
|
|
188
|
+
region: args.region ?? process.env.AWS_REGION ?? DEFAULT_REGION,
|
|
189
|
+
awsProfile: args.awsProfile ?? process.env.AWS_PROFILE,
|
|
190
|
+
reservedConcurrency: args.reservedConcurrency,
|
|
191
|
+
chromeSource: args.chromeSource ?? "sparticuz",
|
|
192
|
+
lambdaMemoryMb: args.lambdaMemoryMb ?? DEFAULT_MEMORY_MB,
|
|
193
|
+
videoArch: args.videoArch ?? "arm64",
|
|
194
|
+
skipBuild: args.skipBuild ?? false
|
|
195
|
+
};
|
|
196
|
+
if (resolved.videoArch === "arm64" && resolved.chromeSource !== "sparticuz") {
|
|
197
|
+
throw new Error(
|
|
198
|
+
"[lambda deploy] The arm64 video image bundles sparticuz Chrome only. Pass --video-arch x86_64 to deploy with --chrome-source chrome-headless-shell."
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
const root = repoRoot();
|
|
202
|
+
const samDir = await prepareSamDir(root, resolved);
|
|
203
|
+
const video = resolved.videoArch === "arm64" ? await pushVideoImage({
|
|
204
|
+
stackName: resolved.stackName,
|
|
205
|
+
region: resolved.region,
|
|
206
|
+
inCheckout: root !== void 0
|
|
207
|
+
}) : void 0;
|
|
208
|
+
console.log(c.dim(`\u2192 sam deploy (stack=${resolved.stackName} region=${resolved.region})`));
|
|
209
|
+
samDeploy({
|
|
210
|
+
samDir,
|
|
211
|
+
stackName: resolved.stackName,
|
|
212
|
+
region: resolved.region,
|
|
213
|
+
awsProfile: resolved.awsProfile,
|
|
214
|
+
reservedConcurrency: resolved.reservedConcurrency,
|
|
215
|
+
lambdaMemoryMb: resolved.lambdaMemoryMb,
|
|
216
|
+
chromeSource: resolved.chromeSource,
|
|
217
|
+
videoImageUri: video?.imageUri
|
|
218
|
+
});
|
|
219
|
+
console.log(c.dim("\u2192 Reading stack outputs"));
|
|
220
|
+
const outputs = fetchStackOutputs({
|
|
221
|
+
stackName: resolved.stackName,
|
|
222
|
+
region: resolved.region,
|
|
223
|
+
awsProfile: resolved.awsProfile
|
|
224
|
+
});
|
|
225
|
+
const statePath = writeStackOutputs({
|
|
226
|
+
stackName: resolved.stackName,
|
|
227
|
+
region: resolved.region,
|
|
228
|
+
bucketName: outputs.bucketName,
|
|
229
|
+
stateMachineArn: outputs.stateMachineArn,
|
|
230
|
+
functionName: outputs.functionName,
|
|
231
|
+
lambdaMemoryMb: resolved.lambdaMemoryMb,
|
|
232
|
+
reservedConcurrency: outputs.reservedConcurrency,
|
|
233
|
+
videoFunctionName: outputs.videoFunctionName,
|
|
234
|
+
// Back on x86 the repository outlives the video function, so destroy still needs its name.
|
|
235
|
+
videoRepository: video?.repositoryName ?? readStackOutputs(resolved.stackName)?.videoRepository,
|
|
236
|
+
deployedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
237
|
+
});
|
|
238
|
+
if (resolved.reservedConcurrency === -1) {
|
|
239
|
+
console.log(
|
|
240
|
+
c.warn(
|
|
241
|
+
"Removed the stack's reserved concurrency; each render now sizes itself to the account."
|
|
242
|
+
)
|
|
243
|
+
);
|
|
244
|
+
} else if (resolved.reservedConcurrency === void 0 && outputs.reservedConcurrency !== void 0) {
|
|
245
|
+
console.log(
|
|
246
|
+
c.warn(
|
|
247
|
+
`Kept the stack's reserved concurrency of ${outputs.reservedConcurrency}. Pass --concurrency=N to change it.`
|
|
248
|
+
)
|
|
249
|
+
);
|
|
250
|
+
}
|
|
251
|
+
console.log();
|
|
252
|
+
console.log(c.success("Stack deployed."));
|
|
253
|
+
console.log(` ${c.dim("Bucket:")} ${outputs.bucketName}`);
|
|
254
|
+
console.log(` ${c.dim("State machine:")} ${outputs.stateMachineArn}`);
|
|
255
|
+
console.log(` ${c.dim("Function:")} ${outputs.functionName}`);
|
|
256
|
+
if (outputs.videoFunctionName) {
|
|
257
|
+
console.log(` ${c.dim("Video function:")} ${outputs.videoFunctionName} (arm64)`);
|
|
258
|
+
}
|
|
259
|
+
console.log(` ${c.dim("State file:")} ${resolve(statePath)}`);
|
|
260
|
+
console.log();
|
|
261
|
+
console.log(c.dim(`Render with: hyperframes lambda render <project-dir>`));
|
|
262
|
+
}
|
|
263
|
+
async function prepareSamDir(root, args) {
|
|
264
|
+
if (!root) {
|
|
265
|
+
if (args.chromeSource !== "sparticuz") {
|
|
266
|
+
throw new Error(
|
|
267
|
+
"[lambda deploy] The prebuilt handler bundles sparticuz Chrome; --chrome-source=chrome-headless-shell needs a hyperframes checkout."
|
|
268
|
+
);
|
|
269
|
+
}
|
|
270
|
+
return stagePrebuiltHandler();
|
|
271
|
+
}
|
|
272
|
+
const samDir = dirname2(locateSamTemplate(root));
|
|
273
|
+
if (!args.skipBuild) {
|
|
274
|
+
console.log(c.dim("\u2192 Building handler ZIP"));
|
|
275
|
+
buildHandlerZip(root);
|
|
276
|
+
} else {
|
|
277
|
+
const zip = join3(root, "packages", "aws-lambda", "dist", "handler.zip");
|
|
278
|
+
if (!existsSync2(zip)) {
|
|
279
|
+
throw new Error(
|
|
280
|
+
`--skip-build set but ${zip} does not exist. Run \`bun run --cwd packages/aws-lambda build:zip\` first or drop --skip-build.`
|
|
281
|
+
);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
return samDir;
|
|
285
|
+
}
|
|
286
|
+
function buildHandlerZip(root) {
|
|
287
|
+
const result = spawnSync2(
|
|
288
|
+
"bun",
|
|
289
|
+
["run", "--cwd", join3(root, "packages", "aws-lambda"), "build:zip"],
|
|
290
|
+
{ stdio: "inherit" }
|
|
291
|
+
);
|
|
292
|
+
if (result.status !== 0) {
|
|
293
|
+
throw new Error(
|
|
294
|
+
`[lambda deploy] handler ZIP build exited with code ${result.status ?? "unknown"}`
|
|
295
|
+
);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
export {
|
|
299
|
+
runDeploy
|
|
300
|
+
};
|
|
@@ -8,12 +8,13 @@ import {
|
|
|
8
8
|
repoRoot
|
|
9
9
|
} from "./chunk-2X4PQEYM.js";
|
|
10
10
|
import {
|
|
11
|
+
deleteEcrRepository,
|
|
11
12
|
samDelete
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XNFDDVJS.js";
|
|
13
14
|
import {
|
|
14
15
|
deleteStackOutputs,
|
|
15
16
|
requireStack
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RIJHDTM5.js";
|
|
17
18
|
import "./chunk-JVBRJMOP.js";
|
|
18
19
|
import {
|
|
19
20
|
c
|
|
@@ -27,12 +28,21 @@ async function runDestroy(args) {
|
|
|
27
28
|
const stack = requireStack(args.stackName);
|
|
28
29
|
console.log(c.dim(`\u2192 sam delete (stack=${stack.stackName} region=${stack.region})`));
|
|
29
30
|
const root = repoRoot();
|
|
31
|
+
const awsProfile = args.awsProfile ?? process.env.AWS_PROFILE;
|
|
30
32
|
samDelete({
|
|
31
33
|
samDir: root ? join(root, "examples", "aws-lambda") : tmpdir(),
|
|
32
34
|
stackName: stack.stackName,
|
|
33
35
|
region: stack.region,
|
|
34
|
-
awsProfile
|
|
36
|
+
awsProfile
|
|
35
37
|
});
|
|
38
|
+
if (stack.videoRepository) {
|
|
39
|
+
console.log(c.dim(`\u2192 Deleting ECR repository ${stack.videoRepository}`));
|
|
40
|
+
deleteEcrRepository({
|
|
41
|
+
repositoryName: stack.videoRepository,
|
|
42
|
+
region: stack.region,
|
|
43
|
+
awsProfile
|
|
44
|
+
});
|
|
45
|
+
}
|
|
36
46
|
deleteStackOutputs(args.stackName);
|
|
37
47
|
console.log();
|
|
38
48
|
console.log(c.success("Stack torn down."));
|
|
@@ -66,6 +66,7 @@ import {
|
|
|
66
66
|
parseFpsWithDefault,
|
|
67
67
|
parsePreviewProxyBox,
|
|
68
68
|
parseVfxChain,
|
|
69
|
+
quantizePreviewProxyBox,
|
|
69
70
|
quantizeSeekTime,
|
|
70
71
|
quantizeTimeToFrame,
|
|
71
72
|
queryByAttr,
|
|
@@ -74,7 +75,7 @@ import {
|
|
|
74
75
|
serializeVfxChain,
|
|
75
76
|
toFps,
|
|
76
77
|
validateVariables
|
|
77
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-WYCFMNU3.js";
|
|
78
79
|
import "./chunk-RQVDTPGD.js";
|
|
79
80
|
import {
|
|
80
81
|
AUDIO_GROUP_RENDER_ID_ATTR,
|
|
@@ -134,13 +135,13 @@ import {
|
|
|
134
135
|
sourceTimeAt,
|
|
135
136
|
stripEmbeddedRuntimeScripts,
|
|
136
137
|
timeAtSourceTime
|
|
137
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-BPX7LZG6.js";
|
|
138
139
|
import "./chunk-VC76R6W2.js";
|
|
139
140
|
import {
|
|
140
141
|
AUDIBLE_MEDIA_SELECTOR,
|
|
141
142
|
audibleVideoNeedsWebAudio,
|
|
142
143
|
isAudibleVideoElement
|
|
143
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-X7HBSTCZ.js";
|
|
144
145
|
import {
|
|
145
146
|
CANVAS_DIMENSIONS,
|
|
146
147
|
COMPOSITION_VARIABLE_TYPES,
|
|
@@ -375,6 +376,7 @@ export {
|
|
|
375
376
|
parseStartExpression,
|
|
376
377
|
parseStrictFiniteTimingNumber,
|
|
377
378
|
parseVfxChain,
|
|
379
|
+
quantizePreviewProxyBox,
|
|
378
380
|
quantizeSeekTime,
|
|
379
381
|
quantizeTimeToFrame,
|
|
380
382
|
queryByAttr,
|
|
@@ -13,25 +13,25 @@ import {
|
|
|
13
13
|
doctor_default,
|
|
14
14
|
examples,
|
|
15
15
|
redactHome
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NDBWI7OA.js";
|
|
17
17
|
import "./chunk-Z27A7NUB.js";
|
|
18
18
|
import "./chunk-5ETJX6WM.js";
|
|
19
19
|
import {
|
|
20
20
|
parseToolVersion
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B634ZCY2.js";
|
|
22
22
|
import "./chunk-QH3T4WI2.js";
|
|
23
23
|
import "./chunk-6BEFEWFB.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-3OLOVRWS.js";
|
|
25
25
|
import "./chunk-S3S4TGEH.js";
|
|
26
26
|
import "./chunk-ZTZA4UWZ.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-HXM2ISEK.js";
|
|
28
28
|
import "./chunk-IZCW2NKT.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WYCFMNU3.js";
|
|
30
30
|
import "./chunk-RQVDTPGD.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-SMF6YAUL.js";
|
|
32
|
+
import "./chunk-BPX7LZG6.js";
|
|
33
33
|
import "./chunk-VC76R6W2.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-X7HBSTCZ.js";
|
|
35
35
|
import "./chunk-B2A56S5C.js";
|
|
36
36
|
import "./chunk-OFQWTKPW.js";
|
|
37
37
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -43,7 +43,7 @@ import "./chunk-DYAPHNV6.js";
|
|
|
43
43
|
import "./chunk-T6AGUTZJ.js";
|
|
44
44
|
import "./chunk-XT6MXC7A.js";
|
|
45
45
|
import "./chunk-4UMPIPCQ.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-TSFA2Y5C.js";
|
|
47
47
|
import "./chunk-VAS6HQX3.js";
|
|
48
48
|
import "./chunk-6BNTGNGD.js";
|
|
49
49
|
import "./chunk-RUOG4VB7.js";
|
|
@@ -53,12 +53,12 @@ import "./chunk-SDYDNHEE.js";
|
|
|
53
53
|
import "./chunk-IXLUTE6N.js";
|
|
54
54
|
import "./chunk-I5JRXMCV.js";
|
|
55
55
|
import "./chunk-W2LGJSEN.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-OHXHBMF4.js";
|
|
57
57
|
import "./chunk-K4WIOZFP.js";
|
|
58
58
|
import "./chunk-XUXGIA7H.js";
|
|
59
59
|
import "./chunk-WERLJGIC.js";
|
|
60
60
|
import "./chunk-ISN5GRYI.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-ASZ4IQB4.js";
|
|
62
62
|
import "./chunk-KNU5COPB.js";
|
|
63
63
|
import "./chunk-KGPLIH7B.js";
|
|
64
64
|
import "./chunk-M2WBOQ2Q.js";
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
trackRenderPreflightRejected,
|
|
32
32
|
trackSkillsInstallSkipped,
|
|
33
33
|
trackTranscribeUnavailable
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-IPEP346Y.js";
|
|
35
|
+
import "./chunk-T37XXYRK.js";
|
|
36
36
|
import "./chunk-VWG7OQKU.js";
|
|
37
37
|
import "./chunk-54HJ63Q2.js";
|
|
38
38
|
import "./chunk-JVBRJMOP.js";
|
|
@@ -46,7 +46,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
46
46
|
import "./chunk-XUXGIA7H.js";
|
|
47
47
|
import "./chunk-WERLJGIC.js";
|
|
48
48
|
import "./chunk-ISN5GRYI.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-ASZ4IQB4.js";
|
|
50
50
|
import "./chunk-KNU5COPB.js";
|
|
51
51
|
import "./chunk-M2WBOQ2Q.js";
|
|
52
52
|
export {
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
flushSync,
|
|
12
12
|
trackEvent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-T37XXYRK.js";
|
|
14
14
|
import "./chunk-VWG7OQKU.js";
|
|
15
15
|
import {
|
|
16
16
|
defineCommand
|
|
@@ -25,7 +25,7 @@ import "./chunk-K4WIOZFP.js";
|
|
|
25
25
|
import "./chunk-XUXGIA7H.js";
|
|
26
26
|
import "./chunk-WERLJGIC.js";
|
|
27
27
|
import "./chunk-ISN5GRYI.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-ASZ4IQB4.js";
|
|
29
29
|
import "./chunk-KNU5COPB.js";
|
|
30
30
|
import "./chunk-M2WBOQ2Q.js";
|
|
31
31
|
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
getDoctorSummary
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QYQ2EYOI.js";
|
|
10
10
|
import {
|
|
11
11
|
getPublishApiBaseUrl,
|
|
12
12
|
publishProjectArchive
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
trackCatalogSearchMiss,
|
|
30
30
|
trackFeedbackComment,
|
|
31
31
|
trackRenderFeedback
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IPEP346Y.js";
|
|
33
33
|
import {
|
|
34
34
|
shouldTrack
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-T37XXYRK.js";
|
|
36
36
|
import "./chunk-VWG7OQKU.js";
|
|
37
37
|
import {
|
|
38
38
|
defineCommand
|
|
@@ -44,11 +44,11 @@ import {
|
|
|
44
44
|
import {
|
|
45
45
|
c
|
|
46
46
|
} from "./chunk-ZTZA4UWZ.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-WYCFMNU3.js";
|
|
48
48
|
import "./chunk-RQVDTPGD.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-BPX7LZG6.js";
|
|
50
50
|
import "./chunk-VC76R6W2.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-X7HBSTCZ.js";
|
|
52
52
|
import "./chunk-B2A56S5C.js";
|
|
53
53
|
import "./chunk-OFQWTKPW.js";
|
|
54
54
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -70,7 +70,7 @@ import "./chunk-WERLJGIC.js";
|
|
|
70
70
|
import "./chunk-ISN5GRYI.js";
|
|
71
71
|
import {
|
|
72
72
|
VERSION
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-ASZ4IQB4.js";
|
|
74
74
|
import "./chunk-KNU5COPB.js";
|
|
75
75
|
import "./chunk-M2WBOQ2Q.js";
|
|
76
76
|
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
getFFmpegInstallCommand,
|
|
14
14
|
getFFmpegInstallHint,
|
|
15
15
|
resolveH264EncoderMode
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-3OLOVRWS.js";
|
|
17
|
+
import "./chunk-HXM2ISEK.js";
|
|
18
18
|
import "./chunk-IZCW2NKT.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-WYCFMNU3.js";
|
|
20
20
|
import "./chunk-RQVDTPGD.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-SMF6YAUL.js";
|
|
22
|
+
import "./chunk-BPX7LZG6.js";
|
|
23
23
|
import "./chunk-VC76R6W2.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-X7HBSTCZ.js";
|
|
25
25
|
import "./chunk-B2A56S5C.js";
|
|
26
26
|
import "./chunk-OFQWTKPW.js";
|
|
27
27
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -31,7 +31,7 @@ import "./chunk-FXMKHHPO.js";
|
|
|
31
31
|
import "./chunk-DYAPHNV6.js";
|
|
32
32
|
import "./chunk-XT6MXC7A.js";
|
|
33
33
|
import "./chunk-4UMPIPCQ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-TSFA2Y5C.js";
|
|
35
35
|
import {
|
|
36
36
|
FFMPEG_PATH_ENV,
|
|
37
37
|
FFPROBE_PATH_ENV
|
|
@@ -49,9 +49,9 @@ ${c.dim("either) \u2014 use the /figma skill in a Claude session for those.")}
|
|
|
49
49
|
var figma_default = defineCommand({
|
|
50
50
|
meta: { name: "figma", description: "Import figma assets, tokens, and components (REST)" },
|
|
51
51
|
subCommands: {
|
|
52
|
-
asset: () => import("./asset-
|
|
53
|
-
tokens: () => import("./tokens-
|
|
54
|
-
component: () => import("./component-
|
|
52
|
+
asset: () => import("./asset-TPKLIP4R.js").then((m) => m.default),
|
|
53
|
+
tokens: () => import("./tokens-OUQY6LPD.js").then((m) => m.default),
|
|
54
|
+
component: () => import("./component-QBOXYJJS.js").then((m) => m.default)
|
|
55
55
|
},
|
|
56
56
|
async run({ args }) {
|
|
57
57
|
if (!args._?.[0]) console.log(HELP);
|
package/dist/fontLocalizeCli.js
CHANGED
|
@@ -4,8 +4,8 @@ import { dirname as __hf_dirname } from "node:path";
|
|
|
4
4
|
var require = __hf_createRequire(import.meta.url);
|
|
5
5
|
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HQIFMCQN.js";
|
|
8
|
+
import "./chunk-XJVXROOL.js";
|
|
9
9
|
import "./chunk-BZ56MTDX.js";
|
|
10
10
|
import {
|
|
11
11
|
injectDeterministicFontFaces
|
|
@@ -14,14 +14,14 @@ import "./chunk-FI4I7CME.js";
|
|
|
14
14
|
import "./chunk-KLIKCX6Q.js";
|
|
15
15
|
import "./chunk-EVMY7IPL.js";
|
|
16
16
|
import "./chunk-7FMUTGOH.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-HXM2ISEK.js";
|
|
18
18
|
import "./chunk-IZCW2NKT.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-WYCFMNU3.js";
|
|
20
20
|
import "./chunk-RQVDTPGD.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-SMF6YAUL.js";
|
|
22
|
+
import "./chunk-BPX7LZG6.js";
|
|
23
23
|
import "./chunk-VC76R6W2.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-X7HBSTCZ.js";
|
|
25
25
|
import "./chunk-B2A56S5C.js";
|
|
26
26
|
import "./chunk-OFQWTKPW.js";
|
|
27
27
|
import "./chunk-DPVXBVLL.js";
|
|
@@ -29,7 +29,7 @@ import "./chunk-3GXQPCJC.js";
|
|
|
29
29
|
import "./chunk-634HSJ3J.js";
|
|
30
30
|
import "./chunk-FXMKHHPO.js";
|
|
31
31
|
import "./chunk-4UMPIPCQ.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-TSFA2Y5C.js";
|
|
33
33
|
import "./chunk-VAS6HQX3.js";
|
|
34
34
|
import "./chunk-6BNTGNGD.js";
|
|
35
35
|
import "./chunk-RUOG4VB7.js";
|
|
@@ -42,7 +42,7 @@ import "./chunk-W2LGJSEN.js";
|
|
|
42
42
|
import {
|
|
43
43
|
PRODUCER_VERSION,
|
|
44
44
|
VERSION
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ASZ4IQB4.js";
|
|
46
46
|
import "./chunk-M2WBOQ2Q.js";
|
|
47
47
|
|
|
48
48
|
// src/fontLocalize.ts
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createCloudClient,
|
|
12
12
|
reportApiError
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-5C7R55BJ.js";
|
|
14
|
+
import "./chunk-6A45RKAK.js";
|
|
15
15
|
import "./chunk-HRPWRZGF.js";
|
|
16
16
|
import "./chunk-7KVVNF7B.js";
|
|
17
17
|
import "./chunk-CZUAX3BV.js";
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
import "./chunk-OFQWTKPW.js";
|
|
28
28
|
import {
|
|
29
29
|
withMeta
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OHXHBMF4.js";
|
|
31
31
|
import "./chunk-K4WIOZFP.js";
|
|
32
32
|
import "./chunk-XUXGIA7H.js";
|
|
33
33
|
import "./chunk-WERLJGIC.js";
|
|
34
34
|
import "./chunk-ISN5GRYI.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ASZ4IQB4.js";
|
|
36
36
|
import "./chunk-KNU5COPB.js";
|
|
37
37
|
import "./chunk-M2WBOQ2Q.js";
|
|
38
38
|
|