peachsim 0.1.2026 → 0.1.2028

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 (83) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +1 -1
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +1 -1
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +25 -33
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +1 -1
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +1 -1
  47. package/dist-lib/native-app-identity-project.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.mjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +48 -56
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +1 -1
  77. package/dist-lib/vite.cjs +1 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/node.d.ts +2 -2
  81. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +4 -2
  82. package/package.json +1 -1
  83. package/src/expo-widgets-bundle.ts +19 -23
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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;
@@ -45,13 +45,13 @@ var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
45
45
 
46
46
  // src/chromium-admission.ts
47
47
  function readChromiumQueue(deps, verified2, own) {
48
- const { fs: fs103, os: os24, path: path126, childProcess: childProcess3 } = deps;
48
+ const { fs: fs103, os: os23, path: path126, childProcess: childProcess3 } = deps;
49
49
  const dir = path126.join(
50
- process.platform === "win32" ? os24.tmpdir() : "/tmp",
50
+ process.platform === "win32" ? os23.tmpdir() : "/tmp",
51
51
  "chromium-admission"
52
52
  );
53
53
  fs103.mkdirSync(dir, { recursive: true });
54
- const limit = Math.max(2, Math.floor(os24.cpus().length / 2));
54
+ const limit = Math.max(2, Math.floor(os23.cpus().length / 2));
55
55
  const live = (entry) => {
56
56
  const match = /^(\d+)-(\d+)-/.exec(entry);
57
57
  if (!match) return false;
@@ -83430,31 +83430,24 @@ async function buildExpoWidgetsBundle(appRoot, origin = "") {
83430
83430
  return null;
83431
83431
  throw error;
83432
83432
  }
83433
- const temporary = await import_promises9.default.mkdtemp(import_node_path93.default.join(import_node_os21.default.tmpdir(), "peach-expo-widgets-"));
83434
- const output2 = import_node_path93.default.join(temporary, "ExpoWidgets.bundle");
83435
- try {
83436
- await (0, import_node_util16.promisify)(import_node_child_process48.execFile)(
83437
- process.env.NODE_BINARY || "node",
83438
- [
83439
- import_node_path93.default.join(import_node_path93.default.dirname(manifest), "scripts/build-bundle.mjs"),
83440
- appRoot,
83441
- "ios",
83442
- output2
83443
- ],
83444
- { cwd: appRoot, maxBuffer: 16 * 1024 * 1024 }
83445
- );
83446
- const catalog = await stageExpoWidgetAssets(appRoot, origin);
83447
- return {
83448
- metadata: {
83449
- runtimeBundle: await import_promises9.default.readFile(output2, "utf8"),
83450
- images: catalog?.images ?? {}
83451
- }
83452
- };
83453
- } finally {
83454
- await import_promises9.default.rm(temporary, { recursive: true, force: true });
83455
- }
83433
+ const packageDir = import_node_path93.default.dirname(manifest);
83434
+ await (0, import_node_util16.promisify)(import_node_child_process48.execFile)(
83435
+ process.env.NODE_BINARY || "node",
83436
+ [import_node_path93.default.join(packageDir, "scripts/build-bundle.mjs"), appRoot],
83437
+ { cwd: appRoot, maxBuffer: 16 * 1024 * 1024 }
83438
+ );
83439
+ const catalog = await stageExpoWidgetAssets(appRoot, origin);
83440
+ return {
83441
+ metadata: {
83442
+ runtimeBundle: await import_promises9.default.readFile(
83443
+ import_node_path93.default.join(packageDir, "bundle/build/ExpoWidgets.bundle"),
83444
+ "utf8"
83445
+ ),
83446
+ images: catalog?.images ?? {}
83447
+ }
83448
+ };
83456
83449
  }
83457
- var import_node_child_process48, import_promises9, import_node_module14, import_node_os21, import_node_path93, import_node_util16, EXPO_WIDGETS_ROUTE, handleExpoWidgetsRequest;
83450
+ var import_node_child_process48, import_promises9, import_node_module14, import_node_path93, import_node_util16, EXPO_WIDGETS_ROUTE, handleExpoWidgetsRequest;
83458
83451
  var init_expo_widgets_bundle = __esm({
83459
83452
  "src/expo-widgets-bundle.ts"() {
83460
83453
  "use strict";
@@ -83462,7 +83455,6 @@ var init_expo_widgets_bundle = __esm({
83462
83455
  import_node_child_process48 = require("node:child_process");
83463
83456
  import_promises9 = __toESM(require("node:fs/promises"), 1);
83464
83457
  import_node_module14 = require("node:module");
83465
- import_node_os21 = __toESM(require("node:os"), 1);
83466
83458
  import_node_path93 = __toESM(require("node:path"), 1);
83467
83459
  import_node_util16 = require("node:util");
83468
83460
  init_expo_widget_assets();
@@ -84161,7 +84153,7 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
84161
84153
  async function compileTurboModule(options) {
84162
84154
  await prepareTurboSourceDependencies(options.reactNativeRoot);
84163
84155
  const key2 = (0, import_node_crypto53.createHash)("sha256").update(options.providers.map(({ root }) => import_node_fs98.default.realpathSync(root)).join("\0")).update("\0").update(import_node_fs98.default.realpathSync(options.moduleRoot)).digest("hex");
84164
- const scratch2 = import_node_path96.default.join(import_node_os22.default.tmpdir(), "peach-turbo-swift", key2);
84156
+ const scratch2 = import_node_path96.default.join(import_node_os21.default.tmpdir(), "peach-turbo-swift", key2);
84165
84157
  import_node_fs98.default.rmSync(import_node_path96.default.join(scratch2, "codegen"), { recursive: true, force: true });
84166
84158
  const collection = await collectTurboSources({
84167
84159
  appRoot: options.appRoot,
@@ -84360,7 +84352,7 @@ async function compileTurboModule(options) {
84360
84352
  collection
84361
84353
  };
84362
84354
  }
84363
- var import_node_crypto53, import_node_fs98, import_node_module16, import_node_os22, import_node_path96;
84355
+ var import_node_crypto53, import_node_fs98, import_node_module16, import_node_os21, import_node_path96;
84364
84356
  var init_turbo_compile = __esm({
84365
84357
  "src/turbo-compile.ts"() {
84366
84358
  "use strict";
@@ -84368,7 +84360,7 @@ var init_turbo_compile = __esm({
84368
84360
  import_node_crypto53 = require("node:crypto");
84369
84361
  import_node_fs98 = __toESM(require("node:fs"), 1);
84370
84362
  import_node_module16 = require("node:module");
84371
- import_node_os22 = __toESM(require("node:os"), 1);
84363
+ import_node_os21 = __toESM(require("node:os"), 1);
84372
84364
  import_node_path96 = __toESM(require("node:path"), 1);
84373
84365
  init_native_app_identity_project();
84374
84366
  init_nitro_adapter();
@@ -86526,7 +86518,7 @@ async function scanDevServers(opts = {}) {
86526
86518
  }
86527
86519
  return results.filter((r) => !isSootSimSelfServer(r)).sort((a, b) => a.port - b.port);
86528
86520
  }
86529
- var import_child_process, import_promises11, import_http, import_net, import_node_fs100, import_node_os23, import_node_path100, LISTENER_LOCK_PATH, LISTENER_RESULT_PATH, LISTENER_LOCK_STALE_MS, LISTENER_LOCK_WAIT_MS, TIMEOUT_MS, MANIFEST_TIMEOUT_MS, SERVER_SCAN_PROBE_HEADER, TCP_GATE_MS, BODY_TIMEOUT_MS, FALLBACK_PORTS, SELF_PORT_RANGE_START, SELF_PORT_RANGE_END, DevServerScanUnavailableError, LISTING_TIMEOUT_MS, LISTENER_CACHE_MS, listenerCache, inflightListing, listenerHolds, cwdByPid, cwdQueue, cwdFlushing, localIconPathCache, localIconProbeInFlight, ENRICH_TIMEOUT_MS, enrichmentCache, enrichmentInFlight, knownNonPatched, knownOne, portCache, portCacheInvalidatedAt, NEGATIVE_CACHE_TTL_MS, WEAK_RESULT_CACHE_TTL_MS;
86521
+ var import_child_process, import_promises11, import_http, import_net, import_node_fs100, import_node_os22, import_node_path100, LISTENER_LOCK_PATH, LISTENER_RESULT_PATH, LISTENER_LOCK_STALE_MS, LISTENER_LOCK_WAIT_MS, TIMEOUT_MS, MANIFEST_TIMEOUT_MS, SERVER_SCAN_PROBE_HEADER, TCP_GATE_MS, BODY_TIMEOUT_MS, FALLBACK_PORTS, SELF_PORT_RANGE_START, SELF_PORT_RANGE_END, DevServerScanUnavailableError, LISTING_TIMEOUT_MS, LISTENER_CACHE_MS, listenerCache, inflightListing, listenerHolds, cwdByPid, cwdQueue, cwdFlushing, localIconPathCache, localIconProbeInFlight, ENRICH_TIMEOUT_MS, enrichmentCache, enrichmentInFlight, knownNonPatched, knownOne, portCache, portCacheInvalidatedAt, NEGATIVE_CACHE_TTL_MS, WEAK_RESULT_CACHE_TTL_MS;
86530
86522
  var init_dev_server_scanner = __esm({
86531
86523
  "scripts/dev-server-scanner.ts"() {
86532
86524
  "use strict";
@@ -86536,7 +86528,7 @@ var init_dev_server_scanner = __esm({
86536
86528
  import_http = __toESM(require("http"), 1);
86537
86529
  import_net = __toESM(require("net"), 1);
86538
86530
  import_node_fs100 = require("node:fs");
86539
- import_node_os23 = require("node:os");
86531
+ import_node_os22 = require("node:os");
86540
86532
  import_node_path100 = require("node:path");
86541
86533
  init_backend_origin();
86542
86534
  init_config();
@@ -86548,8 +86540,8 @@ var init_dev_server_scanner = __esm({
86548
86540
  init_settings_bundle();
86549
86541
  init_swiftDiscoveryContract();
86550
86542
  init_optional_demo_registry();
86551
- LISTENER_LOCK_PATH = (0, import_node_path100.join)((0, import_node_os23.tmpdir)(), "peach-listener-scan.lock");
86552
- LISTENER_RESULT_PATH = (0, import_node_path100.join)((0, import_node_os23.tmpdir)(), "peach-listener-scan.result");
86543
+ LISTENER_LOCK_PATH = (0, import_node_path100.join)((0, import_node_os22.tmpdir)(), "peach-listener-scan.lock");
86544
+ LISTENER_RESULT_PATH = (0, import_node_path100.join)((0, import_node_os22.tmpdir)(), "peach-listener-scan.result");
86553
86545
  LISTENER_LOCK_STALE_MS = 25e3;
86554
86546
  LISTENER_LOCK_WAIT_MS = 8e3;
86555
86547
  TIMEOUT_MS = 250;
@@ -102193,17 +102185,17 @@ function setPauseAwareTimeout(fn, budgetMs, hostPid) {
102193
102185
  schedule();
102194
102186
  };
102195
102187
  }
102196
- var import_node_child_process54, import_node_fs121, import_node_os24, import_node_path122, LEDGER_PATH2, TICK_MS2, timers, poll, pollDueAt;
102188
+ var import_node_child_process54, import_node_fs121, import_node_os23, import_node_path122, LEDGER_PATH2, TICK_MS2, timers, poll, pollDueAt;
102197
102189
  var init_pause_aware_timeout = __esm({
102198
102190
  "cli/pause-aware-timeout.ts"() {
102199
102191
  "use strict";
102200
102192
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
102201
102193
  import_node_child_process54 = require("node:child_process");
102202
102194
  import_node_fs121 = require("node:fs");
102203
- import_node_os24 = __toESM(require("node:os"), 1);
102195
+ import_node_os23 = __toESM(require("node:os"), 1);
102204
102196
  import_node_path122 = __toESM(require("node:path"), 1);
102205
102197
  LEDGER_PATH2 = import_node_path122.default.join(
102206
- process.env.TM_HOME || import_node_path122.default.join(import_node_os24.default.homedir(), ".team-machine"),
102198
+ process.env.TM_HOME || import_node_path122.default.join(import_node_os23.default.homedir(), ".team-machine"),
102207
102199
  "governor-pauses.json"
102208
102200
  );
102209
102201
  TICK_MS2 = 500;
@@ -105883,7 +105875,7 @@ var init_crash_fingerprint = __esm({
105883
105875
  // cli/telemetry.ts
105884
105876
  function sanitizeDiagnosticMessage(value) {
105885
105877
  const firstLine = value.slice(0, 2048).split(/[\r\n\u2028\u2029]/, 1)[0] ?? "";
105886
- return firstLine.split((0, import_node_os25.homedir)()).join("<home>").replace(
105878
+ return firstLine.split((0, import_node_os24.homedir)()).join("<home>").replace(
105887
105879
  /<package:(?:@[\w.-]+\/)?[\w.-]+>|(?:https?:\/\/|file:\/\/|[A-Za-z]:[\\/]|<home>[\\/]|\/|\.{1,2}[\\/]|\b[\w.-]+[\\/])(?:[^\s"'<>]|\s(?=[^"'<>]*[\\/]))+/g,
105888
105880
  (location) => {
105889
105881
  if (location.startsWith("<package:")) return location;
@@ -105915,12 +105907,12 @@ function trackCliDiagnostic(diagnostic) {
105915
105907
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
105916
105908
  });
105917
105909
  }
105918
- var import_node_os25, observedRuntimeVersion, queue, CRASH_REPORT_EVERY_MS;
105910
+ var import_node_os24, observedRuntimeVersion, queue, CRASH_REPORT_EVERY_MS;
105919
105911
  var init_telemetry = __esm({
105920
105912
  "cli/telemetry.ts"() {
105921
105913
  "use strict";
105922
105914
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
105923
- import_node_os25 = require("node:os");
105915
+ import_node_os24 = require("node:os");
105924
105916
  init_event_identity();
105925
105917
  init_cli_version();
105926
105918
  init_crash_fingerprint();
@@ -111601,7 +111593,7 @@ function stageBuiltBundleManifest(bundleUrl, config) {
111601
111593
  const bundle = new URL(bundleUrl);
111602
111594
  if (!isStagedHostFileRequest(bundle.pathname) || Object.keys(config).length === 0)
111603
111595
  return null;
111604
- const directory2 = import_node_fs129.default.mkdtempSync(import_node_path130.default.join(import_node_os26.default.tmpdir(), "peach-app-manifest-"));
111596
+ const directory2 = import_node_fs129.default.mkdtempSync(import_node_path130.default.join(import_node_os25.default.tmpdir(), "peach-app-manifest-"));
111605
111597
  try {
111606
111598
  const file = import_node_path130.default.join(directory2, "manifest.json");
111607
111599
  import_node_fs129.default.writeFileSync(file, JSON.stringify({ extra: { expoClient: config } }));
@@ -111783,13 +111775,13 @@ async function buildShellUrl(target, baseUrl = resolveDefaultShellBaseUrl(), opt
111783
111775
  for (const entry of opts.args ?? []) url.searchParams.append("arg", entry);
111784
111776
  return opts.offline ? url.toString() : stageHostLaunchMetadata(url, nativeAssetOrigin);
111785
111777
  }
111786
- var import_node_fs129, import_node_os26, import_node_path130, SHELL_APPS, DEV_BUNDLE_RESOLVE_ATTEMPTS, DEV_BUNDLE_RESOLVE_INTERVAL_MS, startedExpoConfigReads;
111778
+ var import_node_fs129, import_node_os25, import_node_path130, SHELL_APPS, DEV_BUNDLE_RESOLVE_ATTEMPTS, DEV_BUNDLE_RESOLVE_INTERVAL_MS, startedExpoConfigReads;
111787
111779
  var init_shell_url = __esm({
111788
111780
  "cli/commands/shell-url.ts"() {
111789
111781
  "use strict";
111790
111782
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
111791
111783
  import_node_fs129 = __toESM(require("node:fs"), 1);
111792
- import_node_os26 = __toESM(require("node:os"), 1);
111784
+ import_node_os25 = __toESM(require("node:os"), 1);
111793
111785
  import_node_path130 = __toESM(require("node:path"), 1);
111794
111786
  init_oneViteAliases();
111795
111787
  init_dev_server_scanner();
@@ -111887,12 +111879,12 @@ function skillsDir() {
111887
111879
  return skillsDirPath;
111888
111880
  }
111889
111881
  function targetFromHome(envName, fallbackDir) {
111890
- const home = process.env[envName] || path114.join(os22.homedir(), fallbackDir);
111882
+ const home = process.env[envName] || path114.join(os21.homedir(), fallbackDir);
111891
111883
  return path114.join(home, "skills");
111892
111884
  }
111893
111885
  function codexTargets() {
111894
111886
  const homes = /* @__PURE__ */ new Map();
111895
- const userHome = process.env.HOME || os22.homedir();
111887
+ const userHome = process.env.HOME || os21.homedir();
111896
111888
  const primaryCodexHome = process.env.CODEX_HOME || path114.join(userHome, ".codex");
111897
111889
  homes.set(path114.resolve(primaryCodexHome), "codex");
111898
111890
  const tmCodexHomes = process.env.TM_CODEX_HOMES;
@@ -112020,14 +112012,14 @@ function listSkills() {
112020
112012
  }
112021
112013
  return skills.sort((a, b) => a.name.localeCompare(b.name));
112022
112014
  }
112023
- var import_child_process9, fs90, os22, path114, import_url3, import_meta4, skillsDirPath;
112015
+ var import_child_process9, fs90, os21, path114, import_url3, import_meta4, skillsDirPath;
112024
112016
  var init_skills = __esm({
112025
112017
  "cli/commands/skills.ts"() {
112026
112018
  "use strict";
112027
112019
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
112028
112020
  import_child_process9 = require("child_process");
112029
112021
  fs90 = __toESM(require("fs"), 1);
112030
- os22 = __toESM(require("os"), 1);
112022
+ os21 = __toESM(require("os"), 1);
112031
112023
  path114 = __toESM(require("path"), 1);
112032
112024
  import_url3 = require("url");
112033
112025
  init_browser();
@@ -121153,7 +121145,7 @@ async function connectBridgeForOpen(preferredPort, explicitPort, resources, runt
121153
121145
  }
121154
121146
  const { executable, prefixArgs } = rnxSelfInvocation();
121155
121147
  const bridgeLogPath = import_node_path139.default.join(
121156
- import_node_os27.default.tmpdir(),
121148
+ import_node_os26.default.tmpdir(),
121157
121149
  `peach-bridge-${Date.now()}-${process.pid}.log`
121158
121150
  );
121159
121151
  const bridgeLogFd = import_node_fs138.default.openSync(bridgeLogPath, "a");
@@ -121338,8 +121330,8 @@ function unreachableBridgeMessage(port, handshake, timeoutMs) {
121338
121330
  return `peach open: requested bridge port ${port} is held by another program, not a peach bridge. stop it or pass a free port with --port <port>.`;
121339
121331
  }
121340
121332
  if (handshake === "timeout") {
121341
- const cores = Math.max(1, import_node_os27.default.cpus().length);
121342
- const load2 = import_node_os27.default.loadavg()[0];
121333
+ const cores = Math.max(1, import_node_os26.default.cpus().length);
121334
+ const load2 = import_node_os26.default.loadavg()[0];
121343
121335
  if (load2 >= cores) {
121344
121336
  return `peach open: requested bridge port ${port} did not finish its handshake within ${timeoutMs / 1e3}s while load average was ${load2.toFixed(1)} on ${cores} cores.`;
121345
121337
  }
@@ -121406,7 +121398,7 @@ async function stagePrebuiltBundle(file, bridgePort, prepareSource) {
121406
121398
  }
121407
121399
  function normalizeReplacementPath(filePath) {
121408
121400
  if (filePath.startsWith("~/")) {
121409
- return import_node_path139.default.join(import_node_os27.default.homedir(), filePath.slice(2));
121401
+ return import_node_path139.default.join(import_node_os26.default.homedir(), filePath.slice(2));
121410
121402
  }
121411
121403
  if (import_node_path139.default.isAbsolute(filePath)) return filePath;
121412
121404
  return import_node_path139.default.resolve(process.cwd(), filePath);
@@ -122579,7 +122571,7 @@ async function openSim(args, opts) {
122579
122571
  });
122580
122572
  const attached = await bridge.listSims().then((sims) => sims.find((sim) => sim.id === match.id)?.readyState ?? "gone").catch(() => "unknown");
122581
122573
  console.error(
122582
- ` sim ${match.id} bridge state: ${attached}; host load ${import_node_os27.default.loadavg()[0].toFixed(1)} on ${import_node_os27.default.cpus().length} cpus (a loaded host slows a cold first bundle past the budget; a sim that is open but never answers has a blocked page)`
122574
+ ` sim ${match.id} bridge state: ${attached}; host load ${import_node_os26.default.loadavg()[0].toFixed(1)} on ${import_node_os26.default.cpus().length} cpus (a loaded host slows a cold first bundle past the budget; a sim that is open but never answers has a blocked page)`
122583
122575
  );
122584
122576
  await printBridgeFailureDiagnostics(bridge, {
122585
122577
  errorsCommand: `peach get errors 5${hint}`,
@@ -122926,7 +122918,7 @@ async function runCloseCommand(args, opts = {}) {
122926
122918
  bridge.close();
122927
122919
  }
122928
122920
  }
122929
- var import_node_child_process56, import_node_fs138, import_node_http5, import_node_https2, import_node_net, import_node_os27, import_node_path139, import_ws7, DEFAULT_DRIVER_CONNECT_TIMEOUT_MS, DRIVER_CONNECT_INTERVAL_MS, DRIVER_CONNECT_HOST_GRACE_MS, OPEN_BRIDGE_SPAWN_TIMEOUT_MS, OPEN_BRIDGE_RUNTIME_TIMEOUT_MS, OPEN_BRIDGE_HEALTH_TIMEOUT_MS, OPEN_BRIDGE_SILENCE_MS, LIVE_BRIDGE_HANDSHAKE_TIMEOUT_MS;
122921
+ var import_node_child_process56, import_node_fs138, import_node_http5, import_node_https2, import_node_net, import_node_os26, import_node_path139, import_ws7, DEFAULT_DRIVER_CONNECT_TIMEOUT_MS, DRIVER_CONNECT_INTERVAL_MS, DRIVER_CONNECT_HOST_GRACE_MS, OPEN_BRIDGE_SPAWN_TIMEOUT_MS, OPEN_BRIDGE_RUNTIME_TIMEOUT_MS, OPEN_BRIDGE_HEALTH_TIMEOUT_MS, OPEN_BRIDGE_SILENCE_MS, LIVE_BRIDGE_HANDSHAKE_TIMEOUT_MS;
122930
122922
  var init_control = __esm({
122931
122923
  "cli/commands/control.ts"() {
122932
122924
  "use strict";
@@ -122936,7 +122928,7 @@ var init_control = __esm({
122936
122928
  import_node_http5 = __toESM(require("node:http"), 1);
122937
122929
  import_node_https2 = __toESM(require("node:https"), 1);
122938
122930
  import_node_net = __toESM(require("node:net"), 1);
122939
- import_node_os27 = __toESM(require("node:os"), 1);
122931
+ import_node_os26 = __toESM(require("node:os"), 1);
122940
122932
  import_node_path139 = __toESM(require("node:path"), 1);
122941
122933
  init_src();
122942
122934
  import_ws7 = require("ws");
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (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.2026 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2028 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -77,7 +77,6 @@ export declare function refreshLiveAnimatedSceneGeometry(node: SootSimNode): voi
77
77
  export declare function propsPaintChange(previous: Record<string, unknown>, next: Record<string, unknown>): PaintChange;
78
78
  export declare function batchStyleWrites(node: object, write: () => void): void;
79
79
  export declare function markWireStyleChanged(node: SootSimNode, paintChange?: PaintChange): void;
80
- export declare function hasInterfaceStyleNodes(root: SootSimNode): boolean;
81
80
  export type SootSimChild = SootSimNode | SootSimTextNode;
82
81
  export interface LayoutHookPlacement {
83
82
  left?: number;
@@ -545,7 +544,8 @@ export declare class SootSimNode {
545
544
  _svgRecordFontGen: number;
546
545
  _svgRecordCkVersion: number;
547
546
  _svgRecordScale: number;
548
- _svgRecordColorEpoch: number;
547
+ _leafRecordStamp: number;
548
+ _interfaceStyle: 'light' | 'dark' | undefined;
549
549
  _emojiRanges: {
550
550
  grapheme: string;
551
551
  start: number;
@@ -140,6 +140,7 @@ export interface SceneNativeBinding {
140
140
  peachExtentParameters?: (slot: number) => void;
141
141
  _peach_scene_set_buffers(integers: number, doubles: number, floats: number, layoutMatrices: number): void;
142
142
  _peach_paint_walk(canvas: number, slot: number, self: number, childX: number, childY: number, flags: number, txOffX: number, txOffY: number, hasClip: number, clipLeft: number, clipTop: number, clipRight: number, clipBottom: number, dpr: number, surfaceWidth: number, surfaceHeight: number, layoutVersion: number, paintFloor: number, paintEpoch: number, fontGeneration: number, android: number, hasDamage: number, damageLeft: number, damageTop: number, damageRight: number, damageBottom: number, damageId: number, frameMs: number): number;
143
+ _peach_paint_level(parent: number, childX: number, childY: number, hosted: number): number;
143
144
  _peach_scene_bounds_out(): number;
144
145
  _peach_shared_set(slot: number, boundary: number, shared: number, exiting: number): void;
145
146
  _peach_shared_reset(): void;
@@ -335,9 +336,10 @@ export declare class SceneTable {
335
336
  scrollIndicatorEvent(slot: number, kind: number, now: number): void;
336
337
  dropScrollIndicator(slot: number, release: boolean): void;
337
338
  reclassify(slot: number): void;
338
- flushClassification(root: number, classify: (slot: number) => void): void;
339
- flushFreshClassification(root: number, classify: (slot: number) => void): void;
339
+ flushClassification(root: number, classify: (slot: number) => void, scoped: (slot: number) => boolean): void;
340
+ flushFreshClassification(root: number, classify: (slot: number) => void, scoped: (slot: number) => boolean): void;
340
341
  stampPaintInputs(slot: number, values: unknown[] | null, matches: (node: object, values: unknown[]) => boolean): void;
342
+ dropPaintInputsBelow(slot: number): void;
341
343
  refreshPaintInputs(): void;
342
344
  stampPaintKind(slot: number, kind: number, bits: number): void;
343
345
  readLayout(slot: number, layout: SootSimLayout): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2026",
3
+ "version": "0.1.2028",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -1,7 +1,6 @@
1
1
  import { execFile } from 'node:child_process'
2
2
  import fs from 'node:fs/promises'
3
3
  import { createRequire } from 'node:module'
4
- import os from 'node:os'
5
4
  import path from 'node:path'
6
5
  import { promisify } from 'node:util'
7
6
  import { stageExpoWidgetAssets } from './expo-widget-assets'
@@ -25,28 +24,25 @@ export async function buildExpoWidgetsBundle(
25
24
  return null
26
25
  throw error
27
26
  }
28
- const temporary = await fs.mkdtemp(path.join(os.tmpdir(), 'peach-expo-widgets-'))
29
- const output = path.join(temporary, 'ExpoWidgets.bundle')
30
- try {
31
- await promisify(execFile)(
32
- process.env.NODE_BINARY || 'node',
33
- [
34
- path.join(path.dirname(manifest), 'scripts/build-bundle.mjs'),
35
- appRoot,
36
- 'ios',
37
- output,
38
- ],
39
- { cwd: appRoot, maxBuffer: 16 * 1024 * 1024 },
40
- )
41
- const catalog = await stageExpoWidgetAssets(appRoot, origin)
42
- return {
43
- metadata: {
44
- runtimeBundle: await fs.readFile(output, 'utf8'),
45
- images: catalog?.images ?? {},
46
- },
47
- }
48
- } finally {
49
- await fs.rm(temporary, { recursive: true, force: true })
27
+ // xcode's build phase passes the project root only. expo-widgets 57 forwards
28
+ // every extra argument to `expo export:embed`, which rejects `ios` and an
29
+ // output path. 58 reads an optional platform and output and otherwise writes
30
+ // the same package bundle, so one root argument covers both.
31
+ const packageDir = path.dirname(manifest)
32
+ await promisify(execFile)(
33
+ process.env.NODE_BINARY || 'node',
34
+ [path.join(packageDir, 'scripts/build-bundle.mjs'), appRoot],
35
+ { cwd: appRoot, maxBuffer: 16 * 1024 * 1024 },
36
+ )
37
+ const catalog = await stageExpoWidgetAssets(appRoot, origin)
38
+ return {
39
+ metadata: {
40
+ runtimeBundle: await fs.readFile(
41
+ path.join(packageDir, 'bundle/build/ExpoWidgets.bundle'),
42
+ 'utf8',
43
+ ),
44
+ images: catalog?.images ?? {},
45
+ },
50
46
  }
51
47
  }
52
48