peachsim 0.1.2696 → 0.1.2698

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 (127) hide show
  1. package/cli/commands/cpu-profile.ts +8 -3
  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 +34 -13
  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 +1 -1
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/esm-chunks/{acorn-33L44Q4G.mjs → acorn-7ANT3PIZ.mjs} +3 -3
  28. package/dist-lib/esm-chunks/{chunk-GZFA5D3Q.mjs → chunk-2MVSHYUC.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-NGZFTDYP.mjs → chunk-44JDFZIT.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-HLFIF2JL.mjs → chunk-6BZPT5XV.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-UGOQQDLQ.mjs → chunk-7UAIHHCK.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-2QTTTQ6Q.mjs → chunk-AAV25MQX.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-OLDR4GIB.mjs → chunk-BG6UOMQO.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-VXEOHDT6.mjs → chunk-C6S3HVDL.mjs} +12 -11
  35. package/dist-lib/esm-chunks/{chunk-UXO4XM2V.mjs → chunk-D467DXG5.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-7S26WEU7.mjs → chunk-DE6RUKNP.mjs} +4 -4
  37. package/dist-lib/esm-chunks/{chunk-4OWILJ5U.mjs → chunk-EZGDKM5P.mjs} +2 -2
  38. package/dist-lib/esm-chunks/{chunk-YHVCPE52.mjs → chunk-F2GKSGRG.mjs} +20 -16
  39. package/dist-lib/esm-chunks/{chunk-JZ3AOJXZ.mjs → chunk-GKK6FLOL.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-FTUVLFH5.mjs → chunk-NC7UNKIP.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-T7OMNQFJ.mjs → chunk-NCZPHRKV.mjs} +6 -6
  42. package/dist-lib/esm-chunks/{chunk-M4KONDPY.mjs → chunk-PJHFUCYT.mjs} +5 -5
  43. package/dist-lib/esm-chunks/{chunk-F73YMQQV.mjs → chunk-PSQC5WKR.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-WYJUQVRL.mjs → chunk-REJJ3HMS.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-7K4XPIM6.mjs → chunk-RSGVCBJT.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-HBDFX7RG.mjs → chunk-TF6FCBF6.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-PQWODX6Z.mjs → chunk-VBLMISK7.mjs} +3 -3
  48. package/dist-lib/esm-chunks/{chunk-SRZQRJUV.mjs → chunk-VME2G564.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-KEZZHH3S.mjs → chunk-XFV3YJ5D.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-THAWWMBX.mjs → chunk-YJWDRGQ5.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{chunk-PNT3YGH7.mjs → chunk-ZFF53YGD.mjs} +1 -1
  52. package/dist-lib/esm-chunks/{metro-layout-parser-P4D4GLL3.mjs → metro-layout-parser-KAC43URG.mjs} +3 -3
  53. package/dist-lib/esm-chunks/{swift-package-prebuilt-ACJH76HW.mjs → swift-package-prebuilt-LRO6YCF6.mjs} +12 -12
  54. package/dist-lib/esm-chunks/{swift-sdk-app-module-6INR2KSP.mjs → swift-sdk-app-module-3Y4K2C6R.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-MC23YHQV.mjs → swift-sdk-image-HMBVW3TD.mjs} +16 -16
  56. package/dist-lib/esm-chunks/{swift-sdk-image-producer-POXXKSU6.mjs → swift-sdk-image-producer-6AL2OUG3.mjs} +22 -6
  57. package/dist-lib/expo-swift-bundle.cjs +34 -13
  58. package/dist-lib/expo-swift-metadata.cjs +1 -1
  59. package/dist-lib/expo-swift-metadata.mjs +7 -7
  60. package/dist-lib/home-paths.cjs +1 -1
  61. package/dist-lib/host/bridge-host.cjs +213 -15
  62. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  63. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  64. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  65. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  66. package/dist-lib/host/websocket-proxy.cjs +1 -1
  67. package/dist-lib/index.cjs +1 -1
  68. package/dist-lib/kotlin-host.cjs +1 -1
  69. package/dist-lib/menu.cjs +1 -1
  70. package/dist-lib/menu.mjs +3 -3
  71. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  72. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  73. package/dist-lib/metro-production-bundle.cjs +1 -1
  74. package/dist-lib/metro-production-bundle.mjs +4 -4
  75. package/dist-lib/native-app-identity-project.cjs +1 -1
  76. package/dist-lib/native-app-identity-project.mjs +15 -15
  77. package/dist-lib/native-app-identity.cjs +1 -1
  78. package/dist-lib/native-app-identity.mjs +6 -6
  79. package/dist-lib/native-firebase-metadata.cjs +1 -1
  80. package/dist-lib/native-firebase-metadata.mjs +3 -3
  81. package/dist-lib/pdfium-raster.cjs +1 -1
  82. package/dist-lib/pdfium-raster.mjs +2 -2
  83. package/dist-lib/plist.cjs +1 -1
  84. package/dist-lib/plist.mjs +3 -3
  85. package/dist-lib/profiles.cjs +1 -1
  86. package/dist-lib/public-brand.cjs +1 -1
  87. package/dist-lib/public-origins-lib-esm.json +85 -85
  88. package/dist-lib/public-origins-lib.json +64 -64
  89. package/dist-lib/react-native-host-modules.cjs +1 -1
  90. package/dist-lib/react-native-host-modules.mjs +2 -2
  91. package/dist-lib/reap-browser.cjs +1 -1
  92. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  93. package/dist-lib/sdk.cjs +1 -1
  94. package/dist-lib/sdk.mjs +8 -8
  95. package/dist-lib/skills.cjs +213 -15
  96. package/dist-lib/swift-compile.cjs +30 -9
  97. package/dist-lib/swift-compile.mjs +12 -12
  98. package/dist-lib/swift-package.cjs +1 -1
  99. package/dist-lib/swift-package.mjs +3 -3
  100. package/dist-lib/swift-submit.cjs +1 -1
  101. package/dist-lib/swift-submit.mjs +6 -6
  102. package/dist-lib/swift-svg-raster.cjs +1 -1
  103. package/dist-lib/swift-svg-raster.mjs +2 -2
  104. package/dist-lib/swift-toolchain.cjs +1 -1
  105. package/dist-lib/swift.cjs +1 -1
  106. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  108. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  109. package/dist-lib/vendor/acorn.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/stream-json.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase.cjs +1 -1
  117. package/dist-lib/vendor/terser.cjs +1 -1
  118. package/dist-lib/vendor/valibot.cjs +1 -1
  119. package/dist-lib/vendor/ws.cjs +1 -1
  120. package/dist-lib/vendor/zod.cjs +1 -1
  121. package/dist-lib/worklet-executable.cjs +1 -1
  122. package/dist-lib/worklet-executable.mjs +3 -3
  123. package/package.json +1 -1
  124. package/src/one-native-controls-package.ts +209 -1
  125. package/src/swift-compile.ts +10 -2
  126. package/src/swift-sdk-image-producer.ts +17 -1
  127. package/src/swift-sdk-surface.ts +6 -4
@@ -358,6 +358,10 @@ async function runHostCpuProfile(
358
358
  )
359
359
  const bridge = createBridgeFromParsed(parsed)
360
360
  try {
361
+ const nativeCompositor = await evalInBridge<boolean>(
362
+ bridge,
363
+ 'globalThis.__peachNativeCompositor === true',
364
+ )
361
365
  const call = (action: 'start' | 'stop') =>
362
366
  evalInBridge<{ error?: string; name: string; profile?: any; url: string }[]>(
363
367
  bridge,
@@ -430,9 +434,10 @@ async function runHostCpuProfile(
430
434
  .filter((target) => target.profilePath !== null)
431
435
  .map((target) => target.baseRole),
432
436
  )
433
- const missingRoles = ['shell', 'compositor', 'tenant'].filter(
434
- (role) => !capturedRoles.has(role),
435
- )
437
+ const requiredRoles = nativeCompositor
438
+ ? ['shell', 'tenant']
439
+ : ['shell', 'compositor', 'tenant']
440
+ const missingRoles = requiredRoles.filter((role) => !capturedRoles.has(role))
436
441
  const complete = missingRoles.length === 0
437
442
  const manifestPath = outputPath.replace(/(\.[^./]+)?$/, '.manifest.json')
438
443
  writeFileSync(
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-F73YMQQV.mjs";
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-PSQC5WKR.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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-PQWODX6Z.mjs";
21
- import "./esm-chunks/chunk-2QTTTQ6Q.mjs";
22
- import "./esm-chunks/chunk-UXO4XM2V.mjs";
23
- import "./esm-chunks/chunk-F73YMQQV.mjs";
20
+ } from "./esm-chunks/chunk-VBLMISK7.mjs";
21
+ import "./esm-chunks/chunk-AAV25MQX.mjs";
22
+ import "./esm-chunks/chunk-D467DXG5.mjs";
23
+ import "./esm-chunks/chunk-PSQC5WKR.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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-2QTTTQ6Q.mjs";
17
- import "./esm-chunks/chunk-F73YMQQV.mjs";
16
+ } from "./esm-chunks/chunk-AAV25MQX.mjs";
17
+ import "./esm-chunks/chunk-PSQC5WKR.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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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;
@@ -10105,7 +10105,7 @@ var init_swift_objc_sdk_tree = __esm({
10105
10105
 
10106
10106
  // src/swift-compiler-digest.ts
10107
10107
  function swiftArchiveCompilerDigestValue() {
10108
- return true ? "6ec73cd2b0d71ddddeeda4cb01bd600a3ff0246ad53ade82c4cbe80c9b397e9b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10108
+ return true ? "c859bf0cda284e3ef886fddd7e91af8b2be914a763a11f9625ec170c03e60f70" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10109
10109
  }
10110
10110
  var import_node_crypto9, import_node_fs20, import_node_path16, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
10111
10111
  var init_swift_compiler_digest = __esm({
@@ -28887,18 +28887,19 @@ function* swiftConditionalLines(contents2, available2, defines) {
28887
28887
  };
28888
28888
  }
28889
28889
  }
28890
- function swiftImportNames(contents2, available2) {
28891
- if (available2 === void 0) {
28890
+ function swiftImportNames(contents2, available2, defines) {
28891
+ if (available2 === void 0 && defines === void 0) {
28892
28892
  const cached2 = importNamesCache.get(contents2);
28893
28893
  if (cached2 !== void 0) return cached2;
28894
28894
  }
28895
28895
  const names = [];
28896
- for (const { line, active } of swiftConditionalLines(contents2, available2)) {
28897
- if (available2 && active !== true) continue;
28896
+ for (const { line, active } of swiftConditionalLines(contents2, available2, defines)) {
28897
+ if (available2 ? active !== true : defines !== void 0 && active === false) continue;
28898
28898
  const name3 = SWIFT_IMPORT.exec(line)?.[1];
28899
28899
  if (name3) names.push(name3);
28900
28900
  }
28901
- if (available2 === void 0) importNamesCache.set(contents2, names);
28901
+ if (available2 === void 0 && defines === void 0)
28902
+ importNamesCache.set(contents2, names);
28902
28903
  return names;
28903
28904
  }
28904
28905
  function swiftPeachModules(moduleRoot) {
@@ -31217,6 +31218,9 @@ async function produceSwiftSdkImage(input) {
31217
31218
  const resultFile = import_node_path42.default.join(directory2, "result.json");
31218
31219
  if (request.key !== input.key || request.cache !== swiftCacheDir())
31219
31220
  throw new Error(`Swift SDK producer identity mismatch: ${directory2}`);
31221
+ const waitStarted = Date.now();
31222
+ let lastLoggedSession = null;
31223
+ let lastHeartbeat = waitStarted;
31220
31224
  for (; ; ) {
31221
31225
  if ((0, import_node_fs44.existsSync)(resultFile)) {
31222
31226
  const result = JSON.parse((0, import_node_fs44.readFileSync)(resultFile, "utf8"));
@@ -31233,6 +31237,19 @@ async function produceSwiftSdkImage(input) {
31233
31237
  `Swift SDK producer ${status.session} exited without a result; inspect its session before retrying`
31234
31238
  );
31235
31239
  }
31240
+ const now = Date.now();
31241
+ if (status.session !== lastLoggedSession) {
31242
+ lastLoggedSession = status.session;
31243
+ lastHeartbeat = now;
31244
+ console.error(
31245
+ `[swift-sdk-image] waiting for producer ${status.session} (key ${input.key})`
31246
+ );
31247
+ } else if (now - lastHeartbeat >= 6e4) {
31248
+ lastHeartbeat = now;
31249
+ console.error(
31250
+ `[swift-sdk-image] still waiting for producer ${status.session} (${Math.round((now - waitStarted) / 1e3)}s, key ${input.key})`
31251
+ );
31252
+ }
31236
31253
  } else if (Date.now() - request.created > 6e4) {
31237
31254
  throw new Error(`Swift SDK producer launch is unconfirmed: ${directory2}`);
31238
31255
  }
@@ -31269,7 +31286,7 @@ mv "$1.tmp" "$1"
31269
31286
  shift
31270
31287
  export GIT_ALTERNATE_OBJECT_DIRECTORIES="$2/objects"
31271
31288
  set +e
31272
- env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
31289
+ env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
31273
31290
  status=$?
31274
31291
  if bun -e 'try { if (JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")).released !== true) process.exit(1) } catch { process.exit(1) }' "$4/cleanup.json"; then rm -rf "$2"; fi
31275
31292
  exit "$status"
@@ -36182,6 +36199,10 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
36182
36199
  (dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) || dependency.kind === "product" && dependency.package === "sootsim-swift" && OPTIONAL_FRAMEWORKS.has(dependency.name) ? [dependency.name] : []
36183
36200
  )
36184
36201
  );
36202
+ const targetDefines = target.defines ? /* @__PURE__ */ new Set([
36203
+ ...target.defines,
36204
+ ...!target.defines.includes(SWIFT_XCODE_BUILD_CONDITION) ? ["SWIFT_PACKAGE"] : []
36205
+ ]) : void 0;
36185
36206
  const checkNested = target.sources === void 0;
36186
36207
  for (const [file, contents2] of entriesByPrefix.get(prefix) ?? []) {
36187
36208
  if (file === "Package.swift") continue;
@@ -36195,7 +36216,7 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
36195
36216
  ))
36196
36217
  continue;
36197
36218
  if (checkNested && ownedByOtherTarget(file, target.name, prefix.length)) continue;
36198
- const imports2 = file.endsWith(".swift") ? swiftImportNames(contents2) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents2, ownsHeader) : [];
36219
+ const imports2 = file.endsWith(".swift") ? swiftImportNames(contents2, void 0, targetDefines) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents2, ownsHeader) : [];
36199
36220
  for (const name3 of imports2) {
36200
36221
  if (names.has(name3) && name3 !== target.name && !(target.dependencies !== void 0 && localNames.has(name3)))
36201
36222
  deps.add(name3);
@@ -41385,7 +41406,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
41385
41406
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
41386
41407
  MULTI_MANIFEST_VERSION = 76;
41387
41408
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
41388
- compilerSourceDigest = true ? "2f0e92a41cea167dcd058630b5e1bb8be9e6065b6ecac7d5033dee31e41af235" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41409
+ compilerSourceDigest = true ? "140cf62b1bce906e3986506681c9cc3d5ca49684745c587880d1351ff222adc4" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41389
41410
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
41390
41411
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
41391
41412
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -87478,7 +87499,7 @@ var init_swift_standin_digest = __esm({
87478
87499
  ];
87479
87500
  RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
87480
87501
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
87481
- STANDIN_SOURCE_DIGEST = true ? "eb41a8910268e1d920cf3b7d2c0b0d7eab40130790a4210508f2204cfd4ff7cd" : standinSourceDigest();
87502
+ STANDIN_SOURCE_DIGEST = true ? "7582348ab4506b5c59556e4d8db69c8b1a1a7d7309ea292134cc2e88012d0fb9" : standinSourceDigest();
87482
87503
  }
87483
87504
  });
87484
87505
 
@@ -106319,7 +106340,7 @@ var init_nitro_superset = __esm({
106319
106340
  init_nitroContract();
106320
106341
  init_swift_standin_digest();
106321
106342
  NITRO_SUPERSET_ENTRY_NAME = "superset";
106322
- NITRO_COMPILER_DIGEST = true ? "8fd2f7215e55aa582522e1674005a336817d62aeff69491ca6e357f0a1d9bc9a" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106343
+ NITRO_COMPILER_DIGEST = true ? "e93a9edf1e0cdd2f06c47edfa3e47bb04a80a82a4c1f7d19dbf15cf264ea6aad" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106323
106344
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
106324
106345
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
106325
106346
  published = /* @__PURE__ */ new Map();
@@ -107299,7 +107320,7 @@ var init_expo_eager_seam_contract = __esm({
107299
107320
 
107300
107321
  // src/expo-native-compiler-digest.ts
107301
107322
  function expoNativeCompilerDigestValue() {
107302
- return true ? "a1099e64dfd580b415191762a7bf1bb8e973a4fb8dd0e4e4be449062da9bbdcf" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107323
+ return true ? "551ce827e93081045bdac181c394a031f1ab3d8a19aa31255fa771c6729a0672" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107303
107324
  }
107304
107325
  var import_node_crypto81;
107305
107326
  var init_expo_native_compiler_digest = __esm({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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-7K4XPIM6.mjs";
14
- import "./esm-chunks/chunk-F73YMQQV.mjs";
13
+ } from "./esm-chunks/chunk-RSGVCBJT.mjs";
14
+ import "./esm-chunks/chunk-PSQC5WKR.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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-GZFA5D3Q.mjs";
35
- import "./esm-chunks/chunk-F73YMQQV.mjs";
34
+ } from "./esm-chunks/chunk-2MVSHYUC.mjs";
35
+ import "./esm-chunks/chunk-PSQC5WKR.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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-F73YMQQV.mjs";
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-PSQC5WKR.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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  sleep
4
- } from "./esm-chunks/chunk-HLFIF2JL.mjs";
4
+ } from "./esm-chunks/chunk-6BZPT5XV.mjs";
5
5
  import {
6
6
  isRnxScreenCapture
7
- } from "./esm-chunks/chunk-7K4XPIM6.mjs";
7
+ } from "./esm-chunks/chunk-RSGVCBJT.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-GZFA5D3Q.mjs";
17
+ } from "./esm-chunks/chunk-2MVSHYUC.mjs";
18
18
  import {
19
19
  rnxPublicBrand
20
- } from "./esm-chunks/chunk-WYJUQVRL.mjs";
20
+ } from "./esm-chunks/chunk-REJJ3HMS.mjs";
21
21
  import {
22
22
  isRecord
23
- } from "./esm-chunks/chunk-UXO4XM2V.mjs";
23
+ } from "./esm-chunks/chunk-D467DXG5.mjs";
24
24
  import {
25
25
  __publicField
26
- } from "./esm-chunks/chunk-F73YMQQV.mjs";
26
+ } from "./esm-chunks/chunk-PSQC5WKR.mjs";
27
27
 
