peachsim 0.1.2727 → 0.1.2728

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 (125) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +27 -8
  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-PENOSR4C.mjs → acorn-4QLBUMBO.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-CED62LMZ.mjs → chunk-2UR7DAU4.mjs} +1 -1
  28. package/dist-lib/esm-chunks/{chunk-Y2NI5JI6.mjs → chunk-2VFRUW7S.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-KF5WRINB.mjs → chunk-34JFHTQO.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-KEN56H6O.mjs → chunk-3L5ORX4Q.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-XCOEJULN.mjs → chunk-47TDR6W2.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-KXWIU2P7.mjs → chunk-AFNVAGNR.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-6DQL74DR.mjs → chunk-AZU36IEI.mjs} +2 -2
  34. package/dist-lib/esm-chunks/{chunk-KQI3DO72.mjs → chunk-C3OZ3HWO.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-UPWYYMUC.mjs → chunk-DULP436X.mjs} +5 -5
  36. package/dist-lib/esm-chunks/{chunk-PQ3OGMWD.mjs → chunk-EKMLER5F.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-OFKU6PYL.mjs → chunk-FPB4VX77.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-U23QU6X7.mjs → chunk-HVGMFC5E.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-SWEJLYWD.mjs → chunk-NJSXXBOA.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-E3QSMI64.mjs → chunk-NSSBX6RT.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-PEPBBIZB.mjs → chunk-O7DAXHGC.mjs} +6 -6
  42. package/dist-lib/esm-chunks/{chunk-6FXWTVDK.mjs → chunk-OD4I25RR.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-W5UB3G3N.mjs → chunk-P3QBJKTJ.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-HXTH7CND.mjs → chunk-Q7VU7JZ4.mjs} +37 -18
  45. package/dist-lib/esm-chunks/{chunk-6A4UVCPB.mjs → chunk-QII5HKOQ.mjs} +4 -4
  46. package/dist-lib/esm-chunks/{chunk-DCPJAGWK.mjs → chunk-TDJCAMP2.mjs} +6 -6
  47. package/dist-lib/esm-chunks/{chunk-LAT43FNC.mjs → chunk-W65H4QYS.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-Y77MSC7X.mjs → chunk-WFMLOPLF.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-DPWKVSMW.mjs → chunk-WXVM6EFF.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-QK7Y44P7.mjs → chunk-WYJOK4P4.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-YAM7DLH4.mjs → metro-layout-parser-MHDORVR6.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-RCLSZWMK.mjs → swift-package-prebuilt-53A2DO7M.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-OA7A4EB5.mjs → swift-sdk-app-module-3UE3VU2D.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-VFGGTENK.mjs → swift-sdk-image-3ZKMIGVI.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-POAVBTHJ.mjs → swift-sdk-image-producer-WVTQJM6Z.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +27 -8
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +27 -8
  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 +27 -8
  95. package/dist-lib/swift-compile.cjs +24 -5
  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-distribution.lock.json +8 -8
  124. package/src/swift-sdk-image-recipe.ts +1 -1
  125. package/src/swift-sdk-image-wasm.ts +23 -5
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (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-6DQL74DR.mjs";
7
+ } from "./chunk-AZU36IEI.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-PEPBBIZB.mjs";
58
+ } from "./chunk-O7DAXHGC.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-KEN56H6O.mjs";
75
+ } from "./chunk-3L5ORX4Q.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-E3QSMI64.mjs";
90
+ } from "./chunk-NSSBX6RT.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-KF5WRINB.mjs";
113
+ } from "./chunk-34JFHTQO.mjs";
114
114
  import {
115
115
  rnxPublicBrand
116
- } from "./chunk-Y2NI5JI6.mjs";
116
+ } from "./chunk-2VFRUW7S.mjs";
117
117
  import {
118
118
  isRecord
119
- } from "./chunk-XCOEJULN.mjs";
119
+ } from "./chunk-47TDR6W2.mjs";
120
120
  import {
121
121
  __publicField
122
- } from "./chunk-OFKU6PYL.mjs";
122
+ } from "./chunk-FPB4VX77.mjs";
123
123
 
124
124
  // src/swift-compile.ts
