Files
hyperframes/scripts/package-size-budgets.json
T
James RussoandClaude Opus 5.5 03ddfb189f fix(producer): render servers only load assets from inside the project (#7579)
* fix(producer): render servers only load assets from inside the project

The HTTP render handlers and the distributed planner now compile with
outside-project imports off: markup that reaches a file beyond the project
directory (through ../, an absolute path, a file: URL or a symlink) is no
longer copied into the compiled directory, served to the page, probed or
extracted. Local `hyperframes render`, `--start/--end` range renders,
`hyperframes benchmark` and Studio renders pass allowOutsideProjectAssets
and keep importing outside files exactly as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test(producer): render the symlinked-assets fixture as a trusted local render

The render-symlinked-assets fixture links src/shared to a sibling folder
outside the project to keep local renders working like preview. The
regression harness now reads renderConfig.allowOutsideProjectAssets from a
fixture's meta.json and passes it to the in-process and
distributed-simulated renders, and this fixture sets it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(producer): render servers read compositions and media only from inside the project

Without the trusted-local opt-in, a sub-composition or entry file that
leads outside the project once symlinks resolve is refused, the same as a
../ sub-composition already is. Local media that resolves outside the
project, compiled and download folders, including absolute paths, file:
URLs and percent-encoded ../ paths, is reported as a missing source and
never probed or extracted. Remote media fetched during the render keeps
working. A missing file is no longer probed for the compile-time advice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* chore(producer): raise the unpacked size budget for the project-folder checks

The producer tarball grows by about 12.5 KB unpacked: the new checks live
in the compiler and render stages, which the index, public-server and
distributed bundles each include. No test files ship in the package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-12 02:31:36 +00:00

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": 880000,
"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
}
}