peachsim 0.1.2783 → 0.1.2785

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 (126) 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 +31 -17
  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-P4X2PP72.mjs → acorn-PN3K7RNC.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-JINAF5BQ.mjs → chunk-274XFKYK.mjs} +2 -2
  28. package/dist-lib/esm-chunks/{chunk-5NVNMFGC.mjs → chunk-5ME3MQQK.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-V6C3D4V7.mjs → chunk-7UZMIGSE.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-UXADTT45.mjs → chunk-AMEQJNNJ.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-4H5MJ5C4.mjs → chunk-BKHPUGEZ.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-JKFJEFO3.mjs → chunk-CHYYRIEZ.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-D4IN4CGO.mjs → chunk-E4RESLG2.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-GSKSRHW6.mjs → chunk-HKHHZRCQ.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-MYSA3RHR.mjs → chunk-HOWYZDD5.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-YIULEE2Y.mjs → chunk-JOPTMNV4.mjs} +5 -5
  37. package/dist-lib/esm-chunks/{chunk-2USIBANE.mjs → chunk-JP7SFHDB.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-7VZPGI2I.mjs → chunk-KQJKP4ZX.mjs} +6 -6
  39. package/dist-lib/esm-chunks/{chunk-NUGYXZHV.mjs → chunk-L65GBCCG.mjs} +4 -4
  40. package/dist-lib/esm-chunks/{chunk-VLFXKUWD.mjs → chunk-LDQNCHXS.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-3VU27NAG.mjs → chunk-M7CA45GM.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-TXZVXFR2.mjs → chunk-NDAYZVPV.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-M3KOSWPA.mjs → chunk-NS2CAKI2.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-HAP6RBY7.mjs → chunk-OCG7AB5X.mjs} +3 -3
  45. package/dist-lib/esm-chunks/{chunk-VIY5ECIB.mjs → chunk-Q3NYGCRJ.mjs} +41 -27
  46. package/dist-lib/esm-chunks/{chunk-MIEHIZHP.mjs → chunk-QY3QPMZS.mjs} +6 -6
  47. package/dist-lib/esm-chunks/{chunk-5OLR2KSO.mjs → chunk-UAUULDRJ.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-5PUUG2QR.mjs → chunk-VGPN5RSM.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-DDOUXZMB.mjs → chunk-WNEPIRBW.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-ISEFHCTB.mjs → chunk-Y57YKI5Y.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-ZQZ5YWIJ.mjs → metro-layout-parser-H5RC2JJK.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-AFGMIPMF.mjs → swift-package-prebuilt-5ZBUTTOB.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-DVRQV4G3.mjs → swift-sdk-app-module-6LYCDQBC.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-K4JLO5T6.mjs → swift-sdk-image-GDPHXT6X.mjs} +16 -16
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-MDMUOCOM.mjs → swift-sdk-image-producer-UQZDGCCO.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +31 -17
  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 +31 -17
  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 +31 -17
  95. package/dist-lib/swift-compile.cjs +28 -14
  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-layout.d.ts +1 -1
  123. package/dist-types/packages/peach-engine/src/render-worker/scene-packet-feed.d.ts +2 -0
  124. package/package.json +1 -1
  125. package/src/swift-compile.ts +17 -6
  126. package/src/swift-header-compiler.ts +11 -3
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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-JINAF5BQ.mjs";
7
+ } from "./chunk-274XFKYK.mjs";
8
8
  import {
9
9
  CORE_FOUNDATION_OVERLAY_GLOBALS,
10
10
  NATIVE_GRAPH_SDK_VERSION,
@@ -67,7 +67,7 @@ import {
67
67
  withoutImportedSdkEnumForwards,
68
68
  withoutSwiftDeclarations,
69
69
  writeBuildFile
70
- } from "./chunk-MIEHIZHP.mjs";
70
+ } from "./chunk-QY3QPMZS.mjs";
71
71
  import {
72
72
  SWIFT_AUTOLINK_LINKER,
73
73
  SWIFT_CACHE_HOLD_MARKER,
@@ -84,7 +84,7 @@ import {
84
84
  wasmThreadLinkFlags,
85
85
  windowAdmission,
86
86
  writeSwiftAutolinkLinker
87
- } from "./chunk-TXZVXFR2.mjs";
87
+ } from "./chunk-NDAYZVPV.mjs";
88
88
  import {
89
89
  SWIFT_BINARY_TREES_DIR,
90
90
  SWIFT_NATIVE_INPUT_ROOT,
@@ -99,7 +99,7 @@ import {
99
99
  isSwiftResourcePath,
100
100
  isSwiftSourceLinkGraph,
101
101
  swiftProjectFilesProblems
102
- } from "./chunk-4H5MJ5C4.mjs";
102
+ } from "./chunk-BKHPUGEZ.mjs";
103
103
  import {
104
104
  OBJC_RESOURCE_ACCESSOR_BODY,
105
105
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -122,16 +122,16 @@ import {
122
122
  swiftPackagePartition,
123
123
  swiftTargetModuleName,
124
124
  withoutGlogModuleMap
125
- } from "./chunk-5PUUG2QR.mjs";
125
+ } from "./chunk-VGPN5RSM.mjs";
126
126
  import {
127
127
  rnxPublicBrand
128
- } from "./chunk-D4IN4CGO.mjs";
128
+ } from "./chunk-E4RESLG2.mjs";
129
129
  import {
130
130
  isRecord
131
- } from "./chunk-5OLR2KSO.mjs";
131
+ } from "./chunk-UAUULDRJ.mjs";
132
132
  import {
133
133
  __publicField
134
- } from "./chunk-M3KOSWPA.mjs";
134
+ } from "./chunk-NS2CAKI2.mjs";
135
135
 
