peachsim 0.1.2248 → 0.1.2249

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 (99) hide show
  1. package/cli/bridge-flow-runner.ts +28 -2
  2. package/cli/commands/inspect/settling.ts +35 -4
  3. package/cli/drivers/playwright.ts +2 -0
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +150 -40
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +32 -8
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +148 -38
  30. package/dist-lib/expo-swift-metadata.cjs +1 -1
  31. package/dist-lib/expo-swift-metadata.mjs +1 -1
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +150 -40
  34. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +34 -10
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +4 -4
  50. package/dist-lib/native-app-identity-project.cjs +2 -2
  51. package/dist-lib/native-app-identity-project.mjs +2 -2
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +53 -53
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +31 -7
  69. package/dist-lib/sdk.mjs +31 -7
  70. package/dist-lib/skills.cjs +194 -49
  71. package/dist-lib/swift-compile.cjs +137 -28
  72. package/dist-lib/swift-compile.mjs +137 -28
  73. package/dist-lib/swift-package.cjs +1 -1
  74. package/dist-lib/swift-package.mjs +1 -1
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +1 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +146 -36
  80. package/dist-lib/vite.cjs +4 -4
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
  84. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +1 -0
  85. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +8 -0
  86. package/dist-types/packages/peach-engine/src/render-worker/webview-capture-protocol.d.ts +1 -0
  87. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +5 -0
  88. package/kotlin/sdk.tar.gz +0 -0
  89. package/package.json +1 -1
  90. package/runtime-companion.json +1 -1
  91. package/sdk/ios/wasm/include/math.h +1 -1
  92. package/sdk/ios/wasm/include/pthread.h +1 -1
  93. package/src/assetCatalogContract.ts +6 -0
  94. package/src/sfSymbolMetricsContract.ts +73 -37
  95. package/src/swift-compile.ts +99 -7
  96. package/src/swift-guest-image-ledger.ts +10 -5
  97. package/src/swift-guest-link.ts +20 -14
  98. package/src/swift-standins.ts +11 -8
  99. package/src/swift-wasm-prune.ts +30 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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;
@@ -22440,7 +22440,11 @@ function parseWasmObjectBytes(file, buf, isDist, symbolFlagOffsets) {
22440
22440
  objcClassSymToTypePrefix,
22441
22441
  typePrefixesInObj,
22442
22442
  rootFuncs,
22443
- rootSegs
22443
+ rootSegs,
22444
+ segPayloadRanges: sEnds.map((end, i) => [
22445
+ dataStart + sPayloadStarts[i],
22446
+ dataStart + end
22447
+ ])
22444
22448
  };
22445
22449
  }
22446
22450
  function parseWasmObjectCached(file, isDist, useCache) {
@@ -23105,9 +23109,29 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
23105
23109
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
23106
23110
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
23107
23111
  ]);
23112
+ const objectBytes = /* @__PURE__ */ new Map();
23113
+ const keepObjCClassesNamedInSegment = (obj, segIdx) => {
23114
+ const range2 = obj.segPayloadRanges[segIdx];
23115
+ if (!range2) return;
23116
+ let bytes = objectBytes.get(obj);
23117
+ if (!bytes) objectBytes.set(obj, bytes = import_node_fs37.default.readFileSync(obj.file));
23118
+ const text6 = bytes.toString("latin1", range2[0], range2[1]);
23119
+ for (const match of text6.matchAll(/So(\d+)/g)) {
23120
+ const start = match.index + 2 + match[1].length;
23121
+ const length = Number(match[1]);
23122
+ if (text6[start + length] !== "C") continue;
23123
+ const symbol2 = `._OBJC_CLASS_${text6.slice(start, start + length)}`;
23124
+ for (const provider of lazyProviders.get(symbol2) ?? []) {
23125
+ eagerDynamicObjects.add(provider);
23126
+ extractObject(provider);
23127
+ activateSymbolInObj(provider, provider.symNames.indexOf(symbol2));
23128
+ }
23129
+ }
23130
+ };
23108
23131
  while (workQueue.length > 0) {
23109
23132
  const item = workQueue.pop();
23110
23133
  const obj = item.obj;
23134
+ if (item.kind === "seg") keepObjCClassesNamedInSegment(obj, item.idx);
23111
23135
  let relocs;
23112
23136
  if (item.kind === "func") {
23113
23137
  relocs = obj.funcRelocs[item.idx];
@@ -24053,8 +24077,12 @@ function createGuestImageLedger(input) {
24053
24077
  }
24054
24078
  }
24055
24079
  }
