peachsim 0.1.1811 → 0.1.1812

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 (102) hide show
  1. package/cli/cloud-client.ts +53 -23
  2. package/cli/commands/control.ts +9 -0
  3. package/cli/commands/platform.ts +11 -18
  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 +447 -371
  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 +122 -46
  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 +438 -362
  34. package/dist-lib/host/fetch-proxy-handler.cjs +1 -2
  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 +35 -12
  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 +35 -12
  50. package/dist-lib/native-app-identity-project.cjs +35 -11
  51. package/dist-lib/native-app-identity-project.mjs +35 -11
  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 +1 -1
  69. package/dist-lib/sdk.mjs +1 -1
  70. package/dist-lib/skills.cjs +492 -389
  71. package/dist-lib/swift-compile.cjs +46 -11
  72. package/dist-lib/swift-compile.mjs +46 -11
  73. package/dist-lib/swift-package.cjs +12 -4
  74. package/dist-lib/swift-package.mjs +9 -3
  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 +18 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +75 -30
  80. package/dist-lib/vite.cjs +1 -2
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/package.json +1 -1
  84. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h +1 -1
  85. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h +12 -50
  86. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewControllerLayoutEnvironment.h +2 -8
  87. package/sdk/ios/System/Library/Frameworks/UIKitTypes.framework/Headers/UIKitTypes.h +62 -0
  88. package/sdk/ios/usr/include/module.modulemap +8 -3
  89. package/src/expo-native-workspace.ts +56 -27
  90. package/src/nitro-adapter.lock.json +265 -265
  91. package/src/nitro-superset.lock.json +14 -14
  92. package/src/nitroContract.ts +1 -0
  93. package/src/swift-compile.ts +20 -6
  94. package/src/swift-distribution.lock.json +9 -9
  95. package/src/swift-link-roots.ts +13 -2
  96. package/src/swift-objc-compile.ts +12 -0
  97. package/src/swift-objc-standin.ts +5 -2
  98. package/src/swift-package.ts +21 -1
  99. package/src/swift-toolchain.ts +17 -0
  100. package/src/turbo-bundle.ts +3 -4
  101. package/src/turbo-runtime.lock.json +20 -20
  102. package/src/xcode-project.ts +29 -12
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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;
@@ -2808,6 +2808,23 @@ var compilerArchives = {
2808
2808
  }
2809
2809
  }
2810
2810
  },
2811
+ "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c": {
2812
+ identity: "a560ff35bf882b5c",
2813
+ hosts: {
2814
+ "darwin-arm64": {
2815
+ checksum: "ec20a41851ac558fe663d78def6b93d0d47c5a0cb69688ee270fd85de637a522",
2816
+ manifest: "253e891527d2213f54eace768b902de89de5e9495a3c5f4018de1985516bd553"
2817
+ },
2818
+ "linux-x64": {
2819
+ checksum: "f0126a2e63d275895036d02d75a901070da0343dbf03bf17342e10cb6f893dee",
2820
+ manifest: "6f951cc4071dd0d6054d85711a7c5fe272273658847831b477a8b24be7254ca0"
2821
+ },
2822
+ "linux-arm64": {
2823
+ checksum: "315fa766559a6e69bfd10dcddf40e04c91155f0db3047d210d74ac87652fb7e6",
2824
+ manifest: "b6f62fca2ec37593e274ee5bac474f21ffc5db14cd82f492ccbc774f8e9b75d8"
2825
+ }
2826
+ }
2827
+ },
2811
2828
  [SWIFT_HOST_COMPILER_RELEASE]: {
2812
2829
  identity: SWIFT_HOST_COMPILER_ID,
2813
2830
  hosts: {
@@ -3427,9 +3444,13 @@ ${declaration}
3427
3444
  export *
3428
3445
  }`;
3429
3446
  }
3447
+ var fmtConstantInterpreterFlags = (flags) => flags.some((flag) => flag.includes("/fmt/")) ? ["-fexperimental-new-constant-interpreter"] : [];
3448
+ var withoutGlogModuleMap = (flags) => flags.filter(
3449
+ (flag) => !(flag.startsWith("-fmodule-map-file=") && flag.endsWith("/glog.modulemap"))
3450
+ );
3430
3451
  function clangSettingEntries(settings, tool) {
3431
3452
  return (settings ?? []).flatMap(
3432
- (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(setting.flags)})`]
3453
+ (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(withoutGlogModuleMap(setting.flags))})`]
3433
3454
  );
3434
3455
  }
3435
3456
  function clangMacroSetting(macro) {
@@ -3798,9 +3819,12 @@ var IOS_SDK_ID = (0, import_node_crypto3.createHash)("sha256").update(JSON.strin
3798
3819
  function objcSdkIntakeFlags(headers, toolchainBin, minimum) {
3799
3820
  return [
3800
3821
  ...swiftObjCPlatformFlags(toolchainBin, minimum),
3801
- // AvailabilityInternal.h derives this through __is_target_os(ios), which
3802
- // is false for wasm32.
3822
+ // AvailabilityInternal.h derives these through __is_target_os(ios), which
3823
+ // is false for wasm32. the maximum is the sdk the headers come from, as
3824
+ // xcode defines it, so `#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_26_0`
3825
+ // sources see the members the sdk declares instead of a 17.0 default.
3803
3826
  `-D__IPHONE_OS_VERSION_MIN_REQUIRED=${minimum}`,
