mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-18 16:08:56 +00:00
* feat(studio): read overlay geometry from an opaque preview over its channel The runtime's editing channel gains a `geometry` request: per element handle its client rect, the corners it paints at when rotated, whether it renders, its clip-path, its source boundary's size, a group wrapper's member rects, and optionally one element's descendant boxes. On a preview frame Studio cannot script, the selection, child, group and hover boxes, the root scale (from the mirrored stage size) and a press held across a preview change read that geometry, with one read in flight at a time. Same-origin frames keep reading the DOM directly; the measuring code they use now lives in core so both paths share one rule. Also from the review of #7613: opaque selections carry `hasAudio` and `src` read off the description, a description with a cut attribute or inline style builds no selection, a failed computed-styles or root read builds none either, and the group refresh threads its frame and leaves a group the user changed meanwhile. `findClosestByAttribute`, left without a caller by #7613, is removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * chore(producer): raise the packed size budget for the runtime's geometry read The producer ships the preview runtime, which now carries the editing channel's `geometry` request and the measuring code it shares with Studio. The packed tarball measured 888,810 bytes in CI against an 880,000 budget. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
63 lines
1.2 KiB
JSON
63 lines
1.2 KiB
JSON
{
|
|
"@hyperframes/aws-lambda": {
|
|
"packed": 78851,
|
|
"unpacked": 290508
|
|
},
|
|
"@hyperframes/cli": {
|
|
"packed": 8577627,
|
|
"unpacked": 25159107
|
|
},
|
|
"@hyperframes/core": {
|
|
"packed": 1762752,
|
|
"unpacked": 4268445
|
|
},
|
|
"@hyperframes/engine": {
|
|
"packed": 490452,
|
|
"unpacked": 1620913
|
|
},
|
|
"@hyperframes/gcp-cloud-run": {
|
|
"packed": 49412,
|
|
"unpacked": 170124
|
|
},
|
|
"@hyperframes/inspector": {
|
|
"packed": 858046,
|
|
"unpacked": 3722000
|
|
},
|
|
"@hyperframes/lint": {
|
|
"packed": 191022,
|
|
"unpacked": 737342
|
|
},
|
|
"@hyperframes/parsers": {
|
|
"packed": 203731,
|
|
"unpacked": 885314
|
|
},
|
|
"@hyperframes/player": {
|
|
"packed": 157145,
|
|
"unpacked": 541601
|
|
},
|
|
"@hyperframes/producer": {
|
|
"packed": 890000,
|
|
"unpacked": 3210000
|
|
},
|
|
"@hyperframes/sdk": {
|
|
"packed": 90662,
|
|
"unpacked": 325069
|
|
},
|
|
"@hyperframes/shader-transitions": {
|
|
"packed": 212864,
|
|
"unpacked": 825937
|
|
},
|
|
"@hyperframes/share": {
|
|
"packed": 148738,
|
|
"unpacked": 575775
|
|
},
|
|
"@hyperframes/studio": {
|
|
"packed": 6589635,
|
|
"unpacked": 26703858
|
|
},
|
|
"@hyperframes/studio-server": {
|
|
"packed": 168500,
|
|
"unpacked": 646000
|
|
}
|
|
}
|