136
136
  // src/swift-compile.ts
137
137
  import {
@@ -14437,7 +14437,7 @@ async function compileGuestLink(options) {
14437
14437
  };
14438
14438
  const sdk = options.sdkImage;
14439
14439
  const sdkCallers = sdk.sdkInterface.guestCallers;
14440
- const sdkObjects = (await import("./swift-sdk-image-K4JLO5T6.mjs")).readSwiftSdkManifestIndex(
14440
+ const sdkObjects = (await import("./swift-sdk-image-GDPHXT6X.mjs")).readSwiftSdkManifestIndex(
14441
14441
  sdk
14442
14442
  ).guestObjects;
14443
14443
  if (!sdkCallers || !sdkObjects)
@@ -14737,7 +14737,7 @@ async function compileGuestLink(options) {
14737
14737
  swiftAppModuleThunkSection,
14738
14738
  swiftSdkProjectionSpans,
14739
14739
  writeSwiftSdkAppLink
14740
- } = await import("./swift-sdk-app-module-DVRQV4G3.mjs");
14740
+ } = await import("./swift-sdk-app-module-6LYCDQBC.mjs");
14741
14741
  const project = options.project;
14742
14742
  const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
14743
14743
  if (project) chownSync(work, project.uid, project.gid);
@@ -15023,6 +15023,12 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
15023
15023
  const socketFile = path15.join(root, ".build", "peach-swift-header-socket");
15024
15024
  mkdirSync6(checkpoints, { recursive: true });
15025
15025
  const swiftc = argument(path15.join(toolchainBin, "swiftc"));
15026
+ const producersByJobs = /* @__PURE__ */ new Map();
15027
+ for (const [name, { jobs }] of producers) {
15028
+ const names = producersByJobs.get(jobs) ?? [];
15029
+ names.push(argument(`1:${name}`));
15030
+ producersByJobs.set(jobs, names);
15031
+ }
15026
15032
  writeBuildFile(script, client);
15027
15033
  writeBuildFile(
15028
15034
  wrapper,
@@ -15035,8 +15041,10 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
15035
15041
  " previous=$flag",
15036
15042
  "done",
15037
15043
  'case "$compile:$module" in',
15038
- ` ${[...producers.keys()].map((name) => argument(`1:${name}`)).join("|")})`,
15039
- ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@" ;;`,
15044
+ ...[...producersByJobs].flatMap(([jobs, names]) => [
15045
+ ` ${names.join("|")})`,
15046
+ ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@"${jobs === void 0 ? "" : ` -j ${jobs}`} ;;`
15047
+ ]),
15040
15048
  "esac",
15041
15049
  `exec ${swiftc} "$@"`,
15042
15050
  ""
@@ -16728,7 +16736,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
16728
16736
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16729
16737
  var MULTI_MANIFEST_VERSION = 76;
16730
16738
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16731
- var compilerSourceDigest = true ? "05ea8272883560029dae1c9aef2497d3f4d9e0d3418ef288c47c562673f5ba19" : swiftCompilerSourceDigest(import.meta.dirname);
16739
+ var compilerSourceDigest = true ? "baac85ca6f30bfff118b7d4063d9361ee1667b3d7716774bc1ae52da63e27be0" : swiftCompilerSourceDigest(import.meta.dirname);
16732
16740
  function swiftArtifactHash(input, release, moduleRoot) {
16733
16741
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
16734
16742
  }
@@ -21353,7 +21361,7 @@ async function compileSwiftProjectOnce(sources, options) {
21353
21361
  const distribution = swiftDistributionAt(moduleRoot);
21354
21362
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
21355
21363
  if (distribution) refreshSwiftCacheHold(moduleRoot);
21356
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-AFGMIPMF.mjs")).useSwiftPackagePrebuilts(
21364
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-5ZBUTTOB.mjs")).useSwiftPackagePrebuilts(
21357
21365
  sources,
21358
21366
  moduleRoot,
21359
21367
  options.toolchainBin
@@ -21366,7 +21374,7 @@ async function compileSwiftProjectOnce(sources, options) {
21366
21374
  sources: path23.join(root, "Sources", "App"),
21367
21375
  multi: compileTargets(input).length > 0
21368
21376
  };
21369
- const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-K4JLO5T6.mjs")).buildSwiftSdkImage(
21377
+ const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-GDPHXT6X.mjs")).buildSwiftSdkImage(
21370
21378
  moduleRoot,
21371
21379
  !!guestGraph,
21372
21380
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -21688,6 +21696,8 @@ ${compatShape}` : "";
21688
21696
  const jobs = swiftCompilerJobs();
21689
21697
  const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options.project && !input.optimize && !input.unoptimized;
21690
21698
  const batchGuest = guestGraph !== void 0 && !options.project && !input.unoptimized;
21699
+ const guestDriverJobs = Math.min(8, jobs);
21700
+ const singleProducerJobs = Math.min(16, Math.floor(jobs / 2));
21691
21701
  const batch = incrementalPreview || batchGuest;
21692
21702
  const perFile = input.unoptimized || batch;
21693
21703
  const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
@@ -21714,7 +21724,7 @@ ${compatShape}` : "";
21714
21724
  "-Xswiftc",
21715
21725
  "-j",
21716
21726
  "-Xswiftc",
21717
- String(batchGuest ? Math.min(8, jobs) : jobs)
21727
+ String(batchGuest ? guestDriverJobs : jobs)
21718
21728
  ] : [],
21719
21729
  // optimized batches can move specialized definitions between objects.
21720
21730
  ...incrementalPreview ? ["-Xswiftc", "-incremental"] : [],
@@ -21991,15 +22001,19 @@ ${compatShape}` : "";
21991
22001
  options.toolchainBin,
21992
22002
  recipe,
21993
22003
  new Map(
21994
- preparation.headerBuilds.flatMap((stage2) => stage2.producers).map((producer) => {
21995
- const paths = headerPaths(producer);
21996
- return [
21997
- swiftTargetModuleName(producer),
21998
- {
21999
- header: paths.original,
22000
- publish: () => publishHeader(paths)
22001
- }
22002
- ];
22004
+ preparation.headerBuilds.flatMap(({ producers }) => {
22005
+ const driverJobs = batchGuest && producers.length === 1 && singleProducerJobs > guestDriverJobs ? singleProducerJobs : void 0;
22006
+ return producers.map((producer) => {
22007
+ const paths = headerPaths(producer);
22008
+ return [
22009
+ swiftTargetModuleName(producer),
22010
+ {
22011
+ header: paths.original,
22012
+ publish: () => publishHeader(paths),
22013
+ jobs: driverJobs
22014
+ }
22015
+ ];
22016
+ });
22003
22017
  })
22004
22018
  ),
22005
22019
  runApp
@@ -22105,7 +22119,7 @@ ${compatShape}` : "";
22105
22119
  });
