peachsim 0.1.1814 → 0.1.1815

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 (105) hide show
  1. package/cli/commands/control.ts +5 -2
  2. package/cli/commands/inspect.ts +43 -385
  3. package/cli/commands/package.ts +6 -1
  4. package/cli/commands/runtime.ts +2 -2
  5. package/cli/outbound-endpoints.ts +1 -1
  6. package/dist-lib/agent-daemon-client.cjs +1 -1
  7. package/dist-lib/agent-events.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/bundle-channel.cjs +453 -331
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/config.mjs +1 -1
  29. package/dist-lib/detox/index.cjs +89 -14
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/expo-swift-bundle.cjs +26 -18
  32. package/dist-lib/expo-swift-metadata.cjs +1 -1
  33. package/dist-lib/expo-swift-metadata.mjs +1 -1
  34. package/dist-lib/home-paths.cjs +1 -1
  35. package/dist-lib/host/bridge-host.cjs +464 -336
  36. package/dist-lib/host/fetch-proxy-handler.cjs +14 -12
  37. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  38. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  39. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  40. package/dist-lib/host/websocket-proxy.cjs +1 -1
  41. package/dist-lib/index.cjs +15 -14
  42. package/dist-lib/jump-to-source-babel.cjs +1 -1
  43. package/dist-lib/jump-to-source-native.cjs +1 -1
  44. package/dist-lib/kotlin-host.cjs +1 -1
  45. package/dist-lib/menu.cjs +1 -1
  46. package/dist-lib/menu.mjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  49. package/dist-lib/metro-production-bundle.cjs +1 -1
  50. package/dist-lib/metro-production-bundle.mjs +1 -1
  51. package/dist-lib/metro.cjs +15 -14
  52. package/dist-lib/native-app-identity-project.cjs +4 -3
  53. package/dist-lib/native-app-identity-project.mjs +4 -3
  54. package/dist-lib/native-app-identity.cjs +1 -1
  55. package/dist-lib/native-app-identity.mjs +1 -1
  56. package/dist-lib/native-firebase-metadata.cjs +1 -1
  57. package/dist-lib/native-firebase-metadata.mjs +1 -1
  58. package/dist-lib/pdfium-raster.cjs +1 -1
  59. package/dist-lib/pdfium-raster.mjs +1 -1
  60. package/dist-lib/plist.cjs +1 -1
  61. package/dist-lib/plist.mjs +1 -1
  62. package/dist-lib/profiles.cjs +1 -1
  63. package/dist-lib/public-brand.cjs +1 -1
  64. package/dist-lib/public-origins-lib-esm.json +24 -24
  65. package/dist-lib/public-origins-lib.json +66 -63
  66. package/dist-lib/react-native-host-modules.cjs +1 -1
  67. package/dist-lib/react-native-host-modules.mjs +1 -1
  68. package/dist-lib/reap-browser.cjs +1 -1
  69. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  70. package/dist-lib/sdk.cjs +1 -1
  71. package/dist-lib/sdk.mjs +1 -1
  72. package/dist-lib/skills.cjs +503 -342
  73. package/dist-lib/swift-compile.cjs +4 -3
  74. package/dist-lib/swift-compile.mjs +4 -3
  75. package/dist-lib/swift-package.cjs +1 -1
  76. package/dist-lib/swift-package.mjs +1 -1
  77. package/dist-lib/swift-submit.cjs +1 -1
  78. package/dist-lib/swift-submit.mjs +1 -1
  79. package/dist-lib/swift-toolchain.cjs +1 -1
  80. package/dist-lib/swift.cjs +1 -1
  81. package/dist-lib/vite-swift.cjs +26 -18
  82. package/dist-lib/vite.cjs +14 -12
  83. package/dist-lib/worklet-executable.cjs +1 -1
  84. package/dist-lib/worklet-executable.mjs +1 -1
  85. package/dist-types/packages/peach-engine/src/engine/nativeReplayContract.d.ts +2 -0
  86. package/package.json +1 -1
  87. package/runtime-companion.json +1 -1
  88. package/src/cli-runtime.ts +32 -4
  89. package/src/expo-swift-ready.ts +16 -2
  90. package/src/installed-native-libraries.ts +79 -18
  91. package/src/nitro-adapter.lock.json +240 -240
  92. package/src/nitro-compile.ts +6 -3
  93. package/src/nitro-dependencies.ts +8 -2
  94. package/src/nitro-source.ts +34 -3
  95. package/src/nitro-superset.lock.json +14 -14
  96. package/src/nitroContract.ts +26 -3
  97. package/src/runtime-delivery.ts +2 -2
  98. package/src/swift-compile.ts +2 -1
  99. package/src/swift-distribution.lock.json +9 -8
  100. package/src/swift-installed-targets.ts +13 -0
  101. package/src/swift-standins.ts +8 -2
  102. package/src/turbo-bundle.ts +20 -1
  103. package/src/turbo-compile.ts +6 -12
  104. package/src/turbo-runtime.lock.json +19 -19
  105. package/src/turbo-source.ts +16 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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;
