peachsim 0.1.2698 → 0.1.2700

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 (124) 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 +63 -48
  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-7ANT3PIZ.mjs → acorn-JMX5B7EM.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-RSGVCBJT.mjs → chunk-2LCX3JMJ.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-ZFF53YGD.mjs → chunk-3KJDS35X.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-BG6UOMQO.mjs → chunk-7G4USDWX.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-6BZPT5XV.mjs → chunk-B6UGKRKO.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-YJWDRGQ5.mjs → chunk-CFIRPTHJ.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-2MVSHYUC.mjs → chunk-CNBFIPHS.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-REJJ3HMS.mjs → chunk-DVZDWHEZ.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-XFV3YJ5D.mjs → chunk-FAG6O2N3.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-VBLMISK7.mjs → chunk-HD3MEVVX.mjs} +3 -3
  36. package/dist-lib/esm-chunks/{chunk-VME2G564.mjs → chunk-I6KUME5N.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-F2GKSGRG.mjs → chunk-IBVI7TQI.mjs} +47 -28
  38. package/dist-lib/esm-chunks/{chunk-PJHFUCYT.mjs → chunk-IT4I7ZD7.mjs} +5 -5
  39. package/dist-lib/esm-chunks/{chunk-DE6RUKNP.mjs → chunk-LX2BV3HG.mjs} +4 -4
  40. package/dist-lib/esm-chunks/{chunk-GKK6FLOL.mjs → chunk-OB6D5CTV.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-PSQC5WKR.mjs → chunk-OQOOJ4FM.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-7UAIHHCK.mjs → chunk-PTTY7D7L.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-TF6FCBF6.mjs → chunk-PZGZICP2.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-NCZPHRKV.mjs → chunk-RDHNMD4Y.mjs} +6 -6
  45. package/dist-lib/esm-chunks/{chunk-C6S3HVDL.mjs → chunk-SKZJTJR2.mjs} +31 -35
  46. package/dist-lib/esm-chunks/{chunk-44JDFZIT.mjs → chunk-UIDOGLBN.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-EZGDKM5P.mjs → chunk-VXYO4WMM.mjs} +2 -2
  48. package/dist-lib/esm-chunks/{chunk-AAV25MQX.mjs → chunk-WC2GXMW4.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-NC7UNKIP.mjs → chunk-X43NQTX5.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-D467DXG5.mjs → chunk-Z2N7NA7X.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-KAC43URG.mjs → metro-layout-parser-FQYDPSA5.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-LRO6YCF6.mjs → swift-package-prebuilt-Y3J7CZ3J.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-3Y4K2C6R.mjs → swift-sdk-app-module-PK6YRYT6.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-HMBVW3TD.mjs → swift-sdk-image-OS4BDZJB.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-6AL2OUG3.mjs → swift-sdk-image-producer-56HJQNEG.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +63 -48
  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 +63 -48
  61. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  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 +63 -48
  95. package/dist-lib/swift-compile.cjs +59 -44
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/package.json +1 -1
  123. package/src/swift-compile.ts +31 -12
  124. package/src/swift-sdk-surface.ts +31 -39
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  acquireSwiftRootReadHold,
4
4
  hasLiveSwiftRootReaders,
5
5
  retainSwiftRootReadHold,
6
6
  withSwiftRootLock
7
- } from "./chunk-EZGDKM5P.mjs";
7
+ } from "./chunk-VXYO4WMM.mjs";
8
8
  import {
9
9
  CORE_FOUNDATION_OVERLAY_GLOBALS,
10
10
  NATIVE_GRAPH_SDK_VERSION,
@@ -55,7 +55,7 @@ import {
55
55
  withoutImportedSdkEnumForwards,
56
56
  withoutSwiftDeclarations,
57
57
  writeBuildFile
58
- } from "./chunk-C6S3HVDL.mjs";
58
+ } from "./chunk-SKZJTJR2.mjs";
59
59
  import {
60
60
  SWIFT_AUTOLINK_LINKER,
61
61
  SWIFT_CACHE_HOLD_MARKER,
@@ -72,7 +72,7 @@ import {
72
72
  wasmThreadLinkFlags,
73
73
  windowAdmission,
74
74
  writeSwiftAutolinkLinker
75
- } from "./chunk-7UAIHHCK.mjs";
75
+ } from "./chunk-PTTY7D7L.mjs";
76
76
  import {
77
77
  SWIFT_BINARY_TREES_DIR,
78
78
  SWIFT_NATIVE_INPUT_ROOT,
@@ -87,7 +87,7 @@ import {
87
87
  isSwiftResourcePath,
88
88
  isSwiftSourceLinkGraph,
89
89
  swiftProjectFilesProblems
90
- } from "./chunk-VME2G564.mjs";
90
+ } from "./chunk-I6KUME5N.mjs";
91
91
  import {
92
92
  OBJC_RESOURCE_ACCESSOR_BODY,
93
93
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -110,16 +110,16 @@ import {
110
110
  swiftPackagePartition,
111
111
  swiftTargetModuleName,
112
112
  withoutGlogModuleMap
113
- } from "./chunk-ZFF53YGD.mjs";
113
+ } from "./chunk-3KJDS35X.mjs";
114
114
  import {
115
115
  rnxPublicBrand
116
- } from "./chunk-REJJ3HMS.mjs";
116
+ } from "./chunk-DVZDWHEZ.mjs";
117
117
  import {
118
118
  isRecord
119
- } from "./chunk-D467DXG5.mjs";
119
+ } from "./chunk-Z2N7NA7X.mjs";
120
120
  import {
121
121
  __publicField
122
- } from "./chunk-PSQC5WKR.mjs";
122
+ } from "./chunk-OQOOJ4FM.mjs";
123
123
 