28
28
  // src/backend-origin.ts
29
29
  var NativeURL = globalThis.URL;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isValidRuntimeVersion
4
- } from "./esm-chunks/chunk-KEZZHH3S.mjs";
4
+ } from "./esm-chunks/chunk-XFV3YJ5D.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./esm-chunks/chunk-OLDR4GIB.mjs";
7
+ } from "./esm-chunks/chunk-BG6UOMQO.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./esm-chunks/chunk-UXO4XM2V.mjs";
11
- import "./esm-chunks/chunk-F73YMQQV.mjs";
10
+ } from "./esm-chunks/chunk-D467DXG5.mjs";
11
+ import "./esm-chunks/chunk-PSQC5WKR.mjs";
12
12
 
13
13
  // src/nativeViewSourceContract.ts
14
14
  function isNativeViewSource(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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-FTUVLFH5.mjs";
26
- import "./chunk-F73YMQQV.mjs";
25
+ } from "./chunk-NC7UNKIP.mjs";
26
+ import "./chunk-PSQC5WKR.mjs";
27
27
  export {
28
28
  Node,
29
29
  Parser,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/launchMetadataContract.ts
4
4
  var LAUNCH_METADATA_QUERY_PARAM = "launchMetadata";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/sleep.ts
4
4
  function sleep(ms) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (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.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_CACHE_HOLD_MARKER,
4
4
  SWIFT_WASM_TRIPLE,
@@ -12,19 +12,19 @@ import {
12
12
  terminateProcessGroup,
13
13
  wasmThreadFlags,
14
14
  windowAdmission
15
- } from "./chunk-UGOQQDLQ.mjs";
15
+ } from "./chunk-7UAIHHCK.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-SRZQRJUV.mjs";
18
+ } from "./chunk-VME2G564.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-PNT3YGH7.mjs";
21
+ } from "./chunk-ZFF53YGD.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-UXO4XM2V.mjs";
24
+ } from "./chunk-D467DXG5.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-F73YMQQV.mjs";
27
+ } from "./chunk-PSQC5WKR.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -1541,18 +1541,19 @@ function* swiftConditionalLines(contents2, available, defines) {
1541
1541
  }
