peachsim 0.1.2304 → 0.1.2305

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 (89) hide show
  1. package/cli/commands/daemon.ts +31 -9
  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 +1 -1
  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 +1 -1
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +1 -1
  14. package/dist-lib/bundle-channel.cjs +45 -49
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +1 -1
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +1 -1
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +1 -1
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +1 -1
  25. package/dist-lib/detox/index.cjs +2 -2
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/expo-swift-bundle.cjs +43 -47
  28. package/dist-lib/expo-swift-metadata.cjs +1 -1
  29. package/dist-lib/expo-swift-metadata.mjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +45 -49
  32. package/dist-lib/host/fetch-proxy-handler.cjs +12 -3
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +12 -3
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +12 -3
  48. package/dist-lib/native-app-identity-project.cjs +1 -1
  49. package/dist-lib/native-app-identity-project.mjs +1 -1
  50. package/dist-lib/native-app-identity.cjs +1 -1
  51. package/dist-lib/native-app-identity.mjs +1 -1
  52. package/dist-lib/native-firebase-metadata.cjs +1 -1
  53. package/dist-lib/native-firebase-metadata.mjs +1 -1
  54. package/dist-lib/pdfium-raster.cjs +1 -1
  55. package/dist-lib/pdfium-raster.mjs +1 -1
  56. package/dist-lib/plist.cjs +1 -1
  57. package/dist-lib/plist.mjs +1 -1
  58. package/dist-lib/profiles.cjs +1 -1
  59. package/dist-lib/public-brand.cjs +1 -1
  60. package/dist-lib/public-origins-lib-esm.json +24 -24
  61. package/dist-lib/public-origins-lib.json +61 -53
  62. package/dist-lib/react-native-host-modules.cjs +1 -1
  63. package/dist-lib/react-native-host-modules.mjs +1 -1
  64. package/dist-lib/reap-browser.cjs +1 -1
  65. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  66. package/dist-lib/sdk.cjs +1 -1
  67. package/dist-lib/sdk.mjs +1 -1
  68. package/dist-lib/skills.cjs +61 -53
  69. package/dist-lib/swift-compile.cjs +1 -1
  70. package/dist-lib/swift-compile.mjs +1 -1
  71. package/dist-lib/swift-package.cjs +1 -1
  72. package/dist-lib/swift-package.mjs +1 -1
  73. package/dist-lib/swift-submit.cjs +1 -1
  74. package/dist-lib/swift-submit.mjs +1 -1
  75. package/dist-lib/swift-toolchain.cjs +1 -1
  76. package/dist-lib/swift.cjs +1 -1
  77. package/dist-lib/vite-swift.cjs +2 -2
  78. package/dist-lib/vite.cjs +12 -3
  79. package/dist-lib/worklet-executable.cjs +1 -1
  80. package/dist-lib/worklet-executable.mjs +1 -1
  81. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +0 -5
  82. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +3 -0
  83. package/java-platform/licenses/fdlibm.txt +3 -0
  84. package/kotlin/sdk.tar.gz +0 -0
  85. package/package.json +1 -1
  86. package/runtime-companion.json +1 -1
  87. package/src/expo-native-workspace.ts +3 -23
  88. package/src/git-repo-env.ts +27 -0
  89. package/src/swift-packages.ts +4 -20
