peachsim 0.1.2530 → 0.1.2532

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 (134) hide show
  1. package/cli/outbound-endpoints.ts +1 -1
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/attached-projects.cjs +1 -1
  5. package/dist-lib/auth/shared-session.cjs +1 -1
  6. package/dist-lib/backend-origin.cjs +1 -1
  7. package/dist-lib/beta.cjs +1 -1
  8. package/dist-lib/beta.mjs +2 -2
  9. package/dist-lib/bridge-constants.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.mjs +5 -5
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +3 -3
  14. package/dist-lib/bundle-channel.cjs +33 -15
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +3 -3
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +3 -3
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +2 -2
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +7 -7
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +5 -5
  25. package/dist-lib/detox/index.cjs +2 -2
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/esm-chunks/{acorn-YVRVG3K7.mjs → acorn-TZ5PF3KN.mjs} +3 -3
  28. package/dist-lib/esm-chunks/{chunk-YOIJ4H4H.mjs → chunk-2MKQPSDN.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-Y2NPAJV3.mjs → chunk-2XASNK6T.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-XY5OJABO.mjs → chunk-42SSRZYU.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-VSH5P6JS.mjs → chunk-5MPQROQI.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-GUIH6C3J.mjs → chunk-5QYIUNH4.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-IYR5Q33V.mjs → chunk-6NED5Q2N.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-ZKAF7FRZ.mjs → chunk-AWTELPIZ.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-QQ3SVDCR.mjs → chunk-CLSNUKAZ.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-WM26AFHQ.mjs → chunk-G5BCU5ZO.mjs} +2 -2
  37. package/dist-lib/esm-chunks/{chunk-ZNYML6R7.mjs → chunk-ID63CARL.mjs} +4 -4
  38. package/dist-lib/esm-chunks/{chunk-2WH6I726.mjs → chunk-IOTWFHYU.mjs} +38 -18
  39. package/dist-lib/esm-chunks/{chunk-AFCI2JQL.mjs → chunk-J4BQEGDW.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-EQRX3NE2.mjs → chunk-JBDDB6NG.mjs} +3 -3
  41. package/dist-lib/esm-chunks/{chunk-YO6WUDWP.mjs → chunk-NCQGQ6PA.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-NBOGCAWQ.mjs → chunk-O6O4F2TV.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-6PHCBORD.mjs → chunk-Q3P3TYU7.mjs} +7 -6
  44. package/dist-lib/esm-chunks/{chunk-X3MXQKQ3.mjs → chunk-UHYLBEKZ.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-BACARNR4.mjs → chunk-XS6UNGOO.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-3V3QWLVG.mjs → chunk-YGCMYVJ5.mjs} +5 -5
  47. package/dist-lib/esm-chunks/{chunk-B5YOIP4V.mjs → chunk-ZHGKXGBN.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-FRV2MWLR.mjs → chunk-ZZ6DQAJY.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{metro-layout-parser-MZ26V7TP.mjs → metro-layout-parser-QE6OG7ST.mjs} +3 -3
  50. package/dist-lib/esm-chunks/{swift-package-prebuilt-SK54BG3Y.mjs → swift-package-prebuilt-GSQHH7HN.mjs} +10 -10
  51. package/dist-lib/esm-chunks/{swift-sdk-app-module-4EUT66BB.mjs → swift-sdk-app-module-Y6SPJUF6.mjs} +15 -15
  52. package/dist-lib/esm-chunks/{swift-sdk-image-2Y4Q3HYS.mjs → swift-sdk-image-RLJ2JW6P.mjs} +13 -13
  53. package/dist-lib/esm-chunks/{swift-sdk-image-producer-KQC2JCMQ.mjs → swift-sdk-image-producer-YOUR3PUP.mjs} +4 -4
  54. package/dist-lib/expo-swift-bundle.cjs +31 -13
  55. package/dist-lib/expo-swift-metadata.cjs +1 -1
  56. package/dist-lib/expo-swift-metadata.mjs +7 -7
  57. package/dist-lib/home-paths.cjs +1 -1
  58. package/dist-lib/host/bridge-host.cjs +33 -15
  59. package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
  60. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  61. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  62. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  63. package/dist-lib/host/websocket-proxy.cjs +1 -1
  64. package/dist-lib/index.cjs +1 -1
  65. package/dist-lib/kotlin-host.cjs +1 -1
  66. package/dist-lib/menu.cjs +1 -1
  67. package/dist-lib/menu.mjs +3 -3
  68. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  69. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  70. package/dist-lib/metro-production-bundle.cjs +1 -1
  71. package/dist-lib/metro-production-bundle.mjs +4 -4
  72. package/dist-lib/native-app-identity-project.cjs +2 -2
  73. package/dist-lib/native-app-identity-project.mjs +15 -15
  74. package/dist-lib/native-app-identity.cjs +1 -1
  75. package/dist-lib/native-app-identity.mjs +6 -6
  76. package/dist-lib/native-firebase-metadata.cjs +1 -1
  77. package/dist-lib/native-firebase-metadata.mjs +3 -3
  78. package/dist-lib/pdfium-raster.cjs +1 -1
  79. package/dist-lib/pdfium-raster.mjs +2 -2
  80. package/dist-lib/plist.cjs +1 -1
  81. package/dist-lib/plist.mjs +3 -3
  82. package/dist-lib/profiles.cjs +1 -1
  83. package/dist-lib/public-brand.cjs +1 -1
  84. package/dist-lib/public-origins-lib-esm.json +79 -79
  85. package/dist-lib/public-origins-lib.json +69 -69
  86. package/dist-lib/react-native-host-modules.cjs +1 -1
  87. package/dist-lib/react-native-host-modules.mjs +2 -2
  88. package/dist-lib/reap-browser.cjs +1 -1
  89. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  90. package/dist-lib/sdk.cjs +1 -1
  91. package/dist-lib/sdk.mjs +7 -7
  92. package/dist-lib/skills.cjs +33 -15
  93. package/dist-lib/swift-compile.cjs +29 -11
  94. package/dist-lib/swift-compile.mjs +10 -10
  95. package/dist-lib/swift-package.cjs +1 -1
  96. package/dist-lib/swift-package.mjs +3 -3
  97. package/dist-lib/swift-submit.cjs +1 -1
  98. package/dist-lib/swift-submit.mjs +5 -5
  99. package/dist-lib/swift-svg-raster.cjs +1 -1
  100. package/dist-lib/swift-svg-raster.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +1 -1
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  104. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  105. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  106. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  107. package/dist-lib/vendor/acorn.cjs +1 -1
  108. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  109. package/dist-lib/vendor/ignore.cjs +1 -1
  110. package/dist-lib/vendor/magic-string.cjs +1 -1
  111. package/dist-lib/vendor/plist.cjs +1 -1
  112. package/dist-lib/vendor/smol-toml.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/dist-types/packages/peach-engine/src/remote-stream/scene-recording.d.ts +62 -0
  126. package/dist-types/packages/peach-engine/src/render-worker/shellScrollContract.d.ts +1 -1
  127. package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +1 -1
  128. package/kotlin/sdk.tar.gz +0 -0
  129. package/package.json +1 -1
  130. package/runtime-companion.json +1 -1
  131. package/src/swift-header-compiler.ts +9 -4
  132. package/src/swift-sdk-app-module.ts +2 -5
  133. package/src/swift-sdk-image.ts +2 -4
  134. package/src/swift-wasm-prune.ts +17 -1
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_AUTOLINK_LINKER,
4
4
  SWIFT_CACHE_HOLD_MARKER,
@@ -18,7 +18,7 @@ import {
18
18
  windowAdmission,
19
19
  withSwiftRootLock,
20
20
  writeSwiftAutolinkLinker
21
- } from "./chunk-NBOGCAWQ.mjs";
21
+ } from "./chunk-O6O4F2TV.mjs";
22
22
  import {
23
23
  SWIFT_BINARY_TREES_DIR,
24
24
  SWIFT_NATIVE_INPUT_ROOT,
@@ -33,7 +33,7 @@ import {
33
33
  isSwiftResourcePath,
34
34
  isSwiftSourceLinkGraph,
35
35
  swiftProjectFilesProblems
36
- } from "./chunk-X3MXQKQ3.mjs";
36
+ } from "./chunk-UHYLBEKZ.mjs";
37
37
  import {
38
38
  OBJC_RESOURCE_ACCESSOR_BODY,
39
39
  OBJC_RESOURCE_ACCESSOR_HEADER,
@@ -57,16 +57,16 @@ import {
57
57
  swiftPackagePartition,
58
58
  swiftTargetModuleName,
59
59
  withoutGlogModuleMap
60
- } from "./chunk-IYR5Q33V.mjs";
60
+ } from "./chunk-6NED5Q2N.mjs";
61
61
  import {
62
62
  rnxPublicBrand
63
- } from "./chunk-ZKAF7FRZ.mjs";
63
+ } from "./chunk-AWTELPIZ.mjs";
64
64
  import {
65
65
  isRecord
66
- } from "./chunk-GUIH6C3J.mjs";
66
+ } from "./chunk-5QYIUNH4.mjs";
67
67
  import {
68
68
  __publicField
69
- } from "./chunk-AFCI2JQL.mjs";
69
+ } from "./chunk-J4BQEGDW.mjs";
70
70
 
