peachsim 0.1.1673 → 0.1.1674

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 (111) hide show
  1. package/cli/commands/inspect/settling.ts +37 -4
  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 +1 -1
  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 +1 -1
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +1 -1
  14. package/dist-lib/bundle-channel.cjs +32 -9
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +1 -1
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +1 -1
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +1 -1
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +1 -1
  25. package/dist-lib/detox/index.cjs +39 -6
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/expo-swift-bundle.cjs +29 -6
  28. package/dist-lib/expo-swift-metadata.cjs +1 -1
  29. package/dist-lib/expo-swift-metadata.mjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +34 -8
  32. package/dist-lib/host/fetch-proxy-handler.cjs +6 -3
  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 +43 -7
  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-project.cjs +1 -1
  49. package/dist-lib/native-app-identity-project.mjs +1 -1
  50. package/dist-lib/native-app-identity.cjs +1 -1
  51. package/dist-lib/native-app-identity.mjs +1 -1
  52. package/dist-lib/native-firebase-metadata.cjs +1 -1
  53. package/dist-lib/native-firebase-metadata.mjs +1 -1
  54. package/dist-lib/plist.cjs +1 -1
  55. package/dist-lib/plist.mjs +1 -1
  56. package/dist-lib/profiles.cjs +1 -1
  57. package/dist-lib/public-brand.cjs +1 -1
  58. package/dist-lib/public-origins-lib-esm.json +23 -23
  59. package/dist-lib/public-origins-lib.json +52 -52
  60. package/dist-lib/react-native-host-modules.cjs +1 -1
  61. package/dist-lib/react-native-host-modules.mjs +1 -1
  62. package/dist-lib/reap-browser.cjs +1 -1
  63. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  64. package/dist-lib/sdk.cjs +38 -5
  65. package/dist-lib/sdk.mjs +38 -5
  66. package/dist-lib/skills.cjs +74 -15
  67. package/dist-lib/swift-compile.cjs +27 -5
  68. package/dist-lib/swift-compile.mjs +27 -5
  69. package/dist-lib/swift-package.cjs +23 -4
  70. package/dist-lib/swift-package.mjs +23 -4
  71. package/dist-lib/swift-submit.cjs +1 -1
  72. package/dist-lib/swift-submit.mjs +1 -1
  73. package/dist-lib/swift-toolchain.cjs +1 -1
  74. package/dist-lib/swift.cjs +1 -1
  75. package/dist-lib/vite-swift.cjs +29 -6
  76. package/dist-lib/vite.cjs +6 -3
  77. package/dist-lib/worklet-executable.cjs +1 -1
  78. package/dist-lib/worklet-executable.mjs +1 -1
  79. package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
  80. package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +1 -1
  81. package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +10 -1
  82. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  83. package/package.json +1 -1
  84. package/runtime-companion.json +1 -1
  85. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +18 -0
  86. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +23 -4
  87. package/sdk/ios/usr/include/_ctype.h +388 -0
  88. package/sdk/ios/usr/include/_inttypes.h +296 -0
  89. package/sdk/ios/usr/include/_locale.h +83 -0
  90. package/sdk/ios/usr/include/_locale_posix2008.h +65 -0
  91. package/sdk/ios/usr/include/_time.h +207 -0
  92. package/sdk/ios/usr/include/ctype.h +70 -0
  93. package/sdk/ios/usr/include/dispatch/dispatch.h +69 -6
  94. package/sdk/ios/usr/include/inttypes.h +35 -0
  95. package/sdk/ios/usr/include/locale.h +59 -0
  96. package/sdk/ios/usr/include/runetype.h +118 -0
  97. package/sdk/ios/usr/include/setjmp.h +99 -0
  98. package/sdk/ios/usr/include/sys/_types/_clock_t.h +32 -0
  99. package/sdk/ios/usr/include/sys/_types/_ct_rune_t.h +33 -0
  100. package/sdk/ios/usr/include/sys/_types/_rune_t.h +32 -0
  101. package/sdk/ios/usr/include/sys/_types/_time_t.h +32 -0
  102. package/sdk/ios/usr/include/sys/_types/_wint_t.h +33 -0
  103. package/sdk/ios/usr/include/sys/cdefs.h +2 -0
  104. package/sdk/ios/usr/include/time.h +67 -2
  105. package/src/host/rolldown-bundle-forward.ts +4 -1
  106. package/src/swift-compile.ts +2 -1
  107. package/src/swift-objc-compile.ts +7 -3
  108. package/src/swift-objc-metadata.ts +2 -2
  109. package/src/swift-objc-standin.ts +5 -0
  110. package/src/swift-package.ts +26 -3
  111. package/src/swift-standins.ts +4 -1
