peachsim 0.1.2639 → 0.1.2641

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/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 +27 -42
  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-Q4MIWEUF.mjs → acorn-KKSBENIW.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-GL7HGOZO.mjs → chunk-3XHQSC2I.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-CEBGMUJ7.mjs → chunk-56OVYMMO.mjs} +2 -2
  29. package/dist-lib/esm-chunks/{chunk-4Z7B7GNU.mjs → chunk-A2UFL7MN.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-X3YJQTAA.mjs → chunk-B76ILNNO.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-2IEHHGR3.mjs → chunk-C3TNMVSF.mjs} +5 -5
  32. package/dist-lib/esm-chunks/{chunk-2JFHTIVW.mjs → chunk-FZYZIX77.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-IBOU4HP6.mjs → chunk-HXDNPY76.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-AZ4NQGUN.mjs → chunk-IELDFWIY.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-ZHFYSV5V.mjs → chunk-IS6IM2XS.mjs} +4 -4
  36. package/dist-lib/esm-chunks/{chunk-AUQGMRZ3.mjs → chunk-JMYRVRTX.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-IYR7Y2ZZ.mjs → chunk-NLWAW2IW.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-XRAA66CT.mjs → chunk-NWZWTQ5S.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-ZHGVF56B.mjs → chunk-OMAUXW53.mjs} +14 -14
  40. package/dist-lib/esm-chunks/{chunk-DB4KKCHY.mjs → chunk-OYW7YAQZ.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-YDH2FZ4T.mjs → chunk-P6UFWLY6.mjs} +3 -3
  42. package/dist-lib/esm-chunks/{chunk-VT44XCSL.mjs → chunk-PWEYCAE5.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-PQU7CUWC.mjs → chunk-QJTQGNQL.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-DPETKKDK.mjs → chunk-QVUXSUUE.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-XVHSECUS.mjs → chunk-RQQTPVAK.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-KBUSYBLO.mjs → chunk-S5PKQIDG.mjs} +6 -6
  47. package/dist-lib/esm-chunks/{chunk-77LY7ATW.mjs → chunk-X5HICS4I.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-SENVGQMH.mjs → chunk-XMAK4JIN.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-NMRGKXEI.mjs → chunk-YORWPIVO.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-LTE7P72Z.mjs → chunk-ZIGVBYND.mjs} +6 -6
  51. package/dist-lib/esm-chunks/{metro-layout-parser-PXYCQ56F.mjs → metro-layout-parser-ZNWZ4X64.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-53QATJYX.mjs → swift-package-prebuilt-EL2XLCBQ.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-OX4P3VEA.mjs → swift-sdk-app-module-XPTHPWVS.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-Z2HS3Q2G.mjs → swift-sdk-image-SOWCKI4Z.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-KHERDUDJ.mjs → swift-sdk-image-producer-OEPQ4AHV.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +25 -39
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +27 -42
  61. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +1 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +1 -1
  75. package/dist-lib/native-app-identity-project.mjs +15 -15
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +85 -85
  87. package/dist-lib/public-origins-lib.json +64 -64
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  92. package/dist-lib/sdk.cjs +1 -1
  93. package/dist-lib/sdk.mjs +8 -8
  94. package/dist-lib/skills.cjs +27 -42
  95. package/dist-lib/swift-compile.cjs +1 -1
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +6 -0
  123. package/dist-types/packages/peach-engine/src/render-worker/native-anim-mirror-item.d.ts +8 -3
  124. package/package.json +1 -1
  125. package/src/nitro-compile.ts +1 -5
  126. package/src/react-native-core-build.ts +1 -23
  127. package/src/turbo-source.ts +20 -21
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  acquireSwiftRootReadHold,
4
4
  hasLiveSwiftRootReaders,
5
5
  waitForNoSwiftRootReaders,
6
6
  withSwiftRootLock
7
- } from "./chunk-CEBGMUJ7.mjs";
7
+ } from "./chunk-56OVYMMO.mjs";
8
8
  import {
9
9
  CORE_FOUNDATION_OVERLAY_GLOBALS,
10
10
  NATIVE_GRAPH_SDK_VERSION,
@@ -55,7 +55,7 @@ import {
55
55
  withoutImportedSdkEnumForwards,
56
56
  withoutSwiftDeclarations,
57
57
  writeBuildFile
58
- } from "./chunk-LTE7P72Z.mjs";
58
+ } from "./chunk-ZIGVBYND.mjs";
59
59
  import {
60
60
  SWIFT_AUTOLINK_LINKER,
61
61
  SWIFT_CACHE_HOLD_MARKER,
@@ -73,7 +73,7 @@ import {
73
73
  wasmThreadLinkFlags,
74
74
  windowAdmission,
75
75
  writeSwiftAutolinkLinker
76
- } from "./chunk-IBOU4HP6.mjs";
76
+ } from "./chunk-HXDNPY76.mjs";
77
77
  import {
78
78
  SWIFT_BINARY_TREES_DIR,
79
79
  SWIFT_NATIVE_INPUT_ROOT,
@@ -88,7 +88,7 @@ import {
88
88
  isSwiftResourcePath,
89
89
  isSwiftSourceLinkGraph,
90
90
  swiftProjectFilesProblems
91
- } from "./chunk-VT44XCSL.mjs";
91
+ } from "./chunk-PWEYCAE5.mjs";
92
92
  import {
93
93
  OBJC_RESOURCE_ACCESSOR_BODY,
94
94
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -111,16 +111,16 @@ import {
111
111
  swiftPackagePartition,
112
112
  swiftTargetModuleName,
113
113
  withoutGlogModuleMap
114
- } from "./chunk-PQU7CUWC.mjs";
114
+ } from "./chunk-QJTQGNQL.mjs";
115
115
  import {
116
116
  rnxPublicBrand
117
- } from "./chunk-DPETKKDK.mjs";
117
+ } from "./chunk-QVUXSUUE.mjs";
118
118
  import {
119
119
  isRecord
120
- } from "./chunk-NMRGKXEI.mjs";
120
+ } from "./chunk-YORWPIVO.mjs";
121
121
  import {
122
122
  __publicField
123
- } from "./chunk-DB4KKCHY.mjs";
123
+ } from "./chunk-OYW7YAQZ.mjs";
124
124
 
