hyperframes 0.9.11 → 0.9.12
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-IAFJH5RC.js → add-NLR4EVAF.js} +5 -5
- package/dist/api.js +6 -5
- package/dist/{asset-UR4PH6KJ.js → asset-7NPBAXDA.js} +2 -2
- package/dist/{audio-HZJ7QZQR.js → audio-ZNVUZH44.js} +9 -8
- package/dist/{auth-UBNAW62X.js → auth-PTVZNLE6.js} +1 -1
- package/dist/{autoUpdate-DDFTFHRP.js → autoUpdate-QJPCV7FB.js} +2 -2
- package/dist/{backgroundChecks-H3TNVYJV.js → backgroundChecks-UA6LCZAG.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-ZDL65J7N.js → batchRender-W4RXBUNE.js} +6 -3
- package/dist/{beats-HOIQSFFP.js → beats-IG7C72YF.js} +4 -4
- package/dist/{benchmark-ZYOQV7DK.js → benchmark-YUD3XIT2.js} +6 -6
- package/dist/{browser-PLFK53IZ.js → browser-TZILXH5J.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-TH5SLG6O.js → bundleWithLocalizedFonts-BOIW3CIU.js} +1 -1
- package/dist/{catalog-CGT32566.js → catalog-AMPL57XF.js} +5 -5
- package/dist/{catch-up-TMYPXRKC.js → catch-up-WQ7ZRRFT.js} +4 -4
- package/dist/{check-4O5J4OWS.js → check-ZPBF3X5D.js} +14 -14
- package/dist/{checkAudio-AAVDZFIQ.js → checkAudio-IG3BOW2G.js} +2 -2
- package/dist/{checkBrowser-3OCZBJC7.js → checkBrowser-AIUIKFMJ.js} +8 -8
- package/dist/{chunk-YTNHZT47.js → chunk-3IKLV3D4.js} +1 -1
- package/dist/chunk-3S27CPV7.js +17 -0
- package/dist/{chunk-SUM3VFPQ.js → chunk-4XGASFTP.js} +2 -2
- package/dist/{chunk-XTYNW745.js → chunk-5WHGO5XU.js} +1 -1
- package/dist/{chunk-BBMMVLA3.js → chunk-64ZWPFAX.js} +1 -1
- package/dist/{chunk-MZHCA5KY.js → chunk-6IFY3ZQC.js} +2 -2
- package/dist/{chunk-CN3Q4CDK.js → chunk-6NKEEHFR.js} +8 -13
- package/dist/{chunk-ZUACTOAB.js → chunk-73EXHUMD.js} +1 -1
- package/dist/{chunk-DI3ZFBZ3.js → chunk-7XKWBMBL.js} +5 -3
- package/dist/{chunk-4ILKN2MX.js → chunk-B3IE7CN2.js} +2 -2
- package/dist/{chunk-KNOIX2U5.js → chunk-BW2RIJKV.js} +235 -192
- package/dist/{chunk-LWFXO732.js → chunk-FFUBISTD.js} +1 -1
- package/dist/{chunk-33K2UZBX.js → chunk-JKSASCBT.js} +2 -2
- package/dist/{chunk-WJ7E5J77.js → chunk-KDOJX2HU.js} +3 -3
- package/dist/{chunk-4YCNVKJX.js → chunk-KT4KPBI7.js} +1 -1
- package/dist/{chunk-37537KOL.js → chunk-LIN633KG.js} +2 -2
- package/dist/{chunk-OQGA4QBD.js → chunk-LO3EX3YP.js} +2 -2
- package/dist/{chunk-YJZYUXHQ.js → chunk-NTHJJ6JT.js} +2 -2
- package/dist/{chunk-LNTUFRZD.js → chunk-OQKAP6X4.js} +1 -1
- package/dist/{chunk-OKD2LP73.js → chunk-P3KBDUNS.js} +1 -1
- package/dist/{chunk-CUYVIDGF.js → chunk-P7Y2YCOF.js} +1 -1
- package/dist/{chunk-T4ELNOK6.js → chunk-Q225NLQL.js} +1 -1
- package/dist/{chunk-6DHC3MVK.js → chunk-QFZ3ZSXI.js} +1 -1
- package/dist/{chunk-7ZBMUKHY.js → chunk-RFTLWXEX.js} +2 -2
- package/dist/{chunk-G3ERWPNV.js → chunk-TNTQ7H24.js} +15 -1
- package/dist/{chunk-JT2ZGKKB.js → chunk-UH62KSYV.js} +1 -1
- package/dist/{chunk-EL2DMHA5.js → chunk-URJ7T6T6.js} +1 -1
- package/dist/{chunk-6JDNEQV5.js → chunk-VECINIPA.js} +1 -1
- package/dist/{chunk-CD65TPHT.js → chunk-VUMGJLRB.js} +1 -1
- package/dist/{chunk-OQHC5YIB.js → chunk-VWQY3A64.js} +1 -1
- package/dist/{chunk-I4XTKG2B.js → chunk-WQ4SMZDF.js} +2 -2
- package/dist/{chunk-IQ5OMRLK.js → chunk-WTGG734B.js} +2 -2
- package/dist/{chunk-QM4OL5MZ.js → chunk-X6XIY4JY.js} +4 -4
- package/dist/{chunk-IMK55N3Z.js → chunk-XJG65BB2.js} +4 -4
- package/dist/{chunk-SRVAYGTN.js → chunk-XZP5OW5V.js} +5 -4
- package/dist/{chunk-VWUUNGSV.js → chunk-YEBIOQRI.js} +1 -1
- package/dist/{chunk-6Y7WZTHJ.js → chunk-Z2DJSEQC.js} +13 -13
- package/dist/{chunk-NO6F7CLR.js → chunk-Z4GE5BXC.js} +5 -2
- package/dist/{clean-2FWZPS4J.js → clean-343XOJT3.js} +4 -4
- package/dist/cli.js +56 -56
- package/dist/{cloud-2UFI7NLD.js → cloud-2YS272KD.js} +4 -4
- package/dist/{cloud-Z3FNCC4T.js → cloud-B6SGMECY.js} +2 -1
- package/dist/{compare-HKRLSFTU.js → compare-KXCTMXFX.js} +8 -5
- package/dist/{component-F43F3363.js → component-ZUDCIGGD.js} +3 -3
- package/dist/{compositions-FFXCISLD.js → compositions-FNFI2QOA.js} +5 -5
- package/dist/{curve-RHSJUG5P.js → curve-5BMBBCSZ.js} +3 -3
- package/dist/{cuts-KVFY3U6C.js → cuts-OKUA6BWH.js} +3 -3
- package/dist/{delete-O7IZKKUN.js → delete-FYMFNSED.js} +5 -4
- package/dist/{deploy-PZAAUW75.js → deploy-YZU2YITA.js} +1 -1
- package/dist/{diff-OMNILRNN.js → diff-5X6I6EG5.js} +8 -7
- package/dist/{doctor-4HZN7ZVI.js → doctor-3DXWW63F.js} +3 -3
- package/dist/{energy-N3ZIPHTP.js → energy-4HY7COXH.js} +3 -3
- package/dist/{events-56A5D6DK.js → events-JAGPGK7R.js} +3 -3
- package/dist/{events-VAJ4Y6XF.js → events-TFVE7AUR.js} +2 -2
- package/dist/{events-TUTAERAN.js → events-ULVZ7V2C.js} +4 -4
- package/dist/{extract-NJMZEOLG.js → extract-5KTFRIH2.js} +9 -6
- package/dist/{face-KLV4W6CP.js → face-T6D34LR7.js} +6 -5
- package/dist/{feedback-4VEKGVLN.js → feedback-QQQYENCU.js} +4 -4
- package/dist/{figma-6XDKKOA6.js → figma-4RODZMCT.js} +3 -3
- package/dist/fontLocalizeCli.js +2 -2
- package/dist/{frames-IAMGMNCA.js → frames-L43TSSAY.js} +3 -3
- package/dist/{generate-FMATRA3L.js → generate-7HZKBLPZ.js} +5 -4
- package/dist/{get-JKA3APWR.js → get-MXKV4NUL.js} +5 -4
- package/dist/{grade-compare-TCLCDUG5.js → grade-compare-KNXFKMFI.js} +8 -6
- package/dist/{help-TWDOQJDN.js → help-YN43ORVX.js} +1 -1
- package/dist/{history-SOWVZUAB.js → history-VAMN53LT.js} +6 -6
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-JDINBZLH.js → info-QKEEGK2R.js} +5 -5
- package/dist/{init-ACNL6AFC.js → init-AAA44PYH.js} +6 -6
- package/dist/{ink-WNEJROFH.js → ink-V6CEFYB6.js} +3 -3
- package/dist/{inspect-37AMWUW3.js → inspect-5JGTWCYO.js} +6 -6
- package/dist/{keyframes-LMUFQW4Z.js → keyframes-FJNUSXAF.js} +6 -6
- package/dist/{lambda-DRGDNEW6.js → lambda-RYCG67CX.js} +1 -1
- package/dist/{layout-E63HPSXW.js → layout-DXIPVY3W.js} +6 -6
- package/dist/{lint-HNZPRCXH.js → lint-JZADWIMR.js} +6 -6
- package/dist/{list-UMR5VN2M.js → list-YRLUJMP6.js} +5 -4
- package/dist/{login-OXOPCSUY.js → login-H74JDEJ2.js} +4 -4
- package/dist/{look-DFQJP2LY.js → look-WVGBBYFE.js} +3 -3
- package/dist/{measure-Y2VXF6LJ.js → measure-DWQHHY3H.js} +11 -11
- package/dist/{media-treatment-U2PDH4P3.js → media-treatment-JHDDWRFU.js} +5 -5
- package/dist/{media-use-KGNGAQQP.js → media-use-5SDC3MCE.js} +2 -2
- package/dist/{models-HATSG3VK.js → models-6SOW23N6.js} +3 -3
- package/dist/{motionShot-45M7MSFQ.js → motionShot-B4K6LEU3.js} +5 -2
- package/dist/{normalize-audio-SOXEVIKM.js → normalize-audio-O6STMACD.js} +4 -4
- package/dist/{open-LRPNBFRW.js → open-VRCTXBD3.js} +4 -4
- package/dist/{parakeetRunner-A7Z6CQOT.js → parakeetRunner-MNOIBRZZ.js} +4 -3
- package/dist/{play-HTHDFMOU.js → play-5WUZGJ4B.js} +4 -4
- package/dist/{present-LQ4PJTP4.js → present-W7OODR7J.js} +4 -4
- package/dist/{preview-CTEDNFN3.js → preview-NOQSYZAD.js} +5 -5
- package/dist/{probe-6IZD5TPR.js → probe-WFIYEXM5.js} +5 -4
- package/dist/{producer-4CR46ON4.js → producer-HI6M6755.js} +1 -1
- package/dist/{render-JHSMAWED.js → render-74JIGKTN.js} +10 -9
- package/dist/{render-VZLEKSHR.js → render-GYQZQB2O.js} +16 -13
- package/dist/{reverse-SCXEQVRH.js → reverse-NEC42AID.js} +1 -1
- package/dist/{run-GRCZ6JO5.js → run-Z6AW753F.js} +2 -2
- package/dist/{sherpa-EENLR3RM.js → sherpa-2ROE6TLC.js} +3 -2
- package/dist/skills/hyperframes/SKILL.md +2 -2
- package/dist/skills/hyperframes/references/plugin-installation.md +5 -6
- package/dist/skills/hyperframes/references/skill-lifecycle.md +15 -10
- package/dist/skills/hyperframes/scripts/plugin-cli.mjs +2 -2
- package/dist/skills/hyperframes-cli/SKILL.md +3 -3
- package/dist/skills/hyperframes-cli/references/init-and-scaffold.md +10 -14
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/sfx.mjs +2 -2
- package/dist/{skills-4TSYBAGW.js → skills-R56MSU2Y.js} +6 -6
- package/dist/{skillsUpdateCheck-MGXL5VXL.js → skillsUpdateCheck-I6G3MQWO.js} +3 -3
- package/dist/{snapshot-P27Y3NJE.js → snapshot-J2NU7WTJ.js} +8 -8
- package/dist/{src-MWO2XBSA.js → src-5XQ6A3VE.js} +1 -1
- package/dist/{start-L5M26YD5.js → start-VUMSNLKC.js} +5 -4
- package/dist/studio/assets/{hyperframes-player-BbRz52ui.js → hyperframes-player-Dw-0BWQW.js} +1 -1
- package/dist/studio/assets/{index-D3y5mWmH.js → index-BNZeN67E.js} +4 -4
- package/dist/studio/assets/{index-CCSgOq2L.js → index-NwWb1W86.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studioServer-J5RPUMHP.js → studioServer-XGR4YPXX.js} +7 -7
- package/dist/{sync-FHT2CHKU.js → sync-ZIMGTQEN.js} +3 -3
- package/dist/{synthesize-YYT7UON6.js → synthesize-S3FF5KXC.js} +4 -1
- package/dist/{telemetry-JWEOBK3Q.js → telemetry-PT5KSL5T.js} +3 -3
- package/dist/{templates-7DIQ52Y4.js → templates-7AT45DZI.js} +4 -1
- package/dist/{timeline-ZO3PNIET.js → timeline-IH422KGC.js} +5 -5
- package/dist/{tokens-X6OTCQCV.js → tokens-ZVJMHDTM.js} +2 -2
- package/dist/{transcribe-KNO3BK5S.js → transcribe-FRRXA77O.js} +8 -7
- package/dist/{tts-JHGGL7GL.js → tts-IMW74GBX.js} +1 -1
- package/dist/{update-WXGSPMEG.js → update-E2RIAV5T.js} +7 -7
- package/dist/{updateCheck-OBYSCTWV.js → updateCheck-EII7XDIR.js} +2 -2
- package/dist/{upgrade-YCCIVSI6.js → upgrade-BKGP2TM7.js} +3 -3
- package/dist/{upload-L5TSWWIU.js → upload-HMRWGZIO.js} +1 -1
- package/dist/{validate-TDVQ2B6Y.js → validate-M4FZVBRP.js} +6 -6
- package/dist/{voices-2LIY4CYK.js → voices-E5RUGLJK.js} +3 -3
- package/dist/warmCheck.js +14 -14
- package/package.json +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# Skill installation and freshness
|
|
2
2
|
|
|
3
|
-
Read this reference when installing or updating skills, diagnosing unexpected skill behavior, or
|
|
3
|
+
Read this reference when the person asks about installing or updating skills, when diagnosing unexpected skill behavior, or when setting up HyperFrames in CI (see `HYPERFRAMES_SKIP_SKILLS` below). Skills are versioned with the CLI. Installing, updating and removing them is the person's step: tell them what is out of date and which command fits, and do not run it yourself.
|
|
4
4
|
|
|
5
5
|
For a plugin installation, follow [plugin execution rules](plugin-installation.md); the plugin manager owns updates and every skill is bundled. The commands below apply only to standalone skills.
|
|
6
6
|
|
|
7
|
-
- **Core set
|
|
8
|
-
- **On demand:** `/figma`, `/slideshow`, `/remotion-to-hyperframes
|
|
7
|
+
- **Core set:** `/hyperframes`, `/hyperframes-cli`, `/hyperframes-registry` and `/media-use`.
|
|
8
|
+
- **On demand:** `/figma`, `/slideshow`, `/remotion-to-hyperframes`, `/reverse-any-video` and `/style-sampling`, which the person installs with `npx hyperframes skills update <name>`.
|
|
9
9
|
|
|
10
10
|
## What `init` does
|
|
11
11
|
|
|
12
|
-
`npx hyperframes init` installs the core set when it is missing and leaves every skill that is already installed as it is: it never refreshes, replaces or removes one.
|
|
12
|
+
Without `--skip-skills`, `npx hyperframes init` installs the core set when it is missing and leaves every skill that is already installed as it is: it never refreshes, replaces or removes one. Installing the core set is the person's step, so pass `--skip-skills` whenever you run `init`. When a core skill is missing, tell the person to run `npx hyperframes skills update`, which also updates the skills already installed. Offline or rate-limited checks degrade gracefully and do not fail project scaffolding.
|
|
13
13
|
|
|
14
14
|
`--skip-skills` makes `init` leave skills alone. `HYPERFRAMES_SKIP_SKILLS=1` does the same for CI and tests.
|
|
15
15
|
|
|
@@ -19,14 +19,19 @@ For a plugin installation, follow [plugin execution rules](plugin-installation.m
|
|
|
19
19
|
|
|
20
20
|
After `render`, `lint` and `validate`, the CLI prints `N HyperFrames skills out of date or missing` to stderr when the cached check finds stale skills, so an agent run without a terminal sees it too. It is off in CI, in dev, with `HYPERFRAMES_NO_UPDATE_CHECK=1` and with `HYPERFRAMES_SKIP_SKILLS=1`, and runs with `--json` too, since it only writes stderr and leaves `--json` stdout untouched.
|
|
21
21
|
|
|
22
|
-
## Diagnose and
|
|
22
|
+
## Diagnose, and what the person can run
|
|
23
23
|
|
|
24
24
|
```bash
|
|
25
25
|
npx hyperframes skills check
|
|
26
26
|
npx hyperframes skills check --json
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The person's install and update commands, to name when you relay a stale result:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npx hyperframes skills update # the person runs this
|
|
33
|
+
npx hyperframes skills update <name> # the person runs this
|
|
34
|
+
npx hyperframes skills # the person runs this
|
|
30
35
|
```
|
|
31
36
|
|
|
32
37
|
- `skills check` exits non-zero when an installed skill is stale or the core set is incomplete. Skills available on demand but not installed are not failures.
|
|
@@ -34,9 +39,9 @@ npx hyperframes skills
|
|
|
34
39
|
- Named `skills update <name...>` also installs those named skills.
|
|
35
40
|
- Bare `skills` installs the full published set explicitly.
|
|
36
41
|
|
|
37
|
-
If the HyperFrames CLI is unavailable,
|
|
42
|
+
If the HyperFrames CLI is unavailable, the person can install with `npx skills add heygen-com/hyperframes --skill <name>` for one skill or `npx skills add heygen-com/hyperframes --all` for the full published set.
|
|
38
43
|
|
|
39
|
-
The CLI may print a one-line stale-skill reminder during `render`, `lint`, or `check`.
|
|
44
|
+
The CLI may print a one-line stale-skill reminder during `render`, `lint`, or `check`. Relay it to the person and keep working from the installed skills; do not continue from a remembered skill.
|
|
40
45
|
|
|
41
46
|
## Keep the project's CLI current
|
|
42
47
|
|
|
@@ -29,7 +29,7 @@ export function pluginVersion(pluginRoot = root) {
|
|
|
29
29
|
return manifest.version;
|
|
30
30
|
}
|
|
31
31
|
throw new Error(
|
|
32
|
-
"No HyperFrames plugin manifest found.
|
|
32
|
+
"No HyperFrames plugin manifest found. This is a standalone skill install; run `npx hyperframes` directly.",
|
|
33
33
|
);
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -45,7 +45,7 @@ export function invocation(
|
|
|
45
45
|
) {
|
|
46
46
|
if (args[0] === "skills")
|
|
47
47
|
throw new Error(
|
|
48
|
-
"
|
|
48
|
+
"Bundled skills are release-managed; the person updates HyperFrames through their agent's plugin manager.",
|
|
49
49
|
);
|
|
50
50
|
const childEnv = {
|
|
51
51
|
...env,
|
|
@@ -3,7 +3,7 @@ name: hyperframes-cli
|
|
|
3
3
|
description: The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
**Plugin installs:**
|
|
6
|
+
**Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](../hyperframes/references/plugin-installation.md).
|
|
7
7
|
|
|
8
8
|
# HyperFrames CLI
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ A `--json` result may carry `_meta.updateNotice`: a newer HyperFrames release is
|
|
|
15
15
|
|
|
16
16
|
| Job | Commands |
|
|
17
17
|
| --- | --- |
|
|
18
|
-
| Start | `init <dir
|
|
18
|
+
| Start | `init <dir> --skip-skills` (blank; `--example <name>` only when asked), `capture <url>` |
|
|
19
19
|
| Read a project | `info`, `compositions`, `timeline --json`, `docs <topic>` |
|
|
20
20
|
| Check it | `lint` while writing; `check --json` as the gate (lint, runtime, layout, contrast) |
|
|
21
21
|
| Look at it | `snapshot` (`--at <t,…>`, `--range START,END`, `--composition <id>`, `--zoom`, `--angle`, `--against <video>`), `keyframes`, `compare`, `audio` |
|
|
@@ -24,7 +24,7 @@ A `--json` result may carry `_meta.updateNotice`: a newer HyperFrames release is
|
|
|
24
24
|
| Media and sound | `media-treatment`, `grade-compare`, `remove-background`, `tts`, `transcribe`, `beats`, `normalize-audio` (`/media-use`) |
|
|
25
25
|
| Show and ship | `preview`, `present` (`/slideshow`), `render`, `publish`, `cloud`, `lambda`, `cloudrun` |
|
|
26
26
|
| Desktop app | `open`, `catch-up` |
|
|
27
|
-
| Upkeep | `doctor`, `browser`, `upgrade`, `
|
|
27
|
+
| Upkeep | `doctor`, `browser`, `upgrade`, `usage`, `clean`, `feedback` |
|
|
28
28
|
|
|
29
29
|
`validate`, `inspect` and `layout` are deprecated aliases of `check`; `events` is telemetry for skills' own scripts. Don't run them.
|
|
30
30
|
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- registry-items: allow=blank,landscape-4k,portrait-4k,square-4k,media-use -->
|
|
4
4
|
|
|
5
|
-
Scaffolding commands. Use these instead of creating files by hand — they set up the right file structure, copy media, run transcription
|
|
5
|
+
Scaffolding commands. Use these instead of creating files by hand — they set up the right file structure, copy media, and run transcription.
|
|
6
6
|
|
|
7
7
|
## init
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
npx hyperframes init my-video
|
|
11
|
-
npx hyperframes init my-video --example warm-grain
|
|
12
|
-
npx hyperframes init my-video --resolution portrait
|
|
13
|
-
npx hyperframes init my-video --video clip.mp4
|
|
14
|
-
npx hyperframes init my-video --audio track.mp3
|
|
15
|
-
npx hyperframes init my-video --tailwind
|
|
16
|
-
npx hyperframes init my-video --non-interactive
|
|
10
|
+
npx hyperframes init my-video --skip-skills # centered blank (TTY: wizard)
|
|
11
|
+
npx hyperframes init my-video --skip-skills --example warm-grain # pick an example
|
|
12
|
+
npx hyperframes init my-video --skip-skills --resolution portrait
|
|
13
|
+
npx hyperframes init my-video --skip-skills --video clip.mp4 # with video file
|
|
14
|
+
npx hyperframes init my-video --skip-skills --audio track.mp3 # with audio file
|
|
15
|
+
npx hyperframes init my-video --skip-skills --tailwind # Tailwind v4 browser runtime
|
|
16
|
+
npx hyperframes init my-video --skip-skills --non-interactive # CI — flag-only, same blank
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
**Default depends on TTY**: in a terminal, the CLI prompts for example/options (default: centered blank). Outside a TTY (CI, agents, piped output) it auto-switches to non-interactive and scaffolds that blank. Pass `--example` only to start from a named example. Pass `--non-interactive` to force flag-only mode on a TTY.
|
|
@@ -24,7 +24,7 @@ Other useful flags:
|
|
|
24
24
|
|
|
25
25
|
- `--resolution` — preset: `landscape` (1920×1080), `portrait` (1080×1920), `landscape-4k`, `portrait-4k`, `square` (1080×1080), `square-4k`. Aliases: `1080p`, `4k`, `uhd`, `1080p-square`, `4k-square`.
|
|
26
26
|
- `--skill=<slug>` — record the owning skill (e.g. `hyperframes`) in `hyperframes.json`, so every later render of this project — re-renders, `npm run render`, `--batch` — is attributed to it on usage telemetry without re-passing the flag. You rarely pass it by hand.
|
|
27
|
-
- `--skip-skills` — leave AI coding skills alone: `init` does not install the core set. `HYPERFRAMES_SKIP_SKILLS=1` does the same.
|
|
27
|
+
- `--skip-skills` — leave AI coding skills alone: `init` does not install the core set. `HYPERFRAMES_SKIP_SKILLS=1` does the same. Always pass it: without it `init` installs any missing core skill, and installing skills is the person's step. When a core skill is missing, tell the person they can install it with `npx hyperframes skills update`.
|
|
28
28
|
- `--skip-transcribe` — don't auto-transcribe `--audio` / `--video` with Whisper.
|
|
29
29
|
- `--model`, `--language` — Whisper model / language for the auto-transcription.
|
|
30
30
|
|
|
@@ -72,8 +72,4 @@ into a fresh output directory; never merge or reuse a blocked attempt's partial
|
|
|
72
72
|
|
|
73
73
|
## skills
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
npx hyperframes skills # install HyperFrames skills for AI coding tools
|
|
77
|
-
```
|
|
78
|
-
|
|
79
|
-
One-time setup that adds the HyperFrames skill pack (/hyperframes with its references, /hyperframes-cli, /hyperframes-registry, /media-use, /figma, /slideshow, /remotion-to-hyperframes, /reverse-any-video) to the local AI coding environment so agents follow the framework conventions. Re-run after major HyperFrames upgrades.
|
|
75
|
+
`npx hyperframes skills` is the person's one-time setup: it adds the HyperFrames skill pack (/hyperframes with its references, /hyperframes-cli, /hyperframes-registry, /media-use, /figma, /slideshow, /remotion-to-hyperframes, /reverse-any-video, /style-sampling) to the local AI coding environment so agents follow the framework conventions. Skills are versioned with the CLI; after a HyperFrames upgrade the person can refresh them with `npx hyperframes skills update`. Tell them when that applies; do not run it yourself.
|
|
@@ -3,7 +3,7 @@ name: media-use
|
|
|
3
3
|
description: Get or make any media for a HyperFrames video - music, sound effects, images, icons, logos, voiceover, avatar and generated video, transcripts, cutouts, colour grades and looks - with HeyGen or free local tools, and mix placed audio. Also for footage that looks dark, flat or dull, or should be stylized or hidden.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
**Plugin installs:**
|
|
6
|
+
**Plugin installs:** Inside a HyperFrames plugin, follow [plugin execution rules](../hyperframes/references/plugin-installation.md).
|
|
7
7
|
|
|
8
8
|
# Media in HyperFrames
|
|
9
9
|
|
|
@@ -146,8 +146,8 @@ export async function resolveSfx({ cues, hyperframesDir, sfxLibDir = BUNDLED_SFX
|
|
|
146
146
|
} else if (!existsSync(dest)) {
|
|
147
147
|
anomalies.push(
|
|
148
148
|
`sfx "${name}" (id ${id}): bundled file ${hit.file} missing from the offline ` +
|
|
149
|
-
`library (${sfxLibDir}) — skipped.
|
|
150
|
-
`restore assets/sfx/*.mp3.`,
|
|
149
|
+
`library (${sfxLibDir}) — skipped. Ask the person to reinstall the media-use ` +
|
|
150
|
+
`skill to restore assets/sfx/*.mp3.`,
|
|
151
151
|
);
|
|
152
152
|
return null;
|
|
153
153
|
} // else the engine's earlier copy at dest stands in for the file this install lacks
|
|
@@ -9,12 +9,12 @@ import {
|
|
|
9
9
|
skillsManagedExternally,
|
|
10
10
|
skills_default,
|
|
11
11
|
updateSkills
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XJG65BB2.js";
|
|
13
13
|
import "./chunk-CIWX5UKC.js";
|
|
14
14
|
import "./chunk-WJD3GVAA.js";
|
|
15
15
|
import "./chunk-6BEFEWFB.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-QFZ3ZSXI.js";
|
|
17
|
+
import "./chunk-UH62KSYV.js";
|
|
18
18
|
import "./chunk-PXVQOMKL.js";
|
|
19
19
|
import "./chunk-MCDNAIFF.js";
|
|
20
20
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -26,8 +26,8 @@ import "./chunk-TK7THLRO.js";
|
|
|
26
26
|
import "./chunk-FXMKHHPO.js";
|
|
27
27
|
import "./chunk-LAGZGKKN.js";
|
|
28
28
|
import "./chunk-FBN2M2HK.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-WTGG734B.js";
|
|
30
|
+
import "./chunk-KT4KPBI7.js";
|
|
31
31
|
import "./chunk-BR2JQQC5.js";
|
|
32
32
|
import "./chunk-BONBJJ35.js";
|
|
33
33
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -35,7 +35,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
35
35
|
import "./chunk-66W5IWLO.js";
|
|
36
36
|
import "./chunk-J3RXEDR2.js";
|
|
37
37
|
import "./chunk-QBXDU24O.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-WQ4SMZDF.js";
|
|
39
39
|
import "./chunk-E63BDV4Z.js";
|
|
40
40
|
import "./chunk-G7VEYUZ2.js";
|
|
41
41
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
recordSkillsCheck,
|
|
11
11
|
refreshSkillsCache,
|
|
12
12
|
skillsCheckDue
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-WTGG734B.js";
|
|
14
|
+
import "./chunk-KT4KPBI7.js";
|
|
15
15
|
import "./chunk-BR2JQQC5.js";
|
|
16
16
|
import "./chunk-BONBJJ35.js";
|
|
17
17
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
19
19
|
import "./chunk-66W5IWLO.js";
|
|
20
20
|
import "./chunk-J3RXEDR2.js";
|
|
21
21
|
import "./chunk-QBXDU24O.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-WQ4SMZDF.js";
|
|
23
23
|
import "./chunk-E63BDV4Z.js";
|
|
24
24
|
import "./chunk-G7VEYUZ2.js";
|
|
25
25
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -37,12 +37,12 @@ import {
|
|
|
37
37
|
} from "./chunk-KUXOAS4Z.js";
|
|
38
38
|
import {
|
|
39
39
|
captureArtifactRevision
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-P3KBDUNS.js";
|
|
41
|
+
import "./chunk-VUMGJLRB.js";
|
|
42
42
|
import "./chunk-X7MTZ4T2.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveProject
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-64ZWPFAX.js";
|
|
46
46
|
import {
|
|
47
47
|
serveStaticProjectHtml
|
|
48
48
|
} from "./chunk-2VYAX3ZD.js";
|
|
@@ -103,8 +103,8 @@ import {
|
|
|
103
103
|
import "./chunk-A4ZTSQLW.js";
|
|
104
104
|
import {
|
|
105
105
|
trackSnapshotRun
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import "./chunk-
|
|
106
|
+
} from "./chunk-QFZ3ZSXI.js";
|
|
107
|
+
import "./chunk-UH62KSYV.js";
|
|
108
108
|
import "./chunk-PXVQOMKL.js";
|
|
109
109
|
import "./chunk-MCDNAIFF.js";
|
|
110
110
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -192,7 +192,7 @@ import "./chunk-FBN2M2HK.js";
|
|
|
192
192
|
import "./chunk-766MOTIZ.js";
|
|
193
193
|
import {
|
|
194
194
|
withMeta
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-KT4KPBI7.js";
|
|
196
196
|
import "./chunk-BR2JQQC5.js";
|
|
197
197
|
import "./chunk-BONBJJ35.js";
|
|
198
198
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
} from "./chunk-66W5IWLO.js";
|
|
209
209
|
import "./chunk-J3RXEDR2.js";
|
|
210
210
|
import "./chunk-QBXDU24O.js";
|
|
211
|
-
import "./chunk-
|
|
211
|
+
import "./chunk-WQ4SMZDF.js";
|
|
212
212
|
import {
|
|
213
213
|
atStep,
|
|
214
214
|
normalizeErrorMessage
|
|
@@ -1201,7 +1201,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
1201
1201
|
async function captureSnapshots(projectDir, opts) {
|
|
1202
1202
|
const startedAt = performance.now();
|
|
1203
1203
|
const log = opts.log ?? ((message) => console.log(message));
|
|
1204
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1204
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-BOIW3CIU.js");
|
|
1205
1205
|
const capture = opts.record === false ? void 0 : await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
1206
1206
|
const invocation = randomUUID();
|
|
1207
1207
|
const artifacts = [];
|
|
@@ -6,12 +6,13 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeReport
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7XKWBMBL.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
runMeasure,
|
|
13
13
|
videoArg
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YEBIOQRI.js";
|
|
15
|
+
import "./chunk-3S27CPV7.js";
|
|
15
16
|
import {
|
|
16
17
|
pageUrl,
|
|
17
18
|
readPlan
|
|
@@ -82,7 +83,7 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
82
83
|
import "./chunk-WC4MTXGN.js";
|
|
83
84
|
import "./chunk-FBN2M2HK.js";
|
|
84
85
|
import "./chunk-766MOTIZ.js";
|
|
85
|
-
import "./chunk-
|
|
86
|
+
import "./chunk-KT4KPBI7.js";
|
|
86
87
|
import "./chunk-BR2JQQC5.js";
|
|
87
88
|
import "./chunk-BONBJJ35.js";
|
|
88
89
|
import "./chunk-ISN5GRYI.js";
|
|
@@ -90,7 +91,7 @@ import "./chunk-ADVVQX4I.js";
|
|
|
90
91
|
import "./chunk-66W5IWLO.js";
|
|
91
92
|
import "./chunk-J3RXEDR2.js";
|
|
92
93
|
import "./chunk-QBXDU24O.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
+
import "./chunk-WQ4SMZDF.js";
|
|
94
95
|
import "./chunk-E63BDV4Z.js";
|
|
95
96
|
import "./chunk-G7VEYUZ2.js";
|
|
96
97
|
import "./chunk-XT6MXC7A.js";
|
package/dist/studio/assets/{hyperframes-player-BbRz52ui.js → hyperframes-player-Dw-0BWQW.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var je=Object.defineProperty;var Be=(r,t,e)=>t in r?je(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var h=(r,t,e)=>Be(r,typeof t!="symbol"?t+"":t,e);import{S as qe,r as Ge,P as Ye,i as Xe,a as be,b as we,c as Ke,m as Ue,s as Ze,d as A,e as Ae,p as Je,f as Qe,g as et,h as tt,j as it,k as Se,F as Te}from"./index-
|
|
1
|
+
var je=Object.defineProperty;var Be=(r,t,e)=>t in r?je(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var h=(r,t,e)=>Be(r,typeof t!="symbol"?t+"":t,e);import{S as qe,r as Ge,P as Ye,i as Xe,a as be,b as we,c as Ke,m as Ue,s as Ze,d as A,e as Ae,p as Je,f as Qe,g as et,h as tt,j as it,k as Se,F as Te}from"./index-BNZeN67E.js";function st(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function rt(r){return F(r)&&typeof r.getDuration=="function"}function nt(r){return F(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function ot(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const B=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:ot("0.0.0-dev");function Y(r){if(r===null)return null;const t=Number.parseInt(r,10);return Number.isFinite(t)&&t>0?t:null}function at(r){const t=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!t)return null;const e=Y(t.getAttribute("data-width")),i=Y(t.getAttribute("data-height"));return e!==null&&i!==null?{width:e,height:i}:null}function dt(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class ht{constructor(t,e){h(this,"_interval",null);h(this,"_runtimeInjected",!1);h(this,"_runtimeScript",null);h(this,"_failure",null);this._iframe=t,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let t=0;this._interval=setInterval(()=>{t++;let e=null;try{e=this._poll(t)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(e={kind:"error",message:i instanceof Error?i.message:String(i)})}e??(e=this._deadlineOutcome(t)),e&&(this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result))},200)}_deadlineOutcome(t){var e,i;return t<40||(i=(e=this._callbacks).hostOwnsDeadline)!=null&&i.call(e)?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(t){const e=this._iframe.contentWindow;if(!e)return null;const i=dt(Reflect.get(e,qe));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(st({hasRuntime:o,hasTimelines:F(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:t}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(t,e){var n;const i=this._resolvePlaybackDurationAdapter(t)??{kind:"document",getDuration:()=>0};let s=i.getDuration();if(!Number.isFinite(s)||s<=0){if(i.kind==="direct-timeline")return null;s=e?((n=Ge(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:at(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const t=this._iframe.contentWindow;return t?this._resolveDirectTimelineAdapterFromWindow(t):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(t){return this._resolveDirectTimelineAdapterFromWindow(t)}hasRuntimeBridge(t){return F(Reflect.get(t,"__player"))}_injectRuntime(){var t,e,i,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(t=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(t))??B,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(i=this._callbacks).onRuntimeInjected)==null||s.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(t){var a,c;if(this.hasRuntimeBridge(t))return null;const e=Reflect.get(t,"__timelines");if(!F(e))return null;const i=Object.keys(e);if(i.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:i[i.length-1],o=e[n];return nt(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(rt(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const lt=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|