peachsim 0.1.1660 → 0.1.1673
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 +8 -1
- package/cli/bridge-flow-runner.ts +6 -3
- package/cli/commands/box.ts +2 -0
- package/cli/commands/control.ts +56 -17
- package/cli/commands/coverage-swift.ts +291 -0
- package/cli/commands/coverage.ts +168 -24
- package/cli/commands/debug.ts +100 -9
- package/cli/commands/diagnose.ts +1 -19
- package/cli/commands/flow.ts +2 -2
- package/cli/commands/inspect/settle.ts +4 -2
- package/cli/commands/inspect/settling.ts +17 -14
- package/cli/commands/platform.ts +3 -0
- package/cli/commands/react.ts +3 -18
- package/cli/commands/screenshot.ts +1 -1
- package/cli/commands/screenshots-capture.ts +1 -1
- package/cli/current-sim.ts +21 -1
- package/cli/dev-build-freshness.ts +36 -2
- package/cli/drivers/playwright-provisioning.ts +1 -4
- package/cli/drivers/playwright.ts +15 -1
- package/cli/maestro-compare.ts +44 -14
- package/cli/main.ts +3 -0
- package/cli/material-symbol-fonts.ts +3 -100
- package/cli/output-redaction.ts +21 -6
- package/cli/parent-pid.ts +2 -2
- package/cli/scene-video.ts +1 -1
- package/cli/ui.ts +20 -0
- package/cli/ws-bridge.ts +26 -37
- package/detox/frame-identity.cjs +21 -0
- package/detox/frame-identity.d.cts +6 -0
- package/detox/index.ts +39 -33
- package/detox/jest-environment.cjs +4 -1
- package/detox/jest-setup-after-env.cjs +0 -4
- package/detox/navigation-lifecycle.ts +2 -2
- package/detox/proof-observer.ts +126 -0
- package/dist-lib/agent-daemon-client.cjs +29 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +10 -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 +2581 -27346
- 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 +2752 -4982
- package/dist-lib/detox/jest-environment.cjs +4 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +2272 -27004
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +2801 -27484
- package/dist-lib/host/fetch-proxy-handler.cjs +7 -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 +1 -1
- package/dist-lib/index.cjs +394 -49
- 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 +10 -1
- package/dist-lib/metro-production-bundle.mjs +12 -1
- package/dist-lib/metro.cjs +235 -13
- package/dist-lib/native-app-identity-project.cjs +123 -13
- package/dist-lib/native-app-identity-project.mjs +123 -13
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- 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 +21 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +76 -28
- package/dist-lib/public-origins-lib-static.json +1 -1
- package/dist-lib/public-origins-lib.json +590 -184
- 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 +964 -0
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +18 -15
- package/dist-lib/sdk.mjs +18 -15
- package/dist-lib/skills.cjs +3900 -28409
- package/dist-lib/swift-compile.cjs +1227 -26292
- package/dist-lib/swift-compile.mjs +1156 -26221
- package/dist-lib/swift-package.cjs +34 -4
- package/dist-lib/swift-package.mjs +33 -4
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +52 -44
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +2317 -26955
- package/dist-lib/vite.cjs +132 -21
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/demo/demo-bundle-platform.d.ts +29 -0
- package/dist-types/packages/peach-engine/src/engine/app-font-registry.d.ts +13 -1
- package/dist-types/packages/peach-engine/src/engine/clipboardContract.d.ts +24 -0
- package/dist-types/packages/peach-engine/src/engine/fontDataContract.d.ts +73 -0
- package/dist-types/packages/peach-engine/src/engine/glass-material.d.ts +2 -3
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +21 -3
- package/dist-types/packages/peach-engine/src/engine/inspect-outline.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +1 -4
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/ios/aux-shell-animated-sources.d.ts +6 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +68 -0
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +11 -0
- package/dist-types/packages/peach-engine/src/render-worker/nativeSyncReplyContract.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +8 -1
- package/dist-types/packages/peach-engine/src/render-worker/shell-scene-schema.d.ts +10 -2
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime-kind.d.ts +24 -0
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +7 -2
- package/dist-types/packages/peach-engine/src/settings/devices.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/accessibilityBridgeContract.d.ts +11 -0
- package/dist-types/packages/peach-globals/src/androidDateTimePickerBridgeContract.d.ts +41 -0
- package/dist-types/packages/peach-globals/src/appLifecycleBridgeContract.d.ts +22 -0
- package/dist-types/packages/peach-globals/src/audioBridgeContract.d.ts +33 -0
- package/dist-types/packages/peach-globals/src/bridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +94 -0
- package/dist-types/packages/peach-globals/src/captureBridgeContract.d.ts +36 -0
- package/dist-types/packages/peach-globals/src/clipboardBridgeContract.d.ts +45 -0
- package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +31 -0
- package/dist-types/packages/peach-globals/src/debugBridgeContract.d.ts +27 -0
- package/dist-types/packages/peach-globals/src/electronBridgeContract.d.ts +29 -0
- package/dist-types/packages/peach-globals/src/eventBridgeContract.d.ts +200 -0
- package/dist-types/packages/peach-globals/src/globalsContract.d.ts +462 -0
- package/dist-types/packages/peach-globals/src/hostStorageBridgeContract.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/imagePickerBridgeContract.d.ts +47 -0
- package/dist-types/packages/peach-globals/src/index.d.ts +47 -3343
- package/dist-types/packages/peach-globals/src/interactionBridgeContract.d.ts +21 -0
- package/dist-types/packages/peach-globals/src/keyboardBridgeContract.d.ts +44 -0
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +77 -0
- package/dist-types/packages/peach-globals/src/nativeViewContract.d.ts +28 -0
- package/dist-types/packages/peach-globals/src/navigationBridgeContract.d.ts +11 -0
- package/dist-types/packages/peach-globals/src/nodeContract.d.ts +665 -0
- package/dist-types/packages/peach-globals/src/performanceBridgeContract.d.ts +100 -0
- package/dist-types/packages/peach-globals/src/permissionsBridgeContract.d.ts +152 -0
- package/dist-types/packages/peach-globals/src/photoLibraryBridgeContract.d.ts +36 -0
- package/dist-types/packages/peach-globals/src/portalBridgeContract.d.ts +9 -0
- package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +131 -0
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +125 -0
- package/dist-types/packages/peach-globals/src/sceneStreamBridgeContract.d.ts +37 -0
- package/dist-types/packages/peach-globals/src/settingsBridgeContract.d.ts +7 -0
- package/dist-types/packages/peach-globals/src/shareSheetBridgeContract.d.ts +14 -0
- package/dist-types/packages/peach-globals/src/shellBridgeContract.d.ts +82 -0
- package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +28 -0
- package/dist-types/packages/peach-globals/src/speechSynthesisBridgeContract.d.ts +25 -0
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +278 -0
- package/dist-types/packages/peach-globals/src/timelineBridgeContract.d.ts +58 -0
- package/dist-types/packages/peach-globals/src/videoBridgeContract.d.ts +80 -0
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +331 -0
- package/dist-types/packages/peach-globals/src/windowBridgeContract.d.ts +5 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/popover-placement.d.ts +3 -5
- package/package.json +2 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsset.h +20 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVAsynchronousKeyValueLoading.h +15 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVFoundation.h +5 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataFormat.h +13 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVMetadataItem.h +16 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Headers/AVTimedMetadataGroup.h +13 -0
- package/sdk/ios/System/Library/Frameworks/AVFoundation.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +19 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +11 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +17 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +13 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +307 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +174 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +7 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/CoreData.h +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchRequest.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSFetchedResultsController.h +39 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObject.h +10 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectContext.h +9 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectID.h +7 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSManagedObjectModel.h +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreCoordinator.h +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Headers/NSPersistentStoreRequest.h +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreData.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +221 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +316 -0
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h +46 -0
- package/sdk/ios/System/Library/Frameworks/CoreImage.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTime.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CMTimeRange.h +8 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Headers/CoreMedia.h +3 -0
- package/sdk/ios/System/Library/Frameworks/CoreMedia.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h +12 -0
- package/sdk/ios/System/Library/Frameworks/CoreServices.framework/Headers/UTCoreTypes.h +1276 -0
- package/sdk/ios/System/Library/Frameworks/CoreServices.framework/Headers/UTType.h +644 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h +2 -0
- package/sdk/ios/System/Library/Frameworks/CoreText.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +1441 -0
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageAnimation.h +106 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h +429 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h +665 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h +2504 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h +634 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h +22 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h +18 -0
- package/sdk/ios/System/Library/Frameworks/ImageIO.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/MobileCoreServices.framework/Headers/MobileCoreServices.h +9 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +40 -0
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewController.h +14 -0
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SFSafariViewControllerConfiguration.h +9 -0
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Headers/SafariServices.h +2 -0
- package/sdk/ios/System/Library/Frameworks/SafariServices.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +3 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +30 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +3 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Modules/module.modulemap +5 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStore.h +439 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreCopySpecific.h +216 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreKey.h +267 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetwork.h +204 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkConfiguration.h +1393 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkConnection.h +568 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCNetworkReachability.h +369 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCPreferences.h +473 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCPreferencesPath.h +179 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCPreferencesSetSpecific.h +95 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h +2395 -0
- package/sdk/ios/System/Library/Frameworks/SystemConfiguration.framework/Headers/SystemConfiguration.h +184 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h +5 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h +2 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +817 -0
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/usr/include/Availability.h +630 -0
- package/sdk/ios/usr/include/AvailabilityInternal.h +556 -0
- package/sdk/ios/usr/include/AvailabilityInternalLegacy.h +4346 -0
- package/sdk/ios/usr/include/AvailabilityVersions.h +547 -0
- package/sdk/ios/usr/include/CommonCrypto/CommonDigest.h +130 -0
- package/sdk/ios/usr/include/MacTypes.h +3 -0
- package/sdk/ios/usr/include/TargetConditionals.h +14 -0
- package/sdk/ios/usr/include/__xlocale.h +41 -0
- package/sdk/ios/usr/include/_bounds.h +67 -0
- package/sdk/ios/usr/include/_ctermid.h +42 -0
- package/sdk/ios/usr/include/_mb_cur_max.h +39 -0
- package/sdk/ios/usr/include/_printf.h +38 -0
- package/sdk/ios/usr/include/_stdio.h +510 -0
- package/sdk/ios/usr/include/_types/_intmax_t.h +40 -0
- package/sdk/ios/usr/include/_types/_locale_t.h +38 -0
- package/sdk/ios/usr/include/_types/_uint16_t.h +32 -0
- package/sdk/ios/usr/include/_types/_uint32_t.h +32 -0
- package/sdk/ios/usr/include/_types/_uint64_t.h +32 -0
- package/sdk/ios/usr/include/_types/_uint8_t.h +32 -0
- package/sdk/ios/usr/include/_types/_uintmax_t.h +40 -0
- package/sdk/ios/usr/include/_types.h +72 -0
- package/sdk/ios/usr/include/arm/_endian.h +105 -0
- package/sdk/ios/usr/include/arm/_mcontext.h +95 -0
- package/sdk/ios/usr/include/arm/_param.h +25 -0
- package/sdk/ios/usr/include/arm/_types.h +125 -0
- package/sdk/ios/usr/include/arm/endian.h +65 -0
- package/sdk/ios/usr/include/arm/signal.h +22 -0
- package/sdk/ios/usr/include/arm/types.h +110 -0
- package/sdk/ios/usr/include/asl.h +160 -0
- package/sdk/ios/usr/include/assert.h +14 -0
- package/sdk/ios/usr/include/dirent.h +224 -0
- package/sdk/ios/usr/include/dispatch/dispatch.h +114 -0
- package/sdk/ios/usr/include/dlfcn.h +16 -0
- package/sdk/ios/usr/include/errno.h +24 -0
- package/sdk/ios/usr/include/execinfo.h +11 -0
- package/sdk/ios/usr/include/fcntl.h +23 -0
- package/sdk/ios/usr/include/i386/_endian.h +105 -0
- package/sdk/ios/usr/include/i386/_mcontext.h +216 -0
- package/sdk/ios/usr/include/i386/_param.h +49 -0
- package/sdk/ios/usr/include/i386/_types.h +149 -0
- package/sdk/ios/usr/include/i386/endian.h +89 -0
- package/sdk/ios/usr/include/i386/signal.h +47 -0
- package/sdk/ios/usr/include/libkern/OSAtomic.h +51 -0
- package/sdk/ios/usr/include/libkern/OSAtomicDeprecated.h +1267 -0
- package/sdk/ios/usr/include/libkern/OSAtomicQueue.h +115 -0
- package/sdk/ios/usr/include/libkern/OSByteOrder.h +315 -0
- package/sdk/ios/usr/include/libkern/OSSpinLockDeprecated.h +212 -0
- package/sdk/ios/usr/include/libkern/_OSByteOrder.h +125 -0
- package/sdk/ios/usr/include/libkern/arm/_OSByteOrder.h +99 -0
- package/sdk/ios/usr/include/libkern/i386/_OSByteOrder.h +110 -0
- package/sdk/ios/usr/include/libkern/machine/OSByteOrder.h +147 -0
- package/sdk/ios/usr/include/limits.h +4 -0
- package/sdk/ios/usr/include/mach/arm/_structs.h +741 -0
- package/sdk/ios/usr/include/mach/boolean.h +4 -0
- package/sdk/ios/usr/include/mach/exception_types.h +40 -0
- package/sdk/ios/usr/include/mach/host_info.h +200 -0
- package/sdk/ios/usr/include/mach/i386/_structs.h +1316 -0
- package/sdk/ios/usr/include/mach/kern_return.h +61 -0
- package/sdk/ios/usr/include/mach/mach.h +16 -0
- package/sdk/ios/usr/include/mach/mach_error.h +10 -0
- package/sdk/ios/usr/include/mach/mach_host.h +18 -0
- package/sdk/ios/usr/include/mach/mach_init.h +15 -0
- package/sdk/ios/usr/include/mach/mach_port.h +11 -0
- package/sdk/ios/usr/include/mach/mach_time.h +14 -0
- package/sdk/ios/usr/include/mach/mach_types.h +20 -0
- package/sdk/ios/usr/include/mach/machine/_structs.h +40 -0
- package/sdk/ios/usr/include/mach/machine.h +144 -0
- package/sdk/ios/usr/include/mach/task.h +14 -0
- package/sdk/ios/usr/include/mach/task_info.h +23 -0
- package/sdk/ios/usr/include/mach/task_policy.h +29 -0
- package/sdk/ios/usr/include/mach/thread_act.h +12 -0
- package/sdk/ios/usr/include/mach/thread_info.h +32 -0
- package/sdk/ios/usr/include/mach/time_value.h +4 -0
- package/sdk/ios/usr/include/mach/vm_prot.h +8 -0
- package/sdk/ios/usr/include/mach/vm_region.h +43 -0
- package/sdk/ios/usr/include/mach/vm_statistics.h +491 -0
- package/sdk/ios/usr/include/mach/vm_types.h +8 -0
- package/sdk/ios/usr/include/mach-o/arch.h +21 -0
- package/sdk/ios/usr/include/mach-o/dyld.h +16 -0
- package/sdk/ios/usr/include/mach-o/dyld_images.h +71 -0
- package/sdk/ios/usr/include/mach-o/getsect.h +17 -0
- package/sdk/ios/usr/include/mach-o/loader.h +158 -0
- package/sdk/ios/usr/include/mach-o/nlist.h +38 -0
- package/sdk/ios/usr/include/mach-o/stab.h +33 -0
- package/sdk/ios/usr/include/mach-o/utils.h +10 -0
- package/sdk/ios/usr/include/machine/_endian.h +42 -0
- package/sdk/ios/usr/include/machine/_mcontext.h +39 -0
- package/sdk/ios/usr/include/machine/_param.h +39 -0
- package/sdk/ios/usr/include/machine/_types.h +39 -0
- package/sdk/ios/usr/include/machine/endian.h +42 -0
- package/sdk/ios/usr/include/machine/signal.h +39 -0
- package/sdk/ios/usr/include/machine/types.h +42 -0
- package/sdk/ios/usr/include/math.h +5 -0
- package/sdk/ios/usr/include/module.modulemap +4 -0
- package/sdk/ios/usr/include/net/if.h +20 -0
- package/sdk/ios/usr/include/net/if_dl.h +10 -0
- package/sdk/ios/usr/include/net/if_var.h +15 -0
- package/sdk/ios/usr/include/net/net_kev.h +100 -0
- package/sdk/ios/usr/include/netdb.h +5 -0
- package/sdk/ios/usr/include/netinet/in.h +670 -0
- package/sdk/ios/usr/include/netinet6/in6.h +676 -0
- package/sdk/ios/usr/include/notify.h +45 -0
- package/sdk/ios/usr/include/notify_keys.h +17 -0
- package/sdk/ios/usr/include/objc/NSObject.h +79 -0
- package/sdk/ios/usr/include/os/availability.h +140 -0
- package/sdk/ios/usr/include/os/lock.h +24 -0
- package/sdk/ios/usr/include/os/log.h +77 -0
- package/sdk/ios/usr/include/os/object.h +13 -0
- package/sdk/ios/usr/include/peach/darwin.h +6 -0
- package/sdk/ios/usr/include/peach/netdb.h +316 -0
- package/sdk/ios/usr/include/peach/pthread.h +19 -0
- package/sdk/ios/usr/include/pthread.h +4 -0
- package/sdk/ios/usr/include/secure/_common.h +45 -0
- package/sdk/ios/usr/include/secure/_stdio.h +130 -0
- package/sdk/ios/usr/include/signal.h +132 -0
- package/sdk/ios/usr/include/stdint.h +205 -0
- package/sdk/ios/usr/include/stdio.h +65 -0
- package/sdk/ios/usr/include/stdlib.h +17 -0
- package/sdk/ios/usr/include/string.h +8 -0
- package/sdk/ios/usr/include/sys/__endian.h +108 -0
- package/sdk/ios/usr/include/sys/_endian.h +152 -0
- package/sdk/ios/usr/include/sys/_posix_availability.h +73 -0
- package/sdk/ios/usr/include/sys/_pthread/_pthread_attr_t.h +32 -0
- package/sdk/ios/usr/include/sys/_pthread/_pthread_t.h +32 -0
- package/sdk/ios/usr/include/sys/_pthread/_pthread_types.h +120 -0
- package/sdk/ios/usr/include/sys/_symbol_aliasing.h +1093 -0
- package/sdk/ios/usr/include/sys/_types/_errno_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_filesec_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_gid_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_in_addr_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_in_port_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_ino_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_int16_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_int32_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_int64_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_int8_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_intptr_t.h +33 -0
- package/sdk/ios/usr/include/sys/_types/_iovec_t.h +35 -0
- package/sdk/ios/usr/include/sys/_types/_mode_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_null.h +54 -0
- package/sdk/ios/usr/include/sys/_types/_o_dsync.h +30 -0
- package/sdk/ios/usr/include/sys/_types/_o_sync.h +30 -0
- package/sdk/ios/usr/include/sys/_types/_off_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_pid_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_ptrdiff_t.h +56 -0
- package/sdk/ios/usr/include/sys/_types/_s_ifmt.h +74 -0
- package/sdk/ios/usr/include/sys/_types/_sa_family_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_seek_set.h +51 -0
- package/sdk/ios/usr/include/sys/_types/_sigaltstack.h +50 -0
- package/sdk/ios/usr/include/sys/_types/_sigset_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_size_t.h +56 -0
- package/sdk/ios/usr/include/sys/_types/_socklen_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_ssize_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_timespec.h +38 -0
- package/sdk/ios/usr/include/sys/_types/_timeval32.h +3 -0
- package/sdk/ios/usr/include/sys/_types/_u_int16_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_u_int32_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_u_int64_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_u_int8_t.h +31 -0
- package/sdk/ios/usr/include/sys/_types/_ucontext.h +59 -0
- package/sdk/ios/usr/include/sys/_types/_uid_t.h +32 -0
- package/sdk/ios/usr/include/sys/_types/_uintptr_t.h +37 -0
- package/sdk/ios/usr/include/sys/_types/_va_list.h +49 -0
- package/sdk/ios/usr/include/sys/_types/_wchar_t.h +59 -0
- package/sdk/ios/usr/include/sys/_types.h +103 -0
- package/sdk/ios/usr/include/sys/appleapiopts.h +61 -0
- package/sdk/ios/usr/include/sys/cdefs.h +341 -0
- package/sdk/ios/usr/include/sys/constrained_ctypes.h +622 -0
- package/sdk/ios/usr/include/sys/dirent.h +141 -0
- package/sdk/ios/usr/include/sys/errno.h +271 -0
- package/sdk/ios/usr/include/sys/fcntl.h +649 -0
- package/sdk/ios/usr/include/sys/mman.h +273 -0
- package/sdk/ios/usr/include/sys/proc.h +65 -0
- package/sdk/ios/usr/include/sys/qos.h +61 -0
- package/sdk/ios/usr/include/sys/signal.h +394 -0
- package/sdk/ios/usr/include/sys/socket.h +752 -0
- package/sdk/ios/usr/include/sys/stdio.h +61 -0
- package/sdk/ios/usr/include/sys/sysctl.h +74 -0
- package/sdk/ios/usr/include/sys/syslimits.h +11 -0
- package/sdk/ios/usr/include/sys/time.h +5 -0
- package/sdk/ios/usr/include/sys/types.h +21 -0
- package/sdk/ios/usr/include/sys/ucontext.h +41 -0
- package/sdk/ios/usr/include/sys/xattr.h +50 -0
- package/sdk/ios/usr/include/time.h +2 -0
- package/sdk/ios/usr/include/unistd.h +3 -0
- package/sdk/ios/usr/include/uuid/uuid.h +19 -0
- package/sdk/ios/usr/include/xlocale/_stdio.h +85 -0
- package/sdk/ios/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios-simulator.swiftinterface +8 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +51 -0
- package/sdk/ios/usr/lib/swift/ObjectiveC.swiftmodule/arm64-apple-ios-simulator.swiftinterface +20 -0
- package/sdk/ios/wasm/include/dlfcn.h +3 -0
- package/sdk/ios/wasm/include/netdb.h +4 -0
- package/sdk/ios/wasm/include/pthread.h +3 -0
- package/sdk/ios/wasm/include/stdlib.h +3 -0
- package/sdk/ios/wasm/include/string.h +3 -0
- package/sdk/ios/wasm/include/sys/socket.h +7 -0
- package/sdk/ios/wasm/include/sys/types.h +4 -0
- package/sdk/ios/wasm/include/sys/ucontext.h +38 -0
- package/src/bridge-contract.ts +42 -0
- package/src/chromium-admission.ts +196 -0
- package/src/cli-runtime.ts +5 -5
- package/src/conformance-comparison-contract.ts +146 -0
- package/src/conformance-pixel-comparison.ts +327 -0
- package/src/device-catalog.ts +12 -3
- package/src/host/bridge-host.ts +6 -43
- package/src/launch-deadline.ts +74 -0
- package/src/material-symbol-fonts.ts +107 -0
- package/src/nitro-adapter.lock.json +3 -3
- package/src/profiles.ts +21 -0
- package/src/react-native-coverage/capability-reference-resolution.ts +402 -0
- package/src/react-native-coverage/capability-source-references.ts +1296 -0
- package/src/react-native-coverage/native-typescript-parser.ts +74 -0
- package/src/react-native-coverage/project-aliases.ts +207 -0
- package/src/react-native-coverage/verified-reach.ts +47 -0
- package/src/reap-browser.ts +1019 -0
- package/src/skills/builtin/a11y-review.ts +1 -1
- package/src/skills/builtin/perf-profile.ts +1 -1
- package/src/skills/builtin/screenshot-all.ts +1 -1
- package/src/skills/builtin/visual-diff.ts +1 -1
- package/src/swift-compile.ts +584 -226
- package/src/swift-compiler-digest.ts +6 -2
- package/src/swift-coverage/indexdump.ts +80 -0
- package/src/swift-coverage/indexing.ts +147 -0
- package/src/swift-coverage/package.ts +230 -0
- package/src/swift-coverage/provenance.ts +47 -0
- package/src/swift-coverage/reader.ts +81 -0
- package/src/swift-coverage/source.ts +252 -0
- package/src/swift-coverage/types.ts +58 -0
- package/src/swift-coverage/xcode-assets.ts +175 -0
- package/src/swift-coverage/xcode-bridging.ts +160 -0
- package/src/swift-coverage/xcode-packages.ts +251 -0
- package/src/swift-coverage/xcode-strings.ts +78 -0
- package/src/swift-coverage/xcode.ts +656 -0
- package/src/swift-distribution.lock.json +8 -8
- package/src/swift-distribution.ts +2 -1
- package/src/swift-host.ts +47 -4
- package/src/swift-objc-compile.ts +72 -97
- package/src/swift-objc-import.ts +238 -38
- package/src/swift-objc-metadata.ts +54 -7
- package/src/swift-objc-sdk-tree.ts +17 -0
- package/src/swift-objc-sdk.ts +27 -25677
- package/src/swift-objc-standin.ts +4 -2
- package/src/swift-package-manifest.ts +134 -13
- package/src/swift-package.ts +46 -4
- package/src/swift-standins.ts +2 -2
- package/src/swift-submit.ts +2 -1
- package/src/swift-toolchain.ts +72 -61
- package/src/swift-vite-lifetime.ts +42 -0
- package/src/swiftContract.ts +54 -0
- package/src/vite-plugin-one.ts +36 -15
- package/src/vite-plugin-swift.ts +21 -2
- package/src/worker-system-chunks.ts +3 -10
- package/src/xcode-header-search.ts +114 -0
- package/src/xcode-project.ts +108 -14
- package/detox/attempt-events.cjs +0 -884
- package/detox/attempt-events.d.cts +0 -113
- package/detox/motion-change.cjs +0 -524
- package/detox/motion-change.d.cts +0 -140
- package/detox/motion-leg-starts.cjs +0 -20
- package/detox/motion-leg-starts.d.cts +0 -8
- package/detox/proof-frame.cjs +0 -190
- package/detox/record-block-execution.cjs +0 -78
package/cli/ws-bridge.ts
CHANGED
|
@@ -14,7 +14,11 @@ import {
|
|
|
14
14
|
DEFAULT_SOOTSIM_BRIDGE_PORT,
|
|
15
15
|
resolveSootsimBridgePort,
|
|
16
16
|
} from '../src/bridge-constants'
|
|
17
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
commandWritesSim,
|
|
19
|
+
type BridgeSimInfo,
|
|
20
|
+
type WsBridgeCommand,
|
|
21
|
+
} from '../src/bridge-contract'
|
|
18
22
|
import { DEFAULT_SOOTSIM_SHELL_URL } from '../src/cli-constants'
|
|
19
23
|
import {
|
|
20
24
|
isDaemonLockfileFresh,
|
|
@@ -37,6 +41,8 @@ import {
|
|
|
37
41
|
import { setPauseAwareTimeout } from './pause-aware-timeout'
|
|
38
42
|
import { peachExit } from './run-rnx'
|
|
39
43
|
|
|
44
|
+
export type { BridgeSimInfo }
|
|
45
|
+
|
|
40
46
|
// --- bridge world resolution ---------------------------------------------
|
|
41
47
|
//
|
|
42
48
|
// two bridge kinds can coexist on one machine: Vite dev-shell bridges
|
|
@@ -396,41 +402,6 @@ function describeSimIdSource(
|
|
|
396
402
|
return 'primary fallback — no sim pinned'
|
|
397
403
|
}
|
|
398
404
|
|
|
399
|
-
export interface BridgeSimInfo {
|
|
400
|
-
id: string
|
|
401
|
-
origin?: string
|
|
402
|
-
url?: string
|
|
403
|
-
title?: string
|
|
404
|
-
userAgent?: string
|
|
405
|
-
connectedAt: number
|
|
406
|
-
lastSeenAt: number
|
|
407
|
-
lastActiveAt?: number
|
|
408
|
-
isPrimary: boolean
|
|
409
|
-
readyState: 'open' | 'closing' | 'closed'
|
|
410
|
-
attachedCliCount?: number
|
|
411
|
-
lockedBy?: string
|
|
412
|
-
lockedByKind?: 'cli' | 'user-active'
|
|
413
|
-
lockExpiresAt?: number
|
|
414
|
-
/** true when this sim's lease belongs to us. computed server-side. */
|
|
415
|
-
lockedByMe?: boolean
|
|
416
|
-
userFocused?: boolean
|
|
417
|
-
userVisible?: boolean
|
|
418
|
-
visibilityState?: string
|
|
419
|
-
documentFocused?: boolean
|
|
420
|
-
/** registration kind — 'sootsim' (default) or 'contrast'. used by the
|
|
421
|
-
* `contrast` CLI to filter, and by tooling that wants to distinguish a
|
|
422
|
-
* Contrast IDE tab from a regular peach runtime. */
|
|
423
|
-
kind?: string
|
|
424
|
-
/** opaque metadata supplied at register time (projectId, route, the
|
|
425
|
-
* attached iOS sim id, etc). free-form by design. */
|
|
426
|
-
meta?: Record<string, unknown>
|
|
427
|
-
/** why a retained disconnected sim left. present only on readyState
|
|
428
|
-
* 'closed' entries served with listSims({ includeRetained: true }). */
|
|
429
|
-
disconnectCause?: string
|
|
430
|
-
/** epoch-ms the sim socket closed. present with disconnectCause. */
|
|
431
|
-
disconnectedAt?: number
|
|
432
|
-
}
|
|
433
|
-
|
|
434
405
|
export class DisconnectedSimError extends Error {}
|
|
435
406
|
|
|
436
407
|
export function disconnectedSavedSimMessage(simId: string, detail = ''): string {
|
|
@@ -582,6 +553,9 @@ export function parseBridgeCliArgs(
|
|
|
582
553
|
if (savedSim) {
|
|
583
554
|
state.simId = savedSim.simId.trim() || undefined
|
|
584
555
|
state.simIdSource = 'saved'
|
|
556
|
+
if (savedSim.bridgePort !== undefined && !state.explicitPort) {
|
|
557
|
+
state.wsPort = savedSim.bridgePort
|
|
558
|
+
}
|
|
585
559
|
}
|
|
586
560
|
}
|
|
587
561
|
|
|
@@ -622,7 +596,20 @@ export function createBridge(wsPort: number, opts: WsBridgeOptions = {}): WsBrid
|
|
|
622
596
|
|
|
623
597
|
let terminalError: Error | undefined
|
|
624
598
|
const ready = new Promise<void>((resolve, reject) => {
|
|
599
|
+
// bun's ws transport enforces no handshake deadline, and the per-command
|
|
600
|
+
// timer only starts after ready settles, so a listener that accepts tcp
|
|
601
|
+
// but never completes the upgrade would hang every command silently. the
|
|
602
|
+
// existing command budget bounds the handshake too.
|
|
603
|
+
const handshakeTimer = setTimeout(() => {
|
|
604
|
+
reject(
|
|
605
|
+
new Error(
|
|
606
|
+
`${bridgeWsUrl(wsPort)} accepted the connection but did not complete the websocket handshake within ${commandTimeoutMs / 1000}s; is it a peach bridge?`,
|
|
607
|
+
),
|
|
608
|
+
)
|
|
609
|
+
ws.terminate()
|
|
610
|
+
}, commandTimeoutMs)
|
|
625
611
|
ws.on('open', () => {
|
|
612
|
+
clearTimeout(handshakeTimer)
|
|
626
613
|
// identify ourselves so the server keys leases on the agent run,
|
|
627
614
|
// not the ephemeral ws connection (CLI invocations are short-lived).
|
|
628
615
|
// when identity is unstable the server falls back to a per-socket key,
|
|
@@ -648,6 +635,7 @@ export function createBridge(wsPort: number, opts: WsBridgeOptions = {}): WsBrid
|
|
|
648
635
|
})
|
|
649
636
|
// settle readiness too when the socket closes before opening.
|
|
650
637
|
ws.on('close', (code, reason) => {
|
|
638
|
+
clearTimeout(handshakeTimer)
|
|
651
639
|
const message = reason?.toString() || 'connection closed'
|
|
652
640
|
terminalError = new Error(`sim disconnected: ${message} (code ${code})`)
|
|
653
641
|
reject(terminalError)
|
|
@@ -657,6 +645,7 @@ export function createBridge(wsPort: number, opts: WsBridgeOptions = {}): WsBrid
|
|
|
657
645
|
}
|
|
658
646
|
})
|
|
659
647
|
ws.on('error', (err) => {
|
|
648
|
+
clearTimeout(handshakeTimer)
|
|
660
649
|
// err.message is often empty (ECONNREFUSED surfaces with no message on
|
|
661
650
|
// some node builds) — don't emit a dangling "...7668: " with no cause.
|
|
662
651
|
const cause = err.message ? `: ${err.message}` : ''
|
|
@@ -885,7 +874,7 @@ export function createBridge(wsPort: number, opts: WsBridgeOptions = {}): WsBrid
|
|
|
885
874
|
})) as BridgeSimInfo[] | undefined
|
|
886
875
|
const successor = pickReloadedTarget(simsForRecovery, sentSimId)
|
|
887
876
|
if (successor) {
|
|
888
|
-
saveCurrentSimId(successor)
|
|
877
|
+
saveCurrentSimId(successor, wsPort)
|
|
889
878
|
process.stderr.write(
|
|
890
879
|
` note: sim ${sentSimId} reloaded and reconnected as ${successor}; following it\n`,
|
|
891
880
|
)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// how many consecutive identical captures prove a screen stopped moving.
|
|
2
|
+
// conformance compares these captures against native ios baselines, so a frame
|
|
3
|
+
// caught mid-animation reads as a real pixel diff.
|
|
4
|
+
const REQUIRED_IDENTICAL_PROOF_FRAMES = 3
|
|
5
|
+
|
|
6
|
+
// a flow's `takeScreenshot` is a developer artifact, not pixel evidence. one
|
|
7
|
+
// settled capture is what it wants: re-capturing flashes the screen on every
|
|
8
|
+
// attempt, and a screen with a blinking caret never produces two identical
|
|
9
|
+
// frames at all, so the step fails on a page that is perfectly fine.
|
|
10
|
+
const REQUIRED_IDENTICAL_FLOW_FRAMES = 1
|
|
11
|
+
|
|
12
|
+
function framesIdentical(a, b) {
|
|
13
|
+
if (!a || !b || a.length !== b.length) return false
|
|
14
|
+
return a.equals(b)
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
module.exports = {
|
|
18
|
+
REQUIRED_IDENTICAL_PROOF_FRAMES,
|
|
19
|
+
REQUIRED_IDENTICAL_FLOW_FRAMES,
|
|
20
|
+
framesIdentical,
|
|
21
|
+
}
|
package/detox/index.ts
CHANGED
|
@@ -8,29 +8,17 @@ import { createRequire } from 'node:module'
|
|
|
8
8
|
import { promisify } from 'node:util'
|
|
9
9
|
import * as path from 'path'
|
|
10
10
|
import { chromium } from 'playwright-core'
|
|
11
|
-
import {
|
|
12
|
-
launchReapedChromeScoped,
|
|
13
|
-
reserveChromiumAdmission,
|
|
14
|
-
type ChromiumLaunchAdmission,
|
|
15
|
-
} from '../../../scripts/lib/reap-browser'
|
|
16
|
-
import {
|
|
17
|
-
MOTION_CHANGE_DEFINITION,
|
|
18
|
-
type DiscreteFrameCadence,
|
|
19
|
-
type MotionChangeDefinition,
|
|
20
|
-
} from '../../peach-conformance/src/cases/checkpoint-evidence.cjs'
|
|
21
|
-
import { getCliRuntime } from '../src/cli-runtime.ts'
|
|
22
|
-
import type {
|
|
23
|
-
LockstepInputReceipt,
|
|
24
|
-
LockstepScheduledInput,
|
|
25
|
-
SootSimLockstepFrameReceipt,
|
|
26
|
-
} from '@peach/globals'
|
|
27
|
-
export { reserveChromiumAdmission } from '../../../scripts/lib/reap-browser'
|
|
28
|
-
|
|
29
11
|
import { waitForSootsimIdle as waitForRuntimeIdle } from '../cli/commands/inspect/settling'
|
|
30
12
|
import { createBridge } from '../cli/ws-bridge'
|
|
31
13
|
import { resolveSootsimBridgePortForHttpPort } from '../src/bridge-constants'
|
|
14
|
+
import { getCliRuntime } from '../src/cli-runtime.ts'
|
|
32
15
|
import { SOOTSIM_SHELL_COMMAND_NAME } from '../src/menu'
|
|
33
16
|
import { pollUntil } from '../src/poll-until'
|
|
17
|
+
import {
|
|
18
|
+
launchReapedChromeScoped,
|
|
19
|
+
reserveChromiumAdmission,
|
|
20
|
+
type ChromiumLaunchAdmission,
|
|
21
|
+
} from '../src/reap-browser'
|
|
34
22
|
import { usesDirectLookup } from '../src/target-matcher'
|
|
35
23
|
import {
|
|
36
24
|
createExpect,
|
|
@@ -40,6 +28,7 @@ import {
|
|
|
40
28
|
isTextInputNodeFocused,
|
|
41
29
|
isNodeVisible,
|
|
42
30
|
} from './expectations'
|
|
31
|
+
import { REQUIRED_IDENTICAL_PROOF_FRAMES, framesIdentical } from './frame-identity.cjs'
|
|
43
32
|
import { frameTimingRoundingBound } from './frame-offset.mjs'
|
|
44
33
|
import {
|
|
45
34
|
dispatchTwoFingerGesture,
|
|
@@ -52,21 +41,27 @@ import {
|
|
|
52
41
|
waitForSootsimGestureHandler,
|
|
53
42
|
} from './gestures'
|
|
54
43
|
import { by, type Matcher } from './matchers'
|
|
44
|
+
import { describeSootsimBridgeFailure, navigateSootsimPage } from './navigation-lifecycle'
|
|
55
45
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
46
|
+
requireProofObserver,
|
|
47
|
+
type ClassifyDiscreteFrame,
|
|
48
|
+
type DiscreteFrameCadence,
|
|
58
49
|
type DiscreteFrameObservation,
|
|
59
50
|
type DiscreteFrameTrace,
|
|
51
|
+
type DiscreteProofBinding,
|
|
52
|
+
type MotionChangeDefinition,
|
|
60
53
|
type MotionChangeMeasurement,
|
|
61
|
-
} from './
|
|
62
|
-
import { describeSootsimBridgeFailure, navigateSootsimPage } from './navigation-lifecycle'
|
|
63
|
-
import { REQUIRED_IDENTICAL_PROOF_FRAMES, framesIdentical } from './proof-frame.cjs'
|
|
54
|
+
} from './proof-observer'
|
|
64
55
|
import type {
|
|
65
56
|
SootSimInteractBridge,
|
|
66
57
|
SootSimNodeInfo,
|
|
67
58
|
} from '../../peach-globals/src/index'
|
|
68
|
-
import type { DiscreteProofContext } from './attempt-events.cjs'
|
|
69
59
|
import type { SootSimElement } from './element-types'
|
|
60
|
+
import type {
|
|
61
|
+
LockstepInputReceipt,
|
|
62
|
+
LockstepScheduledInput,
|
|
63
|
+
SootSimLockstepFrameReceipt,
|
|
64
|
+
} from '@peach/globals'
|
|
70
65
|
import type { Browser, BrowserContext, Page } from 'playwright-core'
|
|
71
66
|
|
|
72
67
|
const WORKLET_FRAME_TRACE_LIMIT = 16384
|
|
@@ -98,12 +93,13 @@ declare global {
|
|
|
98
93
|
var __peachDetoxCleanup: (() => Promise<void>) | undefined
|
|
99
94
|
interface Window {
|
|
100
95
|
__sootsimVisibleChangeCaptures?: Record<string, VisibleChangeCaptureState>
|
|
101
|
-
__peachClassifyDiscreteFrame?:
|
|
96
|
+
__peachClassifyDiscreteFrame?: ClassifyDiscreteFrame
|
|
102
97
|
__peachDiscreteObserver?: DiscreteObserverState
|
|
103
98
|
}
|
|
104
99
|
}
|
|
105
100
|
|
|
106
101
|
export { by }
|
|
102
|
+
export { registerProofObserver, type ProofObserver } from './proof-observer'
|
|
107
103
|
export type { SootSimElement } from './element-types'
|
|
108
104
|
|
|
109
105
|
declare global {
|
|
@@ -2287,7 +2283,7 @@ export const device = {
|
|
|
2287
2283
|
cadence: DiscreteFrameCadence,
|
|
2288
2284
|
probeRect: { x: number; y: number; width: number; height: number },
|
|
2289
2285
|
rootRect: { x: number; y: number; width: number; height: number },
|
|
2290
|
-
binding:
|
|
2286
|
+
binding: DiscreteProofBinding,
|
|
2291
2287
|
stages: readonly { label: string; offsetMs: number }[] = [],
|
|
2292
2288
|
) {
|
|
2293
2289
|
if (!binding || !binding.captureNonce || !binding.attemptNonce)
|
|
@@ -2299,7 +2295,9 @@ export const device = {
|
|
|
2299
2295
|
)
|
|
2300
2296
|
throw new Error('peach discrete observer geometry differs from its issued capture')
|
|
2301
2297
|
const page = getPage()
|
|
2302
|
-
await page.evaluate(classifyDiscreteFrame, {
|
|
2298
|
+
await page.evaluate(requireProofObserver().classifyDiscreteFrame, {
|
|
2299
|
+
installGlobal: true,
|
|
2300
|
+
})
|
|
2303
2301
|
await page.evaluate(
|
|
2304
2302
|
async ({ cadence, probeRect, rootRect, binding, stages }) => {
|
|
2305
2303
|
type Bridges = {
|
|
@@ -2549,7 +2547,7 @@ export const device = {
|
|
|
2549
2547
|
namePrefix: string,
|
|
2550
2548
|
stages: Array<{ label: string; offsetMs: number }>,
|
|
2551
2549
|
options: {
|
|
2552
|
-
binding:
|
|
2550
|
+
binding: DiscreteProofBinding
|
|
2553
2551
|
cadence: DiscreteFrameCadence
|
|
2554
2552
|
probeRect: { x: number; y: number; width: number; height: number }
|
|
2555
2553
|
rootRect: { x: number; y: number; width: number; height: number }
|
|
@@ -2712,8 +2710,9 @@ export const device = {
|
|
|
2712
2710
|
if (!Number.isFinite(settleMs) || settleMs < 0) {
|
|
2713
2711
|
throw new Error('peach motion capture needs a non-negative settleMs')
|
|
2714
2712
|
}
|
|
2715
|
-
|
|
2716
|
-
|
|
2713
|
+
const proofObserver = requireProofObserver()
|
|
2714
|
+
await page.evaluate(proofObserver.measureMotionChange, {
|
|
2715
|
+
definition: proofObserver.motionChangeDefinition,
|
|
2717
2716
|
installGlobal: true,
|
|
2718
2717
|
})
|
|
2719
2718
|
if (options.workletFrameTracePath) {
|
|
@@ -3204,9 +3203,16 @@ export const device = {
|
|
|
3204
3203
|
].sort((a, b) => a - b)
|
|
3205
3204
|
: []
|
|
3206
3205
|
// transition stages take the native touch rule from the touches this
|
|
3207
|
-
// lane delivered, stepping until the last one due has landed.
|
|
3206
|
+
// lane delivered, stepping until the last one due has landed. a
|
|
3207
|
+
// release anchor already sits on the delivered up, so its offsets
|
|
3208
|
+
// are up-relative and the press-relative schedule does not apply.
|
|
3208
3209
|
const stageOffsetMs = async (offsetMs: number, anchorId: string) => {
|
|
3209
|
-
if (
|
|
3210
|
+
if (
|
|
3211
|
+
anchorId !== 'transition' ||
|
|
3212
|
+
input.witnessedDrag ||
|
|
3213
|
+
input.anchorAtTouch === 'up'
|
|
3214
|
+
)
|
|
3215
|
+
return offsetMs
|
|
3210
3216
|
const due = holdScheduleMs.filter((scheduledMs) => scheduledMs <= offsetMs)
|
|
3211
3217
|
while (controller.inputReceipts.length < due.length) {
|
|
3212
3218
|
if (state.cancelled) throw new Error('peach motion capture was cancelled')
|
|
@@ -3330,7 +3336,7 @@ export const device = {
|
|
|
3330
3336
|
anchorAtTouch: options.anchorAtTouch ?? null,
|
|
3331
3337
|
witnessedDrag: options.witnessedDrag === true,
|
|
3332
3338
|
hold: options.hold ?? null,
|
|
3333
|
-
motionChangeDefinition:
|
|
3339
|
+
motionChangeDefinition: proofObserver.motionChangeDefinition,
|
|
3334
3340
|
platform: device.getPlatform(),
|
|
3335
3341
|
rootFrame: options.rootFrame ?? null,
|
|
3336
3342
|
settleMs,
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
const { TestEnvironment } = require('jest-environment-node')
|
|
2
|
-
const
|
|
2
|
+
const path = require('path')
|
|
3
|
+
const { reserveChromiumAdmission } = require(
|
|
4
|
+
path.join(path.dirname(require.resolve('peachsim/package.json')), 'dist-lib', 'reap-browser.cjs'),
|
|
5
|
+
)
|
|
3
6
|
|
|
4
7
|
// jest's environment setup precedes all hook and test deadlines. reserve one
|
|
5
8
|
// slot for this file, including sequential terminateApp/launchApp pairs, so a
|
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
// force-reaps its tree. registering it here means no suite has to remember an
|
|
12
12
|
// afterAll of its own.
|
|
13
13
|
|
|
14
|
-
// records which test bodies actually ran, so a downstream reader can tell a
|
|
15
|
-
// setup failure from a behavior failure. no-op unless the run asks for it.
|
|
16
|
-
require('./record-block-execution.cjs')
|
|
17
|
-
|
|
18
14
|
const { cleanup } = require('peachsim/detox')
|
|
19
15
|
globalThis.__peachDetoxCleanup = cleanup
|
|
20
16
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readPeachConfigFromSearchParams } from '../src/config'
|
|
2
|
-
import {
|
|
2
|
+
import { recordAttemptEvent } from './proof-observer'
|
|
3
3
|
import type { Page, Request, Response } from 'playwright-core'
|
|
4
4
|
|
|
5
5
|
export type SootsimNavigationIdentity = {
|
|
@@ -101,7 +101,7 @@ const persistedDiagnostics = new WeakSet<PageDiagnostic>()
|
|
|
101
101
|
function persistDiagnostic(diagnostic: PageDiagnostic) {
|
|
102
102
|
if (persistedDiagnostics.has(diagnostic)) return
|
|
103
103
|
persistedDiagnostics.add(diagnostic)
|
|
104
|
-
|
|
104
|
+
recordAttemptEvent(diagnostic)
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
// a run that dies at the launch marker never reaches the failure message that
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
// the one hook a proof harness registers with the driver. the driver knows how
|
|
2
|
+
// to park clocks, step frames and capture them; what counts as a changed frame,
|
|
3
|
+
// how a discrete frame is classified, and where attempt events are recorded
|
|
4
|
+
// belong to whoever grades the capture, so they arrive through this observer.
|
|
5
|
+
|
|
6
|
+
export type MotionChangeDefinition = {
|
|
7
|
+
channelThreshold: number
|
|
8
|
+
minimumChangePercent: number
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export type MotionChangeMeasurement = {
|
|
12
|
+
changePercent: number
|
|
13
|
+
changePixels: number
|
|
14
|
+
passedMinimum: boolean
|
|
15
|
+
totalPixels: number
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type MotionChangeInput = {
|
|
19
|
+
baseline?: ArrayLike<number>
|
|
20
|
+
candidate?: ArrayLike<number>
|
|
21
|
+
changePixels?: number
|
|
22
|
+
definition: MotionChangeDefinition
|
|
23
|
+
height?: number
|
|
24
|
+
installGlobal?: boolean
|
|
25
|
+
label?: string
|
|
26
|
+
totalPixels?: number
|
|
27
|
+
width?: number
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type DiscreteFrameAsset = {
|
|
31
|
+
frames: readonly {
|
|
32
|
+
durationMs: number
|
|
33
|
+
uniformRgba: readonly [number, number, number, number]
|
|
34
|
+
}[]
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type DiscreteFrameCadence = {
|
|
38
|
+
kind: 'discrete-frame'
|
|
39
|
+
asset: DiscreteFrameAsset
|
|
40
|
+
probe: { elementName: string; inset: number }
|
|
41
|
+
} & (
|
|
42
|
+
| { mode: 'playing'; entryFrame: number; minimumTransitions: 2 }
|
|
43
|
+
| { mode: 'frozen'; waitIntervalsMs: readonly number[]; captures: readonly string[] }
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
export type DiscreteFrameObservation = {
|
|
47
|
+
frameIndex: number
|
|
48
|
+
atMs: number
|
|
49
|
+
phase: number | null
|
|
50
|
+
mismatchPixels: number[]
|
|
51
|
+
totalPixels: number
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export type DiscreteFrameBinding = {
|
|
55
|
+
attemptNonce: string
|
|
56
|
+
captureNonce: string
|
|
57
|
+
sourceFingerprint: string
|
|
58
|
+
proofSourceFingerprint: string
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type DiscreteFrameTrace = {
|
|
62
|
+
cost?: {
|
|
63
|
+
wallMs: number
|
|
64
|
+
observedFrames: number
|
|
65
|
+
totalProbeBytes: number
|
|
66
|
+
maximumProbeBytes: number
|
|
67
|
+
requestedPngs: number
|
|
68
|
+
}
|
|
69
|
+
binding?: DiscreteFrameBinding
|
|
70
|
+
triggerStartedAtMs?: number
|
|
71
|
+
triggerCompletedAtMs?: number
|
|
72
|
+
completedAtMs?: number
|
|
73
|
+
cadence: DiscreteFrameCadence
|
|
74
|
+
observations: DiscreteFrameObservation[]
|
|
75
|
+
clock: 'native-presentation' | 'peach-virtual'
|
|
76
|
+
coverageStartMs: number
|
|
77
|
+
coverageEndMs: number
|
|
78
|
+
triggerMs: number
|
|
79
|
+
windowMs: number
|
|
80
|
+
mediaDurationMs?: number
|
|
81
|
+
waitIntervals?: { startMs: number; endMs: number }[]
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
type ProofRect = { x: number; y: number; width: number; height: number }
|
|
85
|
+
|
|
86
|
+
// the issued capture a discrete observation answers to
|
|
87
|
+
export type DiscreteProofBinding = DiscreteFrameBinding & {
|
|
88
|
+
clock: 'native-presentation' | 'peach-virtual'
|
|
89
|
+
probeRect: ProofRect
|
|
90
|
+
rootRect: ProofRect
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export type ClassifyDiscreteFrame = (input: {
|
|
94
|
+
pixels?: ArrayLike<number>
|
|
95
|
+
frames?: DiscreteFrameAsset['frames']
|
|
96
|
+
installGlobal?: boolean
|
|
97
|
+
}) => Pick<DiscreteFrameObservation, 'phase' | 'mismatchPixels' | 'totalPixels'> | null
|
|
98
|
+
|
|
99
|
+
export type MeasureMotionChange = (
|
|
100
|
+
input: MotionChangeInput,
|
|
101
|
+
) => MotionChangeMeasurement | null
|
|
102
|
+
|
|
103
|
+
export interface ProofObserver {
|
|
104
|
+
motionChangeDefinition: Readonly<MotionChangeDefinition>
|
|
105
|
+
// both run inside the page, so each must be self-contained
|
|
106
|
+
measureMotionChange: MeasureMotionChange
|
|
107
|
+
classifyDiscreteFrame: ClassifyDiscreteFrame
|
|
108
|
+
attemptEvent(event: unknown): void
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
let observer: ProofObserver | null = null
|
|
112
|
+
|
|
113
|
+
export function registerProofObserver(next: ProofObserver) {
|
|
114
|
+
observer = next
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export function recordAttemptEvent(event: unknown) {
|
|
118
|
+
observer?.attemptEvent(event)
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export function requireProofObserver(): ProofObserver {
|
|
122
|
+
if (!observer) {
|
|
123
|
+
throw new Error('peach proof capture needs a registered proof observer')
|
|
124
|
+
}
|
|
125
|
+
return observer
|
|
126
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -7,6 +7,9 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
7
7
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
9
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __esm = (fn, res) => function __init() {
|
|
11
|
+
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
|
+
};
|
|
10
13
|
var __export = (target, all) => {
|
|
11
14
|
for (var name2 in all)
|
|
12
15
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
@@ -29,6 +32,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
32
|
));
|
|
30
33
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
31
34
|
|
|
35
|
+
// <define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>
|
|
36
|
+
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
37
|
+
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
32
41
|
// src/agent-daemon-client.ts
|
|
33
42
|
var agent_daemon_client_exports = {};
|
|
34
43
|
__export(agent_daemon_client_exports, {
|
|
@@ -39,20 +48,24 @@ __export(agent_daemon_client_exports, {
|
|
|
39
48
|
isBridgeUp: () => isBridgeUp
|
|
40
49
|
});
|
|
41
50
|
module.exports = __toCommonJS(agent_daemon_client_exports);
|
|
51
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
42
52
|
var import_node_child_process = require("node:child_process");
|
|
43
53
|
var import_node_net = __toESM(require("node:net"), 1);
|
|
44
54
|
var import_ws = require("ws");
|
|
45
55
|
|
|
46
56
|
// src/agent-sessions.ts
|
|
57
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
47
58
|
var import_node_fs3 = __toESM(require("node:fs"), 1);
|
|
48
59
|
var import_node_path3 = __toESM(require("node:path"), 1);
|
|
49
60
|
|
|
50
61
|
// cli/self-invocation.ts
|
|
62
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
51
63
|
var import_node_fs = require("node:fs");
|
|
52
64
|
var import_node_path = require("node:path");
|
|
53
65
|
var import_node_url = require("node:url");
|
|
54
66
|
|
|
55
67
|
// src/public-brand.ts
|
|
68
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
56
69
|
var name = "Peach";
|
|
57
70
|
var peachPublicBrand = Object.freeze({
|
|
58
71
|
name,
|
|
@@ -65,6 +78,7 @@ var peachPublicBrand = Object.freeze({
|
|
|
65
78
|
var rnxPublicBrand = peachPublicBrand;
|
|
66
79
|
|
|
67
80
|
// cli/standalone.ts
|
|
81
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
68
82
|
var IS_STANDALONE = typeof __SOOTSIM_STANDALONE__ !== "undefined" && __SOOTSIM_STANDALONE__;
|
|
69
83
|
|
|
70
84
|
// cli/self-invocation.ts
|
|
@@ -96,7 +110,17 @@ function rnxSelfInvocation() {
|
|
|
96
110
|
return { executable: process.execPath, prefixArgs: [entry] };
|
|
97
111
|
}
|
|
98
112
|
|
|
113
|
+
// src/agent-events.ts
|
|
114
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
115
|
+
|
|
116
|
+
// src/agent-prompt.ts
|
|
117
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
118
|
+
|
|
119
|
+
// src/attached-projects.ts
|
|
120
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
121
|
+
|
|
99
122
|
// src/home-paths.ts
|
|
123
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
100
124
|
var import_node_fs2 = __toESM(require("node:fs"), 1);
|
|
101
125
|
var import_node_path2 = __toESM(require("node:path"), 1);
|
|
102
126
|
function isSootsimDevCheckout() {
|
|
@@ -216,7 +240,11 @@ function fileFromImportMeta() {
|
|
|
216
240
|
}
|
|
217
241
|
}
|
|
218
242
|
|
|
243
|
+
// src/bridge-constants.ts
|
|
244
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
245
|
+
|
|
219
246
|
// src/simulator-route.ts
|
|
247
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
220
248
|
var PEACH_SIMULATOR_PATH = "/simulator";
|
|
221
249
|
var SIMULATOR_DOCUMENT_PATH = new RegExp(
|
|
222
250
|
`^${PEACH_SIMULATOR_PATH}(?:/(?:rn(?:/[^/]+)?|app/[^/]+|dock/[^/]+))?/?$`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -32,6 +32,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
32
32
|
));
|
|
33
33
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
34
34
|
|
|
35
|
+
// <define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>
|
|
36
|
+
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
37
|
+
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
|
|
35
41
|
// scripts/optional-demo-registry.ts
|
|
36
42
|
var optional_demo_registry_exports = {};
|
|
37
43
|
__export(optional_demo_registry_exports, {
|
|
@@ -76,6 +82,7 @@ var import_node_fs, import_node_path2, import_node_url, REGISTRY_REPO_PATH, MAX_
|
|
|
76
82
|
var init_optional_demo_registry = __esm({
|
|
77
83
|
"scripts/optional-demo-registry.ts"() {
|
|
78
84
|
"use strict";
|
|
85
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
79
86
|
import_node_fs = require("node:fs");
|
|
80
87
|
import_node_path2 = require("node:path");
|
|
81
88
|
import_node_url = require("node:url");
|
|
@@ -110,11 +117,13 @@ __export(attached_projects_exports, {
|
|
|
110
117
|
upsertSession: () => upsertSession
|
|
111
118
|
});
|
|
112
119
|
module.exports = __toCommonJS(attached_projects_exports);
|
|
120
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
113
121
|
var import_node_crypto = require("node:crypto");
|
|
114
122
|
var import_node_fs2 = __toESM(require("node:fs"), 1);
|
|
115
123
|
var import_node_path3 = __toESM(require("node:path"), 1);
|
|
116
124
|
|
|
117
125
|
// src/home-paths.ts
|
|
126
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
118
127
|
var import_node_os = require("node:os");
|
|
119
128
|
var import_node_path = __toESM(require("node:path"), 1);
|
|
120
129
|
var PEACH_HOME_ENV = "PEACH_HOME";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|