@@ -2392,15 +2392,6 @@ var import_node_fs3 = require("node:fs");
2392
2392
  var import_node_module = require("node:module");
2393
2393
  var import_node_path2 = require("node:path");
2394
2394
 
2395
- // runtime-companion.json
2396
- var runtime_companion_default = { abi: 1, sha256: "58cc17038ff9baf52198a5edfd081d9a60236469948361b70f2471760d394d3e", file: "node/cli-58cc17038ff9baf52198a5edfd081d9a60236469948361b70f2471760d394d3e.cjs" };
2397
-
2398
- // src/runtime-assets.ts
2399
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2400
- var import_fs = __toESM(require("fs"), 1);
2401
- var import_path = __toESM(require("path"), 1);
2402
- var import_url = require("url");
2403
-
2404
2395
  // ../contrast-runtime-delivery/src/index.ts
2405
2396
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2406
2397
 
@@ -2468,7 +2459,14 @@ function isValidRuntimeVersion(value) {
2468
2459
  return value.length <= 100 && /^[0-9A-Za-z][0-9A-Za-z._+-]*$/.test(value);
2469
2460
  }
2470
2461
 
2462
+ // runtime-companion.json
2463
+ var runtime_companion_default = { abi: 1, sha256: "d657f8c4fd2d3c861f50ea15c42b3275555ac4f799c58a46d3dca829656bc63c", file: "node/cli-d657f8c4fd2d3c861f50ea15c42b3275555ac4f799c58a46d3dca829656bc63c.cjs" };
2464
+
2471
2465
  // src/runtime-assets.ts
2466
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
2467
+ var import_fs = __toESM(require("fs"), 1);
2468
+ var import_path = __toESM(require("path"), 1);
2469
+ var import_url = require("url");
2472
2470
  var _monorepoRootCache;