@@ -393,7 +393,10 @@ function macBridgeHasListener(pid: number, port: number): boolean {
393
393
  // spelled however the spawner named the file (a symlinked /tmp, a bin shim,
394
394
  // a relative path) while process.execPath is resolved, so the executable is
395
395
  // compared by device and inode, never by path text. inodes on the system
396
- // volume exceed 2^53, so both compare as bigints.
396
+ // volume exceed 2^53, so both compare as bigints. `peach upgrade` renames a
397
+ // new file over the executable, so a bridge the previous version started maps
398
+ // the old inode; it still runs this invocation when the path it was launched
399
+ // from now names this executable.
397
400
  function sameFile(path: string, device: bigint, inode: bigint): boolean {
398
401
  try {
399
402
  const stats = statSync(path, { bigint: true })
@@ -408,6 +411,14 @@ function serveArgs(invocation: RnxSelfInvocation): string[] {
408
411
  }
409
412
 
410
413
  function macProcessRunsServe(pid: number, invocation: RnxSelfInvocation): boolean {
414
+ const launch = macProcessArgs(pid)
415
+ if (
416
+ launch === null ||
417
+ !serveArgs(invocation).every((arg, index) => launch.args[index + 1] === arg)
418
+ )
419
+ return false
420
+ if (launch.executable.startsWith('/') && sameExecutable(invocation, launch.executable))
421
+ return true
411
422
  // lsof names each mapped text file by device and inode; the executable is one.
412
423
  const files = spawnSync(LSOF, ['-nP', '-a', '-p', String(pid), '-d', 'txt', '-FDi'], {
413
424
  encoding: 'utf8',
@@ -422,18 +433,23 @@ function macProcessRunsServe(pid: number, invocation: RnxSelfInvocation): boolea
422
433
  )
423
434
  runsExecutable = true
424
435
  }
425
- if (!runsExecutable) return false
426
- const args = macProcessArgs(pid)
427
- return (
428
- args !== null && serveArgs(invocation).every((arg, index) => args[index + 1] === arg)
429
- )
436
+ return runsExecutable
437
+ }
438
+
439
+ function sameExecutable(invocation: RnxSelfInvocation, path: string): boolean {
440
+ try {
441
+ const stats = statSync(path, { bigint: true })
442
+ return sameFile(invocation.executable, stats.dev, stats.ino)
443
+ } catch {
444
+ return false
445
+ }
430
446
  }
431
447
 
432
448
  // the kernel's exact argv vector (KERN_PROCARGS2: argc, executable path, then
433
449
  // argc NUL-terminated arguments), read through the system JXA Foundation
434
450
  // bridge. `ps` flattens argv with spaces and cannot recover argument
435
451
  // boundaries.
436
- function macProcessArgs(pid: number): string[] | null {
452
+ function macProcessArgs(pid: number): { executable: string; args: string[] } | null {
437
453
  const int32 = (value: number) => {
438
454
  const bytes = Buffer.alloc(4)
439
455
  bytes.writeUInt32LE(value)
@@ -465,12 +481,13 @@ ObjC.unwrap(size.base64EncodedStringWithOptions(0)) + ' ' + ObjC.unwrap(out.base
465
481
  Number(Buffer.from(length, 'base64').readBigUInt64LE()),
466
482
  )
467
483
  const argc = buffer.readInt32LE(0)
484
+ const executable = buffer.toString('utf8', 4, buffer.indexOf(0, 4))
468
485
  let at = buffer.indexOf(0, 4) // end of the executable path
469
486
  while (buffer[at] === 0) at++ // padding before argv[0]
470
487
  const args: string[] = []
471
488
  for (; args.length < argc; at = buffer.indexOf(0, at) + 1)
472
489
  args.push(buffer.toString('utf8', at, buffer.indexOf(0, at)))
473
- return args
490
+ return { executable, args }
474
491
  }
475
492
 
476
493
  export async function stopMacDaemonBridge(
@@ -589,7 +606,12 @@ function linuxProcessRunsServe(pid: number, invocation: RnxSelfInvocation): bool
589
606
  // vector verbatim, so both compare exactly without procps installed.
590
607
  try {
591
608
  const exe = statSync(`/proc/${pid}/exe`, { bigint: true })
592
- if (!sameFile(invocation.executable, exe.dev, exe.ino)) return false
609
+ const launchedFrom = readlinkSync(`/proc/${pid}/exe`).replace(/ \(deleted\)$/, '')
610
+ if (
611
+ !sameFile(invocation.executable, exe.dev, exe.ino) &&
612
+ !sameExecutable(invocation, launchedFrom)
613
+ )
614
+ return false
593
615
  const args = readFileSync(`/proc/${pid}/cmdline`, 'utf8').split('\0').slice(1)
594
616
  return serveArgs(invocation).every((arg, index) => args[index] === arg)
595
617
  } catch {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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;
@@ -10748,6 +10748,38 @@ var init_expo_workspace_exclusion = __esm({
10748
10748
  }
10749
10749
  });
10750
10750
 
10751
+ // src/git-repo-env.ts
10752
+ function withoutGitRepositoryEnv(source = process.env) {
10753
+ const env = { ...source };
10754
+ for (const key2 of GIT_REPOSITORY_ENV_KEYS) {
10755
+ delete env[key2];
10756
+ }
10757
+ return env;
10758
+ }
10759
+ var GIT_REPOSITORY_ENV_KEYS;
10760
+ var init_git_repo_env = __esm({
10761
+ "src/git-repo-env.ts"() {
10762
+ "use strict";
10763
+ GIT_REPOSITORY_ENV_KEYS = [
10764
+ "GIT_DIR",
10765
+ "GIT_COMMON_DIR",
10766
+ "GIT_WORK_TREE",
10767
+ "GIT_INDEX_FILE",
10768
+ "GIT_OBJECT_DIRECTORY",
10769
+ "GIT_ALTERNATE_OBJECT_DIRECTORIES",
10770
+ "GIT_PREFIX",
10771
+ "GIT_SHALLOW_FILE",
10772
+ "GIT_GRAFT_FILE",
10773
+ "GIT_NAMESPACE",
10774
+ "GIT_IMPLICIT_WORK_TREE",
10775
+ "GIT_CONFIG",
10776
+ "GIT_CEILING_DIRECTORIES",
10777
+ "GIT_DISCOVERY_ACROSS_FILESYSTEM",
10778
+ "GIT_SUPER_PREFIX"
10779
+ ];
10780
+ }
10781
+ });
10782
+
10751
10783
  // src/native-failure-output.ts
10752
10784
  function saveFailedOutput(command, cwd, output2) {
10753
10785
  const directory2 = import_node_path9.default.join(cacheDir(), "native-prepare-failures");
@@ -39019,27 +39051,7 @@ var init_workspace_root = __esm({
39019
39051
 
39020
39052
  // src/expo-native-workspace.ts
39021
39053
  function cleanWorkspaceGitEnv() {
39022
- const env = { ...process.env };
39023
- for (const key2 of [
39024
- "GIT_DIR",
39025
- "GIT_COMMON_DIR",
39026
- "GIT_WORK_TREE",
39027
- "GIT_INDEX_FILE",
39028
- "GIT_OBJECT_DIRECTORY",
39029
- "GIT_ALTERNATE_OBJECT_DIRECTORIES",
39030
- "GIT_PREFIX",
39031
- "GIT_SHALLOW_FILE",
39032
- "GIT_GRAFT_FILE",
39033
- "GIT_NAMESPACE",
39034
- "GIT_IMPLICIT_WORK_TREE",
39035
- "GIT_CONFIG",
39036
- "GIT_CEILING_DIRECTORIES",
39037
- "GIT_DISCOVERY_ACROSS_FILESYSTEM",
39038
- "GIT_SUPER_PREFIX"
39039
- ]) {
39040
- delete env[key2];
39041
- }
39042
- return { ...env, ...isolatedGitEnv };
39054
+ return { ...withoutGitRepositoryEnv(), ...isolatedGitEnv };
39043
39055
  }
39044
39056
  function reactNativePodsEnvironment() {
39045
39057
  return {
@@ -39742,8 +39754,7 @@ async function runAdmitted(lease, command, args, cwd, extraEnv) {
39742
39754
  {
39743
39755
  cwd,
39744
39756
  env: {
39745
- ...process.env,
39746
- ...isolatedGitEnv,
39757
+ ...cleanWorkspaceGitEnv(),
39747
39758
  EXPO_NO_TELEMETRY: "1",
39748
39759
  LANG: "en_US.UTF-8",
39749
39760
  LC_ALL: "en_US.UTF-8",
@@ -39781,6 +39792,7 @@ var init_expo_native_workspace = __esm({
39781
39792
  init_detect();
39782
39793
  init_admitted_mac_build();
39783
39794
  init_expo_workspace_exclusion();
39795
+ init_git_repo_env();
39784
39796
  init_home_paths();
39785
39797
  init_native_failure_output();
39786
39798
  init_native_git();
@@ -44539,27 +44551,10 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
44539
44551
  if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
44540
44552
  requireNativeGit();
44541
44553
  const key2 = checkoutKey(dir, pin2);
44542
- const gitEnv = { ...process.env };
44543
- for (const name3 of [
44544
- "GIT_DIR",
44545
- "GIT_COMMON_DIR",
44546
- "GIT_WORK_TREE",
44547
- "GIT_INDEX_FILE",
44548
- "GIT_OBJECT_DIRECTORY",
44549
- "GIT_ALTERNATE_OBJECT_DIRECTORIES",
44550
- "GIT_PREFIX",
44551
- "GIT_SHALLOW_FILE",
44552
- "GIT_GRAFT_FILE",
44553
- "GIT_NAMESPACE",
44554
- "GIT_IMPLICIT_WORK_TREE",
44555
- "GIT_CONFIG",
44556
- "GIT_CEILING_DIRECTORIES",
44557
- "GIT_DISCOVERY_ACROSS_FILESYSTEM",
44558
- "GIT_SUPER_PREFIX"
44559
- ]) {
44560
- delete gitEnv[name3];
44561
- }
44562
- gitEnv.GIT_TERMINAL_PROMPT = "0";
44554
+ const gitEnv = {
44555
+ ...withoutGitRepositoryEnv(),
44556
+ GIT_TERMINAL_PROMPT: "0"
44557
+ };
44563
44558
  const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
44564
44559
  encoding: "utf8",
44565
44560
  env: gitEnv,
@@ -45167,6 +45162,7 @@ var init_swift_packages = __esm({
45167
45162
  import_node_path70 = __toESM(require("node:path"), 1);
45168
45163
  import_promises6 = require("node:timers/promises");
45169
45164
  import_node_util12 = require("node:util");
45165
+ init_git_repo_env();
45170
45166
  init_home_paths();
45171
45167
  init_native_git();
45172
45168
  init_numbered_lock();
@@ -45240,7 +45236,7 @@ var init_swift_standin_digest = __esm({
45240
45236
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
45241
45237
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
45242
45238
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
45243
- STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
45239
+ STANDIN_SOURCE_DIGEST = true ? "c966f6f04b2d8f65009c3eb2db2a2a55ee09bd8540da3797fb0eabe22c59a351" : standinSourceDigest();
45244
45240
  }
45245
45241
  });
45246
45242
 
@@ -58831,7 +58827,7 @@ var init_nitro_superset = __esm({
58831
58827
  init_nitroContract();
58832
58828
  init_swift_standin_digest();
58833
58829
  NITRO_SUPERSET_ENTRY_NAME = "superset";
58834
- NITRO_COMPILER_DIGEST = true ? "da60a818ed68d0f1fc83c446f5843a8d9a758fb0d65180d262cfaead5d0a7ed3" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
58830
+ NITRO_COMPILER_DIGEST = true ? "9bb0e02e20ee1facd9f4347701f5cb7f4df21261355482e06fffcac3270d983c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
58835
58831
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
58836
58832
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
58837
58833
  published = /* @__PURE__ */ new Map();
@@ -60089,7 +60085,7 @@ var init_expo_native_compiler_digest = __esm({
60089
60085
 
60090
60086
  // src/expo-native-prebuilt.ts
60091
60087
  function expoNativeCompilerDigestValue() {
60092
- return true ? "c87e7134b76c5418e2c5e9e056b700b7dfc2c8ae0632c602561f4634aa4bcd8a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
60088
+ return true ? "a17d67355c6425b1af01174e300cd39b630bb0a2950d81a6827a6520170700aa" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
60093
60089
  }
60094
60090
  function readSources(value) {
60095
60091
  const sources = isRecord(value) ? value.sources : null;
@@ -66868,7 +66864,7 @@ var import_node_path5 = require("node:path");
66868
66864
  init_src();
66869
66865
 
66870
66866
  // runtime-companion.json
66871
- var runtime_companion_default = { abi: 1, sha256: "398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07", file: "node/cli-398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07.cjs" };
66867
+ var runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
66872
66868
 
66873
66869
  // src/cli-runtime.ts
66874
66870
  init_answeredNativePackages();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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;
@@ -2475,7 +2475,7 @@ function isValidRuntimeVersion(value) {
2475
2475
  }
2476
2476
 
2477
2477
  // runtime-companion.json
2478
- var runtime_companion_default = { abi: 1, sha256: "398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07", file: "node/cli-398e7fb3724442c4c182acf71a5188023c983cf7e0438fa4e0d668c039ce3b07.cjs" };
2478
+ var runtime_companion_default = { abi: 1, sha256: "0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d", file: "node/cli-0fab660670984b60962d163f3e174d3f27f6685e8c3e262164e28d6e6b52ad8d.cjs" };
2479
2479
 
2480
2480
  // src/answeredNativePackages.ts
2481
2481
  var import_node_async_hooks = require("node:async_hooks");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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;
@@ -3338,6 +3338,38 @@ var init_admitted_mac_build = __esm({
3338
3338
  }
3339
3339
  });
3340
3340
 
3341
+ // src/git-repo-env.ts
3342
+ function withoutGitRepositoryEnv(source = process.env) {
3343
+ const env = { ...source };
3344
+ for (const key2 of GIT_REPOSITORY_ENV_KEYS) {
3345
+ delete env[key2];
3346
+ }
3347
+ return env;
3348
+ }
3349
+ var GIT_REPOSITORY_ENV_KEYS;
3350
+ var init_git_repo_env = __esm({
3351
+ "src/git-repo-env.ts"() {
3352
+ "use strict";
3353
+ GIT_REPOSITORY_ENV_KEYS = [
3354
+ "GIT_DIR",
3355
+ "GIT_COMMON_DIR",
3356
+ "GIT_WORK_TREE",
3357
+ "GIT_INDEX_FILE",
3358
+ "GIT_OBJECT_DIRECTORY",
3359
+ "GIT_ALTERNATE_OBJECT_DIRECTORIES",
3360
+ "GIT_PREFIX",
3361
+ "GIT_SHALLOW_FILE",
3362
+ "GIT_GRAFT_FILE",
3363
+ "GIT_NAMESPACE",
3364
+ "GIT_IMPLICIT_WORK_TREE",
3365
+ "GIT_CONFIG",
3366
+ "GIT_CEILING_DIRECTORIES",
3367
+ "GIT_DISCOVERY_ACROSS_FILESYSTEM",
3368
+ "GIT_SUPER_PREFIX"
3369
+ ];
3370
+ }
3371
+ });
3372
+
3341
3373
  // src/native-git.ts
3342
3374
  function requireNativeGit() {
3343
3375
  const result = (0, import_node_child_process10.spawnSync)("git", ["--version"], { encoding: "utf8" });
@@ -29469,7 +29501,7 @@ var init_swift_standin_digest = __esm({
29469
29501
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
29470
29502
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
29471
29503
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29472
- STANDIN_SOURCE_DIGEST = true ? "6002e019e3756e603da7a6845af874da053d7724cb1f91276d6e7928d2546e5e" : standinSourceDigest();
29504
+ STANDIN_SOURCE_DIGEST = true ? "c966f6f04b2d8f65009c3eb2db2a2a55ee09bd8540da3797fb0eabe22c59a351" : standinSourceDigest();
29473
29505
  }
29474
29506
  });
29475
29507
 
@@ -30423,27 +30455,10 @@ async function fetchCheckout(checkouts, identity2, pin2, signal) {
30423
30455
  if (preparedSwiftPin(checkouts, identity2, pin2.location, pin2.revision)) return;
30424
30456
  requireNativeGit();
30425
30457
  const key2 = checkoutKey(dir, pin2);
30426
- const gitEnv = { ...process.env };
30427
- for (const name3 of [
30428
- "GIT_DIR",
30429
- "GIT_COMMON_DIR",
30430
- "GIT_WORK_TREE",
30431
- "GIT_INDEX_FILE",
30432
- "GIT_OBJECT_DIRECTORY",
30433
- "GIT_ALTERNATE_OBJECT_DIRECTORIES",
30434
- "GIT_PREFIX",
30435
- "GIT_SHALLOW_FILE",
30436
- "GIT_GRAFT_FILE",
30437
- "GIT_NAMESPACE",
30438
- "GIT_IMPLICIT_WORK_TREE",
30439
- "GIT_CONFIG",
30440
- "GIT_CEILING_DIRECTORIES",
30441
- "GIT_DISCOVERY_ACROSS_FILESYSTEM",
30442
- "GIT_SUPER_PREFIX"
30443
- ]) {
30444
- delete gitEnv[name3];
30445
- }
30446
- gitEnv.GIT_TERMINAL_PROMPT = "0";
30458
+ const gitEnv = {
30459
+ ...withoutGitRepositoryEnv(),
30460
+ GIT_TERMINAL_PROMPT: "0"
30461
+ };
30447
30462
  const git = async (cwd, ...args) => (await execFileAsync2("git", ["-C", cwd, ...args], {
30448
30463
  encoding: "utf8",
30449
30464
  env: gitEnv,
@@ -31051,6 +31066,7 @@ var init_swift_packages = __esm({
31051
31066
  import_node_path66 = __toESM(require("node:path"), 1);
31052
31067
  import_promises7 = require("node:timers/promises");
31053
31068
  import_node_util13 = require("node:util");
31069
+ init_git_repo_env();
31054
31070
  init_home_paths();
31055
31071
  init_native_git();
31056
31072
  init_numbered_lock();
@@ -49201,6 +49217,7 @@ async function workspaceExclusion(root, portable = false, linkedPackages = []) {
49201
49217
  }
49202
49218
 
49203
49219
  // src/expo-native-workspace.ts
49220
+ init_git_repo_env();
49204
49221
  init_home_paths();
49205
49222
 
49206
49223
  // src/native-failure-output.ts
@@ -49713,27 +49730,7 @@ var isolatedGitEnv = {
49713
49730
  GIT_CONFIG_SYSTEM: "/dev/null"
49714
49731
  };
49715
49732
  function cleanWorkspaceGitEnv() {
49716
- const env = { ...process.env };
49717
- for (const key2 of [
49718
- "GIT_DIR",
49719
- "GIT_COMMON_DIR",
49720
- "GIT_WORK_TREE",
49721
- "GIT_INDEX_FILE",
49722
- "GIT_OBJECT_DIRECTORY",
49723
- "GIT_ALTERNATE_OBJECT_DIRECTORIES",
49724
- "GIT_PREFIX",
49725
- "GIT_SHALLOW_FILE",
49726
- "GIT_GRAFT_FILE",
49727
- "GIT_NAMESPACE",
49728
- "GIT_IMPLICIT_WORK_TREE",
49729
- "GIT_CONFIG",
49730
- "GIT_CEILING_DIRECTORIES",
49731
- "GIT_DISCOVERY_ACROSS_FILESYSTEM",
49732
- "GIT_SUPER_PREFIX"
49733
- ]) {
49734
- delete env[key2];
49735
- }
49736
- return { ...env, ...isolatedGitEnv };
49733
+ return { ...withoutGitRepositoryEnv(), ...isolatedGitEnv };
49737
49734
  }
49738
49735
  var utf8Env = { ...process.env, LANG: "en_US.UTF-8", LC_ALL: "en_US.UTF-8" };
49739
49736
  function reactNativePodsEnvironment() {
@@ -50456,8 +50453,7 @@ async function runAdmitted(lease, command, args, cwd, extraEnv) {
50456
50453
  {
50457
50454
  cwd,
50458
50455
  env: {
50459
- ...process.env,
50460
- ...isolatedGitEnv,
50456
+ ...cleanWorkspaceGitEnv(),
50461
50457
  EXPO_NO_TELEMETRY: "1",
50462
50458
  LANG: "en_US.UTF-8",
50463
50459
  LC_ALL: "en_US.UTF-8",
@@ -51047,7 +51043,7 @@ init_swift_native_pin();
51047
51043
  init_xcode_project();
51048
51044
  var EXPO_NATIVE_ENTRY_NAME = "ios";
51049
51045
  function expoNativeCompilerDigestValue() {
51050
- return true ? "c87e7134b76c5418e2c5e9e056b700b7dfc2c8ae0632c602561f4634aa4bcd8a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
51046
+ return true ? "a17d67355c6425b1af01174e300cd39b630bb0a2950d81a6827a6520170700aa" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
51051
51047
  }
51052
51048
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
51053
51049
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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.2304 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2305 | (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;