3827
+ `-D__IPHONE_OS_VERSION_MAX_ALLOWED=__IPHONE_${NATIVE_GRAPH_SDK_VERSION.replace(".", "_")}`,
3804
3828
  // apple's build setting for a 32-bit target to keep NSInteger and
3805
3829
  // NSUInteger long, the nominal types they have on arm64.
3806
3830
  "-DNS_BUILD_32_LIKE_64=1",
@@ -4822,6 +4846,7 @@ function objcSegmentSizes(bytes) {
4822
4846
  const names = [];
4823
4847
  const sizes = [];
4824
4848
  let hasExportedSymbol = false;
4849
+ let definesCategory = false;
4825
4850
  while (at.offset < bytes.length) {
4826
4851
  const id = bytes[at.offset++];
4827
4852
  const size = leb(bytes, at);
@@ -4861,6 +4886,8 @@ function objcSegmentSizes(bytes) {
4861
4886
  }
4862
4887
  } else if (symKind === 1) {
4863
4888
  const sLen = leb(bytes, at);
4889
+ if (!isUndef && Buffer.from(bytes.subarray(at.offset, at.offset + sLen)).toString().startsWith(".objc_category_"))
4890
+ definesCategory = true;
4864
4891
  at.offset += sLen;
4865
4892
  if (!isUndef) {
4866
4893
  leb(bytes, at);
@@ -4897,6 +4924,7 @@ function objcSegmentSizes(bytes) {
4897
4924
  result.set(name2, (result.get(name2) ?? 0) + (sizes[index] ?? 0));
4898
4925
  });
4899
4926
  result.set("__wasm_exported", hasExportedSymbol ? 1 : 0);
4927
+ result.set("__objc_category", definesCategory ? 1 : 0);
4900
4928
  return result;
4901
4929
  }
4902
4930
  var rootsByDistribution = /* @__PURE__ */ new Map();
@@ -7823,7 +7851,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
7823
7851
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
7824
7852
  var MULTI_MANIFEST_VERSION = 65;
7825
7853
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
7826
- var compilerSourceDigest = true ? "5bed84d1d29562932f8ef8e54d9dae7b5b378ffb937861030ae5b732eda8dafd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
7854
+ var compilerSourceDigest = true ? "c1407efb75c18328e37b50abfe396dce388c41563443b4c3a1485a800114a92c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
7827
7855
  function swiftArtifactHash(input, release, moduleRoot) {
7828
7856
  const hash = (0, import_node_crypto8.createHash)("sha256");
7829
7857
  hash.update(`swift-compile
@@ -7908,6 +7936,13 @@ ${target}
7908
7936
  }
7909
7937
  return hash.digest("hex");
7910
7938
  }
7939
+ var nativeCxxCompilerFlags = ["-fno-cxx-modules"];
7940
+ var cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
7941
+ var cxxFlagArray = (flags) => JSON.stringify([
7942
+ ...nativeCxxCompilerFlags,
7943
+ ...fmtConstantInterpreterFlags(flags),
7944
+ ...withoutGlogModuleMap(flags)
7945
+ ]);
7911
7946
  function swiftCrossImportFlags(moduleRoot, distribution) {
7912
7947
  const overlayRoot = import_node_path19.default.join(
7913
7948
  moduleRoot,
@@ -8140,13 +8175,13 @@ function emitSwiftPackageManifest(args) {
8140
8175
  (source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)
8141
8176
  );
8142
8177
  const nativeSettings = native?.clang ? [
8143
- `cSettings: [${cDefines} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, ...native.clang.flags]))})]`,
8178
+ `cSettings: [${cDefines} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, ...native.clang.flags]))})]`,
8144
8179
  ...nativeCxx ? [
8145
- `cxxSettings: [${cxxDefines} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...native.clang.cxxFlags]))})]`
8180
+ `cxxSettings: [${cxxDefines} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...native.clang.cxxFlags]))})]`
8146
8181
  ] : []
8147
8182
  ].join(", ") : [
8148
- `cSettings: [${cDefines}${declaredClangSettings(target, "c")} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, ...native?.flags ?? []]))})]`,
8149
- `cxxSettings: [${cxxDefines}${declaredClangSettings(target, "cxx")} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...native?.cxxFlags ?? []]))})]`
8183
+ `cSettings: [${cDefines}${declaredClangSettings(target, "c")} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, ...native?.flags ?? []]))})]`,
8184
+ `cxxSettings: [${cxxDefines}${declaredClangSettings(target, "cxx")} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...native?.cxxFlags ?? []]))})]`
8150
8185
  ].join(", ");
8151
8186
  const exclusions = native?.clang ? [] : [
8152
8187
  ...native ? native.exclude ?? native.lateSources : [],
@@ -8215,9 +8250,9 @@ function emitSwiftPackageManifest(args) {
8215
8250
  ` path: ${JSON.stringify(group.path)},`,
8216
8251
  ` sources: ${JSON.stringify(group.sources)},`,
8217
8252
  ' publicHeadersPath: "include",',
8218
- ` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, "-I", native.includeDirectory, "-I", args.headerDirectory, ...group.flags]))})],`,
8253
+ ` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags]))})],`,
8219
8254
  ...group.sources.some((source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)) ? [
8220
- ` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...group.cxxFlags]))})]),`
8255
+ ` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...group.cxxFlags]))})]),`
8221
8256
  ] : [" ),"]
8222
8257
  ]) : [];
8223
8258
  }),
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -2754,6 +2754,23 @@ var compilerArchives = {
2754
2754
  }
2755
2755
  }
2756
2756
  },
2757
+ "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c": {
2758
+ identity: "a560ff35bf882b5c",
2759
+ hosts: {
2760
+ "darwin-arm64": {
2761
+ checksum: "ec20a41851ac558fe663d78def6b93d0d47c5a0cb69688ee270fd85de637a522",
2762
+ manifest: "253e891527d2213f54eace768b902de89de5e9495a3c5f4018de1985516bd553"
2763
+ },
2764
+ "linux-x64": {
2765
+ checksum: "f0126a2e63d275895036d02d75a901070da0343dbf03bf17342e10cb6f893dee",
2766
+ manifest: "6f951cc4071dd0d6054d85711a7c5fe272273658847831b477a8b24be7254ca0"
2767
+ },
2768
+ "linux-arm64": {
2769
+ checksum: "315fa766559a6e69bfd10dcddf40e04c91155f0db3047d210d74ac87652fb7e6",
2770
+ manifest: "b6f62fca2ec37593e274ee5bac474f21ffc5db14cd82f492ccbc774f8e9b75d8"
2771
+ }
2772
+ }
2773
+ },
2757
2774
  [SWIFT_HOST_COMPILER_RELEASE]: {
2758
2775
  identity: SWIFT_HOST_COMPILER_ID,
2759
2776
  hosts: {
@@ -3375,9 +3392,13 @@ ${declaration}
3375
3392
  export *
3376
3393
  }`;
