peachsim 0.1.2440 → 0.1.2441

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 (135) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +8154 -8386
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-B27MTHKJ.mjs → acorn-FRQNHKFC.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-H6QIEJRC.mjs → chunk-4BZ3Z3IQ.mjs} +2 -2
  28. package/dist-lib/esm-chunks/{chunk-HIK3VREC.mjs → chunk-4HEUXQGM.mjs} +4 -4
  29. package/dist-lib/esm-chunks/{chunk-EATI62W3.mjs → chunk-4ZRMJ5YO.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-5CZQZKYU.mjs → chunk-6A6JEVIF.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-HP7DHONL.mjs → chunk-ABMB3G7I.mjs} +3 -3
  32. package/dist-lib/esm-chunks/{chunk-D4Z36DQQ.mjs → chunk-BAYRN7ZL.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-R5FNLCBO.mjs → chunk-DJMWTW2B.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-X6UKJ5AX.mjs → chunk-IRMC5BCX.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-6HFWZJ6C.mjs → chunk-NPLEBOWJ.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-ADE23YGG.mjs → chunk-O4EOBXAP.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-WQISIGIX.mjs → chunk-ORYS5CC4.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-PRZI3CFF.mjs → chunk-PMGJ7FLI.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-ZXNBC3PZ.mjs → chunk-QUBR7LHU.mjs} +2025 -1915
  40. package/dist-lib/esm-chunks/{chunk-4U7IGWPB.mjs → chunk-QYYJESMK.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-SJFNKW3W.mjs → chunk-VAQJQDWI.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-6JGALQD5.mjs → chunk-VCAJFWZD.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-RVMUQQWC.mjs → chunk-XO5GX4PI.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-QECVPSP3.mjs → chunk-ZCMAKWHN.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{metro-layout-parser-ZOI5PO4E.mjs → metro-layout-parser-AUAVE5VL.mjs} +3 -3
  46. package/dist-lib/expo-swift-bundle.cjs +5558 -5761
  47. package/dist-lib/expo-swift-metadata.cjs +1 -1
  48. package/dist-lib/expo-swift-metadata.mjs +7 -7
  49. package/dist-lib/home-paths.cjs +1 -1
  50. package/dist-lib/host/bridge-host.cjs +6305 -6490
  51. package/dist-lib/host/fetch-proxy-handler.cjs +13890 -13918
  52. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  53. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  54. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  55. package/dist-lib/host/websocket-proxy.cjs +1 -1
  56. package/dist-lib/index.cjs +1 -1
  57. package/dist-lib/jump-to-source-babel.cjs +1 -1
  58. package/dist-lib/jump-to-source-native.cjs +1 -1
  59. package/dist-lib/kotlin-host.cjs +1 -1
  60. package/dist-lib/menu.cjs +1 -1
  61. package/dist-lib/menu.mjs +3 -3
  62. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  63. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  64. package/dist-lib/metro-production-bundle.cjs +1 -1
  65. package/dist-lib/metro-production-bundle.mjs +4 -4
  66. package/dist-lib/native-app-identity-project.cjs +784 -536
  67. package/dist-lib/native-app-identity-project.mjs +543 -408
  68. package/dist-lib/native-app-identity.cjs +1 -1
  69. package/dist-lib/native-app-identity.mjs +6 -6
  70. package/dist-lib/native-firebase-metadata.cjs +1 -1
  71. package/dist-lib/native-firebase-metadata.mjs +3 -3
  72. package/dist-lib/pdfium-raster.cjs +1 -1
  73. package/dist-lib/pdfium-raster.mjs +2 -2
  74. package/dist-lib/plist.cjs +1 -1
  75. package/dist-lib/plist.mjs +3 -3
  76. package/dist-lib/profiles.cjs +1 -1
  77. package/dist-lib/public-brand.cjs +1 -1
  78. package/dist-lib/public-origins-lib-esm.json +72 -70
  79. package/dist-lib/public-origins-lib.json +176 -186
  80. package/dist-lib/react-native-host-modules.cjs +1 -1
  81. package/dist-lib/react-native-host-modules.mjs +2 -2
  82. package/dist-lib/reap-browser.cjs +1 -1
  83. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  84. package/dist-lib/sdk.cjs +1 -1
  85. package/dist-lib/sdk.mjs +7 -7
  86. package/dist-lib/skills.cjs +7542 -7739
  87. package/dist-lib/swift-compile.cjs +1967 -1919
  88. package/dist-lib/swift-compile.mjs +8 -8
  89. package/dist-lib/swift-package.cjs +1 -1
  90. package/dist-lib/swift-package.mjs +3 -3
  91. package/dist-lib/swift-submit.cjs +1 -1
  92. package/dist-lib/swift-submit.mjs +5 -5
  93. package/dist-lib/swift-toolchain.cjs +3 -1
  94. package/dist-lib/swift.cjs +1 -1
  95. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  96. package/dist-lib/vendor/acorn.cjs +1 -1
  97. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  98. package/dist-lib/vendor/ignore.cjs +1 -1
  99. package/dist-lib/vendor/magic-string.cjs +1 -1
  100. package/dist-lib/vendor/plist.cjs +1 -1
  101. package/dist-lib/vendor/smol-toml.cjs +1 -1
  102. package/dist-lib/vendor/stream-json.cjs +1 -1
  103. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  104. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  105. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  106. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  107. package/dist-lib/vendor/sucrase.cjs +1 -1
  108. package/dist-lib/vendor/terser.cjs +1 -1
  109. package/dist-lib/vendor/valibot.cjs +1 -1
  110. package/dist-lib/vendor/zod.cjs +1 -1
  111. package/dist-lib/worklet-executable.cjs +1 -1
  112. package/dist-lib/worklet-executable.mjs +3 -3
  113. package/package.json +1 -1
  114. package/src/expo-discovery-cache.ts +9 -45
  115. package/src/expo-native-compiler-digest.ts +8 -0
  116. package/src/expo-native-prebuilt.ts +1 -10
  117. package/src/expo-native-workspace.ts +5 -120
  118. package/src/expo-pod-prebuilt.ts +1 -1
  119. package/src/expo-swift-host.ts +48 -35
  120. package/src/installed-native-libraries.ts +10 -20
  121. package/src/pod-graph-specifications.ts +11 -0
  122. package/src/pods-install.ts +10 -7
  123. package/src/podspec-cocoapods.ts +8 -3
  124. package/src/podspec-sources.ts +19 -15
  125. package/src/swift-clang-type-ownership.ts +118 -0
  126. package/src/swift-compile.ts +7 -5
  127. package/src/swift-guest-image-ledger.ts +48 -0
  128. package/src/swift-guest-link.ts +11 -1
  129. package/src/swift-host.ts +5 -8
  130. package/src/swift-packages.ts +0 -5
  131. package/src/swift-toolchain.ts +1 -1
  132. package/src/xcode-project.ts +64 -46
  133. package/src/portable-expo-contract.ts +0 -108
  134. package/src/portable-expo-workspace.ts +0 -100
  135. package/src/prepared-xcode-phases.ts +0 -194
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  FOUNDATION_IMPLICIT_MODULES,
4
4
  MULTI_MANIFEST_VERSION,
@@ -60,13 +60,13 @@ import {
60
60
  withoutSwiftDeclarations,
61
61
  wrapUIApplicationMainEntry,
62
62
  writeSwiftProject
63
- } from "./esm-chunks/chunk-ZXNBC3PZ.mjs";
64
- import "./esm-chunks/chunk-RVMUQQWC.mjs";
65
- import "./esm-chunks/chunk-D4Z36DQQ.mjs";
66
- import "./esm-chunks/chunk-6JGALQD5.mjs";
67
- import "./esm-chunks/chunk-5CZQZKYU.mjs";
68
- import "./esm-chunks/chunk-WQISIGIX.mjs";
69
- import "./esm-chunks/chunk-4U7IGWPB.mjs";
63
+ } from "./esm-chunks/chunk-QUBR7LHU.mjs";
64
+ import "./esm-chunks/chunk-XO5GX4PI.mjs";
65
+ import "./esm-chunks/chunk-BAYRN7ZL.mjs";
66
+ import "./esm-chunks/chunk-VCAJFWZD.mjs";
67
+ import "./esm-chunks/chunk-6A6JEVIF.mjs";
68
+ import "./esm-chunks/chunk-ORYS5CC4.mjs";
69
+ import "./esm-chunks/chunk-QYYJESMK.mjs";
70
70
  export {
71
71
  FOUNDATION_IMPLICIT_MODULES,
72
72
  MULTI_MANIFEST_VERSION,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  OBJC_RESOURCE_ACCESSOR_BODY,
4
4
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -31,8 +31,8 @@ import {
31
31
  swiftResourceBundles,
32
32
  swiftTargetModuleName,
33
33
  withoutGlogModuleMap
34
- } from "./esm-chunks/chunk-RVMUQQWC.mjs";
35
- import "./esm-chunks/chunk-4U7IGWPB.mjs";
34
+ } from "./esm-chunks/chunk-XO5GX4PI.mjs";
35
+ import "./esm-chunks/chunk-QYYJESMK.mjs";
36
36
  export {
37
37
  OBJC_RESOURCE_ACCESSOR_BODY,
38
38
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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,12 +1,12 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftMetalLibrarySources
4
- } from "./esm-chunks/chunk-D4Z36DQQ.mjs";
5
- import "./esm-chunks/chunk-6JGALQD5.mjs";
4
+ } from "./esm-chunks/chunk-BAYRN7ZL.mjs";
5
+ import "./esm-chunks/chunk-VCAJFWZD.mjs";
6
6
  import {
7
7
  isRecord
8
- } from "./esm-chunks/chunk-WQISIGIX.mjs";
9
- import "./esm-chunks/chunk-4U7IGWPB.mjs";
8
+ } from "./esm-chunks/chunk-ORYS5CC4.mjs";
9
+ import "./esm-chunks/chunk-QYYJESMK.mjs";
10
10
 