124
124
  // src/swift-compile.ts
125
125
  import { spawn as spawn2 } from "node:child_process";
@@ -14360,7 +14360,7 @@ async function compileGuestLink(options) {
14360
14360
  };
14361
14361
  const sdk = options.sdkImage;
14362
14362
  const sdkCallers = sdk.sdkInterface.guestCallers;
14363
- const sdkObjects = (await import("./swift-sdk-image-HMBVW3TD.mjs")).readSwiftSdkManifestIndex(
14363
+ const sdkObjects = (await import("./swift-sdk-image-OS4BDZJB.mjs")).readSwiftSdkManifestIndex(
14364
14364
  sdk
14365
14365
  ).guestObjects;
14366
14366
  if (!sdkCallers || !sdkObjects)
@@ -14659,7 +14659,7 @@ async function compileGuestLink(options) {
14659
14659
  readSwiftSdkUsage,
14660
14660
  swiftAppModuleThunkSection,
14661
14661
  swiftSdkProjectionSpans
14662
- } = await import("./swift-sdk-app-module-3Y4K2C6R.mjs");
14662
+ } = await import("./swift-sdk-app-module-PK6YRYT6.mjs");
14663
14663
  const project = options.project;
14664
14664
  const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
14665
14665
  if (project) chownSync(work, project.uid, project.gid);
