peachsim 0.1.2673 → 0.1.2675

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 (141) 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 +102 -71
  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-336UC4RP.mjs → acorn-VEOPTKVF.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-OZCOKJ7M.mjs → chunk-35JRIGP7.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-5HOIZ6MQ.mjs → chunk-3Q3LIOE4.mjs} +2 -2
  29. package/dist-lib/esm-chunks/{chunk-VF6MYLEZ.mjs → chunk-5F7IW22G.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-YTDJZT5E.mjs → chunk-5INXUSJ3.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-3MZPG7IR.mjs → chunk-ADOQU6SI.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-BBGS4DZC.mjs → chunk-AJTT2VYL.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-KXE5HCNR.mjs → chunk-ATBIBLXB.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-D5FFCNAT.mjs → chunk-BJGGCQKA.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-XJLTGEVV.mjs → chunk-DBPA4NE7.mjs} +5 -5
  36. package/dist-lib/esm-chunks/{chunk-R6ZDUB54.mjs → chunk-E663VVCN.mjs} +6 -6
  37. package/dist-lib/esm-chunks/{chunk-KA7WVS2K.mjs → chunk-FOTVQGKC.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-E4AUUK5I.mjs → chunk-FSMKZOTX.mjs} +3 -3
  39. package/dist-lib/esm-chunks/{chunk-4GG2PPSU.mjs → chunk-GM75SEKY.mjs} +6 -6
  40. package/dist-lib/esm-chunks/{chunk-3ZNNDHDI.mjs → chunk-I5Z73FXT.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-P2BIUM7R.mjs → chunk-IZB357DH.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-S4OMJTWN.mjs → chunk-K234VYDM.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-RF5IVPXG.mjs → chunk-LCSKGJ7G.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-FNBMSPNT.mjs → chunk-LFD67UJA.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-7H7ZOZM2.mjs → chunk-MED7BRBB.mjs} +4 -4
  46. package/dist-lib/esm-chunks/{chunk-IU77JRSH.mjs → chunk-MJBRJSOV.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-WSESTR3O.mjs → chunk-NNH7MSKJ.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-L5O5XBPQ.mjs → chunk-SKQE5DWK.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-C6REX7EL.mjs → chunk-YPE76EEE.mjs} +15 -15
  50. package/dist-lib/esm-chunks/{chunk-Y6ZJLACG.mjs → chunk-ZATDP3O2.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-NROJOPLZ.mjs → metro-layout-parser-RYUGORYR.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-2WRORWMA.mjs → swift-package-prebuilt-M55UCSKN.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-SKXQBJ4J.mjs → swift-sdk-app-module-L2HB3XBS.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-WFS54ICR.mjs → swift-sdk-image-AHIIWTZ6.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-P6FOBZHK.mjs → swift-sdk-image-producer-4S5ZPC2A.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +72 -46
  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 +101 -70
  61. package/dist-lib/host/fetch-proxy-handler.cjs +11 -10
  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 +114 -83
  95. package/dist-lib/swift-compile.cjs +2 -2
  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 +2 -2
  100. package/dist-lib/swift-submit.mjs +7 -7
  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/remote-stream/client-config.d.ts +4 -0
  123. package/package.json +1 -1
  124. package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAsset.h +14 -0
  125. package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetRepresentation.h +20 -0
  126. package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/ALAssetsLibrary.h +71 -0
  127. package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Headers/AssetsLibrary.h +5 -0
  128. package/sdk/ios/System/Library/Frameworks/AssetsLibrary.framework/Modules/module.modulemap +5 -0
  129. package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTask.h +21 -0
  130. package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskRequest.h +24 -0
  131. package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BGTaskScheduler.h +32 -0
  132. package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Headers/BackgroundTasks.h +5 -0
  133. package/sdk/ios/System/Library/Frameworks/BackgroundTasks.framework/Modules/module.modulemap +5 -0
  134. package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPLinkMetadata.h +17 -0
  135. package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LPMetadataProvider.h +18 -0
  136. package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Headers/LinkPresentation.h +4 -0
  137. package/sdk/ios/System/Library/Frameworks/LinkPresentation.framework/Modules/module.modulemap +5 -0
  138. package/src/expo-native-workspace.ts +3 -4
  139. package/src/swift-submit.ts +2 -1
  140. package/src/turbo-fabric-app.ts +7 -1
  141. package/src/turbo-source.ts +68 -28
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2675 | (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-R6ZDUB54.mjs";
18
- import "./chunk-C6REX7EL.mjs";
19
- import "./chunk-5HOIZ6MQ.mjs";
20
- import "./chunk-XJLTGEVV.mjs";
21
- import "./chunk-KA7WVS2K.mjs";
22
- import "./chunk-L5O5XBPQ.mjs";
23
- import "./chunk-4GG2PPSU.mjs";
24
- import "./chunk-VF6MYLEZ.mjs";
25
- import "./chunk-RF5IVPXG.mjs";
26
- import "./chunk-FNBMSPNT.mjs";
27
- import "./chunk-KXE5HCNR.mjs";
28
- import "./chunk-BBGS4DZC.mjs";
29
- import "./chunk-3ZNNDHDI.mjs";
30
- import "./chunk-OZCOKJ7M.mjs";
31
- import "./chunk-D5FFCNAT.mjs";
17
+ } from "./chunk-E663VVCN.mjs";
18
+ import "./chunk-YPE76EEE.mjs";
19
+ import "./chunk-3Q3LIOE4.mjs";
20
+ import "./chunk-DBPA4NE7.mjs";
21
+ import "./chunk-FOTVQGKC.mjs";
22
+ import "./chunk-SKQE5DWK.mjs";
23
+ import "./chunk-GM75SEKY.mjs";
24
+ import "./chunk-5F7IW22G.mjs";
25
+ import "./chunk-LCSKGJ7G.mjs";
26
+ import "./chunk-LFD67UJA.mjs";
27
+ import "./chunk-ATBIBLXB.mjs";
28
+ import "./chunk-AJTT2VYL.mjs";
29
+ import "./chunk-I5Z73FXT.mjs";
30
+ import "./chunk-35JRIGP7.mjs";
31
+ import "./chunk-BJGGCQKA.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.2673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-5HOIZ6MQ.mjs";
4
+ } from "./chunk-3Q3LIOE4.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-VF6MYLEZ.mjs";
8
+ } from "./chunk-5F7IW22G.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-OZCOKJ7M.mjs";
12
- import "./chunk-D5FFCNAT.mjs";
11
+ } from "./chunk-35JRIGP7.mjs";
12
+ import "./chunk-BJGGCQKA.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.2673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2675 | (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;
@@ -1894,7 +1894,7 @@ var init_swift_submit = __esm({
1894
1894
  MAX_SWIFT_COMPILE_IMAGES = 256;
1895
1895
  MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
1896
1896
  MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
1897
- SWIFT_HOST_ABI = 114;
1897
+ SWIFT_HOST_ABI = 115;
1898
1898
  POLL_INTERVAL_MS = 1500;
1899
1899
  }
1900
1900
  });