11
11
  // src/swift-submit.ts
12
12
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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;
@@ -46,6 +46,7 @@ __export(swift_toolchain_exports, {
46
46
  peachsimPackageRoot: () => peachsimPackageRoot,
47
47
  privateSwiftCompilerRelease: () => privateSwiftCompilerRelease,
48
48
  privateSwiftDistributionRoot: () => privateSwiftDistributionRoot,
49
+ privateSwiftRelease: () => privateSwiftRelease,
49
50
  registerSwiftHostCompiler: () => registerSwiftHostCompiler,
50
51
  setSwiftLinuxLibraryPath: () => setSwiftLinuxLibraryPath,
51
52
  sharedCacheDir: () => sharedCacheDir,
@@ -939,6 +940,7 @@ function swiftCompilerInstall(release) {
939
940
  peachsimPackageRoot,
940
941
  privateSwiftCompilerRelease,
941
942
  privateSwiftDistributionRoot,
943
+ privateSwiftRelease,
942
944
  registerSwiftHostCompiler,
943
945
  setSwiftLinuxLibraryPath,
944
946
  sharedCacheDir,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
 
4
4
  // ../../node_modules/acorn/dist/acorn.js
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
 
4
4
  // ../../node_modules/ignore/index.js
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __commonJS = (cb, mod) => function __require() {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __commonJS = (cb, mod) => function __require() {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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
 
4
4
  // ../../node_modules/valibot/dist/index.cjs
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (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,12 +1,12 @@
1
- /*! peach v0.1.2440 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2441 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  parse
4
- } from "./esm-chunks/chunk-PRZI3CFF.mjs";
4
+ } from "./esm-chunks/chunk-PMGJ7FLI.mjs";
5
5
  import {
6
6
  __privateAdd,
7
7
  __privateGet,
8
8
  __publicField
9
- } from "./esm-chunks/chunk-4U7IGWPB.mjs";
9
+ } from "./esm-chunks/chunk-QYYJESMK.mjs";
10
10
 
11
11
  // src/worklet-kernel.ts
12
12
  var Unsupported = class extends Error {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2440",
3
+ "version": "0.1.2441",
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",
@@ -10,64 +10,28 @@
10
10
  import { createHash, randomUUID } from 'node:crypto'
11
11
  import fs from 'node:fs'
12
12
  import path from 'node:path'
13
- import { fileURLToPath } from 'node:url'
14
13
  import { EXPO_EAGER_NATIVE_VIEWS } from '../../peach-compat/src/stubs/native-seams/expo-eager-seam-contract'
15
14
  import { peachAnsweredNativePackages } from './answeredNativePackages'
16
- import { getCliVersion } from './cli-version'
15
+ import { expoNativeCompilerDigestValue } from './expo-native-compiler-digest'
17
16
  import { hashExpoWorkspace } from './expo-native-workspace'
18
17
  import { ambientHomeDir } from './home-paths'
19
18
  import { isRecord } from './is-record'
20
19
  import { isNativeAppIdentity } from './native-app-identity'
20
+ import { swiftNativePin } from './swift-native-pin'
21
21
  import { sharedCacheDir } from './swift-toolchain'
22
22
  import { isSwiftNativeTargets, isSwiftResourceBundles } from './swiftContract'
23
23
  import type { ExpoSwiftSourceUnit } from './expoSwiftContract'
24
24
 
25
25
  const FORMAT = 'expo-discovery-v5'
26
26
 
27
- // pipeline files whose bytes change discovery output. resolved beside this
28
- // module in source (.ts) and in a built cli (.js); a missing file pins as
29
- // missing, so a layout change misses instead of sharing across producers.
30
- const PIPELINE_FILES = [
31
- 'expo-autolinking',
32
- 'expo-discovery-cache',
33
- 'expo-native-workspace',
34
- 'expo-workspace-exclusion',
35
- 'native-app-identity',
36
- 'native-app-identity-project',
37
- 'nitro-source',
38
- 'expo-swift-host',
39
- 'prepared-native-inventory',
40
- 'prepared-xcode-phases',
41
- 'portable-expo-workspace',
42
- 'portable-expo-contract',
43
- 'swift-compile',
44
- 'swift-cxx-reachable',
45
- 'swift-host',
46
- 'swift-objc-compile',
47
- 'swift-package',
48
- 'swift-packages',
49
- 'swift-standins',
50
- 'xcode-project',
51
- ]
52
-
53
27
  function peachPin(): string {
54
- const dir = path.dirname(fileURLToPath(import.meta.url))
55
- const hash = createHash('sha256')
56
- hash.update(`${FORMAT}\0${getCliVersion()}\0`)
57
- hash.update(JSON.stringify([...EXPO_EAGER_NATIVE_VIEWS]))
58
- hash.update(JSON.stringify([...peachAnsweredNativePackages()].sort()))
59
- for (const name of PIPELINE_FILES) {
60
- let bytes: string | null = null
61
- for (const ext of ['.ts', '.js']) {
62
- const file = path.join(dir, `${name}${ext}`)
63
- if (fs.existsSync(file)) {
64
- bytes = fs.readFileSync(file, 'utf8')
65
- break
66
- }
67
- }
68
- hash.update(`${name}\0${bytes ?? 'missing'}\0`)
69
- }
70
- return hash.digest('hex')
28
+ return createHash('sha256')
29
+ .update(
30
+ `${FORMAT}\0${expoNativeCompilerDigestValue()}\0${swiftNativePin().distribution.id}\0`,
31
+ )
32
+ .update(JSON.stringify([...EXPO_EAGER_NATIVE_VIEWS]))
33
+ .update(JSON.stringify([...peachAnsweredNativePackages()].sort()))
34
+ .digest('hex')
71
35
  }
72
36
 
73
37
  // deterministic json digest; object key order never affects the key.
@@ -22,3 +22,11 @@ export const expoNativeCompilerDigest = (srcDir: string) =>
22
22
  .update(swiftCompilerSourceDigest(srcDir))
23
23
  .update(reactNativeCoreDigest(srcDir))
24
24
  .digest('hex')
25
+
26
+ declare const __EXPO_NATIVE_COMPILER_DIGEST__: string | undefined
27
+
28
+ export function expoNativeCompilerDigestValue(): string {
29
+ return typeof __EXPO_NATIVE_COMPILER_DIGEST__ === 'string'
30
+ ? __EXPO_NATIVE_COMPILER_DIGEST__
31
+ : expoNativeCompilerDigest(import.meta.dirname)
32
+ }
@@ -17,7 +17,7 @@ import path from 'node:path'
17
17
  import { isDeepStrictEqual } from 'node:util'
18
18
  import plist from 'plist'
19
19
  import { peachAnsweredNativePackages } from './answeredNativePackages'
20
- import { expoNativeCompilerDigest } from './expo-native-compiler-digest'
20
+ import { expoNativeCompilerDigestValue } from './expo-native-compiler-digest'
21
21
  import {
22
22
  declaresNativeDependency,
23
23
  hashExpoSourceWorkspace,
@@ -51,15 +51,6 @@ import {
51
51
 
52
52
  export const EXPO_NATIVE_ENTRY_NAME = 'ios'
53
53
 
54
- // build-cli replaces this in every bundle with the digest of the sources it
55
- // bundles.
56
- declare const __EXPO_NATIVE_COMPILER_DIGEST__: string | undefined
57
- export function expoNativeCompilerDigestValue(): string {
58
- return typeof __EXPO_NATIVE_COMPILER_DIGEST__ === 'string'
59
- ? __EXPO_NATIVE_COMPILER_DIGEST__
60
- : expoNativeCompilerDigest(import.meta.dirname)
61
- }
62
-
63
54
  // upstream's own skips for the values that differ between two copies of one
64
55
  // app: versions, names, the bundle id and android package, schemes, the EAS
65
56
  // project, icon and splash assets and `extra`. they reach the native build only
@@ -20,7 +20,6 @@ import { requireNativeGit } from './native-git.ts'
20
20
  import { prepareOneSDKSources } from './one-sdk-preparation.ts'
21
21
  import { installPods } from './pods-install.ts'
22
22
  import { readInstalledPodspecs } from './podspec-sources.ts'
23
- import { portableExpoWorkspace } from './portable-expo-workspace.ts'
24
23
  import {
25
24
  reapRetiredCacheDirectory,
26
25
  removeRetiredDirectory,
@@ -98,22 +97,11 @@ const NATIVE_PACKAGE_ENTRY =
98
97
  // node_modules stays out: the js install reconciles it with the hashed
99
98
  // lockfiles, and the discovery cache keys the live native inventory separately.
100
99
  export async function hashExpoWorkspace(app: string, signal?: AbortSignal) {
101
- if (process.platform !== 'darwin' || process.env.PEACH_PREPARED_NATIVE_WORKSPACES) {
102
- const source = await hashExpoSourceWorkspace(app, signal)
103
- const prepared = await portableExpoWorkspace(app, source.hash, signal)
104
- return {
105
- root: source.root,
106
- hash: createHash('sha256')
107
- .update(`${source.hash}\0${prepared.identity}`)
108
- .digest('hex'),
109
- }
110
- }
111
100
  const { root, hash } = await hashWorkspaceInputs(app, true, signal)
112
101
  return { root, hash }
113
102
  }
114
103
 
115
- // the portable producer records the app inputs separately from its Mac
116
- // toolchain, so a Linux consumer can verify the same source without Xcode.
104
+ // published artifacts key the app inputs separately from the host toolchain.
117
105
  export async function hashExpoSourceWorkspace(app: string, signal?: AbortSignal) {
118
106
  const { root, hash } = await hashWorkspaceInputs(app, true, signal, true)
119
107
  return { root, hash }
@@ -123,45 +111,6 @@ export async function hashExpoNativeWorkspaceInputs(app: string) {
123
111
  return (await hashWorkspaceInputs(app, false, undefined, true)).nativeHash
124
112
  }
125
113
 
126
- // a portable producer cannot claim the live app's hash unless the prepared
127
- // copy actually holds those bytes, including files outside the native graph.
128
- export async function verifyExpoWorkspaceCopy(app: string, work: string) {
129
- const root = findWorkspaceRoot(app)
130
- const excluded = await workspaceExclusion(
131
- root,
132
- true,
133
- linkedPackageDirectories(root, app),
134
- )
135
- const walk = (directory: string) => {
136
- for (const entry of fs.readdirSync(directory, { withFileTypes: true })) {
137
- const file = path.join(directory, entry.name)
138
- const relative = path.relative(root, file)
139
- if (excluded(relative, entry.isDirectory())) continue
140
- const copy = path.join(work, relative)
141
- if (entry.isDirectory()) walk(file)
142
- else if (entry.isSymbolicLink()) {
143
- const target = fs.realpathSync(file)
144
- const within = path.relative(root, target)
145
- if (
146
- within === '..' ||
147
- within.startsWith(`..${path.sep}`) ||
148
- path.isAbsolute(within)
149
- )
150
- throw new Error(`Expo source link escapes the workspace: ${relative}`)
151
- if (
152
- !fs.lstatSync(copy).isSymbolicLink() ||
153
- fs.readlinkSync(file) !== fs.readlinkSync(copy)
154
- )
155
- throw new Error(`Expo source link differs from preparation: ${relative}`)
156
- } else if (entry.isFile()) {
157
- if (!fs.existsSync(copy) || !fs.readFileSync(file).equals(fs.readFileSync(copy)))
158
- throw new Error(`Expo source differs from preparation: ${relative}`)
159
- }
160
- }
161
- }
162
- walk(root)
163
- }
164
-
165
114
  function pnpmStoreArgs(root: string) {
166
115
  const modules = path.join(root, 'node_modules', '.modules.yaml')
167
116
  if (!fs.existsSync(modules)) return []
@@ -426,7 +375,7 @@ async function walkWorkspaceInputs(
426
375
  ),
427
376
  ])
428
377
  const toolchain = JSON.stringify({
429
- preparation: 9,
378
+ preparation: 11,
430
379
  appRelative,
431
380
  xcode,
432
381
  node: node.stdout.trim(),
@@ -643,28 +592,13 @@ export async function prepareExpoNativeWorkspace(
643
592
  return { ...prepared, workspace }
644
593
  }
645
594
 
646
- // cocoapods runs only on a Mac. elsewhere the real pod graph exists only when a
647
- // prepared workspace is supplied; without one, installed modules compile from
648
- // their own sources as app-local modules do.
649
- export function nativeWorkspaceAvailable(): boolean {
650
- return (
651
- process.platform === 'darwin' || Boolean(process.env.PEACH_PREPARED_NATIVE_WORKSPACES)
652
- )
653
- }
654
-
655
- /** the app root whose ios directory the native compilers read: with the
656
- * installed CocoaPods workspace where one can exist, otherwise the prebuilt
657
- * Xcode project alone, which still declares the app's deployment target. */
595
+ /** the app root whose installed iOS workspace the native compilers read. */
658
596
  export async function prepareNativeAppRoot(
659
597
  app: string,
660
598
  signal?: AbortSignal,
661
599
  target?: string,
662
600
  ) {
663
- return (
664
- nativeWorkspaceAvailable()
665
- ? await prepareExpoNativeWorkspace(app, signal, target)
666
- : await prepareExpoNativeProject(app, signal)
667
- ).app
601
+ return (await prepareExpoNativeWorkspace(app, signal, target)).app
668
602
  }
669
603
 
670
604
  // resource target membership is generated by prebuild, before CocoaPods runs.
@@ -813,46 +747,6 @@ export function preparedExpoWorkspacesDir(app: string): string {
813
747
  return nativeWorkspacesDir(findWorkspaceRoot(app))
814
748
  }
815
749
 
816
- // release producers prepare the already installed app. this preserves the
817
- // exact dependency tree selected by a replay, including a staged package.
818
- export async function prepareInstalledExpoWorkspace(app: string, work: string) {
819
- if (process.platform !== 'darwin')
820
- throw new Error('Expo workspace production requires a Mac')
821
- const root = findWorkspaceRoot(app)
822
- const excluded = await workspaceExclusion(
823
- root,
824
- true,
825
- linkedPackageDirectories(root, app),
826
- )
827
- const appRelative = path.relative(root, app)
828
- if (fs.existsSync(work))
829
- throw new Error(`prepared Expo workspace already exists: ${work}`)
830
- fs.mkdirSync(path.dirname(work), { recursive: true })
831
- return withSwiftRootLock(work, async (lease) => {
832
- await copyInstalledWorkspace(root, work, excluded)
833
- initializeWorkspaceGit(root, work)
834
- const preparedApp = path.join(work, appRelative)
835
- const manifest = JSON.parse(
836
- fs.readFileSync(path.join(preparedApp, 'package.json'), 'utf8'),
837
- )
838
- const execute: NativeExecute = (args, cwd, env = {}) =>
839
- runAdmitted(lease, args[0]!, args.slice(1), cwd, env)
840
- await prepareNativeProject(
841
- preparedApp,
842
- work,
843
- manifest,
844
- 'workspace',
845
- execute,
846
- (message) => console.error(`[expo-native-workspace] ${message}`),
847
- )
848
- fs.writeFileSync(path.join(work, '.peach-complete'), 'complete\n')
849
- const ios = path.join(preparedApp, 'ios')
850
- const workspaces = fs.readdirSync(ios).filter((name) => name.endsWith('.xcworkspace'))
851
- if (workspaces.length !== 1) throw new Error(`expected one Expo workspace in ${ios}`)
852
- return { app: preparedApp, workspace: path.join(ios, workspaces[0]!), work }
853
- })
854
- }
855
-
856
750
  // the copy's index lists the files its source checkout tracks, including ignored ones
857
751
  // the project commits, so a postinstall that marks them with `git update-index` finds
858
752
  // them. the entries reuse the source index's object ids: hashing or storing a monorepo's
@@ -910,13 +804,6 @@ async function prepareWorkspace(
910
804
  key: string,
911
805
  podsEnvironment: ReturnType<typeof reactNativePodsEnvironment>,
912
806
  ) {
913
- if (
914
- (process.platform !== 'darwin' || process.env.PEACH_PREPARED_NATIVE_WORKSPACES) &&
915
- (stage === 'workspace' || nativeWorkspaceAvailable())
916
- ) {
917
- const source = await hashExpoSourceWorkspace(app)
918
- return portableExpoWorkspace(app, source.hash)
919
- }
920
807
  const started = performance.now()
921
808
  const report = (message: string) =>
922
809
  console.error(
@@ -1109,9 +996,7 @@ async function prepareWorkspace(
1109
996
  fs.utimesSync(work, now, now)
1110
997
  return { app: preparedApp, work }
1111
998
  })
1112
- if (stage === 'workspace') {
1113
- for (const root of [app, result.app]) readInstalledPodspecs(root, result.app)
1114
- }
999
+ if (stage === 'workspace') readInstalledPodspecs(app, result.app)
1115
1000
  // retirement scans and renames other workspaces; it keeps this one by name
1116
1001
  // and takes their locks without waiting, so it needs no place inside this
1117
1002
  // workspace's lock, where it only lengthens the wait of the next prepare.
@@ -8,7 +8,7 @@ import fs from 'node:fs'
8
8
  import path from 'node:path'
9
9
  import { peachAnsweredNativePackages } from './answeredNativePackages'
10
10
  import { expoAutolinkedPackages } from './expo-autolinking'
11
- import { expoNativeCompilerDigestValue } from './expo-native-prebuilt'
11
+ import { expoNativeCompilerDigestValue } from './expo-native-compiler-digest'
12
12
  import { collectExpoSwiftSources } from './expo-swift-host'
13
13
  import {
14
14
  isExpoSwiftCompilationResult,