2473
2471
  function findMonorepoRoot() {
2474
2472
  if (_monorepoRootCache !== void 0) return _monorepoRootCache;
@@ -2513,13 +2511,15 @@ function cliCompanionPath() {
2513
2511
  return `node/cli-${runtime_companion_default.sha256}.cjs`;
2514
2512
  }
2515
2513
  function verifyCliCompanion(root) {
2516
- const file = (0, import_node_path2.join)(root, cliCompanionPath());
2514
+ verifyCompanionFile((0, import_node_path2.join)(root, cliCompanionPath()));
2515
+ }
2516
+ function verifyCompanionFile(file) {
2517
2517
  let bytes;
2518
2518
  try {
2519
2519
  bytes = (0, import_node_fs3.readFileSync)(file);
2520
2520
  } catch (error) {
2521
2521
  if (error instanceof Error) {
2522
- const missing = "code" in error && error.code === "ENOENT" ? "; this runtime has no companion for this CLI (it was published before this CLI, or the file was removed after unpacking), run `peach runtime install` for the latest runtime and check Windows Security protection history if it repeats" : "";
2522
+ const missing = "code" in error && error.code === "ENOENT" ? "; run `peach runtime install`, which fetches the companion this CLI published, and check Windows Security protection history if it repeats" : "";
2523
2523
  error.message = `Could not read Peach runtime companion ${file}: ${error.message}${missing}`;
2524
2524
  }
2525
2525
  throw error;
@@ -6061,6 +6061,71 @@ function readLaunchMetadata(wire) {
6061
6061
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6062
6062
  var NATIVE_PREPARE_QUERY_PARAM = "prepare";
6063
6063
 
6064
+ // src/nitroContract.ts
6065
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6066
+
6067
+ // src/swiftContract.ts
6068
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6069
+
6070
+ // src/assetCatalogContract.ts
6071
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6072
+
6073
+ // src/swiftContract.ts
6074
+ function isBase64Bytes(value) {
6075
+ return value.length % 4 === 0 && /^[A-Za-z0-9+/]*={0,2}(?![\s\S])/.test(value);
6076
+ }
6077
+ function isSwiftResourcePath(value) {
6078
+ return typeof value === "string" && value.length <= 4096 && !value.startsWith("/") && !value.includes("\\") && !value.includes("\0") && value.split("/").every((part) => part !== "" && part !== "." && part !== "..");
6079
+ }
6080
+
6081
+ // src/nitroContract.ts
6082
+ var NITRO_GUEST_PLATFORM = "ios";
6083
+ function readCompiledPackage(value) {
6084
+ if (typeof value !== "object" || value === null) return null;
6085
+ const name2 = Reflect.get(value, "name");
6086
+ const version = Reflect.get(value, "version");
6087
+ return typeof name2 === "string" && name2 && typeof version === "string" && version ? { name: name2, version } : null;
6088
+ }
6089
+ function readCompiledMetadata(label, value, readPackage, names) {
6090
+ if (value === null || value === void 0) return null;
6091
+ if (typeof value !== "object" || Array.isArray(value) || Reflect.get(value, "platform") !== NITRO_GUEST_PLATFORM)
6092
+ throw new Error(`invalid ${label} compilation metadata`);
6093
+ const listed = Reflect.get(value, "packages");
6094
+ const packages = Array.isArray(listed) ? listed.map(readPackage) : [];
6095
+ const url = Reflect.get(value, "url");
6096
+ const hash = Reflect.get(value, "hash");
6097
+ const icuUrl = Reflect.get(value, "icuUrl");
6098
+ const packed = Reflect.get(value, "bundleFiles");
6099
+ if (packages.length === 0 || !packages.every((entry) => entry !== null) || new Set(packages.map(({ name: name2 }) => name2)).size !== packages.length || new Set(packages.flatMap(names)).size !== packages.reduce((total, entry) => total + names(entry).length, 0) || typeof url !== "string" || !url || typeof hash !== "string" || !/^[a-f0-9]{64}$/.test(hash) || typeof icuUrl !== "string" || !icuUrl || !isRecord(packed))
6100
+ throw new Error(`invalid ${label} compilation metadata`);
6101
+ const bundleFiles = Object.fromEntries(
6102
+ Object.entries(packed).map(([name2, bytes]) => {
6103
+ if (!isSwiftResourcePath(name2) || typeof bytes !== "string" || !isBase64Bytes(bytes))
6104
+ throw new Error(`invalid ${label} bundle file`);
6105
+ return [name2, bytes];
6106
+ })
6107
+ );
6108
+ return { platform: "ios", packages, url, hash, icuUrl, bundleFiles };
6109
+ }
6110
+ function readTurboMetadata(value) {
6111
+ const metadata = readCompiledMetadata(
6112
+ "TurboModule",
6113
+ value,
6114
+ readCompiledPackage,
6115
+ () => []
6116
+ );
6117
+ if (!metadata) return null;
6118
+ const listed = Reflect.get(Object(value), "unavailable");
6119
+ if (listed === void 0) return metadata;
6120
+ if (!Array.isArray(listed)) throw new Error("invalid TurboModule compilation metadata");
6121
+ const unavailable = listed.map((entry) => {
6122
+ if (!isRecord(entry) || typeof entry.name !== "string" || typeof entry.diagnostic !== "string")
6123
+ throw new Error("invalid TurboModule compilation metadata");
6124
+ return { name: entry.name, diagnostic: entry.diagnostic };
6125
+ });
6126
+ return { ...metadata, unavailable };
6127
+ }
6128
+
6064
6129
  // src/node-http-fetch.ts
6065
6130
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6066
6131
  var import_node_http = __toESM(require("node:http"), 1);
@@ -6212,8 +6277,9 @@ async function awaitExpoSwiftReady(endpointUrl, options = {}, label = "expo swif
6212
6277
  `${endpointUrl} answered ${res.status}${body ? `: ${body}` : ""}${hint}`
6213
6278
  );
6214
6279
  }
6215
- await res.text();
6280
+ const answer = await res.text();
6216
6281
  console.log(` ${label} ready in ${((Date.now() - start) / 1e3).toFixed(1)}s`);
6282
+ for (const note of options.notes?.(answer) ?? []) console.log(` ${note}`);
6217
6283
  } finally {
6218
6284
  clearInterval(progress);
6219
6285
  }
@@ -6251,7 +6317,16 @@ async function awaitStampedExpoSwiftReady(shellUrl, openToken, platform, signal)
6251
6317
  ) : null,
6252
6318
  expoSwift ? awaitExpoSwiftReady(preparationUrl(expoSwift), { signal: linked }) : null,
6253
6319
  nitro ? awaitExpoSwiftReady(preparationUrl(nitro), { signal: linked }, "nitro modules") : null,
6254
- turbo ? awaitExpoSwiftReady(preparationUrl(turbo), { signal: linked }, "turbo modules") : null
6320
+ turbo ? awaitExpoSwiftReady(
6321
+ preparationUrl(turbo),
6322
+ {
6323
+ signal: linked,
6324
+ notes: (answer) => (readTurboMetadata(JSON.parse(answer))?.unavailable ?? []).map(
6325
+ ({ name: name2, diagnostic }) => `${name2} is unavailable: ${diagnostic}`
6326
+ )
6327
+ },
6328
+ "turbo modules"
6329
+ ) : null
6255
6330
  ]);