@@ -371,6 +371,9 @@ export async function waitForSootsimIdle({
371
371
  hierarchy = null
372
372
  }
373
373
  const nodes = []
374
+ // identity beside each geometry entry, from the rows already read,
375
+ // so a changed layout can name the nodes that moved.
376
+ const nodeRows = []
374
377
  const LOADING_TEXT_REGEX = /^(creating webview|loading html|fetching bundle|waiting for first render|starting preview|loading simulator|fetching app code|waiting for native preview|starting design|loading canvas|fetching screens|painting the canvas|waiting for webview|waiting for preview|waiting for canvas|preview stalled)/i
375
378
  const noteLoading = (state, text) => {
376
379
  if (state?.busy === true) {
@@ -391,7 +394,9 @@ export async function waitForSootsimIdle({
391
394
  // subtree count by their own layout; the rest of the screen
392
395
  // still catches the fling.
393
396
  const abs = n.backgroundPlayback ? layout : n.absolute || n.absolutePosition || layout
394
- nodes.push(Math.round(abs.x) + ',' + Math.round(abs.y) + ',' + Math.round(layout.width))
397
+ const geometry = Math.round(abs.x) + ',' + Math.round(abs.y) + ',' + Math.round(layout.width)
398
+ nodes.push(geometry)
399
+ nodeRows.push([String(n.nodeId ?? nodes.length - 1), (n.type || '?') + (n.testId ? '#' + n.testId : ''), geometry])
395
400
  }
396
401
  noteLoading(
397
402
  n.accessibilityState,
@@ -403,7 +408,9 @@ export async function waitForSootsimIdle({
403
408
  if (root) {
404
409
  const walk = (n) => {
405
410
  if (n.layout && n.layout.width > 0) {
406
- nodes.push(Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width))
411
+ const geometry = Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width)
412
+ nodes.push(geometry)
413
+ nodeRows.push([String(n.id ?? nodes.length - 1), (n.type || '?') + (n.props?.testID ? '#' + n.props.testID : ''), geometry])
407
414
  }
408
415
  noteLoading(
409
416
  n.props?.accessibilityState,
@@ -452,7 +459,7 @@ export async function waitForSootsimIdle({
452
459
  pixelFrameToken = token
453
460
  }
454
461
  }
455
- return { layout: nodes.join(';'), nativeHierarchy, screenPixels, animating, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
462
+ return { layout: nodes.join(';'), nodeRows, nativeHierarchy, screenPixels, animating, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
456
463
  }
457
464
 
458
465
  // how long generic background network is allowed to keep us waiting AFTER
@@ -468,6 +475,27 @@ export async function waitForSootsimIdle({
468
475
  const networkQuietGraceMs = 1200
469
476
  let lastNativeHierarchy = null
470
477
  let lastLayout = ''
478
+ let lastNodeRows = []
479
+ // what moved between the last two differing polls, bounded; names the
480
+ // nodes behind "layout changed" without keeping any poll history.
481
+ let lastLayoutChange = null
482
+ const describeLayoutChange = (before, after) => {
483
+ const previous = new Map(before.map(([key, label, geometry]) => [key, [label, geometry]]))
484
+ const moved = []
485
+ const added = []
486
+ const short = (label, key) => String(label).slice(0, 48) + ' [' + String(key).slice(0, 24) + ']'
487
+ for (const [key, label, geometry] of after) {
488
+ const was = previous.get(key)
489
+ previous.delete(key)
490
+ if (!was) added.push(short(label, key) + ' ' + geometry)
491
+ else if (was[1] !== geometry) moved.push(short(label, key) + ' ' + was[1] + '->' + geometry)
492
+ }
493
+ const removed = [...previous].map(([key, [label, geometry]]) => short(label, key) + ' ' + geometry)
494
+ return {
495
+ moved: moved.length, added: added.length, removed: removed.length,
496
+ movedSample: moved.slice(0, 3), addedSample: added.slice(0, 3), removedSample: removed.slice(0, 3),
497
+ }
498
+ }
471
499
  let lastScreenPixels = null
472
500
  let screenChangedPolls = 0
473
501
  let lastRequestTotal = -1
@@ -546,7 +574,10 @@ export async function waitForSootsimIdle({
546
574
  if (snapshot.layoutDirty) dirtyPolls++
547
575
  if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
548
576
  if (snapshot.webViewStarting) webViewStartingPolls++
549
- if (polls > 1 && snapshot.layout !== lastLayout) layoutChangedPolls++
577
+ if (polls > 1 && snapshot.layout !== lastLayout) {
578
+ layoutChangedPolls++
579
+ lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
580
+ }
550
581
  const screenChanged = paintStill && !screenUnchanged(snapshot.screenPixels, lastScreenPixels)
551
582
  if (polls > 1 && screenChanged) screenChangedPolls++
552
583
  const strictOk =
@@ -613,6 +644,7 @@ export async function waitForSootsimIdle({
613
644
  }
614
645
  lastNativeHierarchy = snapshot.nativeHierarchy
615
646
  lastLayout = snapshot.layout
647
+ lastNodeRows = snapshot.nodeRows
616
648
  lastScreenPixels = snapshot.screenPixels
617
649
  lastRequestTotal = snapshot.requestTotal
618
650
  lastAppCommits = snapshot.appCommits
@@ -659,6 +691,7 @@ export async function waitForSootsimIdle({
659
691
  blockedBy:
660
692
  blockers.join(', ') + ' over ' + polls + ' polls (layout changed ' + layoutChangedPolls +
661
693
  'x, layoutDirty ' + dirtyPolls + 'x, animating ' + animatingPolls + 'x, webViewStarting ' + webViewStartingPolls + 'x, screen changed ' + screenChangedPolls + 'x)' +
694
+ (lastLayoutChange ? '; last layout change ' + JSON.stringify(lastLayoutChange) : '') +
662
695
  (activityHost ? '; tenant activity ' + JSON.stringify({ initial: initialActivity, current: activityHost.getRenderActivity?.(), busySeen, idleSince, transitionEndedAt, startedAt: start }) : ''),
663
696
  }
664
697
  } finally {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } 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.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -10685,7 +10685,7 @@ function constantValue(node) {
10685
10685
  }
10686
10686
  return null;
10687
10687
  }
10688
- var import_node_child_process5, import_node_crypto5, import_node_fs5, import_node_path7, OBJC_IMPORT_VERSION, NATIVE_GRAPH_SDK_VERSION, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, ROUNDS, IOS_SDK_ID, headerFiles, MISSING_IMPORT;
10688
+ var import_node_child_process5, import_node_crypto5, import_node_fs5, import_node_path7, OBJC_IMPORT_VERSION, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, ROUNDS, IOS_SDK_ID, headerFiles, MISSING_IMPORT;
10689
10689
  var init_swift_objc_standin = __esm({
10690
10690
  "src/swift-objc-standin.ts"() {
10691
10691
  "use strict";
@@ -10698,6 +10698,8 @@ var init_swift_objc_standin = __esm({
10698
10698
  init_swift_toolchain();
10699
10699
  OBJC_IMPORT_VERSION = "4";
10700
10700
  NATIVE_GRAPH_SDK_VERSION = "27.1";
10701
+ WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
10702
+ WASI_EMULATION_FLAGS = WASI_EMULATION.map((name3) => `-D${name3}`);
10701
10703
  NATIVE_GRAPH_INPUTS = {
10702
10704
  sdk: NATIVE_GRAPH_SDK_VERSION,
10703
10705
  settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
@@ -10951,9 +10953,20 @@ function settingDefines(call, tool) {
10951
10953
  }
10952
10954
  const body = call.slice(start, index - 1);
10953
10955
  for (const match of body.matchAll(
10954
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
10955
- ))
10956
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
10956
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
10957
+ )) {
10958
+ const name3 = match[1];
10959
+ defines.push(
10960
+ match[2] === void 0 ? name3 : `${name3}=${match[2].replace(/\\(.)/g, (_, escape) => {
10961
+ const value = swiftEscapes[escape];
10962
+ if (value === void 0)
10963
+ throw new Error(
10964
+ `Unsupported escape \\${escape} in the value of macro ${name3}`
10965
+ );
10966
+ return value;
10967
+ })}`
10968
+ );
10969
+ }
10957
10970
  }
10958
10971
  return defines;
10959
10972
  }
@@ -11164,7 +11177,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
11164
11177
  const targets = swiftManifestTargets(manifest, resourcePaths);
11165
11178
  return targets.length === 1 && targets[0].executable && targets[0].path === "." && targets[0].languageMode === 5 && !targets[0].mainActorIsolation && !targets[0].defines?.length && !targets[0].linkedLibraries?.length && !targets[0].cxxInterop && !swiftManifestCxxLanguageStandard(manifest) ? [] : targets;
11166
11179
  }
11167
- var MANIFEST_DECLARATIONS, SWIFT_NATIVE_SOURCE_EXTENSIONS, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
11180
+ var MANIFEST_DECLARATIONS, SWIFT_NATIVE_SOURCE_EXTENSIONS, swiftEscapes, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
11168
11181
  var init_swift_package = __esm({
11169
11182
  "src/swift-package.ts"() {
11170
11183
  "use strict";
@@ -11197,6 +11210,14 @@ var init_swift_package = __esm({
11197
11210
  ".inl",
11198
11211
  ".modulemap"
11199
11212
  ];
11213
+ swiftEscapes = {
11214
+ "\\": "\\",
11215
+ '"': '"',
11216
+ "'": "'",
11217
+ n: "\n",
11218
+ r: "\r",
11219
+ t: " "
11220
+ };
11200
11221
  OBJC_RESOURCE_ACCESSOR_HEADER = "resource_bundle_accessor.h";
11201
11222
  OBJC_RESOURCE_ACCESSOR_BODY = "resource_bundle_accessor.m";
11202
11223
  }
@@ -14675,6 +14696,7 @@ ${[
14675
14696
  "-fobjc-exceptions",
14676
14697
  "-fexceptions",
14677
14698
  "-fwasm-exceptions",
14699
+ ...WASI_EMULATION_FLAGS,
14678
14700
  "-fobjc-arc",
14679
14701
  "-fblocks",
14680
14702
  "-F",
@@ -15466,7 +15488,7 @@ var init_swift_compile = __esm({
15466
15488
  `;
15467
15489
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
15468
15490
  MULTI_MANIFEST_VERSION = 40;
15469
- compilerSourceDigest = true ? "6ea8d8a06ae707693b5fbb43a21e9d705ee8a19779051d47b05c4bbaeb39fb6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
15491
+ compilerSourceDigest = true ? "9c8bf514e9d972c32ef441bda4effae79610e2c5add1faca769349803321528f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
15470
15492
  DIRECTIVE = /^[ \t]*#(?:if|elseif)\b/;
15471
15493
  OS_IOS = /\b(?:os\(\s*iOS\s*\)|targetEnvironment\(\s*simulator\s*\))/g;
15472
15494
  OBJC_ATTRIBUTE = /^@(?:objcMembers\b|objc\b(?:(\s*)\(([^()]*)\))?|IBAction\b)/;
@@ -24830,6 +24852,7 @@ ${roots.map((file) => ` header "${file}"
24830
24852
  TRIPLE,
24831
24853
  "--sysroot",
24832
24854
  sysroot,
24855
+ ...WASI_EMULATION_FLAGS,
24833
24856
  "-fsyntax-only",
24834
24857
  "-I",
24835
24858
  include,
@@ -24896,6 +24919,7 @@ ${roots.map((file) => ` header "${file}"
24896
24919
  TRIPLE,
24897
24920
  "--sysroot",
24898
24921
  sysroot,
24922
+ ...WASI_EMULATION_FLAGS,
24899
24923
  "-fsyntax-only",
24900
24924
  "-I",
24901
24925
  include,
@@ -25511,7 +25535,7 @@ function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set()
25511
25535
  import_node_fs21.default.rmSync(modules, { recursive: true, force: true });
25512
25536
  }
25513
25537
  }
25514
- var import_node_child_process12, import_node_crypto13, import_node_fs21, import_node_path22, TRIPLE, WASI_EMULATION, cacheDir4, SWIFT_STANDINS_DIR, key, digests, files, OBJC, identChar, RUST_TARGET, UNSEARCHED, built;
25538
+ var import_node_child_process12, import_node_crypto13, import_node_fs21, import_node_path22, TRIPLE, cacheDir4, SWIFT_STANDINS_DIR, key, digests, files, OBJC, identChar, RUST_TARGET, UNSEARCHED, built;
25515
25539
  var init_swift_standins = __esm({
25516
25540
  "src/swift-standins.ts"() {
25517
25541
  "use strict";
@@ -25531,7 +25555,6 @@ var init_swift_standins = __esm({
25531
25555
  init_swift_standin_emit();
25532
25556
  init_swift_toolchain();
25533
25557
  TRIPLE = "wasm32-unknown-wasip1";
25534
- WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
25535
25558
  cacheDir4 = import_node_path22.default.join(cacheDir(), "swift-standins");
25536
25559
  SWIFT_STANDINS_DIR = "__standins__";
25537
25560
  key = (...parts) => (0, import_node_crypto13.createHash)("sha256").update(parts.join("\0")).digest("hex").slice(0, 32);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1901,6 +1901,9 @@ async function waitForSootsimIdle({
1901
1901
  hierarchy = null
1902
1902
  }
1903
1903
  const nodes = []
1904
+ // identity beside each geometry entry, from the rows already read,
1905
+ // so a changed layout can name the nodes that moved.
1906
+ const nodeRows = []
1904
1907
  const LOADING_TEXT_REGEX = /^(creating webview|loading html|fetching bundle|waiting for first render|starting preview|loading simulator|fetching app code|waiting for native preview|starting design|loading canvas|fetching screens|painting the canvas|waiting for webview|waiting for preview|waiting for canvas|preview stalled)/i
1905
1908
  const noteLoading = (state, text) => {
1906
1909
  if (state?.busy === true) {
@@ -1921,7 +1924,9 @@ async function waitForSootsimIdle({
1921
1924
  // subtree count by their own layout; the rest of the screen
1922
1925
  // still catches the fling.
1923
1926
  const abs = n.backgroundPlayback ? layout : n.absolute || n.absolutePosition || layout
1924
- nodes.push(Math.round(abs.x) + ',' + Math.round(abs.y) + ',' + Math.round(layout.width))
1927
+ const geometry = Math.round(abs.x) + ',' + Math.round(abs.y) + ',' + Math.round(layout.width)
1928
+ nodes.push(geometry)
1929
+ nodeRows.push([String(n.nodeId ?? nodes.length - 1), (n.type || '?') + (n.testId ? '#' + n.testId : ''), geometry])
1925
1930
  }
1926
1931
  noteLoading(
1927
1932
  n.accessibilityState,
@@ -1933,7 +1938,9 @@ async function waitForSootsimIdle({
1933
1938
  if (root) {
1934
1939
  const walk = (n) => {
1935
1940
  if (n.layout && n.layout.width > 0) {
1936
- nodes.push(Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width))
1941
+ const geometry = Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width)
1942
+ nodes.push(geometry)
1943
+ nodeRows.push([String(n.id ?? nodes.length - 1), (n.type || '?') + (n.props?.testID ? '#' + n.props.testID : ''), geometry])
1937
1944
  }
1938
1945
  noteLoading(
1939
1946
  n.props?.accessibilityState,
@@ -1982,7 +1989,7 @@ async function waitForSootsimIdle({
1982
1989
  pixelFrameToken = token
1983
1990
  }
1984
1991
  }
1985
- return { layout: nodes.join(';'), nativeHierarchy, screenPixels, animating, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
1992
+ return { layout: nodes.join(';'), nodeRows, nativeHierarchy, screenPixels, animating, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
1986
1993
  }
1987
1994
 
1988
1995
  // how long generic background network is allowed to keep us waiting AFTER
@@ -1998,6 +2005,27 @@ async function waitForSootsimIdle({
1998
2005
  const networkQuietGraceMs = 1200
1999
2006
  let lastNativeHierarchy = null
2000
2007
  let lastLayout = ''
2008
+ let lastNodeRows = []
2009
+ // what moved between the last two differing polls, bounded; names the
2010
+ // nodes behind "layout changed" without keeping any poll history.
2011
+ let lastLayoutChange = null
2012
+ const describeLayoutChange = (before, after) => {
2013
+ const previous = new Map(before.map(([key, label, geometry]) => [key, [label, geometry]]))
2014
+ const moved = []
2015
+ const added = []
2016
+ const short = (label, key) => String(label).slice(0, 48) + ' [' + String(key).slice(0, 24) + ']'
2017
+ for (const [key, label, geometry] of after) {
2018
+ const was = previous.get(key)
2019
+ previous.delete(key)
2020
+ if (!was) added.push(short(label, key) + ' ' + geometry)
2021
+ else if (was[1] !== geometry) moved.push(short(label, key) + ' ' + was[1] + '->' + geometry)
2022
+ }
2023
+ const removed = [...previous].map(([key, [label, geometry]]) => short(label, key) + ' ' + geometry)
2024
+ return {
2025
+ moved: moved.length, added: added.length, removed: removed.length,
2026
+ movedSample: moved.slice(0, 3), addedSample: added.slice(0, 3), removedSample: removed.slice(0, 3),
2027
+ }
2028
+ }
2001
2029
  let lastScreenPixels = null
2002
2030
  let screenChangedPolls = 0
2003
2031
  let lastRequestTotal = -1
@@ -2076,7 +2104,10 @@ async function waitForSootsimIdle({
2076
2104
  if (snapshot.layoutDirty) dirtyPolls++
2077
2105
  if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
2078
2106
  if (snapshot.webViewStarting) webViewStartingPolls++
2079
- if (polls > 1 && snapshot.layout !== lastLayout) layoutChangedPolls++
2107
+ if (polls > 1 && snapshot.layout !== lastLayout) {
2108
+ layoutChangedPolls++
2109
+ lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
2110
+ }
2080
2111
  const screenChanged = paintStill && !screenUnchanged(snapshot.screenPixels, lastScreenPixels)
2081
2112
  if (polls > 1 && screenChanged) screenChangedPolls++
2082
2113
  const strictOk =
@@ -2143,6 +2174,7 @@ async function waitForSootsimIdle({
2143
2174
  }
2144
2175
  lastNativeHierarchy = snapshot.nativeHierarchy
2145
2176
  lastLayout = snapshot.layout
2177
+ lastNodeRows = snapshot.nodeRows
2146
2178
  lastScreenPixels = snapshot.screenPixels
2147
2179
  lastRequestTotal = snapshot.requestTotal
2148
2180
  lastAppCommits = snapshot.appCommits
@@ -2189,6 +2221,7 @@ async function waitForSootsimIdle({
2189
2221
  blockedBy:
2190
2222
  blockers.join(', ') + ' over ' + polls + ' polls (layout changed ' + layoutChangedPolls +
2191
2223
  'x, layoutDirty ' + dirtyPolls + 'x, animating ' + animatingPolls + 'x, webViewStarting ' + webViewStartingPolls + 'x, screen changed ' + screenChangedPolls + 'x)' +
2224
+ (lastLayoutChange ? '; last layout change ' + JSON.stringify(lastLayoutChange) : '') +
2192
2225
  (activityHost ? '; tenant activity ' + JSON.stringify({ initial: initialActivity, current: activityHost.getRenderActivity?.(), busySeen, idleSince, transitionEndedAt, startedAt: start }) : ''),
2193
2226
  }
2194
2227
  } finally {
@@ -2322,7 +2355,7 @@ var import_node_module = require("node:module");
2322
2355
  var import_node_path2 = require("node:path");
2323
2356
 
2324
2357
  // runtime-companion.json
2325
- var runtime_companion_default = { abi: 1, sha256: "64b30b73101e38ea8d4aaa3e07f22bdedd2736a7d1f0f21f9229f2f4daf45756", file: "node/cli-64b30b73101e38ea8d4aaa3e07f22bdedd2736a7d1f0f21f9229f2f4daf45756.cjs" };
2358
+ var runtime_companion_default = { abi: 1, sha256: "24766e3afc21d3c7b319b6d6db0422d93f64ecd0af7147a8ef16d16b5cb4e9a8", file: "node/cli-24766e3afc21d3c7b319b6d6db0422d93f64ecd0af7147a8ef16d16b5cb4e9a8.cjs" };
2326
2359
 
2327
2360
  // src/runtime-assets.ts
2328
2361
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -10804,6 +10804,8 @@ var import_node_fs5 = __toESM(require("node:fs"), 1);
10804
10804
  var import_node_path7 = __toESM(require("node:path"), 1);
10805
10805
  var OBJC_IMPORT_VERSION = "4";
10806
10806
  var NATIVE_GRAPH_SDK_VERSION = "27.1";
10807
+ var WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
10808
+ var WASI_EMULATION_FLAGS = WASI_EMULATION.map((name3) => `-D${name3}`);
10807
10809
  var NATIVE_GRAPH_INPUTS = {
10808
10810
  sdk: NATIVE_GRAPH_SDK_VERSION,
10809
10811
  settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
@@ -11594,6 +11596,14 @@ function clangMacroSetting(macro) {
11594
11596
  const [name3, ...value] = macro.split("=");
11595
11597
  return value.length === 0 ? `.define(${JSON.stringify(name3)})` : `.define(${JSON.stringify(name3)}, to: ${JSON.stringify(value.join("="))})`;
11596
11598
  }
11599
+ var swiftEscapes = {
11600
+ "\\": "\\",
11601
+ '"': '"',
11602
+ "'": "'",
11603
+ n: "\n",
11604
+ r: "\r",
11605
+ t: " "
11606
+ };
11597
11607
  function settingDefines(call, tool) {
11598
11608
  const defines = [];
11599
11609
  for (const open of call.matchAll(new RegExp(`\\b${tool}Settings\\s*:\\s*\\[`, "g"))) {
@@ -11610,9 +11620,20 @@ function settingDefines(call, tool) {
11610
11620
  }
11611
11621
  const body = call.slice(start, index - 1);
11612
11622
  for (const match of body.matchAll(
11613
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
11614
- ))
11615
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
11623
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
11624
+ )) {
11625
+ const name3 = match[1];
11626
+ defines.push(
11627
+ match[2] === void 0 ? name3 : `${name3}=${match[2].replace(/\\(.)/g, (_, escape) => {
11628
+ const value = swiftEscapes[escape];
11629
+ if (value === void 0)
11630
+ throw new Error(
11631
+ `Unsupported escape \\${escape} in the value of macro ${name3}`
11632
+ );
11633
+ return value;
11634
+ })}`
11635
+ );
11636
+ }
11616
11637
  }
11617
11638
  return defines;
11618
11639
  }
@@ -12662,7 +12683,7 @@ var EXECUTABLE_LINK_FLAGS = ` "-Xclang-linker", "-O0",
12662
12683
  `;
12663
12684
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12664
12685
  var MULTI_MANIFEST_VERSION = 40;
12665
- var compilerSourceDigest = true ? "6ea8d8a06ae707693b5fbb43a21e9d705ee8a19779051d47b05c4bbaeb39fb6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12686
+ var compilerSourceDigest = true ? "9c8bf514e9d972c32ef441bda4effae79610e2c5add1faca769349803321528f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12666
12687
  function swiftArtifactHash(input, release, moduleRoot) {
12667
12688
  const hash2 = (0, import_node_crypto7.createHash)("sha256");
12668
12689
  hash2.update(`swift-compile
@@ -17580,6 +17601,7 @@ ${[
17580
17601
  "-fobjc-exceptions",
17581
17602
  "-fexceptions",
17582
17603
  "-fwasm-exceptions",
17604
+ ...WASI_EMULATION_FLAGS,
17583
17605
  "-fobjc-arc",
17584
17606
  "-fblocks",
17585
17607
  "-F",
@@ -23365,7 +23387,6 @@ function stripDefaults(decl) {
23365
23387
 
23366
23388
  // src/swift-standins.ts
23367
23389
  var TRIPLE = "wasm32-unknown-wasip1";
23368
- var WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
23369
23390
  var cacheDir4 = import_node_path22.default.join(cacheDir(), "swift-standins");
23370
23391
  var SWIFT_STANDINS_DIR = "__standins__";
23371
23392
  function exec(file, args, cwd) {
@@ -23927,6 +23948,7 @@ ${roots.map((file) => ` header "${file}"
23927
23948
  TRIPLE,
23928
23949
  "--sysroot",
23929
23950
  sysroot,
23951
+ ...WASI_EMULATION_FLAGS,
23930
23952
  "-fsyntax-only",
23931
23953
  "-I",
23932
23954
  include,
@@ -23993,6 +24015,7 @@ ${roots.map((file) => ` header "${file}"
23993
24015
  TRIPLE,
23994
24016
  "--sysroot",
23995
24017
  sysroot,
24018
+ ...WASI_EMULATION_FLAGS,
23996
24019
  "-fsyntax-only",
23997
24020
  "-I",
23998
24021
  include,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bundleGlobalFooter.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;