peachsim 0.1.2539 → 0.1.2540

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.
Files changed (126) hide show
  1. package/cli/commands/inspect/settling.ts +32 -28
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/attached-projects.cjs +1 -1
  5. package/dist-lib/auth/shared-session.cjs +1 -1
  6. package/dist-lib/backend-origin.cjs +1 -1
  7. package/dist-lib/beta.cjs +1 -1
  8. package/dist-lib/beta.mjs +2 -2
  9. package/dist-lib/bridge-constants.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.mjs +5 -5
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +3 -3
  14. package/dist-lib/bundle-channel.cjs +1 -1
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +3 -3
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +3 -3
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +2 -2
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +7 -7
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +5 -5
  25. package/dist-lib/detox/index.cjs +33 -29
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/esm-chunks/{acorn-5WNGVKAO.mjs → acorn-X5GM3B66.mjs} +3 -3
  28. package/dist-lib/esm-chunks/{chunk-QOV4VQAP.mjs → chunk-4HE4ODBW.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-AKI4GT3Y.mjs → chunk-5WX74M5W.mjs} +5 -5
  30. package/dist-lib/esm-chunks/{chunk-HNO52ELL.mjs → chunk-64PG2UV4.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-RAVJIEAN.mjs → chunk-6DFCDK3G.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-2FUSNOED.mjs → chunk-7BILB6ZM.mjs} +12 -12
  33. package/dist-lib/esm-chunks/{chunk-VOAPRY6S.mjs → chunk-AHRW4TYS.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-J5P24DJO.mjs → chunk-BXPTCC4D.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-MAR4ZXOK.mjs → chunk-CGOXQW3D.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-H35GKHLJ.mjs → chunk-CSSMCEKE.mjs} +4 -4
  37. package/dist-lib/esm-chunks/{chunk-45QYUIG4.mjs → chunk-FCPXC4WF.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-BBTJK2R3.mjs → chunk-FKX7WWLQ.mjs} +5 -5
  39. package/dist-lib/esm-chunks/{chunk-YYW22VHX.mjs → chunk-GJ7XUH7T.mjs} +2 -2
  40. package/dist-lib/esm-chunks/{chunk-BKDSWBR3.mjs → chunk-GO4QC5W7.mjs} +3 -3
  41. package/dist-lib/esm-chunks/{chunk-RLF3UUZH.mjs → chunk-H2SOZKTA.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-NIUWMBBQ.mjs → chunk-HTKANFZE.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-7K3LYYDH.mjs → chunk-HXJ3GGSG.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-IEYZS4X6.mjs → chunk-J3FV6QMA.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-SW5BT4OK.mjs → chunk-PIJTTGKG.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-QKZHZ2GW.mjs → chunk-QQHF5RU4.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-KFB7KBK2.mjs → chunk-S4BB5KZZ.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-P5P7U2GO.mjs → chunk-VKBLMD52.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-JNYKXW6Q.mjs → metro-layout-parser-ARLFUGGW.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-NYCATRAM.mjs → swift-package-prebuilt-C2XNRS3W.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-23LXTJ7Q.mjs → swift-sdk-app-module-DECS6TGN.mjs} +13 -13
  52. package/dist-lib/esm-chunks/{swift-sdk-image-WZHY4CDZ.mjs → swift-sdk-image-65G7TCCX.mjs} +13 -13
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-BPOWYSJJ.mjs → swift-sdk-image-producer-U6EKKIFI.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +1 -1
  55. package/dist-lib/expo-swift-metadata.cjs +1 -1
  56. package/dist-lib/expo-swift-metadata.mjs +7 -7
  57. package/dist-lib/home-paths.cjs +1 -1
  58. package/dist-lib/host/bridge-host.cjs +1 -1
  59. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  60. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  61. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  62. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  63. package/dist-lib/host/websocket-proxy.cjs +1 -1
  64. package/dist-lib/index.cjs +33 -29
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +3 -3
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +4 -4
  72. package/dist-lib/native-app-identity-project.cjs +1 -1
  73. package/dist-lib/native-app-identity-project.mjs +15 -15
  74. package/dist-lib/native-app-identity.cjs +1 -1
  75. package/dist-lib/native-app-identity.mjs +6 -6
  76. package/dist-lib/native-firebase-metadata.cjs +1 -1
  77. package/dist-lib/native-firebase-metadata.mjs +3 -3
  78. package/dist-lib/pdfium-raster.cjs +1 -1
  79. package/dist-lib/pdfium-raster.mjs +2 -2
  80. package/dist-lib/plist.cjs +1 -1
  81. package/dist-lib/plist.mjs +3 -3
  82. package/dist-lib/profiles.cjs +1 -1
  83. package/dist-lib/public-brand.cjs +1 -1
  84. package/dist-lib/public-origins-lib-esm.json +79 -79
  85. package/dist-lib/public-origins-lib.json +69 -69
  86. package/dist-lib/react-native-host-modules.cjs +1 -1
  87. package/dist-lib/react-native-host-modules.mjs +2 -2
  88. package/dist-lib/reap-browser.cjs +1 -1
  89. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  90. package/dist-lib/sdk.cjs +33 -29
  91. package/dist-lib/sdk.mjs +39 -35
  92. package/dist-lib/skills.cjs +33 -29
  93. package/dist-lib/swift-compile.cjs +1 -1
  94. package/dist-lib/swift-compile.mjs +10 -10
  95. package/dist-lib/swift-package.cjs +1 -1
  96. package/dist-lib/swift-package.mjs +3 -3
  97. package/dist-lib/swift-submit.cjs +1 -1
  98. package/dist-lib/swift-submit.mjs +5 -5
  99. package/dist-lib/swift-svg-raster.cjs +1 -1
  100. package/dist-lib/swift-svg-raster.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +1 -1
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  105. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  106. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  107. package/dist-lib/vendor/acorn.cjs +1 -1
  108. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  109. package/dist-lib/vendor/ignore.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/plist.cjs +1 -1
  112. package/dist-lib/vendor/smol-toml.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/kotlin/sdk.tar.gz +0 -0
  126. package/package.json +1 -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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-CGOXQW3D.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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-BKDSWBR3.mjs";
