peachsim 0.1.2742 → 0.1.2743

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 +119 -100
  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-I6YLE7RH.mjs → acorn-4LW63VJO.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-2SC45KUK.mjs → chunk-23OQSLRP.mjs} +128 -109
  28. package/dist-lib/esm-chunks/{chunk-RC3JQV7D.mjs → chunk-2HP5FPCA.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-GMFZTGVJ.mjs → chunk-6FHNPTCA.mjs} +6 -6
  30. package/dist-lib/esm-chunks/{chunk-4CNYVYQW.mjs → chunk-7NBU6OXB.mjs} +4 -4
  31. package/dist-lib/esm-chunks/{chunk-ZRA35GYC.mjs → chunk-B3F4HKM6.mjs} +5 -5
  32. package/dist-lib/esm-chunks/{chunk-FKC5RBXR.mjs → chunk-BJSA6VP6.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-OXFGIZC4.mjs → chunk-BNJ5YG7V.mjs} +2 -2
  34. package/dist-lib/esm-chunks/{chunk-VH5KY2GM.mjs → chunk-BQUYNIMY.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-G44GUBAL.mjs → chunk-BW3KZJV5.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-YQSNOLNM.mjs → chunk-EAAYQS4L.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-HJBL2ND3.mjs → chunk-EES2SLJK.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-Y4Q3W36I.mjs → chunk-GIZQHA6L.mjs} +6 -6
  39. package/dist-lib/esm-chunks/{chunk-QDTQYGJB.mjs → chunk-HOUFNDEV.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-CFPPESX7.mjs → chunk-JHOZWSFF.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-6QTRZNLH.mjs → chunk-LVCSLWR2.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-U262IRGM.mjs → chunk-OEQBNK6V.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-NWGCI4JC.mjs → chunk-SG7MN2KW.mjs} +3 -3
  44. package/dist-lib/esm-chunks/{chunk-PLXC42XF.mjs → chunk-THJMTM3L.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-6LMI5DE3.mjs → chunk-THSR72MV.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-MHRTZ6I7.mjs → chunk-V3SRJIBE.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-VWRLBFID.mjs → chunk-VJKLZAU2.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-IVVVYJKG.mjs → chunk-WKGJ6LAU.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-MXADGMSE.mjs → chunk-XP5F6PNN.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-GPVGYC45.mjs → chunk-ZLQX4SVV.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-QGTUKU6T.mjs → metro-layout-parser-L57PU3TD.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-M2IXDM7B.mjs → swift-package-prebuilt-UNXWJN7B.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-4KYBNEBW.mjs → swift-sdk-app-module-DZV3XYCP.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-Z37PPINV.mjs → swift-sdk-image-WRYMP64Z.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-7KFCU6Y6.mjs → swift-sdk-image-producer-D6DOCCCR.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +119 -100
  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 +119 -100
  61. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  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 +119 -100
  95. package/dist-lib/swift-compile.cjs +115 -96
  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/dist-types/packages/peach-engine/src/engine/native-font-dataContract.d.ts +1 -0
  123. package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +17 -1
  124. package/package.json +1 -1
  125. package/src/swift-compile.ts +145 -120
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-6QTRZNLH.mjs";
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-LVCSLWR2.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-I6YLE7RH.mjs");
11
+ const { Parser } = await import("./acorn-4LW63VJO.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-2SC45KUK.mjs";
8
- import "./chunk-OXFGIZC4.mjs";
7
+ } from "./chunk-23OQSLRP.mjs";
8
+ import "./chunk-BNJ5YG7V.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-Y4Q3W36I.mjs";
13
- import "./chunk-VWRLBFID.mjs";
12
+ } from "./chunk-GIZQHA6L.mjs";
13
+ import "./chunk-VJKLZAU2.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-IVVVYJKG.mjs";
16
+ } from "./chunk-WKGJ6LAU.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-U262IRGM.mjs";
20
- import "./chunk-VH5KY2GM.mjs";
21
- import "./chunk-CFPPESX7.mjs";
22
- import "./chunk-MHRTZ6I7.mjs";
23
- import "./chunk-RC3JQV7D.mjs";
24
- import "./chunk-6QTRZNLH.mjs";
19
+ } from "./chunk-OEQBNK6V.mjs";
20
+ import "./chunk-BQUYNIMY.mjs";
21
+ import "./chunk-JHOZWSFF.mjs";
22
+ import "./chunk-V3SRJIBE.mjs";
23
+ import "./chunk-2HP5FPCA.mjs";
24
+ import "./chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-GMFZTGVJ.mjs";
7
+ } from "./chunk-6FHNPTCA.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-2SC45KUK.mjs";
37
- import "./chunk-OXFGIZC4.mjs";
38
- import "./chunk-ZRA35GYC.mjs";
39
- import "./chunk-PLXC42XF.mjs";
40
- import "./chunk-FKC5RBXR.mjs";
41
- import "./chunk-Y4Q3W36I.mjs";
36
+ } from "./chunk-23OQSLRP.mjs";
37
+ import "./chunk-BNJ5YG7V.mjs";
38
+ import "./chunk-B3F4HKM6.mjs";
39
+ import "./chunk-THJMTM3L.mjs";
40
+ import "./chunk-BJSA6VP6.mjs";
41
+ import "./chunk-GIZQHA6L.mjs";
42
42
  import {
43
43
  SWIFT_WASM_TRIPLE
44
- } from "./chunk-VWRLBFID.mjs";
45
- import "./chunk-IVVVYJKG.mjs";
46
- import "./chunk-U262IRGM.mjs";
47
- import "./chunk-VH5KY2GM.mjs";
48
- import "./chunk-CFPPESX7.mjs";
49
- import "./chunk-MHRTZ6I7.mjs";
50
- import "./chunk-RC3JQV7D.mjs";
51
- import "./chunk-6QTRZNLH.mjs";
44
+ } from "./chunk-VJKLZAU2.mjs";
45
+ import "./chunk-WKGJ6LAU.mjs";
46
+ import "./chunk-OEQBNK6V.mjs";
47
+ import "./chunk-BQUYNIMY.mjs";
48
+ import "./chunk-JHOZWSFF.mjs";
49
+ import "./chunk-V3SRJIBE.mjs";
50
+ import "./chunk-2HP5FPCA.mjs";
51
+ import "./chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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-GMFZTGVJ.mjs";
17
- import "./chunk-2SC45KUK.mjs";
18
- import "./chunk-OXFGIZC4.mjs";
19
- import "./chunk-ZRA35GYC.mjs";
20
- import "./chunk-PLXC42XF.mjs";
21
- import "./chunk-FKC5RBXR.mjs";
22
- import "./chunk-Y4Q3W36I.mjs";
23
- import "./chunk-VWRLBFID.mjs";
24
- import "./chunk-IVVVYJKG.mjs";
25
- import "./chunk-U262IRGM.mjs";
26
- import "./chunk-VH5KY2GM.mjs";
27
- import "./chunk-CFPPESX7.mjs";
28
- import "./chunk-MHRTZ6I7.mjs";
29
- import "./chunk-RC3JQV7D.mjs";
30
- import "./chunk-6QTRZNLH.mjs";
16
+ } from "./chunk-6FHNPTCA.mjs";
17
+ import "./chunk-23OQSLRP.mjs";
18
+ import "./chunk-BNJ5YG7V.mjs";
19
+ import "./chunk-B3F4HKM6.mjs";
20
+ import "./chunk-THJMTM3L.mjs";
21
+ import "./chunk-BJSA6VP6.mjs";
22
+ import "./chunk-GIZQHA6L.mjs";
23
+ import "./chunk-VJKLZAU2.mjs";
24
+ import "./chunk-WKGJ6LAU.mjs";
25
+ import "./chunk-OEQBNK6V.mjs";
26
+ import "./chunk-BQUYNIMY.mjs";
27
+ import "./chunk-JHOZWSFF.mjs";
28
+ import "./chunk-V3SRJIBE.mjs";
29
+ import "./chunk-2HP5FPCA.mjs";
30
+ import "./chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-OXFGIZC4.mjs";
4
+ } from "./chunk-BNJ5YG7V.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-VWRLBFID.mjs";
8
+ } from "./chunk-VJKLZAU2.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-RC3JQV7D.mjs";
12
- import "./chunk-6QTRZNLH.mjs";
11
+ } from "./chunk-2HP5FPCA.mjs";
12
+ import "./chunk-LVCSLWR2.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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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;
@@ -19556,7 +19556,7 @@ var init_react_native_core_digest = __esm({
19556
19556
 
19557
19557
  // src/swift-compiler-digest.ts
19558
19558
  function swiftArchiveCompilerDigestValue() {
19559
- return true ? "0793e59f1e3cdb2b823e46162b3112e01b180b07a4650b5e43a642bc3094d5ef" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19559
+ return true ? "e036567f599b9df239e4332b34b546043c5d1c41996348475482e91ed8b42366" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19560
19560
  }
19561
19561
  var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
19562
19562
  var init_swift_compiler_digest = __esm({
@@ -19707,7 +19707,7 @@ var init_swift_standin_digest = __esm({
19707
19707
 
19708
19708
  // src/expo-native-compiler-digest.ts
19709
19709
  function expoNativeCompilerDigestValue() {
19710
- return true ? "77bd2fbb160fc0dbe5d30a609cfd0c890697b189ef38b63db3c6003f98ae219e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19710
+ return true ? "5e0423a14cd4a805f390c706e22f3074ba5a6fccf294d23bf6702b83379bff79" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19711
19711
  }
19712
19712
  var import_node_crypto18;
19713
19713
  var init_expo_native_compiler_digest = __esm({
@@ -45602,7 +45602,7 @@ function findTargetForFile(file, byDir, predicate) {
45602
45602
  }
45603
45603
  return void 0;
45604
45604
  }
45605
- function compiledSwiftSources(files2, targets, overlayFrameworks, headers, nativeSourceGlue = false) {
45605
+ function compiledSwiftSources(files2, targets, overlayFrameworks, headers) {
45606
45606
  const ordered = [...targets].sort((a, b) => b.path.length - a.path.length);
45607
45607
  const byDir = indexTargetsByDirectory(ordered);
45608
45608
  const excludeSets = /* @__PURE__ */ new Map();
@@ -45628,7 +45628,7 @@ function compiledSwiftSources(files2, targets, overlayFrameworks, headers, nativ
45628
45628
  const { onWasm, withoutWasm } = swiftTargetArchitectures(targets, swiftSources, headers);
45629
45629
  return new Map(
45630
45630
  [...owners].map(([file, { source, owner }]) => {
45631
- if (nativeSourceGlue && import_node_path70.default.posix.basename(file) === "OneNativeSource.generated.swift")
45631
+ if (import_node_path70.default.posix.basename(file) === "OneNativeSource.generated.swift")
45632
45632
  return [file, source];
45633
45633
  const manifest = /(?:^|\/)Package(?:@swift-[\d.]+)?\.swift$/.test(file);
45634
45634
  if (manifest && (!owner || /^Package(?:@swift-[\d.]+)?\.swift$/.test(file)))
@@ -47153,8 +47153,7 @@ module ${moduleName}.Swift {
47153
47153
  ([file]) => /\.(?:h|hh|hpp)$/.test(file)
47154
47154
  );
47155
47155
  return headerFiles3.filter(([file]) => file.startsWith(`${directory2}/`)).map(([, contents2]) => contents2);
47156
- },
47157
- input.oneModule
47156
+ }
47158
47157
  );
47159
47158
  const libraryEntryFiles = /* @__PURE__ */ new Map();
47160
47159
  for (const target of [...targets]) {
@@ -48407,9 +48406,10 @@ function removeCaseCollidingModuleArtifacts(modulesDir, keep) {
48407
48406
  (0, import_node_fs70.rmSync)(import_node_path70.default.join(modulesDir, name3), { recursive: true, force: true });
48408
48407
  }
48409
48408
  }
48410
- function readFrameworkProductsReceipt(scratch2, receiptKey) {
48409
+ function readFrameworkProductsReceipt(scratch2, receiptKey, planChangedAt = 0n) {
48411
48410
  const receiptFile2 = import_node_path70.default.join(scratch2, "products-ready", `${receiptKey}.json`);
48412
- if (!(0, import_node_fs70.existsSync)(receiptFile2)) return null;
48411
+ const receiptStat = (0, import_node_fs70.statSync)(receiptFile2, { bigint: true, throwIfNoEntry: false });
48412
+ if (!receiptStat || receiptStat.mtimeNs < planChangedAt) return null;
48413
48413
  let parsed2;
48414
48414
  try {
48415
48415
  parsed2 = v6.parse(
@@ -48533,117 +48533,136 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
48533
48533
  const unoptimized = args.input.unoptimized === true;
48534
48534
  const sdkOptions = swiftCompileSdkOptions(args.moduleRoot, args.toolchainBin);
48535
48535
  const selectorOptions = swiftObjCSelectorOptions(args.moduleRoot);
48536
- const receiptKey = (0, import_node_crypto45.createHash)("sha256").update(
48536
+ const receiptKeyFor = (products) => (0, import_node_crypto45.createHash)("sha256").update(
48537
48537
  JSON.stringify([
48538
48538
  "framework-products/v2",
48539
48539
  args.frameworkKey,
48540
48540
  unoptimized,
48541
48541
  args.sdk,
48542
48542
  args.toolchainBin,
48543
- [...linkedTargets.products].sort(),
48543
+ [...products].sort(),
48544
48544
  darwinRecordsMinimum(),
48545
48545
  args.plugins,
48546
48546
  sdkOptions,
48547
48547
  selectorOptions
48548
48548
  ])
48549
48549
  ).digest("hex").slice(0, 32);
48550
+ const receiptKey = receiptKeyFor(linkedTargets.products);
48550
48551
  const ready = readFrameworkProductsReceipt(scratch2, receiptKey);
48551
48552
  if (ready) return ready;
48552
48553
  if (!allowWrite) return;
48553
48554
  const linkRoot = import_node_path70.default.join(scratch2, "link");
48554
- writeFrameworkLinkPackage(linkRoot, args.moduleRoot, linkedTargets.products);
48555
- const frameworkTmp = import_node_path70.default.join(scratch2, "peach-compiler-tmp");
48556
- (0, import_node_fs70.mkdirSync)(frameworkTmp, { recursive: true });
48557
- const jobs = swiftCompilerJobs();
48558
- const targetJobs = jobs >= 4 ? 2 : 1;
48559
- const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
48560
- const cache = unoptimized ? null : prepareFrameworkCompileCache(
48555
+ const manifest = import_node_path70.default.join(linkRoot, "Package.swift");
48556
+ const manifestStat = (0, import_node_fs70.statSync)(manifest, { bigint: true, throwIfNoEntry: false });
48557
+ const planStat = (0, import_node_fs70.statSync)(import_node_path70.default.join(scratch2, "release.yaml"), {
48558
+ bigint: true,
48559
+ throwIfNoEntry: false
48560
+ });
48561
+ const builtProducts = manifestStat && planStat ? [
48562
+ ...(0, import_node_fs70.readFileSync)(manifest, "utf8").matchAll(
48563
+ /^\s*\.product\(name: "([^"]+)", package:/gm
48564
+ )
48565
+ ].map((match) => match[1]) : [];
48566
+ const reusePlan = manifestStat && planStat && linkedTargets.products.every((product) => builtProducts.includes(product)) && readFrameworkProductsReceipt(
48561
48567
  scratch2,
48562
- args.moduleRoot,
48563
- args.toolchainBin,
48564
- sdkOptions,
48565
- linkedTargets.products
48566
- );
48567
- await runCompiler(
48568
- args.swift,
48569
- [
48570
- "build",
48571
- ...swiftPackageCacheOptions(),
48572
- "--build-system",
48573
- "native",
48574
- "-j",
48575
- String(targetJobs),
48576
- "--package-path",
48577
- linkRoot,
48578
- "--scratch-path",
48568
+ receiptKeyFor(builtProducts),
48569
+ manifestStat.ctimeNs > planStat.ctimeNs ? manifestStat.ctimeNs : planStat.ctimeNs
48570
+ );
48571
+ if (!reusePlan) {
48572
+ writeFrameworkLinkPackage(linkRoot, args.moduleRoot, linkedTargets.products);
48573
+ const frameworkTmp = import_node_path70.default.join(scratch2, "peach-compiler-tmp");
48574
+ (0, import_node_fs70.mkdirSync)(frameworkTmp, { recursive: true });
48575
+ const jobs = swiftCompilerJobs();
48576
+ const targetJobs = jobs >= 4 ? 2 : 1;
48577
+ const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
48578
+ const cache = unoptimized ? null : prepareFrameworkCompileCache(
48579
48579
  scratch2,
48580
- "--target",
48581
- FRAMEWORK_LINK_TARGET,
48582
- ...sdkOptions,
48583
- ...selectorOptions,
48584
- "--swift-sdk",
48585
- args.sdk,
48586
- "-c",
48587
- "release",
48588
- ...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
48589
- "-Xswiftc",
48590
- unoptimized ? "-Onone" : "-Osize",
48591
- "-Xswiftc",
48592
- "-no-whole-module-optimization",
48593
- // optimized batches can move specialized definitions between object files.
48594
- ...unoptimized ? ["-Xswiftc", "-incremental"] : [],
48595
- "-Xswiftc",
48596
- "-enable-batch-mode",
48597
- // each batch repeats the same framework diagnostics.
48598
- ...unoptimized ? [] : ["-Xswiftc", "-suppress-warnings"],
48599
- "-Xswiftc",
48600
- "-j",
48601
- "-Xswiftc",
48602
- String(driverJobs),
48603
- // the release link strips all debug info, so none is generated.
48604
- "-Xswiftc",
48605
- "-gnone",
48606
- "-Xcc",
48607
- "-g0",
48608
- "-Xcxx",
48609
- "-g0",
48610
- "-Xswiftc",
48611
- "-num-threads",
48612
- "-Xswiftc",
48613
- "1",
48614
- ...swiftReproducibleBuildFlags([
48615
- [import_node_path70.default.dirname(args.toolchainBin), "toolchain"],
48616
- [args.moduleRoot, "framework"],
48617
- [scratch2, "framework-scratch"]
48618
- ]),
48619
- ...args.plugins.libraries.flatMap((plugin) => [
48580
+ args.moduleRoot,
48581
+ args.toolchainBin,
48582
+ sdkOptions,
48583
+ linkedTargets.products
48584
+ );
48585
+ await runCompiler(
48586
+ args.swift,
48587
+ [
48588
+ "build",
48589
+ ...swiftPackageCacheOptions(),
48590
+ "--build-system",
48591
+ "native",
48592
+ "-j",
48593
+ String(targetJobs),
48594
+ "--package-path",
48595
+ linkRoot,
48596
+ "--scratch-path",
48597
+ scratch2,
48598
+ "--target",
48599
+ FRAMEWORK_LINK_TARGET,
48600
+ ...sdkOptions,
48601
+ ...selectorOptions,
48602
+ "--swift-sdk",
48603
+ args.sdk,
48604
+ "-c",
48605
+ "release",
48606
+ ...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
48620
48607
  "-Xswiftc",
48621
- "-load-plugin-library",
48608
+ unoptimized ? "-Onone" : "-Osize",
48622
48609
  "-Xswiftc",
48623
- plugin
48624
- ]),
48625
- ...args.plugins.executables.flatMap((plugin) => [
48610
+ "-no-whole-module-optimization",
48611
+ // optimized batches can move specialized definitions between object files.
48612
+ ...unoptimized ? ["-Xswiftc", "-incremental"] : [],
48626
48613
  "-Xswiftc",
48627
- "-load-plugin-executable",
48614
+ "-enable-batch-mode",
48615
+ // each batch repeats the same framework diagnostics.
48616
+ ...unoptimized ? [] : ["-Xswiftc", "-suppress-warnings"],
48628
48617
  "-Xswiftc",
48629
- `${plugin}#ExpoModulesMacros`
48630
- ])
48631
- ],
48632
- // swiftpm hashes TMPDIR into its plan; keep one stable compiler scratch inside the locked slot.
48633
- // the framework build's warnings alone pass the default 1 MiB cap, which kills
48634
- // the build one step from the end.
48635
- {
48636
- ...args.buildOptions,
48637
- temporaryDirectory: frameworkTmp,
48638
- maxBuffer: 64 * 1024 * 1024
48639
- },
48640
- SWIFTPM_PROGRESS,
48641
- SWIFTPM_NOISE
48642
- ).catch((error) => {
48643
- throw new Error(outputOf(error), { cause: error });
48644
- }).finally(() => {
48645
- if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
48646
- });
48618
+ "-j",
48619
+ "-Xswiftc",
48620
+ String(driverJobs),
48621
+ // the release link strips all debug info, so none is generated.
48622
+ "-Xswiftc",
48623
+ "-gnone",
48624
+ "-Xcc",
48625
+ "-g0",
48626
+ "-Xcxx",
48627
+ "-g0",
48628
+ "-Xswiftc",
48629
+ "-num-threads",
48630
+ "-Xswiftc",
48631
+ "1",
48632
+ ...swiftReproducibleBuildFlags([
48633
+ [import_node_path70.default.dirname(args.toolchainBin), "toolchain"],
48634
+ [args.moduleRoot, "framework"],
48635
+ [scratch2, "framework-scratch"]
48636
+ ]),
48637
+ ...args.plugins.libraries.flatMap((plugin) => [
48638
+ "-Xswiftc",
48639
+ "-load-plugin-library",
48640
+ "-Xswiftc",
48641
+ plugin
48642
+ ]),
48643
+ ...args.plugins.executables.flatMap((plugin) => [
48644
+ "-Xswiftc",
48645
+ "-load-plugin-executable",
48646
+ "-Xswiftc",
48647
+ `${plugin}#ExpoModulesMacros`
48648
+ ])
48649
+ ],
48650
+ // swiftpm hashes TMPDIR into its plan; keep one stable compiler scratch inside the locked slot.
48651
+ // the framework build's warnings alone pass the default 1 MiB cap, which kills
48652
+ // the build one step from the end.
48653
+ {
48654
+ ...args.buildOptions,
48655
+ temporaryDirectory: frameworkTmp,
48656
+ maxBuffer: 64 * 1024 * 1024
48657
+ },
48658
+ SWIFTPM_PROGRESS,
48659
+ SWIFTPM_NOISE
48660
+ ).catch((error) => {
48661
+ throw new Error(outputOf(error), { cause: error });
48662
+ }).finally(() => {
48663
+ if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
48664
+ });
48665
+ }
48647
48666
  const release = import_node_path70.default.join(scratch2, WASM_TRIPLE, "release");
48648
48667
  const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
48649
48668
  const objects = linked.objects;
@@ -50182,7 +50201,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
50182
50201
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
50183
50202
  MULTI_MANIFEST_VERSION = 76;
50184
50203
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
50185
- compilerSourceDigest = true ? "07651c3448f918d1873b3ecc1d3db59948c7cbfdd917cd5b69da610a327f857a" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50204
+ compilerSourceDigest = true ? "c83dc1b17f6e7fc01d5217313795b0276b66d9f33db641855c80c055d7d77edd" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50186
50205
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
50187
50206
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
50188
50207
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -105564,7 +105583,7 @@ var init_nitro_superset = __esm({
105564
105583
  init_nitroContract();
105565
105584
  init_swift_standin_digest();
105566
105585
  NITRO_SUPERSET_ENTRY_NAME = "superset";
105567
- NITRO_COMPILER_DIGEST = true ? "044328c5350ebb809f06385360a8f8ac2ddc79127894cab52bbe62745e02eda8" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105586
+ NITRO_COMPILER_DIGEST = true ? "880e684ade3a6398cfad03a94e2163815fcdc45e9f1be044e82a986570df5d2e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105568
105587
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
105569
105588
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
105570
105589
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftResourcePath
4
- } from "./esm-chunks/chunk-IVVVYJKG.mjs";
4
+ } from "./esm-chunks/chunk-WKGJ6LAU.mjs";
5
5
  import {
6
6
  isNativeAppIdentity
7
- } from "./esm-chunks/chunk-4CNYVYQW.mjs";
8
- import "./esm-chunks/chunk-VH5KY2GM.mjs";
7
+ } from "./esm-chunks/chunk-7NBU6OXB.mjs";
8
+ import "./esm-chunks/chunk-BQUYNIMY.mjs";
9
9
  import {
10
10
  insertBundleGlobalFooter,
11
11
  readBundleGlobalFooter
12
- } from "./esm-chunks/chunk-HJBL2ND3.mjs";
12
+ } from "./esm-chunks/chunk-EES2SLJK.mjs";
13
13
  import {
14
14
  isRecord
15
- } from "./esm-chunks/chunk-RC3JQV7D.mjs";
16
- import "./esm-chunks/chunk-6QTRZNLH.mjs";
15
+ } from "./esm-chunks/chunk-2HP5FPCA.mjs";
16
+ import "./esm-chunks/chunk-LVCSLWR2.mjs";
17
17
 
18
18
  // src/expoSwiftContract.ts
19
19
  function strings(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2742 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2743 | (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;