peachsim 0.1.2498 → 0.1.2500

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 (138) hide show
  1. package/cli/agent-note.ts +76 -59
  2. package/cli/cloud-client.ts +59 -1
  3. package/cli/cloud-dispatch.ts +8 -1
  4. package/cli/commands/perf-native.ts +72 -2
  5. package/cli/commands/serve.ts +30 -5
  6. package/cli/commands/stream.ts +29 -33
  7. package/cli/outbound-endpoints.ts +2 -0
  8. package/cli/stream-record.ts +56 -0
  9. package/dist-lib/agent-daemon-client.cjs +1 -1
  10. package/dist-lib/agent-events.cjs +1 -1
  11. package/dist-lib/attached-projects.cjs +1 -1
  12. package/dist-lib/auth/shared-session.cjs +1 -1
  13. package/dist-lib/backend-origin.cjs +1 -1
  14. package/dist-lib/beta.cjs +1 -1
  15. package/dist-lib/beta.mjs +2 -2
  16. package/dist-lib/bridge-constants.cjs +1 -1
  17. package/dist-lib/bridge-contract-input.cjs +1 -1
  18. package/dist-lib/bridge-contract-input.mjs +5 -5
  19. package/dist-lib/bridge-contract.cjs +1 -1
  20. package/dist-lib/bridge-contract.mjs +3 -3
  21. package/dist-lib/bundle-channel.cjs +1 -1
  22. package/dist-lib/capture-contract.cjs +1 -1
  23. package/dist-lib/capture-contract.mjs +3 -3
  24. package/dist-lib/cloud-contract.cjs +1 -1
  25. package/dist-lib/cloud-contract.mjs +3 -3
  26. package/dist-lib/cloud-test-args.cjs +1 -1
  27. package/dist-lib/cloud-test-args.mjs +2 -2
  28. package/dist-lib/cloud.cjs +1 -1
  29. package/dist-lib/cloud.mjs +7 -7
  30. package/dist-lib/config.cjs +1 -1
  31. package/dist-lib/config.mjs +5 -5
  32. package/dist-lib/detox/index.cjs +35 -19
  33. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  34. package/dist-lib/esm-chunks/{acorn-CV7H6VJJ.mjs → acorn-FAFTHRIF.mjs} +3 -3
  35. package/dist-lib/esm-chunks/{chunk-4ASYVZ5B.mjs → chunk-2TEZ22ZJ.mjs} +5 -5
  36. package/dist-lib/esm-chunks/{chunk-UQKT44EJ.mjs → chunk-3WW5WG4Z.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-SOUJNEPW.mjs → chunk-B47KUDF6.mjs} +2 -2
  38. package/dist-lib/esm-chunks/{chunk-QAIJ5OQB.mjs → chunk-BHMUWCQ3.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-AB56E2TJ.mjs → chunk-BZZDAC5F.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-RHXRTQKV.mjs → chunk-COY6S3UO.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-E3TYTJHG.mjs → chunk-DVVPGZAO.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-BISD2YO4.mjs → chunk-EE3RVR43.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-ZPGGRIC3.mjs → chunk-FTW7FYVC.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-YCQWIWGZ.mjs → chunk-G5XQIR2J.mjs} +1 -1
  45. package/dist-lib/esm-chunks/{chunk-DKGZUPYM.mjs → chunk-GUWMIHAV.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-QK3DYE56.mjs → chunk-HC2AC7SK.mjs} +4 -4
  47. package/dist-lib/esm-chunks/{chunk-FOIUHQFJ.mjs → chunk-HQFK43EA.mjs} +12 -12
  48. package/dist-lib/esm-chunks/{chunk-GB3YGXNX.mjs → chunk-JRVAB44R.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-DVMGK7EL.mjs → chunk-MAV7ERB4.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-LMRGVTQM.mjs → chunk-NVK7HKIG.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{chunk-P6UVYWER.mjs → chunk-SMNIC2BY.mjs} +1 -1
  52. package/dist-lib/esm-chunks/{chunk-6UZPG7WL.mjs → chunk-U2A7SW35.mjs} +1 -1
  53. package/dist-lib/esm-chunks/{chunk-HZVWEN6V.mjs → chunk-X7BCKYHC.mjs} +1 -1
  54. package/dist-lib/esm-chunks/{chunk-474VQXI5.mjs → chunk-Z4J4KXU3.mjs} +3 -3
  55. package/dist-lib/esm-chunks/{chunk-JURSSDET.mjs → chunk-ZUTV47C5.mjs} +5 -5
  56. package/dist-lib/esm-chunks/{metro-layout-parser-6D3UQ5ZK.mjs → metro-layout-parser-23DHUJCN.mjs} +3 -3
  57. package/dist-lib/esm-chunks/{swift-package-prebuilt-TLGMG7HO.mjs → swift-package-prebuilt-TVGODNLV.mjs} +10 -10
  58. package/dist-lib/esm-chunks/{swift-sdk-app-module-X5IDBZ4Q.mjs → swift-sdk-app-module-CZGSZHEG.mjs} +13 -13
  59. package/dist-lib/esm-chunks/{swift-sdk-image-F6O2N2C6.mjs → swift-sdk-image-2ZL67WIA.mjs} +13 -13
  60. package/dist-lib/esm-chunks/{swift-sdk-image-producer-UOV2FEBV.mjs → swift-sdk-image-producer-F4O3V7LJ.mjs} +4 -4
  61. package/dist-lib/expo-swift-bundle.cjs +1 -1
  62. package/dist-lib/expo-swift-metadata.cjs +1 -1
  63. package/dist-lib/expo-swift-metadata.mjs +7 -7
  64. package/dist-lib/home-paths.cjs +1 -1
  65. package/dist-lib/host/bridge-host.cjs +92 -59
  66. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  67. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  68. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  69. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  70. package/dist-lib/host/websocket-proxy.cjs +1 -1
  71. package/dist-lib/index.cjs +98 -16
  72. package/dist-lib/kotlin-host.cjs +1 -1
  73. package/dist-lib/menu.cjs +1 -1
  74. package/dist-lib/menu.mjs +3 -3
  75. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  76. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  77. package/dist-lib/metro-production-bundle.cjs +1 -1
  78. package/dist-lib/metro-production-bundle.mjs +4 -4
  79. package/dist-lib/native-app-identity-project.cjs +1 -1
  80. package/dist-lib/native-app-identity-project.mjs +15 -15
  81. package/dist-lib/native-app-identity.cjs +1 -1
  82. package/dist-lib/native-app-identity.mjs +6 -6
  83. package/dist-lib/native-firebase-metadata.cjs +1 -1
  84. package/dist-lib/native-firebase-metadata.mjs +3 -3
  85. package/dist-lib/pdfium-raster.cjs +1 -1
  86. package/dist-lib/pdfium-raster.mjs +2 -2
  87. package/dist-lib/plist.cjs +1 -1
  88. package/dist-lib/plist.mjs +3 -3
  89. package/dist-lib/profiles.cjs +1 -1
  90. package/dist-lib/public-brand.cjs +1 -1
  91. package/dist-lib/public-origins-lib-esm.json +81 -80
  92. package/dist-lib/public-origins-lib.json +78 -71
  93. package/dist-lib/react-native-host-modules.cjs +1 -1
  94. package/dist-lib/react-native-host-modules.mjs +2 -2
  95. package/dist-lib/reap-browser.cjs +1 -1
  96. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  97. package/dist-lib/sdk.cjs +1 -1
  98. package/dist-lib/sdk.mjs +7 -7
  99. package/dist-lib/skills.cjs +545 -459
  100. package/dist-lib/swift-compile.cjs +1 -1
  101. package/dist-lib/swift-compile.mjs +10 -10
  102. package/dist-lib/swift-package.cjs +1 -1
  103. package/dist-lib/swift-package.mjs +3 -3
  104. package/dist-lib/swift-submit.cjs +1 -1
  105. package/dist-lib/swift-submit.mjs +5 -5
  106. package/dist-lib/swift-svg-raster.cjs +30 -20
  107. package/dist-lib/swift-svg-raster.mjs +31 -21
  108. package/dist-lib/swift-toolchain.cjs +1 -1
  109. package/dist-lib/swift.cjs +1 -1
  110. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  111. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  112. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  113. package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
  114. package/dist-lib/vendor/acorn.cjs +1 -1
  115. package/dist-lib/vendor/bplist-parser.cjs +1 -1
  116. package/dist-lib/vendor/ignore.cjs +1 -1
  117. package/dist-lib/vendor/magic-string.cjs +1 -1
  118. package/dist-lib/vendor/plist.cjs +1 -1
  119. package/dist-lib/vendor/smol-toml.cjs +1 -1
  120. package/dist-lib/vendor/stream-json.cjs +1 -1
  121. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  122. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  123. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  124. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  125. package/dist-lib/vendor/sucrase.cjs +1 -1
  126. package/dist-lib/vendor/terser.cjs +1 -1
  127. package/dist-lib/vendor/valibot.cjs +1 -1
  128. package/dist-lib/vendor/ws.cjs +1 -1
  129. package/dist-lib/vendor/zod.cjs +1 -1
  130. package/dist-lib/worklet-executable.cjs +1 -1
  131. package/dist-lib/worklet-executable.mjs +3 -3
  132. package/dist-types/packages/peach-engine/src/engine/animationDriverContract.d.ts +3 -0
  133. package/dist-types/packages/peach-engine/src/engine/image-svg-raster.d.ts +1 -1
  134. package/dist-types/packages/peach-engine/src/engine/native-animation-driver.d.ts +1 -0
  135. package/dist-types/packages/peach-engine/vendor/camera/camera-heic.d.ts +2 -1
  136. package/package.json +1 -1
  137. package/src/svg-rasterizer-wasm.ts +44 -0
  138. package/src/swift-svg-raster.ts +10 -39
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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;
@@ -7869,8 +7869,8 @@ function arrayMethod(interp, self, call, env) {
7869
7869
  return Array.from({ length: intArg(interp, a) }, () => self).flat();
7870
7870
  case "join": {
7871
7871
  const sep3 = a === void 0 || a === null ? "" : strArg(interp, a);
7872
- const join28 = (values) => values.map((v10) => Array.isArray(v10) ? join28(v10) : interp.toS(v10, env)).join(sep3);
7873
- return str(join28(self));
7872
+ const join29 = (values) => values.map((v10) => Array.isArray(v10) ? join29(v10) : interp.toS(v10, env)).join(sep3);
7873
+ return str(join29(self));
7874
7874
  }
7875
7875
  case "compact":
7876
7876
  return self.filter((v10) => v10 !== null);
@@ -11616,7 +11616,7 @@ function rubyGlob(pattern, base2, dotMatch = false) {
11616
11616
  return;
11617
11617
  }
11618
11618
  const segment2 = segments[index];
11619
- const join28 = (name3) => shown === "" ? name3 : shown.endsWith("/") ? shown + name3 : `${shown}/${name3}`;
11619
+ const join29 = (name3) => shown === "" ? name3 : shown.endsWith("/") ? shown + name3 : `${shown}/${name3}`;
11620
11620
  if (segment2 === "" && index === 0) {
11621
11621
  walk4("/", "/", index + 1);
11622
11622
  return;
@@ -11632,14 +11632,14 @@ function rubyGlob(pattern, base2, dotMatch = false) {
11632
11632
  for (const entry of entries2.sort((a, b) => a.name < b.name ? -1 : 1)) {
11633
11633
  if (!dotMatch && entry.name.startsWith(".")) continue;
11634
11634
  if (entry.isDirectory())
11635
- walk4(import_node_path30.default.join(dir, entry.name), join28(entry.name), index);
11635
+ walk4(import_node_path30.default.join(dir, entry.name), join29(entry.name), index);
11636
11636
  }
11637
11637
  return;
11638
11638
  }
11639
11639
  if (!/[*?[{\\]/.test(segment2)) {
11640
11640
  const next = import_node_path30.default.join(dir, segment2);
11641
11641
  if (index === segments.length - 1 ? import_node_fs32.default.existsSync(next) : isDirectory(next))
11642
- walk4(next, join28(segment2), index + 1);
11642
+ walk4(next, join29(segment2), index + 1);
11643
11643
  return;
11644
11644
  }
11645
11645
  const matcher = segmentMatcher(segment2, dotMatch);
@@ -11653,7 +11653,7 @@ function rubyGlob(pattern, base2, dotMatch = false) {
11653
11653
  if (!matcher.test(name3)) continue;
11654
11654
  const next = import_node_path30.default.join(dir, name3);
11655
11655
  if (index < segments.length - 1 && !isDirectory(next)) continue;
11656
- walk4(next, join28(name3), index + 1);
11656
+ walk4(next, join29(name3), index + 1);
11657
11657
  }
11658
11658
  };
11659
11659
  walk4(absolute ? "/" : base2, "", absolute ? 1 : 0);
@@ -70080,7 +70080,7 @@ function groupParentsOf(objects) {
70080
70080
  groupParents.set(objects, parents);
70081
70081
  return parents;
70082
70082
  }
70083
- function xcodePathResolver(objects, projectDir, join28, sourceTreeRoot) {
70083
+ function xcodePathResolver(objects, projectDir, join29, sourceTreeRoot) {
70084
70084
  const parents = groupParentsOf(objects);
70085
70085
  const paths = /* @__PURE__ */ new Map();
70086
70086
  const resolve10 = (id) => {
@@ -70092,14 +70092,14 @@ function xcodePathResolver(objects, projectDir, join28, sourceTreeRoot) {
70092
70092
  const own2 = str2(entry.path) ?? "";
70093
70093
  const tree2 = str2(entry.sourceTree) ?? "<group>";
70094
70094
  if (tree2 === "<absolute>") result = own2;
70095
- else if (tree2 === "SOURCE_ROOT") result = join28(projectDir, own2);
70095
+ else if (tree2 === "SOURCE_ROOT") result = join29(projectDir, own2);
70096
70096
  else if (tree2 === "<group>") {
70097
70097
  const parent = parents.get(id);
70098
70098
  const base2 = parent ? resolve10(parent) : projectDir;
70099
- if (base2 !== null) result = join28(base2, own2);
70099
+ if (base2 !== null) result = join29(base2, own2);
70100
70100
  } else {
70101
70101
  const base2 = sourceTreeRoot?.(tree2);
70102
- if (base2) result = join28(base2, own2);
70102
+ if (base2) result = join29(base2, own2);
70103
70103
  }
70104
70104
  }
70105
70105
  paths.set(id, result);
@@ -70121,7 +70121,7 @@ function xcodeTargetMemberVisitor(objects) {
70121
70121
  if (isDict(group) && group.isa === "PBXFileSystemSynchronizedRootGroup")
70122
70122
  synchronizedGroups.push({ id, group });
70123
70123
  }
70124
- return (targetId, resolvePath, filesUnder, join28, visit3) => {
70124
+ return (targetId, resolvePath, filesUnder, join29, visit3) => {
70125
70125
  const target = objects[targetId];
70126
70126
  if (!isDict(target)) return;
70127
70127
  for (const phaseId of list(target.buildPhases)) {
@@ -70168,7 +70168,7 @@ function xcodeTargetMemberVisitor(objects) {
70168
70168
  for (const relative5 of list(exception.membershipExceptions))
70169
70169
  exceptions.add(relative5);
70170
70170
  }
70171
- const members2 = owned.has(groupId) ? filesUnder(folder) : [...exceptions].flatMap((relative5) => filesUnder(join28(folder, relative5)));
70171
+ const members2 = owned.has(groupId) ? filesUnder(folder) : [...exceptions].flatMap((relative5) => filesUnder(join29(folder, relative5)));
70172
70172
  for (const file of members2) {
70173
70173
  const relative5 = file.slice(prefix.length);
70174
70174
  const excepted = [...exceptions].some(
@@ -121243,6 +121243,37 @@ var init_run_registry = __esm({
121243
121243
  }
121244
121244
  });
121245
121245
 
121246
+ // cli/stream-record.ts
121247
+ var import_node_fs176, import_node_path179, import_zod4, sceneCommandEndpoint, streamRecord;
121248
+ var init_stream_record = __esm({
121249
+ "cli/stream-record.ts"() {
121250
+ "use strict";
121251
+ import_node_fs176 = require("node:fs");
121252
+ import_node_path179 = require("node:path");
121253
+ import_zod4 = require("peachsim/vendor/zod");
121254
+ init_home_paths();
121255
+ init_secure_file();
121256
+ sceneCommandEndpoint = import_zod4.z.object({
121257
+ port: import_zod4.z.number().int().min(1).max(65535),
121258
+ token: import_zod4.z.string().regex(/^[a-f0-9]{64}$/)
121259
+ });
121260
+ streamRecord = import_zod4.z.object({
121261
+ sessionId: import_zod4.z.string(),
121262
+ accountId: import_zod4.z.string(),
121263
+ origin: import_zod4.z.string(),
121264
+ watchUrl: import_zod4.z.string(),
121265
+ command: sceneCommandEndpoint.optional()
121266
+ });
121267
+ }
121268
+ });
121269
+
121270
+ // cli/usage-error.ts
121271
+ var init_usage_error = __esm({
121272
+ "cli/usage-error.ts"() {
121273
+ "use strict";
121274
+ }
121275
+ });
121276
+
121246
121277
  // cli/cloud-client.ts
121247
121278
  function failureSentence(text7) {
121248
121279
  let parsed2;
@@ -121274,27 +121305,27 @@ function resolveCloudOrigin(value) {
121274
121305
  return normalizeCloudOrigin(source);
121275
121306
  }
121276
121307
  function readImmutableBundleSource(bundlePath, command) {
121277
- const filepath = (0, import_node_path179.resolve)(bundlePath);
121278
- if ((0, import_node_path179.extname)(filepath) === ".hbc") {
121308
+ const filepath = (0, import_node_path180.resolve)(bundlePath);
121309
+ if ((0, import_node_path180.extname)(filepath) === ".hbc") {
121279
121310
  const platform3 = filepath.includes("/android/") ? "android" : "ios";
121280
121311
  throw new Error(
121281
121312
  `${command} cannot preview Hermes bytecode (${bundlePath}). Export plain JavaScript with \`npx expo export --platform ${platform3} --no-bytecode\` and preview the .js bundle instead.`
121282
121313
  );
121283
121314
  }
121284
- if ((0, import_node_path179.extname)(filepath) !== ".js") {
121315
+ if ((0, import_node_path180.extname)(filepath) !== ".js") {
121285
121316
  throw new Error(`${command} requires one local .js bundle`);
121286
121317
  }
121287
- const descriptor = (0, import_node_fs176.openSync)(filepath, "r");
121318
+ const descriptor = (0, import_node_fs177.openSync)(filepath, "r");
121288
121319
  try {
121289
- const before = (0, import_node_fs176.fstatSync)(descriptor, { bigint: true });
121320
+ const before = (0, import_node_fs177.fstatSync)(descriptor, { bigint: true });
121290
121321
  if (!before.isFile()) {
121291
121322
  throw new Error(`${command} bundle must be a regular local file`);
121292
121323
  }
121293
121324
  if (before.size <= 0n) {
121294
121325
  throw new Error(`${command} bundle is empty`);
121295
121326
  }
121296
- const bytes = (0, import_node_fs176.readFileSync)(descriptor);
121297
- const after = (0, import_node_fs176.fstatSync)(descriptor, { bigint: true });
121327
+ const bytes = (0, import_node_fs177.readFileSync)(descriptor);
121328
+ const after = (0, import_node_fs177.fstatSync)(descriptor, { bigint: true });
121298
121329
  if (before.dev !== after.dev || before.ino !== after.ino || before.size !== after.size || before.mtimeNs !== after.mtimeNs || bytes.length !== Number(before.size)) {
121299
121330
  throw new Error(`${command} bundle changed while it was being read`);
121300
121331
  }
@@ -121306,7 +121337,7 @@ function readImmutableBundleSource(bundlePath, command) {
121306
121337
  }
121307
121338
  return source;
121308
121339
  } finally {
121309
- (0, import_node_fs176.closeSync)(descriptor);
121340
+ (0, import_node_fs177.closeSync)(descriptor);
121310
121341
  }
121311
121342
  }
121312
121343
  async function fetchBundleSource(bundleUrl, command) {
@@ -121360,15 +121391,15 @@ async function loadBundleSource(bundleInput, command) {
121360
121391
  return source;
121361
121392
  }
121362
121393
  function listMetroAssetDest(assetsPath) {
121363
- const directory2 = (0, import_node_path179.resolve)(assetsPath);
121364
- if (!(0, import_node_fs176.existsSync)(directory2)) return { directory: directory2, files: [], truncated: false };
121365
- const skipNested = (0, import_node_fs176.existsSync)((0, import_node_path179.join)(directory2, "package.json"));
121394
+ const directory2 = (0, import_node_path180.resolve)(assetsPath);
121395
+ if (!(0, import_node_fs177.existsSync)(directory2)) return { directory: directory2, files: [], truncated: false };
121396
+ const skipNested = (0, import_node_fs177.existsSync)((0, import_node_path180.join)(directory2, "package.json"));
121366
121397
  const files2 = [];
121367
121398
  let truncated = false;
121368
121399
  const walk4 = (dir, prefix) => {
121369
121400
  let entries2;
121370
121401
  try {
121371
- entries2 = (0, import_node_fs176.readdirSync)(dir, { withFileTypes: true });
121402
+ entries2 = (0, import_node_fs177.readdirSync)(dir, { withFileTypes: true });
121372
121403
  } catch {
121373
121404
  return;
121374
121405
  }
@@ -121380,7 +121411,7 @@ function listMetroAssetDest(assetsPath) {
121380
121411
  if (entry.isDirectory()) {
121381
121412
  if (entry.name === ".git") continue;
121382
121413
  if (skipNested && PROJECT_ONLY_DIRECTORIES.has(entry.name)) continue;
121383
- walk4((0, import_node_path179.join)(dir, entry.name), prefix ? `${prefix}/${entry.name}` : entry.name);
121414
+ walk4((0, import_node_path180.join)(dir, entry.name), prefix ? `${prefix}/${entry.name}` : entry.name);
121384
121415
  } else if (entry.isFile()) {
121385
121416
  files2.push(prefix ? `${prefix}/${entry.name}` : entry.name);
121386
121417
  }
@@ -121415,7 +121446,7 @@ function distinctByContent(directory2, options2) {
121415
121446
  for (const relative5 of options2) {
121416
121447
  let bytes;
121417
121448
  try {
121418
- bytes = (0, import_node_fs176.readFileSync)((0, import_node_path179.join)(directory2, relative5));
121449
+ bytes = (0, import_node_fs177.readFileSync)((0, import_node_path180.join)(directory2, relative5));
121419
121450
  } catch {
121420
121451
  continue;
121421
121452
  }
@@ -121461,7 +121492,7 @@ function placeMetroDescriptor(listing, descriptor) {
121461
121492
  let bytes;
121462
121493
  try {
121463
121494
  bytes = combination.map(
121464
- (relative5) => (0, import_node_fs176.readFileSync)((0, import_node_path179.join)(listing.directory, relative5))
121495
+ (relative5) => (0, import_node_fs177.readFileSync)((0, import_node_path180.join)(listing.directory, relative5))
121465
121496
  );
121466
121497
  } catch {
121467
121498
  continue;
@@ -121489,10 +121520,10 @@ function unverifiedContentKey(dest, fileDigests2) {
121489
121520
  return JSON.stringify(
121490
121521
  dest.placements.map(
121491
121522
  (placement) => placement.verified ? null : [...placement.files].map(([scale, relative5]) => {
121492
- const file = (0, import_node_path179.join)(dest.directory, relative5);
121523
+ const file = (0, import_node_path180.join)(dest.directory, relative5);
121493
121524
  let digest3 = fileDigests2.get(file);
121494
121525
  if (digest3 === void 0) {
121495
- digest3 = (0, import_node_crypto104.createHash)("sha256").update((0, import_node_fs176.readFileSync)(file)).digest("hex");
121526
+ digest3 = (0, import_node_crypto104.createHash)("sha256").update((0, import_node_fs177.readFileSync)(file)).digest("hex");
121496
121527
  fileDigests2.set(file, digest3);
121497
121528
  }
121498
121529
  return [scale, digest3];
@@ -121501,42 +121532,42 @@ function unverifiedContentKey(dest, fileDigests2) {
121501
121532
  );
121502
121533
  }
121503
121534
  function findExpoExportRoot(bundleDirectory) {
121504
- let directory2 = (0, import_node_path179.resolve)(bundleDirectory);
121535
+ let directory2 = (0, import_node_path180.resolve)(bundleDirectory);
121505
121536
  for (let depth = 0; depth < 6; depth++) {
121506
- const metadata = (0, import_node_path179.join)(directory2, "metadata.json");
121507
- if ((0, import_node_fs176.existsSync)(metadata) && (0, import_node_fs176.existsSync)((0, import_node_path179.join)(directory2, "assets"))) {
121537
+ const metadata = (0, import_node_path180.join)(directory2, "metadata.json");
121538
+ if ((0, import_node_fs177.existsSync)(metadata) && (0, import_node_fs177.existsSync)((0, import_node_path180.join)(directory2, "assets"))) {
121508
121539
  try {
121509
- if ((0, import_node_fs176.readFileSync)(metadata, "utf8").includes('"fileMetadata"')) {
121540
+ if ((0, import_node_fs177.readFileSync)(metadata, "utf8").includes('"fileMetadata"')) {
121510
121541
  return directory2;
121511
121542
  }
121512
121543
  } catch {
121513
121544
  }
121514
121545
  }
121515
- const parent = (0, import_node_path179.dirname)(directory2);
121546
+ const parent = (0, import_node_path180.dirname)(directory2);
121516
121547
  if (parent === directory2) return null;
121517
121548
  directory2 = parent;
121518
121549
  }
121519
121550
  return null;
121520
121551
  }
121521
121552
  function searchMetroAssetDest(bundlePath, descriptors, command, assetsDirectory) {
121522
- const bundleDirectory = (0, import_node_path179.dirname)((0, import_node_path179.resolve)(bundlePath));
121553
+ const bundleDirectory = (0, import_node_path180.dirname)((0, import_node_path180.resolve)(bundlePath));
121523
121554
  const expoRoot = assetsDirectory || isRemoteBundleInput(bundlePath) ? null : findExpoExportRoot(bundleDirectory);
121524
- const candidates = assetsDirectory ? [(0, import_node_path179.resolve)(assetsDirectory)] : [
121525
- ...expoRoot ? [(0, import_node_path179.join)(expoRoot, "assets")] : [],
121526
- (0, import_node_path179.join)(bundleDirectory, "assets"),
121555
+ const candidates = assetsDirectory ? [(0, import_node_path180.resolve)(assetsDirectory)] : [
121556
+ ...expoRoot ? [(0, import_node_path180.join)(expoRoot, "assets")] : [],
121557
+ (0, import_node_path180.join)(bundleDirectory, "assets"),
121527
121558
  bundleDirectory,
121528
- (0, import_node_path179.resolve)(bundleDirectory, "..", "assets")
121559
+ (0, import_node_path180.resolve)(bundleDirectory, "..", "assets")
121529
121560
  ];
121530
121561
  const cwd = process.cwd();
121531
121562
  let projectDirectory = null;
121532
121563
  for (const start of assetsDirectory ? [] : [bundleDirectory, cwd]) {
121533
- let directory2 = (0, import_node_path179.resolve)(start);
121564
+ let directory2 = (0, import_node_path180.resolve)(start);
121534
121565
  while (true) {
121535
121566
  if (detectProject(directory2)?.hasMetroConfig) {
121536
121567
  projectDirectory = directory2;
121537
121568
  break;
121538
121569
  }
121539
- const parent = (0, import_node_path179.dirname)(directory2);
121570
+ const parent = (0, import_node_path180.dirname)(directory2);
121540
121571
  if (parent === directory2) break;
121541
121572
  directory2 = parent;
121542
121573
  }
@@ -121544,11 +121575,11 @@ function searchMetroAssetDest(bundlePath, descriptors, command, assetsDirectory)
121544
121575
  }
121545
121576
  if (projectDirectory) {
121546
121577
  candidates.push(
121547
- (0, import_node_path179.join)(projectDirectory, "assets"),
121548
- (0, import_node_path179.join)(projectDirectory, "dist"),
121549
- (0, import_node_path179.join)(projectDirectory, "dist", "assets"),
121550
- (0, import_node_path179.join)(projectDirectory, "build"),
121551
- (0, import_node_path179.join)(projectDirectory, "build", "assets")
121578
+ (0, import_node_path180.join)(projectDirectory, "assets"),
121579
+ (0, import_node_path180.join)(projectDirectory, "dist"),
121580
+ (0, import_node_path180.join)(projectDirectory, "dist", "assets"),
121581
+ (0, import_node_path180.join)(projectDirectory, "build"),
121582
+ (0, import_node_path180.join)(projectDirectory, "build", "assets")
121552
121583
  );
121553
121584
  }
121554
121585
  const searched = [];
@@ -121556,7 +121587,7 @@ function searchMetroAssetDest(bundlePath, descriptors, command, assetsDirectory)
121556
121587
  const stale = [];
121557
121588
  let truncated = false;
121558
121589
  for (const candidate of candidates) {
121559
- const directory2 = (0, import_node_path179.resolve)(candidate);
121590
+ const directory2 = (0, import_node_path180.resolve)(candidate);
121560
121591
  if (searched.includes(directory2)) continue;
121561
121592
  searched.push(directory2);
121562
121593
  const listing = listMetroAssetDest(directory2);
@@ -121637,20 +121668,20 @@ async function produceCloudArtifact(bundlePath, maxBytes = MAX_RNX_CLOUD_BUNDLE_
121637
121668
  }
121638
121669
  function bundleAppProject(bundlePath) {
121639
121670
  if (isRemoteBundleInput(bundlePath)) return null;
121640
- for (let dir = (0, import_node_path179.dirname)((0, import_node_path179.resolve)(bundlePath)); ; dir = (0, import_node_path179.dirname)(dir)) {
121641
- const manifest = (0, import_node_path179.join)(dir, "package.json");
121642
- if ((0, import_node_fs176.existsSync)(manifest)) {
121643
- const json = JSON.parse((0, import_node_fs176.readFileSync)(manifest, "utf8"));
121671
+ for (let dir = (0, import_node_path180.dirname)((0, import_node_path180.resolve)(bundlePath)); ; dir = (0, import_node_path180.dirname)(dir)) {
121672
+ const manifest = (0, import_node_path180.join)(dir, "package.json");
121673
+ if ((0, import_node_fs177.existsSync)(manifest)) {
121674
+ const json = JSON.parse((0, import_node_fs177.readFileSync)(manifest, "utf8"));
121644
121675
  if (isRecord(json) && [json.dependencies, json.devDependencies].some(
121645
121676
  (dependencies) => isRecord(dependencies) && "react-native" in dependencies
121646
121677
  ))
121647
121678
  return dir;
121648
121679
  }
121649
- if ((0, import_node_path179.dirname)(dir) === dir) return null;
121680
+ if ((0, import_node_path180.dirname)(dir) === dir) return null;
121650
121681
  }
121651
121682
  }
121652
121683
  async function embedBundleAssets(bundlePath, command, assetPolicy, assetsDirectory, assetServer, nativeProjectDir) {
121653
- const project2 = nativeProjectDir ? (0, import_node_path179.resolve)(nativeProjectDir) : bundleAppProject(bundlePath);
121684
+ const project2 = nativeProjectDir ? (0, import_node_path180.resolve)(nativeProjectDir) : bundleAppProject(bundlePath);
121654
121685
  const loaded4 = await loadBundleSource(bundlePath, command);
121655
121686
  const source = project2 && !readPackageVersionsFooter(loaded4)?.["react-native"] ? insertPackageVersionsFooter(
121656
121687
  loaded4,
@@ -121691,7 +121722,7 @@ async function embedBundleAssets(bundlePath, command, assetPolicy, assetsDirecto
121691
121722
  );
121692
121723
  }
121693
121724
  const relative5 = placement?.files.get(variant2.scale);
121694
- if (relative5 && dest) return (0, import_node_fs176.readFileSync)((0, import_node_path179.join)(dest.directory, relative5));
121725
+ if (relative5 && dest) return (0, import_node_fs177.readFileSync)((0, import_node_path180.join)(dest.directory, relative5));
121695
121726
  if (assetServer) {
121696
121727
  const filename2 = metroAssetScaleFilename(
121697
121728
  variant2.descriptor.name,
@@ -121739,7 +121770,7 @@ async function embedBundleAssets(bundlePath, command, assetPolicy, assetsDirecto
121739
121770
  );
121740
121771
  const classic = metroIosAssetDestRelatives(variant2.descriptor.httpServerLocation, filename)[0] ?? filename;
121741
121772
  throw new Error(
121742
- `${command} could not read ${(0, import_node_path179.join)(dest?.directory ?? ".", classic)} for ${variant2.descriptor.name}.${variant2.descriptor.type} at scale ${variant2.scale}, and has no stand-in for a .${variant2.descriptor.type} asset. Rebuild with \`react-native bundle --assets-dest\`.`
121773
+ `${command} could not read ${(0, import_node_path180.join)(dest?.directory ?? ".", classic)} for ${variant2.descriptor.name}.${variant2.descriptor.type} at scale ${variant2.scale}, and has no stand-in for a .${variant2.descriptor.type} asset. Rebuild with \`react-native bundle --assets-dest\`.`
121743
121774
  );
121744
121775
  });
121745
121776
  return {
@@ -121886,13 +121917,13 @@ async function createCloudBox(options2) {
121886
121917
  warnings: artifact.warnings
121887
121918
  };
121888
121919
  }
121889
- var import_node_crypto104, import_node_fs176, import_node_path179, import_node_vm, DEFAULT_RNX_CLOUD_ORIGIN, MAX_RNX_CLOUD_BUNDLE_BYTES, REMOTE_COMMAND, PREVIEW_COMMAND, NanoDevelopmentOnlyError, MAX_ASSET_DEST_FILES, ACCOUNT_CHOICE_REFUSALS, PROJECT_ONLY_DIRECTORIES, MAX_PLACEMENT_COMBINATIONS;
121920
+ var import_node_crypto104, import_node_fs177, import_node_path180, import_node_vm, DEFAULT_RNX_CLOUD_ORIGIN, MAX_RNX_CLOUD_BUNDLE_BYTES, REMOTE_COMMAND, PREVIEW_COMMAND, NanoDevelopmentOnlyError, MAX_ASSET_DEST_FILES, ACCOUNT_CHOICE_REFUSALS, PROJECT_ONLY_DIRECTORIES, MAX_PLACEMENT_COMBINATIONS;
121890
121921
  var init_cloud_client = __esm({
121891
121922
  "cli/cloud-client.ts"() {
121892
121923
  "use strict";
121893
121924
  import_node_crypto104 = require("node:crypto");
121894
- import_node_fs176 = require("node:fs");
121895
- import_node_path179 = require("node:path");
121925
+ import_node_fs177 = require("node:fs");
121926
+ import_node_path180 = require("node:path");
121896
121927
  import_node_vm = require("node:vm");
121897
121928
  init_package_versions();
121898
121929
  init_metroAssetArtifact();
@@ -121911,6 +121942,8 @@ var init_cloud_client = __esm({
121911
121942
  init_command_agent();
121912
121943
  init_detect();
121913
121944
  init_run_registry();
121945
+ init_stream_record();
121946
+ init_usage_error();
121914
121947
  DEFAULT_RNX_CLOUD_ORIGIN = rnxPublicBrand.origin;
121915
121948
  MAX_RNX_CLOUD_BUNDLE_BYTES = RNX_CLOUD_MAX_ARTIFACT_BYTES;
121916
121949
  REMOTE_COMMAND = "peach remote";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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,5 +1,5 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "../esm-chunks/chunk-DVMGK7EL.mjs";
1
+ /*! peach v0.1.2500 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "../esm-chunks/chunk-MAV7ERB4.mjs";
3
3
 
4
4
  // src/host/fetch-proxy-overrides.ts
5
5
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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;
@@ -1172,8 +1172,8 @@ module.exports = __toCommonJS(src_exports);
1172
1172
 
1173
1173
  // cli/cloud-client.ts
1174
1174
  var import_node_crypto7 = require("node:crypto");
1175
- var import_node_fs15 = require("node:fs");
1176
- var import_node_path13 = require("node:path");
1175
+ var import_node_fs16 = require("node:fs");
1176
+ var import_node_path14 = require("node:path");
1177
1177
  var import_node_vm = require("node:vm");
1178
1178
 
1179
1179
  // src/cli-runtime.ts
@@ -6643,6 +6643,41 @@ end
6643
6643
  // cli/run-registry.ts
6644
6644
  var import_child_process2 = require("child_process");
6645
6645
 
6646
+ // cli/stream-record.ts
6647
+ var import_node_fs15 = require("node:fs");
6648
+ var import_node_path13 = require("node:path");
6649
+ var import_zod2 = require("peachsim/vendor/zod");
6650
+ var sceneCommandEndpoint = import_zod2.z.object({
6651
+ port: import_zod2.z.number().int().min(1).max(65535),
6652
+ token: import_zod2.z.string().regex(/^[a-f0-9]{64}$/)
6653
+ });
6654
+ var streamRecord = import_zod2.z.object({
6655
+ sessionId: import_zod2.z.string(),
6656
+ accountId: import_zod2.z.string(),
6657
+ origin: import_zod2.z.string(),
6658
+ watchUrl: import_zod2.z.string(),
6659
+ command: sceneCommandEndpoint.optional()
6660
+ });
6661
+ function streamRecordPath(simId) {
6662
+ return (0, import_node_path13.join)(rnxHomeDir(), "streams", `${encodeURIComponent(simId)}.json`);
6663
+ }
6664
+ function readLocalStreamRecord(simId) {
6665
+ try {
6666
+ return streamRecord.parse(JSON.parse((0, import_node_fs15.readFileSync)(streamRecordPath(simId), "utf8")));
6667
+ } catch (error) {
6668
+ if (error instanceof Error && "code" in error && error.code === "ENOENT") return null;
6669
+ throw error;
6670
+ }
6671
+ }
6672
+ function readSceneStreamForParsed(parsed) {
6673
+ const record = !parsed.explicitPort && parsed.simId ? readLocalStreamRecord(parsed.simId) : null;
6674
+ return record?.command ? { ...record, command: record.command } : null;
6675
+ }
6676
+
6677
+ // cli/usage-error.ts
6678
+ var CliUsageError = class extends Error {
6679
+ };
6680
+
6646
6681
  // cli/cloud-client.ts
6647
6682
  var DEFAULT_RNX_CLOUD_ORIGIN = rnxPublicBrand.origin;
6648
6683
  function failureSentence(text) {
@@ -6850,15 +6885,62 @@ var CloudBoxBridge = class {
6850
6885
  }
6851
6886
  };
6852
6887
  function createCloudBridgeForParsed(parsed) {
6888
+ const scene = readSceneStreamForParsed(parsed);
6889
+ const timeoutMs = parsed.explicitTimeout ? parsed.commandTimeoutMs : void 0;
6890
+ if (scene) return new SceneBridge(scene.command, timeoutMs);
6853
6891
  const session = resolveCloudSessionForParsed(parsed);
6854
6892
  if (!session) return null;
6855
- const timeoutMs = parsed.explicitTimeout ? parsed.commandTimeoutMs : void 0;
6856
6893
  return session.service === "box" ? new CloudBoxBridge(session, timeoutMs) : new CloudBridge(session, timeoutMs);
6857
6894
  }
6895
+ var SceneBridge = class {
6896
+ constructor(endpoint, explicitTimeoutMs) {
6897
+ this.endpoint = endpoint;
6898
+ this.explicitTimeoutMs = explicitTimeoutMs;
6899
+ }
6900
+ plane = "cloud";
6901
+ async send(command, options) {
6902
+ const timeoutMs = options?.timeoutMs ?? this.explicitTimeoutMs ?? options?.defaultTimeoutMs ?? 15e3;
6903
+ const agent = commandAgent(command);
6904
+ const response = await fetch(`http://127.0.0.1:${this.endpoint.port}/command`, {
6905
+ method: "POST",
6906
+ headers: {
6907
+ authorization: `Bearer ${this.endpoint.token}`,
6908
+ "content-type": "application/json"
6909
+ },
6910
+ body: JSON.stringify(cloudCommand(agent ? { ...command, agent } : command)),
6911
+ ...timeoutMs ? { signal: AbortSignal.timeout(timeoutMs) } : {}
6912
+ });
6913
+ if (!response.ok && response.headers.get("content-type") !== "application/json")
6914
+ throw new CliUsageError(`Scene host returned HTTP ${response.status}.`);
6915
+ const body = await response.json();
6916
+ if (!response.ok)
6917
+ throw new Error(
6918
+ isRecord(body) && typeof body.error === "string" ? body.error : `scene host returned HTTP ${response.status}`
6919
+ );
6920
+ return body;
6921
+ }
6922
+ async listSims() {
6923
+ throw new CliUsageError("Use peach list to see simulators on the local bridge.");
6924
+ }
6925
+ async resolveReloadedSim() {
6926
+ return null;
6927
+ }
6928
+ async focusSim() {
6929
+ throw new Error("a scene host has no browser window to focus");
6930
+ }
6931
+ async closeSim() {
6932
+ throw new Error("stop the scene host to close its simulator");
6933
+ }
6934
+ async claim() {
6935
+ throw new Error("a scene host does not use CLI claims");
6936
+ }
6937
+ close() {
6938
+ }
6939
+ };
6858
6940
 
6859
6941
  // cli/ws-bridge.ts
6860
- var import_node_fs17 = __toESM(require("node:fs"), 1);
6861
- var import_node_path15 = __toESM(require("node:path"), 1);
6942
+ var import_node_fs18 = __toESM(require("node:fs"), 1);
6943
+ var import_node_path16 = __toESM(require("node:path"), 1);
6862
6944
  var import_ws = require("peachsim/vendor/ws");
6863
6945
 
6864
6946
  // src/bridge-constants.ts
@@ -6926,11 +7008,11 @@ var DEFAULT_SOOTSIM_SHELL_URL = "http://localhost:5173/";
6926
7008
 
6927
7009
  // cli/pause-aware-timeout.ts
6928
7010
  var import_node_child_process5 = require("node:child_process");
6929
- var import_node_fs16 = require("node:fs");
7011
+ var import_node_fs17 = require("node:fs");
6930
7012
  var import_node_os5 = __toESM(require("node:os"), 1);
6931
- var import_node_path14 = __toESM(require("node:path"), 1);
6932
- var LEDGER_PATH = import_node_path14.default.join(
6933
- process.env.TM_HOME || import_node_path14.default.join(import_node_os5.default.homedir(), ".team-machine"),
7013
+ var import_node_path15 = __toESM(require("node:path"), 1);
7014
+ var LEDGER_PATH = import_node_path15.default.join(
7015
+ process.env.TM_HOME || import_node_path15.default.join(import_node_os5.default.homedir(), ".team-machine"),
6934
7016
  "governor-pauses.json"
6935
7017
  );
6936
7018
  var TICK_MS = 500;
@@ -6940,7 +7022,7 @@ var pollDueAt = 0;
6940
7022
  function pausedPids() {
6941
7023
  try {
6942
7024
  const ledger = JSON.parse(
6943
- (0, import_node_fs16.readFileSync)(LEDGER_PATH, "utf8")
7025
+ (0, import_node_fs17.readFileSync)(LEDGER_PATH, "utf8")
6944
7026
  );
6945
7027
  return Object.values(ledger).flatMap((procs) => procs.map((proc) => proc.pid));
6946
7028
  } catch {
@@ -7021,17 +7103,17 @@ function liveDevBridgeLockfiles() {
7021
7103
  return readDevBridgeLockfiles().filter((lockfile) => isDevBridgeLockfileFresh(lockfile));
7022
7104
  }
7023
7105
  function checkoutRoot(cwd) {
7024
- let current = import_node_path15.default.resolve(cwd);
7106
+ let current = import_node_path16.default.resolve(cwd);
7025
7107
  while (true) {
7026
- if (import_node_fs17.default.existsSync(import_node_path15.default.join(current, ".git"))) return current;
7027
- const parent = import_node_path15.default.dirname(current);
7108
+ if (import_node_fs18.default.existsSync(import_node_path16.default.join(current, ".git"))) return current;
7109
+ const parent = import_node_path16.default.dirname(current);
7028
7110
  if (parent === current) return null;
7029
7111
  current = parent;
7030
7112
  }
7031
7113
  }
7032
7114
  function pathContains(parent, child) {
7033
- const relative = import_node_path15.default.relative(parent, child);
7034
- return relative === "" || relative !== ".." && !relative.startsWith(`..${import_node_path15.default.sep}`) && !import_node_path15.default.isAbsolute(relative);
7115
+ const relative = import_node_path16.default.relative(parent, child);
7116
+ return relative === "" || relative !== ".." && !relative.startsWith(`..${import_node_path16.default.sep}`) && !import_node_path16.default.isAbsolute(relative);
7035
7117
  }
7036
7118
  function resolveDefaultDevBridgeLockfile() {
7037
7119
  const lockfiles = liveDevBridgeLockfiles();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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/menu.mjs CHANGED
@@ -1,8 +1,8 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  rnxPublicBrand
4
- } from "./esm-chunks/chunk-P6UVYWER.mjs";
5
- import "./esm-chunks/chunk-DVMGK7EL.mjs";
4
+ } from "./esm-chunks/chunk-SMNIC2BY.mjs";
5
+ import "./esm-chunks/chunk-MAV7ERB4.mjs";
6
6
 
7
7
  // src/menuContract.ts
8
8
  var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (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,8 +1,8 @@
1
- /*! peach v0.1.2498 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2500 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  isRecord
4
- } from "./esm-chunks/chunk-UQKT44EJ.mjs";
5
- import "./esm-chunks/chunk-DVMGK7EL.mjs";
4
+ } from "./esm-chunks/chunk-3WW5WG4Z.mjs";
5
+ import "./esm-chunks/chunk-MAV7ERB4.mjs";
6
6
 
7
7
  // src/metro-fingerprint-registry.ts
8
8
  var RNX_METRO_FINGERPRINT_SCHEMA_VERSION = 2;