125
125
  import {
@@ -5668,6 +5668,7 @@ function relocationEdges(bytes, segmentAddress) {
5668
5668
  for (const s of sections) {
5669
5669
  if (!s.name?.startsWith("reloc.")) continue;
5670
5670
  let cur = s.start;
5671
+ const wideAddend = wasmReader(bytes, s.start);
5671
5672
  const readU = () => {
5672
5673
  const b0 = bytes[cur++];
5673
5674
  if (b0 < 128) return b0;
@@ -5681,12 +5682,19 @@ function relocationEdges(bytes, segmentAddress) {
5681
5682
  }
5682
5683
  };
5683
5684
  const readS = () => {
5685
+ const start = cur;
5684
5686
  const b0 = bytes[cur++];
5685
5687
  if (b0 < 128) return b0 & 64 ? b0 - 128 : b0;
5686
5688
  let value = b0 & 127;
5687
5689
  let shift = 7;
5688
5690
  let byte = b0;
5689
5691
  while (byte >= 128) {
5692
+ if (shift === 49) {
5693
+ wideAddend.at = start;
5694
+ const value2 = wideAddend.s();
5695
+ cur = wideAddend.at;
5696
+ return value2;
5697
+ }
5690
5698
  byte = bytes[cur++];
5691
5699
  value += (byte & 127) * 2 ** shift;
5692
5700
  shift += 7;
@@ -5713,8 +5721,19 @@ function relocationEdges(bytes, segmentAddress) {
5713
5721
  const functionReference = functionRelocation && kind === 0;
5714
5722
  if (!functionReference && (!memoryRelocation || kind !== 1 || symSegment[index] < 0))
5715
5723
  continue;
5716
- const to = functionReference ? symIndex[index] - importedFunctions : addresses[symSegment[index]] + symOffset[index] + addend;
5717
- if (functionReference && (to < 0 || to >= bodyCount)) continue;
5724
+ let to;
5725
+ if (functionReference) {
5726
+ to = symIndex[index] - importedFunctions;
5727
+ if (to < 0 || to >= bodyCount) continue;
5728
+ } else {
5729
+ const symbol = addresses[symSegment[index]] + symOffset[index];
5730
+ if (typeof addend === "number") to = symbol + addend;
5731
+ else {
5732
+ const address = BigInt.asUintN(64, BigInt(symbol) + addend);
5733
+ to = Number(address & 0xffffffffn);
5734
+ if (address >> 32n === 0x80000000n) to += 32;
5735
+ }
5736
+ }
5718
5737
  if (isData) {
5719
5738
  while (payloads[segment].end <= offset) segment++;
5720
5739
  const payload = payloads[segment];
@@ -14364,7 +14383,7 @@ async function compileGuestLink(options) {
14364
14383
  };
14365
14384
  const sdk = options.sdkImage;
14366
14385
  const sdkCallers = sdk.sdkInterface.guestCallers;
14367
- const sdkObjects = (await import("./swift-sdk-image-VFGGTENK.mjs")).readSwiftSdkManifestIndex(
14386
+ const sdkObjects = (await import("./swift-sdk-image-3ZKMIGVI.mjs")).readSwiftSdkManifestIndex(
14368
14387
  sdk
14369
14388
  ).guestObjects;
14370
14389
  if (!sdkCallers || !sdkObjects)
@@ -14664,7 +14683,7 @@ async function compileGuestLink(options) {
14664
14683
  swiftAppModuleThunkSection,
14665
14684
  swiftSdkProjectionSpans,
14666
14685
  writeSwiftSdkAppLink
14667
- } = await import("./swift-sdk-app-module-OA7A4EB5.mjs");
14686
+ } = await import("./swift-sdk-app-module-3UE3VU2D.mjs");
14668
14687
  const project = options.project;
14669
14688
  const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
14670
14689
  if (project) chownSync(work, project.uid, project.gid);
@@ -15713,7 +15732,7 @@ function swiftReproducibleBuildFlags(roots) {
15713
15732
 
15714
15733
  // src/swift-sdk-image-recipe.ts
15715
15734
  import { createHash as createHash15 } from "node:crypto";
15716
- var SWIFT_SDK_IMAGE_VERSION = 13;
15735
+ var SWIFT_SDK_IMAGE_VERSION = 14;
15717
15736
  var SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/v4";
15718
15737
  var swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
15719
15738
  var SWIFT_SDK_IMAGE_RECIPE = createHash15("sha256").update(`swift-sdk-image
@@ -16637,7 +16656,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
16637
16656
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16638
16657
  var MULTI_MANIFEST_VERSION = 76;
16639
16658
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16640
- var compilerSourceDigest = true ? "65c18cf90c6d5327457dfe6ae7fe052f0acac7fb60d8df897cbd58095efd6c7f" : swiftCompilerSourceDigest(import.meta.dirname);
16659
+ var compilerSourceDigest = true ? "97e56f880988b86233aa6fa82009e0743ec570daba3814eaf1af72111e3301d9" : swiftCompilerSourceDigest(import.meta.dirname);
16641
16660
  function swiftArtifactHash(input, release, moduleRoot) {
16642
16661
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
16643
16662
  }
@@ -21143,7 +21162,7 @@ async function compileSwiftProjectOnce(sources, options) {
21143
21162
  const distribution = swiftDistributionAt(moduleRoot);
21144
21163
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
21145
21164
  if (distribution) refreshSwiftCacheHold(moduleRoot);
21146
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-RCLSZWMK.mjs")).useSwiftPackagePrebuilts(
21165
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-53A2DO7M.mjs")).useSwiftPackagePrebuilts(
21147
21166
  sources,
21148
21167
  moduleRoot,
21149
21168
  options.toolchainBin
@@ -21156,7 +21175,7 @@ async function compileSwiftProjectOnce(sources, options) {
21156
21175
  sources: path23.join(root, "Sources", "App"),
21157
21176
  multi: compileTargets(input).length > 0
21158
21177
  };
21159
- const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-VFGGTENK.mjs")).buildSwiftSdkImage(
21178
+ const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-3ZKMIGVI.mjs")).buildSwiftSdkImage(
21160
21179
  moduleRoot,
21161
21180
  !!guestGraph,
21162
21181
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -21875,7 +21894,7 @@ ${compatShape}` : "";
21875
21894
  });
21876
21895
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
21877
21896
  } else {
21878
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-OA7A4EB5.mjs");
21897
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-3UE3VU2D.mjs");
21879
21898
  const binding = await buildSwiftAppModule({
21880
21899
  buildRoot: root2,
21881
21900
  toolchainBin: options.toolchainBin,
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftImageVariants
4
- } from "./chunk-KXWIU2P7.mjs";
4
+ } from "./chunk-AFNVAGNR.mjs";
5
5
  import {
6
6
  findBundleFooter
7
- } from "./chunk-W5UB3G3N.mjs";
7
+ } from "./chunk-P3QBJKTJ.mjs";
8
8
  import {
9
9
  isRecord
10
- } from "./chunk-XCOEJULN.mjs";
10
+ } from "./chunk-47TDR6W2.mjs";
11
11
 
12
12
  // src/android-string-value.ts
13
13
  function compileAndroidStringValue(text, where) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  DARWIN_RECORDS_PREFIX,
4
4
  KEEP_WASM_NAMES,
@@ -29,22 +29,22 @@ import {
29
29
  swiftSdkImageScope,
30
30
  unslottedFunctions,
31
31
  wasmSections
32
- } from "./chunk-HXTH7CND.mjs";
32
+ } from "./chunk-Q7VU7JZ4.mjs";
33
33
  import {
34
34
  withSwiftRootLock,
35
35
  withSwiftRootReadHolds
36
- } from "./chunk-6DQL74DR.mjs";
36
+ } from "./chunk-AZU36IEI.mjs";
37
37
  import {
38
38
  swiftDistributionAt,
39
39
  swiftModuleDigest,
40
40
  swiftModuleToolchain,
41
41
  swiftSdkPaths
42
- } from "./chunk-PEPBBIZB.mjs";
42
+ } from "./chunk-O7DAXHGC.mjs";
43
43
  import {
44
44
  SWIFT_WASM_TRIPLE,
45
45
  sourceSwiftCheckout,
46
46
  swiftCacheDir
47
- } from "./chunk-KEN56H6O.mjs";
47
+ } from "./chunk-3L5ORX4Q.mjs";
48
48
 
49
49
  // src/swift-sdk-image.ts
50
50
  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-POAVBTHJ.mjs");
226
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-WVTQJM6Z.mjs");
227
227
  await produceSwiftSdkImage({
228
228
  moduleRoot,
229
229
  key,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (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.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/sleep.ts
4
4
  function sleep(ms) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/launchMetadataContract.ts
4
4
  var LAUNCH_METADATA_QUERY_PARAM = "launchMetadata";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (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,5 +1,5 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-OFKU6PYL.mjs";
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-FPB4VX77.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-PENOSR4C.mjs");
11
+ const { Parser } = await import("./acorn-4QLBUMBO.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.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (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-HXTH7CND.mjs";
8
- import "./chunk-6DQL74DR.mjs";
7
+ } from "./chunk-Q7VU7JZ4.mjs";
8
+ import "./chunk-AZU36IEI.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-PEPBBIZB.mjs";
13
- import "./chunk-KEN56H6O.mjs";
12
+ } from "./chunk-O7DAXHGC.mjs";
13
+ import "./chunk-3L5ORX4Q.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-E3QSMI64.mjs";
16
+ } from "./chunk-NSSBX6RT.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-KF5WRINB.mjs";
20
- import "./chunk-KXWIU2P7.mjs";
21
- import "./chunk-Y2NI5JI6.mjs";
22
- import "./chunk-6FXWTVDK.mjs";
23
- import "./chunk-XCOEJULN.mjs";
24
- import "./chunk-OFKU6PYL.mjs";
19
+ } from "./chunk-34JFHTQO.mjs";
20
+ import "./chunk-AFNVAGNR.mjs";
21
+ import "./chunk-2VFRUW7S.mjs";
22
+ import "./chunk-OD4I25RR.mjs";
23
+ import "./chunk-47TDR6W2.mjs";
24
+ import "./chunk-FPB4VX77.mjs";
25
25
 
26
26
  // src/swift-package-prebuilt.ts
27
27
  import { createHash } from "node:crypto";
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_MEMORY_BASE,
5
5
  SWIFT_SDK_PIECE_FIELDS,
6
6
  readSwiftSdkManifest
7
- } from "./chunk-DCPJAGWK.mjs";
7
+ } from "./chunk-TDJCAMP2.mjs";
8
8
  import {
9
9
  ADDEND_RELOCATIONS,
10
10
  KEEP_WASM_NAMES,
@@ -33,22 +33,22 @@ import {
33
33
  wasmReader,
34
34
  wasmSections,
35
35
  writeWasmCustomSection
36
- } from "./chunk-HXTH7CND.mjs";
37
- import "./chunk-6DQL74DR.mjs";
38
- import "./chunk-UPWYYMUC.mjs";
39
- import "./chunk-DPWKVSMW.mjs";
40
- import "./chunk-PQ3OGMWD.mjs";
41
- import "./chunk-PEPBBIZB.mjs";
36
+ } from "./chunk-Q7VU7JZ4.mjs";
37
+ import "./chunk-AZU36IEI.mjs";
38
+ import "./chunk-DULP436X.mjs";
39
+ import "./chunk-WXVM6EFF.mjs";
40
+ import "./chunk-EKMLER5F.mjs";
41
+ import "./chunk-O7DAXHGC.mjs";
42
42
  import {
43
43
  SWIFT_WASM_TRIPLE
44
- } from "./chunk-KEN56H6O.mjs";
45
- import "./chunk-E3QSMI64.mjs";
46
- import "./chunk-KF5WRINB.mjs";
47
- import "./chunk-KXWIU2P7.mjs";
48
- import "./chunk-Y2NI5JI6.mjs";
49
- import "./chunk-6FXWTVDK.mjs";
50
- import "./chunk-XCOEJULN.mjs";
51
- import "./chunk-OFKU6PYL.mjs";
44
+ } from "./chunk-3L5ORX4Q.mjs";
45
+ import "./chunk-NSSBX6RT.mjs";
46
+ import "./chunk-34JFHTQO.mjs";
47
+ import "./chunk-AFNVAGNR.mjs";
48
+ import "./chunk-2VFRUW7S.mjs";
49
+ import "./chunk-OD4I25RR.mjs";
50
+ import "./chunk-47TDR6W2.mjs";
51
+ import "./chunk-FPB4VX77.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.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_IMAGE_BUNDLE,
@@ -13,21 +13,21 @@ import {
13
13
  swiftSdkImageFile,
14
14
  swiftSdkImageKey,
15
15
  swiftSdkImageProducts
16
- } from "./chunk-DCPJAGWK.mjs";
17
- import "./chunk-HXTH7CND.mjs";
18
- import "./chunk-6DQL74DR.mjs";
19
- import "./chunk-UPWYYMUC.mjs";
20
- import "./chunk-DPWKVSMW.mjs";
21
- import "./chunk-PQ3OGMWD.mjs";
22
- import "./chunk-PEPBBIZB.mjs";
23
- import "./chunk-KEN56H6O.mjs";
24
- import "./chunk-E3QSMI64.mjs";
25
- import "./chunk-KF5WRINB.mjs";
26
- import "./chunk-KXWIU2P7.mjs";
27
- import "./chunk-Y2NI5JI6.mjs";
28
- import "./chunk-6FXWTVDK.mjs";
29
- import "./chunk-XCOEJULN.mjs";
30
- import "./chunk-OFKU6PYL.mjs";
16
+ } from "./chunk-TDJCAMP2.mjs";
17
+ import "./chunk-Q7VU7JZ4.mjs";
18
+ import "./chunk-AZU36IEI.mjs";
19
+ import "./chunk-DULP436X.mjs";
20
+ import "./chunk-WXVM6EFF.mjs";
21
+ import "./chunk-EKMLER5F.mjs";
22
+ import "./chunk-O7DAXHGC.mjs";
23
+ import "./chunk-3L5ORX4Q.mjs";
24
+ import "./chunk-NSSBX6RT.mjs";
25
+ import "./chunk-34JFHTQO.mjs";
26
+ import "./chunk-AFNVAGNR.mjs";
27
+ import "./chunk-2VFRUW7S.mjs";
28
+ import "./chunk-OD4I25RR.mjs";
29
+ import "./chunk-47TDR6W2.mjs";
30
+ import "./chunk-FPB4VX77.mjs";
31
31
  export {
32
32
  SWIFT_SDK_APP_MEMORY_BASE,
33
33
  SWIFT_SDK_IMAGE_BUNDLE,
@@ -1,15 +1,15 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-6DQL74DR.mjs";
4
+ } from "./chunk-AZU36IEI.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-KEN56H6O.mjs";
8
+ } from "./chunk-3L5ORX4Q.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-XCOEJULN.mjs";
12
- import "./chunk-OFKU6PYL.mjs";
11
+ } from "./chunk-47TDR6W2.mjs";
12
+ import "./chunk-FPB4VX77.mjs";
13
13
 
