peachsim 0.1.1738 → 0.1.1744
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/README.md +4 -0
- package/cli/app-catalog.ts +47 -23
- package/cli/app-fonts.ts +19 -1
- package/cli/command-registry.ts +3 -0
- package/cli/commands/control.ts +67 -16
- package/cli/commands/device.ts +3 -1
- package/cli/commands/doctor.ts +1 -4
- package/cli/commands/inspect/settling.ts +6 -1
- package/cli/commands/inspect/wait-ready.ts +22 -2
- package/cli/commands/package.ts +22 -20
- package/cli/commands/push.ts +56 -0
- package/cli/commands/serve.ts +9 -0
- package/cli/commands/shell-url.ts +37 -9
- package/cli/commands/swift.ts +1 -1
- package/cli/current-sim.ts +27 -0
- package/cli/drivers/linux-browser-libs.lock.json +323 -1
- package/cli/drivers/linux-browser-libs.ts +8 -6
- package/cli/drivers/playwright.ts +5 -1
- package/cli/internal-child.ts +11 -1
- package/cli/main.ts +6 -0
- package/cli/native-input.ts +1 -7
- package/cli/outbound-endpoints.ts +9 -1
- package/cli/packaged-app-launcher.ts +3 -1
- package/cli/scene-video.ts +4 -0
- package/cli/ws-bridge.ts +3 -1
- package/detox/index.ts +9 -4
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +7372 -3675
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +22 -8
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +6340 -3064
- package/dist-lib/expo-swift-metadata.cjs +14 -2
- package/dist-lib/expo-swift-metadata.mjs +14 -2
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +6524 -2720
- package/dist-lib/host/fetch-proxy-handler.cjs +8 -7
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +6 -3
- package/dist-lib/index.cjs +97 -31
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +71 -29
- package/dist-lib/native-app-identity-project.cjs +53 -22
- package/dist-lib/native-app-identity-project.mjs +53 -22
- package/dist-lib/native-app-identity.cjs +10 -3
- package/dist-lib/native-app-identity.mjs +10 -3
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +25 -23
- package/dist-lib/public-origins-lib.json +111 -79
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +4 -1
- package/dist-lib/sdk.mjs +4 -1
- package/dist-lib/skills.cjs +40549 -37613
- package/dist-lib/swift-compile.cjs +2054 -388
- package/dist-lib/swift-compile.mjs +1976 -312
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +68 -8
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +5867 -2646
- package/dist-lib/vite.cjs +18 -8
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/screen-transition-math.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/cli-companion.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +0 -3
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +25 -3
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +1 -15
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +1 -3
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/metro-identity-contract.d.ts +33 -0
- package/dist-types/packages/peach-engine/src/preview/bundle-layout.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/remote-stream/scene-recording.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +28 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +21 -1
- package/dist-types/packages/peach-engine/src/render-worker/prepared-boot-bundle.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +8 -0
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/render-worker/test-bridge-protocol.d.ts +3 -3
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-frame-transaction.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-readback-scheduler.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/rolldown-production-fingerprint.d.ts +1 -4
- package/dist-types/packages/peach-engine/src/rolldown-production-module.d.ts +12 -0
- package/dist-types/packages/peach-engine/src/rolldown-production-roles.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +6 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/shell-events.d.ts +4 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +7 -0
- package/package.json +2 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +1 -0
- package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h +257 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h +305 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h +204 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h +260 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h +164 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h +510 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h +1132 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGConvertColorDataWithFormat.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h +83 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h +197 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGEXRToneMappingGamma.h +36 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h +38 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h +312 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h +106 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGITUToneMapping.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h +409 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h +78 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h +120 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h +55 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h +535 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h +133 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h +252 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFMarkedContentItem.h +37 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h +67 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h +51 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h +101 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h +123 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h +44 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h +52 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStructureElement.h +87 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h +441 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h +89 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGRenderingBufferProvider.h +49 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h +124 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGToneMapping.h +85 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +44 -252
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap +1 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/CFNetworkErrors.h +257 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +0 -6
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +356 -61
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/NSURLSession+Network.h +32 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/Network.h +51 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/advertise_descriptor.h +193 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_descriptor.h +163 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browse_result.h +207 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/browser.h +285 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection.h +714 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_group.h +629 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/connection_report.h +932 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/content_context.h +229 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/endpoint.h +390 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/error.h +135 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ethernet_channel.h +349 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/framer_options.h +1187 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/group_descriptor.h +184 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/interface.h +150 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ip_options.h +351 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/listener.h +438 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/nw_object.h +200 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/parameters.h +1205 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path.h +392 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/path_monitor.h +216 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/privacy_context.h +188 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/protocol_options.h +126 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/proxy_config.h +357 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/quic_options.h +889 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/resolver_config.h +94 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tcp_options.h +459 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/tls_options.h +115 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/txt_record.h +432 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/udp_options.h +112 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Headers/ws_options.h +743 -0
- package/sdk/ios/System/Library/Frameworks/Network.framework/Modules/module.modulemap +9 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h +395 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h +132 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h +107 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h +153 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h +151 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAFrameRateRange.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h +78 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h +1078 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h +97 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h +65 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h +64 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h +135 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h +99 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h +67 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h +124 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h +138 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h +78 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +19 -38
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h +1757 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h +19 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h +28 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h +114 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +16 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h +47 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h +20 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h +13 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h +16 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h +84 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h +119 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h +66 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h +45 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +161 -37
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h +76 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h +8 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h +78 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h +29 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h +104 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h +19 -0
- package/sdk/ios/usr/include/dns_sd.h +3616 -0
- package/sdk/ios/usr/include/dnssd.modulemap +4 -0
- package/sdk/ios/usr/include/module.modulemap +1 -0
- package/sdk/ios/usr/include/sys/socketvar.h +191 -0
- package/sdk/ios/usr/include/sys/vsock.h +84 -0
- package/sdk/native-hashes.json +1 -1
- package/skills/contrast/SKILL.md +6 -5
- package/skills/peach-debug/SKILL.md +68 -264
- package/skills/peach-debug/references/accessibility.md +37 -73
- package/skills/peach-debug/references/commands.md +2 -2
- package/skills/peach-debug/references/events.md +74 -0
- package/skills/peach-perf/SKILL.md +64 -401
- package/skills/peach-perf/references/presentation.md +46 -0
- package/skills/peach-perf/references/profiling.md +93 -0
- package/skills/peach-perf/references/render-counters.md +57 -0
- package/skills/peach-setup/SKILL.md +66 -216
- package/skills/peach-setup/references/native-config.md +35 -0
- package/skills/peach-setup/references/reporting.md +28 -0
- package/skills/peach-test/SKILL.md +68 -284
- package/skills/peach-test/references/detox.md +69 -0
- package/skills/peach-test/references/maestro.md +95 -0
- package/skills/peach-visual/SKILL.md +53 -105
- package/src/appPackageContract.ts +12 -1
- package/src/assetCatalogContract.ts +8 -1
- package/src/bridge-contract.ts +6 -0
- package/src/bundle-channel.mjs +133 -59
- package/src/cli-runtime.ts +8 -9
- package/src/configured-bundle-producer.ts +10 -0
- package/src/device-catalog.ts +68 -4
- package/src/expo-discovery-cache.ts +3 -0
- package/src/expo-native-workspace.ts +81 -17
- package/src/expo-swift-host.ts +57 -104
- package/src/expo-widget-assets.ts +76 -0
- package/src/expoSwiftContract.ts +13 -1
- package/src/host/websocket-proxy.ts +7 -2
- package/src/native-prebuilt.ts +3 -3
- package/src/nitro-adapter.lock.json +263 -263
- package/src/nitro-adapter.ts +69 -7
- package/src/nitro-bundle.ts +52 -24
- package/src/nitro-compile.ts +6 -1
- package/src/nitro-source.ts +82 -4
- package/src/nitro-superset.lock.json +103 -0
- package/src/nitro-superset.ts +137 -0
- package/src/nitroContract.ts +5 -1
- package/src/react-bridge-importers.ts +1 -0
- package/src/settingsContract.ts +26 -1
- package/src/swift-compile.ts +267 -68
- package/src/swift-compiler-digest.ts +2 -0
- package/src/swift-coverage/xcode-packages.ts +61 -1
- package/src/swift-coverage/xcode.ts +10 -12
- package/src/swift-cxx-reachable.ts +1 -1
- package/src/swift-distribution.lock.json +15 -13
- package/src/swift-distribution.ts +57 -26
- package/src/swift-host.ts +48 -35
- package/src/swift-link-roots.ts +45 -18
- package/src/swift-objc-compile.ts +78 -2
- package/src/swift-objc-standin.ts +3 -0
- package/src/swift-shared-sdk.ts +85 -1
- package/src/swift-standins.ts +233 -11
- package/src/swift-submit.ts +13 -1
- package/src/swift-toolchain.ts +82 -7
- package/src/swift-wasm-prune.ts +1629 -0
- package/src/turbo-bundle.ts +11 -10
- package/src/turbo-runtime.lock.json +16 -16
- package/src/vite-plugin-one.ts +12 -1
- package/src/vite-plugin.ts +82 -23
- package/src/wasm-optimize.ts +34 -0
- package/src/worker-system-chunks.ts +3 -3
- package/src/xcode-project.ts +52 -0
- package/src/xcode-target-members.ts +12 -1
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -42,7 +42,7 @@ var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
|
42
42
|
var runtime_companion_default;
|
|
43
43
|
var init_runtime_companion = __esm({
|
|
44
44
|
"runtime-companion.json"() {
|
|
45
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
45
|
+
runtime_companion_default = { abi: 1, sha256: "a2179a0da0db10ec299532f40c183185e8432a1431f3b01ea089c8a431fecd59", file: "node/cli-a2179a0da0db10ec299532f40c183185e8432a1431f3b01ea089c8a431fecd59.cjs" };
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -399,8 +399,7 @@ function verifyCliCompanion(root) {
|
|
|
399
399
|
}
|
|
400
400
|
function getCliRuntime() {
|
|
401
401
|
if (loaded) return loaded.runtime;
|
|
402
|
-
const
|
|
403
|
-
const root = monorepoRoot ? (0, import_node_path2.join)(monorepoRoot, "public/sootsim") : resolveActiveRuntimeRoot();
|
|
402
|
+
const root = resolveDevCheckoutRuntimeAssetRoot() ?? resolveActiveRuntimeRoot();
|
|
404
403
|
if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
|
|
405
404
|
verifyCliCompanion(root);
|
|
406
405
|
const require2 = (0, import_node_module.createRequire)(__sootsim_import_meta_url);
|
|
@@ -1057,7 +1056,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
1057
1056
|
"@zoontek/react-native-navigation-bar",
|
|
1058
1057
|
"clevertap-react-native",
|
|
1059
1058
|
"expo-dynamic-app-icon",
|
|
1060
|
-
"expo-glass-effect",
|
|
1061
1059
|
"expo-health-connect",
|
|
1062
1060
|
"expo-in-app-updates",
|
|
1063
1061
|
"expo-mesh-gradient",
|
|
@@ -1558,7 +1556,6 @@ var LIGHT_NATIVE_PACKAGE_NAMES = [
|
|
|
1558
1556
|
"cobrowse-sdk-react-native",
|
|
1559
1557
|
"cojson-core-rn",
|
|
1560
1558
|
"contour-ai-sdk",
|
|
1561
|
-
"create-react-native-library",
|
|
1562
1559
|
"crisp-sdk-react-native",
|
|
1563
1560
|
"cui-llama.rn",
|
|
1564
1561
|
"dynamsoft-capture-vision-react-native",
|
|
@@ -3353,6 +3350,10 @@ var SOOTSIM_COMPAT_WRAPPER_REAL_PACKAGES = {
|
|
|
3353
3350
|
specifier: "@sootsim-internal/expo-blur-real",
|
|
3354
3351
|
packageName: "expo-blur"
|
|
3355
3352
|
},
|
|
3353
|
+
expoGlassEffect: {
|
|
3354
|
+
specifier: "@sootsim-internal/expo-glass-effect-real",
|
|
3355
|
+
packageName: "expo-glass-effect"
|
|
3356
|
+
},
|
|
3356
3357
|
expoSymbols: {
|
|
3357
3358
|
specifier: "@sootsim-internal/expo-symbols-real",
|
|
3358
3359
|
packageName: "expo-symbols"
|
|
@@ -3534,7 +3535,7 @@ var COMPAT_STUBS = {
|
|
|
3534
3535
|
expoGlassEffect: {
|
|
3535
3536
|
specifier: "expo-glass-effect",
|
|
3536
3537
|
stubFile: "expo-glass-effect.ts",
|
|
3537
|
-
runtimeTier: "
|
|
3538
|
+
runtimeTier: "none",
|
|
3538
3539
|
buildResolvers: ["vite", "dep-prebundle"]
|
|
3539
3540
|
},
|
|
3540
3541
|
expoSymbols: {
|
|
@@ -6295,7 +6296,16 @@ function peachPlugin(options = {}) {
|
|
|
6295
6296
|
const forward = res.statusCode === 200 ? forwardRolldownBundleResponse(upstream, res) : (0, import_promises5.pipeline)(upstream, res);
|
|
6296
6297
|
forward.catch((error) => {
|
|
6297
6298
|
console.error("[peach] bundle forward failed", error);
|
|
6298
|
-
|
|
6299
|
+
const failure = error instanceof Error ? error : new Error(String(error));
|
|
6300
|
+
if (res.headersSent) {
|
|
6301
|
+
res.destroy(failure);
|
|
6302
|
+
return;
|
|
6303
|
+
}
|
|
6304
|
+
upstream.destroy();
|
|
6305
|
+
res.statusCode = 500;
|
|
6306
|
+
for (const key of res.getHeaderNames()) res.removeHeader(key);
|
|
6307
|
+
res.setHeader("content-type", "text/plain; charset=utf-8");
|
|
6308
|
+
res.end(`peach bundle forward failed: ${failure.message}`);
|
|
6299
6309
|
});
|
|
6300
6310
|
};
|
|
6301
6311
|
const upstreamReq = server.config.server.https ? import_node_https2.default.request(options2, respond) : import_node_http3.default.request(options2, respond);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -546,6 +546,7 @@ export interface ShellInteractiveEdgeSwipeSpec {
|
|
|
546
546
|
animation: ScreenTransitionAnimation;
|
|
547
547
|
items: ScreenTransitionItem[];
|
|
548
548
|
preventNativeDismiss: boolean;
|
|
549
|
+
dismissalPreventionPhase?: 'begin';
|
|
549
550
|
contentSwipeEnabled: boolean;
|
|
550
551
|
contentSwipeRtl: boolean;
|
|
551
552
|
contentSwipeProgressWidth: number;
|
|
@@ -25,6 +25,7 @@ export * as preview_trace from './preview/trace.d.ts';
|
|
|
25
25
|
export * as profiler_profile_trace from './profiler/profile-trace.d.ts';
|
|
26
26
|
export * as remote_stream_scene_recording from './remote-stream/scene-recording.d.ts';
|
|
27
27
|
export * as render_worker_app_load from './render-worker/app-load.d.ts';
|
|
28
|
+
export * as render_worker_prepared_boot_bundle from './render-worker/prepared-boot-bundle.d.ts';
|
|
28
29
|
export * as screenshots_timeline_assets from './screenshots/timeline-assets.d.ts';
|
|
29
30
|
export * as screenshots_tokens from './screenshots/tokens.d.ts';
|
|
30
31
|
export * as settings_devices from './settings/devices.d.ts';
|
|
@@ -89,6 +89,7 @@ export interface TextParagraphInputs {
|
|
|
89
89
|
fontSize: number;
|
|
90
90
|
color: string | number;
|
|
91
91
|
paragraphLineHeight: number | null;
|
|
92
|
+
hasExplicitLineHeight: boolean;
|
|
92
93
|
attachmentsStandOnBaseline: boolean;
|
|
93
94
|
mixedParagraphs: boolean;
|
|
94
95
|
paragraphLeading: number;
|
|
@@ -187,6 +188,7 @@ export type ImageSamplingMode = 'mipmapped' | 'cubic' | 'linear' | 'nearest' | '
|
|
|
187
188
|
export declare function flashScrollIndicators(node: SootSimNode): boolean;
|
|
188
189
|
export declare function clearScrollIndicatorsInRoot(root: SootSimNode): void;
|
|
189
190
|
export declare function advanceRendererPaintAnimations(now: number): void;
|
|
191
|
+
export declare function hasJavascriptPaintAnimations(): boolean;
|
|
190
192
|
export declare function hasActiveRendererPaintAnimations(): boolean;
|
|
191
193
|
export declare function drawImage(node: SootSimNode, ctx: RenderContext, x: number, y: number, w: number, h: number, options?: {
|
|
192
194
|
applyFade?: boolean;
|
|
@@ -348,9 +348,6 @@ interface ImageDecodeRequest {
|
|
|
348
348
|
}
|
|
349
349
|
export declare function engineDeployBase(): string;
|
|
350
350
|
export declare function resolveImageFetchUri(uri: string): string;
|
|
351
|
-
export declare function hasSootSimFile(uri: string): boolean;
|
|
352
|
-
export declare function readSootSimFileBytes(uri: string): Uint8Array | null;
|
|
353
|
-
export declare function sootSimFileSize(uri: string): number | null;
|
|
354
351
|
export declare function storeImageBytes(uri: string, buffer: ArrayBuffer, headers?: Record<string, string>): void;
|
|
355
352
|
export declare function registerRecordedImageBytes(uri: string, buffer: ArrayBuffer, headers?: Record<string, string>): void;
|
|
356
353
|
export declare function awaitImageBytes(uri: string, headers?: Record<string, string>, nativeUserAgent?: string | null): Promise<ArrayBuffer>;
|
|
@@ -20,6 +20,7 @@ export declare const DEFAULT_BORDER_COLOR = "black";
|
|
|
20
20
|
export declare function hasPotentiallyVisibleBorder(style: Record<string, any>): boolean;
|
|
21
21
|
export { acquireAnimatedDrivenStyleLease, clearLiveAnimatedStyle, copyAnimatedDrivenStyleLeaseState, getAnimatedDrivenStyleKeyNames, getAnimatedDrivenStyleLeases, getAnimatedDrivenStyleRetirements, hasAnimatedDrivenStyleKeys, hasLiveAnimatedStyle, markAnimatedDrivenStyleKeys, markLiveAnimatedStyle, retireAnimatedDrivenStyleLease, unmarkAnimatedDrivenStyleKeys, } from './animated-driven-style.d.ts';
|
|
22
22
|
export declare function preserveAnimatedDrivenSlots(oldStyle: any, nextStyle: SootSimStyle, previousResolvedStyle?: SootSimStyle): SootSimStyle;
|
|
23
|
+
export declare function isReactNativeRtlScroll(node: SootSimNode): boolean;
|
|
23
24
|
export declare function getScrollContentBounds(node: SootSimNode): {
|
|
24
25
|
maxRight: number;
|
|
25
26
|
maxBottom: number;
|
|
@@ -359,6 +360,10 @@ export declare class SootSimNode {
|
|
|
359
360
|
get presentedScrollOffsetY(): number;
|
|
360
361
|
syncScrollPresentation(presentedDisplacement?: number): void;
|
|
361
362
|
set scrollOffsetY(value: number);
|
|
363
|
+
get nativeScrollRefusal(): string | null;
|
|
364
|
+
nativeScrollOffset(value: number): number;
|
|
365
|
+
get scrollPresentationDisplacementY(): number;
|
|
366
|
+
adoptNativeScroll(horizontal: boolean, value: number): void;
|
|
362
367
|
subscribeScrollOffset(listener: () => void): () => void;
|
|
363
368
|
get _zoomScale(): number | undefined;
|
|
364
369
|
set _zoomScale(value: number | undefined);
|
|
@@ -369,6 +374,7 @@ export declare class SootSimNode {
|
|
|
369
374
|
get _androidEdgeEffect(): AndroidEdgeEffectState | null | undefined;
|
|
370
375
|
set _androidEdgeEffect(value: AndroidEdgeEffectState | null | undefined);
|
|
371
376
|
private invalidateScrollPaint;
|
|
377
|
+
private scrollPaintInvalidates;
|
|
372
378
|
get offsetWidth(): number;
|
|
373
379
|
get offsetHeight(): number;
|
|
374
380
|
private markImperativeScrollDirty;
|
|
@@ -47,6 +47,7 @@ export declare function releaseChunks(state: PaintBoundaryState, flattenReleaseR
|
|
|
47
47
|
export declare function publishBoundaryRecord(node: PaintBoundaryNode, state: PaintBoundaryState): void;
|
|
48
48
|
export declare function releaseRasterCachesInSubtree(node: PaintBoundaryNode): number;
|
|
49
49
|
export declare function isMovingPaintChild(state: PaintBoundaryState, child: PaintBoundaryNode): boolean;
|
|
50
|
+
export declare function nearestPaintBoundaryKeeps(node: PaintBoundaryNode, mutation: 'geometry' | 'paint' | 'scroll'): boolean;
|
|
50
51
|
export declare function invalidateNearestPaintBoundary(node: PaintBoundaryNode | null | undefined, cause?: string, mutation?: 'content' | 'geometry' | 'paint' | 'scroll'): void;
|
|
51
52
|
export declare function paintBoundaryStyleChangePreservesChildContent(node: PaintBoundaryNode, changedKeys: ReadonlySet<string>): boolean;
|
|
52
53
|
export declare function animatedUpdateInvalidatesPaintContent(node: PaintBoundaryNode, wasLayerHost: boolean, update: {
|
|
@@ -29,6 +29,14 @@ export declare const SCENE_FLAG_HOISTED = 2097152;
|
|
|
29
29
|
export declare const SCENE_FLAG_HOIST_HOST = 4194304;
|
|
30
30
|
export declare const SCENE_FLAG_STICKY_INVERTED = 8388608;
|
|
31
31
|
export declare const SCENE_FLAG_PORTAL_HOST = 536870912;
|
|
32
|
+
export declare const SCROLL_INDICATOR_EVENT: {
|
|
33
|
+
readonly clear: 0;
|
|
34
|
+
readonly flash: 1;
|
|
35
|
+
readonly hold: 2;
|
|
36
|
+
readonly sync: 3;
|
|
37
|
+
readonly restartDwell: 4;
|
|
38
|
+
readonly programmaticHide: 5;
|
|
39
|
+
};
|
|
32
40
|
export declare const SCENE_PAINT_KIND_JS = 1;
|
|
33
41
|
export declare const SCENE_PAINT_KIND_JS_VOLATILE = 2;
|
|
34
42
|
export declare const SCENE_PAINT_KIND_BOX = 3;
|
|
@@ -185,7 +193,16 @@ export interface SceneNativeBinding {
|
|
|
185
193
|
_peach_scene_set_blend_runtime(slot: number, effect: number): void;
|
|
186
194
|
_peach_scene_set_damage_outsets(slot: number, known: number, left: number, top: number, right: number, bottom: number, glassPadding: number, glassMaterial: number, glassIntensity: number): void;
|
|
187
195
|
_peach_scene_set_outline(slot: number, r: number, g: number, b: number, a: number, width: number, offset: number, style: number): void;
|
|
188
|
-
_peach_scene_set_scroll_indicator(slot: number, horizontal: number,
|
|
196
|
+
_peach_scene_set_scroll_indicator(slot: number, horizontal: number, ios: number, minOffset: number, scrollRange: number, viewport: number, startInset: number, endInset: number, minLength: number, trackMargin: number, margin: number, thickness: number, radius: number, alphaScale: number, idleOpacity: number, scale: number, white: number, rtl: number): void;
|
|
197
|
+
_peach_scroll_indicator_drop(slot: number, release: number): void;
|
|
198
|
+
_peach_scroll_indicator_scrolled(slot: number): void;
|
|
199
|
+
_peach_scroll_indicators_live_count(): number;
|
|
200
|
+
_peach_scroll_indicators_live(): number;
|
|
201
|
+
_peach_scroll_indicator_event(slot: number, kind: number, now: number): void;
|
|
202
|
+
_peach_scroll_indicator_tick(slot: number, now: number): number;
|
|
203
|
+
_peach_scroll_indicator_fade_at(slot: number): number;
|
|
204
|
+
_peach_scroll_indicator_animating(slot: number, now: number): number;
|
|
205
|
+
_peach_scroll_indicator_draw(canvas: number, slot: number, x: number, y: number, w: number, h: number): void;
|
|
189
206
|
_peach_scene_set_fading_edges(slot: number, horizontal: number, length: number, edges: number): void;
|
|
190
207
|
_peach_walk_painted_images(): number;
|
|
191
208
|
_peach_anim_create(ints: number, doubles: number): number;
|
|
@@ -220,11 +237,14 @@ export interface SceneNativeBinding {
|
|
|
220
237
|
_peach_frame_surfaces(): number;
|
|
221
238
|
_peach_frame_portals(surface: number, count: number): number;
|
|
222
239
|
_peach_portal_end(slot: number): void;
|
|
240
|
+
_peach_portal_hosted(host: number, count: number): number;
|
|
223
241
|
_peach_frame_classes(entries: number): number;
|
|
224
242
|
_peach_frame_hold_slots(): number;
|
|
225
243
|
_peach_frame_dirty(): number;
|
|
226
244
|
_peach_frame_current_surface(): number;
|
|
227
245
|
_peach_frame_watch(count: number): number;
|
|
246
|
+
_peach_frame_scroll_drives(count: number): number;
|
|
247
|
+
_peach_frame_scroll_drive(index: number, surface: number, slot: number, horizontal: number, start: number, period: number, displacement: number, rests: number, count: number): number;
|
|
228
248
|
_peach_frame(hostMs: number, nowMs: number): number;
|
|
229
249
|
peachFramePresent?: (mask: number, submitted: number) => number;
|
|
230
250
|
readonly HEAPU8: Uint8Array;
|
|
@@ -301,8 +321,10 @@ export declare class SceneTable {
|
|
|
301
321
|
transformBounded(slot: number): boolean;
|
|
302
322
|
zIndex(slot: number): number;
|
|
303
323
|
noteScrolled(slot: number): void;
|
|
304
|
-
|
|
305
|
-
|
|
324
|
+
liveScrollIndicators(): number[];
|
|
325
|
+
scrollIndicatorAnimating(slot: number, now: number): boolean;
|
|
326
|
+
scrollIndicatorEvent(slot: number, kind: number, now: number): void;
|
|
327
|
+
dropScrollIndicator(slot: number, release: boolean): void;
|
|
306
328
|
reclassify(slot: number): void;
|
|
307
329
|
flushClassification(root: number, classify: (slot: number) => void): void;
|
|
308
330
|
stampPaintInputs(slot: number, values: unknown[] | null, matches: (node: object, values: unknown[]) => boolean): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ScrollMomentumPhysics } from './scroll-momentum-math.d.ts';
|
|
2
2
|
export declare const IOS_REFRESH_TITLE_FONT_SIZE = 12;
|
|
3
3
|
export declare function getIOSRefreshTitleFontSize(): number;
|
|
4
4
|
export declare function getRefreshHoldOffset(platform: string | undefined, hasTitle: boolean, titleFontSize?: number): number;
|
|
@@ -58,18 +58,4 @@ export declare function resolveScrollIndicatorMetrics(opts: {
|
|
|
58
58
|
white: boolean;
|
|
59
59
|
idleOpacity: number | null;
|
|
60
60
|
};
|
|
61
|
-
export declare function layoutIosScrollIndicator(opts: {
|
|
62
|
-
viewportSize: number;
|
|
63
|
-
scrollRange: number;
|
|
64
|
-
contentOffset: number;
|
|
65
|
-
minOffset: number;
|
|
66
|
-
startInset: number;
|
|
67
|
-
endInset: number;
|
|
68
|
-
minLength: number;
|
|
69
|
-
margin: number;
|
|
70
|
-
scale: number;
|
|
71
|
-
}): {
|
|
72
|
-
pos: number;
|
|
73
|
-
length: number;
|
|
74
|
-
};
|
|
75
61
|
export declare function iosConcentricCornerInset(radius: number, dx: number, dy: number): number;
|
|
@@ -314,9 +314,7 @@ export declare class ScrollHandler {
|
|
|
314
314
|
getDebugState(): ScrollDebugState;
|
|
315
315
|
}
|
|
316
316
|
export declare function findFirstScrollView(node: SootSimNode): SootSimNode | null;
|
|
317
|
-
export declare function findScrollViewInFirstDescendantChain(node: SootSimNode | null | undefined
|
|
318
|
-
skipHidden?: boolean;
|
|
319
|
-
}): SootSimNode | null;
|
|
317
|
+
export declare function findScrollViewInFirstDescendantChain(node: SootSimNode | null | undefined): SootSimNode | null;
|
|
320
318
|
export declare function findStatusBarScrollToTopView(root: SootSimNode, requestX: number): SootSimNode | null;
|
|
321
319
|
export declare function scrollTabScreenContentToTop(screenNode: SootSimNode, onRender: () => void): boolean;
|
|
322
320
|
export declare function isScrollNodeHoldingIndicator(node: SootSimNode): boolean;
|
|
@@ -286,6 +286,12 @@ export interface SootSimStyle {
|
|
|
286
286
|
paddingVertical?: number;
|
|
287
287
|
paddingStart?: number;
|
|
288
288
|
paddingEnd?: number;
|
|
289
|
+
paddingInline?: number;
|
|
290
|
+
paddingInlineStart?: number;
|
|
291
|
+
paddingInlineEnd?: number;
|
|
292
|
+
paddingBlock?: number;
|
|
293
|
+
paddingBlockStart?: number;
|
|
294
|
+
paddingBlockEnd?: number;
|
|
289
295
|
margin?: SootSimAnimatedLength;
|
|
290
296
|
marginTop?: SootSimAnimatedLength;
|
|
291
297
|
marginRight?: SootSimAnimatedLength;
|
|
@@ -295,6 +301,12 @@ export interface SootSimStyle {
|
|
|
295
301
|
marginVertical?: SootSimAnimatedLength;
|
|
296
302
|
marginStart?: SootSimAnimatedLength;
|
|
297
303
|
marginEnd?: SootSimAnimatedLength;
|
|
304
|
+
marginInline?: SootSimAnimatedLength;
|
|
305
|
+
marginInlineStart?: SootSimAnimatedLength;
|
|
306
|
+
marginInlineEnd?: SootSimAnimatedLength;
|
|
307
|
+
marginBlock?: SootSimAnimatedLength;
|
|
308
|
+
marginBlockStart?: SootSimAnimatedLength;
|
|
309
|
+
marginBlockEnd?: SootSimAnimatedLength;
|
|
298
310
|
position?: 'relative' | 'absolute' | 'static';
|
|
299
311
|
top?: SootSimAnimatedLength;
|
|
300
312
|
right?: SootSimAnimatedLength;
|
|
@@ -303,6 +315,12 @@ export interface SootSimStyle {
|
|
|
303
315
|
start?: SootSimAnimatedLength;
|
|
304
316
|
end?: SootSimAnimatedLength;
|
|
305
317
|
inset?: SootSimAnimatedLength;
|
|
318
|
+
insetInline?: SootSimAnimatedLength;
|
|
319
|
+
insetInlineStart?: SootSimAnimatedLength;
|
|
320
|
+
insetInlineEnd?: SootSimAnimatedLength;
|
|
321
|
+
insetBlock?: SootSimAnimatedLength;
|
|
322
|
+
insetBlockStart?: SootSimAnimatedLength;
|
|
323
|
+
insetBlockEnd?: SootSimAnimatedLength;
|
|
306
324
|
backgroundColor?: any;
|
|
307
325
|
tintColor?: any;
|
|
308
326
|
borderColor?: string;
|
|
@@ -325,6 +343,8 @@ export interface SootSimStyle {
|
|
|
325
343
|
borderTopRightRadius?: SootSimAnimatedNumber;
|
|
326
344
|
borderBottomRightRadius?: SootSimAnimatedNumber;
|
|
327
345
|
borderBottomLeftRadius?: SootSimAnimatedNumber;
|
|
346
|
+
borderTopStartRadius?: SootSimAnimatedNumber;
|
|
347
|
+
borderTopEndRadius?: SootSimAnimatedNumber;
|
|
328
348
|
borderBottomStartRadius?: SootSimAnimatedNumber;
|
|
329
349
|
borderBottomEndRadius?: SootSimAnimatedNumber;
|
|
330
350
|
opacity?: any;
|
|
@@ -378,6 +398,8 @@ export interface SootSimStyle {
|
|
|
378
398
|
_uikitLabel?: true;
|
|
379
399
|
_textKitLeadingAbove?: true;
|
|
380
400
|
_coreTextLine?: true;
|
|
401
|
+
_textViewBlock?: true;
|
|
402
|
+
_textKitCodeBackground?: true;
|
|
381
403
|
_textBackingRaster?: true;
|
|
382
404
|
_fieldLine?: boolean;
|
|
383
405
|
_swiftUIWidthProposal?: number;
|
|
@@ -389,6 +411,7 @@ export interface SootSimStyle {
|
|
|
389
411
|
_androidTextView?: true;
|
|
390
412
|
_androidTextSize?: 'dimension' | 'sp';
|
|
391
413
|
_swiftUILayout?: boolean;
|
|
414
|
+
_pixelSnapped?: true;
|
|
392
415
|
_swiftUIVerticalGuide?: 'firstTextLineCenter' | 'firstTextBaseline' | 'lastTextBaseline';
|
|
393
416
|
_swiftUIPlatformView?: true;
|
|
394
417
|
_uikitControlContent?: true;
|
|
@@ -22,6 +22,12 @@ export declare function resolveElectronStageReserve(showBezels: boolean, model:
|
|
|
22
22
|
topPad: number;
|
|
23
23
|
bottomPad: number;
|
|
24
24
|
};
|
|
25
|
+
export declare const NATIVE_WINDOW_STAGE_RESERVE: {
|
|
26
|
+
leftPad: number;
|
|
27
|
+
rightPad: number;
|
|
28
|
+
topPad: number;
|
|
29
|
+
bottomPad: number;
|
|
30
|
+
};
|
|
25
31
|
export declare const ELECTRON_DUO_RAIL_RESERVE = 70;
|
|
26
32
|
export declare const DUO_CONTROLS_INSET = 18;
|
|
27
33
|
export declare const DUO_CONTROLS_HEIGHT = 36;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { RNXMetroLogicalSpecifierMap, RNXMetroModuleIdentity, RNXMetroModuleIdentitySource, RNXMetroModulePathMap } from '../../../../src/metro-production-bundle.ts';
|
|
2
|
+
export type MetroModuleIdentity = {
|
|
3
|
+
tier: 'exact';
|
|
4
|
+
source: 'webpack-names';
|
|
5
|
+
contentHash: string;
|
|
6
|
+
moduleNames: string[];
|
|
7
|
+
} | {
|
|
8
|
+
tier: 'exact';
|
|
9
|
+
source: 'metro-names' | 'rolldown-names';
|
|
10
|
+
moduleNames: string[];
|
|
11
|
+
} | {
|
|
12
|
+
tier: 'exact';
|
|
13
|
+
source: RNXMetroModuleIdentitySource;
|
|
14
|
+
modulePaths: RNXMetroModulePathMap;
|
|
15
|
+
logicalSpecifiers: RNXMetroLogicalSpecifierMap;
|
|
16
|
+
formatVersion: number;
|
|
17
|
+
} | {
|
|
18
|
+
tier: 'inferred';
|
|
19
|
+
source: 'rolldown-fingerprints';
|
|
20
|
+
moduleNames: string[];
|
|
21
|
+
contentHash: string;
|
|
22
|
+
} | {
|
|
23
|
+
tier: 'inferred';
|
|
24
|
+
source: 'fingerprint-registry';
|
|
25
|
+
modulePaths: RNXMetroModulePathMap;
|
|
26
|
+
registryRevision: string;
|
|
27
|
+
registryIntegrity: string;
|
|
28
|
+
matchedPackages: string[];
|
|
29
|
+
unknownModules: number;
|
|
30
|
+
};
|
|
31
|
+
export declare function exactMetroModuleIdentity(identity: RNXMetroModuleIdentity): MetroModuleIdentity;
|
|
32
|
+
export declare function readMetroModuleIdentity(value: unknown): MetroModuleIdentity;
|
|
33
|
+
export declare function metroIdentityModuleNames(identity: MetroModuleIdentity): string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type TextBundleFormat = 'metro' | 'vxrn' | 'unknown';
|
|
2
2
|
export declare function textBundleFormat(source: string): TextBundleFormat;
|
|
3
|
-
export declare function isRolldownBundle(bundleText: string): boolean;
|
|
3
|
+
export declare function isRolldownBundle(bundleText: string, format?: TextBundleFormat): boolean;
|
|
4
4
|
export declare function isNativeJavaScriptBundle(source: string): boolean;
|
|
5
5
|
export declare const MIN_NAMED_MODULES = 5;
|
|
6
6
|
export declare function bootReadsBundleLayout(source: string): boolean;
|
|
@@ -9,6 +9,7 @@ export interface SceneRecordingHeader {
|
|
|
9
9
|
durationMs: number;
|
|
10
10
|
frameCount: number;
|
|
11
11
|
recordedAtEpochMs: number;
|
|
12
|
+
skippedAssets?: number;
|
|
12
13
|
}
|
|
13
14
|
export interface SceneRecordingFrame {
|
|
14
15
|
t: number;
|
|
@@ -38,6 +39,7 @@ export declare class SceneRecorder {
|
|
|
38
39
|
private readonly constructedAtMs;
|
|
39
40
|
private readonly constructedAtEpochMs;
|
|
40
41
|
private overflowed;
|
|
42
|
+
private skippedAssets;
|
|
41
43
|
private readonly untimedSlots;
|
|
42
44
|
constructor(startedAtMs: number, bootstrap: readonly Uint8Array[], awaitingFullScene: boolean);
|
|
43
45
|
take(arrivalMs: number, bytes: Uint8Array, opensFullScene: boolean, isState: boolean): void;
|
|
@@ -150,7 +150,7 @@ export interface CompositorGpuBackend {
|
|
|
150
150
|
programTexture(target: CompositorGpuTarget): GPUTexture;
|
|
151
151
|
targetImage(target: CompositorGpuTarget): SkImage;
|
|
152
152
|
readonly admissionLimit: number;
|
|
153
|
-
tryAdmit(source: GpuFrameSource, graphiteSubmissionBudget?: WebGpuGraphiteSubmissionBudget, defer?: boolean): CompositorGpuAdmissionDecision;
|
|
153
|
+
tryAdmit(source: GpuFrameSource, graphiteSubmissionBudget?: WebGpuGraphiteSubmissionBudget, defer?: boolean, urgent?: boolean): CompositorGpuAdmissionDecision;
|
|
154
154
|
waitForAdmission(source: GpuFrameSource, stillWanted?: () => boolean, graphiteSubmissionBudget?: WebGpuGraphiteSubmissionBudget): Promise<CompositorGpuAdmission>;
|
|
155
155
|
failPendingAdmissions(error: Error): void;
|
|
156
156
|
runFrame<T>(admission: CompositorGpuAdmission, options: CompositorFrameOptions, record: (frame: CompositorGpuFrame) => T): CompositorFrameCompletion<T>;
|
|
@@ -61,6 +61,7 @@ export interface NativeWindowOwnership extends NativeWindowSource {
|
|
|
61
61
|
windows: readonly NativeWindowInputRegion[];
|
|
62
62
|
}
|
|
63
63
|
export type CapturePublicationOrigin = 'tenant' | 'shell' | 'video';
|
|
64
|
+
export type CapturePublicationPurpose = 'capture' | 'live';
|
|
64
65
|
export type CompositorFatalReason = 'init' | 'device-lost' | 'frame-production' | 'profile-measurement';
|
|
65
66
|
export interface GraphiteCachePoolSnapshot {
|
|
66
67
|
currentBytes: number;
|
|
@@ -1283,6 +1284,7 @@ export type CompositorHostToWorker = {
|
|
|
1283
1284
|
type: 'beginCapturePublicationBarrier';
|
|
1284
1285
|
requestId: number;
|
|
1285
1286
|
origins: CapturePublicationOrigin[];
|
|
1287
|
+
purpose: CapturePublicationPurpose;
|
|
1286
1288
|
symbolSurfaceIds?: CompositorSurfaceId[];
|
|
1287
1289
|
} | {
|
|
1288
1290
|
type: 'cancelCapturePublicationBarrier';
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type PeachBundleConfig } from '../../../../../src/config.ts';
|
|
2
|
+
import { type NativeFirebaseConfig } from '../../../../../src/native-firebase-metadata.ts';
|
|
3
|
+
import { type ExpoKotlinCompilationResult } from '../../../../../src/expoKotlinContract.ts';
|
|
4
|
+
import { type ExpoSwiftCompilationResult } from '../../../../../src/expoSwiftContract.ts';
|
|
5
|
+
import { type NitroCompiledModule, type TurboCompiledModule } from '../../../../../src/nitroContract.ts';
|
|
6
|
+
import { type PackageVersions } from '../../../../../src/packageVersionsContract.ts';
|
|
7
|
+
import { type RolldownModulePreparation } from '../rolldown-production-module.d.ts';
|
|
8
|
+
import type { MetroModuleIdentity } from '../metro-identity-contract.d.ts';
|
|
9
|
+
import type { NativeAppIdentity } from '../../../../../src/native-app-identity.ts';
|
|
10
|
+
export interface MetroBundleBootMetadata {
|
|
11
|
+
bundleCharacters: number;
|
|
12
|
+
nativeRuntime: 'standard' | 'kotlin';
|
|
13
|
+
directNativeSeams: string[];
|
|
14
|
+
identity: MetroModuleIdentity;
|
|
15
|
+
rolldownPreparation?: RolldownModulePreparation | null;
|
|
16
|
+
rolldownSourceHash: string | null;
|
|
17
|
+
nativeAppIdentity: NativeAppIdentity | null;
|
|
18
|
+
nativeFirebaseConfig: NativeFirebaseConfig | null;
|
|
19
|
+
configuredBundle: PeachBundleConfig | null;
|
|
20
|
+
expoSwift: ExpoSwiftCompilationResult | null;
|
|
21
|
+
expoKotlin: ExpoKotlinCompilationResult | null;
|
|
22
|
+
nitro?: NitroCompiledModule | null;
|
|
23
|
+
turbo?: TurboCompiledModule | null;
|
|
24
|
+
androidAutolinkedPackages?: readonly string[];
|
|
25
|
+
androidRootModuleName?: string;
|
|
26
|
+
packageVersions: PackageVersions | null;
|
|
27
|
+
}
|
|
28
|
+
export declare function readMetroBundleBootMetadata(value: unknown): MetroBundleBootMetadata;
|
|
@@ -3,7 +3,7 @@ import type { NativePhotoLibraryRequest, NativePhotoLibraryChange, NativePhotoLi
|
|
|
3
3
|
import type { AppPreferenceValue, AppSettingsSnapshot, SystemPermissionApp, SystemPermissionMutation, SystemPermissionRequestContext } from '../permissions/system-permission-types.d.ts';
|
|
4
4
|
import type { AuxAppSurfaceId } from './aux-surface-types.d.ts';
|
|
5
5
|
import type { OneNativeContentPublication } from './one-native-contentContract.d.ts';
|
|
6
|
-
import type { SystemNotificationSettings, SystemPermissionDescriptor, SystemPermissionLocationAccuracy, SystemPermissionState } from '../../../peach-compat/src/engine-config.d.ts';
|
|
6
|
+
import type { NotifPresentation, NotifSpec, SystemNotificationSettings, SystemPermissionDescriptor, SystemPermissionLocationAccuracy, SystemPermissionState } from '../../../peach-compat/src/engine-config.d.ts';
|
|
7
7
|
import type { SootSimWebViewCookieStore, SootSimImageCropperSpec, SootSimAndroidDateTimePickerResult, SootSimAndroidDateTimePickerSpec, SootSimImagePickerOptions, SootSimPhotoLibraryAsset, SootSimPhotoLibraryPage, SootsimSettingsRoute, SootSimWebViewNavigationType, PeachWebViewDocumentData, SootSimWebKitConfiguration, SootSimWebKitEvent, SootSimWebKitReply, NativeSurfacePresentation } from '../../../peach-globals/src/index.d.ts';
|
|
8
8
|
export type KeyboardMode = 'letters' | 'numbers' | 'symbols' | 'numeric' | 'emoji';
|
|
9
9
|
export type IOSKeyboardType = 'default' | 'ascii-capable' | 'numbers-and-punctuation' | 'url' | 'number-pad' | 'ascii-capable-number-pad' | 'phone-pad' | 'name-phone-pad' | 'email-address' | 'decimal-pad' | 'twitter' | 'web-search' | 'visible-password' | 'numeric';
|
|
@@ -116,6 +116,7 @@ export interface AlertSpec {
|
|
|
116
116
|
message?: string;
|
|
117
117
|
buttons?: AlertButtonSpec[];
|
|
118
118
|
cancelable?: boolean;
|
|
119
|
+
appWindow?: boolean;
|
|
119
120
|
prompt?: {
|
|
120
121
|
defaultValue?: string;
|
|
121
122
|
keyboardType?: string;
|
|
@@ -248,8 +249,17 @@ export interface NotificationSpec {
|
|
|
248
249
|
openUrl?: string;
|
|
249
250
|
appId?: string;
|
|
250
251
|
time?: string;
|
|
252
|
+
lockScreen?: boolean;
|
|
253
|
+
notificationCenter?: boolean;
|
|
251
254
|
actions?: NotificationActionSpec[];
|
|
252
255
|
}
|
|
256
|
+
export interface ApnsNotificationDelivery {
|
|
257
|
+
appId: string;
|
|
258
|
+
notification: NotifSpec;
|
|
259
|
+
shellNotification: NotificationSpec;
|
|
260
|
+
presentation: NotifPresentation;
|
|
261
|
+
background: boolean;
|
|
262
|
+
}
|
|
253
263
|
export interface NotificationActionSpec {
|
|
254
264
|
id: string;
|
|
255
265
|
title: string;
|
|
@@ -426,6 +436,11 @@ export interface ShareSheetSpec {
|
|
|
426
436
|
dialogTitle?: string;
|
|
427
437
|
message?: string;
|
|
428
438
|
url?: string;
|
|
439
|
+
document?: {
|
|
440
|
+
name: string;
|
|
441
|
+
type: string;
|
|
442
|
+
sizeBytes?: number;
|
|
443
|
+
};
|
|
429
444
|
image?: {
|
|
430
445
|
uri: string;
|
|
431
446
|
kind: 'file' | 'bitmap';
|
|
@@ -733,6 +748,10 @@ type NativeUIRequestBody = import('../capture/nativeScreenCaptureContract.d.ts')
|
|
|
733
748
|
} | {
|
|
734
749
|
kind: 'notification.push';
|
|
735
750
|
spec: NotificationSpec;
|
|
751
|
+
presentation?: {
|
|
752
|
+
banner: boolean;
|
|
753
|
+
list: boolean;
|
|
754
|
+
};
|
|
736
755
|
} | {
|
|
737
756
|
kind: 'safari.open';
|
|
738
757
|
url: string;
|
|
@@ -1019,6 +1038,7 @@ export type NativeUIEvent = import('../capture/nativeScreenCaptureContract.d.ts'
|
|
|
1019
1038
|
launch: boolean;
|
|
1020
1039
|
actionId?: string;
|
|
1021
1040
|
userText?: string;
|
|
1041
|
+
apns?: ApnsNotificationDelivery;
|
|
1022
1042
|
} | {
|
|
1023
1043
|
kind: 'webview.message';
|
|
1024
1044
|
instanceId: string;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type MetroBundleBootMetadata } from './metro-bundle-metadata.d.ts';
|
|
2
|
+
export declare function prepareMetroBundleBoot(source: string): Promise<{
|
|
3
|
+
code: string;
|
|
4
|
+
metadata: MetroBundleBootMetadata;
|
|
5
|
+
}>;
|
|
6
|
+
export declare function prepareBootBundle(source: string): Promise<string>;
|
|
7
|
+
export declare function readPreparedBootMetadata(code: string): MetroBundleBootMetadata | null;
|
|
@@ -106,6 +106,7 @@ export type AppLoadRequest = {
|
|
|
106
106
|
inlineBundle?: NativePreviewBundle;
|
|
107
107
|
awaitNativePreviewBundle?: true;
|
|
108
108
|
env?: Record<string, string>;
|
|
109
|
+
args?: string[];
|
|
109
110
|
};
|
|
110
111
|
export type HostToWorker = import('./engine-resource-relay.d.ts').EngineResourceRequest | import('./engine-resource-relay.d.ts').EngineResourceResponse | {
|
|
111
112
|
type: 'animationClock';
|
|
@@ -124,6 +125,8 @@ export type HostToWorker = import('./engine-resource-relay.d.ts').EngineResource
|
|
|
124
125
|
contentWidth: number;
|
|
125
126
|
contentHeight: number;
|
|
126
127
|
deviceModel: DeviceModel;
|
|
128
|
+
dynamicWidth: number;
|
|
129
|
+
dynamicHeight: number;
|
|
127
130
|
dpr: number;
|
|
128
131
|
renderDensity: number;
|
|
129
132
|
remoteEngine?: RemoteEngineClientConfig;
|
|
@@ -199,6 +202,8 @@ export type HostToWorker = import('./engine-resource-relay.d.ts').EngineResource
|
|
|
199
202
|
dpr: number;
|
|
200
203
|
renderDensity: number;
|
|
201
204
|
deviceModel: DeviceModel;
|
|
205
|
+
dynamicWidth: number;
|
|
206
|
+
dynamicHeight: number;
|
|
202
207
|
deviceSpec?: DeviceSpec;
|
|
203
208
|
} | {
|
|
204
209
|
type: 'setPageVisible';
|
|
@@ -453,6 +458,9 @@ export type HostToWorker = import('./engine-resource-relay.d.ts').EngineResource
|
|
|
453
458
|
surfaceBindings: Record<string, string | null>;
|
|
454
459
|
surfaceGenerations: Record<string, number>;
|
|
455
460
|
activity: AuxShellActivity;
|
|
461
|
+
} | {
|
|
462
|
+
type: 'fetchRecorderSetEnabled';
|
|
463
|
+
enabled: boolean;
|
|
456
464
|
} | {
|
|
457
465
|
type: 'fetchRecorderDump';
|
|
458
466
|
requestId: number;
|
|
@@ -110,6 +110,8 @@ export interface ShellDeviceSync {
|
|
|
110
110
|
orientation: InterfaceOrientation;
|
|
111
111
|
landscapeSide: LandscapeSide;
|
|
112
112
|
osVersionOverride: string;
|
|
113
|
+
dynamicWidth: number;
|
|
114
|
+
dynamicHeight: number;
|
|
113
115
|
sceneVerticalBar: SceneVerticalBar;
|
|
114
116
|
}
|
|
115
117
|
export interface ShellInputs {
|
|
@@ -380,6 +382,9 @@ export type ShellHostToWorker = {
|
|
|
380
382
|
} | {
|
|
381
383
|
type: 'shellMemorySample';
|
|
382
384
|
requestId: number;
|
|
385
|
+
} | {
|
|
386
|
+
type: 'fetchRecorderSetEnabled';
|
|
387
|
+
enabled: boolean;
|
|
383
388
|
} | {
|
|
384
389
|
type: 'fetchRecorderDump';
|
|
385
390
|
requestId: number;
|