peachsim 0.1.2035 → 0.1.2037

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/cloud-test-tunnel.ts +43 -6
  2. package/cli/commands/inspect/get-node.ts +1 -1
  3. package/cli/outbound-endpoints.ts +4 -0
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +4626 -4189
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +15 -7
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +8741 -4085
  30. package/dist-lib/expo-swift-metadata.cjs +2 -2
  31. package/dist-lib/expo-swift-metadata.mjs +2 -2
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +4639 -4468
  34. package/dist-lib/host/fetch-proxy-handler.cjs +5119 -274
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +17104 -16999
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +12730 -12621
  50. package/dist-lib/native-app-identity-project.cjs +1 -1
  51. package/dist-lib/native-app-identity-project.mjs +1 -1
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +615 -211
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +1 -1
  69. package/dist-lib/sdk.mjs +1 -1
  70. package/dist-lib/skills.cjs +5291 -5096
  71. package/dist-lib/swift-compile.cjs +1 -1
  72. package/dist-lib/swift-compile.mjs +1 -1
  73. package/dist-lib/swift-package.cjs +1 -1
  74. package/dist-lib/swift-package.mjs +1 -1
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +1 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +2 -2
  80. package/dist-lib/vite.cjs +5159 -342
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/dist-types/packages/peach-engine/src/engine/app-catalog-wire.d.ts +2 -0
  84. package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +2 -0
  85. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +2 -0
  86. package/package.json +1 -1
  87. package/runtime-companion.json +1 -1
  88. package/src/bundle-channel.mjs +35 -1
  89. package/src/expo-autolinking.ts +36 -13
  90. package/src/expo-discovery-cache.ts +1 -0
  91. package/src/expo-native-workspace.ts +10 -9
  92. package/src/expo-pod-prebuilt.ts +122 -0
  93. package/src/expo-swift-host.ts +267 -121
  94. package/src/expo-swift-ready.ts +11 -5
  95. package/src/expoSwiftContract.ts +3 -1
  96. package/src/host/dev-server-package-versions.ts +20 -4
  97. package/src/native-failure-output.ts +34 -0
  98. package/src/native-firebase-config.ts +28 -10
  99. package/src/native-prebuilt.ts +3 -3
  100. package/src/nitro-adapter.lock.json +261 -261
  101. package/src/nitro-superset.lock.json +4 -4
  102. package/src/swift-distribution.lock.json +8 -8
  103. package/src/turbo-compile.ts +3 -3
  104. package/src/turbo-runtime.lock.json +17 -17
  105. package/src/turbo-source.ts +45 -32
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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;
@@ -2495,7 +2495,7 @@ function isValidRuntimeVersion(value) {
2495
2495
  }
2496
2496
 
2497
2497
  // runtime-companion.json
2498
- var runtime_companion_default = { abi: 1, sha256: "b47adb394ab539ff00e2ed18f1f0df810baa01bd705819ca976eb65d6798b348", file: "node/cli-b47adb394ab539ff00e2ed18f1f0df810baa01bd705819ca976eb65d6798b348.cjs" };
2498
+ var runtime_companion_default = { abi: 1, sha256: "4f57b56031901847c4b58b0a8a000279a4718438d3dad8494c82fc83e6c3417d", file: "node/cli-4f57b56031901847c4b58b0a8a000279a4718438d3dad8494c82fc83e6c3417d.cjs" };
2499
2499
 
2500
2500
  // src/answeredNativePackages.ts
2501
2501
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -6102,6 +6102,11 @@ function readLaunchMetadata(wire) {
6102
6102
  return metadata;
6103
6103
  }
6104
6104
 
6105
+ // src/native-failure-output.ts
6106
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6107
+ var FAILED_OUTPUT_MARKER = "[peach] full output of the failed command: ";
6108
+ var FAILED_OUTPUT_KEPT_MS = 7 * 24 * 36e5;
6109
+
6105
6110
  // src/nativePreparationContract.ts
6106
6111
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
6107
6112
  var NATIVE_PREPARE_QUERY_PARAM = "prepare";
@@ -6328,12 +6333,15 @@ async function awaitExpoSwiftReady(endpointUrl, options = {}, label = "expo swif
6328
6333
  );
6329
6334
  }
6330
6335
  if (!res.ok) {
6331
- const text = (await res.text()).trim();
6332
- const errors = text.split("\n").filter(
6336
+ const lines = (await res.text()).trim().split("\n");
6337
+ const saved = lines.filter((line) => line.startsWith(FAILED_OUTPUT_MARKER));
6338
+ const output = lines.filter((line) => !line.startsWith(FAILED_OUTPUT_MARKER));
6339
+ const detail = output.filter(
6333
6340
  (line) => /(?:^|:\s)(?:fatal )?error:|^\[!\] |^\w+(?:::\w+)*Error - /.test(line)
6334
- );
6335
- const detail = errors.join("\n");
6336
- const body = detail ? detail.length > 2e3 ? `${detail.slice(0, 2e3)}\u2026` : detail : text.length > 2e3 ? `\u2026${text.slice(-2e3)}` : text;
6341
+ ).join("\n");
6342
+ const text = output.join("\n").trim();
6343
+ const diagnostics = detail ? detail.length > 2e3 ? `${detail.slice(0, 2e3)}\u2026` : detail : text.length > 2e3 ? `\u2026${text.slice(-2e3)}` : text;
6344
+ const body = [diagnostics, ...saved].filter(Boolean).join("\n");
6337
6345
  const hint = res.status === 404 ? `; peach cli ${getCliVersion()} serves this route, so if an older peach bridge holds this port, run \`peach daemon restart\` to load the matching bridge (it closes every sim that bridge hosts, so it was not restarted)` : "";
6338
6346
  throw new Error(
6339
6347
  `${endpointUrl} answered ${res.status}${body ? `: ${body}` : ""}${hint}`
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2035 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2037 | (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;