6256
6331
  } catch (error) {
6257
6332
  siblings.abort(error);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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;
@@ -8985,7 +8985,7 @@ async function installVerifiedTarball(tarball) {
8985
8985
  }
8986
8986
  try {
8987
8987
  if (!presentAtStart && import_node_fs18.default.existsSync(import_node_path15.default.join(destDir, installedMarker))) {
8988
- tarball.verify?.(destDir);
8988
+ await tarball.verify?.(destDir);
8989
8989
  return;
8990
8990
  }
8991
8991
  await installVerifiedTarballLocked(tarball, presentAtStart);
@@ -9029,14 +9029,14 @@ async function installVerifiedTarballLocked(tarball, presentAtStart) {
9029
9029
  if (!import_node_fs18.default.existsSync(import_node_path15.default.join(tmpDir, installedMarker))) {
9030
9030
  throw new Error(`extracted tarball for ${label} is missing ${installedMarker}`);
9031
9031
  }
9032
- tarball.verify?.(tmpDir);
9032
+ await tarball.verify?.(tmpDir);
9033
9033
  signal?.throwIfAborted();
9034
9034
  try {
9035
9035
  import_node_fs18.default.renameSync(tmpDir, destDir);
9036
9036
  } catch (err) {
9037
9037
  if (!isErrnoCode(err, "ENOTEMPTY", "EEXIST")) throw err;
9038
9038
  if (!presentAtStart && import_node_fs18.default.existsSync(import_node_path15.default.join(destDir, installedMarker))) {
9039
- tarball.verify?.(destDir);
9039
+ await tarball.verify?.(destDir);
9040
9040
  return;
9041
9041
  }
9042
9042
  const aside = `${tmpDir}-replaced`;
@@ -9051,7 +9051,7 @@ async function installVerifiedTarballLocked(tarball, presentAtStart) {
9051
9051
  if (!isErrnoCode(landErr, "ENOTEMPTY", "EEXIST") || !import_node_fs18.default.existsSync(import_node_path15.default.join(destDir, installedMarker))) {
9052
9052
  throw landErr;
9053
9053
  }
9054
- tarball.verify?.(destDir);
9054
+ await tarball.verify?.(destDir);
9055
9055
  } finally {
9056
9056
  import_node_fs18.default.rmSync(aside, { recursive: true, force: true });
9057
9057
  }
@@ -17576,7 +17576,8 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
17576
17576
  TOCropViewController: [],
17577
17577
  RiveRuntime: ["MetalKit"],
17578
17578
  MetalKit: ["ModelIO"],
17579
- DatadogCore: [],
17579
+ DatadogInternal: [],
17580
+ DatadogCore: ["DatadogInternal"],
17580
17581
  DatadogLogs: ["DatadogCore"],
17581
17582
  DatadogRUM: ["DatadogCore"],
17582
17583
  DatadogTrace: ["DatadogCore"],
@@ -17928,7 +17929,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
17928
17929
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
17929
17930
  var MULTI_MANIFEST_VERSION = 65;
17930
17931
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
17931
- var compilerSourceDigest = true ? "d62fae69578799a35cdf0157f54acf3e1a0c1688de92c4c991c69287b9e562bb" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17932
+ var compilerSourceDigest = true ? "f6bf05da9a8bbde24169c3c8ff29e36d48f13ea9f817f33a350da3c475783ddd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17932
17933
  function swiftArtifactHash(input, release, moduleRoot) {
17933
17934
  const hash = (0, import_node_crypto13.createHash)("sha256");
17934
17935
  hash.update(`swift-compile
@@ -21940,12 +21941,12 @@ function compileSwiftProjectUnit(input, options) {
21940
21941
 
21941
21942
  // src/swift-distribution.lock.json
21942
21943
  var swift_distribution_lock_default = {
21943
- id: "6742aac7746a6ce9",
21944
+ id: "92d08dea86eafc17",
21944
21945
  release: "swift-6.4.0-RELEASE-custom-a560ff35bf882b5c",
21945
21946
  wasmSdkId: "swift-6.4.0-RELEASE_wasm-peach-5d385b68",
21946
21947
  wasmSdkUrl: "https://r2.sootsim.com/swift-wasm-sdk/swift-6.4.0-RELEASE_wasm-peach-5d385b68.artifactbundle.tar.gz",
21947
21948
  wasmSdkChecksum: "d91882af99821a296c3db4459896b46ceaef37e9a30caad14e5f24cf6b964ae9",
21948
- source: "af1852646c60b5cde579f3465df69967e16810b3",
21949
+ source: "e5fb86f09228f6a9802a802657fea000ed6a3118",
21949
21950
  targets: [
21950
21951
  "ImagePlayground",
21951
21952
  "QuickLookThumbnailing",
@@ -22079,6 +22080,7 @@ var swift_distribution_lock_default = {
22079
22080
  "ModelIOEnums",
22080
22081
  "ModelIO",
22081
22082
  "MetalKit",
22083
+ "DatadogInternal",
22082
22084
  "DatadogCore",
22083
22085
  "DatadogLogs",
22084
22086
  "DatadogRUM",
@@ -22171,16 +22173,16 @@ var swift_distribution_lock_default = {
22171
22173
  },
22172
22174
  hosts: {
22173
22175
  "darwin-arm64": {
22174
- sha256: "80c63bad6b21a02244c09832dd1344a1aa52894bf5ed391b94771b036f385d08",
22175
- size: 99101780
22176
+ sha256: "b97c1ef24c74d88fe5b03240ac21017959884861a7ab3d298bc4b97e74e1bd02",
22177
+ size: 98848007
22176
22178
  },
22177
22179
  "linux-x64": {
22178
- sha256: "9f58c786fa96313a3aefe564c7af5eadda21a22ac996df49d16bfdd2c73456be",
22179
- size: 101818987
22180
+ sha256: "2beb12ad379dc2e618029a69c36b92d55c8f1b43b78e9600d97c13f17a1dab8f",
22181
+ size: 101566420
22180
22182
  },
22181
22183
  "linux-arm64": {
22182
- sha256: "2174623c31e5909128486b5516976060004d80697bdfcf46198b6150f7de1cc8",
22183
- size: 101312935
22184
+ sha256: "5ea72a514d3f67aaf477babb848c14177b57b6cbc1671ea075075586a4c38d6a",
22185
+ size: 101056003
22184
22186
  }
22185
22187
  }
22186
22188
  };
@@ -27519,7 +27521,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
27519
27521
  }
27520
27522
  return hash.digest("hex");
27521
27523
  }
27522
- var STANDIN_SOURCE_DIGEST = true ? "f61e678df21a92da7fd50325f04848c1ad55068f560f9431a8d1c4e40e27de89" : standinSourceDigest();
27524
+ var STANDIN_SOURCE_DIGEST = true ? "bcab0947a5f2c96b28cbf3a9de81a4e4de8711a17b0d7622fbc8f8c5fcee3d76" : standinSourceDigest();
27523
27525
 
27524
27526
  // src/swift-standins.ts
27525
27527
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -28352,12 +28354,18 @@ var OBJC_IMPORT = /#\s*(?:import|include)\s*[<"](?:[\w+-]+\/)?([\w+.-]+\.h)[>"]/
28352
28354
  function stageDeclaredFramework(framework, declared, imports2, sdkHeader, destination) {
28353
28355
  const name3 = import_node_path53.default.basename(framework, ".framework");
28354
28356
  const own = `${name3}-Swift.h`;
28355
- const modulemap = import_node_fs54.default.readFileSync(
28357
+ const declaration = import_node_fs54.default.readFileSync(
28356
28358
  import_node_path53.default.join(framework, "Modules/module.modulemap"),
28357
28359
  "utf8"
28358
28360
  );
28361
+ const modulemap = declaration.includes(`framework module ${name3}`) ? declaration : `framework module ${name3} {
28362
+ umbrella header "${name3}-umbrella.h"
28363
+ export *
28364
+ }
28365
+ `;
28359
28366
  const umbrella = /umbrella header "([^"]+)"/.exec(modulemap)?.[1];
28360
- if (!umbrella) throw new Error(`${name3} module map names no umbrella header`);
28367
+ if (!umbrella || !import_node_fs54.default.existsSync(import_node_path53.default.join(framework, "Headers", umbrella)))
28368
+ throw new Error(`${name3} module map names no umbrella header`);
28361
28369
  const headers = new Map(
28362
28370
  import_node_fs54.default.readdirSync(import_node_path53.default.join(framework, "Headers")).filter(
28363
28371
  (file) => file.endsWith(".h") && file !== umbrella && file !== own && file !== `${name3}.h`
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bundleGlobalFooter.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1814 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1815 | (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;