22106
22120
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
22107
22121
  } else {
22108
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-DVRQV4G3.mjs");
22122
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-6LYCDQBC.mjs");
22109
22123
  const binding = await buildSwiftAppModule({
22110
22124
  buildRoot: root2,
22111
22125
  toolchainBin: options.toolchainBin,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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-TXZVXFR2.mjs";
15
+ } from "./chunk-NDAYZVPV.mjs";
16
16
  import {
17
17
  isSwiftResourcePath
18
- } from "./chunk-4H5MJ5C4.mjs";
18
+ } from "./chunk-BKHPUGEZ.mjs";
19
19
  import {
20
20
  swiftManifestDeclarations
21
- } from "./chunk-5PUUG2QR.mjs";
21
+ } from "./chunk-VGPN5RSM.mjs";
22
22
  import {
23
23
  isRecord
24
- } from "./chunk-5OLR2KSO.mjs";
24
+ } from "./chunk-UAUULDRJ.mjs";
25
25
  import {
26
26
  __publicField
27
- } from "./chunk-M3KOSWPA.mjs";
27
+ } from "./chunk-NS2CAKI2.mjs";
28
28
 
29
29
  // src/write-build-file.ts
30
30
  import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/swiftDiscoveryContract.ts
4
4
  var SWIFT_PACKAGE_PATH = "/__peach/swift-package/";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  var NAMED_ENTITIES = {
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-M3KOSWPA.mjs";
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-NS2CAKI2.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-P4X2PP72.mjs");
11
+ const { Parser } = await import("./acorn-PN3K7RNC.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.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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-VIY5ECIB.mjs";
8
- import "./chunk-JINAF5BQ.mjs";
7
+ } from "./chunk-Q3NYGCRJ.mjs";
8
+ import "./chunk-274XFKYK.mjs";
9
9
  import {
10
10
  swiftDistributionAt,
11
11
  swiftImportNames
12
- } from "./chunk-MIEHIZHP.mjs";
13
- import "./chunk-TXZVXFR2.mjs";
12
+ } from "./chunk-QY3QPMZS.mjs";
13
+ import "./chunk-NDAYZVPV.mjs";
14
14
  import {
15
15
  SWIFT_REMOTE_PACKAGES_DIR
16
- } from "./chunk-4H5MJ5C4.mjs";
16
+ } from "./chunk-BKHPUGEZ.mjs";
17
17
  import {
18
18
  manifestCalls
19
- } from "./chunk-5PUUG2QR.mjs";
20
- import "./chunk-5NVNMFGC.mjs";
21
- import "./chunk-D4IN4CGO.mjs";
22
- import "./chunk-VLFXKUWD.mjs";
23
- import "./chunk-5OLR2KSO.mjs";
24
- import "./chunk-M3KOSWPA.mjs";
19
+ } from "./chunk-VGPN5RSM.mjs";
20
+ import "./chunk-5ME3MQQK.mjs";
21
+ import "./chunk-E4RESLG2.mjs";
22
+ import "./chunk-LDQNCHXS.mjs";
23
+ import "./chunk-UAUULDRJ.mjs";
24
+ import "./chunk-NS2CAKI2.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.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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-7VZPGI2I.mjs";
7
+ } from "./chunk-KQJKP4ZX.mjs";
8
8
  import {
9
9
  ADDEND_RELOCATIONS,
10
10
  KEEP_WASM_NAMES,
@@ -36,26 +36,26 @@ import {
36
36
  wasmReader,
37
37
  wasmSections,
38
38
  writeWasmCustomSection
39
- } from "./chunk-VIY5ECIB.mjs";
40
- import "./chunk-JINAF5BQ.mjs";
41
- import "./chunk-YIULEE2Y.mjs";
42
- import "./chunk-V6C3D4V7.mjs";
43
- import "./chunk-DDOUXZMB.mjs";
39
+ } from "./chunk-Q3NYGCRJ.mjs";
40
+ import "./chunk-274XFKYK.mjs";
41
+ import "./chunk-JOPTMNV4.mjs";
42
+ import "./chunk-7UZMIGSE.mjs";
43
+ import "./chunk-WNEPIRBW.mjs";
44
44
  import {
45
45
  encodeWasmName,
46
46
  encodeWasmNumber,
47
47
  encodeWasmSigned
48
- } from "./chunk-MIEHIZHP.mjs";
48
+ } from "./chunk-QY3QPMZS.mjs";
49
49
  import {
50
50
  SWIFT_WASM_TRIPLE
51
- } from "./chunk-TXZVXFR2.mjs";
52
- import "./chunk-4H5MJ5C4.mjs";
53
- import "./chunk-5PUUG2QR.mjs";
54
- import "./chunk-5NVNMFGC.mjs";
55
- import "./chunk-D4IN4CGO.mjs";
56
- import "./chunk-VLFXKUWD.mjs";
57
- import "./chunk-5OLR2KSO.mjs";
58
- import "./chunk-M3KOSWPA.mjs";
51
+ } from "./chunk-NDAYZVPV.mjs";
52
+ import "./chunk-BKHPUGEZ.mjs";
53
+ import "./chunk-VGPN5RSM.mjs";
54
+ import "./chunk-5ME3MQQK.mjs";
55
+ import "./chunk-E4RESLG2.mjs";
56
+ import "./chunk-LDQNCHXS.mjs";
57
+ import "./chunk-UAUULDRJ.mjs";
58
+ import "./chunk-NS2CAKI2.mjs";
59
59
 