21
- import "./esm-chunks/chunk-KFB7KBK2.mjs";
22
- import "./esm-chunks/chunk-45QYUIG4.mjs";
23
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
20
+ } from "./esm-chunks/chunk-GO4QC5W7.mjs";
21
+ import "./esm-chunks/chunk-S4BB5KZZ.mjs";
22
+ import "./esm-chunks/chunk-FCPXC4WF.mjs";
23
+ import "./esm-chunks/chunk-CGOXQW3D.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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-KFB7KBK2.mjs";
17
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
16
+ } from "./esm-chunks/chunk-S4BB5KZZ.mjs";
17
+ import "./esm-chunks/chunk-CGOXQW3D.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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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-IEYZS4X6.mjs";
14
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
13
+ } from "./esm-chunks/chunk-J3FV6QMA.mjs";
14
+ import "./esm-chunks/chunk-CGOXQW3D.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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-QKZHZ2GW.mjs";
35
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
34
+ } from "./esm-chunks/chunk-QQHF5RU4.mjs";
35
+ import "./esm-chunks/chunk-CGOXQW3D.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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-CGOXQW3D.mjs";
3
3
 
4
4
  // src/cloud-test-args.ts
5
5
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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,10 +1,10 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-SW5BT4OK.mjs";
4
+ } from "./esm-chunks/chunk-PIJTTGKG.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-IEYZS4X6.mjs";
7
+ } from "./esm-chunks/chunk-J3FV6QMA.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-QKZHZ2GW.mjs";
17
+ } from "./esm-chunks/chunk-QQHF5RU4.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-QOV4VQAP.mjs";
20
+ } from "./esm-chunks/chunk-4HE4ODBW.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-45QYUIG4.mjs";
23
+ } from "./esm-chunks/chunk-FCPXC4WF.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-MAR4ZXOK.mjs";
26
+ } from "./esm-chunks/chunk-CGOXQW3D.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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,14 +1,14 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-P5P7U2GO.mjs";
4
+ } from "./esm-chunks/chunk-VKBLMD52.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-J5P24DJO.mjs";
7
+ } from "./esm-chunks/chunk-BXPTCC4D.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-45QYUIG4.mjs";
11
- import "./esm-chunks/chunk-MAR4ZXOK.mjs";
10
+ } from "./esm-chunks/chunk-FCPXC4WF.mjs";
11
+ import "./esm-chunks/chunk-CGOXQW3D.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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')
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (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-NIUWMBBQ.mjs";
26
- import "./chunk-MAR4ZXOK.mjs";
25
+ } from "./chunk-HTKANFZE.mjs";
26
+ import "./chunk-CGOXQW3D.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,24 +1,24 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-VOAPRY6S.mjs";
5
+ } from "./chunk-AHRW4TYS.mjs";
6
6
  import {
7
7
  parseSwiftDistributionLock,
8
8
  readActiveRuntime,
9
9
  runtimeDir,
10
10
  swiftDistributionAt,
11
11
  swiftModuleSdk
12
- } from "./chunk-2FUSNOED.mjs";
12
+ } from "./chunk-7BILB6ZM.mjs";
13
13
  import {
14
14
  SWIFT_WASM_TRIPLE,
15
15
  registerSwiftHostCompiler,
16
16
  swiftCompiler,
17
17
  swiftToolchain
18
- } from "./chunk-HNO52ELL.mjs";
18
+ } from "./chunk-64PG2UV4.mjs";
19
19
  import {
20
20
  isRecord
21
- } from "./chunk-45QYUIG4.mjs";
21
+ } from "./chunk-FCPXC4WF.mjs";
22
22
 
23
23
  // src/swift-distribution.ts
24
24
  import fs2 from "node:fs";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftTargetContract.ts
4
4
  var SWIFT_WASM_TRIPLE = "wasm64-unknown-wasip1-threads";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2539 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2540 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/assetCatalogContract.ts
4
4
  function isSwiftImageVariants(value) {