peachsim 0.1.1818 → 0.1.1821

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 (86) hide show
  1. package/cli/commands/inspect/core.ts +13 -3
  2. package/cli/commands/inspect/wait-selector.ts +9 -1
  3. package/cli/outbound-endpoints.ts +5 -0
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +23 -5
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +1 -1
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +22 -4
  30. package/dist-lib/expo-swift-metadata.cjs +1 -1
  31. package/dist-lib/expo-swift-metadata.mjs +1 -1
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +23 -5
  34. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +5 -5
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +2 -2
  50. package/dist-lib/native-app-identity-project.cjs +2 -2
  51. package/dist-lib/native-app-identity-project.mjs +2 -2
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +53 -53
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +7 -5
  69. package/dist-lib/sdk.mjs +7 -5
  70. package/dist-lib/skills.cjs +31 -13
  71. package/dist-lib/swift-compile.cjs +20 -2
  72. package/dist-lib/swift-compile.mjs +20 -2
  73. package/dist-lib/swift-package.cjs +1 -1
  74. package/dist-lib/swift-package.mjs +1 -1
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +1 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +21 -3
  80. package/dist-lib/vite.cjs +1 -1
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/dist-types/packages/peach-engine/src/ios/photoLibraryContract.d.ts +1 -1
  84. package/package.json +1 -1
  85. package/src/expo-native-workspace.ts +3 -1
  86. package/src/swift-compile.ts +22 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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;
@@ -7783,8 +7783,8 @@ var init_registry = __esm({
7783
7783
  range: ">=12.0.0",
7784
7784
  coverage: 0.95,
7785
7785
  note: "real upstream package \u2014 not intercepted. the app's expo-secure-store JS runs over the ExpoSecureStore native module, backed by tenant-scoped IndexedDB records encrypted with AES-GCM via WebCrypto. Bun/test environments without IndexedDB use the same encrypted record format in memory. (same golden-rule native-seam tier as expo-crypto / expo-network: upstream JS runs unmodified, every gap is a physically-absent-on-an-iOS-sim feature.)",
7786
- working: "upstream validation and constants, getItem/setItem sync APIs over the hydrated in-process cache, getItemAsync/setItemAsync/deleteItemAsync async APIs, isAvailableAsync, canUseBiometricAuthentication false, keychainService/accessGroup/requireAuthentication storage partitioning, AES-GCM encrypted storage records with per-record salt/iv and tenant-scoped PBKDF2 key derivation, persists across reloads when IndexedDB is available",
7787
- missing: "canUseBiometricAuthentication always false (no biometric prompt available on web \u2014 correct unavailable shape), requireAuthentication not enforced beyond storage partitioning/encryption (no biometric prompt to require), keychainAccessible does not affect browser storage access. sync reads cannot synchronously cold-load IndexedDB after a fresh worker boot; async reads hydrate the cache. all of these are honest absent-on-web semantics \u2014 apps with graceful-degradation paths behave correctly."
7786
+ working: "upstream validation and constants, getItem/setItem sync APIs over the hydrated in-process cache, getItemAsync/setItemAsync/deleteItemAsync async APIs, isAvailableAsync, canUseBiometricAuthentication true (Face ID enrolled), keychainService/accessGroup/requireAuthentication storage partitioning, AES-GCM encrypted storage records with per-record salt/iv and tenant-scoped PBKDF2 key derivation, persists across reloads when IndexedDB is available",
7787
+ missing: "async reads and updates of an existing requireAuthentication item scan through the simulator Face ID alert and fail with ERR_KEY_CHAIN on deny or cancel (adds and deletes never prompt, as in SecureStoreModule.swift); sync getItem/setItem block the native thread upstream and cannot wait on the alert, so they do not scan. keychainAccessible does not affect browser storage access. sync reads cannot synchronously cold-load IndexedDB after a fresh worker boot; async reads hydrate the cache. all of these are honest absent-on-web semantics \u2014 apps with graceful-degradation paths behave correctly."
7788
7788
  }
7789
7789
  ]