60
60
  // src/swift-sdk-app-module.ts
61
61
  import { execFile } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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-7VZPGI2I.mjs";
17
- import "./chunk-VIY5ECIB.mjs";
18
- import "./chunk-JINAF5BQ.mjs";
19
- import "./chunk-YIULEE2Y.mjs";
20
- import "./chunk-V6C3D4V7.mjs";
21
- import "./chunk-DDOUXZMB.mjs";
22
- import "./chunk-MIEHIZHP.mjs";
23
- import "./chunk-TXZVXFR2.mjs";
24
- import "./chunk-4H5MJ5C4.mjs";
25
- import "./chunk-5PUUG2QR.mjs";
26
- import "./chunk-5NVNMFGC.mjs";
27
- import "./chunk-D4IN4CGO.mjs";
28
- import "./chunk-VLFXKUWD.mjs";
29
- import "./chunk-5OLR2KSO.mjs";
30
- import "./chunk-M3KOSWPA.mjs";
16
+ } from "./chunk-KQJKP4ZX.mjs";
17
+ import "./chunk-Q3NYGCRJ.mjs";
18
+ import "./chunk-274XFKYK.mjs";
19
+ import "./chunk-JOPTMNV4.mjs";
20
+ import "./chunk-7UZMIGSE.mjs";
21
+ import "./chunk-WNEPIRBW.mjs";
22
+ import "./chunk-QY3QPMZS.mjs";
23
+ import "./chunk-NDAYZVPV.mjs";
24
+ import "./chunk-BKHPUGEZ.mjs";
25
+ import "./chunk-VGPN5RSM.mjs";
26
+ import "./chunk-5ME3MQQK.mjs";
27
+ import "./chunk-E4RESLG2.mjs";
28
+ import "./chunk-LDQNCHXS.mjs";
29
+ import "./chunk-UAUULDRJ.mjs";
30
+ import "./chunk-NS2CAKI2.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.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  withSwiftRootLock
4
- } from "./chunk-JINAF5BQ.mjs";
4
+ } from "./chunk-274XFKYK.mjs";
5
5
  import {
6
6
  swiftCacheDir,
7
7
  windowAdmission
8
- } from "./chunk-TXZVXFR2.mjs";
8
+ } from "./chunk-NDAYZVPV.mjs";
9
9
  import {
10
10
  isRecord
11
- } from "./chunk-5OLR2KSO.mjs";
12
- import "./chunk-M3KOSWPA.mjs";
11
+ } from "./chunk-UAUULDRJ.mjs";
12
+ import "./chunk-NS2CAKI2.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.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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;
@@ -19579,7 +19579,7 @@ var init_react_native_core_digest = __esm({
19579
19579
 
19580
19580
  // src/swift-compiler-digest.ts
19581
19581
  function swiftArchiveCompilerDigestValue() {
19582
- return true ? "e8ee54259aef0a6a4e89faafc8a3413c810341697abe828044a70a8b46db3c15" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19582
+ return true ? "55785eec94200dfda30d22e849c5f0b474eb704b467ed3db4d211ae938ad0081" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
19583
19583
  }
19584
19584
  var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
19585
19585
  var init_swift_compiler_digest = __esm({
@@ -19732,7 +19732,7 @@ var init_swift_standin_digest = __esm({
19732
19732
 
19733
19733
  // src/expo-native-compiler-digest.ts
19734
19734
  function expoNativeCompilerDigestValue() {
19735
- return true ? "4dc23720ffaa03d981b544bb7024c9d2dc67271f54484b348e256cad727bd94f" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19735
+ return true ? "961309423c70382ee300d27bf70fd784ea3bb4377edb357aa9cd6e703de37f4e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
19736
19736
  }
19737
19737
  var import_node_crypto18;
19738
19738
  var init_expo_native_compiler_digest = __esm({
@@ -43353,6 +43353,12 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
43353
43353
  const socketFile = import_node_path61.default.join(root, ".build", "peach-swift-header-socket");
43354
43354
  (0, import_node_fs63.mkdirSync)(checkpoints, { recursive: true });
43355
43355
  const swiftc = argument(import_node_path61.default.join(toolchainBin, "swiftc"));
43356
+ const producersByJobs = /* @__PURE__ */ new Map();
43357
+ for (const [name3, { jobs }] of producers) {
43358
+ const names = producersByJobs.get(jobs) ?? [];
43359
+ names.push(argument(`1:${name3}`));
43360
+ producersByJobs.set(jobs, names);
43361
+ }
43356
43362
  writeBuildFile(script, client);
43357
43363
  writeBuildFile(
43358
43364
  wrapper,
@@ -43365,8 +43371,10 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
43365
43371
  " previous=$flag",
43366
43372
  "done",
43367
43373
  'case "$compile:$module" in',
43368
- ` ${[...producers.keys()].map((name3) => argument(`1:${name3}`)).join("|")})`,
43369
- ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@" ;;`,
43374
+ ...[...producersByJobs].flatMap(([jobs, names]) => [
43375
+ ` ${names.join("|")})`,
43376
+ ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@"${jobs === void 0 ? "" : ` -j ${jobs}`} ;;`
43377
+ ]),
43370
43378
  "esac",
43371
43379
  `exec ${swiftc} "$@"`,
43372
43380
  ""
@@ -49846,6 +49854,8 @@ ${compatShape}` : "";
49846
49854
  const jobs = swiftCompilerJobs();
49847
49855
  const incrementalPreview = sdkImage !== void 0 && !guestGraph && !options2.project && !input.optimize && !input.unoptimized;
49848
49856
  const batchGuest = guestGraph !== void 0 && !options2.project && !input.unoptimized;
49857
+ const guestDriverJobs = Math.min(8, jobs);
49858
+ const singleProducerJobs = Math.min(16, Math.floor(jobs / 2));
49849
49859
  const batch = incrementalPreview || batchGuest;
49850
49860
  const perFile = input.unoptimized || batch;
49851
49861
  const reproducibleFrameworkRoot = mirrorDistribution ? frameworkRoot : compileFrameworkRoot;
@@ -49872,7 +49882,7 @@ ${compatShape}` : "";
49872
49882
  "-Xswiftc",
49873
49883
  "-j",
49874
49884
  "-Xswiftc",
49875
- String(batchGuest ? Math.min(8, jobs) : jobs)
49885
+ String(batchGuest ? guestDriverJobs : jobs)
49876
49886
  ] : [],
49877
49887
  // optimized batches can move specialized definitions between objects.
49878
49888
  ...incrementalPreview ? ["-Xswiftc", "-incremental"] : [],
@@ -50149,15 +50159,19 @@ ${compatShape}` : "";
50149
50159
  options2.toolchainBin,
50150
50160
  recipe2,
50151
50161
  new Map(
50152
- preparation.headerBuilds.flatMap((stage2) => stage2.producers).map((producer) => {
50153
- const paths = headerPaths(producer);
50154
- return [
50155
- swiftTargetModuleName(producer),
50156
- {
50157
- header: paths.original,
50158
- publish: () => publishHeader(paths)
50159
- }
50160
- ];
50162
+ preparation.headerBuilds.flatMap(({ producers }) => {
50163
+ const driverJobs = batchGuest && producers.length === 1 && singleProducerJobs > guestDriverJobs ? singleProducerJobs : void 0;
50164
+ return producers.map((producer) => {
50165
+ const paths = headerPaths(producer);
50166
+ return [
50167
+ swiftTargetModuleName(producer),
50168
+ {
50169
+ header: paths.original,
50170
+ publish: () => publishHeader(paths),
50171
+ jobs: driverJobs
50172
+ }
50173
+ ];
50174
+ });
50161
50175
  })
50162
50176
  ),
50163
50177
  runApp
@@ -50534,7 +50548,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
50534
50548
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
50535
50549
  MULTI_MANIFEST_VERSION = 76;
50536
50550
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
50537
- compilerSourceDigest = true ? "05ea8272883560029dae1c9aef2497d3f4d9e0d3418ef288c47c562673f5ba19" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50551
+ compilerSourceDigest = true ? "baac85ca6f30bfff118b7d4063d9361ee1667b3d7716774bc1ae52da63e27be0" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
50538
50552
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
50539
50553
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
50540
50554
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -105911,7 +105925,7 @@ var init_nitro_superset = __esm({
105911
105925
  init_nitroContract();
105912
105926
  init_swift_standin_digest();
105913
105927
  NITRO_SUPERSET_ENTRY_NAME = "superset";
105914
- NITRO_COMPILER_DIGEST = true ? "4a3a6b72ce59c3936e7aa74be126ecd9fae095591d2808e5f7a2cad75c921084" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105928
+ NITRO_COMPILER_DIGEST = true ? "792552c7293b0b18138700877b417617e7c7d5377e8dbb1b4830ccfc7fa12d93" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
105915
105929
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
105916
105930
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
105917
105931
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isSwiftResourcePath
4
- } from "./esm-chunks/chunk-4H5MJ5C4.mjs";
4
+ } from "./esm-chunks/chunk-BKHPUGEZ.mjs";
5
5
  import {
6
6
  isNativeAppIdentity
7
- } from "./esm-chunks/chunk-NUGYXZHV.mjs";
8
- import "./esm-chunks/chunk-5NVNMFGC.mjs";
7
+ } from "./esm-chunks/chunk-L65GBCCG.mjs";
8
+ import "./esm-chunks/chunk-5ME3MQQK.mjs";
9
9
  import {
10
10
  insertBundleGlobalFooter,
11
11
  readBundleGlobalFooter
12
- } from "./esm-chunks/chunk-GSKSRHW6.mjs";
12
+ } from "./esm-chunks/chunk-HKHHZRCQ.mjs";
13
13
  import {
14
14
  isRecord
15
- } from "./esm-chunks/chunk-5OLR2KSO.mjs";
16
- import "./esm-chunks/chunk-M3KOSWPA.mjs";
15
+ } from "./esm-chunks/chunk-UAUULDRJ.mjs";
16
+ import "./esm-chunks/chunk-NS2CAKI2.mjs";
17
17
 
18
18
  // src/expoSwiftContract.ts
19
19
  function strings(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2783 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2785 | (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;