71
71
  // src/swift-compile.ts
72
72
  import {
@@ -7098,6 +7098,21 @@ function keepsSwiftUIReflection(file, undefinedSymbols) {
7098
7098
  return false;
7099
7099
  }
7100
7100
  var SWIFT_PRUNED_LINK_MAP = ".peach-link.map";
7101
+ var SWIFT_PRUNED_LINK_RESPONSE = ".peach-link.pruned.rsp";
7102
+ function readSwiftPrunedLinkResponse(directory) {
7103
+ const file = path14.join(directory, SWIFT_PRUNED_LINK_RESPONSE);
7104
+ const text2 = fs5.readFileSync(file, "utf8").trim();
7105
+ const argument2 = /("(?:[^"\\]|\\.)*")(?:\s+|$)/gy;
7106
+ const args = [];
7107
+ while (argument2.lastIndex < text2.length) {
7108
+ const offset = argument2.lastIndex;
7109
+ const match = argument2.exec(text2);
7110
+ if (!match) throw new Error(`invalid Swift link argument at ${file}:${offset}`);
7111
+ const token = JSON.parse(match[1]);
7112
+ args.push(token);
7113
+ }
7114
+ return args;
7115
+ }
7101
7116
  function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTargets = [], owner, link, resourceReferences = []) {
7102
7117
  const rspPath = path14.join(directory, ".peach-link.rsp");
7103
7118
  if (!fs5.existsSync(rspPath)) return;
@@ -8217,7 +8232,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
8217
8232
  outTokens.push("--start-lib", ...leftoverArchiveFiles, "--end-lib");
8218
8233
  leftoverArchiveFiles.length = 0;
8219
8234
  }