14
14
  // src/swift-sdk-image-producer.ts
15
15
  import { execFile, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (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;
@@ -19553,7 +19553,7 @@ var init_react_native_core_digest = __esm({
19553
19553
 
19554
19554
  // src/swift-compiler-digest.ts
19555
19555
  function swiftArchiveCompilerDigestValue() {
19556
- return true ? "f104a6c94890ebd260039267b97161f7fa2e9d835e447a54dcc8f8603c9af43f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19556
+ return true ? "2fea3f28c832fd45ccd9f5b6e9b0818e8a8a5f3d62b6940c85768f21d2780ca0" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19557
19557
  }
19558
19558
  var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
19559
19559
  var init_swift_compiler_digest = __esm({
@@ -19704,7 +19704,7 @@ var init_swift_standin_digest = __esm({
19704
19704
 
19705
19705
  // src/expo-native-compiler-digest.ts
19706
19706
  function expoNativeCompilerDigestValue() {
19707
- return true ? "37d83cb2b8c56fbb0e3999894956a5bd4fdd65e23a4734c4ae58fb86358d8f3a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19707
+ return true ? "af33093f7522f58a128028665d46dc874491e2f8d764cbda0b5878ab0e09c8a4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19708
19708
  }
19709
19709
  var import_node_crypto18;
19710
19710
  var init_expo_native_compiler_digest = __esm({
@@ -26090,6 +26090,7 @@ function relocationEdges(bytes, segmentAddress) {
26090
26090
  for (const s of sections) {
26091
26091
  if (!s.name?.startsWith("reloc.")) continue;
26092
26092
  let cur = s.start;
26093
+ const wideAddend = wasmReader(bytes, s.start);
26093
26094
  const readU = () => {
26094
26095
  const b0 = bytes[cur++];
26095
26096
  if (b0 < 128) return b0;
@@ -26103,12 +26104,19 @@ function relocationEdges(bytes, segmentAddress) {
26103
26104
  }
26104
26105
  };
26105
26106
  const readS = () => {
26107
+ const start = cur;
26106
26108
  const b0 = bytes[cur++];
26107
26109
  if (b0 < 128) return b0 & 64 ? b0 - 128 : b0;
26108
26110
  let value = b0 & 127;
26109
26111
  let shift = 7;
26110
26112
  let byte = b0;
26111
26113
  while (byte >= 128) {
26114
+ if (shift === 49) {
26115
+ wideAddend.at = start;
26116
+ const value2 = wideAddend.s();
26117
+ cur = wideAddend.at;
26118
+ return value2;
26119
+ }
26112
26120
  byte = bytes[cur++];
26113
26121
  value += (byte & 127) * 2 ** shift;
26114
26122
  shift += 7;
@@ -26135,8 +26143,19 @@ function relocationEdges(bytes, segmentAddress) {
26135
26143
  const functionReference = functionRelocation && kind === 0;
26136
26144
  if (!functionReference && (!memoryRelocation || kind !== 1 || symSegment[index] < 0))
26137
26145
  continue;
26138
- const to = functionReference ? symIndex[index] - importedFunctions : addresses[symSegment[index]] + symOffset[index] + addend;
26139
- if (functionReference && (to < 0 || to >= bodyCount)) continue;
26146
+ let to;
26147
+ if (functionReference) {
26148
+ to = symIndex[index] - importedFunctions;
26149
+ if (to < 0 || to >= bodyCount) continue;
26150
+ } else {
26151
+ const symbol2 = addresses[symSegment[index]] + symOffset[index];
26152
+ if (typeof addend === "number") to = symbol2 + addend;
26153
+ else {
26154
+ const address = BigInt.asUintN(64, BigInt(symbol2) + addend);
26155
+ to = Number(address & 0xffffffffn);
26156
+ if (address >> 32n === 0x80000000n) to += 32;
26157
+ }
26158
+ }
26140
26159
  if (isData) {
26141
26160
  while (payloads[segment2].end <= offset) segment2++;
26142
26161
  const payload = payloads[segment2];
@@ -39435,7 +39454,7 @@ var init_swift_sdk_image_recipe = __esm({
39435
39454
  "use strict";
39436
39455
  import_node_crypto37 = require("node:crypto");
39437
39456
  init_wasm_optimize();
39438
- SWIFT_SDK_IMAGE_VERSION = 13;
39457
+ SWIFT_SDK_IMAGE_VERSION = 14;
39439
39458
  SOURCE_SWIFT_FRAMEWORK_RECIPE = "swift-framework/v4";
39440
39459
  swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
39441
39460
  SWIFT_SDK_IMAGE_RECIPE = (0, import_node_crypto37.createHash)("sha256").update(`swift-sdk-image
@@ -50046,7 +50065,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
50046
50065
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
50047
50066
  MULTI_MANIFEST_VERSION = 76;
50048
50067
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
50049
- compilerSourceDigest = true ? "65c18cf90c6d5327457dfe6ae7fe052f0acac7fb60d8df897cbd58095efd6c7f" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50068
+ compilerSourceDigest = true ? "97e56f880988b86233aa6fa82009e0743ec570daba3814eaf1af72111e3301d9" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50050
50069
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
50051
50070
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
50052
50071
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -105428,7 +105447,7 @@ var init_nitro_superset = __esm({
105428
105447
  init_nitroContract();
105429
105448
  init_swift_standin_digest();
105430
105449
  NITRO_SUPERSET_ENTRY_NAME = "superset";
105431
- NITRO_COMPILER_DIGEST = true ? "3bb92dce458a79e08d4cfa92d7c065894bfc73a21379d325f3a4bb95ac8d1c4b" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105450
+ NITRO_COMPILER_DIGEST = true ? "2b4653933fcb386149aa9ff5235011467cb42f955d87f5ade090dd2301ba4283" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105432
105451
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
105433
105452
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
105434
105453
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,19 +1,19 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftResourcePath
4
- } from "./esm-chunks/chunk-E3QSMI64.mjs";
4
+ } from "./esm-chunks/chunk-NSSBX6RT.mjs";
5
5
  import {
6
6
  isNativeAppIdentity
7
- } from "./esm-chunks/chunk-6A4UVCPB.mjs";
8
- import "./esm-chunks/chunk-KXWIU2P7.mjs";
7
+ } from "./esm-chunks/chunk-QII5HKOQ.mjs";
8
+ import "./esm-chunks/chunk-AFNVAGNR.mjs";
9
9
  import {
10
10
  insertBundleGlobalFooter,
11
11
  readBundleGlobalFooter
12
- } from "./esm-chunks/chunk-W5UB3G3N.mjs";
12
+ } from "./esm-chunks/chunk-P3QBJKTJ.mjs";
13
13
  import {
14
14
  isRecord
15
- } from "./esm-chunks/chunk-XCOEJULN.mjs";
16
- import "./esm-chunks/chunk-OFKU6PYL.mjs";
15
+ } from "./esm-chunks/chunk-47TDR6W2.mjs";
16
+ import "./esm-chunks/chunk-FPB4VX77.mjs";
17
17
 
18
18
  // src/expoSwiftContract.ts
19
19
  function strings(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2727 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2728 | (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;