7790
7790
  },
@@ -10966,7 +10966,7 @@ var init_registry = __esm({
10966
10966
  {
10967
10967
  range: ">=2.0.0-beta.100",
10968
10968
  coverage: 0.72,
10969
- note: "native-seam for one's native modules and host views, tested with One 2.14.1. one's React code runs from the bundle and converts its public props into native host props. One.SecureStore imports One's SecureStoreOptions and does not throw Expo MissingPlistKeyException for requireAuthentication.",
10969
+ note: "native-seam for one's native modules and host views, tested with One 2.14.1. one's React code runs from the bundle and converts its public props into native host props. One.SecureStore imports One's SecureStoreOptions and does not throw Expo MissingPlistKeyException for requireAuthentication; getItem and an overwriting setItem of an authenticated item scan through the simulator Face ID alert and reject E_SECURE_STORE_GET or E_SECURE_STORE_SET with the status.",
10970
10970
  working: "One.SecureStore, One.UI.SafeArea provider metrics, One.iOS.ToolbarHost, BarButtonItem with SF Symbols/image sources, badges, fixed/fluid spacers, view children, nested MenuAction trees, disabled/selected/destructive actions, visible action callbacks, Swift.DefaultToolbarItem sidebarToggle and title at automatic placement in an inline NavigationStack, minimized search at bottomBar placement, Swift.Tab navigationStack false page and shared toolbar, ZoomTransitionSource source-window registration, ZoomTransitionEnabler destination alignment, OneNativeDatePicker graphical calendar, compact date popover, editable time capsules, explicit wheels, controlled selection events, locale, timezone and date bounds",
10971
10971
  missing: "One.UI.PictureInPicture never enters picture in picture, Color native host, SplitView gamma host, other DefaultToolbarItem placements and containers, bottom SearchBarSlot integration with a configured native search controller, exact UIKit shared-background grouping"
10972
10972
  }
@@ -12430,8 +12430,8 @@ var init_registry = __esm({
12430
12430
  {
12431
12431
  range: ">=6.0.0",
12432
12432
  coverage: 0.85,
12433
- note: "native-seam: published v6 named exports and hooks run unchanged over the SensitiveInfo Nitro object; service/group-scoped encrypted storage, metadata-only reads, integrity errors, persistent key versions and lazy/eager rotation follow the shared iOS simulator profile with a passcode set and Face ID not enrolled",
12434
- missing: "enrolled biometric or passcode authentication, hardware key isolation, iCloud transport and Android Keystore parity are not certified; the native profile reports device credentials available and biometry not enrolled"
12433
+ note: "native-seam: published v6 named exports and hooks run unchanged over the SensitiveInfo Nitro object; service/group-scoped encrypted storage, metadata-only reads, integrity errors, persistent key versions and lazy/eager rotation follow the shared iOS simulator profile with a passcode set and Face ID enrolled; protected reads scan through the simulator Face ID alert",
12434
+ missing: "the passcode sheet for devicePasscode items, hardware key isolation, iCloud transport and Android Keystore parity are not certified; the native profile reports Face ID enrolled and the Secure Enclave available"
12435
12435
  }
12436
12436
  ]
12437
12437
  },
@@ -49281,6 +49281,24 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
49281
49281
  stageTargetFile(target.name, import_node_path39.default.join(layout.root, modulemap), moduleContents, {
49282
49282
  allowExisting: true
49283
49283
  });
49284
+ if (modulemap.endsWith("/Modules/module.modulemap")) {
49285
+ const headers = import_node_path39.default.posix.join(
49286
+ import_node_path39.default.posix.dirname(import_node_path39.default.posix.dirname(modulemap)),
49287
+ "Headers"
49288
+ );
49289
+ const mirrored = import_node_path39.default.posix.join(import_node_path39.default.posix.dirname(modulemap), "Headers");
49290
+ for (const [, umbrella] of moduleContents.toString().matchAll(/\bumbrella\s+header\s+"([^"]+)"/g)) {
49291
+ const source = settings.productHeaders[import_node_path39.default.posix.join(headers, umbrella)];
49292
+ const contents = source === void 0 ? void 0 : input.files[source];
49293
+ if (contents !== void 0)
49294
+ stageTargetFile(
49295
+ target.name,
49296
+ import_node_path39.default.join(layout.root, mirrored, umbrella),
49297
+ contents,
49298
+ { allowExisting: true }
49299
+ );
49300
+ }
49301
+ }
49284
49302
  if (nativeC && import_node_path39.default.posix.basename(modulemap) !== "module.modulemap") {
49285
49303
  stageTargetFile(
49286
49304
  target.name,
@@ -51130,7 +51148,7 @@ var init_swift_compile = __esm({
51130
51148
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
51131
51149
  MULTI_MANIFEST_VERSION = 65;
51132
51150
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
51133
- compilerSourceDigest = true ? "f079d0f9f3d0467a52729f6950de38e5f71e1ad9017031a3ec3722aad044dac2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
51151
+ compilerSourceDigest = true ? "3d055fb169dadbe3931422242039d4edc7f595c6301256776bac390c04b04fff" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
51134
51152
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
51135
51153
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
51136
51154
  cxxFlagArray = (flags) => JSON.stringify([
@@ -56697,7 +56715,7 @@ async function prepareWorkspace(app, stage, key2, podsEnvironment) {
56697
56715
  }
56698
56716
  async function prepareNativeProject(app, manifest, stage, execute, run11, report) {
56699
56717
  const appRequire = (0, import_node_module4.createRequire)(import_node_path50.default.join(app, "package.json"));
56700
- const sourcePodEnv = { EXPO_USE_PRECOMPILED_MODULES: "0" };
56718
+ const sourcePodEnv = { EXPO_USE_PRECOMPILED_MODULES: "0", RCT_NEW_ARCH_ENABLED: "1" };
56701
56719
  const declares2 = (name3) => Object.hasOwn(manifest.dependencies ?? {}, name3) || Object.hasOwn(manifest.devDependencies ?? {}, name3);
56702
56720
  if (!import_node_fs53.default.existsSync(import_node_path50.default.join(app, "ios", "Podfile"))) {
56703
56721
  const prebuild = declares2("expo") ? [appRequire.resolve("expo/bin/cli"), "prebuild"] : [
@@ -59336,7 +59354,7 @@ var init_swift_standin_digest = __esm({
59336
59354
  import_node_path57 = __toESM(require("node:path"), 1);
59337
59355
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
59338
59356
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
59339
- STANDIN_SOURCE_DIGEST = true ? "8f0366b0cff83df98b5c384de636ce381a37b651763f9996a92ed4ba21a4a3be" : standinSourceDigest();
59357
+ STANDIN_SOURCE_DIGEST = true ? "773d35d2ce567d406d13d7d0722b1b2c0ec8aecde744d98c2050dc2a916c489b" : standinSourceDigest();
59340
59358
  }
59341
59359
  });
59342
59360
 
@@ -76220,7 +76238,7 @@ var init_nitro_superset = __esm({
76220
76238
  init_swift_standin_digest();
76221
76239
  NITRO_SUPERSET_ENTRY_NAME = "superset";
76222
76240
  packageVersion = (root) => JSON.parse((0, import_node_fs84.readFileSync)((0, import_node_path80.join)(root, "package.json"), "utf8")).version;
76223
- NITRO_COMPILER_DIGEST = true ? "913d85125006c879194af99f878c3f3a07be5f73739d054dd6c763a76fc48951" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
76241
+ NITRO_COMPILER_DIGEST = true ? "ffd281df2ed6cd776eb43f99a3d831d66230e6d4c8b2bbb7292d91d6e315566c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
76224
76242
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
76225
76243
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
76226
76244
  published = /* @__PURE__ */ new Map();
@@ -96589,11 +96607,11 @@ async function inspectReadySnapshot(bridge, budgetMs, simId) {
96589
96607
  result.polls === 1 && result.probe ? readyProbeIsReady(result.probe) : false
96590
96608
  );
96591
96609
  }
96592
- async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs = 1e3) {
96610
+ async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs = 1e3, race) {
96593
96611
  const start = Date.now();
96594
96612
  for (let sent = 1; ; sent++) {
96595
96613
  const remaining = Math.max(0, timeoutMs - (Date.now() - start));
96596
- const slice = Math.min(SEMANTIC_WAIT_MAX_TIMEOUT_MS, remaining);
96614
+ const slice = Math.min(race?.sliceMs ?? SEMANTIC_WAIT_MAX_TIMEOUT_MS, remaining);
96597
96615
  const result = await bridge.send(
96598
96616
  {
96599
96617
  type: "waitFor",
@@ -96602,7 +96620,7 @@ async function sendSemanticWait(bridge, condition, timeoutMs, simId, transportMs
96602
96620
  },
96603
96621
  { timeoutMs: remaining + transportMs }
96604
96622
  );
96605
- if (result?.matched || result?.error || condition.type === "ready" && result?.probe?.externalError || slice === remaining)
96623
+ if (result?.matched || result?.error || condition.type === "ready" && result?.probe?.externalError || slice === remaining || race?.settled.aborted)
96606
96624
  return sent === 1 ? result : { ...result, elapsedMs: Date.now() - start };
96607
96625
  }
96608
96626
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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;
@@ -7857,7 +7857,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
7857
7857
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
7858
7858
  var MULTI_MANIFEST_VERSION = 65;
7859
7859
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
7860
- var compilerSourceDigest = true ? "f079d0f9f3d0467a52729f6950de38e5f71e1ad9017031a3ec3722aad044dac2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
7860
+ var compilerSourceDigest = true ? "3d055fb169dadbe3931422242039d4edc7f595c6301256776bac390c04b04fff" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
7861
7861
  function swiftArtifactHash(input, release, moduleRoot) {
7862
7862
  const hash = (0, import_node_crypto8.createHash)("sha256");
7863
7863
  hash.update(`swift-compile
@@ -10284,6 +10284,24 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
10284
10284
  stageTargetFile(target.name, import_node_path19.default.join(layout.root, modulemap), moduleContents, {
10285
10285
  allowExisting: true
10286
10286
  });
10287
+ if (modulemap.endsWith("/Modules/module.modulemap")) {
10288
+ const headers = import_node_path19.default.posix.join(
10289
+ import_node_path19.default.posix.dirname(import_node_path19.default.posix.dirname(modulemap)),
10290
+ "Headers"
10291
+ );
10292
+ const mirrored = import_node_path19.default.posix.join(import_node_path19.default.posix.dirname(modulemap), "Headers");
10293
+ for (const [, umbrella] of moduleContents.toString().matchAll(/\bumbrella\s+header\s+"([^"]+)"/g)) {
10294
+ const source = settings.productHeaders[import_node_path19.default.posix.join(headers, umbrella)];
10295
+ const contents = source === void 0 ? void 0 : input.files[source];
10296
+ if (contents !== void 0)
10297
+ stageTargetFile(
10298
+ target.name,
10299
+ import_node_path19.default.join(layout.root, mirrored, umbrella),
10300
+ contents,
10301
+ { allowExisting: true }
10302
+ );
10303
+ }
10304
+ }
10287
10305
  if (nativeC && import_node_path19.default.posix.basename(modulemap) !== "module.modulemap") {
10288
10306
  stageTargetFile(
10289
10307
  target.name,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -7828,7 +7828,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
7828
7828
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
7829
7829
  var MULTI_MANIFEST_VERSION = 65;
7830
7830
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
7831
- var compilerSourceDigest = true ? "f079d0f9f3d0467a52729f6950de38e5f71e1ad9017031a3ec3722aad044dac2" : swiftCompilerSourceDigest(import.meta.dirname);
7831
+ var compilerSourceDigest = true ? "3d055fb169dadbe3931422242039d4edc7f595c6301256776bac390c04b04fff" : swiftCompilerSourceDigest(import.meta.dirname);
7832
7832
  function swiftArtifactHash(input, release, moduleRoot) {
7833
7833
  const hash = createHash8("sha256");
7834
7834
  hash.update(`swift-compile
@@ -10255,6 +10255,24 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
10255
10255
  stageTargetFile(target.name, path19.join(layout.root, modulemap), moduleContents, {
10256
10256
  allowExisting: true
10257
10257
  });
10258
+ if (modulemap.endsWith("/Modules/module.modulemap")) {
10259
+ const headers = path19.posix.join(
10260
+ path19.posix.dirname(path19.posix.dirname(modulemap)),
10261
+ "Headers"
10262
+ );
10263
+ const mirrored = path19.posix.join(path19.posix.dirname(modulemap), "Headers");
10264
+ for (const [, umbrella] of moduleContents.toString().matchAll(/\bumbrella\s+header\s+"([^"]+)"/g)) {
10265
+ const source = settings.productHeaders[path19.posix.join(headers, umbrella)];
10266
+ const contents = source === void 0 ? void 0 : input.files[source];
10267
+ if (contents !== void 0)
10268
+ stageTargetFile(
10269
+ target.name,
10270
+ path19.join(layout.root, mirrored, umbrella),
10271
+ contents,
10272
+ { allowExisting: true }
10273
+ );
10274
+ }
10275
+ }
10258
10276
  if (nativeC && path19.posix.basename(modulemap) !== "module.modulemap") {
10259
10277
  stageTargetFile(
10260
10278
  target.name,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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;
@@ -12153,7 +12153,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
12153
12153
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12154
12154
  var MULTI_MANIFEST_VERSION = 65;
12155
12155
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12156
- var compilerSourceDigest = true ? "f079d0f9f3d0467a52729f6950de38e5f71e1ad9017031a3ec3722aad044dac2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12156
+ var compilerSourceDigest = true ? "3d055fb169dadbe3931422242039d4edc7f595c6301256776bac390c04b04fff" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12157
12157
  function swiftArtifactHash(input, release, moduleRoot) {
12158
12158
  const hash = (0, import_node_crypto8.createHash)("sha256");
12159
12159
  hash.update(`swift-compile
@@ -14505,6 +14505,24 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14505
14505
  stageTargetFile(target.name, import_node_path19.default.join(layout.root, modulemap), moduleContents, {
14506
14506
  allowExisting: true
14507
14507
  });
14508
+ if (modulemap.endsWith("/Modules/module.modulemap")) {
14509
+ const headers = import_node_path19.default.posix.join(
14510
+ import_node_path19.default.posix.dirname(import_node_path19.default.posix.dirname(modulemap)),
14511
+ "Headers"
14512
+ );
14513
+ const mirrored = import_node_path19.default.posix.join(import_node_path19.default.posix.dirname(modulemap), "Headers");
14514
+ for (const [, umbrella] of moduleContents.toString().matchAll(/\bumbrella\s+header\s+"([^"]+)"/g)) {
14515
+ const source = settings.productHeaders[import_node_path19.default.posix.join(headers, umbrella)];
14516
+ const contents = source === void 0 ? void 0 : input.files[source];
14517
+ if (contents !== void 0)
14518
+ stageTargetFile(
14519
+ target.name,
14520
+ import_node_path19.default.join(layout.root, mirrored, umbrella),
14521
+ contents,
14522
+ { allowExisting: true }
14523
+ );
14524
+ }
14525
+ }
14508
14526
  if (nativeC && import_node_path19.default.posix.basename(modulemap) !== "module.modulemap") {
14509
14527
  stageTargetFile(
14510
14528
  target.name,
@@ -24851,7 +24869,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
24851
24869
  }
24852
24870
  return hash.digest("hex");
24853
24871
  }
24854
- var STANDIN_SOURCE_DIGEST = true ? "8f0366b0cff83df98b5c384de636ce381a37b651763f9996a92ed4ba21a4a3be" : standinSourceDigest();
24872
+ var STANDIN_SOURCE_DIGEST = true ? "773d35d2ce567d406d13d7d0722b1b2c0ec8aecde744d98c2050dc2a916c489b" : standinSourceDigest();
24855
24873
 
24856
24874
  // src/swift-standins.ts
24857
24875
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (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.1818 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1821 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -137,12 +137,12 @@ export type NativePhotoLibraryReply = {
137
137
  };
138
138
  export interface NativePhotoLibraryRequest {
139
139
  kind: 'photoLibrary.perform';
140
+ permissionAppId: string;
140
141
  owner: ShellNativeEvaluationOwner;
141
142
  evaluationId: string;
142
143
  connectionId: string;
143
144
  requestId: number;
144
145
  androidReadPermissions?: {
145
- appId: string;
146
146
  images: boolean;
147
147
  video: boolean;
148
148
  add: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1818",
3
+ "version": "0.1.1821",
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",
@@ -759,7 +759,9 @@ async function prepareNativeProject(
759
759
  report: (message: string) => void,
760
760
  ) {
761
761
  const appRequire = createRequire(path.join(app, 'package.json'))
762
- const sourcePodEnv = { EXPO_USE_PRECOMPILED_MODULES: '0' }
762
+ // peach runs the new architecture only, and pods such as
763
+ // react-native-paste-input refuse to evaluate without it
764
+ const sourcePodEnv = { EXPO_USE_PRECOMPILED_MODULES: '0', RCT_NEW_ARCH_ENABLED: '1' }
763
765
  const declares = (name: string) =>
764
766
  Object.hasOwn(manifest.dependencies ?? {}, name) ||
765
767
  Object.hasOwn(manifest.devDependencies ?? {}, name)
@@ -4598,6 +4598,28 @@ export function writeSwiftProject(
4598
4598
  stageTargetFile(target.name, path.join(layout.root, modulemap), moduleContents, {
4599
4599
  allowExisting: true,
4600
4600
  })
4601
+ // clang resolves a framework map loaded through extern module against
4602
+ // the map directory, not the framework root, so mirror the umbrella there
4603
+ if (modulemap.endsWith('/Modules/module.modulemap')) {
4604
+ const headers = path.posix.join(
4605
+ path.posix.dirname(path.posix.dirname(modulemap)),
4606
+ 'Headers',
4607
+ )
4608
+ const mirrored = path.posix.join(path.posix.dirname(modulemap), 'Headers')
4609
+ for (const [, umbrella] of moduleContents
4610
+ .toString()
4611
+ .matchAll(/\bumbrella\s+header\s+"([^"]+)"/g)) {
4612
+ const source = settings.productHeaders[path.posix.join(headers, umbrella!)]
4613
+ const contents = source === undefined ? undefined : input.files[source]
4614
+ if (contents !== undefined)
4615
+ stageTargetFile(
4616
+ target.name,
4617
+ path.join(layout.root, mirrored, umbrella!),
4618
+ contents,
4619
+ { allowExisting: true },
4620
+ )
4621
+ }
4622
+ }
4601
4623
  if (nativeC && path.posix.basename(modulemap) !== 'module.modulemap') {
4602
4624
  stageTargetFile(
4603
4625
  target.name,