peachsim 0.1.2510 → 0.1.2511
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/cli/commands/inspect/settling.ts +26 -17
- 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 +1 -1
- 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 +27 -18
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-5GNPGJJ2.mjs → acorn-25Q6S7TI.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-LLOPHPWT.mjs → chunk-2EG4OKDO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UYS6YNRO.mjs → chunk-5AOZLR5E.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7QO2MIBY.mjs → chunk-6GILT5KH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-G6LS2WMK.mjs → chunk-74TKM37F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZVNT7CPL.mjs → chunk-A4WJEHG2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DCNKOKAI.mjs → chunk-BNLSMSRL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-G7UN6TZA.mjs → chunk-GRSUY7OA.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-R7IK2JJT.mjs → chunk-JDM5BEMQ.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-V5HJGHG5.mjs → chunk-KRA27ROD.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-RO5ZZZEU.mjs → chunk-L6NGUIIM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4TSKLDJR.mjs → chunk-LBJ6QA2K.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-LVFDXNPS.mjs → chunk-NJVIFVJN.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-AY2WXDE5.mjs → chunk-Q2TBUK4Z.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CDH2XR5T.mjs → chunk-QTDHJY26.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WMM3MTQN.mjs → chunk-QY6Q4P44.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-L2EUJLAG.mjs → chunk-U4NHITOS.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-2IMNF4ZF.mjs → chunk-UAWNO2TI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FITA3YYJ.mjs → chunk-VE272UD3.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-22ZJCDSM.mjs → chunk-VVZWRDC6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LON4XQ7Z.mjs → chunk-XLCCWJMH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-A44WVDNN.mjs → chunk-YS2ATIVG.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-BBDYDSHB.mjs → metro-layout-parser-57CHGRZJ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-CO2DTJAU.mjs → swift-package-prebuilt-QKVIRUT3.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-ZCKFOM6H.mjs → swift-sdk-app-module-FW6RBCBH.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-2JSVSBHD.mjs → swift-sdk-image-2AJBS6V5.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-FUXX3FNQ.mjs → swift-sdk-image-producer-XF7PDT2N.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- 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 +1 -1
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +27 -18
- 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 +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- 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 +27 -18
- package/dist-lib/sdk.mjs +33 -24
- package/dist-lib/skills.cjs +27 -18
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +10 -10
- 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 +5 -5
- 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/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.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-image-pipeline.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-widget-host.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-wire-protocol.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
|
@@ -264,6 +264,7 @@ export async function waitForSootsimIdle({
|
|
|
264
264
|
const strict = ${strict ? 'true' : 'false'}
|
|
265
265
|
const screenStill = ${screenStill ? 'true' : 'false'}
|
|
266
266
|
const maestro = ${maestro ? 'true' : 'false'}
|
|
267
|
+
const maestroScreenDeadline = start + 3000
|
|
267
268
|
const accessibilityBounds = ${accessibilityBounds.toString()}
|
|
268
269
|
const sameNativeAccessibilityShape = ${sameNativeAccessibilityShape.toString()}
|
|
269
270
|
const readyPlayback = ${readyPlayback ? 'true' : 'false'}
|
|
@@ -322,7 +323,7 @@ export async function waitForSootsimIdle({
|
|
|
322
323
|
),
|
|
323
324
|
])
|
|
324
325
|
|
|
325
|
-
const readSnapshot = async () => {
|
|
326
|
+
const readSnapshot = async (maestroHierarchyPhase) => {
|
|
326
327
|
let animating = false
|
|
327
328
|
let animatingBy = ''
|
|
328
329
|
let layoutDirty = false
|
|
@@ -509,8 +510,8 @@ export async function waitForSootsimIdle({
|
|
|
509
510
|
if (total === BUSY) workerBusy = true
|
|
510
511
|
nodeCount = typeof total === 'number' ? total : null
|
|
511
512
|
const accessibility = maestro && !workerBusy && pendingFetches === 0 &&
|
|
512
|
-
!webViewStarting && !
|
|
513
|
-
!
|
|
513
|
+
!webViewStarting && !layoutDirty &&
|
|
514
|
+
(maestroHierarchyPhase || (!animating && !shellAnimating))
|
|
514
515
|
? await answer(() => globalThis.__sootsimTest.captureAccessibilityTree()).catch(() => null)
|
|
515
516
|
: null
|
|
516
517
|
const nativeHierarchy = Array.isArray(accessibility) && accessibility.length > 0
|
|
@@ -616,6 +617,7 @@ export async function waitForSootsimIdle({
|
|
|
616
617
|
// only within this grace once the screen is visually still.
|
|
617
618
|
const networkQuietGraceMs = 1200
|
|
618
619
|
let lastNativeHierarchy = null
|
|
620
|
+
let nativeHierarchyStillSince = null
|
|
619
621
|
let lastLayout = ''
|
|
620
622
|
let lastNodeRows = []
|
|
621
623
|
// what moved between the last two differing polls, bounded; names the
|
|
@@ -670,10 +672,11 @@ export async function waitForSootsimIdle({
|
|
|
670
672
|
if (clockNow() >= deadline) break
|
|
671
673
|
}
|
|
672
674
|
const pollStarted = clockNow()
|
|
675
|
+
const maestroHierarchyPhase = maestro && pollStarted >= maestroScreenDeadline
|
|
673
676
|
const readRevision = () =>
|
|
674
677
|
answer(() => globalThis.__sootsimTest?.getGeometryRevision?.()).catch(() => null)
|
|
675
678
|
const pollRevision = readRevision()
|
|
676
|
-
const snapshot = await readSnapshot()
|
|
679
|
+
const snapshot = await readSnapshot(maestroHierarchyPhase)
|
|
677
680
|
if (snapshot.runtimeUnsupported) return snapshot.runtimeUnsupported
|
|
678
681
|
// a read the deadline cut short observed nothing: the last full poll
|
|
679
682
|
// names what held the settle, not a worker that ran out of budget.
|
|
@@ -701,13 +704,14 @@ export async function waitForSootsimIdle({
|
|
|
701
704
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
702
705
|
}
|
|
703
706
|
// the first poll has nothing to compare, so it cannot prove a still screen
|
|
707
|
+
const sameHierarchy = maestro && hierarchyUnchanged(snapshot.nativeHierarchy, lastNativeHierarchy)
|
|
704
708
|
const screenChanged = screenStill && (
|
|
705
709
|
polls === 1 ||
|
|
706
710
|
snapshot.visibleMotion ||
|
|
707
711
|
(snapshot.appCommits !== null && lastAppCommits !== null && snapshot.appCommits !== lastAppCommits) ||
|
|
708
712
|
(snapshot.nodeCount !== null && lastNodeCount !== null && snapshot.nodeCount !== lastNodeCount) ||
|
|
709
713
|
snapshot.layout !== lastLayout ||
|
|
710
|
-
(maestro && !
|
|
714
|
+
(maestro && !sameHierarchy)
|
|
711
715
|
)
|
|
712
716
|
if (polls > 1 && screenChanged) screenChangedPolls++
|
|
713
717
|
const strictOk =
|
|
@@ -719,18 +723,23 @@ export async function waitForSootsimIdle({
|
|
|
719
723
|
// visually settled: no worker motion or layout work, no new layout
|
|
720
724
|
// commits, a stable mounted node count, no image content loading
|
|
721
725
|
// (unless motion alone is asked), no webview startup in progress,
|
|
722
|
-
// layout unchanged since the last poll.
|
|
723
|
-
//
|
|
724
|
-
//
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
726
|
+
// layout unchanged since the last poll. strict also requires the
|
|
727
|
+
// blocking-stats fields. unavailable counts or commit readings are
|
|
728
|
+
// left out of the comparison.
|
|
729
|
+
const maestroInspectable = !snapshot.workerBusy && snapshot.pendingFetches === 0 &&
|
|
730
|
+
!snapshot.webViewStarting && !snapshot.layoutDirty
|
|
731
|
+
if (maestroHierarchyPhase && maestroInspectable && snapshot.nativeHierarchy !== null) {
|
|
732
|
+
if (!sameHierarchy || nativeHierarchyStillSince === null ||
|
|
733
|
+
(transitionEndedAt !== null && nativeHierarchyStillSince < transitionEndedAt)) {
|
|
734
|
+
nativeHierarchyStillSince = pollStarted
|
|
735
|
+
}
|
|
736
|
+
} else {
|
|
737
|
+
nativeHierarchyStillSince = null
|
|
738
|
+
}
|
|
739
|
+
// maestro's hierarchy phase checks semantic stillness while pixels can keep moving.
|
|
740
|
+
const maestroStill = maestroInspectable && (
|
|
741
|
+
(!snapshot.animating && !snapshot.shellAnimating && !screenChanged) ||
|
|
742
|
+
(nativeHierarchyStillSince !== null && pollStarted - nativeHierarchyStillSince >= 200)
|
|
734
743
|
)
|
|
735
744
|
const idleSnapshot =
|
|
736
745
|
strictOk &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2511 | (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.2511 | (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.2511 | (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.2511 | (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.2511 | (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.2511 | (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.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (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.2511 | (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-JDM5BEMQ.mjs";
|
|
21
|
+
import "./esm-chunks/chunk-YS2ATIVG.mjs";
|
|
22
|
+
import "./esm-chunks/chunk-BNLSMSRL.mjs";
|
|
23
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (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-YS2ATIVG.mjs";
|
|
17
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (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.2511 | (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-A4WJEHG2.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (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-L6NGUIIM.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
sleep
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-6GILT5KH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRnxScreenCapture
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-A4WJEHG2.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-L6NGUIIM.mjs";
|
|
18
18
|
import {
|
|
19
19
|
rnxPublicBrand
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-GRSUY7OA.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isRecord
|
|
23
|
-
} from "./esm-chunks/chunk-
|
|
23
|
+
} from "./esm-chunks/chunk-BNLSMSRL.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__publicField
|
|
26
|
-
} from "./esm-chunks/chunk-
|
|
26
|
+
} from "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isValidRuntimeVersion
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-XLCCWJMH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-UAWNO2TI.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
11
|
-
import "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-BNLSMSRL.mjs";
|
|
11
|
+
import "./esm-chunks/chunk-2EG4OKDO.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.2511 | (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;
|
|
@@ -1760,6 +1760,7 @@ async function waitForSootsimIdle({
|
|
|
1760
1760
|
const strict = ${strict ? "true" : "false"}
|
|
1761
1761
|
const screenStill = ${screenStill ? "true" : "false"}
|
|
1762
1762
|
const maestro = ${maestro ? "true" : "false"}
|
|
1763
|
+
const maestroScreenDeadline = start + 3000
|
|
1763
1764
|
const accessibilityBounds = ${accessibilityBounds.toString()}
|
|
1764
1765
|
const sameNativeAccessibilityShape = ${sameNativeAccessibilityShape.toString()}
|
|
1765
1766
|
const readyPlayback = ${readyPlayback ? "true" : "false"}
|
|
@@ -1818,7 +1819,7 @@ async function waitForSootsimIdle({
|
|
|
1818
1819
|
),
|
|
1819
1820
|
])
|
|
1820
1821
|
|
|
1821
|
-
const readSnapshot = async () => {
|
|
1822
|
+
const readSnapshot = async (maestroHierarchyPhase) => {
|
|
1822
1823
|
let animating = false
|
|
1823
1824
|
let animatingBy = ''
|
|
1824
1825
|
let layoutDirty = false
|
|
@@ -2005,8 +2006,8 @@ async function waitForSootsimIdle({
|
|
|
2005
2006
|
if (total === BUSY) workerBusy = true
|
|
2006
2007
|
nodeCount = typeof total === 'number' ? total : null
|
|
2007
2008
|
const accessibility = maestro && !workerBusy && pendingFetches === 0 &&
|
|
2008
|
-
!webViewStarting && !
|
|
2009
|
-
!
|
|
2009
|
+
!webViewStarting && !layoutDirty &&
|
|
2010
|
+
(maestroHierarchyPhase || (!animating && !shellAnimating))
|
|
2010
2011
|
? await answer(() => globalThis.__sootsimTest.captureAccessibilityTree()).catch(() => null)
|
|
2011
2012
|
: null
|
|
2012
2013
|
const nativeHierarchy = Array.isArray(accessibility) && accessibility.length > 0
|
|
@@ -2112,6 +2113,7 @@ async function waitForSootsimIdle({
|
|
|
2112
2113
|
// only within this grace once the screen is visually still.
|
|
2113
2114
|
const networkQuietGraceMs = 1200
|
|
2114
2115
|
let lastNativeHierarchy = null
|
|
2116
|
+
let nativeHierarchyStillSince = null
|
|
2115
2117
|
let lastLayout = ''
|
|
2116
2118
|
let lastNodeRows = []
|
|
2117
2119
|
// what moved between the last two differing polls, bounded; names the
|
|
@@ -2166,10 +2168,11 @@ async function waitForSootsimIdle({
|
|
|
2166
2168
|
if (clockNow() >= deadline) break
|
|
2167
2169
|
}
|
|
2168
2170
|
const pollStarted = clockNow()
|
|
2171
|
+
const maestroHierarchyPhase = maestro && pollStarted >= maestroScreenDeadline
|
|
2169
2172
|
const readRevision = () =>
|
|
2170
2173
|
answer(() => globalThis.__sootsimTest?.getGeometryRevision?.()).catch(() => null)
|
|
2171
2174
|
const pollRevision = readRevision()
|
|
2172
|
-
const snapshot = await readSnapshot()
|
|
2175
|
+
const snapshot = await readSnapshot(maestroHierarchyPhase)
|
|
2173
2176
|
if (snapshot.runtimeUnsupported) return snapshot.runtimeUnsupported
|
|
2174
2177
|
// a read the deadline cut short observed nothing: the last full poll
|
|
2175
2178
|
// names what held the settle, not a worker that ran out of budget.
|
|
@@ -2197,13 +2200,14 @@ async function waitForSootsimIdle({
|
|
|
2197
2200
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
2198
2201
|
}
|
|
2199
2202
|
// the first poll has nothing to compare, so it cannot prove a still screen
|
|
2203
|
+
const sameHierarchy = maestro && hierarchyUnchanged(snapshot.nativeHierarchy, lastNativeHierarchy)
|
|
2200
2204
|
const screenChanged = screenStill && (
|
|
2201
2205
|
polls === 1 ||
|
|
2202
2206
|
snapshot.visibleMotion ||
|
|
2203
2207
|
(snapshot.appCommits !== null && lastAppCommits !== null && snapshot.appCommits !== lastAppCommits) ||
|
|
2204
2208
|
(snapshot.nodeCount !== null && lastNodeCount !== null && snapshot.nodeCount !== lastNodeCount) ||
|
|
2205
2209
|
snapshot.layout !== lastLayout ||
|
|
2206
|
-
(maestro && !
|
|
2210
|
+
(maestro && !sameHierarchy)
|
|
2207
2211
|
)
|
|
2208
2212
|
if (polls > 1 && screenChanged) screenChangedPolls++
|
|
2209
2213
|
const strictOk =
|
|
@@ -2215,18 +2219,23 @@ async function waitForSootsimIdle({
|
|
|
2215
2219
|
// visually settled: no worker motion or layout work, no new layout
|
|
2216
2220
|
// commits, a stable mounted node count, no image content loading
|
|
2217
2221
|
// (unless motion alone is asked), no webview startup in progress,
|
|
2218
|
-
// layout unchanged since the last poll.
|
|
2219
|
-
//
|
|
2220
|
-
//
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2222
|
+
// layout unchanged since the last poll. strict also requires the
|
|
2223
|
+
// blocking-stats fields. unavailable counts or commit readings are
|
|
2224
|
+
// left out of the comparison.
|
|
2225
|
+
const maestroInspectable = !snapshot.workerBusy && snapshot.pendingFetches === 0 &&
|
|
2226
|
+
!snapshot.webViewStarting && !snapshot.layoutDirty
|
|
2227
|
+
if (maestroHierarchyPhase && maestroInspectable && snapshot.nativeHierarchy !== null) {
|
|
2228
|
+
if (!sameHierarchy || nativeHierarchyStillSince === null ||
|
|
2229
|
+
(transitionEndedAt !== null && nativeHierarchyStillSince < transitionEndedAt)) {
|
|
2230
|
+
nativeHierarchyStillSince = pollStarted
|
|
2231
|
+
}
|
|
2232
|
+
} else {
|
|
2233
|
+
nativeHierarchyStillSince = null
|
|
2234
|
+
}
|
|
2235
|
+
// maestro's hierarchy phase checks semantic stillness while pixels can keep moving.
|
|
2236
|
+
const maestroStill = maestroInspectable && (
|
|
2237
|
+
(!snapshot.animating && !snapshot.shellAnimating && !screenChanged) ||
|
|
2238
|
+
(nativeHierarchyStillSince !== null && pollStarted - nativeHierarchyStillSince >= 200)
|
|
2230
2239
|
)
|
|
2231
2240
|
const idleSnapshot =
|
|
2232
2241
|
strictOk &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2511 | (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.2511 | (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-Q2TBUK4Z.mjs";
|
|
26
|
+
import "./chunk-2EG4OKDO.mjs";
|
|
27
27
|
export {
|
|
28
28
|
Node,
|
|
29
29
|
Parser,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YS2ATIVG.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BNLSMSRL.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2511 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5AOZLR5E.mjs";
|
|
6
6
|
import {
|
|
7
7
|
parseSwiftDistributionLock,
|
|
8
8
|
readActiveRuntime,
|
|
9
9
|
runtimeDir,
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftModuleSdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QY6Q4P44.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QTDHJY26.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-BNLSMSRL.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|