3377
3394
  }
3395
+ var fmtConstantInterpreterFlags = (flags) => flags.some((flag) => flag.includes("/fmt/")) ? ["-fexperimental-new-constant-interpreter"] : [];
3396
+ var withoutGlogModuleMap = (flags) => flags.filter(
3397
+ (flag) => !(flag.startsWith("-fmodule-map-file=") && flag.endsWith("/glog.modulemap"))
3398
+ );
3378
3399
  function clangSettingEntries(settings, tool) {
3379
3400
  return (settings ?? []).flatMap(
3380
- (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(setting.flags)})`]
3401
+ (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(withoutGlogModuleMap(setting.flags))})`]
3381
3402
  );
3382
3403
  }
3383
3404
  function clangMacroSetting(macro) {
@@ -3746,9 +3767,12 @@ var IOS_SDK_ID = createHash3("sha256").update(JSON.stringify(iosSdkEntries())).d
3746
3767
  function objcSdkIntakeFlags(headers, toolchainBin, minimum) {
3747
3768
  return [
3748
3769
  ...swiftObjCPlatformFlags(toolchainBin, minimum),
3749
- // AvailabilityInternal.h derives this through __is_target_os(ios), which
3750
- // is false for wasm32.
3770
+ // AvailabilityInternal.h derives these through __is_target_os(ios), which
3771
+ // is false for wasm32. the maximum is the sdk the headers come from, as
3772
+ // xcode defines it, so `#if __IPHONE_OS_VERSION_MAX_ALLOWED >= __IPHONE_26_0`
3773
+ // sources see the members the sdk declares instead of a 17.0 default.
3751
3774
  `-D__IPHONE_OS_VERSION_MIN_REQUIRED=${minimum}`,
3775
+ `-D__IPHONE_OS_VERSION_MAX_ALLOWED=__IPHONE_${NATIVE_GRAPH_SDK_VERSION.replace(".", "_")}`,
3752
3776
  // apple's build setting for a 32-bit target to keep NSInteger and
3753
3777
  // NSUInteger long, the nominal types they have on arm64.
3754
3778
  "-DNS_BUILD_32_LIKE_64=1",
@@ -4770,6 +4794,7 @@ function objcSegmentSizes(bytes) {
4770
4794
  const names = [];
4771
4795
  const sizes = [];
4772
4796
  let hasExportedSymbol = false;
4797
+ let definesCategory = false;
4773
4798
  while (at.offset < bytes.length) {
4774
4799
  const id = bytes[at.offset++];
4775
4800
  const size = leb(bytes, at);
@@ -4809,6 +4834,8 @@ function objcSegmentSizes(bytes) {
4809
4834
  }
4810
4835
  } else if (symKind === 1) {
4811
4836
  const sLen = leb(bytes, at);
4837
+ if (!isUndef && Buffer.from(bytes.subarray(at.offset, at.offset + sLen)).toString().startsWith(".objc_category_"))
4838
+ definesCategory = true;
4812
4839
  at.offset += sLen;
4813
4840
  if (!isUndef) {
4814
4841
  leb(bytes, at);
@@ -4845,6 +4872,7 @@ function objcSegmentSizes(bytes) {
4845
4872
  result.set(name2, (result.get(name2) ?? 0) + (sizes[index] ?? 0));
4846
4873
  });
4847
4874
  result.set("__wasm_exported", hasExportedSymbol ? 1 : 0);
4875
+ result.set("__objc_category", definesCategory ? 1 : 0);
4848
4876
  return result;
4849
4877
  }
4850
4878
  var rootsByDistribution = /* @__PURE__ */ new Map();
@@ -7792,7 +7820,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
7792
7820
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
7793
7821
  var MULTI_MANIFEST_VERSION = 65;
7794
7822
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
7795
- var compilerSourceDigest = true ? "5bed84d1d29562932f8ef8e54d9dae7b5b378ffb937861030ae5b732eda8dafd" : swiftCompilerSourceDigest(import.meta.dirname);
7823
+ var compilerSourceDigest = true ? "c1407efb75c18328e37b50abfe396dce388c41563443b4c3a1485a800114a92c" : swiftCompilerSourceDigest(import.meta.dirname);
7796
7824
  function swiftArtifactHash(input, release, moduleRoot) {
7797
7825
  const hash = createHash8("sha256");
7798
7826
  hash.update(`swift-compile
@@ -7877,6 +7905,13 @@ ${target}
7877
7905
  }
7878
7906
  return hash.digest("hex");
7879
7907
  }
7908
+ var nativeCxxCompilerFlags = ["-fno-cxx-modules"];
7909
+ var cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
7910
+ var cxxFlagArray = (flags) => JSON.stringify([
7911
+ ...nativeCxxCompilerFlags,
7912
+ ...fmtConstantInterpreterFlags(flags),
7913
+ ...withoutGlogModuleMap(flags)
7914
+ ]);
7880
7915
  function swiftCrossImportFlags(moduleRoot, distribution) {
7881
7916
  const overlayRoot = path19.join(
7882
7917
  moduleRoot,
@@ -8109,13 +8144,13 @@ function emitSwiftPackageManifest(args) {
8109
8144
  (source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)
8110
8145
  );
8111
8146
  const nativeSettings = native?.clang ? [
8112
- `cSettings: [${cDefines} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, ...native.clang.flags]))})]`,
8147
+ `cSettings: [${cDefines} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, ...native.clang.flags]))})]`,
8113
8148
  ...nativeCxx ? [
8114
- `cxxSettings: [${cxxDefines} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...native.clang.cxxFlags]))})]`
8149
+ `cxxSettings: [${cxxDefines} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...native.clang.cxxFlags]))})]`
8115
8150
  ] : []
8116
8151
  ].join(", ") : [
8117
- `cSettings: [${cDefines}${declaredClangSettings(target, "c")} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, ...native?.flags ?? []]))})]`,
8118
- `cxxSettings: [${cxxDefines}${declaredClangSettings(target, "cxx")} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...native?.cxxFlags ?? []]))})]`
8152
+ `cSettings: [${cDefines}${declaredClangSettings(target, "c")} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, ...native?.flags ?? []]))})]`,
8153
+ `cxxSettings: [${cxxDefines}${declaredClangSettings(target, "cxx")} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...native?.cxxFlags ?? []]))})]`
8119
8154
  ].join(", ");
8120
8155
  const exclusions = native?.clang ? [] : [
8121
8156
  ...native ? native.exclude ?? native.lateSources : [],
@@ -8184,9 +8219,9 @@ function emitSwiftPackageManifest(args) {
8184
8219
  ` path: ${JSON.stringify(group.path)},`,
8185
8220
  ` sources: ${JSON.stringify(group.sources)},`,
8186
8221
  ' publicHeadersPath: "include",',
8187
- ` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(JSON.stringify([...nativeFlags, "-I", native.includeDirectory, "-I", args.headerDirectory, ...group.flags]))})],`,
8222
+ ` cSettings: [${macroSettings(owner?.cDefines)}${declaredClangSettings(owner, "c")} .unsafeFlags(${flagArray(cFlagArray([...nativeFlags, "-I", native.includeDirectory, ...args.headerDirectory ? ["-I", args.headerDirectory] : [], ...group.flags]))})],`,
8188
8223
  ...group.sources.some((source) => /\.(?:cc|cpp|cxx|mm)$/.test(source)) ? [
8189
- ` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(JSON.stringify(["-fno-cxx-modules", ...cxxFlagsFor(nativeFlags), ...group.cxxFlags]))})]),`
8224
+ ` cxxSettings: [${macroSettings(owner?.cxxDefines)}${declaredClangSettings(owner, "cxx")} .unsafeFlags(${flagArray(cxxFlagArray([...cxxFlagsFor(nativeFlags), ...group.cxxFlags]))})]),`
8190
8225
  ] : [" ),"]
8191
8226
  ]) : [];
8192
8227
  }),
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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;
@@ -28,6 +28,7 @@ __export(swift_package_exports, {
28
28
  clangImportNames: () => clangImportNames,
29
29
  clangMacroSetting: () => clangMacroSetting,
30
30
  clangSettingEntries: () => clangSettingEntries,
31
+ fmtConstantInterpreterFlags: () => fmtConstantInterpreterFlags,
31
32
  isSwiftManifestFile: () => isSwiftManifestFile,
32
33
  isSwiftNativeTranslationUnit: () => isSwiftNativeTranslationUnit,
33
34
  manifestCalls: () => manifestCalls,
@@ -49,7 +50,8 @@ __export(swift_package_exports, {
49
50
  swiftResourceBundleForFile: () => swiftResourceBundleForFile,
50
51
  swiftResourceBundleInfoPlist: () => swiftResourceBundleInfoPlist,
51
52
  swiftResourceBundles: () => swiftResourceBundles,
52
- swiftTargetModuleName: () => swiftTargetModuleName
53
+ swiftTargetModuleName: () => swiftTargetModuleName,
54
+ withoutGlogModuleMap: () => withoutGlogModuleMap
53
55
  });
54
56
  module.exports = __toCommonJS(swift_package_exports);
55
57
  function swiftManifestSettings(target) {
@@ -248,9 +250,13 @@ function swiftPackageIdentity(url) {
248
250
  const path = url.endsWith("/") ? url.slice(0, -1) : url;
249
251
  return (path.split("/").pop() ?? path).replace(/\.git$/, "").toLowerCase();
250
252
  }
253
+ var fmtConstantInterpreterFlags = (flags) => flags.some((flag) => flag.includes("/fmt/")) ? ["-fexperimental-new-constant-interpreter"] : [];
254
+ var withoutGlogModuleMap = (flags) => flags.filter(
255
+ (flag) => !(flag.startsWith("-fmodule-map-file=") && flag.endsWith("/glog.modulemap"))
256
+ );
251
257
  function clangSettingEntries(settings, tool) {
252
258
  return (settings ?? []).flatMap(
253
- (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(setting.flags)})`]
259
+ (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(withoutGlogModuleMap(setting.flags))})`]
254
260
  );
255
261
  }
256
262
  function clangMacroSetting(macro) {
@@ -635,6 +641,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
635
641
  clangImportNames,
636
642
  clangMacroSetting,
637
643
  clangSettingEntries,
644
+ fmtConstantInterpreterFlags,
638
645
  isSwiftManifestFile,
639
646
  isSwiftNativeTranslationUnit,
640
647
  manifestCalls,
@@ -656,5 +663,6 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
656
663
  swiftResourceBundleForFile,
657
664
  swiftResourceBundleInfoPlist,
658
665
  swiftResourceBundles,
659
- swiftTargetModuleName
666
+ swiftTargetModuleName,
667
+ withoutGlogModuleMap
660
668
  });
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -197,9 +197,13 @@ function swiftPackageIdentity(url) {
197
197
  const path = url.endsWith("/") ? url.slice(0, -1) : url;
198
198
  return (path.split("/").pop() ?? path).replace(/\.git$/, "").toLowerCase();
199
199
  }
200
+ var fmtConstantInterpreterFlags = (flags) => flags.some((flag) => flag.includes("/fmt/")) ? ["-fexperimental-new-constant-interpreter"] : [];
201
+ var withoutGlogModuleMap = (flags) => flags.filter(
202
+ (flag) => !(flag.startsWith("-fmodule-map-file=") && flag.endsWith("/glog.modulemap"))
203
+ );
200
204
  function clangSettingEntries(settings, tool) {
201
205
  return (settings ?? []).flatMap(
202
- (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(setting.flags)})`]
206
+ (setting) => setting.tool !== tool ? [] : "headerSearchPath" in setting ? [`.headerSearchPath(${JSON.stringify(setting.headerSearchPath)})`] : [`.unsafeFlags(${JSON.stringify(withoutGlogModuleMap(setting.flags))})`]
203
207
  );