1542
1542
  }
1543
1543
  var importNamesCache = /* @__PURE__ */ new Map();
1544
- function swiftImportNames(contents2, available) {
1545
- if (available === void 0) {
1544
+ function swiftImportNames(contents2, available, defines) {
1545
+ if (available === void 0 && defines === void 0) {
1546
1546
  const cached = importNamesCache.get(contents2);
1547
1547
  if (cached !== void 0) return cached;
1548
1548
  }
1549
1549
  const names = [];
1550
- for (const { line, active } of swiftConditionalLines(contents2, available)) {
1551
- if (available && active !== true) continue;
1550
+ for (const { line, active } of swiftConditionalLines(contents2, available, defines)) {
1551
+ if (available ? active !== true : defines !== void 0 && active === false) continue;
1552
1552
  const name = SWIFT_IMPORT.exec(line)?.[1];
1553
1553
  if (name) names.push(name);
1554
1554
  }
1555
- if (available === void 0) importNamesCache.set(contents2, names);
1555
+ if (available === void 0 && defines === void 0)
1556
+ importNamesCache.set(contents2, names);
1556
1557
  return names;
1557
1558
  }
1558
1559
  function swiftPeachModules(moduleRoot) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-HBDFX7RG.mjs";
4
+ } from "./chunk-TF6FCBF6.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-OLDR4GIB.mjs";
7
+ } from "./chunk-BG6UOMQO.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-UXO4XM2V.mjs";
10
+ } from "./chunk-D467DXG5.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,9 +1,9 @@
1
- /*! peach v0.1.2696 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  killOrphanedProcessGroup,
4
4
  readProcessTable,
5
5
  terminateProcessGroup
6
- } from "./chunk-UGOQQDLQ.mjs";
6
+ } from "./chunk-7UAIHHCK.mjs";
7
7
 
8
8
  // src/swift-root-lock.ts
9
9
  import { AsyncLocalStorage } from "node:async_hooks";