peachsim 0.1.2761 → 0.1.2763
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/detox/index.ts +42 -2
- package/detox/proof-observer.ts +4 -0
- 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 +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +31 -20
- package/dist-lib/capture-contract.cjs +1 -1
- 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 +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +29 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-VIBO7N7T.mjs → acorn-F5OZH6N2.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YXHXCLGZ.mjs → chunk-37G7S5BN.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-77WVP7CX.mjs → chunk-4I7X4Q2J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2RN4CYVF.mjs → chunk-4NB3ZWPF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YFKT4EED.mjs → chunk-5NWM7OGS.mjs} +32 -23
- package/dist-lib/esm-chunks/{chunk-TXTTNW5R.mjs → chunk-6NZYYIE4.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-FLKEXEJF.mjs → chunk-7AYY6CRA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HF6YWFAD.mjs → chunk-AJOX5HGX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PCRRL66P.mjs → chunk-AL7BIGLA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CQOMTIVK.mjs → chunk-BGIRP6DM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KMSUYLRS.mjs → chunk-ELSAYCTZ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-PLNWKNJI.mjs → chunk-EYQZ5KGJ.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-IHTMRXFV.mjs → chunk-G6MDSHBX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GCMJAO6P.mjs → chunk-HC4WSOMH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HE5PEFWG.mjs → chunk-N4KZDMQX.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-UEJZW4R7.mjs → chunk-OPZ7RERJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2HHOIMCD.mjs → chunk-PSNSD7DC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4PUEKL6G.mjs → chunk-Q3EPHFRJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MIVNTM36.mjs → chunk-R667YWM6.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-FRJW6EFP.mjs → chunk-RP3ICLF6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YW4SW6M6.mjs → chunk-S4UUSEDM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BMKPT2UA.mjs → chunk-SQLNV5Z5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IT72KA5K.mjs → chunk-WDF6IPVE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6KTCTHO2.mjs → chunk-WYO5PEXM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBGGSA67.mjs → chunk-YRWDESSV.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-VLSCJMMR.mjs → metro-layout-parser-64YNWDMX.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-YRUJ2ZBA.mjs → swift-package-prebuilt-FFPD2HHX.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-H2UHD4XQ.mjs → swift-sdk-app-module-DRJFIHVR.mjs} +25 -23
- package/dist-lib/esm-chunks/{swift-sdk-image-EMBXJ2TQ.mjs → swift-sdk-image-WZZWIZNS.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-WJ57ETVI.mjs → swift-sdk-image-producer-M2ECVU62.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +31 -20
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +31 -20
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- 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 +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- 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 +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- 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 +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- 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 +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +8 -8
- package/dist-lib/skills.cjs +31 -20
- package/dist-lib/swift-compile.cjs +28 -17
- package/dist-lib/swift-compile.mjs +12 -12
- 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 +1 -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/magic-string.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 +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/native-node-queries.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/engine/native-scene-program.d.ts +1 -2
- package/dist-types/packages/peach-engine/src/engine/scroll-physics-native.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-runtime/presentation-book-host.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/live-frame-mirror.d.ts +2 -4
- package/dist-types/packages/peach-engine/src/render-worker/scene-commit-ring.d.ts +9 -3
- package/package.json +1 -1
- package/src/one-native-controls-package.ts +14 -1
- package/src/swift-compile.ts +11 -1
- package/src/swift-guest-compile.ts +9 -7
- package/src/swift-sdk-app-module.ts +9 -7
- package/src/swiftSdkLinkContract.ts +1 -0
package/detox/index.ts
CHANGED
|
@@ -3083,8 +3083,23 @@ export const device = {
|
|
|
3083
3083
|
),
|
|
3084
3084
|
99.9,
|
|
3085
3085
|
)
|
|
3086
|
-
const
|
|
3086
|
+
const presentationFrames =
|
|
3087
|
+
DETOX_PLATFORM === 'ios' &&
|
|
3088
|
+
nativeCheckpoint &&
|
|
3089
|
+
nativeRecord &&
|
|
3090
|
+
!options.anchorAtTouch &&
|
|
3091
|
+
!options.producerWitness &&
|
|
3092
|
+
!options.hold &&
|
|
3093
|
+
!options.witnessedInput
|
|
3094
|
+
? proofObserver.nativePresentationFrames?.(nativeCheckpoint, nativeRecord)
|
|
3095
|
+
: null
|
|
3096
|
+
const pairedStages: Array<
|
|
3097
|
+
(typeof stages)[number] & { nativePresentationIndex?: number }
|
|
3098
|
+
> = stages.map((stage) => {
|
|
3087
3099
|
if (DETOX_PLATFORM !== 'ios') return stage
|
|
3100
|
+
const nativePresentationIndex = presentationFrames?.get(stage.label)
|
|
3101
|
+
if (nativePresentationIndex !== undefined)
|
|
3102
|
+
return { ...stage, nativePresentationIndex }
|
|
3088
3103
|
// ios media times share the native stage's detected anchor. actualMs on
|
|
3089
3104
|
// a settled native screenshot uses a different clock and cannot seed it.
|
|
3090
3105
|
const { nativeActualMs: _nativeActualMs, ...rest } = stage
|
|
@@ -3129,7 +3144,8 @@ export const device = {
|
|
|
3129
3144
|
!options.anchorAtTouch &&
|
|
3130
3145
|
!options.producerWitness &&
|
|
3131
3146
|
!options.hold &&
|
|
3132
|
-
!options.witnessedInput
|
|
3147
|
+
!options.witnessedInput &&
|
|
3148
|
+
!presentationFrames?.size
|
|
3133
3149
|
? pairedStages.findIndex(
|
|
3134
3150
|
(stage) =>
|
|
3135
3151
|
stage.offsetMs > 0 && stage.nativeActualMs !== undefined && !stage.anchor,
|
|
@@ -4023,6 +4039,30 @@ export const device = {
|
|
|
4023
4039
|
anchorId,
|
|
4024
4040
|
stage.nativeActualMs,
|
|
4025
4041
|
)
|
|
4042
|
+
if (stage.nativePresentationIndex !== undefined) {
|
|
4043
|
+
const frameIndex = anchorReceipt.frameIndex + stage.nativePresentationIndex
|
|
4044
|
+
if (frameIndex < currentReceipt.frameIndex)
|
|
4045
|
+
throw new Error(
|
|
4046
|
+
`native presentation stage ${stage.label} precedes the Peach clock`,
|
|
4047
|
+
)
|
|
4048
|
+
while (currentReceipt.frameIndex < frameIndex) {
|
|
4049
|
+
if (state.cancelled) throw new Error('peach motion capture was cancelled')
|
|
4050
|
+
currentReceipt = await controller.stepFrame(undefined, {
|
|
4051
|
+
composite: currentReceipt.frameIndex + 1 === frameIndex,
|
|
4052
|
+
})
|
|
4053
|
+
}
|
|
4054
|
+
snapshots.push({
|
|
4055
|
+
actualMs:
|
|
4056
|
+
currentReceipt.virtualTimestampMs - anchorReceipt.virtualTimestampMs,
|
|
4057
|
+
anchorId,
|
|
4058
|
+
bitmap: await captureBitmap(),
|
|
4059
|
+
frameIndex,
|
|
4060
|
+
label: stage.label,
|
|
4061
|
+
offsetMs: stage.offsetMs,
|
|
4062
|
+
virtualTimestampMs: currentReceipt.virtualTimestampMs,
|
|
4063
|
+
})
|
|
4064
|
+
continue
|
|
4065
|
+
}
|
|
4026
4066
|
if (typeof stage.nativeActualMs === 'number') {
|
|
4027
4067
|
// the native frame nearest touch-down can precede the touch, or
|
|
4028
4068
|
// composite before its commit. the retained pre-press baseline is
|
package/detox/proof-observer.ts
CHANGED
|
@@ -105,6 +105,10 @@ export interface ProofObserver {
|
|
|
105
105
|
// both run inside the page, so each must be self-contained
|
|
106
106
|
measureMotionChange: MeasureMotionChange
|
|
107
107
|
classifyDiscreteFrame: ClassifyDiscreteFrame
|
|
108
|
+
nativePresentationFrames?(
|
|
109
|
+
checkpointDir: string,
|
|
110
|
+
event: unknown,
|
|
111
|
+
): ReadonlyMap<string, number> | null
|
|
108
112
|
attemptEvent(event: unknown): void
|
|
109
113
|
}
|
|
110
114
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
3
3
|
|
|
4
4
|
// src/beta.ts
|
|
5
5
|
var IS_BETA = true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
BridgeInputError,
|
|
4
4
|
SEMANTIC_WAIT_MAX_TIMEOUT_MS,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
parseSemanticWaitOptions,
|
|
18
18
|
parseStateOptions,
|
|
19
19
|
parseTapTarget
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
21
|
-
import "./esm-chunks/chunk-
|
|
22
|
-
import "./esm-chunks/chunk-
|
|
23
|
-
import "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-6NZYYIE4.mjs";
|
|
21
|
+
import "./esm-chunks/chunk-S4UUSEDM.mjs";
|
|
22
|
+
import "./esm-chunks/chunk-OPZ7RERJ.mjs";
|
|
23
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
24
24
|
export {
|
|
25
25
|
BridgeInputError,
|
|
26
26
|
SEMANTIC_WAIT_MAX_TIMEOUT_MS,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
4
4
|
REFUSED_PERFORM_STEP_TYPES,
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
readyProbeHasContent,
|
|
14
14
|
readyProbeIsReady,
|
|
15
15
|
refusedPerformStepReason
|
|
16
|
-
} from "./esm-chunks/chunk-
|
|
17
|
-
import "./esm-chunks/chunk-
|
|
16
|
+
} from "./esm-chunks/chunk-S4UUSEDM.mjs";
|
|
17
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
18
18
|
export {
|
|
19
19
|
HEADLESS_TENANT_FETCH_HUNG_MARKER,
|
|
20
20
|
REFUSED_PERFORM_STEP_TYPES,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -10500,7 +10500,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
10500
10500
|
|
|
10501
10501
|
// src/swift-compiler-digest.ts
|
|
10502
10502
|
function swiftArchiveCompilerDigestValue() {
|
|
10503
|
-
return true ? "
|
|
10503
|
+
return true ? "f261882372538df2e6250f6d2e2887c0e714024cbf4444b72f71b109c87b9fdc" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
|
|
10504
10504
|
}
|
|
10505
10505
|
var import_node_crypto10, import_node_fs20, import_node_path17, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
10506
10506
|
var init_swift_compiler_digest = __esm({
|
|
@@ -32722,13 +32722,13 @@ async function buildSwiftAppModule(options2) {
|
|
|
32722
32722
|
throw error;
|
|
32723
32723
|
}
|
|
32724
32724
|
await lowerPromise;
|
|
32725
|
-
if (!project2)
|
|
32726
|
-
writeSwiftSdkAppLink(import_node_path45.default.join(work, "app-link.json.gz"), {
|
|
32727
|
-
linkage: link.linkage,
|
|
32728
|
-
usage
|
|
32729
|
-
});
|
|
32730
32725
|
finishSwiftAppModuleFile(options2.output);
|
|
32731
|
-
return binding;
|
|
32726
|
+
if (project2) return binding;
|
|
32727
|
+
const appLink = writeSwiftSdkAppLink(import_node_path45.default.join(work, "app-link.json.gz"), {
|
|
32728
|
+
linkage: link.linkage,
|
|
32729
|
+
usage
|
|
32730
|
+
});
|
|
32731
|
+
return { ...binding, appLink };
|
|
32732
32732
|
}
|
|
32733
32733
|
function swiftAppModuleThunkSection(lowered) {
|
|
32734
32734
|
return [NATIVE_SDK_THUNK_SECTION, sdkImportThunks(lowered)];
|
|
@@ -33662,7 +33662,9 @@ function bindSwiftAppModule(linkage, sdk2) {
|
|
|
33662
33662
|
]);
|
|
33663
33663
|
}
|
|
33664
33664
|
function writeSwiftSdkAppLink(file, link) {
|
|
33665
|
-
|
|
33665
|
+
const bytes = (0, import_node_zlib5.gzipSync)(JSON.stringify(link), { level: 1 });
|
|
33666
|
+
(0, import_node_fs46.writeFileSync)(file, bytes);
|
|
33667
|
+
return bytes;
|
|
33666
33668
|
}
|
|
33667
33669
|
function readSwiftSdkAppLink(file) {
|
|
33668
33670
|
return JSON.parse((0, import_node_zlib5.gunzipSync)((0, import_node_fs46.readFileSync)(file)).toString("utf8"));
|
|
@@ -34866,16 +34868,18 @@ async function compileGuestLink(options2) {
|
|
|
34866
34868
|
swiftAppModuleThunkSection2(finalized.wasm)
|
|
34867
34869
|
])
|
|
34868
34870
|
);
|
|
34869
|
-
if (
|
|
34870
|
-
|
|
34871
|
-
|
|
34872
|
-
|
|
34871
|
+
if (project2) return binding;
|
|
34872
|
+
const replayDirectory = import_node_path46.default.join(options2.buildDirectory, ".peach-sdk-module");
|
|
34873
|
+
(0, import_node_fs47.mkdirSync)(replayDirectory, { recursive: true });
|
|
34874
|
+
const appLink = writeSwiftSdkAppLink2(
|
|
34875
|
+
import_node_path46.default.join(replayDirectory, "app-link.json.gz"),
|
|
34876
|
+
{
|
|
34873
34877
|
linkage,
|
|
34874
34878
|
usage,
|
|
34875
34879
|
scopedLookups: true
|
|
34876
|
-
}
|
|
34877
|
-
|
|
34878
|
-
return binding;
|
|
34880
|
+
}
|
|
34881
|
+
);
|
|
34882
|
+
return { ...binding, appLink };
|
|
34879
34883
|
}
|
|
34880
34884
|
} finally {
|
|
34881
34885
|
if (result.finalLinkDone) await Promise.allSettled([result.finalLinkDone]);
|
|
@@ -39917,10 +39921,13 @@ function readCompiledArtifact(directory2, hash) {
|
|
|
39917
39921
|
const liveSlots = (0, import_node_fs55.readFileSync)(import_node_path56.default.join(directory2, "sdk-live-slots.bin"));
|
|
39918
39922
|
if ((0, import_node_crypto36.createHash)("sha256").update(liveSlots).digest("hex") !== image.liveSlots)
|
|
39919
39923
|
return null;
|
|
39924
|
+
const appLink = typeof image.appLink === "string" ? (0, import_node_fs55.readFileSync)(import_node_path56.default.join(directory2, "app-link.json.gz")) : void 0;
|
|
39925
|
+
if (appLink && (0, import_node_crypto36.createHash)("sha256").update(appLink).digest("hex") !== image.appLink)
|
|
39926
|
+
return null;
|
|
39920
39927
|
const sdk2 = {
|
|
39921
39928
|
key: image.key,
|
|
39922
39929
|
sha256: image.sha256,
|
|
39923
|
-
binding: { bytes: binding, sha256: image.binding, liveSlots }
|
|
39930
|
+
binding: { bytes: binding, sha256: image.binding, liveSlots, appLink }
|
|
39924
39931
|
};
|
|
39925
39932
|
return { hash, bytes, icu: { sha256: receipt.icu, gzip: gzip2 }, sdk: sdk2 };
|
|
39926
39933
|
} catch (error) {
|
|
@@ -39934,6 +39941,8 @@ function saveCompiledArtifact(root, artifact) {
|
|
|
39934
39941
|
(0, import_node_fs55.mkdirSync)(directory2, { recursive: true });
|
|
39935
39942
|
const pending2 = (0, import_node_fs55.mkdtempSync)(import_node_path56.default.join(root, ".artifact-"));
|
|
39936
39943
|
try {
|
|
39944
|
+
const appLink = artifact.sdk?.binding.appLink;
|
|
39945
|
+
if (appLink) (0, import_node_fs55.writeFileSync)(import_node_path56.default.join(pending2, "app-link.json.gz"), appLink);
|
|
39937
39946
|
(0, import_node_fs55.writeFileSync)(import_node_path56.default.join(pending2, "app.wasm"), artifact.bytes);
|
|
39938
39947
|
(0, import_node_fs55.writeFileSync)(import_node_path56.default.join(pending2, "icu.gz"), artifact.icu.gzip);
|
|
39939
39948
|
if (artifact.sdk) {
|
|
@@ -39953,12 +39962,14 @@ function saveCompiledArtifact(root, artifact) {
|
|
|
39953
39962
|
key: artifact.sdk.key,
|
|
39954
39963
|
sha256: artifact.sdk.sha256,
|
|
39955
39964
|
binding: artifact.sdk.binding.sha256,
|
|
39965
|
+
appLink: appLink && (0, import_node_crypto36.createHash)("sha256").update(appLink).digest("hex"),
|
|
39956
39966
|
liveSlots: (0, import_node_crypto36.createHash)("sha256").update(artifact.sdk.binding.liveSlots).digest("hex")
|
|
39957
39967
|
}
|
|
39958
39968
|
})
|
|
39959
39969
|
);
|
|
39960
39970
|
const outputs = ["app.wasm", "icu.gz"];
|
|
39961
39971
|
if (artifact.sdk) outputs.push("sdk-binding.bin", "sdk-live-slots.bin");
|
|
39972
|
+
if (appLink) outputs.push("app-link.json.gz");
|
|
39962
39973
|
for (const file of [...outputs, "artifact.json"]) {
|
|
39963
39974
|
(0, import_node_fs55.renameSync)(import_node_path56.default.join(pending2, file), import_node_path56.default.join(directory2, file));
|
|
39964
39975
|
}
|
|
@@ -42067,7 +42078,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
42067
42078
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
42068
42079
|
MULTI_MANIFEST_VERSION = 76;
|
|
42069
42080
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
42070
|
-
compilerSourceDigest = true ? "
|
|
42081
|
+
compilerSourceDigest = true ? "aa2c80ae02e17f7a07ebd0cb05cf91669146a0b396fa5b2e5521aaf165a4c5b5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
42071
42082
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
42072
42083
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
42073
42084
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -107017,7 +107028,7 @@ var init_nitro_superset = __esm({
|
|
|
107017
107028
|
init_nitroContract();
|
|
107018
107029
|
init_swift_standin_digest();
|
|
107019
107030
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
107020
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
107031
|
+
NITRO_COMPILER_DIGEST = true ? "c14f752670befd0891ce2059c92b2fba93ccfdaf292d8fff52d60ffe15b534d7" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
107021
107032
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
107022
107033
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
107023
107034
|
published = /* @__PURE__ */ new Map();
|
|
@@ -107721,7 +107732,7 @@ var init_expo_eager_seam_contract = __esm({
|
|
|
107721
107732
|
|
|
107722
107733
|
// src/expo-native-compiler-digest.ts
|
|
107723
107734
|
function expoNativeCompilerDigestValue() {
|
|
107724
|
-
return true ? "
|
|
107735
|
+
return true ? "2343be5bac8d68bdb8a9f5b67bc7e34b8877b1406b85a261e50eb22bb542d668" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
107725
107736
|
}
|
|
107726
107737
|
var import_node_crypto81;
|
|
107727
107738
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
4
4
|
describeInvalidScreenCapture,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
rnxRasterFrames,
|
|
11
11
|
rnxRasterRegionRequests,
|
|
12
12
|
selectRnxRasterNodeIds
|
|
13
|
-
} from "./esm-chunks/chunk-
|
|
14
|
-
import "./esm-chunks/chunk-
|
|
13
|
+
} from "./esm-chunks/chunk-YRWDESSV.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
15
15
|
export {
|
|
16
16
|
RNX_SCREEN_CAPTURE_VERSION,
|
|
17
17
|
describeInvalidScreenCapture,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
AGENT_IDENTITY_MAX_CHARS,
|
|
4
4
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -31,8 +31,8 @@ import {
|
|
|
31
31
|
readRnxLaunchUrl,
|
|
32
32
|
rnxCloudCommandScope,
|
|
33
33
|
rnxCloudScopesAllowCommand
|
|
34
|
-
} from "./esm-chunks/chunk-
|
|
35
|
-
import "./esm-chunks/chunk-
|
|
34
|
+
} from "./esm-chunks/chunk-WDF6IPVE.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
36
36
|
export {
|
|
37
37
|
AGENT_IDENTITY_MAX_CHARS,
|
|
38
38
|
RNX_CLOUD_ALL_COMMAND_SCOPES,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./esm-chunks/chunk-
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
3
3
|
|
|
4
4
|
// src/cloud-test-args.ts
|
|
5
5
|
var CLOUD_TEST_ARGS_MAX_COUNT = 32;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
sleep
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-4I7X4Q2J.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRnxScreenCapture
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-YRWDESSV.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RNX_CLOUD_COMMAND_TYPES,
|
|
10
10
|
RNX_CLOUD_MAX_ARTIFACT_BYTES,
|
|
@@ -14,16 +14,16 @@ import {
|
|
|
14
14
|
isRnxCloudCommandType,
|
|
15
15
|
rnxCloudCommandScope,
|
|
16
16
|
rnxCloudScopesAllowCommand
|
|
17
|
-
} from "./esm-chunks/chunk-
|
|
17
|
+
} from "./esm-chunks/chunk-WDF6IPVE.mjs";
|
|
18
18
|
import {
|
|
19
19
|
rnxPublicBrand
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-7AYY6CRA.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isRecord
|
|
23
|
-
} from "./esm-chunks/chunk-
|
|
23
|
+
} from "./esm-chunks/chunk-OPZ7RERJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__publicField
|
|
26
|
-
} from "./esm-chunks/chunk-
|
|
26
|
+
} from "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
27
27
|
|
|
28
28
|
// src/backend-origin.ts
|
|
29
29
|
var NativeURL = globalThis.URL;
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/config.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isValidRuntimeVersion
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-BGIRP6DM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-WYO5PEXM.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
11
|
-
import "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-OPZ7RERJ.mjs";
|
|
11
|
+
import "./esm-chunks/chunk-HC4WSOMH.mjs";
|
|
12
12
|
|
|
13
13
|
// src/nativeViewSourceContract.ts
|
|
14
14
|
function isNativeViewSource(value) {
|
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -9718,8 +9718,12 @@ var device = {
|
|
|
9718
9718
|
),
|
|
9719
9719
|
99.9
|
|
9720
9720
|
);
|
|
9721
|
+
const presentationFrames = DETOX_PLATFORM === "ios" && nativeCheckpoint && nativeRecord && !options.anchorAtTouch && !options.producerWitness && !options.hold && !options.witnessedInput ? proofObserver.nativePresentationFrames?.(nativeCheckpoint, nativeRecord) : null;
|
|
9721
9722
|
const pairedStages = stages.map((stage) => {
|
|
9722
9723
|
if (DETOX_PLATFORM !== "ios") return stage;
|
|
9724
|
+
const nativePresentationIndex = presentationFrames?.get(stage.label);
|
|
9725
|
+
if (nativePresentationIndex !== void 0)
|
|
9726
|
+
return { ...stage, nativePresentationIndex };
|
|
9723
9727
|
const { nativeActualMs: _nativeActualMs, ...rest } = stage;
|
|
9724
9728
|
const nativeStage = nativeStages.find((native) => native.label === stage.label);
|
|
9725
9729
|
const mediaActualMs = storedTransition ? stage.nativeActualMs : nativeStage?.mediaActualMs;
|
|
@@ -9734,7 +9738,7 @@ var device = {
|
|
|
9734
9738
|
});
|
|
9735
9739
|
const progressStageIndex = DETOX_PLATFORM === "ios" || pairedStages.some((stage) => stage.nativeActualMs !== void 0) ? -1 : pairedStages.findIndex(isProgressStage);
|
|
9736
9740
|
const nativeBaselineLabel = nativeStages[0]?.label;
|
|
9737
|
-
const phaseStageIndex = DETOX_PLATFORM === "ios" && !options.anchorAtTouch && !options.producerWitness && !options.hold && !options.witnessedInput ? pairedStages.findIndex(
|
|
9741
|
+
const phaseStageIndex = DETOX_PLATFORM === "ios" && !options.anchorAtTouch && !options.producerWitness && !options.hold && !options.witnessedInput && !presentationFrames?.size ? pairedStages.findIndex(
|
|
9738
9742
|
(stage) => stage.offsetMs > 0 && stage.nativeActualMs !== void 0 && !stage.anchor
|
|
9739
9743
|
) : -1;
|
|
9740
9744
|
const capturePromise = page.evaluate(
|
|
@@ -10364,6 +10368,29 @@ var device = {
|
|
|
10364
10368
|
anchorId,
|
|
10365
10369
|
stage.nativeActualMs
|
|
10366
10370
|
);
|
|
10371
|
+
if (stage.nativePresentationIndex !== void 0) {
|
|
10372
|
+
const frameIndex = anchorReceipt.frameIndex + stage.nativePresentationIndex;
|
|
10373
|
+
if (frameIndex < currentReceipt.frameIndex)
|
|
10374
|
+
throw new Error(
|
|
10375
|
+
`native presentation stage ${stage.label} precedes the Peach clock`
|
|
10376
|
+
);
|
|
10377
|
+
while (currentReceipt.frameIndex < frameIndex) {
|
|
10378
|
+
if (state.cancelled) throw new Error("peach motion capture was cancelled");
|
|
10379
|
+
currentReceipt = await controller.stepFrame(void 0, {
|
|
10380
|
+
composite: currentReceipt.frameIndex + 1 === frameIndex
|
|
10381
|
+
});
|
|
10382
|
+
}
|
|
10383
|
+
snapshots.push({
|
|
10384
|
+
actualMs: currentReceipt.virtualTimestampMs - anchorReceipt.virtualTimestampMs,
|
|
10385
|
+
anchorId,
|
|
10386
|
+
bitmap: await captureBitmap(),
|
|
10387
|
+
frameIndex,
|
|
10388
|
+
label: stage.label,
|
|
10389
|
+
offsetMs: stage.offsetMs,
|
|
10390
|
+
virtualTimestampMs: currentReceipt.virtualTimestampMs
|
|
10391
|
+
});
|
|
10392
|
+
continue;
|
|
10393
|
+
}
|
|
10367
10394
|
if (typeof stage.nativeActualMs === "number") {
|
|
10368
10395
|
if (input.anchorAtTouch === "down" && stage.offsetMs === 0 && (stage.nativeActualMs < 0 && stage.nativeActualMs >= -1e3 / 60 || input.witnessedInput && stage.nativeTouchesShown === 0)) {
|
|
10369
10396
|
const baselineFrame = keptFrames.get(anchorReceipt.frameIndex);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
Node,
|
|
4
4
|
Parser,
|
|
@@ -22,8 +22,8 @@ import {
|
|
|
22
22
|
types,
|
|
23
23
|
types$1,
|
|
24
24
|
version
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-SQLNV5Z5.mjs";
|
|
26
|
+
import "./chunk-HC4WSOMH.mjs";
|
|
27
27
|
export {
|
|
28
28
|
Node,
|
|
29
29
|
Parser,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2763 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_CACHE_HOLD_MARKER,
|
|
4
4
|
SWIFT_WASM_TRIPLE,
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
terminateProcessGroup,
|
|
13
13
|
wasmThreadFlags,
|
|
14
14
|
windowAdmission
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-AJOX5HGX.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isSwiftResourcePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RP3ICLF6.mjs";
|
|
19
19
|
import {
|
|
20
20
|
swiftManifestDeclarations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-AL7BIGLA.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OPZ7RERJ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-HC4WSOMH.mjs";
|
|
28
28
|
|
|
29
29
|
// src/write-build-file.ts
|
|
30
30
|
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|