Files
hyperframes/skills-manifest.json
T
Miguel Ángel fa44d7621d feat(core): a composition with no authored length takes it from its clips (#4174)
* feat(core): a composition with no authored length takes it from its clips

A new resolver in @hyperframes/parsers returns a composition length as authored,
derived from its latest clip end, or unresolved, and counts clips whose length is
still pending. The runtime uses it in its two existing max-end loops with identical
results, and as a last resort only when no timeline, floor or caller length exists,
so a composition that has a length today keeps it. The derived source is published
on window.__hf.durationSource for render telemetry.

Lint reports a root that has timed clips but no data-duration as a warning that says
where to author it, and still errors when there is nothing to derive from.

* refactor(core): resolve the runtime duration floor in one call

The declared duration and sub-composition ends were resolved separately and
maxed by hand; one resolver call over both gives the same latest end.

* fix(core): a derived composition length waits for every clip length and reports honestly

Review follow-up. The runtime returns a content-derived length only when no clip is
still pending, so a renderer that reads duration once cannot lock in a short one.
window.__hf.durationSource is cleared whenever a timeline or floor supplies the length,
and the diagnostic fires only for a derived length. Lint says "at least Ns", counts
reference-start clips as known only at runtime, and ignores a data-end before data-start.

* fix(core): a sub-composition with no known length counts as pending

A host whose own timeline is not registered yet no longer lets the content-derived length
show early. Tests pin the pending host and that the diagnostic fires only for a derived length.

* fix(core): a loaded Lottie with no registered animation keeps the length pending

Lottie registers from author scripts with no DOM marker, and nothing re-derives the length
after it registers. A composition with clips and a loaded Lottie library therefore stays at
zero, as before, instead of locking in the clips length and cutting the animation short.

* test(core): a registered Lottie supplies the length and the clips length is not used

Pins the other side of the pending Lottie rule. Once an animation reports a length it enters the
duration floor, so the content-derived fallback is never consulted.

* test(core): the declared and DotLottie pending branches are covered
2026-09-19 11:27:33 -04:00

90 lines
1.8 KiB
JSON

{
"source": "heygen-com/hyperframes",
"skills": {
"embedded-captions": {
"hash": "f1b298aa899d86df",
"files": 142
},
"faceless-explainer": {
"hash": "39e1e4d42e9a5ebe",
"files": 24
},
"figma": {
"hash": "642cce1b5e211182",
"files": 2
},
"general-video": {
"hash": "079d3479295e27b4",
"files": 4
},
"hyperframes": {
"hash": "05525e9c53582e4b",
"files": 26
},
"hyperframes-animation": {
"hash": "479c716293a26531",
"files": 122
},
"hyperframes-audio": {
"hash": "b39bac771e873eae",
"files": 7
},
"hyperframes-cli": {
"hash": "986414090bf6442f",
"files": 11
},
"hyperframes-core": {
"hash": "77ce4deba31148a2",
"files": 11
},
"hyperframes-creative": {
"hash": "0803c90800fda4ce",
"files": 79
},
"hyperframes-keyframes": {
"hash": "6bc62531ecea9a52",
"files": 3
},
"hyperframes-registry": {
"hash": "51e6dba95a8dfb45",
"files": 12
},
"hyperframes-studio": {
"hash": "b063eaa9eb1e4b9b",
"files": 1
},
"media-use": {
"hash": "8f21655cd07a62ea",
"files": 158
},
"motion-graphics": {
"hash": "32641ae2b94c4a8f",
"files": 23
},
"music-to-video": {
"hash": "190e9885dab9b11d",
"files": 169
},
"pr-to-video": {
"hash": "da3a68c5a2a86f77",
"files": 30
},
"product-launch-video": {
"hash": "ced501f76c52716b",
"files": 30
},
"remotion-to-hyperframes": {
"hash": "c8eb6f48889f5c06",
"files": 77
},
"slideshow": {
"hash": "71174bff2d869f18",
"files": 2
},
"talking-head-recut": {
"hash": "7018bf017e8606d2",
"files": 28
}
}
}