@@ -16095,21 +16095,40 @@ function swiftObjCSelectorOptions(moduleRoot) {
16095
16095
  async function ensureMacroPlugins(moduleRoot, toolchainBin, release, signal, lease) {
16096
16096
  const { libraries, executables, stale } = swiftMacroPlugins(moduleRoot);
16097
16097
  if (stale) {
16098
- await runCompiler(
16099
- "sh",
16100
- [
16101
- path23.join(moduleRoot, "scripts/build-preview-plugin.sh"),
16102
- toolchainBin,
16103
- libraries[0]
16104
- ],
16105
- { signal, lease }
16106
- );
16107
- writeFileSync7(
16108
- path23.join(path23.dirname(libraries[0]), "compiler-release"),
16109
- `${release}
16110
- `
16098
+ const pluginDir = path23.dirname(libraries[0]);
16099
+ await withSwiftRootLock(
16100
+ pluginDir,
16101
+ async (pluginLease) => {
16102
+ if (!swiftMacroPlugins(moduleRoot).stale) return;
16103
+ mkdirSync7(path23.dirname(pluginDir), { recursive: true });
16104
+ const stage = mkdtempSync4(`${pluginDir}.tmp-`);
16105
+ try {
16106
+ await runCompiler(
16107
+ "sh",
16108
+ [
16109
+ path23.join(moduleRoot, "scripts/build-preview-plugin.sh"),
16110
+ toolchainBin,
16111
+ path23.join(stage, path23.basename(libraries[0]))
16112
+ ],
16113
+ {
16114
+ signal,
16115
+ lease: lease ?? pluginLease,
16116
+ frameworkLease: lease ? pluginLease : void 0
16117
+ }
16118
+ );
16119
+ writeFileSync7(path23.join(stage, "compiler-release"), `${release}
16120
+ `);
16121
+ rmSync7(pluginDir, { recursive: true, force: true });
16122
+ renameSync5(stage, pluginDir);
16123
+ } finally {
16124
+ rmSync7(stage, { recursive: true, force: true });
16125
+ }
16126
+ },
16127
+ signal
16111
16128
  );
16112
16129
  }
16130
+ const plugin = libraries[0];
16131
+ if (plugin) refreshSwiftCacheHold(path23.dirname(plugin));
16113
16132
  return { libraries, executables };
16114
16133
  }
16115
16134
  function swiftProjectBuildKey(moduleRoot, release) {
@@ -16602,7 +16621,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
16602
16621
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16603
16622
  var MULTI_MANIFEST_VERSION = 76;
16604
16623
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16605
- var compilerSourceDigest = true ? "140cf62b1bce906e3986506681c9cc3d5ca49684745c587880d1351ff222adc4" : swiftCompilerSourceDigest(import.meta.dirname);
16624
+ var compilerSourceDigest = true ? "5405a15ee2e958619090c720ff4ed5353b64cfacbdc81e773dae4300cdc6b692" : swiftCompilerSourceDigest(import.meta.dirname);
16606
16625
  function swiftArtifactHash(input, release, moduleRoot) {
16607
16626
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
16608
16627
  }
@@ -20948,7 +20967,7 @@ async function compileSwiftProjectOnce(sources, options) {
20948
20967
  const distribution = swiftDistributionAt(moduleRoot);
20949
20968
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
20950
20969
  if (distribution) refreshSwiftCacheHold(moduleRoot);
20951
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-LRO6YCF6.mjs")).useSwiftPackagePrebuilts(
20970
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-Y3J7CZ3J.mjs")).useSwiftPackagePrebuilts(
20952
20971
  sources,
20953
20972
  moduleRoot,
20954
20973
  options.toolchainBin
@@ -20961,7 +20980,7 @@ async function compileSwiftProjectOnce(sources, options) {
20961
20980
  sources: path23.join(root, "Sources", "App"),
20962
20981
  multi: compileTargets(input).length > 0
20963
20982
  };
20964
- const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-HMBVW3TD.mjs")).buildSwiftSdkImage(
20983
+ const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-OS4BDZJB.mjs")).buildSwiftSdkImage(
20965
20984
  moduleRoot,
20966
20985
  !!guestGraph,
20967
20986
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -21680,7 +21699,7 @@ ${compatShape}` : "";
21680
21699
  });
21681
21700
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
21682
21701
  } else {
21683
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-3Y4K2C6R.mjs");
21702
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-PK6YRYT6.mjs");
21684
21703
  const binding = await buildSwiftAppModule({
21685
21704
  buildRoot: root2,
21686
21705
  toolchainBin: options.toolchainBin,
@@ -1,21 +1,21 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-44JDFZIT.mjs";
5
+ } from "./chunk-UIDOGLBN.mjs";
6
6
  import {
7
7
  cacheDir,
8
8
  parseSwiftDistributionLock,
9
9
  readActiveRuntime,
10
10
  runtimeDir
11
- } from "./chunk-C6S3HVDL.mjs";
11
+ } from "./chunk-SKZJTJR2.mjs";
12
12
  import {
13
13
  SWIFT_WASM_TRIPLE,
14
14
  registerSwiftHostCompiler
15
- } from "./chunk-7UAIHHCK.mjs";
15
+ } from "./chunk-PTTY7D7L.mjs";
16
16
  import {
17
17
  isRecord
18
- } from "./chunk-D467DXG5.mjs";
18
+ } from "./chunk-Z2N7NA7X.mjs";
19
19
 
20
20
  // src/swift-distribution.ts
21
21
  import { execFile as execFile2 } from "node:child_process";
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-TF6FCBF6.mjs";
4
+ } from "./chunk-PZGZICP2.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-BG6UOMQO.mjs";
7
+ } from "./chunk-7G4USDWX.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-D467DXG5.mjs";
10
+ } from "./chunk-Z2N7NA7X.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  var NAMED_ENTITIES = {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftTargetContract.ts
4
4
  var SWIFT_WASM_TRIPLE = "wasm64-unknown-wasip1-threads";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/assetCatalogContract.ts
4
4
  function isSwiftImageVariants(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  DARWIN_RECORDS_PREFIX,
4
4
  KEEP_WASM_NAMES,
@@ -28,22 +28,22 @@ import {
28
28
  swiftSdkImageScope,
29
29
  unslottedFunctions,
30
30
  wasmSections
31
- } from "./chunk-F2GKSGRG.mjs";
31
+ } from "./chunk-IBVI7TQI.mjs";
32
32
  import {
33
33
  withSwiftRootLock,
34
34
  withSwiftRootReadHolds
35
- } from "./chunk-EZGDKM5P.mjs";
35
+ } from "./chunk-VXYO4WMM.mjs";
36
36
  import {
37
37
  swiftDistributionAt,
38
38
  swiftModuleDigest,
39
39
  swiftModuleToolchain,
40
40
  swiftSdkPaths
41
- } from "./chunk-C6S3HVDL.mjs";
41
+ } from "./chunk-SKZJTJR2.mjs";
42
42
  import {
43
43
  SWIFT_WASM_TRIPLE,
44
44
  sourceSwiftCheckout,
45
45
  swiftCacheDir
46
- } from "./chunk-7UAIHHCK.mjs";
46
+ } from "./chunk-PTTY7D7L.mjs";
47
47
 
48
48
  // src/swift-sdk-image.ts
49
49
  import { execFile } from "node:child_process";
@@ -223,7 +223,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
223
223
  const existing = cached(directory, key);
224
224
  if (existing) return existing;
225
225
  if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
226
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-6AL2OUG3.mjs");
226
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-56HJQNEG.mjs");
227
227
  await produceSwiftSdkImage({
228
228
  moduleRoot,
229
229
  key,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_CACHE_HOLD_MARKER,
4
4
  SWIFT_WASM_TRIPLE,
@@ -12,19 +12,19 @@ import {
12
12
  terminateProcessGroup,
13
13
  wasmThreadFlags,
14
14
  windowAdmission
15
- } from "./chunk-7UAIHHCK.mjs";
15
+ } from "./chunk-PTTY7D7L.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-VME2G564.mjs";
18
+ } from "./chunk-I6KUME5N.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-ZFF53YGD.mjs";
21
+ } from "./chunk-3KJDS35X.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-D467DXG5.mjs";
24
+ } from "./chunk-Z2N7NA7X.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-PSQC5WKR.mjs";
27
+ } from "./chunk-OQOOJ4FM.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -1274,7 +1274,7 @@ function swiftModuleInputFiles(root) {
1274
1274
  walk("ios-simulator-stdlib");
1275
1275
  return files.sort();
1276
1276
  }
1277
- function swiftMacroPlugins(moduleRoot, dir = path9.join(moduleRoot, ".build/host/RnxPreviewMacros")) {
1277
+ function swiftMacroPlugins(moduleRoot) {
1278
1278
  const distribution = swiftDistributionAt(moduleRoot);
1279
1279
  if (distribution) {
1280
1280
  const view = swiftDistributionCompileView(moduleRoot, distribution);
@@ -1287,36 +1287,32 @@ function swiftMacroPlugins(moduleRoot, dir = path9.join(moduleRoot, ".build/host
1287
1287
  const release = JSON.parse(
1288
1288
  readFileSync4(path9.join(moduleRoot, "toolchain.json"), "utf8")
1289
1289
  ).release;
1290
- const compilerStamp = path9.join(dir, "compiler-release");
1291
- const pluginScript = path9.join(moduleRoot, "scripts/build-preview-plugin.sh");
1292
- const expoPlugin = path9.join(dir, "ExpoModulesMacros");
1293
- const ext = process.platform === "darwin" ? "dylib" : "so";
1294
- const plugins = [
1295
- {
1296
- library: path9.join(dir, `libRnxPreviewMacros.${ext}`),
1297
- sources: [path9.join(moduleRoot, "Sources/RnxPreviewMacros/PreviewMacro.swift")]
1298
- },
1299
- {
1300
- library: path9.join(dir, `libFoundationMacros.${ext}`),
1301
- sources: [
1302
- path9.join(moduleRoot, "Sources/FoundationMacros/PredicateMacro.swift"),
1303
- path9.join(moduleRoot, "Sources/SwiftMacroSupport/PredicateExpression.swift")
1304
- ]
1305
- },
1306
- {
1307
- library: path9.join(dir, `libTipKitMacros.${ext}`),
1308
- sources: [
1309
- path9.join(moduleRoot, "Sources/TipKitMacros/TipKitMacros.swift"),
1310
- path9.join(moduleRoot, "Sources/SwiftMacroSupport/PredicateExpression.swift")
1311
- ]
1290
+ const key = createHash4("sha256").update(release).update(`${process.platform}-${process.arch}`).update(readFileSync4(path9.join(moduleRoot, "scripts/build-preview-plugin.sh")));
1291
+ for (const source of [
1292
+ "RnxPreviewMacros",
1293
+ "FoundationMacros",
1294
+ "TipKitMacros",
1295
+ "SwiftMacroSupport"
1296
+ ]) {
1297
+ const sourceDir = path9.join(moduleRoot, "Sources", source);
1298
+ for (const file of readdirSync3(sourceDir, { withFileTypes: true }).sort(
1299
+ (a, b) => a.name.localeCompare(b.name)
1300
+ )) {
1301
+ if (file.isFile())
1302
+ key.update(`${source}/${file.name}\0`).update(readFileSync4(path9.join(sourceDir, file.name)));
1312
1303
  }
1313
- ];
1304
+ }
1305
+ const dir = path9.join(swiftCacheDir(), "swift-distribution-plugins", key.digest("hex"));
1306
+ const stamp = path9.join(dir, "compiler-release");
1307
+ const ext = process.platform === "darwin" ? "dylib" : "so";
1308
+ const libraries = ["RnxPreviewMacros", "FoundationMacros", "TipKitMacros"].map(
1309
+ (name) => path9.join(dir, `lib${name}.${ext}`)
1310
+ );
1311
+ const executables = [path9.join(dir, "ExpoModulesMacros")];
1314
1312
  return {
1315
- libraries: plugins.map(({ library }) => library),
1316
- executables: [expoPlugin],
1317
- stale: !existsSync(compilerStamp) || !existsSync(expoPlugin) || statSync2(pluginScript).mtimeMs > statSync2(expoPlugin).mtimeMs || readFileSync4(compilerStamp, "utf8").trim() !== release || plugins.some(
1318
- ({ library, sources }) => !existsSync(library) || sources.some((source) => statSync2(source).mtimeMs > statSync2(library).mtimeMs)
1319
- )
1313
+ libraries,
1314
+ executables,
1315
+ stale: [...libraries, ...executables, stamp].some((file) => !existsSync(file)) || readFileSync4(stamp, "utf8").trim() !== release
1320
1316
  };
1321
1317
  }
1322
1318
  var linkedModuleDigests = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/launchMetadataContract.ts
4
4
  var LAUNCH_METADATA_QUERY_PARAM = "launchMetadata";
@@ -1,9 +1,9 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  killOrphanedProcessGroup,
4
4
  readProcessTable,
5
5
  terminateProcessGroup
6
- } from "./chunk-7UAIHHCK.mjs";
6
+ } from "./chunk-PTTY7D7L.mjs";
7
7
 
8
8
  // src/swift-root-lock.ts
9
9
  import { AsyncLocalStorage } from "node:async_hooks";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../../node_modules/acorn/dist/acorn.mjs
4
4
  var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-PSQC5WKR.mjs";
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-OQOOJ4FM.mjs";
3
3
 
4
4
  // src/metro-layout-parser.ts
5
5
  var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
8
8
  var metroLayoutParser;
9
9
  async function loadMetroLayoutParser() {
10
10
  if (metroLayoutParser) return metroLayoutParser;
11
- const { Parser } = await import("./acorn-7ANT3PIZ.mjs");
11
+ const { Parser } = await import("./acorn-JMX5B7EM.mjs");
12
12
  metroLayoutParser = Parser.extend(
13
13
  (Base) => {
14
14
  const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
@@ -1,27 +1,27 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  compileTargets,
4
4
  fetchNativeEntry,
5
5
  nativeEntryKey,
6
6
  swiftAvailableModules
7
- } from "./chunk-F2GKSGRG.mjs";
8
- import "./chunk-EZGDKM5P.mjs";
7
+ } from "./chunk-IBVI7TQI.mjs";
8
+ import "./chunk-VXYO4WMM.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-C6S3HVDL.mjs";
13
- import "./chunk-7UAIHHCK.mjs";
12
+ } from "./chunk-SKZJTJR2.mjs";
13
+ import "./chunk-PTTY7D7L.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-VME2G564.mjs";
16
+ } from "./chunk-I6KUME5N.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-ZFF53YGD.mjs";
20
- import "./chunk-TF6FCBF6.mjs";
21
- import "./chunk-REJJ3HMS.mjs";
22
- import "./chunk-XFV3YJ5D.mjs";
23
- import "./chunk-D467DXG5.mjs";
24
- import "./chunk-PSQC5WKR.mjs";
19
+ } from "./chunk-3KJDS35X.mjs";
20
+ import "./chunk-PZGZICP2.mjs";
21
+ import "./chunk-DVZDWHEZ.mjs";
22
+ import "./chunk-FAG6O2N3.mjs";
23
+ import "./chunk-Z2N7NA7X.mjs";
24
+ import "./chunk-OQOOJ4FM.mjs";
25
25
 
26
26
  // src/swift-package-prebuilt.ts
27
27
  import { createHash } from "node:crypto";
@@ -1,11 +1,11 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_APP_TABLE_BASE,
5
5
  SWIFT_SDK_MEMORY_BASE,
6
6
  SWIFT_SDK_PIECE_FIELDS,
7
7
  readSwiftSdkManifest
8
- } from "./chunk-NCZPHRKV.mjs";
8
+ } from "./chunk-RDHNMD4Y.mjs";
9
9
  import {
10
10
  ADDEND_RELOCATIONS,
11
11
  KEEP_WASM_NAMES,
@@ -33,22 +33,22 @@ import {
33
33
  wasmReader,
34
34
  wasmSections,
35
35
  writeWasmCustomSection
36
- } from "./chunk-F2GKSGRG.mjs";
37
- import "./chunk-EZGDKM5P.mjs";
38
- import "./chunk-PJHFUCYT.mjs";
39
- import "./chunk-44JDFZIT.mjs";
40
- import "./chunk-YJWDRGQ5.mjs";
41
- import "./chunk-C6S3HVDL.mjs";
36
+ } from "./chunk-IBVI7TQI.mjs";
37
+ import "./chunk-VXYO4WMM.mjs";
38
+ import "./chunk-IT4I7ZD7.mjs";
39
+ import "./chunk-UIDOGLBN.mjs";
40
+ import "./chunk-CFIRPTHJ.mjs";
41
+ import "./chunk-SKZJTJR2.mjs";
42
42
  import {
43
43
  SWIFT_WASM_TRIPLE
44
- } from "./chunk-7UAIHHCK.mjs";
45
- import "./chunk-VME2G564.mjs";
46
- import "./chunk-ZFF53YGD.mjs";
47
- import "./chunk-TF6FCBF6.mjs";
48
- import "./chunk-REJJ3HMS.mjs";
49
- import "./chunk-XFV3YJ5D.mjs";
50
- import "./chunk-D467DXG5.mjs";
51
- import "./chunk-PSQC5WKR.mjs";
44
+ } from "./chunk-PTTY7D7L.mjs";
45
+ import "./chunk-I6KUME5N.mjs";
46
+ import "./chunk-3KJDS35X.mjs";
47
+ import "./chunk-PZGZICP2.mjs";
48
+ import "./chunk-DVZDWHEZ.mjs";
49
+ import "./chunk-FAG6O2N3.mjs";
50
+ import "./chunk-Z2N7NA7X.mjs";
51
+ import "./chunk-OQOOJ4FM.mjs";
52
52
 
53
53
  // src/swift-sdk-app-module.ts
54
54
  import { execFile } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (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-NCZPHRKV.mjs";
18
- import "./chunk-F2GKSGRG.mjs";
19
- import "./chunk-EZGDKM5P.mjs";
20
- import "./chunk-PJHFUCYT.mjs";
21
- import "./chunk-44JDFZIT.mjs";
22
- import "./chunk-YJWDRGQ5.mjs";
23
- import "./chunk-C6S3HVDL.mjs";
24
- import "./chunk-7UAIHHCK.mjs";
25
- import "./chunk-VME2G564.mjs";
26
- import "./chunk-ZFF53YGD.mjs";
27
- import "./chunk-TF6FCBF6.mjs";
28
- import "./chunk-REJJ3HMS.mjs";
29
- import "./chunk-XFV3YJ5D.mjs";
30
- import "./chunk-D467DXG5.mjs";
31
- import "./chunk-PSQC5WKR.mjs";
17
+ } from "./chunk-RDHNMD4Y.mjs";
18
+ import "./chunk-IBVI7TQI.mjs";
19
+ import "./chunk-VXYO4WMM.mjs";
20
+ import "./chunk-IT4I7ZD7.mjs";
21
+ import "./chunk-UIDOGLBN.mjs";
22
+ import "./chunk-CFIRPTHJ.mjs";
23
+ import "./chunk-SKZJTJR2.mjs";
24
+ import "./chunk-PTTY7D7L.mjs";
25
+ import "./chunk-I6KUME5N.mjs";
26
+ import "./chunk-3KJDS35X.mjs";
27
+ import "./chunk-PZGZICP2.mjs";
28
+ import "./chunk-DVZDWHEZ.mjs";
29
+ import "./chunk-FAG6O2N3.mjs";
30
+ import "./chunk-Z2N7NA7X.mjs";
31
+ import "./chunk-OQOOJ4FM.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.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-EZGDKM5P.mjs";
4
+ } from "./chunk-VXYO4WMM.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-7UAIHHCK.mjs";
8
+ } from "./chunk-PTTY7D7L.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-D467DXG5.mjs";
12
- import "./chunk-PSQC5WKR.mjs";
11
+ } from "./chunk-Z2N7NA7X.mjs";
12
+ import "./chunk-OQOOJ4FM.mjs";
13
13
 
14
14
  // src/swift-sdk-image-producer.ts
15
15
  import { execFile, execFileSync } from "node:child_process";