peachsim 0.1.2539 → 0.1.2550
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 +32 -28
- 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 +24 -7
- 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 +34 -30
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-5WNGVKAO.mjs → acorn-2IHYKATS.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YYW22VHX.mjs → chunk-2RR5PIZK.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VOAPRY6S.mjs → chunk-47AK4Z5F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NIUWMBBQ.mjs → chunk-7I4EEYJK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KFB7KBK2.mjs → chunk-7UXSDV6V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBTJK2R3.mjs → chunk-ABZXVU5F.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-7K3LYYDH.mjs → chunk-BW2YWHUH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-45QYUIG4.mjs → chunk-DEZQSTBX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QOV4VQAP.mjs → chunk-DEZVY7KM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BKDSWBR3.mjs → chunk-FPEVLXLM.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-QKZHZ2GW.mjs → chunk-IAXVQGJX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SW5BT4OK.mjs → chunk-IC2PCUHM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-J5P24DJO.mjs → chunk-N42MJCYL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MAR4ZXOK.mjs → chunk-N7LS7D7G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RAVJIEAN.mjs → chunk-OYAT4MBE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HNO52ELL.mjs → chunk-UJCFXHNJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AKI4GT3Y.mjs → chunk-UW4NEKSF.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-RLF3UUZH.mjs → chunk-UWN7GVKH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2FUSNOED.mjs → chunk-VPBYBLDP.mjs} +31 -14
- package/dist-lib/esm-chunks/{chunk-IEYZS4X6.mjs → chunk-XLYOIGID.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H35GKHLJ.mjs → chunk-XTNM7WC3.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-P5P7U2GO.mjs → chunk-ZGW3WDUC.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-JNYKXW6Q.mjs → metro-layout-parser-O3WRDGIK.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-NYCATRAM.mjs → swift-package-prebuilt-RUCLCAIJ.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-23LXTJ7Q.mjs → swift-sdk-app-module-Y7NSCAHC.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-WZHY4CDZ.mjs → swift-sdk-image-FLDE3QEC.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-BPOWYSJJ.mjs → swift-sdk-image-producer-AHJPQDQO.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +22 -5
- 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 +24 -7
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- 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 +33 -29
- 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 +2 -2
- 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 +33 -29
- package/dist-lib/sdk.mjs +39 -35
- package/dist-lib/skills.cjs +56 -35
- package/dist-lib/swift-compile.cjs +20 -3
- 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/node.d.ts +3 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/sfSymbolMetricsContract.ts +57 -15
- package/src/swift-wasm-prune.ts +21 -1
|
@@ -378,31 +378,6 @@ export async function waitForSootsimIdle({
|
|
|
378
378
|
// the compositor rejects a stats request it is too busy to answer.
|
|
379
379
|
const compositorRead = answer(() => globalThis.__sootsimCompositor.getStats({ detail: 'readiness' })).catch(() => BUSY)
|
|
380
380
|
const countsRead = answer(() => globalThis.__sootsimTest?.getRequestCounts?.()).catch(() => null)
|
|
381
|
-
// the mounted hierarchy in render-worker mode comes from the test
|
|
382
|
-
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
383
|
-
// walk over it hashes every screen to the same empty string while
|
|
384
|
-
// it moves. listInspectable is the worker-backed read describe
|
|
385
|
-
// uses; a worker too busy to answer it reads as unsettled. tight
|
|
386
|
-
// budgets skip this read and settle on the cheaper signals above.
|
|
387
|
-
// it walks every node, so a poll whose geometry revision matches the
|
|
388
|
-
// last read, in this wait or an earlier one, reuses that read.
|
|
389
|
-
const hierarchyRead =
|
|
390
|
-
fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
391
|
-
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
392
|
-
.catch(() => null)
|
|
393
|
-
.then((revision) => {
|
|
394
|
-
if (revision === BUSY) return BUSY
|
|
395
|
-
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
396
|
-
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
397
|
-
.catch(() => null)
|
|
398
|
-
.then((hierarchy) => {
|
|
399
|
-
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
400
|
-
geometry.revision = kept ? revision : null
|
|
401
|
-
geometry.hierarchy = kept ? hierarchy : null
|
|
402
|
-
return hierarchy
|
|
403
|
-
})
|
|
404
|
-
})
|
|
405
|
-
: null
|
|
406
381
|
if (motionRead) {
|
|
407
382
|
const motion = await motionRead
|
|
408
383
|
if (motion === BUSY) workerBusy = true
|
|
@@ -497,6 +472,31 @@ export async function waitForSootsimIdle({
|
|
|
497
472
|
const nodeCountRead = motionStill
|
|
498
473
|
? answer(() => globalThis.__sootsimTest?.getWindowNodeCount?.()).catch(() => null)
|
|
499
474
|
: null
|
|
475
|
+
// the mounted hierarchy in render-worker mode comes from the test
|
|
476
|
+
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
477
|
+
// walk over it hashes every screen to the same empty string while
|
|
478
|
+
// it moves. listInspectable walks every visible node and serializes
|
|
479
|
+
// styles, so skip it while motion is still active (the poll already
|
|
480
|
+
// fails on animating/layoutDirty) and reuse the last read whenever the
|
|
481
|
+
// geometry revision matches.
|
|
482
|
+
const hasInspectable = fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
483
|
+
const hierarchyRead =
|
|
484
|
+
motionStill && hasInspectable
|
|
485
|
+
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
486
|
+
.catch(() => null)
|
|
487
|
+
.then((revision) => {
|
|
488
|
+
if (revision === BUSY) return BUSY
|
|
489
|
+
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
490
|
+
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
491
|
+
.catch(() => null)
|
|
492
|
+
.then((hierarchy) => {
|
|
493
|
+
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
494
|
+
geometry.revision = kept ? revision : null
|
|
495
|
+
geometry.hierarchy = kept ? hierarchy : null
|
|
496
|
+
return hierarchy
|
|
497
|
+
})
|
|
498
|
+
})
|
|
499
|
+
: null
|
|
500
500
|
const compositor = await compositorRead
|
|
501
501
|
if (compositor === BUSY) {
|
|
502
502
|
workerBusy = true
|
|
@@ -535,6 +535,9 @@ export async function waitForSootsimIdle({
|
|
|
535
535
|
? accessibility
|
|
536
536
|
: null
|
|
537
537
|
if (accessibility === BUSY) workerBusy = true
|
|
538
|
+
if (!motionStill && hasInspectable) {
|
|
539
|
+
return { layout: lastLayout, nodeRows: lastNodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
540
|
+
}
|
|
538
541
|
let hierarchy = hierarchyRead ? await hierarchyRead : null
|
|
539
542
|
if (hierarchy === BUSY) {
|
|
540
543
|
workerBusy = true
|
|
@@ -635,7 +638,7 @@ export async function waitForSootsimIdle({
|
|
|
635
638
|
const networkQuietGraceMs = 1200
|
|
636
639
|
let lastNativeHierarchy = null
|
|
637
640
|
let nativeHierarchyStillSince = null
|
|
638
|
-
let lastLayout =
|
|
641
|
+
let lastLayout = null
|
|
639
642
|
let lastNodeRows = []
|
|
640
643
|
// what moved between the last two differing polls, bounded; names the
|
|
641
644
|
// nodes behind "layout changed" without keeping any poll history.
|
|
@@ -716,7 +719,7 @@ export async function waitForSootsimIdle({
|
|
|
716
719
|
if (snapshot.layoutDirty) dirtyPolls++
|
|
717
720
|
if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
|
|
718
721
|
if (snapshot.webViewStarting) webViewStartingPolls++
|
|
719
|
-
if (polls > 1 && snapshot.layout !== lastLayout) {
|
|
722
|
+
if (polls > 1 && lastLayout !== null && snapshot.layout !== lastLayout) {
|
|
720
723
|
layoutChangedPolls++
|
|
721
724
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
722
725
|
}
|
|
@@ -771,6 +774,7 @@ export async function waitForSootsimIdle({
|
|
|
771
774
|
(snapshot.appCommits === null || lastAppCommits === null || snapshot.appCommits === lastAppCommits) &&
|
|
772
775
|
(snapshot.nodeCount === null || lastNodeCount === null || snapshot.nodeCount === lastNodeCount) &&
|
|
773
776
|
!screenChanged &&
|
|
777
|
+
snapshot.layout !== null &&
|
|
774
778
|
snapshot.layout === lastLayout
|
|
775
779
|
// generic network quiet: nothing in flight and no new requests issued.
|
|
776
780
|
const networkQuiet =
|
|
@@ -838,7 +842,7 @@ export async function waitForSootsimIdle({
|
|
|
838
842
|
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
839
843
|
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
840
844
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
841
|
-
if (!maestro && polls > 1 && last.layout !== report.layout) blockers.push('layout still changing')
|
|
845
|
+
if (!maestro && polls > 1 && last.layout !== null && report.layout !== null && last.layout !== report.layout) blockers.push('layout still changing')
|
|
842
846
|
if (maestro && (last.nativeHierarchy === null || (polls > 1 && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)))) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
843
847
|
if (screenStill && last.visibleMotion) blockers.push('visible motion continues (' + last.visibleMotionBy + ')')
|
|
844
848
|
if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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.2550 | (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.2550 | (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.2550 | (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.2550 | (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.2550 | (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.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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.2550 | (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.2550 | (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-FPEVLXLM.mjs";
|
|
21
|
+
import "./esm-chunks/chunk-7UXSDV6V.mjs";
|
|
22
|
+
import "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
23
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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.2550 | (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-7UXSDV6V.mjs";
|
|
17
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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;
|
|
@@ -1297,7 +1297,7 @@ var init_src = __esm({
|
|
|
1297
1297
|
var runtime_companion_default;
|
|
1298
1298
|
var init_runtime_companion = __esm({
|
|
1299
1299
|
"runtime-companion.json"() {
|
|
1300
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
1300
|
+
runtime_companion_default = { abi: 1, sha256: "9cbbe501179072eed2cf4df524cf50d8be698a15d01ccf70a81b0dc72704d180", file: "node/cli-9cbbe501179072eed2cf4df524cf50d8be698a15d01ccf70a81b0dc72704d180.cjs" };
|
|
1301
1301
|
}
|
|
1302
1302
|
});
|
|
1303
1303
|
|
|
@@ -26286,16 +26286,30 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
26286
26286
|
if (archiveOverlapsDist(archive)) supersededLibFlags.add(t);
|
|
26287
26287
|
}
|
|
26288
26288
|
const leftoverArchiveFiles = [];
|
|
26289
|
+
const leftoverArchiveOrigins = /* @__PURE__ */ new Map();
|
|
26289
26290
|
const writtenLeftovers = /* @__PURE__ */ new Set();
|
|
26290
26291
|
const writeArchiveLeftovers = (archive) => {
|
|
26291
26292
|
if (!import_node_fs29.default.existsSync(archive) || archive.endsWith("libclang_rt.builtins-wasm64.a"))
|
|
26292
26293
|
return;
|
|
26294
|
+
const archivePath = import_node_path28.default.join(
|
|
26295
|
+
import_node_fs29.default.realpathSync(import_node_path28.default.dirname(archive)),
|
|
26296
|
+
import_node_path28.default.basename(archive)
|
|
26297
|
+
);
|
|
26298
|
+
const ordinals = /* @__PURE__ */ new Map();
|
|
26293
26299
|
for (const m of readArMembers(new Uint8Array(import_node_fs29.default.readFileSync(archive)))) {
|
|
26300
|
+
const ordinal = (ordinals.get(m.name) ?? 0) + 1;
|
|
26301
|
+
ordinals.set(m.name, ordinal);
|
|
26294
26302
|
if (distBaseNames.has(m.name) || writtenLeftovers.has(m.name)) continue;
|
|
26295
26303
|
writtenLeftovers.add(m.name);
|
|
26296
26304
|
const out = import_node_path28.default.join(prunedObjsDir, m.name);
|
|
26297
26305
|
import_node_fs29.default.writeFileSync(out, m.bytes);
|
|
26298
26306
|
leftoverArchiveFiles.push(out);
|
|
26307
|
+
leftoverArchiveOrigins.set(out, {
|
|
26308
|
+
archive: archivePath,
|
|
26309
|
+
member: m.name,
|
|
26310
|
+
ordinal,
|
|
26311
|
+
original: out
|
|
26312
|
+
});
|
|
26299
26313
|
const object7 = parseWasmObjectBytes(`${archive}(${m.name})`, m.bytes, false);
|
|
26300
26314
|
extraArchiveObjs.push(object7);
|
|
26301
26315
|
objectBytes.set(object7, Buffer.from(m.bytes));
|
|
@@ -27265,7 +27279,10 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
27265
27279
|
const sdk2 = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
|
|
27266
27280
|
link(outTokens, prunedMap, {
|
|
27267
27281
|
...sdk2,
|
|
27268
|
-
objectOrigins:
|
|
27282
|
+
objectOrigins: new Map([
|
|
27283
|
+
...swiftPrunedSdkObjectOrigins(sdk2, outTokens, prunedMap),
|
|
27284
|
+
...leftoverArchiveOrigins
|
|
27285
|
+
]),
|
|
27269
27286
|
transformations
|
|
27270
27287
|
});
|
|
27271
27288
|
} else
|
|
@@ -45128,7 +45145,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
45128
45145
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
45129
45146
|
MULTI_MANIFEST_VERSION = 76;
|
|
45130
45147
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
45131
|
-
compilerSourceDigest = true ? "
|
|
45148
|
+
compilerSourceDigest = true ? "e31a1c0904d4f195c0e99312de3a51b54c37f455d4cc6c09fe08fab0f25ce050" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
45132
45149
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
45133
45150
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
45134
45151
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -85563,7 +85580,7 @@ var init_swift_standin_digest = __esm({
|
|
|
85563
85580
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
85564
85581
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
85565
85582
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
85566
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
85583
|
+
STANDIN_SOURCE_DIGEST = true ? "8f5b71887c77cd6b3a6f30e6fd864a0a910792efd863806e1054498820a1cc25" : standinSourceDigest();
|
|
85567
85584
|
}
|
|
85568
85585
|
});
|
|
85569
85586
|
|
|
@@ -101729,7 +101746,7 @@ var init_nitro_superset = __esm({
|
|
|
101729
101746
|
init_nitroContract();
|
|
101730
101747
|
init_swift_standin_digest();
|
|
101731
101748
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
101732
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
101749
|
+
NITRO_COMPILER_DIGEST = true ? "2e614e76f2e7867e8e3043a1a8749fbd0537979df287b0a22579aeca9a4a2466" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
101733
101750
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
101734
101751
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
101735
101752
|
published = /* @__PURE__ */ new Map();
|
|
@@ -102596,7 +102613,7 @@ var init_expo_eager_seam_contract = __esm({
|
|
|
102596
102613
|
|
|
102597
102614
|
// src/expo-native-compiler-digest.ts
|
|
102598
102615
|
function expoNativeCompilerDigestValue() {
|
|
102599
|
-
return true ? "
|
|
102616
|
+
return true ? "a5dba3c9e760e73a07436babfd16e08388bbb385d7035756c4e685a2189af896" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
102600
102617
|
}
|
|
102601
102618
|
var import_node_crypto77;
|
|
102602
102619
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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.2550 | (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-XLYOIGID.mjs";
|
|
14
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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.2550 | (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-IAXVQGJX.mjs";
|
|
35
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
sleep
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-IC2PCUHM.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRnxScreenCapture
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-XLYOIGID.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-IAXVQGJX.mjs";
|
|
18
18
|
import {
|
|
19
19
|
rnxPublicBrand
|
|
20
|
-
} from "./esm-chunks/chunk-
|
|
20
|
+
} from "./esm-chunks/chunk-DEZVY7KM.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isRecord
|
|
23
|
-
} from "./esm-chunks/chunk-
|
|
23
|
+
} from "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
24
24
|
import {
|
|
25
25
|
__publicField
|
|
26
|
-
} from "./esm-chunks/chunk-
|
|
26
|
+
} from "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isValidRuntimeVersion
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-ZGW3WDUC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-N42MJCYL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./esm-chunks/chunk-
|
|
11
|
-
import "./esm-chunks/chunk-
|
|
10
|
+
} from "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
11
|
+
import "./esm-chunks/chunk-N7LS7D7G.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.2550 | (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;
|
|
@@ -1872,31 +1872,6 @@ async function waitForSootsimIdle({
|
|
|
1872
1872
|
// the compositor rejects a stats request it is too busy to answer.
|
|
1873
1873
|
const compositorRead = answer(() => globalThis.__sootsimCompositor.getStats({ detail: 'readiness' })).catch(() => BUSY)
|
|
1874
1874
|
const countsRead = answer(() => globalThis.__sootsimTest?.getRequestCounts?.()).catch(() => null)
|
|
1875
|
-
// the mounted hierarchy in render-worker mode comes from the test
|
|
1876
|
-
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
1877
|
-
// walk over it hashes every screen to the same empty string while
|
|
1878
|
-
// it moves. listInspectable is the worker-backed read describe
|
|
1879
|
-
// uses; a worker too busy to answer it reads as unsettled. tight
|
|
1880
|
-
// budgets skip this read and settle on the cheaper signals above.
|
|
1881
|
-
// it walks every node, so a poll whose geometry revision matches the
|
|
1882
|
-
// last read, in this wait or an earlier one, reuses that read.
|
|
1883
|
-
const hierarchyRead =
|
|
1884
|
-
fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
1885
|
-
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
1886
|
-
.catch(() => null)
|
|
1887
|
-
.then((revision) => {
|
|
1888
|
-
if (revision === BUSY) return BUSY
|
|
1889
|
-
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
1890
|
-
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
1891
|
-
.catch(() => null)
|
|
1892
|
-
.then((hierarchy) => {
|
|
1893
|
-
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
1894
|
-
geometry.revision = kept ? revision : null
|
|
1895
|
-
geometry.hierarchy = kept ? hierarchy : null
|
|
1896
|
-
return hierarchy
|
|
1897
|
-
})
|
|
1898
|
-
})
|
|
1899
|
-
: null
|
|
1900
1875
|
if (motionRead) {
|
|
1901
1876
|
const motion = await motionRead
|
|
1902
1877
|
if (motion === BUSY) workerBusy = true
|
|
@@ -1991,6 +1966,31 @@ async function waitForSootsimIdle({
|
|
|
1991
1966
|
const nodeCountRead = motionStill
|
|
1992
1967
|
? answer(() => globalThis.__sootsimTest?.getWindowNodeCount?.()).catch(() => null)
|
|
1993
1968
|
: null
|
|
1969
|
+
// the mounted hierarchy in render-worker mode comes from the test
|
|
1970
|
+
// bridge: globalThis.__sootsimRoot is an empty placeholder there, so a
|
|
1971
|
+
// walk over it hashes every screen to the same empty string while
|
|
1972
|
+
// it moves. listInspectable walks every visible node and serializes
|
|
1973
|
+
// styles, so skip it while motion is still active (the poll already
|
|
1974
|
+
// fails on animating/layoutDirty) and reuse the last read whenever the
|
|
1975
|
+
// geometry revision matches.
|
|
1976
|
+
const hasInspectable = fullGeometry && typeof globalThis.__sootsimTest?.listInspectable === 'function'
|
|
1977
|
+
const hierarchyRead =
|
|
1978
|
+
motionStill && hasInspectable
|
|
1979
|
+
? answer(() => globalThis.__sootsimTest.getGeometryRevision?.())
|
|
1980
|
+
.catch(() => null)
|
|
1981
|
+
.then((revision) => {
|
|
1982
|
+
if (revision === BUSY) return BUSY
|
|
1983
|
+
if (typeof revision === 'string' && geometry.revision === revision) return geometry.hierarchy
|
|
1984
|
+
return answer(() => globalThis.__sootsimTest.listInspectable({}))
|
|
1985
|
+
.catch(() => null)
|
|
1986
|
+
.then((hierarchy) => {
|
|
1987
|
+
const kept = typeof revision === 'string' && Array.isArray(hierarchy)
|
|
1988
|
+
geometry.revision = kept ? revision : null
|
|
1989
|
+
geometry.hierarchy = kept ? hierarchy : null
|
|
1990
|
+
return hierarchy
|
|
1991
|
+
})
|
|
1992
|
+
})
|
|
1993
|
+
: null
|
|
1994
1994
|
const compositor = await compositorRead
|
|
1995
1995
|
if (compositor === BUSY) {
|
|
1996
1996
|
workerBusy = true
|
|
@@ -2029,6 +2029,9 @@ async function waitForSootsimIdle({
|
|
|
2029
2029
|
? accessibility
|
|
2030
2030
|
: null
|
|
2031
2031
|
if (accessibility === BUSY) workerBusy = true
|
|
2032
|
+
if (!motionStill && hasInspectable) {
|
|
2033
|
+
return { layout: lastLayout, nodeRows: lastNodeRows, nativeHierarchy, visibleMotion, visibleMotionBy, animating, animatingBy, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, motionUnavailable, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
|
|
2034
|
+
}
|
|
2032
2035
|
let hierarchy = hierarchyRead ? await hierarchyRead : null
|
|
2033
2036
|
if (hierarchy === BUSY) {
|
|
2034
2037
|
workerBusy = true
|
|
@@ -2129,7 +2132,7 @@ async function waitForSootsimIdle({
|
|
|
2129
2132
|
const networkQuietGraceMs = 1200
|
|
2130
2133
|
let lastNativeHierarchy = null
|
|
2131
2134
|
let nativeHierarchyStillSince = null
|
|
2132
|
-
let lastLayout =
|
|
2135
|
+
let lastLayout = null
|
|
2133
2136
|
let lastNodeRows = []
|
|
2134
2137
|
// what moved between the last two differing polls, bounded; names the
|
|
2135
2138
|
// nodes behind "layout changed" without keeping any poll history.
|
|
@@ -2210,7 +2213,7 @@ async function waitForSootsimIdle({
|
|
|
2210
2213
|
if (snapshot.layoutDirty) dirtyPolls++
|
|
2211
2214
|
if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
|
|
2212
2215
|
if (snapshot.webViewStarting) webViewStartingPolls++
|
|
2213
|
-
if (polls > 1 && snapshot.layout !== lastLayout) {
|
|
2216
|
+
if (polls > 1 && lastLayout !== null && snapshot.layout !== lastLayout) {
|
|
2214
2217
|
layoutChangedPolls++
|
|
2215
2218
|
lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
|
|
2216
2219
|
}
|
|
@@ -2265,6 +2268,7 @@ async function waitForSootsimIdle({
|
|
|
2265
2268
|
(snapshot.appCommits === null || lastAppCommits === null || snapshot.appCommits === lastAppCommits) &&
|
|
2266
2269
|
(snapshot.nodeCount === null || lastNodeCount === null || snapshot.nodeCount === lastNodeCount) &&
|
|
2267
2270
|
!screenChanged &&
|
|
2271
|
+
snapshot.layout !== null &&
|
|
2268
2272
|
snapshot.layout === lastLayout
|
|
2269
2273
|
// generic network quiet: nothing in flight and no new requests issued.
|
|
2270
2274
|
const networkQuiet =
|
|
@@ -2332,7 +2336,7 @@ async function waitForSootsimIdle({
|
|
|
2332
2336
|
if (last.motionUnavailable) blockers.push('animation reporting unavailable')
|
|
2333
2337
|
if (last.workerBusy && !last.motionUnavailable) blockers.push('a render worker too busy to report')
|
|
2334
2338
|
if (last.webViewStarting) blockers.push(last.webViewBlocker || 'webView still starting')
|
|
2335
|
-
if (!maestro && polls > 1 && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2339
|
+
if (!maestro && polls > 1 && last.layout !== null && report.layout !== null && last.layout !== report.layout) blockers.push('layout still changing')
|
|
2336
2340
|
if (maestro && (last.nativeHierarchy === null || (polls > 1 && !hierarchyUnchanged(last.nativeHierarchy, report.nativeHierarchy)))) blockers.push(last.nativeHierarchy === null ? 'native accessibility hierarchy unavailable' : 'native accessibility hierarchy still changing')
|
|
2337
2341
|
if (screenStill && last.visibleMotion) blockers.push('visible motion continues (' + last.visibleMotionBy + ')')
|
|
2338
2342
|
if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
|
|
@@ -2550,7 +2554,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2550
2554
|
}
|
|
2551
2555
|
|
|
2552
2556
|
// runtime-companion.json
|
|
2553
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2557
|
+
var runtime_companion_default = { abi: 1, sha256: "9cbbe501179072eed2cf4df524cf50d8be698a15d01ccf70a81b0dc72704d180", file: "node/cli-9cbbe501179072eed2cf4df524cf50d8be698a15d01ccf70a81b0dc72704d180.cjs" };
|
|
2554
2558
|
|
|
2555
2559
|
// src/answeredNativePackages.ts
|
|
2556
2560
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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.2550 | (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-7I4EEYJK.mjs";
|
|
26
|
+
import "./chunk-N7LS7D7G.mjs";
|
|
27
27
|
export {
|
|
28
28
|
Node,
|
|
29
29
|
Parser,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
__commonJS,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N7LS7D7G.mjs";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/@xmldom/xmldom/lib/conventions.js
|
|
8
8
|
var require_conventions = __commonJS({
|