peachsim 0.1.762 → 0.1.763

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 (73) hide show
  1. package/README.md +5 -0
  2. package/cli/bridge-flow-runner.ts +3 -4
  3. package/cli/commands/inspect/settling.ts +193 -162
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/agent-identity.cjs +1 -1
  7. package/dist-lib/agent-sessions.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cli-constants.cjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/detox/index.cjs +1 -1
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +191 -159
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +1 -1
  48. package/dist-lib/native-app-identity.cjs +1 -1
  49. package/dist-lib/native-app-identity.mjs +1 -1
  50. package/dist-lib/native-firebase-metadata.cjs +1 -1
  51. package/dist-lib/native-firebase-metadata.mjs +1 -1
  52. package/dist-lib/plist.cjs +1 -1
  53. package/dist-lib/plist.mjs +1 -1
  54. package/dist-lib/profiles.cjs +1 -1
  55. package/dist-lib/public-brand.cjs +1 -1
  56. package/dist-lib/react-native-host-modules.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.mjs +1 -1
  58. package/dist-lib/render-mode.cjs +1 -1
  59. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  60. package/dist-lib/sdk.cjs +191 -159
  61. package/dist-lib/sdk.mjs +191 -159
  62. package/dist-lib/skills.cjs +197 -166
  63. package/dist-lib/swift-compile.cjs +1 -1
  64. package/dist-lib/swift-compile.mjs +1 -1
  65. package/dist-lib/swift-package.cjs +1 -1
  66. package/dist-lib/swift-package.mjs +1 -1
  67. package/dist-lib/swift-submit.cjs +1 -1
  68. package/dist-lib/swift-submit.mjs +1 -1
  69. package/dist-lib/swift-toolchain.cjs +1 -1
  70. package/dist-lib/swift.cjs +1 -1
  71. package/dist-lib/vite-swift.cjs +1 -1
  72. package/dist-lib/vite.cjs +1 -1
  73. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -44586,179 +44586,211 @@ async function waitForSootsimIdle({
44586
44586
  const start = Date.now()
44587
44587
  const deadline = start + ${Math.max(0, Math.round(maxMs))}
44588
44588
  const pollMs = ${Math.max(1, Math.round(pollMs))}
44589
- const requiredStillMs = ${Math.max(1, Math.round(stablePolls)) * Math.max(1, Math.round(pollMs))}
44590
- const minimumStablePolls = ${Math.min(2, Math.max(1, Math.round(stablePolls)))}
44591
44589
  const strict = ${strict ? "true" : "false"}
44592
44590
  const paintStill = ${paintStill ? "true" : "false"}
44591
+ const requiredStillMs = paintStill ? 0 : ${Math.max(1, Math.round(stablePolls)) * Math.max(1, Math.round(pollMs))}
44592
+ const minimumStablePolls = paintStill ? 1 : ${Math.min(2, Math.max(1, Math.round(stablePolls)))}
44593
44593
  const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
44594
-
44595
- // route-aware settle: a tap that pushes/pops a screen is async \u2014 the
44596
- // old screen still renders for a moment, then the new one mounts and
44597
- // its content loads. a pure layout-hash check reports "idle" on the
44598
- // outgoing screen or on the incoming skeleton, so a driver re-taps
44599
- // and stacks duplicate navigations. drain any in-flight screen
44600
- // transition FIRST, bounded by the overall budget. when no
44601
- // transition is happening this returns in ~80ms (startWindowMs), so
44602
- // a plain button tap barely pays for it.
44594
+ const composite = paintStill ? window.SootSim?.bridges?.liveComposite : null
44595
+ if (paintStill && !composite) {
44596
+ return { settled: false, elapsed: Date.now() - start, blockedBy: 'screen pixels unavailable' }
44597
+ }
44598
+ // subscribe to presented frames; authoritative screenshots force a
44599
+ // worker render, which changes the very counter we used to inspect.
44600
+ const unsubscribe = composite?.subscribe(() => {})
44601
+ let pixelFrameToken = -1
44602
+ let screenPixels = null
44603
44603
  try {
44604
- const wfst = window.__sootsimTest?.waitForScreenTransitions
44605
- if (typeof wfst === 'function') {
44606
- const remaining = deadline - Date.now()
44607
- if (remaining > 120) {
44608
- await wfst({
44609
- timeoutMs: Math.min(remaining - 80, 4000),
44610
- settleMs: 64,
44611
- startWindowMs: 80,
44612
- })
44613
- }
44614
- }
44615
- } catch {}
44616
44604
 
44617
- const readSnapshot = async () => {
44618
- let animating = false
44619
- let layoutDirty = false
44620
- let pendingFetches = 0
44621
- let requestTotal = 0
44622
- let requestInFlight = 0
44623
- let renderStatsAvailable = false
44624
- let frameCount = -1
44625
- let shellAnimating = false
44626
- // strict also waits out shell motion: a system alert, sheet or menu
44627
- // animates in the shell worker while the app's own stats read still,
44628
- // so its presentation is complete only once the shell's list empties.
44629
- if (strict) {
44630
- try {
44631
- const motion = await window.__sootsimTest?.listAnimations?.()
44632
- shellAnimating = Array.isArray(motion) && motion.some((anim) => anim.realm === 'shell')
44633
- } catch {}
44634
- }
44605
+ // route-aware settle: a tap that pushes/pops a screen is async \u2014 the
44606
+ // old screen still renders for a moment, then the new one mounts and
44607
+ // its content loads. a pure layout-hash check reports "idle" on the
44608
+ // outgoing screen or on the incoming skeleton, so a driver re-taps
44609
+ // and stacks duplicate navigations. drain any in-flight screen
44610
+ // transition FIRST, bounded by the overall budget. when no
44611
+ // transition is happening this returns in ~80ms (startWindowMs), so
44612
+ // a plain button tap barely pays for it.
44635
44613
  try {
44636
- const stats = await window.__sootsimRenderHost?.queryStats?.()
44637
- if (stats) {
44638
- renderStatsAvailable = true
44639
- frameCount = typeof stats.frameCount === 'number' ? stats.frameCount : -1
44640
- animating =
44641
- stats.hasActiveAnims === true ||
44642
- stats.hasActiveNativeAnimations === true ||
44643
- stats.hasPendingAnimationFrames === true
44644
- layoutDirty =
44645
- stats.layoutDirty === true && stats.renderRequested === true
44646
- // a freshly-pushed screen showing a skeleton is layout-stable
44647
- // but not actually settled \u2014 its data/images are still in
44648
- // flight. treat bounded image-loader fetches as not-idle so
44649
- // settle waits for real content, capped by the budget.
44650
- const pf = stats.memory && stats.memory.imageLoader
44651
- ? stats.memory.imageLoader.pendingFetches
44652
- : 0
44653
- pendingFetches = typeof pf === 'number' ? pf : 0
44614
+ const wfst = window.__sootsimTest?.waitForScreenTransitions
44615
+ if (typeof wfst === 'function') {
44616
+ const remaining = deadline - Date.now()
44617
+ if (remaining > 120) {
44618
+ await wfst({
44619
+ timeoutMs: Math.min(remaining - 80, 4000),
44620
+ settleMs: 64,
44621
+ startWindowMs: 80,
44622
+ })
44623
+ }
44654
44624
  }
44655
44625
  } catch {}
44656
- try {
44657
- const counts = await window.__sootsimTest?.getRequestCounts?.()
44658
- requestTotal = typeof counts?.total === 'number' ? counts.total : 0
44659
- requestInFlight = typeof counts?.inFlight === 'number' ? counts.inFlight : 0
44660
- } catch {}
44661
- const root = window.__sootsimRoot
44662
- const nodes = []
44663
- if (root) {
44664
- const walk = (n) => {
44665
- if (n.layout && n.layout.width > 0) {
44666
- nodes.push(Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width))
44626
+
44627
+ const readSnapshot = async () => {
44628
+ let animating = false
44629
+ let layoutDirty = false
44630
+ let pendingFetches = 0
44631
+ let requestTotal = 0
44632
+ let requestInFlight = 0
44633
+ let renderStatsAvailable = false
44634
+ let shellAnimating = false
44635
+ // strict also waits out shell motion: a system alert, sheet or menu
44636
+ // animates in the shell worker while the app's own stats read still,
44637
+ // so its presentation is complete only once the shell's list empties.
44638
+ if (strict) {
44639
+ try {
44640
+ const motion = await window.__sootsimTest?.listAnimations?.()
44641
+ shellAnimating = Array.isArray(motion) && motion.some((anim) => anim.realm === 'shell')
44642
+ } catch {}
44643
+ }
44644
+ try {
44645
+ const stats = await window.__sootsimRenderHost?.queryStats?.()
44646
+ if (stats) {
44647
+ renderStatsAvailable = true
44648
+ animating =
44649
+ stats.hasActiveAnims === true ||
44650
+ stats.hasActiveNativeAnimations === true ||
44651
+ stats.hasPendingAnimationFrames === true
44652
+ layoutDirty =
44653
+ stats.layoutDirty === true && stats.renderRequested === true
44654
+ // a freshly-pushed screen showing a skeleton is layout-stable
44655
+ // but not actually settled \u2014 its data/images are still in
44656
+ // flight. treat bounded image-loader fetches as not-idle so
44657
+ // settle waits for real content, capped by the budget.
44658
+ const pf = stats.memory && stats.memory.imageLoader
44659
+ ? stats.memory.imageLoader.pendingFetches
44660
+ : 0
44661
+ pendingFetches = typeof pf === 'number' ? pf : 0
44662
+ }
44663
+ } catch {}
44664
+ try {
44665
+ const counts = await window.__sootsimTest?.getRequestCounts?.()
44666
+ requestTotal = typeof counts?.total === 'number' ? counts.total : 0
44667
+ requestInFlight = typeof counts?.inFlight === 'number' ? counts.inFlight : 0
44668
+ } catch {}
44669
+ const root = window.__sootsimRoot
44670
+ const nodes = []
44671
+ if (root) {
44672
+ const walk = (n) => {
44673
+ if (n.layout && n.layout.width > 0) {
44674
+ nodes.push(Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width))
44675
+ }
44676
+ for (const c of n.children || []) walk(c)
44677
+ }
44678
+ walk(root)
44679
+ }
44680
+ if (paintStill) {
44681
+ const canvas = composite.getCanvas()
44682
+ const token = composite.getFrameToken()
44683
+ if (!canvas || canvas.width <= 1 || canvas.height <= 1) {
44684
+ screenPixels = null
44685
+ } else if (token !== pixelFrameToken || canvas.width !== screenPixels?.width || canvas.height !== screenPixels?.height) {
44686
+ const context = canvas.getContext('2d')
44687
+ const image = context?.getImageData(0, 0, canvas.width, canvas.height)
44688
+ screenPixels = image ? { width: image.width, height: image.height, data: new Uint32Array(image.data.buffer) } : null
44689
+ pixelFrameToken = token
44667
44690
  }
44668
- for (const c of n.children || []) walk(c)
44669
44691
  }
44670
- walk(root)
44692
+ return { layout: nodes.join(';'), screenPixels, animating, shellAnimating, layoutDirty, pendingFetches, renderStatsAvailable, requestTotal, requestInFlight }
44671
44693
  }
44672
- return { layout: nodes.join(';'), frameCount, animating, shellAnimating, layoutDirty, pendingFetches, renderStatsAvailable, requestTotal, requestInFlight }
44673
- }
44674
44694
 
44675
- // how long generic background network is allowed to keep us waiting AFTER
44676
- // the screen is otherwise visually settled. apps with continuous traffic
44677
- // (polling, realtime sockets, a tap that fires 20-50 fetches) never reach
44678
- // requestInFlight===0 / a stable requestTotal, so requiring full network
44679
- // quiet burns the ENTIRE budget on every command \u2014 the leading idle that
44680
- // failed PR-preview recordings for network-heavy apps (3pc fight-pulse).
44681
- // layout-stability + the image-loader already prove visible content
44682
- // loaded (a data load changes layout; an image load shows in the loader),
44683
- // so the generic request counters are a courtesy, not a gate: honor them
44684
- // only within this grace once the screen is visually still.
44685
- const networkQuietGraceMs = 1200
44686
- let lastLayout = ''
44687
- let lastFrameCount = -2
44688
- let paintedPolls = 0
44689
- let lastRequestTotal = -1
44690
- let stable = 0
44691
- let visuallyStillSince = 0
44692
- // counts across the whole budget: a flag that is true on every poll is a
44693
- // different bug from one that is true intermittently, and the two need
44694
- // opposite fixes (engine vs budget).
44695
- let polls = 0
44696
- let dirtyPolls = 0
44697
- let animatingPolls = 0
44698
- let layoutChangedPolls = 0
44699
- while (Date.now() < deadline) {
44700
- const snapshot = await readSnapshot()
44701
- polls++
44702
- if (snapshot.layoutDirty) dirtyPolls++
44703
- if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
44704
- if (polls > 1 && snapshot.layout !== lastLayout) layoutChangedPolls++
44705
- const painted = paintStill && snapshot.frameCount !== lastFrameCount
44706
- if (polls > 1 && painted) paintedPolls++
44707
- const strictOk =
44708
- !strict ||
44709
- (snapshot.renderStatsAvailable &&
44710
- !snapshot.animating &&
44711
- !snapshot.shellAnimating &&
44712
- !snapshot.layoutDirty)
44713
- // visually settled: no animations, no image content loading, layout
44714
- // unchanged since the last poll.
44715
- const visuallyStill =
44716
- strictOk &&
44717
- !painted &&
44718
- snapshot.pendingFetches === 0 &&
44719
- snapshot.layout === lastLayout
44720
- // generic network quiet: nothing in flight and no new requests issued.
44721
- const networkQuiet =
44722
- snapshot.requestInFlight === 0 && snapshot.requestTotal === lastRequestTotal
44723
- if (visuallyStill) {
44724
- stable++
44725
- if (visuallyStillSince === 0) visuallyStillSince = Date.now()
44726
- // settle once the screen has held still long enough AND either the
44727
- // network is genuinely quiet OR it has refused to quiet within the
44728
- // grace (continuous background traffic must not block forever).
44729
- if (
44730
- stable >= minimumStablePolls &&
44731
- Date.now() - visuallyStillSince >= requiredStillMs &&
44732
- (networkQuiet || Date.now() - visuallyStillSince >= networkQuietGraceMs)
44733
- ) {
44734
- return { settled: true, elapsed: Date.now() - start, blockedBy: '' }
44735
- }
44736
- } else {
44737
- stable = 0
44738
- visuallyStillSince = 0
44739
- }
44740
- lastLayout = snapshot.layout
44741
- lastFrameCount = snapshot.frameCount
44742
- lastRequestTotal = snapshot.requestTotal
44743
- await sleep(pollMs)
44744
- }
44745
- const last = await readSnapshot()
44746
- const blockers = []
44747
- if (strict && !last.renderStatsAvailable) blockers.push('render stats unavailable')
44748
- if (last.animating) blockers.push('animations still running')
44749
- if (last.shellAnimating) blockers.push('shell animations still running')
44750
- if (last.layoutDirty) blockers.push('layout still dirty')
44751
- if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
44752
- if (last.layout !== lastLayout) blockers.push('layout still changing')
44753
- if (paintStill && last.frameCount !== lastFrameCount) blockers.push('still painting')
44754
- if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
44755
- return {
44756
- settled: false,
44757
- elapsed: Date.now() - start,
44758
- blockedBy:
44759
- (blockers.length ? blockers.join(', ') : 'unknown') +
44760
- ' over ' + polls + ' polls (layout changed ' + layoutChangedPolls +
44761
- 'x, layoutDirty ' + dirtyPolls + 'x, animating ' + animatingPolls + 'x, painted ' + paintedPolls + 'x)',
44695
+ // how long generic background network is allowed to keep us waiting AFTER
44696
+ // the screen is otherwise visually settled. apps with continuous traffic
44697
+ // (polling, realtime sockets, a tap that fires 20-50 fetches) never reach
44698
+ // requestInFlight===0 / a stable requestTotal, so requiring full network
44699
+ // quiet burns the ENTIRE budget on every command \u2014 the leading idle that
44700
+ // failed PR-preview recordings for network-heavy apps (3pc fight-pulse).
44701
+ // layout-stability + the image-loader already prove visible content
44702
+ // loaded (a data load changes layout; an image load shows in the loader),
44703
+ // so the generic request counters are a courtesy, not a gate: honor them
44704
+ // only within this grace once the screen is visually still.
44705
+ const networkQuietGraceMs = 1200
44706
+ let lastLayout = ''
44707
+ let lastScreenPixels = null
44708
+ let screenChangedPolls = 0
44709
+ let lastRequestTotal = -1
44710
+ let stable = 0
44711
+ let visuallyStillSince = 0
44712
+ // counts across the whole budget: a flag that is true on every poll is a
44713
+ // different bug from one that is true intermittently, and the two need
44714
+ // opposite fixes (engine vs budget).
44715
+ let polls = 0
44716
+ let dirtyPolls = 0
44717
+ let animatingPolls = 0
44718
+ let layoutChangedPolls = 0
44719
+ const screenUnchanged = (pixels) => {
44720
+ if (!pixels || !lastScreenPixels || pixels.width !== lastScreenPixels.width || pixels.height !== lastScreenPixels.height) return false
44721
+ if (pixels === lastScreenPixels) return true
44722
+ for (let i = 0; i < pixels.data.length; i++) {
44723
+ if (pixels.data[i] !== lastScreenPixels.data[i]) return false
44724
+ }
44725
+ return true
44726
+ }
44727
+ while (Date.now() < deadline) {
44728
+ const snapshot = await readSnapshot()
44729
+ polls++
44730
+ if (snapshot.layoutDirty) dirtyPolls++
44731
+ if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
44732
+ if (polls > 1 && snapshot.layout !== lastLayout) layoutChangedPolls++
44733
+ const screenChanged = paintStill && !screenUnchanged(snapshot.screenPixels)
44734
+ if (polls > 1 && screenChanged) screenChangedPolls++
44735
+ const strictOk =
44736
+ !strict ||
44737
+ (snapshot.renderStatsAvailable &&
44738
+ !snapshot.animating &&
44739
+ !snapshot.shellAnimating &&
44740
+ !snapshot.layoutDirty)
44741
+ // visually settled: no animations, no image content loading, layout
44742
+ // unchanged since the last poll.
44743
+ const visuallyStill =
44744
+ strictOk &&
44745
+ !screenChanged &&
44746
+ snapshot.pendingFetches === 0 &&
44747
+ snapshot.layout === lastLayout
44748
+ // generic network quiet: nothing in flight and no new requests issued.
44749
+ const networkQuiet =
44750
+ snapshot.requestInFlight === 0 && snapshot.requestTotal === lastRequestTotal
44751
+ if (visuallyStill) {
44752
+ stable++
44753
+ if (visuallyStillSince === 0) visuallyStillSince = Date.now()
44754
+ // settle once the screen has held still long enough AND either the
44755
+ // network is genuinely quiet OR it has refused to quiet within the
44756
+ // grace (continuous background traffic must not block forever).
44757
+ if (
44758
+ stable >= minimumStablePolls &&
44759
+ Date.now() - visuallyStillSince >= requiredStillMs &&
44760
+ (networkQuiet || Date.now() - visuallyStillSince >= networkQuietGraceMs)
44761
+ ) {
44762
+ return { settled: true, elapsed: Date.now() - start, blockedBy: '' }
44763
+ }
44764
+ } else {
44765
+ stable = 0
44766
+ visuallyStillSince = 0
44767
+ }
44768
+ lastLayout = snapshot.layout
44769
+ lastScreenPixels = snapshot.screenPixels
44770
+ lastRequestTotal = snapshot.requestTotal
44771
+ await sleep(pollMs)
44772
+ }
44773
+ const last = await readSnapshot()
44774
+ const blockers = []
44775
+ if (strict && !last.renderStatsAvailable) blockers.push('render stats unavailable')
44776
+ if (last.animating) blockers.push('animations still running')
44777
+ if (last.shellAnimating) blockers.push('shell animations still running')
44778
+ if (last.layoutDirty) blockers.push('layout still dirty')
44779
+ if (last.pendingFetches > 0) blockers.push(last.pendingFetches + ' image fetches pending')
44780
+ if (last.layout !== lastLayout) blockers.push('layout still changing')
44781
+ if (paintStill && !last.screenPixels) blockers.push('screen pixels unavailable')
44782
+ else if (paintStill && !screenUnchanged(last.screenPixels)) blockers.push('screen pixels still changing')
44783
+ if (last.requestInFlight > 0) blockers.push(last.requestInFlight + ' requests in flight')
44784
+ return {
44785
+ settled: false,
44786
+ elapsed: Date.now() - start,
44787
+ blockedBy:
44788
+ (blockers.length ? blockers.join(', ') : 'unknown') +
44789
+ ' over ' + polls + ' polls (layout changed ' + layoutChangedPolls +
44790
+ 'x, layoutDirty ' + dirtyPolls + 'x, animating ' + animatingPolls + 'x, screen changed ' + screenChangedPolls + 'x)',
44791
+ }
44792
+ } finally {
44793
+ unsubscribe?.()
44762
44794
  }
44763
44795
  })()`
44764
44796
  },
@@ -47083,9 +47115,9 @@ var init_bridge_flow_runner = __esm({
47083
47115
  // maestro waits around taps for the screen to stop changing, up to
47084
47116
  // its ios driver's 3 s settle budget, comparing screenshots, so an action
47085
47117
  // still in flight (a submit spinner, a sheet closing) finishes before the
47086
- // next command resolves its target. an app can take a few hundred ms to
47087
- // react to a press, so stillness must hold about half a second, and it
47088
- // counts painted frames because a spinner repaints without moving layout.
47118
+ // next command resolves its target. compare consecutive screen pixels,
47119
+ // rather than requiring frame publications to stop for half a second:
47120
+ // a focused input keeps repainting its native blinking caret.
47089
47121
  // a screen that never stops proceeds when the budget runs out, as there,
47090
47122
  // and names what kept it moving: every such step pays the whole budget.
47091
47123
  async waitForAppToSettle() {
@@ -47094,7 +47126,6 @@ var init_bridge_flow_runner = __esm({
47094
47126
  simId: this.opts.simId,
47095
47127
  maxMs: 3e3,
47096
47128
  pollMs: 32,
47097
- stablePolls: 16,
47098
47129
  strict: true,
47099
47130
  paintStill: true
47100
47131
  });
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.762 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.763 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.762",
3
+ "version": "0.1.763",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",