@@ -18264,7 +18264,7 @@ var init_react_native_core_digest = __esm({
18264
18264
 
18265
18265
  // src/swift-compiler-digest.ts
18266
18266
  function swiftArchiveCompilerDigestValue() {
18267
- return true ? "acb5c2f7ee52c8d0efa34f89af83170298e70b9c07f452be46a6a2e835572f40" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
18267
+ return true ? "91982cf5fdcc3e5053d8a39c2f18a9928d7cfbd48744cc2d27664c46f06c2321" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
18268
18268
  }
18269
18269
  var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
18270
18270
  var init_swift_compiler_digest = __esm({
@@ -18415,7 +18415,7 @@ var init_swift_standin_digest = __esm({
18415
18415
 
18416
18416
  // src/expo-native-compiler-digest.ts
18417
18417
  function expoNativeCompilerDigestValue() {
18418
- return true ? "cb9ad759eaea258121a404fd7986b0ede809b7e3c0da5b0915a9d42233ed10ac" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
18418
+ return true ? "56584752089834fe4f58ff1c0a7ed110a3ef77646613a5606d98e02de2d3418d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
18419
18419
  }
18420
18420
  var import_node_crypto18;
18421
18421
  var init_expo_native_compiler_digest = __esm({
@@ -48498,7 +48498,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
48498
48498
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
48499
48499
  MULTI_MANIFEST_VERSION = 76;
48500
48500
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
48501
- compilerSourceDigest = true ? "b77b42301ad42f91e52877615d6a778cea3d7c7f1f4515151886b188f7efbf0b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
48501
+ compilerSourceDigest = true ? "9514fd3df63e23aff60b29d712c1253d5b24a143e35f726b153690421d62974e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
48502
48502
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
48503
48503
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
48504
48504
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -74171,6 +74171,7 @@ function cleanWorkspaceGitEnv() {
74171
74171
  }
74172
74172
  function reactNativePodsEnvironment() {
74173
74173
  return {
74174
+ RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED,
74174
74175
  RCT_USE_PREBUILT_RNCORE: process.env.RCT_USE_PREBUILT_RNCORE,
74175
74176
  RCT_USE_RN_DEP: process.env.RCT_USE_RN_DEP
74176
74177
  };
@@ -74387,7 +74388,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
74387
74388
  { cwd: root }
74388
74389
  );
74389
74390
  const toolchain = JSON.stringify({
74390
- preparation: 12,
74391
+ preparation: 13,
74391
74392
  appRelative,
74392
74393
  xcode: xcodeInstallationIdentity(),
74393
74394
  node: node.stdout.trim(),
@@ -74856,7 +74857,7 @@ async function prepareNativeProject(app, workspace, manifest, stage, execute, re
74856
74857
  const sourcePodEnv = {
74857
74858
  EXPO_USE_PRECOMPILED_MODULES: "0",
74858
74859
  ONE_PREBUILT_IOS: "0",
74859
- RCT_NEW_ARCH_ENABLED: "1"
74860
+ RCT_NEW_ARCH_ENABLED: process.env.RCT_NEW_ARCH_ENABLED ?? "1"
74860
74861
  };
74861
74862
  const declares = (name3) => declaresNativeDependency(manifest, name3);
74862
74863
  if (!import_node_fs89.default.existsSync(import_node_path91.default.join(app, "ios", "Podfile"))) {
@@ -94144,6 +94145,12 @@ namespace {
94144
94145
  using AppNode = std::shared_ptr<const react::ShadowNode>;
94145
94146
  using AppChildren = std::vector<AppNode>;
94146
94147
 
94148
+ void setFabricViewportSize(auto &layout, const react::Size &size) {
94149
+ if constexpr (requires { layout.viewportSize = size; }) {
94150
+ layout.viewportSize = size;
94151
+ }
94152
+ }
94153
+
94147
94154
  class PeachAppShadowTree {
94148
94155
  public:
94149
94156
  PeachAppShadowTree(std::shared_ptr<react::UIManager> manager, const react::ContextContainer &context)
@@ -94161,7 +94168,7 @@ class PeachAppShadowTree {
94161
94168
  constraints.layoutDirection = rtl ? react::LayoutDirection::RightToLeft : react::LayoutDirection::LeftToRight;
94162
94169
  react::LayoutContext layout;
94163
94170
  layout.pointScaleFactor = static_cast<react::Float>(scale);
94164
- layout.viewportSize = constraints.maximumSize;
94171
+ setFabricViewportSize(layout, constraints.maximumSize);
94165
94172
  if (surface_ != 0 && surface_ != surface)
94166
94173
  throw jsi::JSError(rt, "Fabric runtime is already bound to another app surface");
94167
94174
  if (surface_ == 0) {
@@ -94817,7 +94824,7 @@ function transcribeLoad(text7, file) {
94817
94824
  throw refuse4("+load sends Objective-C messages");
94818
94825
  return { includes, usings, body };
94819
94826
  }
94820
- function viewManagers(root, files2) {
94827
+ function viewManagers(root, files2, inherited) {
94821
94828
  const classes = /* @__PURE__ */ new Map();
94822
94829
  for (const file of files2) {
94823
94830
  if (!HEADER5.test(file) && !OBJC2.test(file)) continue;
@@ -94829,7 +94836,7 @@ function viewManagers(root, files2) {
94829
94836
  ))
94830
94837
  classes.set(name3, parent);
94831
94838
  }
94832
- const managers = /* @__PURE__ */ new Set(["RCTViewManager"]);
94839
+ const managers = new Set(inherited ?? ["RCTViewManager"]);
94833
94840
  for (let remaining = classes.size; remaining > 0; remaining--) {
94834
94841
  let changed = false;
94835
94842
  for (const [name3, parent] of classes) {
@@ -94842,9 +94849,15 @@ function viewManagers(root, files2) {
94842
94849
  }
94843
94850
  return managers;
94844
94851
  }
94845
- function paperViewManagers(root, files2) {
94852
+ function reactNativeViewManagers(root) {
94853
+ const files2 = /* @__PURE__ */ new Set();
94854
+ for (const { from, to } of REACT_NATIVE_HEADER_DIRS)
94855
+ if (to === "React") walkFiles2(root, from, files2);
94856
+ return viewManagers(root, files2);
94857
+ }
94858
+ function paperViewManagers(root, files2, inherited) {
94846
94859
  const sources = [...files2];
94847
- const managers = viewManagers(root, sources);
94860
+ const managers = viewManagers(root, sources, inherited);
94848
94861
  const exported = /* @__PURE__ */ new Set();
94849
94862
  for (const file of sources) {
94850
94863
  if (!OBJC2.test(file)) continue;
@@ -94861,15 +94874,15 @@ function paperViewManagers(root, files2) {
94861
94874
  }
94862
94875
  return [...exported].sort();
94863
94876
  }
94864
- function registers(root, files2, objc = true) {
94877
+ function registers(root, files2, inherited) {
94865
94878
  const sources = [...files2];
94866
- const managers = objc ? viewManagers(root, sources) : /* @__PURE__ */ new Set();
94879
+ const managers = viewManagers(root, sources, inherited);
94867
94880
  for (const file of sources) {
94868
94881
  if (!UNIT.test(file) && !OBJC2.test(file)) continue;
94869
94882
  const text7 = import_node_fs121.default.readFileSync(import_node_path123.default.join(root, file), "utf8");
94870
94883
  if (text7.includes(REGISTRATION)) return true;
94871
94884
  const stripped2 = stripComments2(text7);
94872
- if (objc && OBJC2.test(file) && !CODEGEN_OBJC.test(text7) && (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2) && ![...stripped2.matchAll(/@implementation\s+(\w+)/g)].some(
94885
+ if (OBJC2.test(file) && !CODEGEN_OBJC.test(text7) && (OBJC_TURBO.test(stripped2) || OBJC_BRIDGE.test(stripped2) && ![...stripped2.matchAll(/@implementation\s+(\w+)/g)].some(
94873
94886
  ([, name3]) => managers.has(name3)
94874
94887
  )))
94875
94888
  return true;
@@ -94912,11 +94925,20 @@ async function collectTurboSources(options2) {
94912
94925
  const reactNative = packageInfo(options2.reactNativeRoot);
94913
94926
  if (reactNative.name !== "react-native")
94914
94927
  throw new Error(`${options2.reactNativeRoot} is not react-native`);
94915
- const rawProviders = options2.providers.map((provider) => ({
94916
- ...provider,
94917
- info: packageInfo(provider.root),
94918
- libraries: packageCodegenLibraries(provider.root)
94919
- })).sort((a, b) => a.info.name.localeCompare(b.info.name));
94928
+ const nativeManagers = reactNativeViewManagers(reactNative.root);
94929
+ const paperWorkspace = process.env.RCT_NEW_ARCH_ENABLED === "0";
94930
+ const rawProviders = options2.providers.map((provider) => {
94931
+ const installed = options2.installedPods?.get(provider.name);
94932
+ const paper = paperWorkspace && installed !== void 0 && !/(?:^| )-D ?RCT_NEW_ARCH_ENABLED(?:=[^ ]+)?(?: |$)/.test(
94933
+ installed.preprocessorFlags.cxx.join(" ")
94934
+ );
94935
+ return {
94936
+ ...provider,
94937
+ info: packageInfo(provider.root),
94938
+ libraries: packageCodegenLibraries(provider.root),
94939
+ paper
94940
+ };
94941
+ }).sort((a, b) => a.info.name.localeCompare(b.info.name));
94920
94942
  const installedHeaderPods = (options2.reactNativeProvider || options2.reactNativeCore ? [] : await installedTurboHeaderPods(options2.appRoot)).map(
94921
94943
  (provider) => readPod(provider, options2.appRoot, options2.installedPods?.get(provider.name))
94922
94944
  );
@@ -94942,7 +94964,7 @@ async function collectTurboSources(options2) {
94942
94964
  const providers = [];
94943
94965
  for (const provider of rawProviders) {
94944
94966
  const componentLibraries = provider.libraries.filter((library) => library.components);
94945
- if (componentLibraries.length === 0) {
94967
+ if (componentLibraries.length === 0 || provider.paper) {
94946
94968
  providers.push({ ...provider, providerFabric: false });
94947
94969
  continue;
94948
94970
  }
@@ -94977,7 +94999,7 @@ async function collectTurboSources(options2) {
94977
94999
  const text7 = import_node_fs121.default.readFileSync(import_node_path123.default.join(pod.root, file), "utf8");
94978
95000
  return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
94979
95001
  });
94980
- if (!registers(pod.root, filteredFiles) && paperViewManagers(pod.root, filteredFiles).length === 0)
95002
+ if (!registers(pod.root, filteredFiles, nativeManagers) && paperViewManagers(pod.root, filteredFiles, nativeManagers).length === 0)
94981
95003
  continue;
94982
95004
  }
94983
95005
  providers.push({ ...provider, providerFabric });
@@ -94991,13 +95013,12 @@ async function collectTurboSources(options2) {
94991
95013
  const targetPath = (name3) => `Sources/${name3}`;
94992
95014
  const providerTarget = (name3) => `TurboPackage_${sha2564(name3).slice(0, 16)}`;
94993
95015
  const folly = readFollyConfig(reactNative.root);
94994
- const defines = [
95016
+ const baseDefines = [
94995
95017
  options2.configuration === "Debug" ? "DEBUG=1" : "NDEBUG",
94996
- "RCT_NEW_ARCH_ENABLED=1",
94997
- "RCT_REMOVE_LEGACY_ARCH=1",
94998
95018
  "RCT_REMOTE_PROFILE=0",
94999
95019
  ...folly.defines
95000
95020
  ];
95021
+ const defines = [...baseDefines, "RCT_NEW_ARCH_ENABLED=1", "RCT_REMOVE_LEGACY_ARCH=1"];
95001
95022
  const target = (name3, dependencies) => ({
95002
95023
  name: name3,
95003
95024
  path: targetPath(name3),
@@ -95508,6 +95529,7 @@ async function collectTurboSources(options2) {
95508
95529
  options2.appRoot,
95509
95530
  options2.installedPods?.get(provider.name)
95510
95531
  );
95532
+ if (provider.paper) providerTargetInput.cxxDefines = baseDefines;
95511
95533
  if (pod.installed)
95512
95534
  providerTargetInput.clangSettings = [
95513
95535
  { tool: "c", flags: pod.installed.preprocessorFlags.c },
@@ -95529,8 +95551,8 @@ async function collectTurboSources(options2) {
95529
95551
  const text7 = import_node_fs121.default.readFileSync(import_node_path123.default.join(root, file), "utf8");
95530
95552
  return registersReactModule(text7) || CODEGEN_OBJC.test(text7);
95531
95553
  });
95532
- const managers = viewManagers(root, files2);
95533
- const paper = paperViewManagers(root, files2);
95554
+ const managers = viewManagers(root, files2, nativeManagers);
95555
+ const paper = paperViewManagers(root, files2, nativeManagers);
95534
95556
  if (paper.length > 0) {
95535
95557
  fabric = true;
95536
95558
  paperClasses.push(...paper);
@@ -95791,7 +95813,7 @@ async function collectTurboSources(options2) {
95791
95813
  ].join("\n")
95792
95814
  );
95793
95815
  }
95794
- if (loads.length === 0 && !registers(root, files2) && !provider.providerFabric && paper.length === 0)
95816
+ if (loads.length === 0 && !registers(root, files2, nativeManagers) && !provider.providerFabric && paper.length === 0)
95795
95817
  throw new Error(`${label}: its pod sources register no TurboModule`);
95796
95818
  objc ||= providerObjC;
95797
95819
  const specs = provider.libraries.flatMap(({ spec }) => spec ?? []);
@@ -97461,13 +97483,13 @@ std::array<double, 10> fabricAdoptedStyle(const PeachFabricView &view) {
97461
97483
 
97462
97484
  // UIManager::dispatchEventToJS: the instance handle the engine gave the view,
97463
97485
  // the event type and its payload with the target tag and timestamp
97464
- void fabricDispatchEvent(
97486
+ const auto fabricDispatchEvent = [](
97465
97487
  jsi::Runtime &rt,
97466
- react::EventTarget *target,
97488
+ const react::EventTarget *target,
97467
97489
  const std::string &type,
97468
97490
  react::ReactEventPriority,
97469
97491
  const react::EventPayload &eventPayload,
97470
- react::HighResTimeStamp timestamp) {
97492
+ auto... timestamps) {
97471
97493
  auto payload = eventPayload.asJSIValue(rt);
97472
97494
  if (payload.isNull() || !fabricEventHandler || !target) return;
97473
97495
  auto handle = target->getInstanceHandle(rt);
@@ -97475,11 +97497,14 @@ void fabricDispatchEvent(
97475
97497
  if (payload.isObject()) {
97476
97498
  auto object = payload.asObject(rt);
97477
97499
  object.setProperty(rt, "target", target->getTag());
97478
- if (!object.hasProperty(rt, "timeStamp"))
97479
- object.setProperty(rt, "timeStamp", timestamp.toDOMHighResTimeStamp());
97500
+ if constexpr (sizeof...(timestamps) != 0) {
97501
+ if (!object.hasProperty(rt, "timeStamp")) {
97502
+ (object.setProperty(rt, "timeStamp", timestamps.toDOMHighResTimeStamp()), ...);
97503
+ }
97504
+ }
97480
97505
  }
97481
97506
  fabricEventHandler->call(rt, std::move(handle), jsi::String::createFromUtf8(rt, type), std::move(payload));
97482
- }
97507
+ };
97483
97508
 
97484
97509
  // UIManager::updateState with the engine's tree in place of the shadow tree:
97485
97510
  // the view's next state, then the update its commit would mount
@@ -98216,12 +98241,13 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
98216
98241
  }
98217
98242
  `;
98218
98243
  }
98219
- var import_node_crypto74, import_node_fs121, import_node_path123, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_SHADOW_HANDLE_HOST, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
98244
+ var import_node_crypto74, import_node_fs121, import_node_module16, import_node_path123, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_SHADOW_HANDLE_HOST, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
98220
98245
  var init_turbo_source = __esm({
98221
98246
  "src/turbo-source.ts"() {
98222
98247
  "use strict";
98223
98248
  import_node_crypto74 = require("node:crypto");
98224
98249
  import_node_fs121 = __toESM(require("node:fs"), 1);
98250
+ import_node_module16 = require("node:module");
98225
98251
  import_node_path123 = __toESM(require("node:path"), 1);
98226
98252
  init_cocoapods_trunk();
98227
98253
  init_installed_native_libraries();
@@ -99167,13 +99193,13 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
99167
99193
  resources: { ...dependencies?.resources, ...collection.resources }
99168
99194
  };
99169
99195
  }
99170
- var import_node_crypto75, import_node_fs122, import_node_module16, import_node_os26, import_node_path124;
99196
+ var import_node_crypto75, import_node_fs122, import_node_module17, import_node_os26, import_node_path124;
99171
99197
  var init_turbo_compile = __esm({
99172
99198
  "src/turbo-compile.ts"() {
99173
99199
  "use strict";
99174
99200
  import_node_crypto75 = require("node:crypto");
99175
99201
  import_node_fs122 = __toESM(require("node:fs"), 1);
99176
- import_node_module16 = require("node:module");
99202
+ import_node_module17 = require("node:module");
99177
99203
  import_node_os26 = __toESM(require("node:os"), 1);
99178
99204
  import_node_path124 = __toESM(require("node:path"), 1);
99179
99205
  init_native_app_identity_project();
@@ -99386,7 +99412,7 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
99386
99412
  };
99387
99413
  walk4("");
99388
99414
  const codegenRoot = import_node_path126.default.dirname(
99389
- (0, import_node_module17.createRequire)(import_node_path126.default.join(reactNativeRoot, "package.json")).resolve(
99415
+ (0, import_node_module18.createRequire)(import_node_path126.default.join(reactNativeRoot, "package.json")).resolve(
99390
99416
  "@react-native/codegen/package.json"
99391
99417
  )
99392
99418
  );
@@ -99437,13 +99463,13 @@ async function prebuiltReactNativeCore(project, reactNativeRoot, moduleRoot, mod
99437
99463
  throw new Error(`React Native core ${entry.key} does not match its descriptor`);
99438
99464
  return readReactNativeCore(JSON.parse(import_node_fs124.default.readFileSync(file, "utf8")));
99439
99465
  }
99440
- var import_node_crypto76, import_node_fs124, import_node_module17, import_node_path126, import_node_util17, recipe, strings4, building;
99466
+ var import_node_crypto76, import_node_fs124, import_node_module18, import_node_path126, import_node_util17, recipe, strings4, building;
99441
99467
  var init_react_native_core = __esm({
99442
99468
  "src/react-native-core.ts"() {
99443
99469
  "use strict";
99444
99470
  import_node_crypto76 = require("node:crypto");
99445
99471
  import_node_fs124 = __toESM(require("node:fs"), 1);
99446
- import_node_module17 = require("node:module");
99472
+ import_node_module18 = require("node:module");
99447
99473
  import_node_path126 = __toESM(require("node:path"), 1);
99448
99474
  import_node_util17 = require("node:util");
99449
99475
  init_home_paths();
@@ -99456,7 +99482,7 @@ var init_react_native_core = __esm({
99456
99482
  init_swift_distribution();
99457
99483
  init_swift_package();
99458
99484
  init_swiftContract();
99459
- recipe = true ? "3975b9e31f8717b96a262b88fe763718b62489abdc24bc01f287973d7fa95239" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
99485
+ recipe = true ? "2e0302e75afcc89d7a2fcfb892b78f125d6f1ccf37b50bb950c86fd5db6db939" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
99460
99486
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
99461
99487
  building = /* @__PURE__ */ new Map();
99462
99488
  }
@@ -100019,7 +100045,7 @@ function enrichInstalledUnits(units, installed, namespaceGroups, provided, modul
100019
100045
  const byPath = [...installedTargets].sort((a, b) => b.path.length - a.path.length);
100020
100046
  const reactNativeRoot = import_node_fs126.default.realpathSync(
100021
100047
  import_node_path128.default.dirname(
100022
- (0, import_node_module18.createRequire)(import_node_path128.default.join(workspaceAppRoot, "package.json")).resolve(
100048
+ (0, import_node_module19.createRequire)(import_node_path128.default.join(workspaceAppRoot, "package.json")).resolve(
100023
100049
  "react-native/package.json"
100024
100050
  )
100025
100051
  )
@@ -100472,7 +100498,7 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
100472
100498
  signal?.throwIfAborted();
100473
100499
  appRoot = import_node_fs126.default.realpathSync(appRoot);
100474
100500
  const appConfig = await loadRNXAppConfig(resolveAppProject(appRoot));
100475
- const appRequire = (0, import_node_module18.createRequire)(import_node_path128.default.join(appRoot, "package.json"));
100501
+ const appRequire = (0, import_node_module19.createRequire)(import_node_path128.default.join(appRoot, "package.json"));
100476
100502
  let expoRoot;
100477
100503
  try {
100478
100504
  expoRoot = import_node_path128.default.dirname(appRequire.resolve("expo/package.json"));
@@ -101602,7 +101628,7 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
101602
101628
  const reactProvider = units.some((unit2) => unit2.reactNativeProvider) ? await (async () => {
101603
101629
  const projectRoot = options2.installedWorkspace ? import_node_path128.default.dirname(import_node_path128.default.dirname(options2.installedWorkspace)) : (await prepareExpoNativeWorkspace(root, signal, options2.iosTarget)).app;
101604
101630
  const reactNativeRoot = import_node_path128.default.dirname(
101605
- (0, import_node_module18.createRequire)(import_node_path128.default.join(projectRoot, "package.json")).resolve(
101631
+ (0, import_node_module19.createRequire)(import_node_path128.default.join(projectRoot, "package.json")).resolve(
101606
101632
  "react-native/package.json"
101607
101633
  )
101608
101634
  );
@@ -101972,7 +101998,7 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
101972
101998
  throw failure2;
101973
101999
  }
101974
102000
  }
101975
- var import_node_async_hooks4, import_node_child_process65, import_node_crypto78, import_node_fs126, import_node_module18, import_node_os27, import_node_path128, import_node_url4, import_node_util18, run11, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
102001
+ var import_node_async_hooks4, import_node_child_process65, import_node_crypto78, import_node_fs126, import_node_module19, import_node_os27, import_node_path128, import_node_url4, import_node_util18, run11, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
101976
102002
  var init_expo_swift_host = __esm({
101977
102003
  "src/expo-swift-host.ts"() {
101978
102004
  "use strict";
@@ -101980,7 +102006,7 @@ var init_expo_swift_host = __esm({
101980
102006
  import_node_child_process65 = require("node:child_process");
101981
102007
  import_node_crypto78 = require("node:crypto");
101982
102008
  import_node_fs126 = __toESM(require("node:fs"), 1);
101983
- import_node_module18 = require("node:module");
102009
+ import_node_module19 = require("node:module");
101984
102010
  import_node_os27 = __toESM(require("node:os"), 1);
101985
102011
  import_node_path128 = __toESM(require("node:path"), 1);
101986
102012
  import_node_url4 = require("node:url");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2675 | (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.2673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2675 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftResourcePath
4
- } from "./esm-chunks/chunk-RF5IVPXG.mjs";
4
+ } from "./esm-chunks/chunk-LCSKGJ7G.mjs";
5
5
  import {
6
6
  isNativeAppIdentity
7
- } from "./esm-chunks/chunk-7H7ZOZM2.mjs";
8
- import "./esm-chunks/chunk-KXE5HCNR.mjs";
7
+ } from "./esm-chunks/chunk-MED7BRBB.mjs";
8
+ import "./esm-chunks/chunk-ATBIBLXB.mjs";
9
9
  import {
10
10
  insertBundleGlobalFooter,
11
11
  readBundleGlobalFooter
12
- } from "./esm-chunks/chunk-Y6ZJLACG.mjs";
12
+ } from "./esm-chunks/chunk-ZATDP3O2.mjs";
13
13
  import {
14
14
  isRecord
15
- } from "./esm-chunks/chunk-OZCOKJ7M.mjs";
16
- import "./esm-chunks/chunk-D5FFCNAT.mjs";
15
+ } from "./esm-chunks/chunk-35JRIGP7.mjs";
16
+ import "./esm-chunks/chunk-BJGGCQKA.mjs";
17
17
 
18
18
  // src/expoSwiftContract.ts
19
19
  function strings(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2675 | (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;