125
125
  // src/swift-compile.ts
126
126
  import { spawn as spawn2 } from "node:child_process";
@@ -14356,7 +14356,7 @@ async function compileGuestLink(options) {
14356
14356
  };
14357
14357
  const sdk = options.sdkImage;
14358
14358
  const sdkCallers = sdk?.sdkInterface.guestCallers;
14359
- const sdkObjects = sdk ? (await import("./swift-sdk-image-Z2HS3Q2G.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
14359
+ const sdkObjects = sdk ? (await import("./swift-sdk-image-SOWCKI4Z.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
14360
14360
  if (sdk && (!sdkCallers || !sdkObjects))
14361
14361
  throw new Error("the SDK image has no guest link manifest");
14362
14362
  const result = await linkPrunedGuestImages({
@@ -14654,7 +14654,7 @@ async function compileGuestLink(options) {
14654
14654
  readSwiftSdkUsage,
14655
14655
  swiftAppModuleThunkSection,
14656
14656
  swiftSdkProjectionSpans
14657
- } = await import("./swift-sdk-app-module-OX4P3VEA.mjs");
14657
+ } = await import("./swift-sdk-app-module-XPTHPWVS.mjs");
14658
14658
  const project = options.project;
14659
14659
  const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
14660
14660
  if (project) chownSync(work, project.uid, project.gid);
@@ -20903,7 +20903,7 @@ async function compileSwiftProjectOnce(sources, options) {
20903
20903
  const distribution = swiftDistributionAt(moduleRoot);
20904
20904
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
20905
20905
  if (distribution) refreshSwiftCacheHold(moduleRoot);
20906
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-53QATJYX.mjs")).useSwiftPackagePrebuilts(
20906
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-EL2XLCBQ.mjs")).useSwiftPackagePrebuilts(
20907
20907
  sources,
20908
20908
  moduleRoot,
20909
20909
  options.toolchainBin
@@ -20917,7 +20917,7 @@ async function compileSwiftProjectOnce(sources, options) {
20917
20917
  multi: compileTargets(input).length > 0
20918
20918
  };
20919
20919
  const sdkModule = options.sdkModule && !options.linkOnly;
20920
- const sdkImage = sdkModule ? await (await import("./swift-sdk-image-Z2HS3Q2G.mjs")).buildSwiftSdkImage(
20920
+ const sdkImage = sdkModule ? await (await import("./swift-sdk-image-SOWCKI4Z.mjs")).buildSwiftSdkImage(
20921
20921
  moduleRoot,
20922
20922
  !!guestGraph,
20923
20923
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -21693,7 +21693,7 @@ ${compatShape}` : "";
21693
21693
  if (sdkImage && binding)
21694
21694
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
21695
21695
  } else if (sdkImage) {
21696
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-OX4P3VEA.mjs");
21696
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-XPTHPWVS.mjs");
21697
21697
  const binding = await buildSwiftAppModule({
21698
21698
  buildRoot: root2,
21699
21699
  toolchainBin: options.toolchainBin,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-GL7HGOZO.mjs";
4
+ } from "./chunk-3XHQSC2I.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-NMRGKXEI.mjs";
7
+ } from "./chunk-YORWPIVO.mjs";
8
8
 
9
9
  // ../peach-globals/src/globalsContract.ts
10
10
  var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftContract.ts
4
4
  function isSwiftSourceLinkGraph(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (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.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  DARWIN_RECORDS_PREFIX,
4
4
  KEEP_WASM_NAMES,
@@ -25,21 +25,21 @@ import {
25
25
  swiftSdkGuestLookups,
26
26
  unslottedFunctions,
27
27
  wasmSections
28
- } from "./chunk-ZHGVF56B.mjs";
28
+ } from "./chunk-OMAUXW53.mjs";
29
29
  import {
30
30
  withSwiftRootLock
31
- } from "./chunk-CEBGMUJ7.mjs";
31
+ } from "./chunk-56OVYMMO.mjs";
32
32
  import {
33
33
  swiftDistributionAt,
34
34
  swiftModuleDigest,
35
35
  swiftModuleToolchain,
36
36
  swiftSdkPaths
37
- } from "./chunk-LTE7P72Z.mjs";
37
+ } from "./chunk-ZIGVBYND.mjs";
38
38
  import {
39
39
  SWIFT_WASM_TRIPLE,
40
40
  sourceSwiftCheckout,
41
41
  swiftCacheDir
42
- } from "./chunk-IBOU4HP6.mjs";
42
+ } from "./chunk-HXDNPY76.mjs";
43
43
 
44
44
  // src/swift-sdk-image.ts
45
45
  import { execFile } from "node:child_process";
@@ -228,7 +228,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
228
228
  const existing = cached(directory, key);
229
229
  if (existing) return existing;
230
230
  if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
231
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-KHERDUDJ.mjs");
231
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-OEPQ4AHV.mjs");
232
232
  await produceSwiftSdkImage({
233
233
  moduleRoot,
234
234
  key,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/swiftDiscoveryContract.ts
4
4
  var SWIFT_PACKAGE_PATH = "/__peach/swift-package/";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (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.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (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-IBOU4HP6.mjs";
15
+ } from "./chunk-HXDNPY76.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-VT44XCSL.mjs";
18
+ } from "./chunk-PWEYCAE5.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-PQU7CUWC.mjs";
21
+ } from "./chunk-QJTQGNQL.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-NMRGKXEI.mjs";
24
+ } from "./chunk-YORWPIVO.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-DB4KKCHY.mjs";
27
+ } from "./chunk-OYW7YAQZ.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-DB4KKCHY.mjs";
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-OYW7YAQZ.mjs";
3
3
 
4
4
  // src/metro-layout-parser.ts
5
5
  var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
8
8
  var metroLayoutParser;
9
9
  async function loadMetroLayoutParser() {
10
10
  if (metroLayoutParser) return metroLayoutParser;
11
- const { Parser } = await import("./acorn-Q4MIWEUF.mjs");
11
+ const { Parser } = await import("./acorn-KKSBENIW.mjs");
12
12
  metroLayoutParser = Parser.extend(
13
13
  (Base) => {
14
14
  const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
@@ -1,27 +1,27 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  compileTargets,
4
4
  fetchNativeEntry,
5
5
  nativeEntryKey,
6
6
  swiftAvailableModules
7
- } from "./chunk-ZHGVF56B.mjs";
8
- import "./chunk-CEBGMUJ7.mjs";
7
+ } from "./chunk-OMAUXW53.mjs";
8
+ import "./chunk-56OVYMMO.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-LTE7P72Z.mjs";
13
- import "./chunk-IBOU4HP6.mjs";
12
+ } from "./chunk-ZIGVBYND.mjs";
13
+ import "./chunk-HXDNPY76.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-VT44XCSL.mjs";
16
+ } from "./chunk-PWEYCAE5.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-PQU7CUWC.mjs";
20
- import "./chunk-4Z7B7GNU.mjs";
21
- import "./chunk-DPETKKDK.mjs";
22
- import "./chunk-XRAA66CT.mjs";
23
- import "./chunk-NMRGKXEI.mjs";
24
- import "./chunk-DB4KKCHY.mjs";
19
+ } from "./chunk-QJTQGNQL.mjs";
20
+ import "./chunk-A2UFL7MN.mjs";
21
+ import "./chunk-QVUXSUUE.mjs";
22
+ import "./chunk-NWZWTQ5S.mjs";
23
+ import "./chunk-YORWPIVO.mjs";
24
+ import "./chunk-OYW7YAQZ.mjs";
25
25
 
26
26
  // src/swift-package-prebuilt.ts
27
27
  import { createHash } from "node:crypto";
@@ -1,11 +1,11 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_APP_TABLE_BASE,
5
5
  SWIFT_SDK_MEMORY_BASE,
6
6
  SWIFT_SDK_PIECE_FIELDS,
7
7
  readSwiftSdkManifest
8
- } from "./chunk-KBUSYBLO.mjs";
8
+ } from "./chunk-S5PKQIDG.mjs";
9
9
  import {
10
10
  ADDEND_RELOCATIONS,
11
11
  KEEP_WASM_NAMES,
@@ -33,22 +33,22 @@ import {
33
33
  wasmReader,
34
34
  wasmSections,
35
35
  writeWasmCustomSection
36
- } from "./chunk-ZHGVF56B.mjs";
37
- import "./chunk-CEBGMUJ7.mjs";
38
- import "./chunk-2IEHHGR3.mjs";
39
- import "./chunk-XVHSECUS.mjs";
40
- import "./chunk-77LY7ATW.mjs";
41
- import "./chunk-LTE7P72Z.mjs";
36
+ } from "./chunk-OMAUXW53.mjs";
37
+ import "./chunk-56OVYMMO.mjs";
38
+ import "./chunk-C3TNMVSF.mjs";
39
+ import "./chunk-RQQTPVAK.mjs";
40
+ import "./chunk-X5HICS4I.mjs";
41
+ import "./chunk-ZIGVBYND.mjs";
42
42
  import {
43
43
  SWIFT_WASM_TRIPLE
44
- } from "./chunk-IBOU4HP6.mjs";
45
- import "./chunk-VT44XCSL.mjs";
46
- import "./chunk-PQU7CUWC.mjs";
47
- import "./chunk-4Z7B7GNU.mjs";
48
- import "./chunk-DPETKKDK.mjs";
49
- import "./chunk-XRAA66CT.mjs";
50
- import "./chunk-NMRGKXEI.mjs";
51
- import "./chunk-DB4KKCHY.mjs";
44
+ } from "./chunk-HXDNPY76.mjs";
45
+ import "./chunk-PWEYCAE5.mjs";
46
+ import "./chunk-QJTQGNQL.mjs";
47
+ import "./chunk-A2UFL7MN.mjs";
48
+ import "./chunk-QVUXSUUE.mjs";
49
+ import "./chunk-NWZWTQ5S.mjs";
50
+ import "./chunk-YORWPIVO.mjs";
51
+ import "./chunk-OYW7YAQZ.mjs";
52
52
 
53
53
  // src/swift-sdk-app-module.ts
54
54
  import { execFile } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_APP_TABLE_BASE,
@@ -14,21 +14,21 @@ import {
14
14
  swiftSdkImageFile,
15
15
  swiftSdkImageKey,
16
16
  swiftSdkImageProducts
17
- } from "./chunk-KBUSYBLO.mjs";
18
- import "./chunk-ZHGVF56B.mjs";
19
- import "./chunk-CEBGMUJ7.mjs";
20
- import "./chunk-2IEHHGR3.mjs";
21
- import "./chunk-XVHSECUS.mjs";
22
- import "./chunk-77LY7ATW.mjs";
23
- import "./chunk-LTE7P72Z.mjs";
24
- import "./chunk-IBOU4HP6.mjs";
25
- import "./chunk-VT44XCSL.mjs";
26
- import "./chunk-PQU7CUWC.mjs";
27
- import "./chunk-4Z7B7GNU.mjs";
28
- import "./chunk-DPETKKDK.mjs";
29
- import "./chunk-XRAA66CT.mjs";
30
- import "./chunk-NMRGKXEI.mjs";
31
- import "./chunk-DB4KKCHY.mjs";
17
+ } from "./chunk-S5PKQIDG.mjs";
18
+ import "./chunk-OMAUXW53.mjs";
19
+ import "./chunk-56OVYMMO.mjs";
20
+ import "./chunk-C3TNMVSF.mjs";
21
+ import "./chunk-RQQTPVAK.mjs";
22
+ import "./chunk-X5HICS4I.mjs";
23
+ import "./chunk-ZIGVBYND.mjs";
24
+ import "./chunk-HXDNPY76.mjs";
25
+ import "./chunk-PWEYCAE5.mjs";
26
+ import "./chunk-QJTQGNQL.mjs";
27
+ import "./chunk-A2UFL7MN.mjs";
28
+ import "./chunk-QVUXSUUE.mjs";
29
+ import "./chunk-NWZWTQ5S.mjs";
30
+ import "./chunk-YORWPIVO.mjs";
31
+ import "./chunk-OYW7YAQZ.mjs";
32
32
  export {
33
33
  SWIFT_SDK_APP_MEMORY_BASE,
34
34
  SWIFT_SDK_APP_TABLE_BASE,
@@ -1,15 +1,15 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-CEBGMUJ7.mjs";
4
+ } from "./chunk-56OVYMMO.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-IBOU4HP6.mjs";
8
+ } from "./chunk-HXDNPY76.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-NMRGKXEI.mjs";
12
- import "./chunk-DB4KKCHY.mjs";
11
+ } from "./chunk-YORWPIVO.mjs";
12
+ import "./chunk-OYW7YAQZ.mjs";
13
13
 
14
14
  // src/swift-sdk-image-producer.ts
15
15
  import { execFile, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (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;
@@ -18074,7 +18074,7 @@ var init_swift_standin_digest = __esm({
18074
18074
 
18075
18075
  // src/expo-native-compiler-digest.ts
18076
18076
  function expoNativeCompilerDigestValue() {
18077
- return true ? "0407ccae06333c76cf437a7e0ba88c5fa4720a09bd1af53857860d5cb88789ac" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
18077
+ return true ? "bcf7958b6d92c8221f9901fc516ec9a425d83cef2109e25bfb12d5a2fc12cbba" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
18078
18078
  }
18079
18079
  var import_node_crypto17;
18080
18080
  var init_expo_native_compiler_digest = __esm({
@@ -95270,19 +95270,12 @@ async function collectTurboSources(options2) {
95270
95270
  "#ifdef __cplusplus",
95271
95271
  'extern "C" {',
95272
95272
  "#endif",
95273
- ...!options2.reactNativeProvider || options2.turboDispatch ? ["void peachTurboDispatchAsync(dispatch_block_t block);"] : [],
95274
95273
  "CFBundleRef CFBundleGetMainBundle(void);",
95275
95274
  "CFStringRef CFBundleGetIdentifier(CFBundleRef bundle);",
95276
95275
  "CFTypeRef CFBundleGetValueForInfoDictionaryKey(CFBundleRef bundle, CFStringRef key);",
95277
95276
  "#ifdef __cplusplus",
95278
95277
  "}",
95279
95278
  "#endif",
95280
- ...!options2.reactNativeProvider || options2.turboDispatch ? [
95281
- "static inline void _peach_dispatch_async(dispatch_queue_t _Nullable q, dispatch_block_t _Nonnull b) { (void)q; peachTurboDispatchAsync(b); }",
95282
- "static inline void _peach_dispatch_after(dispatch_time_t w, dispatch_queue_t _Nullable q, dispatch_block_t _Nonnull b) { (void)q; dispatch_block_t copied = [b copy]; dispatch_after(w, dispatch_get_global_queue(QOS_CLASS_DEFAULT, 0), ^{ peachTurboDispatchAsync(copied); }); }",
95283
- "#define dispatch_async _peach_dispatch_async",
95284
- "#define dispatch_after _peach_dispatch_after"
95285
- ] : [],
95286
95279
  "#endif",
95287
95280
  ""
95288
95281
  ].join("\n")
@@ -95560,7 +95553,9 @@ function turboHostSource(withRuntime) {
95560
95553
  #include <ReactCommon/CxxTurboModuleUtils.h>
95561
95554
  #include <ReactCommon/TurboModuleBinding.h>
95562
95555
  #include <deque>
95556
+ #include <dispatch/dispatch.h>
95563
95557
  #include <memory>
95558
+ #include <pthread.h>
95564
95559
  #include <string>
95565
95560
  #include <unordered_map>
95566
95561
 
@@ -95635,13 +95630,14 @@ ${moduleProviders ? "#import <ReactCodegen/RCTModuleProviders.h>" : ""}
95635
95630
  #import <ReactCommon/RCTTurboModuleManager.h>
95636
95631
  #include <os/log.h>
95637
95632
  #include <deque>
95633
+ #include <dispatch/dispatch.h>
95638
95634
  #include <limits>
95639
95635
  #include <memory>
95636
+ #include <pthread.h>
95640
95637
  #include <string>
95641
95638
 
95642
95639
  extern "C" {
95643
95640
  BOOL objc_create_block_classes_as_subclasses_of(Class super);
95644
- #undef dispatch_async
95645
95641
  static void *peachBlockCopy(const void *self, SEL) {
95646
95642
  return _Block_copy(self);
95647
95643
  }
@@ -95726,12 +95722,6 @@ ${JS_CALL_INVOKER}
95726
95722
  std::shared_ptr<JsCallInvoker> invoker;
95727
95723
  std::string names;
95728
95724
 
95729
- extern "C" void peachTurboDispatchAsync(dispatch_block_t block) {
95730
- if (!block || !invoker) return;
95731
- dispatch_block_t copied = [block copy];
95732
- invoker->invokeAsync([copied](jsi::Runtime&) { copied(); });
95733
- }
95734
-
95735
95725
  void dispatchToJSThread(dispatch_block_t block) {
95736
95726
  invoker->invokeAsync([block](jsi::Runtime&) { block(); });
95737
95727
  }
@@ -97584,10 +97574,21 @@ var init_turbo_source = __esm({
97584
97574
  JS_CALL_INVOKER = `namespace {
97585
97575
  // async work runs once the host's current call returns; sync work runs
97586
97576
  // inline, both on the one JS thread.
97587
- class JsCallInvoker final : public react::CallInvoker {
97577
+ class JsCallInvoker final : public react::CallInvoker,
97578
+ public std::enable_shared_from_this<JsCallInvoker> {
97588
97579
  public:
97589
97580
  explicit JsCallInvoker(jsi::Runtime& runtime) : runtime(runtime) {}
97590
97581
  void invokeAsync(react::CallFunc&& func) noexcept override {
97582
+ // only the primary thread can ask its host to drain JSI work.
97583
+ if (!pthread_main_np()) {
97584
+ auto* call = new DeferredCall{weak_from_this(), std::move(func)};
97585
+ dispatch_async_f(dispatch_get_main_queue(), call, [](void* context) {
97586
+ std::unique_ptr<DeferredCall> call(static_cast<DeferredCall*>(context));
97587
+ if (auto invoker = call->invoker.lock())
97588
+ invoker->invokeAsync(std::move(call->function));
97589
+ });
97590
+ return;
97591
+ }
97591
97592
  pending.push_back(std::move(func));
97592
97593
  peach::jsi_runtime::scheduleDrain();
97593
97594
  }
@@ -97603,6 +97604,10 @@ class JsCallInvoker final : public react::CallInvoker {
97603
97604
  }
97604
97605
 
97605
97606
  private:
97607
+ struct DeferredCall {
97608
+ std::weak_ptr<JsCallInvoker> invoker;
97609
+ react::CallFunc function;
97610
+ };
97606
97611
  jsi::Runtime& runtime;
97607
97612
  std::deque<react::CallFunc> pending;
97608
97613
  };
@@ -98395,28 +98400,9 @@ async function buildReactNativeCore(project, reactNativeRoot, mode, moduleRoot)
98395
98400
  reactNativeRoot,
98396
98401
  providers: [],
98397
98402
  codegenDir,
98398
- ...mode === "turbo-cxx" ? { reactNativeCore: true } : { reactNativeProvider: true },
98399
- ...mode === "turbo" ? { turboDispatch: true } : {}
98403
+ ...mode === "turbo-cxx" ? { reactNativeCore: true } : { reactNativeProvider: true }
98400
98404
  });
98401
- const producer = {
98402
- ...collection,
98403
- files: { ...collection.files },
98404
- targets: [...collection.targets]
98405
- };
98406
- if (mode === "turbo") {
98407
- producer.targets.push({
98408
- name: "PeachCoreProducerHost",
98409
- path: "Sources/PeachCoreProducerHost",
98410
- executable: false,
98411
- languageMode: 5,
98412
- mainActorIsolation: false,
98413
- resources: false,
98414
- clangSettings: [{ tool: "c", flags: ["-fblocks"] }]
98415
- });
98416
- producer.files["Sources/PeachCoreProducerHost/include/PeachCoreProducerHost.h"] = "#pragma once\n";
98417
- producer.files["Sources/PeachCoreProducerHost/Dispatch.m"] = "#import <dispatch/dispatch.h>\nvoid peachTurboDispatchAsync(dispatch_block_t block) { dispatch_async(dispatch_get_main_queue(), block); }\n";
98418
- }
98419
- const input = collectTurboCompileInput(producer, null, floor);
98405
+ const input = collectTurboCompileInput(collection, null, floor);
98420
98406
  input.files[input.entry] = input.entry.endsWith(".swift") ? "@main struct PeachCoreProducer { static func main() {} }\n" : "int main() { return 0; }\n";
98421
98407
  await compileSwiftProjectUnit(input, {
98422
98408
  ...module2,
@@ -98646,7 +98632,7 @@ var init_react_native_core = __esm({
98646
98632
  init_swift_distribution();
98647
98633
  init_swift_package();
98648
98634
  init_swiftContract();
98649
- recipe = true ? "d25f009a76ea98e08e142162a0f13af9e885df12e0ab38db196f8da485cea67a" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
98635
+ recipe = true ? "5eb5b1f321c9e92f18defb651a7dcad98f6feacc3e20cd8ff74ff06a94032860" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
98650
98636
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
98651
98637
  building = /* @__PURE__ */ new Map();
98652
98638
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (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,19 +1,19 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftResourcePath
4
- } from "./esm-chunks/chunk-VT44XCSL.mjs";
4
+ } from "./esm-chunks/chunk-PWEYCAE5.mjs";
5
5
  import {
6
6
  isNativeAppIdentity
7
- } from "./esm-chunks/chunk-ZHFYSV5V.mjs";
8
- import "./esm-chunks/chunk-4Z7B7GNU.mjs";
7
+ } from "./esm-chunks/chunk-IS6IM2XS.mjs";
8
+ import "./esm-chunks/chunk-A2UFL7MN.mjs";
9
9
  import {
10
10
  insertBundleGlobalFooter,
11
11
  readBundleGlobalFooter
12
- } from "./esm-chunks/chunk-SENVGQMH.mjs";
12
+ } from "./esm-chunks/chunk-XMAK4JIN.mjs";
13
13
  import {
14
14
  isRecord
15
- } from "./esm-chunks/chunk-NMRGKXEI.mjs";
16
- import "./esm-chunks/chunk-DB4KKCHY.mjs";
15
+ } from "./esm-chunks/chunk-YORWPIVO.mjs";
16
+ import "./esm-chunks/chunk-OYW7YAQZ.mjs";
17
17
 
18
18
  // src/expoSwiftContract.ts
19
19
  function strings(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2639 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2641 | (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;