PR Summary

What problems was I solving

Page rendering needed live execution support for custom components with per-instance isolation, comprehensive diagnostics, and runtime asset resolution.

What user-facing changes did I ship

Custom component images can now be resolved from asset-ids at runtime rather than requiring pre-resolved URLs. Custom components render in sandboxed iframes with runtime height auto-adaptation and visibility diagnostics.

How I implemented it

Implemented iframe-based custom component runtime (page-ui) with strict CSP sandboxing, postMessage protocol for height/diagnostics, and auto-detection of parent origin from referrer. Wire custom component service throughout page gateway execution pipeline (rendering model → session data → state stream) for bidirectional asset-URL resolution.

Description for the changelog

Adds custom component runtime support with sandboxed iframe execution and automatic asset URL resolution. Upgrades scheduler dependency to 0.26.0 for React suspense/blocking compatibility. Introduces preview messaging utilities for diagnostics and selection in preview mode. Maintains per-instance isolation and strict security constraints (sandbox, CSP, origin verification).

Page-UI: Custom Component Runtime and Sandbox

medium1 file
Implementing live custom component page runtime with sandboxed iframe execution and comprehensive diagnostics.

Workspace: React Scheduler Runtime Dependency

medium2 files
Add `scheduler` package as a direct dependency for React runtime use.

Page-UI: Preview Parent Origin and Messaging Utilities

low3 files
Shared parent-origin verification and messaging utilities for custom component diagnostics and preview selection.

Page-Gateway: Custom Component Asset Resolution Mapping

low2 files
Wire custom component asset resolution through state stream and session data mapping.

Page-Gateway: Custom Component Service Integration

low5 files
Integrate CustomComponentService throughout page gateway execution pipeline.

Page-UI: Custom Component Runtime and Sandbox Tests

low4 files
Comprehensive test coverage for custom component runtime, diagnostics, and sandbox behavior.

Build Tools: Knip Generator Exemptions

low3 files
Add knip generator exemptions for generated API files and script entrypoints.

Page-Gateway: Custom Component Service Injection in State Stream

low2 files
Inject CustomComponentService into state stream components for asset resolution.

Page-Gateway: Custom Component Asset Resolution Test

low1 file
Test custom component asset resolution in state stream with contract fetching and URL mapping.