peachsim 0.1.2935 → 0.1.2937
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/LICENSE +6 -8
- package/cli/account-gate.ts +20 -3
- package/cli/app-bundle-resources.ts +66 -19
- package/cli/catalog/meta.ts +2 -106
- package/cli/command-agent.ts +7 -0
- package/cli/command-registry.ts +0 -1
- package/cli/commands/control.ts +13 -5
- package/cli/commands/daemon.ts +4 -2
- package/cli/commands/device.ts +78 -8
- package/cli/commands/do-chain.ts +11 -8
- package/cli/commands/inspect/core.ts +4 -9
- package/cli/commands/inspect/settling.ts +1 -0
- package/cli/commands/logout.ts +6 -1
- package/cli/commands/map.ts +2 -6
- package/cli/commands/package.ts +112 -57
- package/cli/commands/shell-url.ts +0 -1
- package/cli/download-auth.ts +2 -0
- package/cli/drivers/playwright-provisioning.ts +10 -38
- package/cli/github-workflow-identity.ts +8 -0
- package/cli/internal-child-contract.ts +1 -0
- package/cli/internal-child.ts +5 -0
- package/cli/main.ts +2 -10
- package/cli/outbound-endpoints.ts +26 -0
- package/detox/index.ts +227 -131
- 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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +47 -3
- package/dist-lib/bridge-contract-input.mjs +6 -6
- package/dist-lib/bridge-contract.cjs +10 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +12779 -9515
- package/dist-lib/capture-contract.cjs +39 -17
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +8 -8
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +6 -6
- package/dist-lib/detox/index.cjs +200 -132
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-Q5TRRYSO.mjs → acorn-IIBLEO25.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-UDWBTBVG.mjs → chunk-4FTPQKPT.mjs} +10 -1
- package/dist-lib/esm-chunks/chunk-4WIDTRBB.mjs +10232 -0
- package/dist-lib/esm-chunks/{chunk-LCMFYMT7.mjs → chunk-5QZOQ3NZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BJ2OGUX7.mjs → chunk-CIY67HNL.mjs} +39 -17
- package/dist-lib/esm-chunks/{chunk-SKQTNQYE.mjs → chunk-CQFEMJ64.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AXWVXRHX.mjs → chunk-CWVMCW23.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MTALOHQR.mjs → chunk-F6DZ4DS2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-I4R7IZRD.mjs → chunk-HJMF6O7L.mjs} +74 -46
- package/dist-lib/esm-chunks/chunk-I6T4PXJF.mjs +154 -0
- package/dist-lib/esm-chunks/{chunk-XWAUZKIA.mjs → chunk-IJU3JMWM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CXWUIOCH.mjs → chunk-KODEPXQC.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-WJE5QHSD.mjs → chunk-LD4K2VBL.mjs} +155 -36
- package/dist-lib/esm-chunks/{chunk-2TSM64HI.mjs → chunk-LTE7YMEG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3GGOXUJA.mjs → chunk-M3CSKAJE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7G5UETIG.mjs → chunk-NA6DJPB6.mjs} +43 -1
- package/dist-lib/esm-chunks/{chunk-MSUHMNAI.mjs → chunk-NNAX24FS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VDJA4LP4.mjs → chunk-PZPJJBAS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UEEEJVQA.mjs → chunk-QXSTHMWN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-S2RJB5I7.mjs → chunk-RBPVK5YI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VRAXNGYT.mjs → chunk-SCT5OFDV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-T3M73LGP.mjs → chunk-U3CJGYSP.mjs} +50 -6
- package/dist-lib/esm-chunks/{chunk-SLUGTGQQ.mjs → chunk-VXTOQ522.mjs} +12 -6
- package/dist-lib/esm-chunks/{chunk-EL44SZMV.mjs → chunk-WMSVGYTH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FEDEPSEV.mjs → chunk-WRWINRWK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BNO52N2S.mjs → chunk-YZF2USRD.mjs} +1905 -8760
- package/dist-lib/esm-chunks/{chunk-TQLKYMVP.mjs → chunk-ZNHR6C3L.mjs} +1 -1
- package/dist-lib/esm-chunks/{download-auth-registry-G75MIT55.mjs → download-auth-registry-AHS5MSIB.mjs} +4 -4
- package/dist-lib/esm-chunks/{metro-layout-parser-FXLUDTYT.mjs → metro-layout-parser-24ZYK5UP.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-524D4MA2.mjs → swift-package-prebuilt-L4YNXQRD.mjs} +15 -15
- package/dist-lib/esm-chunks/{swift-sdk-app-module-EX544YJY.mjs → swift-sdk-app-module-RM652JSW.mjs} +87 -71
- package/dist-lib/esm-chunks/{swift-sdk-image-LOTMWVM7.mjs → swift-sdk-image-5PQ44UJT.mjs} +15 -15
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-UO6B3M4U.mjs → swift-sdk-image-producer-GD3SM6YI.mjs} +5 -5
- package/dist-lib/esm-chunks/swift-sdk-later-data-62QYJ2KH.mjs +590 -0
- package/dist-lib/expo-swift-bundle.cjs +21037 -17896
- package/dist-lib/expo-swift-metadata.cjs +8 -2
- package/dist-lib/expo-swift-metadata.mjs +9 -8
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +22481 -18741
- package/dist-lib/host/fetch-proxy-handler.cjs +21079 -17980
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +68 -38
- package/dist-lib/kotlin-host.cjs +97 -21
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +23 -1
- package/dist-lib/metro-production-bundle.mjs +24 -4
- package/dist-lib/native-app-identity-project.cjs +3582 -571
- package/dist-lib/native-app-identity-project.mjs +1024 -398
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +132 -116
- package/dist-lib/public-origins-lib.json +215 -173
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- package/dist-lib/reap-browser.cjs +17 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +6 -7
- package/dist-lib/sdk.mjs +13 -14
- package/dist-lib/skills.cjs +23216 -19650
- package/dist-lib/swift-compile.cjs +4337 -2905
- package/dist-lib/swift-compile.mjs +15 -13
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +19 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +94 -32
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +8 -5
- package/dist-lib/worklet-executable.mjs +9 -6
- package/dist-types/packages/peach-engine/src/canvaskit-artifact-urls.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/capture/compositor-presentation-recording.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/generated/canvaskit-artifact-hashes.d.ts +26 -0
- package/dist-types/packages/peach-engine/src/engine/guest-scene-inspect.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/inspect-info.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/metalTypes.d.ts +32 -2
- package/dist-types/packages/peach-engine/src/engine/portalContract.d.ts +24 -0
- package/dist-types/packages/peach-engine/src/engine/remote-display-protocol.d.ts +12 -2
- package/dist-types/packages/peach-engine/src/guest/http-cookie-storage.d.ts +73 -0
- package/dist-types/packages/peach-engine/src/guest/native-evaluation-lease.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/guest/nitro-jsi-host.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +225 -9
- package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/ios/duo-vertical-bar-geometry.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/canvas-display-compositor.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/remote-stream/canvas-display-contract.d.ts +44 -10
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +4 -3
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -4
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +15 -27
- package/dist-types/packages/peach-engine/src/render-worker/reanimated-readiness.d.ts +2 -6
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +11 -3
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/settings/duo-fold.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/webview-automation-host.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/app-bundle-resources.d.ts +10 -0
- package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/hostStorageBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +2 -2
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +9 -6
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +11 -0
- package/dist-types/packages/peach-globals/src/oneWidgetContract.d.ts +28 -0
- package/package.json +2 -2
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CoreHaptics.framework/Headers/CoreHaptics.h +251 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INImage.h +14 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INIntent.h +18 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INIntentIdentifiers.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INIntentResponse.h +12 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INInteraction.h +35 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INObjectCollection.h +0 -7
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INObjectSection.h +0 -7
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INOutgoingMessageType.h +7 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INPerson.h +36 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INPersonHandle.h +22 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INSendMessageIntent+UserNotifications.h +6 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INSendMessageIntent.h +33 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/INSpeakableString.h +24 -0
- package/sdk/ios/System/Library/Frameworks/Intents.framework/Headers/Intents.h +11 -7
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMailComposeViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/MessageUI.framework/Headers/MFMessageComposeViewController.h +1 -1
- package/sdk/ios/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h +0 -8
- package/sdk/ios/System/Library/Frameworks/MetalTypes.framework/Headers/MetalTypes.h +8 -0
- package/sdk/ios/System/Library/Frameworks/Social.framework/Headers/SLServiceTypes.h +9 -0
- package/sdk/ios/System/Library/Frameworks/Social.framework/Headers/Social.h +1 -0
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h +2 -2
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h +5 -5
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +4 -0
- package/sdk/ios/wasm/include/unistd.h +1 -0
- package/src/acorn-program.ts +3 -0
- package/src/audio-codec-archives.ts +141 -0
- package/src/bridge-contract-input.ts +61 -1
- package/src/bridge-contract.ts +45 -4
- package/src/bundle-channel.mjs +44 -30
- package/src/capture-contract.ts +57 -39
- package/src/conformance-comparison-contract.ts +2 -0
- package/src/expo-discovery-cache.ts +0 -2
- package/src/expo-macro-host.ts +8 -3
- package/src/expo-native-compiler-digest.ts +0 -1
- package/src/expo-native-prebuilt.ts +1 -1
- package/src/expo-native-workspace.ts +83 -45
- package/src/expo-pod-prebuilt.ts +1 -0
- package/src/expo-swift-host.ts +158 -77
- package/src/expo-swift-legacy-runtime-source.ts +12 -1
- package/src/expo-swift-view-source.ts +51 -20
- package/src/expo-workspace-exclusion.ts +7 -1
- package/src/expoSwiftContract.ts +10 -1
- package/src/ffmpeg-source-build.ts +123 -59
- package/src/genrule-archives.ts +7 -2
- package/src/genrule-library-builds.ts +101 -18
- package/src/host/bridge-host.ts +10 -1
- package/src/installed-native-libraries.ts +147 -23
- package/src/installed-package-versions.ts +30 -0
- package/src/ios-rn-bundle-request.ts +3 -1
- package/src/ios-rn-bundle.ts +38 -27
- package/src/ios-rn-compile.ts +23 -6
- package/src/ios-rn-startup.ts +2 -1
- package/src/java-module-abi.ts +4 -3
- package/src/kotlin-host.ts +4 -4
- package/src/kotlin-library-sources.ts +8 -5
- package/src/metro-production-bundle.ts +24 -0
- package/src/native-firebase-config.ts +2 -0
- package/src/native-framework-compiler.ts +5 -0
- package/src/native-package-slice-build.ts +3 -0
- package/src/native-package-slice.ts +15 -10
- package/src/native-preparation.ts +4 -1
- package/src/native-static-libraries.ts +107 -33
- package/src/nativeRuntimePackageIndex.ts +1 -4
- package/src/nitro-adapter.lock.json +286 -286
- package/src/nitro-app-providers.ts +20 -8
- package/src/nitro-compile.ts +131 -37
- package/src/nitro-dependencies.ts +42 -8
- package/src/nitro-source.ts +40 -36
- package/src/nitro-superset.lock.json +4 -4
- package/src/nitroAdapterContract.ts +32 -7
- package/src/nitroContract.ts +21 -37
- package/src/one-direct-host-source.ts +247 -140
- package/src/one-fabric.ts +129 -0
- package/src/one-native-controls-package.ts +95 -21
- package/src/one-native-controls-release.ts +147 -14
- package/src/one-native-source.ts +4 -1
- package/src/one-nitro-inputs.ts +1 -1
- package/src/one-nitro-source.ts +45 -1
- package/src/one-sdk/source.ts +10 -41
- package/src/one-widget-metadata.ts +2 -2
- package/src/one-widget-package.ts +1 -1
- package/src/oneSdkContract.ts +3 -0
- package/src/playwright-browser-paths.ts +30 -0
- package/src/pods-install.ts +6 -2
- package/src/pods-post-install.ts +2 -2
- package/src/pods-project.ts +10 -0
- package/src/podspec-ruby-stdlib.ts +73 -0
- package/src/podspec-ruby.ts +1 -1
- package/src/podspec-sources.ts +31 -13
- package/src/process-group.ts +135 -5
- package/src/published-swift-sdk.ts +25 -1
- package/src/react-native-bridge-modules.ts +35 -3
- package/src/react-native-core-build.ts +14 -2
- package/src/react-native-core.ts +12 -2
- package/src/rive-runtime-dependencies.ts +178 -40
- package/src/serverDiscoveryContract.ts +1 -1
- package/src/storageSnapshotContract.ts +1 -1
- package/src/swift-app-data-store.ts +35 -0
- package/src/swift-compile.ts +403 -121
- package/src/swift-compiler-digest.ts +4 -0
- package/src/swift-darwin-records.ts +6 -0
- package/src/swift-distribution-mirror.ts +10 -1
- package/src/swift-distribution.lock.json +19 -18
- package/src/swift-distribution.ts +17 -1
- package/src/swift-entry-module.ts +1 -0
- package/src/swift-guest-compile.ts +8 -1
- package/src/swift-host.ts +79 -23
- package/src/swift-installed-targets.ts +51 -20
- package/src/swift-objc-standin.ts +60 -8
- package/src/swift-packages.ts +104 -24
- package/src/swift-project-user.ts +2 -1
- package/src/swift-reproducible.ts +99 -1
- package/src/swift-root-lock.ts +52 -46
- package/src/swift-sdk-app-module.ts +65 -13
- package/src/swift-sdk-image-producer.ts +2 -1
- package/src/swift-sdk-image.ts +23 -8
- package/src/swift-sdk-later-data.ts +294 -44
- package/src/swift-sdk-surface.ts +233 -55
- package/src/swift-shared-sdk.ts +7 -0
- package/src/swift-standin-builtin-behavior.ts +18 -0
- package/src/swift-standin-emit.ts +242 -54
- package/src/swift-standins.ts +184 -38
- package/src/swift-startup-split.ts +19 -9
- package/src/swift-toolchain.ts +18 -0
- package/src/swift-wasm-prune.ts +179 -9
- package/src/swift-xcframework.ts +16 -0
- package/src/swiftContract.ts +4 -1
- package/src/swiftSdkLinkContract.ts +2 -0
- package/src/swiftTargetContract.ts +1 -0
- package/src/turbo-bundle.ts +6 -3
- package/src/turbo-codegen-intake.ts +106 -16
- package/src/turbo-compile.ts +89 -68
- package/src/turbo-fabric-app.ts +287 -23
- package/src/turbo-provider-host.ts +122 -31
- package/src/turbo-runtime.lock.json +26 -26
- package/src/turbo-source.ts +374 -157
- package/src/vite-plugin.ts +48 -112
- package/src/wasm-binary-sections.ts +40 -0
- package/src/wasm-code-immediates.ts +35 -5
- package/src/widget-extension-bundle.ts +15 -1
- package/src/worklet-executable.ts +2 -1
- package/src/worklet-kernel.ts +5 -3
- package/src/worklets-babel.ts +2 -1
- package/src/xcode-project.ts +151 -53
- package/src/xcode-scheme-actions.ts +104 -0
- package/cli/commands/canvas.ts +0 -1204
- package/dist-lib/esm-chunks/chunk-B5QD2KEV.mjs +0 -2787
- package/dist-lib/vendor/magic-string.cjs +0 -1693
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-cookies.d.ts +0 -127
- package/src/appBundleResourcesContract.ts +0 -51
- package/src/canvas-groups.ts +0 -28
- package/src/canvas-map-layout.ts +0 -161
- package/src/oneWidgetContract.ts +0 -134
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CanvasDisplayStatusBar } from "../../remote-stream/canvas-display-contract.js";
|
|
2
|
-
import type {
|
|
3
|
-
import type { CanvasMapAgent, SootSimCapturedTextLine } from "../../../../peach-globals/src/index.js";
|
|
2
|
+
import type { WorkerToHost } from "../../render-worker/protocol.js";
|
|
3
|
+
import type { CanvasAgentNote, CanvasMapAgent, CanvasNoteAnchor, SimStyleOverrides, SootSimCapturedTextLine } from "../../../../peach-globals/src/index.js";
|
|
4
4
|
export type CanvasMapNode = {
|
|
5
5
|
nodeId: number;
|
|
6
6
|
parentNodeId: number | null;
|
|
@@ -57,10 +57,20 @@ export type CanvasMapTheme = {
|
|
|
57
57
|
danger: string;
|
|
58
58
|
};
|
|
59
59
|
export type CanvasMapScreenStatus = 'ready' | 'pending' | 'live-render' | 'error';
|
|
60
|
+
export type CanvasMapStill = {
|
|
61
|
+
pixelWidth: number;
|
|
62
|
+
pixelHeight: number;
|
|
63
|
+
rungs: {
|
|
64
|
+
size: number;
|
|
65
|
+
uri: string;
|
|
66
|
+
}[];
|
|
67
|
+
fullUri: string;
|
|
68
|
+
};
|
|
60
69
|
export type CanvasMapFrozenTreeContent = {
|
|
61
70
|
kind: 'frozen-tree';
|
|
62
71
|
rootNodeId: number;
|
|
63
72
|
nodes: CanvasMapNode[];
|
|
73
|
+
still?: CanvasMapStill;
|
|
64
74
|
raster?: {
|
|
65
75
|
uri: string;
|
|
66
76
|
width: number;
|
|
@@ -214,6 +224,23 @@ export type CanvasMapComment = {
|
|
|
214
224
|
createdAt: number;
|
|
215
225
|
resolvedAt: number | null;
|
|
216
226
|
replies: CanvasMapCommentReply[];
|
|
227
|
+
tone?: 'muted' | 'accent';
|
|
228
|
+
statusLabel?: string;
|
|
229
|
+
primaryAction?: {
|
|
230
|
+
kind: 'promote';
|
|
231
|
+
label: string;
|
|
232
|
+
} | 'none';
|
|
233
|
+
};
|
|
234
|
+
export type CanvasNoteChromeRect = {
|
|
235
|
+
screenX: number;
|
|
236
|
+
screenWidth: number;
|
|
237
|
+
markX: number;
|
|
238
|
+
y: number;
|
|
239
|
+
clamped: boolean;
|
|
240
|
+
dx: number;
|
|
241
|
+
dy: number;
|
|
242
|
+
width: number;
|
|
243
|
+
height: number;
|
|
217
244
|
};
|
|
218
245
|
export type CanvasMapCommentAction = {
|
|
219
246
|
kind: 'reply';
|
|
@@ -225,7 +252,16 @@ export type CanvasMapCommentAction = {
|
|
|
225
252
|
} | {
|
|
226
253
|
kind: 'reopen';
|
|
227
254
|
commentId: string;
|
|
255
|
+
} | {
|
|
256
|
+
kind: 'promote';
|
|
257
|
+
commentId: string;
|
|
228
258
|
};
|
|
259
|
+
export type CanvasMapCommentState = {
|
|
260
|
+
kind: 'state';
|
|
261
|
+
commentId: string | null;
|
|
262
|
+
rect: CanvasNoteChromeRect | null;
|
|
263
|
+
};
|
|
264
|
+
export type CanvasMapCommentEvent = CanvasMapCommentAction | CanvasMapCommentState;
|
|
229
265
|
export type CanvasMapData = {
|
|
230
266
|
agents?: CanvasMapAgent[];
|
|
231
267
|
author?: CanvasMapPerson;
|
|
@@ -239,7 +275,6 @@ export type CanvasMapData = {
|
|
|
239
275
|
pins: CanvasMapPin[];
|
|
240
276
|
fonts?: CanvasMapFontSpec[];
|
|
241
277
|
statusBarTime?: string;
|
|
242
|
-
backgroundStyle: 'solid' | 'checker';
|
|
243
278
|
controls: 'host' | 'embedded';
|
|
244
279
|
labelSize?: number;
|
|
245
280
|
artboardControls: 'play' | 'none';
|
|
@@ -302,6 +337,75 @@ export type CanvasMapTap = {
|
|
|
302
337
|
y: number;
|
|
303
338
|
};
|
|
304
339
|
export type CanvasMapKey = 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' | 'Enter' | 'Home';
|
|
340
|
+
export type CanvasDesignKeyAction = {
|
|
341
|
+
type: 'nudge';
|
|
342
|
+
dx: number;
|
|
343
|
+
dy: number;
|
|
344
|
+
} | {
|
|
345
|
+
type: 'font-size';
|
|
346
|
+
delta: number;
|
|
347
|
+
} | {
|
|
348
|
+
type: 'gap';
|
|
349
|
+
delta: number;
|
|
350
|
+
} | {
|
|
351
|
+
type: 'padding';
|
|
352
|
+
delta: number;
|
|
353
|
+
} | {
|
|
354
|
+
type: 'select-parent';
|
|
355
|
+
} | {
|
|
356
|
+
type: 'select-child';
|
|
357
|
+
} | {
|
|
358
|
+
type: 'clear';
|
|
359
|
+
} | {
|
|
360
|
+
type: 'reset';
|
|
361
|
+
} | {
|
|
362
|
+
type: 'undo';
|
|
363
|
+
redo: boolean;
|
|
364
|
+
} | {
|
|
365
|
+
type: 'send-to-agent';
|
|
366
|
+
} | {
|
|
367
|
+
type: 'create-symbol';
|
|
368
|
+
};
|
|
369
|
+
export type CanvasDesignSymbolSummary = {
|
|
370
|
+
id: string;
|
|
371
|
+
screenId: string;
|
|
372
|
+
nodeId: number;
|
|
373
|
+
name: string;
|
|
374
|
+
source?: string;
|
|
375
|
+
};
|
|
376
|
+
export type CanvasDesignSelectedSnapshot = {
|
|
377
|
+
screenId: string;
|
|
378
|
+
nodeId: number;
|
|
379
|
+
parentId: number | null;
|
|
380
|
+
name: string;
|
|
381
|
+
source?: string;
|
|
382
|
+
frame: CanvasNoteRect;
|
|
383
|
+
style: CanvasDesignStyle;
|
|
384
|
+
children: {
|
|
385
|
+
nodeId: number;
|
|
386
|
+
name: string;
|
|
387
|
+
frame: CanvasNoteRect;
|
|
388
|
+
}[];
|
|
389
|
+
elementEdited: boolean;
|
|
390
|
+
editedFields?: string[];
|
|
391
|
+
};
|
|
392
|
+
export type CanvasDesignState = {
|
|
393
|
+
selected: boolean;
|
|
394
|
+
hasEdits: boolean;
|
|
395
|
+
canUndo: boolean;
|
|
396
|
+
canRedo: boolean;
|
|
397
|
+
editCount?: number;
|
|
398
|
+
editedNodeIds?: number[];
|
|
399
|
+
editSummary?: string;
|
|
400
|
+
selection?: CanvasDesignSelectedSnapshot | null;
|
|
401
|
+
activeSymbol?: CanvasDesignSymbolSummary | null;
|
|
402
|
+
symbols?: CanvasDesignSymbolSummary[];
|
|
403
|
+
schemeRequest?: {
|
|
404
|
+
screenId: string;
|
|
405
|
+
scheme: 'light' | 'dark';
|
|
406
|
+
seq: number;
|
|
407
|
+
};
|
|
408
|
+
};
|
|
305
409
|
export type CanvasMapCommand = 'fit' | 'actual-size' | 'zoom-in' | 'zoom-out' | 'fit-selection' | 'clear-selection' | {
|
|
306
410
|
kind: 'arrange';
|
|
307
411
|
by: CanvasMapArrangement;
|
|
@@ -341,9 +445,15 @@ export type CanvasMapCommand = 'fit' | 'actual-size' | 'zoom-in' | 'zoom-out' |
|
|
|
341
445
|
} | {
|
|
342
446
|
kind: 'showcase-screen';
|
|
343
447
|
screenId: string | null;
|
|
448
|
+
} | {
|
|
449
|
+
kind: 'focus-edges';
|
|
450
|
+
screenId: string | null;
|
|
344
451
|
} | CanvasMapInspectCommand | {
|
|
345
452
|
kind: 'enter';
|
|
346
453
|
screenId: string | null;
|
|
454
|
+
} | {
|
|
455
|
+
kind: 'isolate';
|
|
456
|
+
screenId: string | null;
|
|
347
457
|
} | {
|
|
348
458
|
kind: 'drive';
|
|
349
459
|
screenId: string | null;
|
|
@@ -373,6 +483,61 @@ export type CanvasMapCommand = 'fit' | 'actual-size' | 'zoom-in' | 'zoom-out' |
|
|
|
373
483
|
kind: 'note-element';
|
|
374
484
|
requestId: number;
|
|
375
485
|
element: CanvasNoteElement | null;
|
|
486
|
+
} | {
|
|
487
|
+
kind: 'note-compose';
|
|
488
|
+
localId: string;
|
|
489
|
+
screenId: string;
|
|
490
|
+
agentId: string;
|
|
491
|
+
text: string;
|
|
492
|
+
} | {
|
|
493
|
+
kind: 'design-key';
|
|
494
|
+
action: CanvasDesignKeyAction;
|
|
495
|
+
} | {
|
|
496
|
+
kind: 'design-select-node';
|
|
497
|
+
screenId: string;
|
|
498
|
+
nodeId: number;
|
|
499
|
+
} | {
|
|
500
|
+
kind: 'design-edit-style';
|
|
501
|
+
screenId: string;
|
|
502
|
+
nodeId: number;
|
|
503
|
+
style: CanvasDesignOverrides;
|
|
504
|
+
} | {
|
|
505
|
+
kind: 'design-reset';
|
|
506
|
+
screenId: string;
|
|
507
|
+
nodeId?: number;
|
|
508
|
+
} | {
|
|
509
|
+
kind: 'design-reset-field';
|
|
510
|
+
screenId: string;
|
|
511
|
+
nodeId: number;
|
|
512
|
+
key: string;
|
|
513
|
+
} | {
|
|
514
|
+
kind: 'design-send-to-agent';
|
|
515
|
+
screenId: string;
|
|
516
|
+
} | {
|
|
517
|
+
kind: 'design-enter-symbol';
|
|
518
|
+
screenId: string;
|
|
519
|
+
nodeId: number;
|
|
520
|
+
name?: string;
|
|
521
|
+
} | {
|
|
522
|
+
kind: 'design-exit-symbol';
|
|
523
|
+
} | {
|
|
524
|
+
kind: 'design-hover-node';
|
|
525
|
+
screenId: string;
|
|
526
|
+
nodeId: number | null;
|
|
527
|
+
frame?: CanvasNoteRect;
|
|
528
|
+
} | {
|
|
529
|
+
kind: 'design-highlight-padding';
|
|
530
|
+
screenId: string;
|
|
531
|
+
nodeId: number;
|
|
532
|
+
active: boolean;
|
|
533
|
+
} | {
|
|
534
|
+
kind: 'design-start-text-edit';
|
|
535
|
+
screenId: string;
|
|
536
|
+
nodeId: number;
|
|
537
|
+
} | {
|
|
538
|
+
kind: 'design-keys';
|
|
539
|
+
alt: boolean;
|
|
540
|
+
shift: boolean;
|
|
376
541
|
};
|
|
377
542
|
export type CanvasNoteMark = {
|
|
378
543
|
kind: 'element';
|
|
@@ -398,16 +563,61 @@ export type CanvasNoteElement = {
|
|
|
398
563
|
name: string;
|
|
399
564
|
summary: string;
|
|
400
565
|
anchor: CanvasNoteAnchor | null;
|
|
566
|
+
design?: CanvasDesignInfo;
|
|
567
|
+
};
|
|
568
|
+
export type CanvasDesignStyle = {
|
|
569
|
+
text?: string;
|
|
570
|
+
width?: number;
|
|
571
|
+
height?: number;
|
|
572
|
+
fontSize?: number;
|
|
573
|
+
fontWeight?: string;
|
|
574
|
+
lineHeight?: number;
|
|
575
|
+
direction?: 'row' | 'column';
|
|
576
|
+
flexWrap?: 'nowrap' | 'wrap';
|
|
577
|
+
justifyContent?: 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
578
|
+
alignItems?: 'flex-start' | 'center' | 'flex-end' | 'stretch';
|
|
579
|
+
flexGrow?: number;
|
|
580
|
+
alignSelf?: string;
|
|
581
|
+
gap?: number;
|
|
582
|
+
paddingTop?: number;
|
|
583
|
+
paddingRight?: number;
|
|
584
|
+
paddingBottom?: number;
|
|
585
|
+
paddingLeft?: number;
|
|
586
|
+
marginLeft?: number;
|
|
587
|
+
marginTop?: number;
|
|
588
|
+
borderRadius?: number;
|
|
589
|
+
borderWidth?: number;
|
|
590
|
+
borderColor?: string;
|
|
591
|
+
opacity?: number;
|
|
592
|
+
color?: string;
|
|
593
|
+
backgroundColor?: string;
|
|
594
|
+
};
|
|
595
|
+
export type CanvasDesignInfo = {
|
|
596
|
+
nodeId: number;
|
|
597
|
+
parentId: number | null;
|
|
598
|
+
style: CanvasDesignStyle;
|
|
599
|
+
children: {
|
|
600
|
+
nodeId: number;
|
|
601
|
+
name: string;
|
|
602
|
+
frame: CanvasNoteRect;
|
|
603
|
+
}[];
|
|
604
|
+
};
|
|
605
|
+
export type CanvasDesignOverrides = SimStyleOverrides;
|
|
606
|
+
export type CanvasMapPickTarget = {
|
|
607
|
+
x: number;
|
|
608
|
+
y: number;
|
|
609
|
+
} | {
|
|
610
|
+
nodeId: number;
|
|
611
|
+
style?: CanvasDesignOverrides;
|
|
401
612
|
};
|
|
402
613
|
export type CanvasMapNotePick = {
|
|
403
614
|
requestId: number;
|
|
404
615
|
screenId: string;
|
|
405
616
|
instanceId?: string;
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
y: number;
|
|
409
|
-
};
|
|
617
|
+
at: CanvasMapPickTarget;
|
|
618
|
+
design?: true;
|
|
410
619
|
};
|
|
620
|
+
export declare function nextCanvasMapPickId(): number;
|
|
411
621
|
export type CanvasMapNote = {
|
|
412
622
|
localId: string;
|
|
413
623
|
screenId: string;
|
|
@@ -420,13 +630,16 @@ export declare const CANVAS_MAP_UNSET: CanvasMapData;
|
|
|
420
630
|
export declare function getCanvasDisplayStatusBar(displayId?: string): CanvasDisplayStatusBar | undefined;
|
|
421
631
|
export declare function subscribeCanvasDisplayStatusBar(listener: () => void): () => void;
|
|
422
632
|
export declare function setCanvasDisplayStatusBar(displayId: string, statusBar: CanvasDisplayStatusBar | null): void;
|
|
633
|
+
export type CanvasMapHostEvent = Extract<WorkerToHost, {
|
|
634
|
+
type: `canvasMap${string}`;
|
|
635
|
+
}>;
|
|
423
636
|
export declare function getCanvasMapData(): CanvasMapData;
|
|
424
637
|
export declare function subscribeCanvasMapData(listener: () => void): () => void;
|
|
425
638
|
export declare function sameCanvasArtboardContent(previous: CanvasMapScreen, next: CanvasMapScreen): boolean;
|
|
426
639
|
export declare function setCanvasMapData(next: CanvasMapData): void;
|
|
427
640
|
export declare function reportCanvasMapDataApplied({ rev, acknowledgeOnCommit, }: CanvasMapData): void;
|
|
428
641
|
export declare function reportCanvasMapInspectTarget(requestId: number, target: CanvasMapInspectTarget | null): void;
|
|
429
|
-
export declare function reportCanvasMapTransform(transform: CanvasMapTransform, followedAgentId: string | null, limits?: CanvasMapPanLimits): void;
|
|
642
|
+
export declare function reportCanvasMapTransform(transform: CanvasMapTransform, followedAgentId: string | null, moving: boolean, limits?: CanvasMapPanLimits): void;
|
|
430
643
|
export declare function reportCanvasMapTap(tap: CanvasMapTap): void;
|
|
431
644
|
export type CanvasMapPlaybackEvent = {
|
|
432
645
|
action: 'canvas-map-play';
|
|
@@ -460,9 +673,10 @@ export declare function reportCanvasMapMove(move: CanvasMapMove): void;
|
|
|
460
673
|
export declare function reportCanvasMapGroupMove(move: CanvasMapGroupMove): void;
|
|
461
674
|
export declare function reportCanvasMapDriven(screenId: string | null, instanceId: string | null): void;
|
|
462
675
|
export declare function reportCanvasMapEntered(screenId: string | null, instanceId: string | null): void;
|
|
676
|
+
export declare function reportCanvasMapIsolated(screenId: string | null): void;
|
|
463
677
|
export declare function reportCanvasMapNotePick(pick: CanvasMapNotePick): void;
|
|
464
678
|
export declare function reportCanvasMapNote(note: CanvasMapNote): void;
|
|
465
|
-
export declare function reportCanvasMapComment(comment:
|
|
679
|
+
export declare function reportCanvasMapComment(comment: CanvasMapCommentEvent): void;
|
|
466
680
|
export type CanvasMapStroke = {
|
|
467
681
|
points: {
|
|
468
682
|
x: number;
|
|
@@ -470,3 +684,5 @@ export type CanvasMapStroke = {
|
|
|
470
684
|
}[];
|
|
471
685
|
};
|
|
472
686
|
export declare function reportCanvasMapStroke(stroke: CanvasMapStroke): void;
|
|
687
|
+
export declare function reportCanvasMapCloseUps(closeUps: Record<string, number>): void;
|
|
688
|
+
export declare function reportCanvasMapDesignState(state: CanvasDesignState): void;
|
|
@@ -14,7 +14,10 @@ export declare const STAGE_FRAME_SHADOW: {
|
|
|
14
14
|
};
|
|
15
15
|
export declare const PREVIEW_PHONE_GUTTER = 20;
|
|
16
16
|
export declare const ELECTRON_FRAME_SHADOW = "0 6px 13px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.24)";
|
|
17
|
-
export declare const FRAMELESS_SCREEN_SHADOW
|
|
17
|
+
export declare const FRAMELESS_SCREEN_SHADOW: {
|
|
18
|
+
light: string;
|
|
19
|
+
dark: string;
|
|
20
|
+
};
|
|
18
21
|
export declare const ELECTRON_FRAME_SHADOW_RESERVE = 16;
|
|
19
22
|
export declare const ELECTRON_FRAME_SHADOW_BOTTOM_RESERVE = 20;
|
|
20
23
|
export declare const BUTTON_WIDTH = 3;
|
|
@@ -94,7 +94,6 @@ export declare function duoStatusBarPlacement(spec: DeviceSpec): {
|
|
|
94
94
|
};
|
|
95
95
|
export declare function getVerticalBarSide(spec: Pick<DeviceSpec, 'safeAreaInsets'>): VerticalBarSide;
|
|
96
96
|
export declare function getVerticalBarWidth(spec: Pick<DeviceSpec, 'safeAreaInsets'>): number;
|
|
97
|
-
export declare function verticalBarStatusHidden(spec: Pick<DeviceSpec, 'posture' | 'width' | 'height'>): boolean;
|
|
98
97
|
export declare function getVerticalBarStatusCenterFromEdge(spec: Pick<DeviceSpec, 'cameraCutout'>): number;
|
|
99
98
|
export interface DuoSystemTouchRegions {
|
|
100
99
|
topEdge: number;
|
|
@@ -27,6 +27,7 @@ export type NativePreviewBundleShared = {
|
|
|
27
27
|
sequence?: number | null;
|
|
28
28
|
format?: 'metro' | null;
|
|
29
29
|
buildSequence?: number | null;
|
|
30
|
+
sourceRevisionId?: string | null;
|
|
30
31
|
initialState?: Record<string, unknown> | null;
|
|
31
32
|
localStorageEntries?: Array<[string, string]>;
|
|
32
33
|
} & (NativePreviewProjectBinding | NativePreviewNetworkBinding);
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import type { DisplayServerDemandMode } from "../engine/remote-display-protocol.js";
|
|
2
|
-
import type { StatusBarUpdateAnimation } from "../render-worker/native-ui-protocol.js";
|
|
2
|
+
import type { IosStatusBarStyle, StatusBarUpdateAnimation } from "../render-worker/native-ui-protocol.js";
|
|
3
3
|
import type { NativeWidgetIdentity } from "../render-worker/native-widgetContract.js";
|
|
4
4
|
import type { WorkerToHost } from "../render-worker/protocol.js";
|
|
5
5
|
import type { ReactNativeConfigurationSnapshot } from "../settings/react-native-configuration.js";
|
|
6
6
|
import type { RemoteDisplayEntryInput, RemoteEngineClientConfig } from "./client-config.js";
|
|
7
7
|
import type { StreamHealth } from "./stream-health.js";
|
|
8
|
-
import type { SootSimInspectInfo, SootSimLocationFix, TextInputEditCommand } from "../../../peach-globals/src/index.js";
|
|
8
|
+
import type { SimStyleOverrides, SootSimInspectInfo, SootSimLocationFix, TextInputEditCommand } from "../../../peach-globals/src/index.js";
|
|
9
9
|
export declare const CANVAS_DISPLAY_WORKER_FILE = "canvas-display-worker.js";
|
|
10
10
|
export declare function canvasDisplayImageId(displayId: string): string;
|
|
11
11
|
export type CanvasDisplayStatusBar = {
|
|
12
12
|
hidden: boolean;
|
|
13
13
|
animation: StatusBarUpdateAnimation;
|
|
14
|
+
controllerStyle?: IosStatusBarStyle;
|
|
14
15
|
};
|
|
15
16
|
export type CanvasDisplayDemand = {
|
|
16
17
|
mode: DisplayServerDemandMode;
|
|
@@ -28,6 +29,28 @@ export type CanvasDisplayWorkerRequest = {
|
|
|
28
29
|
sockets?: MessagePort;
|
|
29
30
|
initialDemand?: CanvasDisplayDemand;
|
|
30
31
|
};
|
|
32
|
+
export type CanvasDisplayInspectTarget = {
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
} | {
|
|
36
|
+
nodeId: number;
|
|
37
|
+
style?: SimStyleOverrides;
|
|
38
|
+
};
|
|
39
|
+
export type CanvasDisplayTreeNode = {
|
|
40
|
+
nodeId: number;
|
|
41
|
+
type: string;
|
|
42
|
+
name: string;
|
|
43
|
+
testID?: string;
|
|
44
|
+
text?: string;
|
|
45
|
+
role?: string;
|
|
46
|
+
geometry: {
|
|
47
|
+
x: number;
|
|
48
|
+
y: number;
|
|
49
|
+
width: number;
|
|
50
|
+
height: number;
|
|
51
|
+
};
|
|
52
|
+
children?: CanvasDisplayTreeNode[];
|
|
53
|
+
};
|
|
31
54
|
export type CanvasDisplayCommand = {
|
|
32
55
|
type: 'dispose';
|
|
33
56
|
} | {
|
|
@@ -50,8 +73,11 @@ export type CanvasDisplayCommand = {
|
|
|
50
73
|
} | {
|
|
51
74
|
type: 'inspect';
|
|
52
75
|
id: number;
|
|
53
|
-
|
|
54
|
-
|
|
76
|
+
at: CanvasDisplayInspectTarget;
|
|
77
|
+
} | {
|
|
78
|
+
type: 'queryTree';
|
|
79
|
+
id: number;
|
|
80
|
+
depth?: number;
|
|
55
81
|
} | {
|
|
56
82
|
type: 'enter';
|
|
57
83
|
active: boolean;
|
|
@@ -110,24 +136,32 @@ export type CanvasDisplayEvent = Extract<WorkerToHost, {
|
|
|
110
136
|
type: 'inspected';
|
|
111
137
|
id: number;
|
|
112
138
|
hit: SootSimInspectInfo | null;
|
|
139
|
+
children: SootSimInspectInfo[];
|
|
140
|
+
} | {
|
|
141
|
+
type: 'tree';
|
|
142
|
+
id: number;
|
|
143
|
+
nodes: CanvasDisplayTreeNode[];
|
|
113
144
|
} | {
|
|
114
145
|
type: 'inPlaceEntrySupported';
|
|
115
146
|
} | {
|
|
116
147
|
type: 'inputReady';
|
|
117
148
|
ready: boolean;
|
|
118
|
-
} | {
|
|
149
|
+
} | ({
|
|
119
150
|
type: 'pictureFrame';
|
|
120
|
-
|
|
121
|
-
width: number;
|
|
122
|
-
height: number;
|
|
123
|
-
statusBarDark: boolean;
|
|
124
|
-
} | {
|
|
151
|
+
} & CanvasDisplayPicture) | {
|
|
125
152
|
type: 'pictureDemandUnsupported';
|
|
126
153
|
} | ({
|
|
127
154
|
type: 'streamHealth';
|
|
128
155
|
} & StreamHealth) | {
|
|
129
156
|
type: 'runtimeUnavailable';
|
|
130
157
|
};
|
|
158
|
+
export interface CanvasDisplayPicture {
|
|
159
|
+
bitmap: ImageBitmap;
|
|
160
|
+
width: number;
|
|
161
|
+
height: number;
|
|
162
|
+
statusBarDark: boolean;
|
|
163
|
+
contentHash?: string;
|
|
164
|
+
}
|
|
131
165
|
export type CanvasDisplayAttach = {
|
|
132
166
|
screenId: string;
|
|
133
167
|
displayId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const DISPLAY_SERVER_VERSION = 30;
|
|
2
2
|
export declare const DISPLAY_SERVER_MAJOR = 2;
|
|
3
|
-
export declare const DISPLAY_SERVER_MINOR =
|
|
3
|
+
export declare const DISPLAY_SERVER_MINOR = 61;
|
|
4
4
|
export declare const DISPLAY_SERVER_RUNTIME_VERSION_MINOR = 41;
|
|
5
5
|
export declare const DISPLAY_SERVER_KIND: {
|
|
6
6
|
readonly hello: 1;
|
|
@@ -62,7 +62,7 @@ export declare const DISPLAY_SERVER_KIND: {
|
|
|
62
62
|
readonly assetAck: 57;
|
|
63
63
|
readonly assetDemand: 58;
|
|
64
64
|
};
|
|
65
|
-
export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire30.
|
|
65
|
+
export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire30.minor61";
|
|
66
66
|
export declare const DISPLAY_SERVER_PICTURE_SUBPROTOCOL = "rnx.display-picture";
|
|
67
67
|
export declare const DISPLAY_SERVER_TOKEN_SUBPROTOCOL_PREFIX = "rnx.sim-token.";
|
|
68
68
|
export declare const RNX_CLOUD_DISPLAY_GRANT_TTL_MS: number;
|
|
@@ -85,7 +85,7 @@ export declare const DISPLAY_SERVER_LIMITS: {
|
|
|
85
85
|
readonly maxCommitPropBytes: 3145728;
|
|
86
86
|
readonly maxFontBytes: 33554432;
|
|
87
87
|
readonly maxFontChunkBytes: 1048576;
|
|
88
|
-
readonly maxFontMetadataBytes:
|
|
88
|
+
readonly maxFontMetadataBytes: 131072;
|
|
89
89
|
readonly maxNativeUIBytes: 3932160;
|
|
90
90
|
readonly maxPendingFonts: 16;
|
|
91
91
|
readonly maxAssetBytes: 33554432;
|
|
@@ -99,6 +99,7 @@ export declare const DISPLAY_SERVER_LIMITS: {
|
|
|
99
99
|
readonly maxLiveFrameStoreBytes: 16777216;
|
|
100
100
|
readonly maxPictureFrameBytes: 524288;
|
|
101
101
|
readonly maxPictureDimension: 1024;
|
|
102
|
+
readonly maxScenePreviewDimension: 2048;
|
|
102
103
|
readonly maxSceneDemandDimension: 4096;
|
|
103
104
|
readonly maxNativeAnimMirrors: 256;
|
|
104
105
|
readonly maxNativeAnimMirrorBytes: 262144;
|
|
@@ -484,6 +484,7 @@ export interface CompositorFramePhaseSample {
|
|
|
484
484
|
motionPending: boolean;
|
|
485
485
|
paints: number;
|
|
486
486
|
presentedSurfaces: number;
|
|
487
|
+
presentedSurfaceIds?: readonly string[];
|
|
487
488
|
motionProgress?: CompositorMotionProgress[];
|
|
488
489
|
prewarmPasses: number;
|
|
489
490
|
canvaskitFlushes: number;
|
|
@@ -804,7 +805,7 @@ export interface CompositorStats {
|
|
|
804
805
|
imageCacheLimitBytes: number;
|
|
805
806
|
};
|
|
806
807
|
graphite: {
|
|
807
|
-
creationCounters
|
|
808
|
+
creationCounters: Pick<GraphiteDeviceContextStats['native'], 'renderPipelineCreations' | 'shaderModuleCreations'>;
|
|
808
809
|
device: GraphiteDeviceContextStats;
|
|
809
810
|
adapter: GraphiteAdapterIdentity;
|
|
810
811
|
pipelineCorpus: GraphitePipelinePrecompileResult;
|
|
@@ -1842,9 +1843,6 @@ export type CompositorWorkerToHost = Extract<CompositorToShellMessage, {
|
|
|
1842
1843
|
type: 'firstContentPainted';
|
|
1843
1844
|
surfaceId: CompositorSurfaceId;
|
|
1844
1845
|
atEpochMs: number;
|
|
1845
|
-
} | {
|
|
1846
|
-
type: 'firstAppContentPainted';
|
|
1847
|
-
surfaceId: CompositorSurfaceId;
|
|
1848
1846
|
ringEpoch: number;
|
|
1849
1847
|
} | {
|
|
1850
1848
|
type: 'renderActivity';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AppBundleResources } from "../../../peach-globals/src/app-bundle-resources.js";
|
|
1
2
|
import { type PackageVersions } from "../../../peach-globals/src/package-versions.js";
|
|
2
3
|
import { type PeachBundleConfig } from "../../../../../src/config.ts";
|
|
3
4
|
import { type NativeFirebaseConfig } from "../../../../../src/native-firebase-metadata.ts";
|
|
@@ -18,6 +19,7 @@ export interface MetroBundleBootMetadata {
|
|
|
18
19
|
rolldownSourceHash: string | null;
|
|
19
20
|
nativeAppIdentity: NativeAppIdentity | null;
|
|
20
21
|
appCatalog: AppCatalog | null;
|
|
22
|
+
appBundleResources: AppBundleResources;
|
|
21
23
|
nativeFirebaseConfig: NativeFirebaseConfig | null;
|
|
22
24
|
configuredBundle: PeachBundleConfig | null;
|
|
23
25
|
expoSwift: ExpoSwiftCompilationResult | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { OneWidgetMetadata } from "../../../../../src/oneWidgetContract.ts";
|
|
2
1
|
import type { SwiftEntryOptions } from "../../../../../src/swiftContract.ts";
|
|
3
2
|
import type { ExpoWidgetEntry } from "./expo-widgetContract.js";
|
|
3
|
+
import type { OneWidgetMetadata } from "../../../peach-globals/src/oneWidgetContract.js";
|
|
4
4
|
export interface NativeWidgetView {
|
|
5
5
|
visible: boolean;
|
|
6
6
|
interactive: boolean;
|
|
@@ -86,7 +86,7 @@ export type SerializedAuthResponse = {
|
|
|
86
86
|
};
|
|
87
87
|
export type ForwardedWindowEventType = ShellIntentEventName | 'sootsim:hapticActivity' | 'sootsim:externalAppReady' | 'sootsim:externalAppError' | 'sootsim:externalAppReloadStart' | 'sootsim:bundleProgress' | 'sootsim:previewReloadRequest' | 'sootsim:navigateApp' | 'sootsim:navigateHome' | 'sootsim:demoBundleModeChange' | 'sootsim:browserPipModeChange';
|
|
88
88
|
export type { NativePreviewBundle, NativePreviewColdBundle, NativePreviewHotBundle, } from "../native-preview-bundle.js";
|
|
89
|
-
export type TenantRestartTarget = {
|
|
89
|
+
export type TenantRestartTarget = ({
|
|
90
90
|
bundleUrl: string;
|
|
91
91
|
bundleOriginOverride?: string;
|
|
92
92
|
inlineBundle?: never;
|
|
@@ -94,11 +94,14 @@ export type TenantRestartTarget = {
|
|
|
94
94
|
inlineBundle: import("../native-preview-bundle.js").NativePreviewColdBundle;
|
|
95
95
|
bundleUrl?: never;
|
|
96
96
|
bundleOriginOverride?: never;
|
|
97
|
+
}) & {
|
|
98
|
+
initialUrl?: string | null;
|
|
97
99
|
};
|
|
98
100
|
export type AppLoadRequest = {
|
|
99
101
|
kind: 'test-fixture';
|
|
100
102
|
name: string;
|
|
101
103
|
iconImage?: string;
|
|
104
|
+
nativeRuntime?: 'standard' | 'kotlin';
|
|
102
105
|
} | {
|
|
103
106
|
kind: 'kitchen-sink';
|
|
104
107
|
} | {
|
|
@@ -217,10 +220,6 @@ export type HostToWorker = WorkerStorageSyncMessage | {
|
|
|
217
220
|
type: 'nativePreviewBundleUpdate';
|
|
218
221
|
bundle: NativePreviewBundle;
|
|
219
222
|
localStorageEntries?: Array<[string, string]>;
|
|
220
|
-
} | {
|
|
221
|
-
type: 'hotRemountExternalApp';
|
|
222
|
-
requestId: number;
|
|
223
|
-
reason?: string;
|
|
224
223
|
} | {
|
|
225
224
|
type: 'resize';
|
|
226
225
|
viewportRevision?: number;
|
|
@@ -413,27 +412,6 @@ export type HostToWorker = WorkerStorageSyncMessage | {
|
|
|
413
412
|
deltaX: number;
|
|
414
413
|
deltaY: number;
|
|
415
414
|
timestamp: number;
|
|
416
|
-
} | {
|
|
417
|
-
type: 'canvasLabDesktopWheel';
|
|
418
|
-
x: number;
|
|
419
|
-
y: number;
|
|
420
|
-
deltaX: number;
|
|
421
|
-
deltaY: number;
|
|
422
|
-
ctrlKey: boolean;
|
|
423
|
-
metaKey: boolean;
|
|
424
|
-
altKey: boolean;
|
|
425
|
-
} | {
|
|
426
|
-
type: 'canvasLabDesktopGestureStart';
|
|
427
|
-
x: number;
|
|
428
|
-
y: number;
|
|
429
|
-
scale: number;
|
|
430
|
-
} | {
|
|
431
|
-
type: 'canvasLabDesktopGestureChange';
|
|
432
|
-
x: number;
|
|
433
|
-
y: number;
|
|
434
|
-
scale: number;
|
|
435
|
-
} | {
|
|
436
|
-
type: 'canvasLabDesktopGestureEnd';
|
|
437
415
|
} | {
|
|
438
416
|
type: 'canvasLabDesktopKeyDown';
|
|
439
417
|
key: import("../ios/apps/canvas-map-data.js").CanvasMapKey;
|
|
@@ -545,6 +523,7 @@ export type WorkerToHost = {
|
|
|
545
523
|
type: 'canvasMapTransform';
|
|
546
524
|
transform: import("../ios/apps/canvas-map-data.js").CanvasMapTransform;
|
|
547
525
|
followedAgentId: string | null;
|
|
526
|
+
moving: boolean;
|
|
548
527
|
limits?: import("../ios/apps/canvas-map-data.js").CanvasMapPanLimits;
|
|
549
528
|
} | {
|
|
550
529
|
type: 'canvasMapDataReceived';
|
|
@@ -563,6 +542,9 @@ export type WorkerToHost = {
|
|
|
563
542
|
type: 'canvasMapEnter';
|
|
564
543
|
screenId: string | null;
|
|
565
544
|
instanceId: string | null;
|
|
545
|
+
} | {
|
|
546
|
+
type: 'canvasMapIsolate';
|
|
547
|
+
screenId: string | null;
|
|
566
548
|
} | {
|
|
567
549
|
type: 'canvasMapDrive';
|
|
568
550
|
screenId: string | null;
|
|
@@ -584,10 +566,16 @@ export type WorkerToHost = {
|
|
|
584
566
|
note: import("../ios/apps/canvas-map-data.js").CanvasMapNote;
|
|
585
567
|
} | {
|
|
586
568
|
type: 'canvasMapComment';
|
|
587
|
-
comment: import("../ios/apps/canvas-map-data.js").
|
|
569
|
+
comment: import("../ios/apps/canvas-map-data.js").CanvasMapCommentEvent;
|
|
588
570
|
} | {
|
|
589
571
|
type: 'canvasMapStroke';
|
|
590
572
|
stroke: import("../ios/apps/canvas-map-data.js").CanvasMapStroke;
|
|
573
|
+
} | {
|
|
574
|
+
type: 'canvasMapCloseUps';
|
|
575
|
+
closeUps: Record<string, number>;
|
|
576
|
+
} | {
|
|
577
|
+
type: 'canvasMapDesignState';
|
|
578
|
+
state: import("../ios/apps/canvas-map-data.js").CanvasDesignState;
|
|
591
579
|
} | {
|
|
592
580
|
type: 'surfaceRegistered';
|
|
593
581
|
surfaceId: string;
|
|
@@ -20,10 +20,6 @@ export declare function recordAnimationFactoryResult(kind: ReanimatedAnimationKi
|
|
|
20
20
|
export declare function animationResultObserver(source: object, readClosure: () => unknown): AnimationResultObserver | null;
|
|
21
21
|
export declare function noteComposedChild(worklet: object, result: unknown): void;
|
|
22
22
|
export declare function runObservedAnimation<T>(worklet: object, observe: AnimationResultObserver, args: unknown[], call: () => T): T;
|
|
23
|
-
export declare function liveReanimatedValues(): Generator<{
|
|
24
|
-
value: object;
|
|
25
|
-
animation: object;
|
|
26
|
-
}>;
|
|
27
23
|
export declare function observeSharedValueSetter(host: object): void;
|
|
28
24
|
export declare function observeReanimatedSetter(mutable: object, value: unknown, call: () => void): void;
|
|
29
25
|
export declare function requestPlaybackFrame<T>(isPlayback: () => boolean, request: () => T): T;
|
|
@@ -31,5 +27,5 @@ export declare function isBackgroundRepeatAnimation(animation: object): boolean;
|
|
|
31
27
|
export type SharedValuePlayback = 'idle' | 'blocking' | 'background';
|
|
32
28
|
export declare function setDerivedValuePlayback(value: object, playback: SharedValuePlayback): void;
|
|
33
29
|
export declare function sharedValuePlayback(value: object): SharedValuePlayback;
|
|
34
|
-
export declare function listReanimatedAnimations(realm: 'tenant' | 'shell'): SootSimAnimationInfo[];
|
|
35
|
-
export declare function cancelReanimatedAnimations(target: number | 'all'): number;
|
|
30
|
+
export declare function listReanimatedAnimations(realm: 'tenant' | 'shell', now?: number, values?: Iterable<object>): SootSimAnimationInfo[];
|
|
31
|
+
export declare function cancelReanimatedAnimations(target: number | 'all', values?: Iterable<object>): number;
|