8220
- const prunedRspPath = path14.join(directory, ".peach-link.pruned.rsp");
8235
+ const prunedRspPath = path14.join(directory, SWIFT_PRUNED_LINK_RESPONSE);
8221
8236
  fs5.writeFileSync(prunedRspPath, outTokens.map((t) => JSON.stringify(t)).join(" "));
8222
8237
  if (link) {
8223
8238
  const sdk = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
@@ -13439,7 +13454,7 @@ async function compileGuestLink(options) {
13439
13454
  };
13440
13455
  const sdk = options.sdkImage;
13441
13456
  const sdkCallers = sdk?.sdkInterface.guestCallers;
13442
- const sdkObjects = sdk ? (await import("./swift-sdk-image-2Y4Q3HYS.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
13457
+ const sdkObjects = sdk ? (await import("./swift-sdk-image-RLJ2JW6P.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
13443
13458
  if (sdk && (!sdkCallers || !sdkObjects))
13444
13459
  throw new Error("the SDK image has no guest link manifest");
13445
13460
  const result = linkPrunedGuestImages({
@@ -13726,7 +13741,7 @@ async function compileGuestLink(options) {
13726
13741
  finishSwiftAppModule,
13727
13742
  linkSwiftAppModule,
13728
13743
  readSwiftSdkUsage
13729
- } = await import("./swift-sdk-app-module-4EUT66BB.mjs");
13744
+ } = await import("./swift-sdk-app-module-Y6SPJUF6.mjs");
13730
13745
  const project = options.project;
13731
13746
  const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
13732
13747
  if (project) chownSync(work, project.uid, project.gid);
@@ -13878,8 +13893,9 @@ var SWIFT_HEADER_COMPILER_WRAPPER = ".build/peach-swiftc";
13878
13893
  var argument = (value) => `'${value.replaceAll("'", `'"'"'`)}'`;
13879
13894
  var client = `const { request } = require('node:http')
13880
13895
  const { spawnSync } = require('node:child_process')
13881
- const { existsSync } = require('node:fs')
13882
- const [socketPath, moduleName, swiftc, receipt, ...args] = process.argv.slice(2)
13896
+ const { existsSync, readFileSync } = require('node:fs')
13897
+ const [socketFile, moduleName, swiftc, receipt, ...args] = process.argv.slice(2)
13898
+ const socketPath = readFileSync(socketFile, 'utf8')
13883
13899
  const body = JSON.stringify(args)
13884
13900
  const notify = (method) => new Promise((resolve, reject) => {
13885
13901
  const req = request({ socketPath, path: '/' + moduleName, method, agent: false }, response => {
@@ -13945,6 +13961,7 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
13945
13961
  const wrapper = path25.join(root, SWIFT_HEADER_COMPILER_WRAPPER);
13946
13962
  const script = path25.join(root, ".build", "peach-swift-header.cjs");
13947
13963
  const checkpoints = path25.join(root, ".build", "peach-swift-header-checkpoints");
13964
+ const socketFile = path25.join(root, ".build", "peach-swift-header-socket");
13948
13965
  mkdirSync7(checkpoints, { recursive: true });
13949
13966
  const swiftc = argument(path25.join(toolchainBin, "swiftc"));
13950
13967
  writeBuildFile(script, client);
@@ -13960,7 +13977,7 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
13960
13977
  "done",
13961
13978
  'case "$compile:$module" in',
13962
13979
  ` ${[...producers.keys()].map((name) => argument(`1:${name}`)).join("|")})`,
13963
- ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} "$PEACH_SWIFT_HEADER_SOCKET" "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@" ;;`,
13980
+ ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@" ;;`,
13964
13981
  "esac",
13965
13982
  `exec ${swiftc} "$@"`,
13966
13983
  ""
@@ -14010,10 +14027,12 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe, producers, bu
14010
14027
  server.once("error", reject);
14011
14028
  server.listen(socket, resolve);
14012
14029
  });
14013
- return await build({ SWIFT_EXEC: wrapper, PEACH_SWIFT_HEADER_SOCKET: socket });
14030
+ writeFileSync7(socketFile, socket);
14031
+ return await build({ SWIFT_EXEC: wrapper });
14014
14032
  } finally {
14015
14033
  server.close();
14016
14034
  server.closeAllConnections();
14035
+ rmSync6(socketFile, { force: true });
14017
14036
  rmSync6(directory, { recursive: true, force: true });
14018
14037
  }
14019
14038
  }
@@ -16228,7 +16247,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
16228
16247
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16229
16248
  var MULTI_MANIFEST_VERSION = 76;
16230
16249
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16231
- var compilerSourceDigest = true ? "cdb8b5a3440eb621ef684a88334ad7872f04e217d23812023c106b9aac871855" : swiftCompilerSourceDigest(import.meta.dirname);
16250
+ var compilerSourceDigest = true ? "b7aa9066a364228922879c080f57036fb8de90c0ca5b7ad84255f5466b91cfc5" : swiftCompilerSourceDigest(import.meta.dirname);
16232
16251
  function swiftArtifactHash(input, release, moduleRoot) {
16233
16252
  return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
16234
16253
  }
@@ -20787,7 +20806,7 @@ async function compileSwiftProjectOnce(sources, options) {
20787
20806
  const distribution = swiftDistributionAt(moduleRoot);
20788
20807
  const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
20789
20808
  if (distribution) refreshSwiftCacheHold(moduleRoot);
20790
- const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-SK54BG3Y.mjs")).useSwiftPackagePrebuilts(
20809
+ const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-GSQHH7HN.mjs")).useSwiftPackagePrebuilts(
20791
20810
  sources,
20792
20811
  moduleRoot,
20793
20812
  options.toolchainBin
@@ -20801,7 +20820,7 @@ async function compileSwiftProjectOnce(sources, options) {
20801
20820
  multi: compileTargets(input).length > 0
20802
20821
  };
20803
20822
  const sdkModule = options.sdkModule && !options.linkOnly;
20804
- const sdkImage = sdkModule ? await (await import("./swift-sdk-image-2Y4Q3HYS.mjs")).buildSwiftSdkImage(
20823
+ const sdkImage = sdkModule ? await (await import("./swift-sdk-image-RLJ2JW6P.mjs")).buildSwiftSdkImage(
20805
20824
  moduleRoot,
20806
20825
  !!guestGraph,
20807
20826
  distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
@@ -21426,7 +21445,7 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
21426
21445
  if (sdkImage && binding)
21427
21446
  sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
21428
21447
  } else if (sdkImage) {
21429
- const { buildSwiftAppModule } = await import("./swift-sdk-app-module-4EUT66BB.mjs");
21448
+ const { buildSwiftAppModule } = await import("./swift-sdk-app-module-Y6SPJUF6.mjs");
21430
21449
  const binding = await buildSwiftAppModule({
21431
21450
  buildRoot: root,
21432
21451
  toolchainBin: options.toolchainBin,
@@ -21505,6 +21524,7 @@ export {
21505
21524
  moduleFamily,
21506
21525
  objcCategoryNeedsFamily,
21507
21526
  SWIFT_PRUNED_LINK_MAP,
21527
+ readSwiftPrunedLinkResponse,
21508
21528
  NATIVE_LAZY_IMPORT_MODULE,
21509
21529
  NATIVE_SDK_IMPORT_MODULE,
21510
21530
  NATIVE_SDK_THUNK_SECTION,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,10 +1,10 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SIM_LONG_PRESS_MAX_MS
4
- } from "./chunk-Y2NPAJV3.mjs";
4
+ } from "./chunk-2XASNK6T.mjs";
5
5
  import {
6
6
  isRecord
7
- } from "./chunk-GUIH6C3J.mjs";
7
+ } from "./chunk-5QYIUNH4.mjs";
8
8
 
9
9
  // ../peach-globals/src/globalsContract.ts
10
10
  var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftTargetContract.ts
4
4
  var SWIFT_WASM_TRIPLE = "wasm64-unknown-wasip1-threads";
@@ -1,7 +1,7 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  swiftModuleToolchain
4
- } from "./chunk-3V3QWLVG.mjs";
4
+ } from "./chunk-YGCMYVJ5.mjs";
5
5
  import {
6
6
  DARWIN_RECORDS_PREFIX,
7
7
  KEEP_WASM_NAMES,
@@ -20,6 +20,7 @@ import {
20
20
  orderObjCConstructors,
21
21
  passiveSegments,
22
22
  readArMembers,
23
+ readSwiftPrunedLinkResponse,
23
24
  readWasmLinkMap,
24
25
  relocationEdges,
25
26
  strongDefinitions,
@@ -30,13 +31,13 @@ import {
30
31
  swiftSdkPaths,
31
32
  unslottedFunctions,
32
33
  wasmSections
33
- } from "./chunk-2WH6I726.mjs";
34
+ } from "./chunk-IOTWFHYU.mjs";
34
35
  import {
35
36
  SWIFT_WASM_TRIPLE,
36
37
  sourceSwiftCheckout,
37
38
  swiftCacheDir,
38
39
  withSwiftRootLock
39
- } from "./chunk-NBOGCAWQ.mjs";
40
+ } from "./chunk-O6O4F2TV.mjs";
40
41
 
41
42
  // src/swift-sdk-image.ts
42
43
  import { execFile } from "node:child_process";
@@ -191,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
191
192
  const existing = cached(directory, key);
192
193
  if (existing) return existing;
193
194
  if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
194
- const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-KQC2JCMQ.mjs");
195
+ const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-YOUR3PUP.mjs");
195
196
  await produceSwiftSdkImage({
196
197
  moduleRoot,
197
198
  key,
@@ -498,7 +499,7 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
498
499
  }
499
500
  function sdkLinkInputs(appRoot) {
500
501
  const unquote = (token) => token.replace(/^"|"$/g, "").replace(/\\(.)/g, "$1");
501
- const tokens = readFileSync(path.join(appRoot, ".peach-link.pruned.rsp"), "utf8").trim().split(/\s+(?=(?:[^"]*"[^"]*")*[^"]*$)/).map(unquote);
502
+ const tokens = readSwiftPrunedLinkResponse(appRoot);
502
503
  const list = readdirSync(appRoot).find(
503
504
  (name) => name.startsWith(".peach-distribution-objects-") || name === ".peach-framework-objects.rsp"
504
505
  );
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swiftContract.ts
4
4
  function isSwiftSourceLinkGraph(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var AGENT_IDENTITY_MAX_CHARS = 200;
@@ -1,24 +1,24 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  LAUNCH_METADATA_KEYS,
4
4
  LAUNCH_METADATA_KEYS_PATH
5
- } from "./chunk-YOIJ4H4H.mjs";
5
+ } from "./chunk-2MKQPSDN.mjs";
6
6
  import {
7
7
  parseSwiftDistributionLock,
8
8
  readActiveRuntime,
9
9
  runtimeDir,
10
10
  swiftDistributionAt,
11
11
  swiftModuleSdk
12
- } from "./chunk-2WH6I726.mjs";
12
+ } from "./chunk-IOTWFHYU.mjs";
13
13
  import {
14
14
  SWIFT_WASM_TRIPLE,
15
15
  registerSwiftHostCompiler,
16
16
  swiftCompiler,
17
17
  swiftToolchain
18
- } from "./chunk-NBOGCAWQ.mjs";
18
+ } from "./chunk-O6O4F2TV.mjs";
19
19
  import {
20
20
  isRecord
21
- } from "./chunk-GUIH6C3J.mjs";
21
+ } from "./chunk-5QYIUNH4.mjs";
22
22
 
23
23
  // src/swift-distribution.ts
24
24
  import fs2 from "node:fs";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/sleep.ts
4
4
  function sleep(ms) {
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./chunk-AFCI2JQL.mjs";
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./chunk-J4BQEGDW.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-YVRVG3K7.mjs");
11
+ const { Parser } = await import("./acorn-TZ5PF3KN.mjs");
12
12
  metroLayoutParser = Parser.extend(
13
13
  (Base) => {
14
14
  const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  compileTargets,
4
4
  fetchNativeEntry,
@@ -6,19 +6,19 @@ import {
6
6
  swiftAvailableModules,
7
7
  swiftDistributionAt,
8
8
  swiftImportNames
9
- } from "./chunk-2WH6I726.mjs";
10
- import "./chunk-NBOGCAWQ.mjs";
9
+ } from "./chunk-IOTWFHYU.mjs";
10
+ import "./chunk-O6O4F2TV.mjs";
11
11
  import {
12
12
  SWIFT_REMOTE_PACKAGES_DIR
13
- } from "./chunk-X3MXQKQ3.mjs";
13
+ } from "./chunk-UHYLBEKZ.mjs";
14
14
  import {
15
15
  manifestCalls
16
- } from "./chunk-IYR5Q33V.mjs";
17
- import "./chunk-QQ3SVDCR.mjs";
18
- import "./chunk-ZKAF7FRZ.mjs";
19
- import "./chunk-XY5OJABO.mjs";
20
- import "./chunk-GUIH6C3J.mjs";
21
- import "./chunk-AFCI2JQL.mjs";
16
+ } from "./chunk-6NED5Q2N.mjs";
17
+ import "./chunk-CLSNUKAZ.mjs";
18
+ import "./chunk-AWTELPIZ.mjs";
19
+ import "./chunk-42SSRZYU.mjs";
20
+ import "./chunk-5QYIUNH4.mjs";
21
+ import "./chunk-J4BQEGDW.mjs";
22
22
 
23
23
  // src/swift-package-prebuilt.ts
24
24
  import { createHash } from "node:crypto";
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_APP_TABLE_BASE,
5
5
  SWIFT_SDK_MEMORY_BASE,
6
6
  SWIFT_SDK_PIECE_FIELDS,
7
7
  readSwiftSdkManifest
8
- } from "./chunk-6PHCBORD.mjs";
9
- import "./chunk-3V3QWLVG.mjs";
10
- import "./chunk-YOIJ4H4H.mjs";
8
+ } from "./chunk-Q3P3TYU7.mjs";
9
+ import "./chunk-YGCMYVJ5.mjs";
10
+ import "./chunk-2MKQPSDN.mjs";
11
11
  import {
12
12
  ADDEND_RELOCATIONS,
13
13
  KEEP_WASM_NAMES,
@@ -30,21 +30,22 @@ import {
30
30
  placeGuestLazyFunctions,
31
31
  projectOutputFile,
32
32
  readArMembers,
33
+ readSwiftPrunedLinkResponse,
33
34
  readWasmLinkMap,
34
35
  wasmReader,
35
36
  wasmSections,
36
37
  writeWasmCustomSection
37
- } from "./chunk-2WH6I726.mjs";
38
+ } from "./chunk-IOTWFHYU.mjs";
38
39
  import {
39
40
  SWIFT_WASM_TRIPLE
40
- } from "./chunk-NBOGCAWQ.mjs";
41
- import "./chunk-X3MXQKQ3.mjs";
42
- import "./chunk-IYR5Q33V.mjs";
43
- import "./chunk-QQ3SVDCR.mjs";
44
- import "./chunk-ZKAF7FRZ.mjs";
45
- import "./chunk-XY5OJABO.mjs";
46
- import "./chunk-GUIH6C3J.mjs";
47
- import "./chunk-AFCI2JQL.mjs";
41
+ } from "./chunk-O6O4F2TV.mjs";
42
+ import "./chunk-UHYLBEKZ.mjs";
43
+ import "./chunk-6NED5Q2N.mjs";
44
+ import "./chunk-CLSNUKAZ.mjs";
45
+ import "./chunk-AWTELPIZ.mjs";
46
+ import "./chunk-42SSRZYU.mjs";
47
+ import "./chunk-5QYIUNH4.mjs";
48
+ import "./chunk-J4BQEGDW.mjs";
48
49
 
49
50
  // src/swift-sdk-app-module.ts
50
51
  import { execFile } from "node:child_process";
@@ -98,11 +99,10 @@ function encodeNativeSdkFixups(triples) {
98
99
  var run = promisify(execFile);
99
100
  async function buildSwiftAppModule(options) {
100
101
  const { buildRoot, toolchainBin, sdk, project } = options;
101
- const rsp = path.join(buildRoot, ".peach-link.pruned.rsp");
102
102
  const work = project ? mkdtempSync(path.join(buildRoot, ".peach-sdk-module-")) : path.join(buildRoot, ".peach-sdk-module");
103
103
  if (project) chownSync(work, project.uid, project.gid);
104
104
  else mkdirSync(work, { recursive: true });
105
- const tokens = readFileSync(rsp, "utf8").trim().split(/\s+(?=(?:[^"]*"[^"]*")*[^"]*$)/).map((token) => token.replace(/^"|"$/g, "").replace(/\\(.)/g, "$1"));
105
+ const tokens = readSwiftPrunedLinkResponse(buildRoot);
106
106
  const outputAt = tokens.indexOf("-o");
107
107
  const pruned = project?.linked ?? (outputAt < 0 ? void 0 : tokens[outputAt + 1]);
108
108
  if (!pruned) throw new Error("the pruned link names no output");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  SWIFT_SDK_APP_MEMORY_BASE,
4
4
  SWIFT_SDK_APP_TABLE_BASE,
@@ -15,18 +15,18 @@ import {
15
15
  swiftSdkImageFile,
16
16
  swiftSdkImageKey,
17
17
  swiftSdkImageProducts
18
- } from "./chunk-6PHCBORD.mjs";
19
- import "./chunk-3V3QWLVG.mjs";
20
- import "./chunk-YOIJ4H4H.mjs";
21
- import "./chunk-2WH6I726.mjs";
22
- import "./chunk-NBOGCAWQ.mjs";
23
- import "./chunk-X3MXQKQ3.mjs";
24
- import "./chunk-IYR5Q33V.mjs";
25
- import "./chunk-QQ3SVDCR.mjs";
26
- import "./chunk-ZKAF7FRZ.mjs";
27
- import "./chunk-XY5OJABO.mjs";
28
- import "./chunk-GUIH6C3J.mjs";
29
- import "./chunk-AFCI2JQL.mjs";
18
+ } from "./chunk-Q3P3TYU7.mjs";
19
+ import "./chunk-YGCMYVJ5.mjs";
20
+ import "./chunk-2MKQPSDN.mjs";
21
+ import "./chunk-IOTWFHYU.mjs";
22
+ import "./chunk-O6O4F2TV.mjs";
23
+ import "./chunk-UHYLBEKZ.mjs";
24
+ import "./chunk-6NED5Q2N.mjs";
25
+ import "./chunk-CLSNUKAZ.mjs";
26
+ import "./chunk-AWTELPIZ.mjs";
27
+ import "./chunk-42SSRZYU.mjs";
28
+ import "./chunk-5QYIUNH4.mjs";
29
+ import "./chunk-J4BQEGDW.mjs";
30
30
  export {
31
31
  SWIFT_SDK_APP_MEMORY_BASE,
32
32
  SWIFT_SDK_APP_TABLE_BASE,
@@ -1,13 +1,13 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  swiftCacheDir,
4
4
  windowAdmission,
5
5
  withSwiftRootLock
6
- } from "./chunk-NBOGCAWQ.mjs";
6
+ } from "./chunk-O6O4F2TV.mjs";
7
7
  import {
8
8
  isRecord
9
- } from "./chunk-GUIH6C3J.mjs";
10
- import "./chunk-AFCI2JQL.mjs";
9
+ } from "./chunk-5QYIUNH4.mjs";
10
+ import "./chunk-J4BQEGDW.mjs";
11
11
 
12
12
  // src/swift-sdk-image-producer.ts
13
13
  import { execFile, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (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;
@@ -26242,13 +26242,13 @@ var init_swift_standin_digest = __esm({
26242
26242
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
26243
26243
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
26244
26244
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
26245
- STANDIN_SOURCE_DIGEST = true ? "3883edfb29d2c6c02053cf80f32a9f325a44c203f3c988419ca5920a3dcbca8e" : standinSourceDigest();
26245
+ STANDIN_SOURCE_DIGEST = true ? "be20560a468d2ee5d36d79fbde6a1907b8d97f72cba8352d139716d1624eea6b" : standinSourceDigest();
26246
26246
  }
26247
26247
  });
26248
26248
 
26249
26249
  // src/expo-native-compiler-digest.ts
26250
26250
  function expoNativeCompilerDigestValue() {
26251
- return true ? "b22fea800cc7cd0234dc86833d4d3fb630afaf2ed9d8b426cb7b1f33097a1a92" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
26251
+ return true ? "6ae403511f84eba5c83f122d113a783f85d9a84f0d9244f0417c74ac2653b21d" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
26252
26252
  }
26253
26253
  var import_node_crypto17;
26254
26254
  var init_expo_native_compiler_digest = __esm({
@@ -33411,6 +33411,20 @@ function keepsSwiftUIReflection(file, undefinedSymbols) {
33411
33411
  }
33412
33412
  return false;
33413
33413
  }
33414
+ function readSwiftPrunedLinkResponse(directory2) {
33415
+ const file = import_node_path43.default.join(directory2, SWIFT_PRUNED_LINK_RESPONSE);
33416
+ const text7 = import_node_fs44.default.readFileSync(file, "utf8").trim();
33417
+ const argument2 = /("(?:[^"\\]|\\.)*")(?:\s+|$)/gy;
33418
+ const args = [];
33419
+ while (argument2.lastIndex < text7.length) {
33420
+ const offset = argument2.lastIndex;
33421
+ const match = argument2.exec(text7);
33422
+ if (!match) throw new Error(`invalid Swift link argument at ${file}:${offset}`);
33423
+ const token = JSON.parse(match[1]);
33424
+ args.push(token);
33425
+ }
33426
+ return args;
33427
+ }
33414
33428
  function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTargets = [], owner, link, resourceReferences = []) {
33415
33429
  const rspPath = import_node_path43.default.join(directory2, ".peach-link.rsp");
33416
33430
  if (!import_node_fs44.default.existsSync(rspPath)) return;
@@ -34530,7 +34544,7 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
34530
34544
  outTokens.push("--start-lib", ...leftoverArchiveFiles, "--end-lib");
34531
34545
  leftoverArchiveFiles.length = 0;
34532
34546
  }
34533
- const prunedRspPath = import_node_path43.default.join(directory2, ".peach-link.pruned.rsp");
34547
+ const prunedRspPath = import_node_path43.default.join(directory2, SWIFT_PRUNED_LINK_RESPONSE);
34534
34548
  import_node_fs44.default.writeFileSync(prunedRspPath, outTokens.map((t) => JSON.stringify(t)).join(" "));
34535
34549
  if (link) {
34536
34550
  const sdk2 = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
@@ -34547,7 +34561,7 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
34547
34561
  );
34548
34562
  import_node_fs44.default.rmSync(rspPath, { force: true });
34549
34563
  }
34550
- var import_node_child_process22, import_node_crypto24, import_node_fs44, import_node_path43, v3, WIDE_DATA_RELOCS, ROOT_SEG_PREFIXES, RECORD_SEGS, PARTITIONED_SEGS, PRUNED_SDK_ARCHIVES, OMIT_SDK_LIB_FLAGS, NEUTRALIZED_SWIFTRT_SECTIONS, relocationBytes, parsedObjectCache, PARSED_ROOTS, SWIFTUI_WRAPPER_HOST_PROTOCOLS, SWIFT_PRUNED_LINK_MAP;
34564
+ var import_node_child_process22, import_node_crypto24, import_node_fs44, import_node_path43, v3, WIDE_DATA_RELOCS, ROOT_SEG_PREFIXES, RECORD_SEGS, PARTITIONED_SEGS, PRUNED_SDK_ARCHIVES, OMIT_SDK_LIB_FLAGS, NEUTRALIZED_SWIFTRT_SECTIONS, relocationBytes, parsedObjectCache, PARSED_ROOTS, SWIFTUI_WRAPPER_HOST_PROTOCOLS, SWIFT_PRUNED_LINK_MAP, SWIFT_PRUNED_LINK_RESPONSE;
34551
34565
  var init_swift_wasm_prune = __esm({
34552
34566
  "src/swift-wasm-prune.ts"() {
34553
34567
  "use strict";
@@ -34643,6 +34657,7 @@ var init_swift_wasm_prune = __esm({
34643
34657
  ].map((name3) => `$s7SwiftUI${name3.length}${name3}Mp`)
34644
34658
  );
34645
34659
  SWIFT_PRUNED_LINK_MAP = ".peach-link.map";
34660
+ SWIFT_PRUNED_LINK_RESPONSE = ".peach-link.pruned.rsp";
34646
34661
  }
34647
34662
  });
34648
34663
 
@@ -42568,7 +42583,7 @@ async function linkSwiftSdkImage(moduleRoot, key2, directory2, work, scopedLooku
42568
42583
  }
42569
42584
  function sdkLinkInputs(appRoot) {
42570
42585
  const unquote = (token) => token.replace(/^"|"$/g, "").replace(/\\(.)/g, "$1");
42571
- const tokens2 = (0, import_node_fs58.readFileSync)(import_node_path56.default.join(appRoot, ".peach-link.pruned.rsp"), "utf8").trim().split(/\s+(?=(?:[^"]*"[^"]*")*[^"]*$)/).map(unquote);
42586
+ const tokens2 = readSwiftPrunedLinkResponse(appRoot);
42572
42587
  const list2 = (0, import_node_fs58.readdirSync)(appRoot).find(
42573
42588
  (name3) => name3.startsWith(".peach-distribution-objects-") || name3 === ".peach-framework-objects.rsp"
42574
42589
  );
@@ -42975,11 +42990,10 @@ __export(swift_sdk_app_module_exports, {
42975
42990
  });
42976
42991
  async function buildSwiftAppModule(options2) {
42977
42992
  const { buildRoot, toolchainBin, sdk: sdk2, project } = options2;
42978
- const rsp = import_node_path57.default.join(buildRoot, ".peach-link.pruned.rsp");
42979
42993
  const work = project ? (0, import_node_fs59.mkdtempSync)(import_node_path57.default.join(buildRoot, ".peach-sdk-module-")) : import_node_path57.default.join(buildRoot, ".peach-sdk-module");
42980
42994
  if (project) (0, import_node_fs59.chownSync)(work, project.uid, project.gid);
42981
42995
  else (0, import_node_fs59.mkdirSync)(work, { recursive: true });
42982
- const tokens2 = (0, import_node_fs59.readFileSync)(rsp, "utf8").trim().split(/\s+(?=(?:[^"]*"[^"]*")*[^"]*$)/).map((token) => token.replace(/^"|"$/g, "").replace(/\\(.)/g, "$1"));
42996
+ const tokens2 = readSwiftPrunedLinkResponse(buildRoot);
42983
42997
  const outputAt = tokens2.indexOf("-o");
42984
42998
  const pruned = project?.linked ?? (outputAt < 0 ? void 0 : tokens2[outputAt + 1]);
42985
42999
  if (!pruned) throw new Error("the pruned link names no output");
@@ -44943,6 +44957,7 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
44943
44957
  const wrapper = import_node_path59.default.join(root, SWIFT_HEADER_COMPILER_WRAPPER);
44944
44958
  const script = import_node_path59.default.join(root, ".build", "peach-swift-header.cjs");
44945
44959
  const checkpoints = import_node_path59.default.join(root, ".build", "peach-swift-header-checkpoints");
44960
+ const socketFile = import_node_path59.default.join(root, ".build", "peach-swift-header-socket");
44946
44961
  (0, import_node_fs61.mkdirSync)(checkpoints, { recursive: true });
44947
44962
  const swiftc = argument(import_node_path59.default.join(toolchainBin, "swiftc"));
44948
44963
  writeBuildFile(script, client);
@@ -44958,7 +44973,7 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
44958
44973
  "done",
44959
44974
  'case "$compile:$module" in',
44960
44975
  ` ${[...producers.keys()].map((name3) => argument(`1:${name3}`)).join("|")})`,
44961
- ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} "$PEACH_SWIFT_HEADER_SOCKET" "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@" ;;`,
44976
+ ` ${PEACH_FORKED_SCRIPT_ENV}=1 exec ${argument(process.execPath)} ${argument(script)} ${argument(socketFile)} "$module" ${swiftc} ${argument(checkpoints)}/"$module" "$@" ;;`,
44962
44977
  "esac",
44963
44978
  `exec ${swiftc} "$@"`,
44964
44979
  ""
@@ -45008,10 +45023,12 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
45008
45023
  server.once("error", reject);
45009
45024
  server.listen(socket, resolve3);
45010
45025
  });
45011
- return await build2({ SWIFT_EXEC: wrapper, PEACH_SWIFT_HEADER_SOCKET: socket });
45026
+ (0, import_node_fs61.writeFileSync)(socketFile, socket);
45027
+ return await build2({ SWIFT_EXEC: wrapper });
45012
45028
  } finally {
45013
45029
  server.close();
45014
45030
  server.closeAllConnections();
45031
+ (0, import_node_fs61.rmSync)(socketFile, { force: true });
45015
45032
  (0, import_node_fs61.rmSync)(directory2, { recursive: true, force: true });
45016
45033
  }
45017
45034
  }
@@ -45030,8 +45047,9 @@ var init_swift_header_compiler = __esm({
45030
45047
  argument = (value) => `'${value.replaceAll("'", `'"'"'`)}'`;
45031
45048
  client = `const { request } = require('node:http')
45032
45049
  const { spawnSync } = require('node:child_process')
45033
- const { existsSync } = require('node:fs')
45034
- const [socketPath, moduleName, swiftc, receipt, ...args] = process.argv.slice(2)
45050
+ const { existsSync, readFileSync } = require('node:fs')
45051
+ const [socketFile, moduleName, swiftc, receipt, ...args] = process.argv.slice(2)
45052
+ const socketPath = readFileSync(socketFile, 'utf8')
45035
45053
  const body = JSON.stringify(args)
45036
45054
  const notify = (method) => new Promise((resolve, reject) => {
45037
45055
  const req = request({ socketPath, path: '/' + moduleName, method, agent: false }, response => {
@@ -52208,7 +52226,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
52208
52226
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
52209
52227
  MULTI_MANIFEST_VERSION = 76;
52210
52228
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
52211
- compilerSourceDigest = true ? "cdb8b5a3440eb621ef684a88334ad7872f04e217d23812023c106b9aac871855" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
52229
+ compilerSourceDigest = true ? "b7aa9066a364228922879c080f57036fb8de90c0ca5b7ad84255f5466b91cfc5" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
52212
52230
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
52213
52231
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
52214
52232
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2530 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2532 | (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;