hyperframes 0.8.217 → 0.8.220
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-AXTSRFNT.js → add-7BJGQPZT.js} +12 -12
- package/dist/{agentPromptGenerator-52346WSZ.js → agentPromptGenerator-NFN3AYLJ.js} +7 -7
- package/dist/{animatedGifPrep-WZHO7ZUA.js → animatedGifPrep-HC45HF7H.js} +7 -7
- package/dist/api.js +18 -18
- package/dist/{asset-T2CE34TV.js → asset-TSP3CMU4.js} +2 -2
- package/dist/{assetCataloger-2KABZLU3.js → assetCataloger-KIN2UKI7.js} +8 -8
- package/dist/{audio-6I2AK3TZ.js → audio-NEJOZZXG.js} +17 -17
- package/dist/{auth-B3LLOMAG.js → auth-7EEBDTBK.js} +8 -7
- package/dist/{autoUpdate-TTY4BTMM.js → autoUpdate-67ZMQDED.js} +2 -2
- package/dist/{backgroundChecks-WKW5CTCV.js → backgroundChecks-YN424YG5.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ESAPNTE3.js → batchRender-I2GRQUPY.js} +3 -3
- package/dist/{beats-5WAAC5HT.js → beats-VVY6JZEU.js} +11 -11
- package/dist/{benchmark-KFYDNWZ7.js → benchmark-BJJVW6RH.js} +9 -9
- package/dist/{browser-LK4FYQXO.js → browser-IOP3IU24.js} +5 -5
- package/dist/{bundleWithLocalizedFonts-NRY45OIW.js → bundleWithLocalizedFonts-TLEZEZXN.js} +2 -2
- package/dist/{capture-DXRZI2WW.js → capture-4Z3KBJNP.js} +13 -13
- package/dist/{capture-SCXKM2WO.js → capture-HVIWNBQA.js} +3 -3
- package/dist/{captureCompositionFrame-NDQEZBHR.js → captureCompositionFrame-J3OOHGC2.js} +12 -12
- package/dist/{catalog-7WRGMHVI.js → catalog-G65QCBXG.js} +12 -12
- package/dist/{catch-up-6QEJHTFF.js → catch-up-VHTDAQYM.js} +5 -5
- package/dist/{check-HNONMHQD.js → check-W7TCUAXY.js} +38 -38
- package/dist/{checkAudio-OLNSZWWX.js → checkAudio-AV7R24FD.js} +11 -11
- package/dist/{checkBrowser-L2L2EEJD.js → checkBrowser-QTMNRNPF.js} +32 -32
- package/dist/{chunk-6YGTOBXW.js → chunk-22U7OCYM.js} +1 -1
- package/dist/{chunk-UZPWLXO6.js → chunk-2L645DAG.js} +1 -1
- package/dist/{chunk-XN22HGE7.js → chunk-2MDFNL2E.js} +1 -1
- package/dist/{chunk-4I7KQWZS.js → chunk-2Q7XV4F6.js} +1 -1
- package/dist/{chunk-UGQFQDSV.js → chunk-35JKCWYI.js} +1 -1
- package/dist/{chunk-5SZ2HRCW.js → chunk-3F6EGZ6C.js} +2 -2
- package/dist/{chunk-KH5XMMSM.js → chunk-5RGVBSDS.js} +2 -2
- package/dist/{chunk-4JHZBIBW.js → chunk-5XOOBNU2.js} +1 -1
- package/dist/{chunk-K2666FKT.js → chunk-6A7DOGSP.js} +1 -1
- package/dist/{chunk-62ER6HGC.js → chunk-6CWSMSOC.js} +3 -3
- package/dist/{chunk-VS7G457O.js → chunk-6MHKL2TB.js} +1 -1
- package/dist/{chunk-BRYOYBO5.js → chunk-6OXVMHTB.js} +1 -1
- package/dist/{chunk-OQRO2MEK.js → chunk-6YIBMA6Y.js} +5 -5
- package/dist/{chunk-ST5EBZTO.js → chunk-A32ZEFZT.js} +9 -3
- package/dist/{chunk-HPRR3WD7.js → chunk-AGFHQTZD.js} +17 -13
- package/dist/{chunk-W2LKSBX5.js → chunk-ARZGHKST.js} +24 -17
- package/dist/{chunk-LJB2PF6K.js → chunk-AUGHXWJC.js} +1 -1
- package/dist/{chunk-YQY4KVP4.js → chunk-BASBBBNB.js} +1 -1
- package/dist/{chunk-VAS6HQX3.js → chunk-BIROA7JM.js} +32 -3
- package/dist/{chunk-64TWYU4M.js → chunk-CIUEQLWL.js} +7 -7
- package/dist/{chunk-WGHUHNXI.js → chunk-CMI2POHT.js} +9 -9
- package/dist/{chunk-YATFRFNH.js → chunk-D5TOH3QI.js} +1 -1
- package/dist/{chunk-AU7VGKCP.js → chunk-DA6GOIIA.js} +1 -1
- package/dist/{chunk-CH4RRRGC.js → chunk-DB6OJRZB.js} +5 -5
- package/dist/{chunk-42K4JLQO.js → chunk-DBT7CRK4.js} +1 -1
- package/dist/{chunk-JY27IRDR.js → chunk-DEXGPHAZ.js} +1 -1
- package/dist/{chunk-VTLIN7XN.js → chunk-DJWAL7AW.js} +2 -2
- package/dist/{chunk-DOZGTBDV.js → chunk-EUZYVUUS.js} +2 -2
- package/dist/{chunk-OV6MUGZI.js → chunk-FGGZKCOT.js} +2 -2
- package/dist/{chunk-NWD2KKM5.js → chunk-FK5TW3IM.js} +1 -1
- package/dist/{chunk-QRIC4WOO.js → chunk-FKPJP7KG.js} +11 -5
- package/dist/{chunk-3MUFCWGK.js → chunk-IMVM6E65.js} +3 -3
- package/dist/{chunk-PNBH4ZY7.js → chunk-IZBJZBBF.js} +2 -2
- package/dist/{chunk-5ETJX6WM.js → chunk-J3OVTOVC.js} +18 -14
- package/dist/{chunk-7VZEOCUY.js → chunk-J74ZUXVU.js} +1 -1
- package/dist/{chunk-3YCAGPZK.js → chunk-JIGD5ZXE.js} +21 -21
- package/dist/{chunk-KLGJ2R4V.js → chunk-K7APBNPW.js} +2 -2
- package/dist/{chunk-2Q4CL6AB.js → chunk-KGM6VQ6D.js} +5 -2
- package/dist/{chunk-K5GGTJJV.js → chunk-KJ2ORDQZ.js} +1 -1
- package/dist/{chunk-WKNWKORX.js → chunk-LZPNAI7P.js} +3 -3
- package/dist/{chunk-UVXIJYZY.js → chunk-MESSJFK3.js} +249 -298
- package/dist/{chunk-JF3RF6GS.js → chunk-MHZB6QSC.js} +1 -1
- package/dist/{chunk-5XDKFCEI.js → chunk-MS2SDIPC.js} +9 -9
- package/dist/{chunk-QY7RG6K3.js → chunk-NEVX7YHH.js} +1 -1
- package/dist/{chunk-CBCZBHGK.js → chunk-NHXGFQWQ.js} +2 -2
- package/dist/{chunk-DEWCAOOL.js → chunk-NKNKRN7G.js} +2 -2
- package/dist/{chunk-P42DLWIY.js → chunk-NQP44XMF.js} +3 -3
- package/dist/{chunk-GHWV6PIS.js → chunk-NSJPSQZ3.js} +1 -1
- package/dist/{chunk-RYBFHEMZ.js → chunk-NSKIGECI.js} +1 -1
- package/dist/{chunk-R7EB4M5P.js → chunk-NYSB3CWY.js} +10 -10
- package/dist/{chunk-ESZ6YPQM.js → chunk-O332YWQV.js} +2 -2
- package/dist/{chunk-H47FQDFU.js → chunk-OURH3TLX.js} +1 -1
- package/dist/{chunk-URKDBFZV.js → chunk-P3XF3ZZF.js} +3 -3
- package/dist/{chunk-G35NVFZF.js → chunk-PCKWLYKA.js} +4 -4
- package/dist/{chunk-LPJMACTI.js → chunk-PIKANFFV.js} +4 -4
- package/dist/{chunk-O44FYXH5.js → chunk-RECS6EGQ.js} +3 -3
- package/dist/{chunk-3C6O5HV2.js → chunk-RF5LOY22.js} +14 -14
- package/dist/{chunk-RLT45AWC.js → chunk-RHEQ7RXZ.js} +1 -1
- package/dist/{chunk-TCVI4ZGS.js → chunk-RIG7XBHW.js} +1 -1
- package/dist/{chunk-5CXGDO74.js → chunk-RIYARQ2O.js} +2 -2
- package/dist/{chunk-2JUNPJUM.js → chunk-RK3LW7NO.js} +2 -2
- package/dist/{chunk-Z27A7NUB.js → chunk-SHOE3UR6.js} +1 -1
- package/dist/{chunk-UWV753SJ.js → chunk-SUQ77SEY.js} +1 -1
- package/dist/{chunk-L4BRJVGC.js → chunk-SW5XTDRD.js} +7 -7
- package/dist/{chunk-EAUUGY4R.js → chunk-TQ3W64VT.js} +3 -3
- package/dist/{chunk-5HGUY24Y.js → chunk-UOIVSNPI.js} +1 -1
- package/dist/{chunk-Z3HHAFEP.js → chunk-VJGQLC2A.js} +7 -7
- package/dist/chunk-VLA6UJGH.js +139 -0
- package/dist/{chunk-V4AS2BNU.js → chunk-VZVRF3JX.js} +3 -3
- package/dist/{chunk-MK4R3APQ.js → chunk-WQYLRTVT.js} +2 -2
- package/dist/{chunk-JMGMOK4Z.js → chunk-X2YBRPCM.js} +13 -6
- package/dist/{chunk-MGZKDR6R.js → chunk-XPV5K5MD.js} +1 -1
- package/dist/{chunk-TDNZIFJ2.js → chunk-YMKTEQIA.js} +48 -15
- package/dist/{chunk-PPMLF76Z.js → chunk-YSTBSLWY.js} +1 -1
- package/dist/{chunk-UQSBVZ3H.js → chunk-ZS5PARPI.js} +8 -5
- package/dist/{clean-2CK4S5ES.js → clean-AYZ2RAMN.js} +20 -20
- package/dist/cli.js +55 -55
- package/dist/{cloud-QRSJMVGW.js → cloud-A53ZNOO6.js} +4 -4
- package/dist/{cloudrun-5XEDIP77.js → cloudrun-USB736UD.js} +4 -4
- package/dist/commands/layout-audit.browser.js +49 -1
- package/dist/{compare-ASV5QBD2.js → compare-42CWJXBR.js} +29 -29
- package/dist/{compiler-CG2EXM75.js → compiler-SV2WYWTI.js} +4 -4
- package/dist/{component-24XLTKUQ.js → component-7JC7NQGM.js} +3 -3
- package/dist/{compositions-AN7ETEKG.js → compositions-6F6743GP.js} +12 -12
- package/dist/{delete-OMKQ3XTL.js → delete-7TRRZI5M.js} +6 -6
- package/dist/{deploy-3M6QRT2H.js → deploy-6SSC2FBD.js} +1 -1
- package/dist/{dist-VNOJCTQR.js → dist-KP2GVAQU.js} +2 -2
- package/dist/{dist-KXFW5H5Q.js → dist-XXBCSQYF.js} +2 -2
- package/dist/{doctor-ABYFP2LY.js → doctor-XEG3GZAA.js} +14 -14
- package/dist/{events-P5AFL2VZ.js → events-33HQE43K.js} +4 -4
- package/dist/{events-64QVWKTU.js → events-I7F24HFX.js} +3 -3
- package/dist/{feedback-LQ2TT4XL.js → feedback-XDTUBZX3.js} +11 -11
- package/dist/{ffmpeg-Y6NMFQ5J.js → ffmpeg-ABXU2TYH.js} +7 -7
- package/dist/{figma-R75KTFW4.js → figma-4JKNWEKN.js} +3 -3
- package/dist/fontLocalizeCli.js +10 -10
- package/dist/{get-KB67C2T7.js → get-EX2INNLN.js} +6 -6
- package/dist/{gpuPolicy-4ERRTA5U.js → gpuPolicy-7TSXQHK4.js} +7 -7
- package/dist/{grade-compare-NPVETP7T.js → grade-compare-TLUTRM2K.js} +30 -30
- package/dist/{heifImagePrep-ABLYQMTO.js → heifImagePrep-UOBBQFA2.js} +8 -8
- package/dist/{help-ZNJG5OJO.js → help-BB4FPW2K.js} +1 -1
- package/dist/{history-HUBQPMLX.js → history-JNETCPLB.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +47 -47
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KDSQGWE5.js → info-7LBANHQG.js} +8 -8
- package/dist/{init-QEPNUQB2.js → init-GZ36UP5K.js} +29 -29
- package/dist/{inspect-27GJ5ZUI.js → inspect-OD54TEQN.js} +30 -30
- package/dist/{installer-OFIDWMYR.js → installer-4KJ7T3KB.js} +4 -4
- package/dist/{keyframes-E2NNHMNK.js → keyframes-KLBNYGYC.js} +7 -7
- package/dist/{lambda-QQ2VVPRQ.js → lambda-554LSIHM.js} +11 -11
- package/dist/{layout-NQQZ5KR7.js → layout-EQAJKTIW.js} +30 -30
- package/dist/{lint-DUYKX36O.js → lint-ZMSIAVMI.js} +9 -9
- package/dist/{lintProject-SZIPPOJR.js → lintProject-I4XPWIQZ.js} +2 -2
- package/dist/{list-HIZY6RSP.js → list-KUZLCZUK.js} +6 -6
- package/dist/{localPage-U2RMKIMN.js → localPage-MQJZAR7Z.js} +7 -7
- package/dist/{login-CLP2ZTEW.js → login-644VKQTJ.js} +9 -8
- package/dist/{logout-CXGSSQ4Q.js → logout-6VFJ7WMW.js} +4 -4
- package/dist/{manager-CXRLWAKH.js → manager-3C33QHJB.js} +8 -8
- package/dist/{manager-LXWVBDLM.js → manager-ENFYM32B.js} +1 -1
- package/dist/{media-treatment-GSWIAGS4.js → media-treatment-XYS2O3JD.js} +14 -14
- package/dist/{media-use-ZRHFRO46.js → media-use-ZNTB7W6N.js} +85 -10
- package/dist/{models-TPHYQXOL.js → models-KOTMJX4Z.js} +11 -11
- package/dist/{motionShot-7UX4TKHZ.js → motionShot-YOSDJ26I.js} +16 -16
- package/dist/{normalize-audio-WBTJDFS7.js → normalize-audio-FNT6Y4MC.js} +18 -12
- package/dist/{open-P7Z2PIPR.js → open-COIGEQCX.js} +12 -12
- package/dist/{parakeetRunner-F2OX525D.js → parakeetRunner-BBXLGDZW.js} +13 -13
- package/dist/{pipeline-2ZDZGL4J.js → pipeline-23GAJEQO.js} +10 -10
- package/dist/{play-YCH7MRNX.js → play-GOCWJH7Z.js} +21 -21
- package/dist/{preflight-MTMSPVCR.js → preflight-7IWI3INL.js} +9 -9
- package/dist/{present-L4HNZ2HU.js → present-VN2RAATE.js} +17 -17
- package/dist/{preview-RWX74O5J.js → preview-MD7W5T56.js} +19 -19
- package/dist/{producer-UI4FXLPQ.js → producer-IRENEI2Y.js} +1 -1
- package/dist/{projectConfig-I6QNMRVV.js → projectConfig-3IXWY6VF.js} +6 -6
- package/dist/{publication-JET7ZBWG.js → publication-MCDU4VIJ.js} +2 -2
- package/dist/{publish-T56AYTZU.js → publish-5477WXAK.js} +15 -15
- package/dist/{refresh-VJ4FQVH2.js → refresh-I6ITGHKL.js} +5 -4
- package/dist/{remove-background-4Y56FLXV.js → remove-background-XYO5ENFU.js} +11 -11
- package/dist/{render-33TSTTN7.js → render-34GMNN2B.js} +5 -5
- package/dist/{render-UBDIHGEG.js → render-54SCVHMS.js} +21 -21
- package/dist/{render-IJ7L24RF.js → render-L66MXLV2.js} +37 -37
- package/dist/{render-batch-SDDZ3LM7.js → render-batch-DOCRB7KQ.js} +5 -5
- package/dist/renderSetupWorker.js +3 -3
- package/dist/{resolver-VLOUQ7I6.js → resolver-Q5XTMECS.js} +4 -4
- package/dist/{sherpa-6GOUBSP2.js → sherpa-E7C2ZGKD.js} +12 -12
- package/dist/skills/hyperframes-cli/references/cloud.md +4 -4
- package/dist/skills/media-use/SKILL.md +3 -1
- package/dist/skills/media-use/audio/references/bgm.md +1 -1
- package/dist/skills/media-use/audio/references/requirements.md +9 -9
- package/dist/skills/media-use/audio/references/tts.md +11 -11
- package/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/heygen-tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +23 -7
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +68 -10
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +2 -2
- package/dist/skills/media-use/references/operations.md +11 -9
- package/dist/skills/media-use/references/setup-providers.md +30 -30
- package/dist/skills/media-use/scripts/lib/heygen-cli.mjs +2 -2
- package/dist/skills/media-use/scripts/lib/telemetry.mjs +2 -1
- package/dist/skills/media-use/scripts/lib/telemetry.test.mjs +49 -4
- package/dist/{skills-MAJGGJKJ.js → skills-DDZCYTVS.js} +6 -6
- package/dist/{skillsUpdateCheck-X6AIBUUG.js → skillsUpdateCheck-4XX7YYZA.js} +3 -3
- package/dist/{snapshot-JKKWQSMQ.js → snapshot-PTLZ25S3.js} +34 -34
- package/dist/{src-RIL5PHI6.js → src-KT325UQS.js} +9 -9
- package/dist/{src-LAO5IGRI.js → src-RDWYM4KF.js} +6 -6
- package/dist/{staticProjectServer-YF5AZXGR.js → staticProjectServer-JCGTNF4E.js} +18 -18
- package/dist/{status-TJFZFDGS.js → status-4AAPTTRW.js} +42 -13
- package/dist/studio/assets/{hyperframes-player-Cf9gtxqa.js → hyperframes-player-CC1Ue2mg.js} +1 -1
- package/dist/studio/assets/{index-zVoFhoyD.js → index-BgjuGqZk.js} +6 -6
- package/dist/studio/assets/{index-CW5fPxU8.js → index-hc5Ru1gB.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-Q2U6752S.js → studio-api-GTN767PW.js} +10 -10
- package/dist/{studioServer-SPU4MINT.js → studioServer-X6O4WB7E.js} +51 -51
- package/dist/{synthesize-IKSZPKFJ.js → synthesize-4JC74JW5.js} +13 -9
- package/dist/{telemetry-W7CBBWIN.js → telemetry-OY2PKIWO.js} +4 -4
- package/dist/{timeline-L26OBLW2.js → timeline-IZZRAXKP.js} +19 -19
- package/dist/{tokens-PNNCTOYV.js → tokens-JHIYKROF.js} +2 -2
- package/dist/{transcribe-PPZFOWMB.js → transcribe-2MPZHRG5.js} +11 -11
- package/dist/{transcribe-XZCZTOPU.js → transcribe-WJ2DIE3W.js} +18 -18
- package/dist/{tts-MQNOBHLH.js → tts-BVTJEP72.js} +1 -1
- package/dist/{updateCheck-SNRZKRO2.js → updateCheck-6XMEFB74.js} +2 -2
- package/dist/{upgrade-WEU5MYWF.js → upgrade-MSNQIWR7.js} +2 -2
- package/dist/{urlDownloader-55NQFDIH.js → urlDownloader-CD6NVJE5.js} +6 -6
- package/dist/{validate-4QEMOBFD.js → validate-7L5LJFTK.js} +24 -24
- package/dist/{video-VYOWJDYM.js → video-HFIDOIQI.js} +8 -8
- package/dist/warmCheck.js +38 -38
- package/package.json +1 -1
- package/dist/chunk-4WEWHZZO.js +0 -24
|
@@ -14,34 +14,34 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
deliveryFlagArgs,
|
|
16
16
|
parseDeliveryFlags
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2L645DAG.js";
|
|
18
18
|
import {
|
|
19
19
|
maybePromptRenderFeedback
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-IMVM6E65.js";
|
|
21
21
|
import {
|
|
22
22
|
reportVariableIssues,
|
|
23
23
|
resolveVariablesArg,
|
|
24
24
|
validateVariablesAgainstProject
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KJ2ORDQZ.js";
|
|
26
26
|
import "./chunk-ZBAF6L74.js";
|
|
27
27
|
import "./chunk-XFMO3BEN.js";
|
|
28
28
|
import {
|
|
29
29
|
renderJobObservabilityTelemetryPayload,
|
|
30
30
|
startRenderCpuSampler
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-DBT7CRK4.js";
|
|
32
32
|
import {
|
|
33
33
|
formatLintStartupMessage
|
|
34
34
|
} from "./chunk-X5EOH44V.js";
|
|
35
35
|
import {
|
|
36
36
|
desktopHint
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-EUZYVUUS.js";
|
|
38
38
|
import {
|
|
39
39
|
runEnvironmentChecks
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VZVRF3JX.js";
|
|
41
41
|
import "./chunk-XQ26I3PL.js";
|
|
42
42
|
import {
|
|
43
43
|
createRenderCancellationScope
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-UOIVSNPI.js";
|
|
45
45
|
import {
|
|
46
46
|
H264EncoderUnavailableError,
|
|
47
47
|
chromeLaunchRemediation,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
findFFmpeg,
|
|
50
50
|
findFFprobe,
|
|
51
51
|
getFFmpegInstallHint
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-A32ZEFZT.js";
|
|
53
53
|
import {
|
|
54
54
|
markRenderSucceeded,
|
|
55
55
|
runPostRenderStep,
|
|
@@ -58,24 +58,24 @@ import {
|
|
|
58
58
|
import {
|
|
59
59
|
RenderQualityError,
|
|
60
60
|
extractSafeRenderErrorCode
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-CMI2POHT.js";
|
|
62
|
+
import "./chunk-RK3LW7NO.js";
|
|
63
|
+
import "./chunk-WQYLRTVT.js";
|
|
64
64
|
import "./chunk-X7MTZ4T2.js";
|
|
65
65
|
import "./chunk-BZ56MTDX.js";
|
|
66
66
|
import "./chunk-N4XNRHFM.js";
|
|
67
67
|
import "./chunk-FI4I7CME.js";
|
|
68
68
|
import {
|
|
69
69
|
captureArtifactRevision
|
|
70
|
-
} from "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
} from "./chunk-DEXGPHAZ.js";
|
|
71
|
+
import "./chunk-6MHKL2TB.js";
|
|
72
72
|
import "./chunk-X7MTZ4T2.js";
|
|
73
73
|
import {
|
|
74
74
|
loadProducer
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-6A7DOGSP.js";
|
|
76
76
|
import {
|
|
77
77
|
resolveProject
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-FK5TW3IM.js";
|
|
79
79
|
import {
|
|
80
80
|
recordRenderSuccess,
|
|
81
81
|
registerRenderOutput
|
|
@@ -87,8 +87,8 @@ import {
|
|
|
87
87
|
resolveBrowserTimeoutMsArg,
|
|
88
88
|
resolveDefaultFpsArg,
|
|
89
89
|
windowsChromeCrashRemediation
|
|
90
|
-
} from "./chunk-
|
|
91
|
-
import "./chunk-
|
|
90
|
+
} from "./chunk-6CWSMSOC.js";
|
|
91
|
+
import "./chunk-NSJPSQZ3.js";
|
|
92
92
|
import {
|
|
93
93
|
errorBox,
|
|
94
94
|
formatBytes,
|
|
@@ -102,16 +102,16 @@ import {
|
|
|
102
102
|
loadProjectConfig,
|
|
103
103
|
readProjectConfigWithStatus,
|
|
104
104
|
seedProjectAuthoringSkill
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-6OXVMHTB.js";
|
|
106
106
|
import "./chunk-XT7X6QCP.js";
|
|
107
107
|
import "./chunk-5YPMCCCA.js";
|
|
108
108
|
import {
|
|
109
109
|
normalizeSkillSlug
|
|
110
110
|
} from "./chunk-HVW7ABXD.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-SUQ77SEY.js";
|
|
112
112
|
import "./chunk-JHOCK3DG.js";
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-
|
|
113
|
+
import "./chunk-DJWAL7AW.js";
|
|
114
|
+
import "./chunk-D5TOH3QI.js";
|
|
115
115
|
import "./chunk-AWDFDFI3.js";
|
|
116
116
|
import "./chunk-P6LJ4Y32.js";
|
|
117
117
|
import "./chunk-T2WJO4XM.js";
|
|
@@ -121,11 +121,11 @@ import {
|
|
|
121
121
|
trackRenderError,
|
|
122
122
|
trackRenderObservation,
|
|
123
123
|
trackRenderPreflightRejected
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import "./chunk-
|
|
124
|
+
} from "./chunk-NEVX7YHH.js";
|
|
125
|
+
import "./chunk-K7APBNPW.js";
|
|
126
126
|
import "./chunk-PXVQOMKL.js";
|
|
127
127
|
import "./chunk-EQGKUPBJ.js";
|
|
128
|
-
import "./chunk-
|
|
128
|
+
import "./chunk-VLA6UJGH.js";
|
|
129
129
|
import {
|
|
130
130
|
defineCommand
|
|
131
131
|
} from "./chunk-DL4OD7IA.js";
|
|
@@ -146,26 +146,26 @@ import {
|
|
|
146
146
|
audioFailureDiagnostics,
|
|
147
147
|
isVideoFrameFormat,
|
|
148
148
|
sandboxDeniedRemediation
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-YMKTEQIA.js";
|
|
150
150
|
import "./chunk-Z5J67X44.js";
|
|
151
151
|
import "./chunk-5S7W3TUO.js";
|
|
152
152
|
import "./chunk-D3MUHMFG.js";
|
|
153
|
-
import "./chunk-
|
|
153
|
+
import "./chunk-KGM6VQ6D.js";
|
|
154
154
|
import "./chunk-YWRUQ7XZ.js";
|
|
155
155
|
import {
|
|
156
156
|
formatRenderOutputTimestamp,
|
|
157
157
|
fpsToFfmpegArg,
|
|
158
158
|
fpsToNumber,
|
|
159
159
|
parseFps
|
|
160
|
-
} from "./chunk-
|
|
161
|
-
import "./chunk-
|
|
160
|
+
} from "./chunk-DA6GOIIA.js";
|
|
161
|
+
import "./chunk-2Q7XV4F6.js";
|
|
162
162
|
import "./chunk-VC76R6W2.js";
|
|
163
163
|
import "./chunk-OFQWTKPW.js";
|
|
164
164
|
import "./chunk-RQVDTPGD.js";
|
|
165
165
|
import "./chunk-3GXQPCJC.js";
|
|
166
166
|
import "./chunk-TK7THLRO.js";
|
|
167
167
|
import "./chunk-FXMKHHPO.js";
|
|
168
|
-
import "./chunk-
|
|
168
|
+
import "./chunk-FKPJP7KG.js";
|
|
169
169
|
import {
|
|
170
170
|
killOrphanedProcessesForRender
|
|
171
171
|
} from "./chunk-PV4XID2A.js";
|
|
@@ -184,9 +184,9 @@ import "./chunk-WE42NVH7.js";
|
|
|
184
184
|
import {
|
|
185
185
|
lintProject,
|
|
186
186
|
shouldBlockRender
|
|
187
|
-
} from "./chunk-
|
|
187
|
+
} from "./chunk-MHZB6QSC.js";
|
|
188
188
|
import "./chunk-CZGHFATT.js";
|
|
189
|
-
import "./chunk-
|
|
189
|
+
import "./chunk-BIROA7JM.js";
|
|
190
190
|
import {
|
|
191
191
|
collectSubCompositionSrcs
|
|
192
192
|
} from "./chunk-PBNWRWKA.js";
|
|
@@ -227,7 +227,7 @@ import "./chunk-J3RXEDR2.js";
|
|
|
227
227
|
import "./chunk-QBXDU24O.js";
|
|
228
228
|
import {
|
|
229
229
|
VERSION
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-FGGZKCOT.js";
|
|
231
231
|
import {
|
|
232
232
|
normalizeErrorMessage
|
|
233
233
|
} from "./chunk-E63BDV4Z.js";
|
|
@@ -530,7 +530,7 @@ function createRenderPlan(args, now = /* @__PURE__ */ new Date()) {
|
|
|
530
530
|
"Invalid batch-concurrency",
|
|
531
531
|
`Got "${args["batch-concurrency"]}". Must be a positive integer.`
|
|
532
532
|
) : 1;
|
|
533
|
-
const rendersDir =
|
|
533
|
+
const rendersDir = join(project.dir, "renders");
|
|
534
534
|
const ext = FORMAT_EXT[format];
|
|
535
535
|
const timestamp = formatRenderOutputTimestamp(now);
|
|
536
536
|
const batchOutputTemplate = args.output ? args.output : join(rendersDir, `${project.name}_${timestamp}_{index}${ext}`);
|
|
@@ -749,7 +749,7 @@ async function executeRenderPlan(plan, dependencies, cancellation) {
|
|
|
749
749
|
let batchModule;
|
|
750
750
|
let preparedBatch;
|
|
751
751
|
if (plan.batchPath) {
|
|
752
|
-
batchModule = await import("./batchRender-
|
|
752
|
+
batchModule = await import("./batchRender-I2GRQUPY.js");
|
|
753
753
|
try {
|
|
754
754
|
preparedBatch = batchModule.prepareBatchRender({
|
|
755
755
|
batchPath: plan.batchPath,
|
|
@@ -849,8 +849,8 @@ function assertRenderActive(cancellation) {
|
|
|
849
849
|
cancellation?.signal.throwIfAborted();
|
|
850
850
|
}
|
|
851
851
|
async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
852
|
-
const { checkDisk } = await import("./preflight-
|
|
853
|
-
await (await import("./manager-
|
|
852
|
+
const { checkDisk } = await import("./preflight-7IWI3INL.js");
|
|
853
|
+
await (await import("./manager-ENFYM32B.js")).sweepKilledInstalls();
|
|
854
854
|
const paths = /* @__PURE__ */ new Set([tmpdir(), renderOutputDirectory(plan)]);
|
|
855
855
|
const low = [...paths].map((path) => checkDisk(path)).filter((outcome) => !outcome.ok);
|
|
856
856
|
if (low.length === 0) return;
|
|
@@ -858,7 +858,7 @@ async function refuseLowDiskBeforeBrowserDownload(plan) {
|
|
|
858
858
|
failCommand();
|
|
859
859
|
}
|
|
860
860
|
async function ensureRenderBrowser(plan, signal) {
|
|
861
|
-
const { ensureBrowser } = await import("./manager-
|
|
861
|
+
const { ensureBrowser } = await import("./manager-ENFYM32B.js");
|
|
862
862
|
let browserSpinner;
|
|
863
863
|
try {
|
|
864
864
|
if (plan.effectiveQuiet) {
|
|
@@ -6,7 +6,7 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
resolveOutputResolutionFromSize
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-AUGHXWJC.js";
|
|
10
10
|
import {
|
|
11
11
|
requireStack
|
|
12
12
|
} from "./chunk-S2HWGG5O.js";
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
loadProjectVariableSchema,
|
|
15
15
|
reportVariableIssues,
|
|
16
16
|
validateVariablesAgainstSchema
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KJ2ORDQZ.js";
|
|
18
18
|
import "./chunk-ZBAF6L74.js";
|
|
19
19
|
import "./chunk-XFMO3BEN.js";
|
|
20
20
|
import {
|
|
21
21
|
errorBox
|
|
22
22
|
} from "./chunk-5ZBMHUY2.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-NSKIGECI.js";
|
|
24
24
|
import {
|
|
25
25
|
runWithConcurrencyLimit
|
|
26
26
|
} from "./chunk-JHOCK3DG.js";
|
|
27
27
|
import {
|
|
28
28
|
c
|
|
29
29
|
} from "./chunk-2GICKZ3I.js";
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-DA6GOIIA.js";
|
|
31
|
+
import "./chunk-2Q7XV4F6.js";
|
|
32
32
|
import "./chunk-VC76R6W2.js";
|
|
33
33
|
import "./chunk-OFQWTKPW.js";
|
|
34
34
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
installLogLine,
|
|
10
10
|
installProgressLine,
|
|
11
11
|
releaseOwnedBrowserInstallLock
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FKPJP7KG.js";
|
|
13
13
|
import {
|
|
14
14
|
killOrphanedProcesses
|
|
15
15
|
} from "./chunk-PV4XID2A.js";
|
|
@@ -25,9 +25,9 @@ import "./chunk-K4MJX7SR.js";
|
|
|
25
25
|
import "./chunk-WE42NVH7.js";
|
|
26
26
|
import {
|
|
27
27
|
lintProject
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MHZB6QSC.js";
|
|
29
29
|
import "./chunk-CZGHFATT.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-BIROA7JM.js";
|
|
31
31
|
import "./chunk-PBNWRWKA.js";
|
|
32
32
|
import "./chunk-KSC4O2RY.js";
|
|
33
33
|
import "./chunk-NHA4NRBE.js";
|
|
@@ -11,15 +11,15 @@ import {
|
|
|
11
11
|
resolveItemWithDependencies,
|
|
12
12
|
resolveItemsByTag,
|
|
13
13
|
unreachableRegistryMessage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SUQ77SEY.js";
|
|
15
15
|
import "./chunk-JHOCK3DG.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-D5TOH3QI.js";
|
|
17
17
|
import "./chunk-AWDFDFI3.js";
|
|
18
18
|
import "./chunk-P6LJ4Y32.js";
|
|
19
19
|
import "./chunk-T2WJO4XM.js";
|
|
20
20
|
import "./chunk-YWRUQ7XZ.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-DA6GOIIA.js";
|
|
22
|
+
import "./chunk-2Q7XV4F6.js";
|
|
23
23
|
import "./chunk-VC76R6W2.js";
|
|
24
24
|
import "./chunk-OFQWTKPW.js";
|
|
25
25
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -17,29 +17,29 @@ import {
|
|
|
17
17
|
sherpaRuntimeLoadError,
|
|
18
18
|
sherpaUnsupportedReason,
|
|
19
19
|
transcribeWithSherpa
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-LZPNAI7P.js";
|
|
21
21
|
import "./chunk-NO6F7CLR.js";
|
|
22
22
|
import "./chunk-Y65ZU7XY.js";
|
|
23
23
|
import "./chunk-6BEFEWFB.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-PCKWLYKA.js";
|
|
25
|
+
import "./chunk-J74ZUXVU.js";
|
|
26
|
+
import "./chunk-UOIVSNPI.js";
|
|
27
|
+
import "./chunk-BASBBBNB.js";
|
|
28
28
|
import "./chunk-R4EWRIDL.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-A32ZEFZT.js";
|
|
30
30
|
import "./chunk-JZIEZCQM.js";
|
|
31
31
|
import "./chunk-UOFAE5RF.js";
|
|
32
32
|
import "./chunk-IR35BCLK.js";
|
|
33
33
|
import "./chunk-HU2SPFNG.js";
|
|
34
34
|
import "./chunk-A4ZTSQLW.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YMKTEQIA.js";
|
|
36
36
|
import "./chunk-Z5J67X44.js";
|
|
37
37
|
import "./chunk-5S7W3TUO.js";
|
|
38
38
|
import "./chunk-D3MUHMFG.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-KGM6VQ6D.js";
|
|
40
40
|
import "./chunk-YWRUQ7XZ.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-DA6GOIIA.js";
|
|
42
|
+
import "./chunk-2Q7XV4F6.js";
|
|
43
43
|
import "./chunk-VC76R6W2.js";
|
|
44
44
|
import "./chunk-OFQWTKPW.js";
|
|
45
45
|
import "./chunk-RQVDTPGD.js";
|
|
@@ -51,9 +51,9 @@ import "./chunk-X6JUUQCM.js";
|
|
|
51
51
|
import "./chunk-KGPLIH7B.js";
|
|
52
52
|
import "./chunk-K4MJX7SR.js";
|
|
53
53
|
import "./chunk-WE42NVH7.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-MHZB6QSC.js";
|
|
55
55
|
import "./chunk-CZGHFATT.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-BIROA7JM.js";
|
|
57
57
|
import "./chunk-PBNWRWKA.js";
|
|
58
58
|
import "./chunk-KSC4O2RY.js";
|
|
59
59
|
import "./chunk-NHA4NRBE.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# cloud — HeyGen-hosted rendering (zero-infra)
|
|
2
2
|
|
|
3
|
-
`hyperframes cloud render` renders a composition on HeyGen's managed cloud. The CLI zips the project, uploads it, runs the render on HeyGen's infrastructure (Chromium + FFmpeg), and downloads the finished video. Nothing to deploy, and no Chrome/FFmpeg/AWS to manage;
|
|
3
|
+
`hyperframes cloud render` renders a composition on HeyGen's managed cloud. The CLI zips the project, uploads it, runs the render on HeyGen's infrastructure (Chromium + FFmpeg), and downloads the finished video. Nothing to deploy, and no Chrome/FFmpeg/AWS to manage; the server applies the selected credential's render allowance or billing.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
6
|
npx hyperframes auth login # one-time sign-in
|
|
@@ -10,13 +10,13 @@ npx hyperframes cloud render # zip, upload, render, download
|
|
|
10
10
|
## When to use managed cloud, Lambda, Cloud Run, or local
|
|
11
11
|
|
|
12
12
|
- **`hyperframes render`** (local): fastest iteration loop, use while authoring.
|
|
13
|
-
- **`hyperframes cloud render`**: zero-infra. HeyGen runs the render
|
|
13
|
+
- **`hyperframes cloud render`**: zero-infra. HeyGen runs the render under the selected credential's allowance or billing. This is the default answer to "render in the cloud" when you don't want to manage Chrome/FFmpeg/AWS.
|
|
14
14
|
- **`hyperframes lambda render`**: bring-your-own-AWS distributed rendering with chunked parallelism. Only worth it when you've already invested in AWS (see `lambda.md`).
|
|
15
15
|
- **`hyperframes cloudrun render`**: bring-your-own-GCP distributed rendering through Cloud Run and Workflows. Use only when GCP ownership is explicit (see `cloudrun.md`).
|
|
16
16
|
|
|
17
17
|
## Authentication
|
|
18
18
|
|
|
19
|
-
Cloud rendering
|
|
19
|
+
Cloud rendering uses the dedicated HyperFrames OAuth client and isolated `~/.hyperframes/credentials` store. A previous shared HeyGen login requires a fresh `hyperframes auth login`; the separate `heygen` CLI keeps its own login. An explicit API key uses API billing.
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
22
|
npx hyperframes auth login # OAuth 2.0 + PKCE, opens the browser
|
|
@@ -30,7 +30,7 @@ npx hyperframes auth refresh # force-refresh an OAuth token before a
|
|
|
30
30
|
npx hyperframes auth logout # clear the stored credential
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
Credential resolution order (first match wins): `HEYGEN_API_KEY`, then `HYPERFRAMES_API_KEY`, then `HEYGEN_ACCESS_TOKEN` (an OAuth token a host app injects; never refreshed or saved), then `~/.
|
|
33
|
+
Credential resolution order (first match wins): `HEYGEN_API_KEY`, then `HYPERFRAMES_API_KEY`, then `HEYGEN_ACCESS_TOKEN` (an OAuth token a host app injects; never refreshed or saved), then `~/.hyperframes/credentials`. `HYPERFRAMES_ENV=dev` selects the dev client, OAuth/API hosts and `~/.hyperframes/dev/credentials` together. `HYPERFRAMES_CONFIG_DIR` overrides the credentials root. `HEYGEN_API_URL` overrides the API host.
|
|
34
34
|
|
|
35
35
|
## The render pipeline
|
|
36
36
|
|
|
@@ -31,7 +31,9 @@ It prints one line, `resolved <id> → <path> (<type>, <metadata>)`. List reusab
|
|
|
31
31
|
|
|
32
32
|
**Host apps.** Inside an app that gives you its own media tools, use those first. When `HEYGEN_API_BASE` is set, the host pays for HeyGen: don't ask for the `heygen` CLI or a sign-in, and when a call is refused, relay the host's message as written and stop.
|
|
33
33
|
|
|
34
|
-
**HeyGen.** Install the [`heygen` CLI](https://developers.heygen.com/cli)
|
|
34
|
+
**HeyGen.** Install the [`heygen` CLI](https://developers.heygen.com/cli), then sign in with `npx hyperframes auth login`. HyperFrames supplies its credential to the helper; it does not read the separate HeyGen CLI login. An explicit API key bills API credits, and the server decides OAuth eligibility and charges. Check setup with `npx hyperframes media-use resolve --doctor`. If a required provider is missing or signed out, give the install link and HyperFrames sign-in command, then offer the free path or wait.
|
|
35
|
+
|
|
36
|
+
**Direct HeyGen recipes.** Commands such as `heygen video-agent create`, `heygen video create`, `heygen voice clone create`, `heygen lipsync`, `heygen video-translate` and `heygen ai-clipping` in `references/operations.md` use the HeyGen CLI's own credential and HeyGen/API billing. They do not inherit HyperFrames OAuth or its subscription. Use only when that separate payer is selected.
|
|
35
37
|
|
|
36
38
|
**Free.** Every tool in the free column needs no account; local models are opt-in installs (`references/setup-providers.md`). Without `heygen`, `resolve` for music, images and icons fails and says so; credit CC BY sounds (`audio/references/sfx.md`). `--local-only` skips every network provider.
|
|
37
39
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
One music bed per composition, produced by the shared audio engine (`scripts/audio.mjs` → `scripts/lib/bgm.mjs`). Two routes, chosen by the engine's one switch — whether a HeyGen credential is present:
|
|
4
4
|
|
|
5
|
-
- **HeyGen retrieval — the default when credentialed.** Search HeyGen's music catalog by mood, download the top track. No generation; same
|
|
5
|
+
- **HeyGen retrieval — the default when credentialed.** Search HeyGen's music catalog by mood, download the top track. No generation; same isolated HyperFrames credential or explicit API key as TTS.
|
|
6
6
|
- **Local generation (Lyria → MusicGen) — the fallback when there is no credential** (or when asked for explicitly). Generate a WAV from a mood prompt. There is **no `npx hyperframes bgm` command**; the engine spawns `scripts/lyria-recipe.py` or an inline MusicGen script directly.
|
|
7
7
|
|
|
8
8
|
> **Run the Preflight first — no credential is not a green light to silently generate locally.** Before generating, complete the sign-in **Preflight** (see `../../SKILL.md` → Preflight): run `npx hyperframes auth status`, recommend signing in, and **STOP for the user's choice** (sign in for HeyGen's music library, or continue offline with local generation). This applies to a one-off "generate a BGM" request just as much as inside a full workflow.
|
|
@@ -4,21 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
Run `npx hyperframes auth status` to see what's configured and which engines a workflow will use (see the skill's **Preflight** section). Keys resolve in this order — **first match wins**:
|
|
6
6
|
|
|
7
|
-
| Provider | Resolution order (first non-empty wins)
|
|
8
|
-
| -------------------------------- |
|
|
9
|
-
| **HeyGen** (TTS + BGM retrieval) | `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → `~/.
|
|
10
|
-
| **ElevenLabs** (TTS fallback) | `$ELEVENLABS_API_KEY`
|
|
11
|
-
| **Lyria** (BGM fallback) | `$GEMINI_API_KEY` → `$GOOGLE_API_KEY`
|
|
12
|
-
| **Kokoro** (TTS, no key) | always — final voice fallback
|
|
13
|
-
| **MusicGen** (BGM, no key) | always — final music fallback
|
|
7
|
+
| Provider | Resolution order (first non-empty wins) | Local deps when used |
|
|
8
|
+
| -------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------ |
|
|
9
|
+
| **HeyGen** (TTS + BGM retrieval) | `$HEYGEN_ACCESS_TOKEN` → `$HEYGEN_API_KEY` → `$HYPERFRAMES_API_KEY` → `~/.hyperframes/credentials` (`$HYPERFRAMES_CONFIG_DIR` overrides the root; dev uses `dev/`) | none (REST) |
|
|
10
|
+
| **ElevenLabs** (TTS fallback) | `$ELEVENLABS_API_KEY` | `pip install elevenlabs` |
|
|
11
|
+
| **Lyria** (BGM fallback) | `$GEMINI_API_KEY` → `$GOOGLE_API_KEY` | `pip install google-genai` |
|
|
12
|
+
| **Kokoro** (TTS, no key) | always — final voice fallback | `pip install kokoro-onnx soundfile` |
|
|
13
|
+
| **MusicGen** (BGM, no key) | always — final music fallback | `pip install transformers torch soundfile numpy` |
|
|
14
14
|
|
|
15
|
-
`hyperframes auth login` (browser OAuth) is the recommended setup: one sign-in, every project, no per-repo `.env`. An OAuth login is sent as `Authorization: Bearer`; an API key as `X-Api-Key`;
|
|
15
|
+
`hyperframes auth login` (browser OAuth) is the recommended setup: one sign-in, every project, no per-repo `.env`. An OAuth login is sent as `Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth is tagged with `X-HeyGen-Source: cli`. The server decides HyperFrames eligibility and charges; API keys use API billing. An expired or foreign OAuth session requires refresh/sign-in and never selects a saved API key. With no HeyGen credential, voice/BGM run fully locally (Kokoro / MusicGen) — `hyperframes auth status` and `hyperframes doctor` both report whether those local deps are installed.
|
|
16
16
|
|
|
17
17
|
## Model caches & system dependencies
|
|
18
18
|
|
|
19
19
|
Each command downloads its own model on first run and caches it under `~/.cache/hyperframes/`:
|
|
20
20
|
|
|
21
|
-
- **TTS (HeyGen)** — no local deps; needs a HeyGen credential + `ffmpeg` on PATH (to transcode the mp3 response to `.wav`). Credential resolves like the CLI:
|
|
21
|
+
- **TTS (HeyGen)** — no local deps; needs a HeyGen credential + `ffmpeg` on PATH (to transcode the mp3 response to `.wav`). Credential resolves like the CLI: the priority above; run `npx hyperframes auth login` for its isolated OAuth store. An OAuth login is sent as `Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth includes `X-HeyGen-Source: cli`; the server selects billing from the verified credential.
|
|
22
22
|
- **TTS (ElevenLabs)** — same as HeyGen: API key + `ffmpeg`.
|
|
23
23
|
- **TTS (Kokoro)** — Kokoro-82M (~311 MB) + voices (~27 MB) in `tts/`. Requires Python 3.8+ with `kokoro-onnx` and `soundfile` (`pip install kokoro-onnx soundfile`). Non-English text also needs `espeak-ng` system-wide.
|
|
24
24
|
- **BGM (Lyria)** — needs `$GEMINI_API_KEY` or `$GOOGLE_API_KEY` + `pip install google-genai`. No local model cache.
|
|
@@ -40,11 +40,11 @@ Gemini is an explicit alternative to the automatic provider order below. A
|
|
|
40
40
|
request to use Gemini already chooses the provider; do not redirect that user
|
|
41
41
|
to HeyGen sign-in. Read the Gemini section for its credential requirement.
|
|
42
42
|
|
|
43
|
-
| Order | Provider | Env trigger
|
|
44
|
-
| ----- | ----------------- |
|
|
45
|
-
| 1 | HeyGen (Starfish) | `$HEYGEN_ACCESS_TOKEN` / `$HEYGEN_API_KEY` / `~/.
|
|
46
|
-
| 2 | ElevenLabs | `$ELEVENLABS_API_KEY`
|
|
47
|
-
| 3 | Kokoro-82M | always (local fallback)
|
|
43
|
+
| Order | Provider | Env trigger | Voice IDs | Word timestamps | Audio format |
|
|
44
|
+
| ----- | ----------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------ | ----------------------------------------- | -------------------- |
|
|
45
|
+
| 1 | HeyGen (Starfish) | `$HEYGEN_ACCESS_TOKEN` / `$HEYGEN_API_KEY` / `~/.hyperframes/credentials` | UUIDs from `GET /v3/voices?engine=starfish`, or your cloned voice ids (`heygen-voice.mjs`) | **Yes** (`word_timestamps[]` in response) | mp3 → wav via ffmpeg |
|
|
46
|
+
| 2 | ElevenLabs | `$ELEVENLABS_API_KEY` | UUIDs from elevenlabs.io dashboard | No | mp3 → wav via ffmpeg |
|
|
47
|
+
| 3 | Kokoro-82M | always (local fallback) | `am_michael`, `af_heart`, … (54 voices) | No | wav direct |
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
50
|
# Local Kokoro CLI
|
|
@@ -61,12 +61,12 @@ no CLI provider plumbing:
|
|
|
61
61
|
The script resolves a HeyGen credential the same way the CLI does — first source
|
|
62
62
|
wins: a host-injected OAuth `$HEYGEN_ACCESS_TOKEN` → `$HEYGEN_API_KEY` →
|
|
63
63
|
`$HYPERFRAMES_API_KEY` → a project `.env` (auto-loaded,
|
|
64
|
-
walks up ≤5 dirs) → `~/.
|
|
65
|
-
`$
|
|
66
|
-
`Authorization: Bearer`; an API key as `X-Api-Key`;
|
|
67
|
-
`X-HeyGen-Source: cli`.
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
walks up ≤5 dirs) → `~/.hyperframes/credentials` (isolated from heygen-cli;
|
|
65
|
+
`$HYPERFRAMES_CONFIG_DIR` overrides the root; `HYPERFRAMES_ENV=dev` uses `dev/`). An OAuth login is sent as
|
|
66
|
+
`Authorization: Bearer`; an API key as `X-Api-Key`; only OAuth includes
|
|
67
|
+
`X-HeyGen-Source: cli`. The server decides HyperFrames eligibility and charges;
|
|
68
|
+
explicit API keys use API billing. An expired or foreign OAuth session stops
|
|
69
|
+
rather than selecting a saved API key, with a hint to run
|
|
70
70
|
`npx hyperframes auth refresh`.
|
|
71
71
|
|
|
72
72
|
```bash
|
|
@@ -90,7 +90,7 @@ fs.writeFileSync(path.join(args[args.indexOf('--dir')+1], 'transcript.json'), JS
|
|
|
90
90
|
encoding: "utf8",
|
|
91
91
|
env: {
|
|
92
92
|
...process.env,
|
|
93
|
-
|
|
93
|
+
HYPERFRAMES_CONFIG_DIR: config,
|
|
94
94
|
HEYGEN_API_KEY: "",
|
|
95
95
|
HYPERFRAMES_API_KEY: "",
|
|
96
96
|
GEMINI_API_KEY: "fixture-key",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
//
|
|
14
14
|
// Flags: -o/--output (.wav → ffmpeg transcode; .mp3 → raw bytes), --words,
|
|
15
15
|
// --voice (starfish id), --speed, --lang, --list.
|
|
16
|
-
// Requires: $HEYGEN_API_KEY / OAuth ~/.
|
|
16
|
+
// Requires: $HEYGEN_API_KEY / OAuth ~/.hyperframes credentials and ffmpeg for .wav output.
|
|
17
17
|
|
|
18
18
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
19
19
|
import { dirname, resolve } from "node:path";
|
|
@@ -3,8 +3,8 @@ import { fetchMedia } from "../../../scripts/lib/media-fetch.mjs";
|
|
|
3
3
|
// pipeline. The credential resolver matches the hyperframes CLI auth: first
|
|
4
4
|
// usable source wins — a host gateway ($HEYGEN_API_BASE with its own
|
|
5
5
|
// $HEYGEN_API_KEY) → a host-injected OAuth $HEYGEN_ACCESS_TOKEN (Bearer) →
|
|
6
|
-
// $HEYGEN_API_KEY / $HYPERFRAMES_API_KEY → a nearby .env → ~/.
|
|
7
|
-
// credentials (
|
|
6
|
+
// $HEYGEN_API_KEY / $HYPERFRAMES_API_KEY → a nearby .env → ~/.hyperframes/
|
|
7
|
+
// credentials (OAuth never falls back to an API key; $HYPERFRAMES_CONFIG_DIR
|
|
8
8
|
// overrides the dir). $HEYGEN_API_BASE moves every request to that host, as it
|
|
9
9
|
// does for the heygen CLI; plain HTTP needs $HEYGEN_ALLOW_HTTP=1, as there.
|
|
10
10
|
// Vendored so the skill ships standalone. Pure node.
|
|
@@ -20,7 +20,8 @@ export const HEYGEN_BASE = "https://api.heygen.com/v3";
|
|
|
20
20
|
// in the clear, so it needs $HEYGEN_ALLOW_HTTP=1, the heygen CLI's own rule.
|
|
21
21
|
export function heygenBase() {
|
|
22
22
|
const host = process.env.HEYGEN_API_BASE?.trim().replace(/\/+$/, "");
|
|
23
|
-
if (!host)
|
|
23
|
+
if (!host)
|
|
24
|
+
return process.env.HYPERFRAMES_ENV === "dev" ? "https://api.dev.heygen.com/v3" : HEYGEN_BASE;
|
|
24
25
|
if (host.startsWith("http://") && process.env.HEYGEN_ALLOW_HTTP !== "1")
|
|
25
26
|
throw new Error(
|
|
26
27
|
`HEYGEN_API_BASE (${host}) uses HTTP, which sends the key in plaintext. Set HEYGEN_ALLOW_HTTP=1 to allow it.`,
|
|
@@ -104,7 +105,7 @@ export function heygenCredential() {
|
|
|
104
105
|
}
|
|
105
106
|
|
|
106
107
|
// heygenCredential's answer, or { unreadable: { file, code } } when the credentials path exists but cannot be read
|
|
107
|
-
// (a folder, a locked ~/.
|
|
108
|
+
// (a folder, a locked ~/.hyperframes), so heygenAuthHeaders can say to fix that path: logging in again would fail there too.
|
|
108
109
|
// Read without checking first, so the file cannot change between a check and the read.
|
|
109
110
|
function resolveCredential() {
|
|
110
111
|
const gatewayKey = hostGatewayKey();
|
|
@@ -116,7 +117,8 @@ function resolveCredential() {
|
|
|
116
117
|
const envKey = process.env.HEYGEN_API_KEY || process.env.HYPERFRAMES_API_KEY;
|
|
117
118
|
if (envKey) return { headers: { "X-Api-Key": envKey } };
|
|
118
119
|
|
|
119
|
-
const
|
|
120
|
+
const root = process.env.HYPERFRAMES_CONFIG_DIR || join(homedir(), ".hyperframes");
|
|
121
|
+
const file = join(root, ...(process.env.HYPERFRAMES_ENV === "dev" ? ["dev"] : []), "credentials");
|
|
120
122
|
let raw;
|
|
121
123
|
try {
|
|
122
124
|
raw = readFileSync(file, "utf8").trim();
|
|
@@ -136,9 +138,23 @@ function resolveCredential() {
|
|
|
136
138
|
}
|
|
137
139
|
const oauth = cred.oauth;
|
|
138
140
|
if (oauth?.access_token) {
|
|
141
|
+
const expectedClient =
|
|
142
|
+
process.env.HYPERFRAMES_OAUTH_CLIENT_ID ||
|
|
143
|
+
(process.env.HYPERFRAMES_ENV === "dev"
|
|
144
|
+
? "9QoaiwCZov9O0cAkC4OZbR4p"
|
|
145
|
+
: "Zg3LF4FCLoeJoGs2YqMtZ17g");
|
|
146
|
+
const expectedTokenEndpoint =
|
|
147
|
+
process.env.HYPERFRAMES_OAUTH_TOKEN_URL ||
|
|
148
|
+
`https://api2.${process.env.HYPERFRAMES_ENV === "dev" ? "dev." : ""}heygen.com/v1/oauth/token`;
|
|
149
|
+
if (
|
|
150
|
+
!expectedClient ||
|
|
151
|
+
oauth.client_id !== expectedClient ||
|
|
152
|
+
oauth.token_endpoint !== expectedTokenEndpoint
|
|
153
|
+
)
|
|
154
|
+
return { expired: true };
|
|
139
155
|
const expired = oauth.expires_at && new Date(oauth.expires_at).getTime() - 60_000 < Date.now();
|
|
140
156
|
if (!expired) return { headers: { Authorization: `Bearer ${oauth.access_token}` } };
|
|
141
|
-
|
|
157
|
+
return { expired: true };
|
|
142
158
|
}
|
|
143
159
|
if (cred.api_key) return { headers: { "X-Api-Key": cred.api_key } };
|
|
144
160
|
return null;
|
|
@@ -176,7 +192,7 @@ export function heygenAuthHeaders() {
|
|
|
176
192
|
"HeyGen OAuth token expired — run `npx hyperframes auth refresh` (or `npx hyperframes auth login`)",
|
|
177
193
|
);
|
|
178
194
|
throw new Error(
|
|
179
|
-
"no
|
|
195
|
+
"no HyperFrames credentials — set $HEYGEN_API_KEY, or run `npx hyperframes auth login` (writes ~/.hyperframes/credentials)",
|
|
180
196
|
);
|
|
181
197
|
}
|
|
182
198
|
|