24080
+ const nameBytes = /* @__PURE__ */ new Map();
24081
+ for (const definition2 of definitions)
24082
+ if (!nameBytes.has(definition2.name))
24083
+ nameBytes.set(definition2.name, Buffer.from(definition2.name));
24056
24084
  definitions.sort(
24057
- (a, b) => Buffer.compare(Buffer.from(a.name), Buffer.from(b.name)) || a.image - b.image
24085
+ (a, b) => Buffer.compare(nameBytes.get(a.name), nameBytes.get(b.name)) || a.image - b.image
24058
24086
  );
24059
24087
  const preserveCanonical = /* @__PURE__ */ new Set();
24060
24088
  const definitionsByName = Map.groupBy(definitions, (definition2) => definition2.name);
@@ -24084,12 +24112,12 @@ function createGuestImageLedger(input) {
24084
24112
  preserveCanonical.add(name3);
24085
24113
  for (const name3 of input.commandLineSymbols ?? []) preserveCanonical.add(name3);
24086
24114
  const bindingsByImage = /* @__PURE__ */ new Map();
24115
+ const definitionsByImage = Map.groupBy(definitions, (definition2) => definition2.image);
24087
24116
  for (const caller of input.callers) {
24088
24117
  const bindings = /* @__PURE__ */ new Map();
24089
24118
  const seen = /* @__PURE__ */ new Map();
24090
24119
  for (const image of [caller.image, ...caller.next])
24091
- for (const definition2 of definitions) {
24092
- if (definition2.image !== image) continue;
24120
+ for (const definition2 of definitionsByImage.get(image) ?? []) {
24093
24121
  const previous = seen.get(definition2.name);
24094
24122
  if (previous?.image === definition2.image) {
24095
24123
  if (previous.weak && !definition2.weak) {
@@ -24129,8 +24157,9 @@ function createGuestImageLedger(input) {
24129
24157
  definitionsByAlias.set(definition2.alias, definition2);
24130
24158
  }
24131
24159
  const objects = units.map(({ image, object: object6, aliases, functionImports }) => {
24132
- const bindings = new Map(bindingsByImage.get(image));
24133
- for (const [name3, alias] of startup.get(object6.path) ?? []) bindings.set(name3, alias);
24160
+ const shared = bindingsByImage.get(image);
24161
+ const own = startup.get(object6.path);
24162
+ const bindings = own ? new Map([...shared, ...own]) : shared;
24134
24163
  for (const [name3, type] of functionImports) {
24135
24164
  const alias = bindings.get(name3);
24136
24165
  const provider = alias === void 0 ? void 0 : definitionsByAlias.get(alias);
@@ -26049,6 +26078,7 @@ function linkGuestImages(options) {
26049
26078
  );
26050
26079
  }
26051
26080
  const archives = /* @__PURE__ */ new Map();
26081
+ const memberBytes = /* @__PURE__ */ new Map();
26052
26082
  const prepare2 = (provider2) => {
26053
26083
  const trace = runLink("discovery", [
26054
26084
  ...withOutput(args, discovery, true),
@@ -26092,20 +26122,23 @@ function linkGuestImages(options) {
26092
26122
  }
26093
26123
  const objectsByImage = /* @__PURE__ */ new Map();
26094
26124
  for (const image of plan.images) objectsByImage.set(image.id, []);
26125
+ const artifacts = new Map(plan.artifacts.map((artifact) => [artifact.path, artifact]));
26095
26126
  for (const item of selected2) {
26096
- const artifact = plan.artifacts.find(
26097
- (candidate) => candidate.path === item.artifact
26098
- );
26127
+ const artifact = artifacts.get(item.artifact);
26099
26128
  const image = selectedGuestInputImage(artifact, item.member);
26100
26129
  let bytes;
26101
26130
  if (item.member === null) bytes = import_node_fs41.default.readFileSync(item.artifact);
26102
26131
  else {
26103
- let members2 = archives.get(item.artifact);
26104
- if (!members2) {
26105
- members2 = readArMembers(import_node_fs41.default.readFileSync(item.artifact));
26132
+ let byName = memberBytes.get(item.artifact);
26133
+ if (!byName) {
26134
+ const members2 = readArMembers(import_node_fs41.default.readFileSync(item.artifact));
26106
26135
  archives.set(item.artifact, members2);
26136
+ byName = /* @__PURE__ */ new Map();
26137
+ for (const member of members2)
26138
+ if (!byName.has(member.name)) byName.set(member.name, member.bytes);
26139
+ memberBytes.set(item.artifact, byName);
26107
26140
  }
26108
- bytes = members2.find((member) => member.name === item.member).bytes;
26141
+ bytes = byName.get(item.member);
26109
26142
  }
26110
26143
  const objects = objectsByImage.get(image);
26111
26144
  if (!objects) throw new Error(`unknown image ${image}`);
@@ -26138,10 +26171,11 @@ function linkGuestImages(options) {
26138
26171
  const { selected, ledger } = prepared;
26139
26172
  const replacements = /* @__PURE__ */ new Map();
26140
26173
  const linkedOwners = /* @__PURE__ */ new Map();
26174
+ const ledgerObjects = new Map(ledger.objects.map((item) => [item.path, item]));
26141
26175
  for (const [index, artifact] of plan.artifacts.entries()) {
26142
26176
  const prefix = `${artifact.path}(`;
26143
26177
  if (artifact.kind === "object") {
26144
- const object6 = ledger.objects.find((item) => item.path === artifact.path);
26178
+ const object6 = ledgerObjects.get(artifact.path);
26145
26179
  if (!object6) continue;
26146
26180
  const output3 = import_node_path39.default.join(directory2, `object-${index}.o`);
26147
26181
  import_node_fs41.default.writeFileSync(output3, object6.bytes);
@@ -26161,9 +26195,7 @@ function linkGuestImages(options) {
26161
26195
  const output2 = import_node_path39.default.join(directory2, `archive-${index}.a`);
26162
26196
  const inputs = members2.map((member) => {
26163
26197
  const memberOutput = import_node_path39.default.join(memberDir, member.name);
26164
- const rewritten = ledger.objects.find(
26165
- (item) => item.path === `${prefix}${member.name})`
26166
- );
26198
+ const rewritten = ledgerObjects.get(`${prefix}${member.name})`);
26167
26199
  import_node_fs41.default.writeFileSync(memberOutput, rewritten?.bytes ?? member.bytes);
26168
26200
  if (rewritten) {
26169
26201
  linkedOwners.set(
@@ -26502,10 +26534,13 @@ function selectedGuestSymbolInputs(plan, selected) {
26502
26534
  else {
26503
26535
  let members2 = archives.get(item.artifact);
26504
26536
  if (!members2) {
26505
- members2 = readArMembers(import_node_fs41.default.readFileSync(item.artifact));
26537
+ members2 = Map.groupBy(
26538
+ readArMembers(import_node_fs41.default.readFileSync(item.artifact)),
26539
+ (member) => member.name
26540
+ );
26506
26541
  archives.set(item.artifact, members2);
26507
26542
  }
26508
- const matching2 = members2.filter((member) => member.name === item.member);
26543
+ const matching2 = members2.get(item.member) ?? [];
26509
26544
  if (matching2.length !== 1)
26510
26545
  throw new Error(
26511
26546
  `ambiguous selected symbol input ${item.artifact}(${item.member})`
@@ -28931,6 +28966,46 @@ function swiftModuleInterface(moduleRoot, name3, interfaceRoot) {
28931
28966
  if (declared.size === 0) return null;
28932
28967
  return { declared, header: clangInterfaceHeader((0, import_node_fs52.readFileSync)(built2, "utf8")) };
28933
28968
  }
28969
+ function nativelyDeclaredFunctions(generated, headers) {
28970
+ const candidates = [
28971
+ ...new Set(
28972
+ [...generated.matchAll(/^\s*SWIFT_EXTERN\b[^(\n]*?\b(\w+)\s*\(/gm)].map(
28973
+ (match) => match[1]
28974
+ )
28975
+ )
28976
+ ];
28977
+ if (candidates.length === 0) return [];
28978
+ const declaration = new RegExp(`^[^\\n#/*]*?\\b(${candidates.join("|")})\\s*\\(`, "gm");
28979
+ const found = /* @__PURE__ */ new Set();
28980
+ for (const header of headers)
28981
+ for (const match of header.matchAll(declaration)) found.add(match[1]);
28982
+ return [...found];
28983
+ }
28984
+ function sdkObjCDeclarationOwners(frameworks) {
28985
+ const known = sdkDeclarationOwners.get(frameworks);
28986
+ if (known) return known;
28987
+ const owners = /* @__PURE__ */ new Map();
28988
+ for (const framework of (0, import_node_fs52.readdirSync)(frameworks))
28989
+ if (framework.endsWith(".framework")) {
28990
+ const headers = import_node_path50.default.join(frameworks, framework, "Headers");
28991
+ if ((0, import_node_fs52.existsSync)(headers)) {
28992
+ for (const file of (0, import_node_fs52.readdirSync)(headers, { recursive: true, encoding: "utf8" }))
28993
+ if (file.endsWith(".h")) {
28994
+ const header = (0, import_node_fs52.readFileSync)(import_node_path50.default.join(headers, file), "utf8");
28995
+ for (const name3 of [
28996
+ ...swiftInterfaceDeclarations(header),
28997
+ ...objcEnumerations(header),
28998
+ ...[
28999
+ ...header.matchAll(/^[A-Z_]*_(?:EXTERN|EXPORT)\b[^;(\n]*?\b(\w+)\s*\(/gm)
29000
+ ].map((match) => match[1])
29001
+ ])
29002
+ owners.set(name3, framework.slice(0, -".framework".length));
29003
+ }
29004
+ }
29005
+ }
29006
+ sdkDeclarationOwners.set(frameworks, owners);
29007
+ return owners;
29008
+ }
28934
29009
  function swiftHeaderWithSuperclassImports(header, interfaceFor) {
28935
29010
  const superclasses = new Set(
28936
29011
  [...header.matchAll(/@interface\s+\w+\s*:\s*(\w+)/g)].map((match) => match[1])
@@ -28963,6 +29038,10 @@ function withoutSwiftDeclarations(text6, declared, interfaceImport) {
28963
29038
  const name3 = /^\s*(?:[A-Z_]\w*(?:\([^()\n]*\))?\s+)*@(?:protocol|interface)\s+(\w+)\s*(?=[:<{]|$)/.exec(
28964
29039
  line
28965
29040
  )?.[1];
29041
+ const external = /^\s*SWIFT_EXTERN\b[^(\n]*?\b(\w+)\s*\(.*\)[^;\n]*;\s*$/.exec(
29042
+ line
29043
+ )?.[1];
29044
+ if (external && declared.has(external)) continue;
28966
29045
  const enumeration = /^\s*typedef\s+(?:NS_ENUM|NS_OPTIONS|SWIFT_ENUM(?:_NAMED)?)\s*\(\s*\w+\s*,\s*(\w+)\b/.exec(
28967
29046
  line
28968
29047
  )?.[1];
@@ -33335,11 +33414,28 @@ function compileSwiftProjectOnce(input, options) {
33335
33414
  ))
33336
33415
  declared.add(name4);
33337
33416
  }
33338
- const header = withoutSwiftDeclarations(
33417
+ const own = withoutSwiftDeclarations(
33339
33418
  clangInterfaceHeader((0, import_node_fs52.readFileSync)(source, "utf8")),
33340
33419
  declared,
33341
33420
  `#import <${name3}/${name3}.h>`
33342
33421
  );
33422
+ const owners = sdkObjCDeclarationOwners(import_node_path50.default.dirname(import_node_path50.default.dirname(headers)));
33423
+ const foreign = /* @__PURE__ */ new Map();
33424
+ for (const declaration of [
33425
+ ...swiftInterfaceDeclarations(own),
33426
+ ...objcEnumerations(own),
33427
+ ...[...own.matchAll(/^\s*SWIFT_EXTERN\b[^(\n]*?\b(\w+)\s*\(/gm)].map(
33428
+ (match) => match[1]
33429
+ )
33430
+ ]) {
33431
+ const owner = owners.get(declaration);
33432
+ if (owner && owner !== name3) foreign.set(declaration, owner);
33433
+ }
33434
+ const header = foreign.size ? withoutSwiftDeclarations(
33435
+ own,
33436
+ new Set(foreign.keys()),
33437
+ [...new Set(foreign.values())].map((owner) => `#import <${owner}/${owner}.h>`).join("\n")
33438
+ ) : own;
33343
33439
  const value = {
33344
33440
  file: import_node_path50.default.join(root, ".build/peach-framework-objc", `${name3}-Swift.h`),
33345
33441
  header,
@@ -33376,18 +33472,25 @@ function compileSwiftProjectOnce(input, options) {
33376
33472
  `${producer}-Swift.h`
33377
33473
  );
33378
33474
  const original = preparation.nativeHeaderDeclarations[producer] ? emitted.replace(/-Swift\.h$/, "-Swift.original.h") : emitted;
33379
- if ((0, import_node_fs52.existsSync)(original))
33475
+ if ((0, import_node_fs52.existsSync)(original)) {
33476
+ const generated = clangInterfaceHeader((0, import_node_fs52.readFileSync)(original, "utf8"));
33380
33477
  writeBuildFile(
33381
33478
  emitted,
33382
33479
  withoutSwiftDeclarations(
33383
- swiftHeaderWithSuperclassImports(
33384
- clangInterfaceHeader((0, import_node_fs52.readFileSync)(original, "utf8")),
33385
- frameworkInterface
33386
- ),
33387
- new Set(preparation.nativeHeaderDeclarations[producer]),
33480
+ swiftHeaderWithSuperclassImports(generated, frameworkInterface),
33481
+ /* @__PURE__ */ new Set([
33482
+ ...preparation.nativeHeaderDeclarations[producer] ?? [],
33483
+ ...nativelyDeclaredFunctions(
33484
+ generated,
33485
+ Object.entries(input.files).filter(
33486
+ ([name3]) => name3.endsWith(".h") && !name3.endsWith("-Swift.h")
33487
+ ).map(([, source]) => source)
33488
+ )
33489
+ ]),
33388
33490
  `#import <${producer}/${producer}.h>`
33389
33491
  )
33390
33492
  );
33493
+ }
33391
33494
  }
33392
33495
  }
33393
33496
  const checkpoints = import_node_path50.default.join(
@@ -33525,7 +33628,7 @@ function compileSwiftProjectOnce(input, options) {
33525
33628
  options.signal
33526
33629
  );
33527
33630
  }
33528
- var import_node_child_process29, import_node_crypto22, import_node_fs52, import_node_os10, import_node_path50, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
33631
+ var import_node_child_process29, import_node_crypto22, import_node_fs52, import_node_os10, import_node_path50, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
33529
33632
  var init_swift_compile = __esm({
33530
33633
  "src/swift-compile.ts"() {
33531
33634
  "use strict";
@@ -33572,6 +33675,12 @@ var init_swift_compile = __esm({
33572
33675
  /^@import (?:CoreFoundation|FoundationNetworking);$/gm,
33573
33676
  "@import Foundation;"
33574
33677
  ).replace(/\b_TtC10Foundation\d+(NS\w+)\b/g, "$1").replace(/\b__attribute__\(\(objc_subclassing_restricted\)\)\s*/g, "");
33678
+ objcEnumerations = (header) => [
33679
+ ...header.matchAll(
33680
+ /^\s*typedef\s+(?:NS|CF|SWIFT)_\w*(?:ENUM|OPTIONS)\w*\s*\(\s*\w+\s*,\s*(\w+)\b/gm
33681
+ )
33682
+ ].map((match) => match[1]);
33683
+ sdkDeclarationOwners = /* @__PURE__ */ new Map();
33575
33684
  swiftInterfaceDeclarations = (header) => /* @__PURE__ */ new Set([
33576
33685
  ...[
33577
33686
  ...header.matchAll(
@@ -33754,7 +33863,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
33754
33863
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
33755
33864
  MULTI_MANIFEST_VERSION = 68;
33756
33865
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
33757
- compilerSourceDigest = true ? "6b31bc2b6f1a60a8ff02569b886f5f3a6cca1ec484cdb3c17ac060942b93cb3e" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
33866
+ compilerSourceDigest = true ? "660487c29d9a45fcb5a83e23f25f239be6cc1cc7338a3a2c2f756a4c985ae043" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
33758
33867
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
33759
33868
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
33760
33869
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -38228,7 +38337,7 @@ var init_swift_standin_digest = __esm({
38228
38337
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
38229
38338
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
38230
38339
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
38231
- STANDIN_SOURCE_DIGEST = true ? "7b618908e76b704175d5c94e30ceb691f6a3f50052a1d5a7bc25f24a07375c9b" : standinSourceDigest();
38340
+ STANDIN_SOURCE_DIGEST = true ? "089050e56f3e4935fed286174446973ff56c0fb4ee8c326f19a71b9fecbe9d05" : standinSourceDigest();
38232
38341
  }
38233
38342
  });
38234
38343
 
@@ -40594,9 +40703,9 @@ function exec(file, args, cwd) {
40594
40703
  }
40595
40704
  function failure(error) {
40596
40705
  const output2 = error && typeof error === "object" && "stderr" in error ? `${String(error.stderr)}
40597
- ${"stdout" in error ? String(error.stdout) : ""}` : String(error);
40598
- const errors = output2.split("\n").filter((line) => /^\S.*?:\d+:\d+: error:/.test(line)).map((line) => line.replace(/^.*?:\d+:\d+: error:\s*/, "").trim());
40599
- return [...new Set(errors)].slice(0, 3).join("; ") || output2.trim().slice(0, 400);
40706
+ ${"stdout" in error ? String(error.stdout) : ""}` : error instanceof Error ? error.message : String(error);
40707
+ const errors = output2.split("\n").filter((line) => /^(\S.*?:\d+:\d+: )?error:/.test(line)).map((line) => line.replace(/^(.*?:\d+:\d+: )?error:\s*/, "").trim());
40708
+ return [...new Set(errors)].slice(0, 3).join("; ") || output2.trim().slice(-600);
40600
40709
  }
40601
40710
  function treeDigest2(root) {
40602
40711
  const names = [];
@@ -41107,6 +41216,8 @@ function peachModuleDirs(toolchain, imports2, sdkIncludes) {
41107
41216
  target,
41108
41217
  "-Xswiftc",
41109
41218
  "-Osize",
41219
+ "-Xswiftc",
41220
+ "-gnone",
41110
41221
  ...plugins.libraries.flatMap((library) => [
41111
41222
  "-Xswiftc",
41112
41223
  "-load-plugin-library",
@@ -42742,10 +42853,9 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
42742
42853
  ) : binary2.cxxHeaders ? await cxxStandin(surface, binary2, toolchain, dir) : cStandin(surface, binary2, toolchain, dir)
42743
42854
  );
42744
42855
  } catch (error) {
42745
- throw new Error(
42746
- `no stand-in for ${surface.module}: ${error instanceof Error && !("stderr" in error) ? error.message : failure(error)}`,
42747
- { cause: error }
42748
- );
42856
+ throw new Error(`no stand-in for ${surface.module}: ${failure(error)}`, {
42857
+ cause: error
42858
+ });
42749
42859
  }
42750
42860
  }
42751
42861
  publish(result);
@@ -54535,7 +54645,7 @@ var init_nitro_superset = __esm({
54535
54645
  init_nitroContract();
54536
54646
  init_swift_standin_digest();
54537
54647
  NITRO_SUPERSET_ENTRY_NAME = "superset";
54538
- NITRO_COMPILER_DIGEST = true ? "d719141ae7515a0d6743db461f1634baaba243d994f8421790e5927a804d6fa4" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
54648
+ NITRO_COMPILER_DIGEST = true ? "c57cf64c215ae5447c1378bb3a9511f6b48bc5fd2b4f52e392fb171077898926" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
54539
54649
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
54540
54650
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
54541
54651
  published2 = /* @__PURE__ */ new Map();
@@ -54556,7 +54666,7 @@ var init_nitro_superset = __esm({
54556
54666
  var runtime_companion_default;
54557
54667
  var init_runtime_companion = __esm({
54558
54668
  "runtime-companion.json"() {
54559
- runtime_companion_default = { abi: 1, sha256: "0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a", file: "node/cli-0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a.cjs" };
54669
+ runtime_companion_default = { abi: 1, sha256: "0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93", file: "node/cli-0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93.cjs" };
54560
54670
  }
54561
54671
  });
54562
54672
 
@@ -64119,7 +64229,7 @@ init_swift_native_pin();
64119
64229
  init_xcode_project();
64120
64230
  var EXPO_NATIVE_ENTRY_NAME = "ios";
64121
64231
  function expoNativeCompilerDigestValue() {
64122
- return true ? "446bf6dc0f5ffa819ef1aa8b28a7e2ced01c01b9d003c548d978b6610dec6435" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
64232
+ return true ? "892bd8a2c9864f5fadde8b48730dd4ac3a08d9a46503d5fc4e0332afdaa86657" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
64123
64233
  }
64124
64234
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
64125
64235
  function readSources(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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;
@@ -1421,7 +1421,7 @@ var run = (0, import_node_util.promisify)(import_node_child_process.execFile);
1421
1421
  var import_plist5 = __toESM(require("plist"), 1);
1422
1422
 
1423
1423
  // src/swift-standin-digest.ts
1424
- var STANDIN_SOURCE_DIGEST = true ? "7b618908e76b704175d5c94e30ceb691f6a3f50052a1d5a7bc25f24a07375c9b" : standinSourceDigest();
1424
+ var STANDIN_SOURCE_DIGEST = true ? "089050e56f3e4935fed286174446973ff56c0fb4ee8c326f19a71b9fecbe9d05" : standinSourceDigest();
1425
1425
 
1426
1426
  // cli/commands/detect.ts
1427
1427
  var import_json5 = __toESM(require_lib(), 1);
@@ -4516,7 +4516,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
4516
4516
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
4517
4517
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
4518
4518
  ).join("");
4519
- var compilerSourceDigest = true ? "6b31bc2b6f1a60a8ff02569b886f5f3a6cca1ec484cdb3c17ac060942b93cb3e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4519
+ var compilerSourceDigest = true ? "660487c29d9a45fcb5a83e23f25f239be6cc1cc7338a3a2c2f756a4c985ae043" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4520
4520
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
4521
4521
  "CFAllocator",
4522
4522
  "CFArray",
@@ -8927,7 +8927,7 @@ var import_node_module = require("node:module");
8927
8927
  var import_node_path7 = require("node:path");
8928
8928
 
8929
8929
  // runtime-companion.json
8930
- var runtime_companion_default = { abi: 1, sha256: "0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a", file: "node/cli-0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a.cjs" };
8930
+ var runtime_companion_default = { abi: 1, sha256: "0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93", file: "node/cli-0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93.cjs" };
8931
8931
 
8932
8932
  // src/cli-runtime.ts
8933
8933
  var CLI_COMPANION_ABI = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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;
@@ -1110,7 +1110,7 @@ var init_src = __esm({
1110
1110
  var runtime_companion_default;
1111
1111
  var init_runtime_companion = __esm({
1112
1112
  "runtime-companion.json"() {
1113
- runtime_companion_default = { abi: 1, sha256: "0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a", file: "node/cli-0a25deb1065a15100e9bbd938d998d015318b067a7ab5d6e666a7360a2ab446a.cjs" };
1113
+ runtime_companion_default = { abi: 1, sha256: "0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93", file: "node/cli-0576baa8f64749f044d1fee413b30d3459d6a2a5caf1435ecc04500a7031bf93.cjs" };
1114
1114
  }
1115
1115
  });
1116
1116
 
@@ -11342,7 +11342,8 @@ async function waitForSootsimIdle({
11342
11342
  skipIfInspectActive = false,
11343
11343
  readyPlayback = false,
11344
11344
  transitionStartWindowMs = 80,
11345
- transitionTimeoutMs = 4e3
11345
+ transitionTimeoutMs = 4e3,
11346
+ stillSince = null
11346
11347
  }) {
11347
11348
  let result;
11348
11349
  const observationStartedAt = Date.now();
@@ -11381,6 +11382,7 @@ async function waitForSootsimIdle({
11381
11382
  const accessibilityBounds = ${accessibilityBounds.toString()}
11382
11383
  const sameNativeAccessibilityShape = ${sameNativeAccessibilityShape.toString()}
11383
11384
  const readyPlayback = ${readyPlayback ? "true" : "false"}
11385
+ const stillSince = ${JSON.stringify(stillSince)}
11384
11386
  // full mounted-geometry observation needs at least two hierarchy reads
11385
11387
  // plus the stillness window, which a sub-second budget cannot afford:
11386
11388
  // tight budgets (auto-wait) settle on worker stillness plus root
@@ -11399,7 +11401,7 @@ async function waitForSootsimIdle({
11399
11401
  // those that began after it drained still can. a loaded host runs a
11400
11402
  // push past a tap's budget, so the transition gets its own timeout and
11401
11403
  // the budget restarts once it drains.
11402
- let transitionWait = (async () => {
11404
+ const watchTransition = async () => {
11403
11405
  try {
11404
11406
  const wfst = globalThis.__sootsimTest?.waitForScreenTransitions
11405
11407
  if (typeof wfst === 'function' && budgetMs > 120) {
@@ -11419,7 +11421,9 @@ async function waitForSootsimIdle({
11419
11421
  }
11420
11422
  } catch {}
11421
11423
  return false
11422
- })()
11424
+ }
11425
+ // a wait that may settle on its first poll watches only once that poll does not
11426
+ let transitionWait = stillSince === null ? watchTransition() : null
11423
11427
 
11424
11428
  // a worker that cannot answer within the remaining budget is busy, not
11425
11429
  // idle: its poll reads as unsettled. bounding each read by the budget
@@ -11771,6 +11775,9 @@ async function waitForSootsimIdle({
11771
11775
  if (clockNow() >= deadline) break
11772
11776
  }
11773
11777
  const pollStarted = clockNow()
11778
+ const readRevision = () =>
11779
+ answer(() => globalThis.__sootsimTest?.getGeometryRevision?.()).catch(() => null)
11780
+ const pollRevision = readRevision()
11774
11781
  const snapshot = await readSnapshot()
11775
11782
  if (snapshot.runtimeUnsupported) return snapshot.runtimeUnsupported
11776
11783
  // a read the deadline cut short observed nothing: the last full poll
@@ -11778,6 +11785,18 @@ async function waitForSootsimIdle({
11778
11785
  // the loop head drains a transition still in flight before it ends.
11779
11786
  if (snapshot.workerBusy && clockNow() >= deadline && report) continue
11780
11787
  polls++
11788
+ if (
11789
+ polls === 1 && stillSince !== null &&
11790
+ !snapshot.workerBusy && snapshot.pendingFetches === 0 && snapshot.requestInFlight === 0 &&
11791
+ !snapshot.webViewStarting && !snapshot.animating && !snapshot.shellAnimating &&
11792
+ !snapshot.layoutDirty && !snapshot.visibleMotion
11793
+ ) {
11794
+ const [proving, replying] = await Promise.all([pollRevision, readRevision()])
11795
+ if (proving === stillSince && replying === stillSince) {
11796
+ return { settled: true, elapsed: clockNow() - start, blockedBy: '', stillRevision: stillSince }
11797
+ }
11798
+ }
11799
+ if (polls === 1 && stillSince !== null) transitionWait = watchTransition()
11781
11800
  report = { snapshot, nativeHierarchy: lastNativeHierarchy, layout: lastLayout, requestTotal: lastRequestTotal, appCommits: lastAppCommits, nodeCount: lastNodeCount }
11782
11801
  if (snapshot.layoutDirty) dirtyPolls++
11783
11802
  if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
@@ -11862,7 +11881,11 @@ async function waitForSootsimIdle({
11862
11881
  await transitionWait
11863
11882
  transitionWait = null
11864
11883
  }
11865
- if (stillProven()) return { settled: true, elapsed: clockNow() - start, blockedBy: '' }
11884
+ if (stillProven()) {
11885
+ const [proving, replying] = await Promise.all([pollRevision, readRevision()])
11886
+ const stillRevision = typeof proving === 'string' && proving === replying ? proving : undefined
11887
+ return { settled: true, elapsed: clockNow() - start, blockedBy: '', stillRevision }
11888
+ }
11866
11889
  }
11867
11890
  } else {
11868
11891
  stillPolls = []
@@ -11927,11 +11950,12 @@ async function waitForSootsimIdle({
11927
11950
  result.missingFields
11928
11951
  );
11929
11952
  }
11930
- const { elapsed, settled, blockedBy } = result ?? {};
11953
+ const { elapsed, settled, blockedBy, stillRevision } = result ?? {};
11931
11954
  return {
11932
11955
  elapsed: typeof elapsed === "number" ? elapsed : maxMs,
11933
11956
  settled: settled === true,
11934
- blockedBy: typeof blockedBy === "string" ? blockedBy : "unknown"
11957
+ blockedBy: typeof blockedBy === "string" ? blockedBy : "unknown",
11958
+ ...settled === true && typeof stillRevision === "string" ? { stillRevision } : {}
11935
11959
  };
11936
11960
  }
11937
11961
 
@@ -13314,7 +13338,7 @@ var import_plist5 = __toESM(require("plist"), 1);
13314
13338
  init_answeredNativePackages();
13315
13339
 
13316
13340
  // src/swift-standin-digest.ts
13317
- var STANDIN_SOURCE_DIGEST = true ? "7b618908e76b704175d5c94e30ceb691f6a3f50052a1d5a7bc25f24a07375c9b" : standinSourceDigest();
13341
+ var STANDIN_SOURCE_DIGEST = true ? "089050e56f3e4935fed286174446973ff56c0fb4ee8c326f19a71b9fecbe9d05" : standinSourceDigest();
13318
13342
 
13319
13343
  // src/expo-native-workspace.ts
13320
13344
  init_detect();
@@ -15641,7 +15665,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
15641
15665
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
15642
15666
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
15643
15667
  ).join("");
15644
- var compilerSourceDigest = true ? "6b31bc2b6f1a60a8ff02569b886f5f3a6cca1ec484cdb3c17ac060942b93cb3e" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
15668
+ var compilerSourceDigest = true ? "660487c29d9a45fcb5a83e23f25f239be6cc1cc7338a3a2c2f756a4c985ae043" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
15645
15669
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
15646
15670
  "CFAllocator",
15647
15671
  "CFArray",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/menuContract.ts
4
4
  var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2249 | (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;