204
208
  }
205
209
  function clangMacroSetting(macro) {
@@ -583,6 +587,7 @@ export {
583
587
  clangImportNames,
584
588
  clangMacroSetting,
585
589
  clangSettingEntries,
590
+ fmtConstantInterpreterFlags,
586
591
  isSwiftManifestFile,
587
592
  isSwiftNativeTranslationUnit,
588
593
  manifestCalls,
@@ -604,5 +609,6 @@ export {
604
609
  swiftResourceBundleForFile,
605
610
  swiftResourceBundleInfoPlist,
606
611
  swiftResourceBundles,
607
- swiftTargetModuleName
612
+ swiftTargetModuleName,
613
+ withoutGlogModuleMap
608
614
  };
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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;
@@ -237,6 +237,23 @@ var compilerArchives = {
237
237
  }
238
238
  }
239
239
  },
240
+ "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c": {
241
+ identity: "a560ff35bf882b5c",
242
+ hosts: {
243
+ "darwin-arm64": {
244
+ checksum: "ec20a41851ac558fe663d78def6b93d0d47c5a0cb69688ee270fd85de637a522",
245
+ manifest: "253e891527d2213f54eace768b902de89de5e9495a3c5f4018de1985516bd553"
246
+ },
247
+ "linux-x64": {
248
+ checksum: "f0126a2e63d275895036d02d75a901070da0343dbf03bf17342e10cb6f893dee",
249
+ manifest: "6f951cc4071dd0d6054d85711a7c5fe272273658847831b477a8b24be7254ca0"
250
+ },
251
+ "linux-arm64": {
252
+ checksum: "315fa766559a6e69bfd10dcddf40e04c91155f0db3047d210d74ac87652fb7e6",
253
+ manifest: "b6f62fca2ec37593e274ee5bac474f21ffc5db14cd82f492ccbc774f8e9b75d8"
254
+ }
255
+ }
256
+ },
240
257
  [SWIFT_HOST_COMPILER_RELEASE]: {
241
258
  identity: SWIFT_HOST_COMPILER_ID,
242
259
  hosts: {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1811 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1812 | (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;