peachsim 0.1.1800 → 0.1.1801

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 (85) 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 +141 -154
  14. package/dist-lib/capture-contract.cjs +2 -2
  15. package/dist-lib/capture-contract.mjs +2 -2
  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 +2 -2
  21. package/dist-lib/cloud.mjs +2 -2
  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 +135 -148
  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 +164 -177
  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 +2 -2
  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/plist.cjs +1 -1
  54. package/dist-lib/plist.mjs +1 -1
  55. package/dist-lib/profiles.cjs +1 -1
  56. package/dist-lib/public-brand.cjs +1 -1
  57. package/dist-lib/public-origins-lib-esm.json +23 -23
  58. package/dist-lib/public-origins-lib.json +52 -52
  59. package/dist-lib/react-native-host-modules.cjs +1 -1
  60. package/dist-lib/react-native-host-modules.mjs +1 -1
  61. package/dist-lib/reap-browser.cjs +1 -1
  62. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  63. package/dist-lib/sdk.cjs +1 -1
  64. package/dist-lib/sdk.mjs +1 -1
  65. package/dist-lib/skills.cjs +171 -184
  66. package/dist-lib/swift-compile.cjs +1 -1
  67. package/dist-lib/swift-compile.mjs +1 -1
  68. package/dist-lib/swift-package.cjs +1 -1
  69. package/dist-lib/swift-package.mjs +1 -1
  70. package/dist-lib/swift-submit.cjs +1 -1
  71. package/dist-lib/swift-submit.mjs +1 -1
  72. package/dist-lib/swift-toolchain.cjs +1 -1
  73. package/dist-lib/swift.cjs +1 -1
  74. package/dist-lib/vite-swift.cjs +135 -148
  75. package/dist-lib/vite.cjs +1 -1
  76. package/dist-lib/worklet-executable.cjs +1 -1
  77. package/dist-lib/worklet-executable.mjs +1 -1
  78. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +1 -0
  79. package/dist-types/packages/peach-globals/src/nodeContract.d.ts +1 -0
  80. package/package.json +3 -4
  81. package/src/capture-contract.ts +9 -0
  82. package/src/nitro-superset.lock.json +5 -5
  83. package/src/swift-cxx-declarations.ts +114 -130
  84. package/src/swift-cxx-standin.ts +3 -3
  85. package/src/swift-standins.ts +33 -30
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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;
@@ -32526,7 +32526,7 @@ var init_swift_standin_digest = __esm({
32526
32526
  import_node_path49 = __toESM(require("node:path"), 1);
32527
32527
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
32528
32528
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
32529
- STANDIN_SOURCE_DIGEST = true ? "43e2dfed0be0b3e4149baf61b8dbb5cf3ee5415abc8439a656630a2d66422422" : standinSourceDigest();
32529
+ STANDIN_SOURCE_DIGEST = true ? "5736fd54bc25e79ef785207e686708df187e9ad830119e6f82536d249a9ecb79" : standinSourceDigest();
32530
32530
  }
32531
32531
  });
32532
32532
 
@@ -32677,129 +32677,113 @@ var init_output_lock_stdio = __esm({
32677
32677
  });
32678
32678
 
32679
32679
  // src/swift-cxx-declarations.ts
32680
- function cxxDeclarations(astFile, headers) {
32681
- const stream = import_stream_json.default.parser();
32680
+ async function cxxDeclarations(astFile, headers) {
32682
32681
  const stack = [];
32683
32682
  const result = [];
32684
32683
  let lastFile = "";
32685
- let failed;
32686
32684
  let rootComplete = false;
32687
- stream.on("error", (error) => {
32688
- failed = error;
32689
- });
32690
- stream.on("data", (value) => {
32691
- if (!value || typeof value !== "object" || !("name" in value) || typeof value.name !== "string")
32692
- throw new Error("invalid clang AST token");
32693
- const token = value.name;
32694
- const content = "value" in value ? value.value : void 0;
32695
- const parent = stack.at(-1);
32696
- if (token === "startObject" || token === "startArray") {
32697
- stack.push({
32698
- object: token === "startObject",
32699
- relation: parent?.object ? parent.key : void 0
32700
- });
32701
- } else if (token === "endObject" || token === "endArray") {
32702
- const frame = stack.pop();
32703
- if (!frame) throw new Error("unbalanced clang AST");
32704
- if (stack.length === 0 && frame.object) rootComplete = true;
32705
- const owner = stack.at(-1);
32706
- if (frame.relation === "loc" && owner) {
32707
- owner.file = lastFile;
32708
- owner.offset = frame.offset;
32709
- }
32710
- if (frame.relation === "type" && owner) owner.type = frame.type;
32711
- if (frame.kind === "ParmVarDecl") {
32712
- const declaration = stack.findLast(
32713
- (item) => item.kind && DECLARATIONS.has(item.kind)
32714
- );
32715
- if (declaration && frame.type) (declaration.params ??= []).push(frame.type);
32716
- }
32717
- if (frame.kind === "CompoundStmt") {
32718
- const declaration = stack.findLast(
32719
- (item) => item.kind && DECLARATIONS.has(item.kind)
32720
- );
32721
- if (declaration) declaration.hasBody = true;
32722
- }
32723
- if (frame.kind && DECLARATIONS.has(frame.kind) && !(frame.kind === "VarDecl" && stack.some((item) => item.kind && DECLARATIONS.has(item.kind))) && frame.name && frame.file && headers.has(import_node_path51.default.resolve(frame.file))) {
32724
- const scope2 = stack.flatMap(
32725
- (item) => item.name && (item.kind === "NamespaceDecl" || item.kind === "CXXRecordDecl") ? [
32726
- {
32727
- kind: item.kind === "NamespaceDecl" ? "namespace" : "record",
32728
- name: item.name
32729
- }
32730
- ] : []
32731
- );
32732
- result.push({
32733
- kind: frame.kind,
32734
- name: frame.name,
32735
- mangled: frame.mangled ?? "",
32736
- type: frame.type ?? "",
32737
- params: frame.params ?? [],
32738
- scope: scope2,
32739
- file: import_node_path51.default.resolve(frame.file),
32740
- offset: frame.offset ?? 0,
32741
- implicit: frame.implicit ?? false,
32742
- deleted: frame.deleted ?? false,
32743
- defaulted: frame.defaulted ?? false,
32744
- inline: frame.inline ?? false,
32745
- constexpr: frame.constexpr ?? false,
32746
- pure: frame.pure ?? false,
32747
- storage: frame.storage ?? "",
32748
- variadic: frame.variadic ?? false,
32749
- hasBody: frame.hasBody ?? false
32685
+ await (0, import_promises6.pipeline)(import_node_fs54.default.createReadStream(astFile), (0, import_stream_json.default)(), async (tokens2) => {
32686
+ for await (const value of tokens2) {
32687
+ if (!value || typeof value !== "object" || !("name" in value) || typeof value.name !== "string")
32688
+ throw new Error("invalid clang AST token");
32689
+ const token = value.name;
32690
+ const content = "value" in value ? value.value : void 0;
32691
+ const parent = stack.at(-1);
32692
+ if (token === "startObject" || token === "startArray") {
32693
+ stack.push({
32694
+ object: token === "startObject",
32695
+ relation: parent?.object ? parent.key : void 0
32750
32696
  });
32697
+ } else if (token === "endObject" || token === "endArray") {
32698
+ const frame = stack.pop();
32699
+ if (!frame) throw new Error("unbalanced clang AST");
32700
+ if (stack.length === 0 && frame.object) rootComplete = true;
32701
+ const owner = stack.at(-1);
32702
+ if (frame.relation === "loc" && owner) {
32703
+ owner.file = lastFile;
32704
+ owner.offset = frame.offset;
32705
+ }
32706
+ if (frame.relation === "type" && owner) owner.type = frame.type;
32707
+ if (frame.kind === "ParmVarDecl") {
32708
+ const declaration = stack.findLast(
32709
+ (item) => item.kind && DECLARATIONS.has(item.kind)
32710
+ );
32711
+ if (declaration && frame.type) (declaration.params ??= []).push(frame.type);
32712
+ }
32713
+ if (frame.kind === "CompoundStmt") {
32714
+ const declaration = stack.findLast(
32715
+ (item) => item.kind && DECLARATIONS.has(item.kind)
32716
+ );
32717
+ if (declaration) declaration.hasBody = true;
32718
+ }
32719
+ if (frame.kind && DECLARATIONS.has(frame.kind) && !(frame.kind === "VarDecl" && stack.some((item) => item.kind && DECLARATIONS.has(item.kind))) && frame.name && frame.file && headers.has(import_node_path51.default.resolve(frame.file))) {
32720
+ const scope2 = stack.flatMap(
32721
+ (item) => item.name && (item.kind === "NamespaceDecl" || item.kind === "CXXRecordDecl") ? [
32722
+ {
32723
+ kind: item.kind === "NamespaceDecl" ? "namespace" : "record",
32724
+ name: item.name
32725
+ }
32726
+ ] : []
32727
+ );
32728
+ result.push({
32729
+ kind: frame.kind,
32730
+ name: frame.name,
32731
+ mangled: frame.mangled ?? "",
32732
+ type: frame.type ?? "",
32733
+ params: frame.params ?? [],
32734
+ scope: scope2,
32735
+ file: import_node_path51.default.resolve(frame.file),
32736
+ offset: frame.offset ?? 0,
32737
+ implicit: frame.implicit ?? false,
32738
+ deleted: frame.deleted ?? false,
32739
+ defaulted: frame.defaulted ?? false,
32740
+ inline: frame.inline ?? false,
32741
+ constexpr: frame.constexpr ?? false,
32742
+ pure: frame.pure ?? false,
32743
+ storage: frame.storage ?? "",
32744
+ variadic: frame.variadic ?? false,
32745
+ hasBody: frame.hasBody ?? false
32746
+ });
32747
+ }
32748
+ } else if (token === "keyValue" && parent?.object && typeof content === "string")
32749
+ parent.key = content;
32750
+ else if (token === "stringValue" && parent?.object && typeof content === "string") {
32751
+ if (parent.key === "file" && ["loc", "begin", "end", "expansionLoc", "spellingLoc"].includes(
32752
+ parent.relation ?? ""
32753
+ ))
32754
+ lastFile = content;
32755
+ if (parent.key === "kind") {
32756
+ parent.kind = content;
32757
+ parent.file = lastFile;
32758
+ }
32759
+ if (parent.key === "name") parent.name = content;
32760
+ if (parent.key === "mangledName") parent.mangled = content;
32761
+ if (parent.key === "qualType") parent.type = content;
32762
+ if (parent.key === "storageClass") parent.storage = content;
32763
+ if (parent.key === "explicitlyDefaulted") parent.defaulted = true;
32764
+ } else if (token === "numberValue" && parent?.object && parent.key === "offset" && typeof content === "string") {
32765
+ parent.offset = Number(content);
32766
+ } else if (token === "trueValue" && parent?.object) {
32767
+ if (parent.key === "isImplicit") parent.implicit = true;
32768
+ if (parent.key === "explicitlyDeleted") parent.deleted = true;
32769
+ if (parent.key === "inline") parent.inline = true;
32770
+ if (parent.key === "constexpr") parent.constexpr = true;
32771
+ if (parent.key === "pure") parent.pure = true;
32772
+ if (parent.key === "variadic") parent.variadic = true;
32751
32773
  }
32752
- } else if (token === "keyValue" && parent?.object && typeof content === "string")
32753
- parent.key = content;
32754
- else if (token === "stringValue" && parent?.object && typeof content === "string") {
32755
- if (parent.key === "file" && ["loc", "begin", "end", "expansionLoc", "spellingLoc"].includes(
32756
- parent.relation ?? ""
32757
- ))
32758
- lastFile = content;
32759
- if (parent.key === "kind") {
32760
- parent.kind = content;
32761
- parent.file = lastFile;
32762
- }
32763
- if (parent.key === "name") parent.name = content;
32764
- if (parent.key === "mangledName") parent.mangled = content;
32765
- if (parent.key === "qualType") parent.type = content;
32766
- if (parent.key === "storageClass") parent.storage = content;
32767
- if (parent.key === "explicitlyDefaulted") parent.defaulted = true;
32768
- } else if (token === "numberValue" && parent?.object && parent.key === "offset" && typeof content === "string") {
32769
- parent.offset = Number(content);
32770
- } else if (token === "trueValue" && parent?.object) {
32771
- if (parent.key === "isImplicit") parent.implicit = true;
32772
- if (parent.key === "explicitlyDeleted") parent.deleted = true;
32773
- if (parent.key === "inline") parent.inline = true;
32774
- if (parent.key === "constexpr") parent.constexpr = true;
32775
- if (parent.key === "pure") parent.pure = true;
32776
- if (parent.key === "variadic") parent.variadic = true;
32777
32774
  }
32778
32775
  });
32779
- const fd = import_node_fs54.default.openSync(astFile, "r");
32780
- const buffer = Buffer.allocUnsafe(64 * 1024);
32781
- try {
32782
- let count;
32783
- while ((count = import_node_fs54.default.readSync(fd, buffer, 0, buffer.length, null)) > 0) {
32784
- if (!stream.write(buffer.subarray(0, count)))
32785
- throw new Error("clang AST parser could not keep up");
32786
- if (failed) throw failed;
32787
- }
32788
- stream.end();
32789
- if (failed) throw failed;
32790
- if (stack.length !== 0 || !rootComplete) throw new Error("truncated clang AST");
32791
- } finally {
32792
- import_node_fs54.default.closeSync(fd);
32793
- }
32776
+ if (stack.length !== 0 || !rootComplete) throw new Error("truncated clang AST");
32794
32777
  return result;
32795
32778
  }
32796
- var import_node_fs54, import_node_path51, import_stream_json, DECLARATIONS;
32779
+ var import_node_fs54, import_node_path51, import_promises6, import_stream_json, DECLARATIONS;
32797
32780
  var init_swift_cxx_declarations = __esm({
32798
32781
  "src/swift-cxx-declarations.ts"() {
32799
32782
  "use strict";
32800
32783
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
32801
32784
  import_node_fs54 = __toESM(require("node:fs"), 1);
32802
32785
  import_node_path51 = __toESM(require("node:path"), 1);
32786
+ import_promises6 = require("node:stream/promises");
32803
32787
  import_stream_json = __toESM(require("stream-json"), 1);
32804
32788
  DECLARATIONS = /* @__PURE__ */ new Set([
32805
32789
  "FunctionDecl",
@@ -32912,7 +32896,7 @@ function definition(decl, index) {
32912
32896
  text: namespaces.reduceRight((inner, name3) => `namespace ${name3} { ${inner} }`, body)
32913
32897
  };
32914
32898
  }
32915
- function emitCxxStandin(input) {
32899
+ async function emitCxxStandin(input) {
32916
32900
  const ast = import_node_path52.default.join(input.work, "cxx-ast.json");
32917
32901
  const probe = import_node_path52.default.join(input.work, "cxx-probe.cpp");
32918
32902
  const sourceFile = import_node_path52.default.join(input.work, "cxx-traps.cpp");
@@ -32966,7 +32950,7 @@ function emitCxxStandin(input) {
32966
32950
  );
32967
32951
  let declarations;
32968
32952
  try {
32969
- declarations = cxxDeclarations(ast, reached);
32953
+ declarations = await cxxDeclarations(ast, reached);
32970
32954
  } finally {
32971
32955
  import_node_fs55.default.rmSync(ast, { force: true });
32972
32956
  }
@@ -35572,7 +35556,7 @@ ${roots.map((file) => ` header "${file}"
35572
35556
  }
35573
35557
  };
35574
35558
  }
35575
- function cxxStandin(surface, binary2, toolchain, work) {
35559
+ async function cxxStandin(surface, binary2, toolchain, work) {
35576
35560
  if (!binary2.cxxHeaders) throw new Error("C++ header inputs are missing");
35577
35561
  const headers = surface.headers;
35578
35562
  const names = import_node_fs56.default.readdirSync(headers, { recursive: true, encoding: "utf8" }).filter((file) => import_node_fs56.default.statSync(import_node_path53.default.join(headers, file)).isFile()).sort();
@@ -35625,7 +35609,7 @@ function cxxStandin(surface, binary2, toolchain, work) {
35625
35609
  if (/\b__OBJC__\b/.test(text5))
35626
35610
  throw new Error(`C++ public header ${file} changes under Objective-C++`);
35627
35611
  }
35628
- const emitted = emitCxxStandin({
35612
+ const emitted = await emitCxxStandin({
35629
35613
  clang: import_node_path53.default.join(toolchain.toolchainBin, "clang++"),
35630
35614
  sysroot,
35631
35615
  headers,
@@ -36103,7 +36087,7 @@ function standinGenerationInputs(binaries, toolchain, behavior = {}, sourceDir)
36103
36087
  }
36104
36088
  return (0, import_node_crypto27.createHash)("sha256").update(parts.join("\0")).digest("hex");
36105
36089
  }
36106
- function binaryStandins(binary2, toolchain, provided, behavior, frameworks, siblings) {
36090
+ async function binaryStandins(binary2, toolchain, provided, behavior, frameworks, siblings) {
36107
36091
  if (provided.has(binary2.target)) return [];
36108
36092
  if (!binary2.url && !import_node_fs56.default.existsSync(binary2.dir))
36109
36093
  return `${import_node_path53.default.relative(process.cwd(), binary2.dir) || binary2.dir} is not on disk, and Xcode fails without it too; run the script that downloads or builds it, then run again`;
@@ -36204,48 +36188,51 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
36204
36188
  }
36205
36189
  let result;
36206
36190
  try {
36207
- result = found.map((surface) => {
36191
+ result = [];
36192
+ for (const surface of found) {
36208
36193
  const dir = import_node_path53.default.join(work, surface.module);
36209
36194
  try {
36210
36195
  if (surface.kind === "c" && configured.has(surface.module))
36211
36196
  throw new Error(
36212
36197
  "Configured behavior requires the framework's Swift declarations"
36213
36198
  );
36214
- return surface.kind === "source" ? placeholderStandin(
36215
- surface,
36216
- binary2,
36217
- toolchain,
36218
- dir,
36219
- new Map(Object.entries(configured.get(surface.module) ?? {})),
36220
- siblings
36221
- ) : surface.kind === "mixed" ? mixedStandin(
36222
- surface,
36223
- binary2,
36224
- toolchain,
36225
- dir,
36226
- new Map(Object.entries(configured.get(surface.module) ?? {})),
36227
- frameworks.dirs,
36228
- siblings
36229
- ) : surface.kind === "swift" ? swiftStandin(
36230
- surface,
36231
- binary2,
36232
- toolchain,
36233
- dir,
36234
- new Map(Object.entries(configured.get(surface.module) ?? {})),
36235
- siblings
36236
- ) : surface.kind === "objc" ? objcStandin(
36237
- surface,
36238
- binary2,
36239
- toolchain,
36240
- dir,
36241
- new Map(Object.entries(configured.get(surface.module) ?? {}))
36242
- ) : binary2.cxxHeaders ? cxxStandin(surface, binary2, toolchain, dir) : cStandin(surface, binary2, toolchain, dir);
36199
+ result.push(
36200
+ surface.kind === "source" ? placeholderStandin(
36201
+ surface,
36202
+ binary2,
36203
+ toolchain,
36204
+ dir,
36205
+ new Map(Object.entries(configured.get(surface.module) ?? {})),
36206
+ siblings
36207
+ ) : surface.kind === "mixed" ? mixedStandin(
36208
+ surface,
36209
+ binary2,
36210
+ toolchain,
36211
+ dir,
36212
+ new Map(Object.entries(configured.get(surface.module) ?? {})),
36213
+ frameworks.dirs,
36214
+ siblings
36215
+ ) : surface.kind === "swift" ? swiftStandin(
36216
+ surface,
36217
+ binary2,
36218
+ toolchain,
36219
+ dir,
36220
+ new Map(Object.entries(configured.get(surface.module) ?? {})),
36221
+ siblings
36222
+ ) : surface.kind === "objc" ? objcStandin(
36223
+ surface,
36224
+ binary2,
36225
+ toolchain,
36226
+ dir,
36227
+ new Map(Object.entries(configured.get(surface.module) ?? {}))
36228
+ ) : binary2.cxxHeaders ? await cxxStandin(surface, binary2, toolchain, dir) : cStandin(surface, binary2, toolchain, dir)
36229
+ );
36243
36230
  } catch (error) {
36244
36231
  throw new Error(
36245
36232
  `no stand-in for ${surface.module}: ${error instanceof Error && !("stderr" in error) ? error.message : failure(error)}`
36246
36233
  );
36247
36234
  }
36248
- });
36235
+ }
36249
36236
  if (typeof result === "string") throw new Error(result);
36250
36237
  import_node_fs56.default.mkdirSync(import_node_path53.default.dirname(cached2), { recursive: true });
36251
36238
  const pending = `${cached2}.${process.pid}.tmp`;
@@ -36343,7 +36330,7 @@ async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new
36343
36330
  ])
36344
36331
  );
36345
36332
  const visited = /* @__PURE__ */ new Set();
36346
- const visit3 = (binary2) => {
36333
+ const visit3 = async (binary2) => {
36347
36334
  if (visited.has(binary2.target)) return;
36348
36335
  visited.add(binary2.target);
36349
36336
  for (const module2 of [
@@ -36353,10 +36340,10 @@ async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new
36353
36340
  ...siblings.get(binary2)
36354
36341
  ]) {
36355
36342
  const target = byModule.get(module2);
36356
- if (target) visit3(target);
36343
+ if (target) await visit3(target);
36357
36344
  }
36358
36345
  const started = Date.now();
36359
- const result = binaryStandins(
36346
+ const result = await binaryStandins(
36360
36347
  binary2,
36361
36348
  generatedToolchain,
36362
36349
  provided,
@@ -36401,7 +36388,7 @@ async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new
36401
36388
  }
36402
36389
  };
36403
36390
  try {
36404
- for (const binary2 of binaries) visit3(binary2);
36391
+ for (const binary2 of binaries) await visit3(binary2);
36405
36392
  return { standins, gaps };
36406
36393
  } finally {
36407
36394
  import_node_fs56.default.rmSync(modules, { recursive: true, force: true });
@@ -46490,7 +46477,7 @@ var nitro_superset_lock_default;
46490
46477
  var init_nitro_superset_lock = __esm({
46491
46478
  "src/nitro-superset.lock.json"() {
46492
46479
  nitro_superset_lock_default = {
46493
- key: "7c81b3e30ce872a9e3327ebc860f3ffa",
46480
+ key: "b69fb439207b9c4c2395cf27b6d85446",
46494
46481
  inputs: {
46495
46482
  "ios-deployment-target": "16.4",
46496
46483
  "react-native": "0.88.0",
@@ -46507,7 +46494,7 @@ var init_nitro_superset_lock = __esm({
46507
46494
  "provider:react-native-nitro-sound": "0.2.20\x004a7507d1bfd9bbeb3cbc2e52385c3a9b0313c216353d96048a58720566639334",
46508
46495
  "provider:react-native-nitro-sqlite": "10.1.0\x005caf7edb2f36e20a9ad571987528928d5ef9dd78e473daa4d81dbecc64571d1e",
46509
46496
  "provider:react-native-nitro-modules": "0.37.1\0bdb0a25e97222439e578796350b942a9931f72d9ad4d73b44871eee2aa3301bd",
46510
- compiler: "89f3d99b7148707dccb607602a1add0e7b6093a23cde0d5747345f12b50b54b4"
46497
+ compiler: "5961b1afcfd22e1cdbef6878ed59a7ba889bd3b317c5ec2d48d66ebafff9bb95"
46511
46498
  },
46512
46499
  metadata: {
46513
46500
  platform: "ios",
@@ -46577,9 +46564,9 @@ var init_nitro_superset_lock = __esm({
46577
46564
  views: []
46578
46565
  }
46579
46566
  ],
46580
- url: "https://r2.rnxsim.com/native/nitro/superset/7c81b3e30ce872a9e3327ebc860f3ffa/65055180a847a487a6ab7c2281d2b34126982999b17356fbd149411ced3adcda.wasm",
46581
- hash: "65055180a847a487a6ab7c2281d2b34126982999b17356fbd149411ced3adcda",
46582
- icuUrl: "https://r2.rnxsim.com/native/nitro/superset/7c81b3e30ce872a9e3327ebc860f3ffa/b6f7d63d7041aaf2485e76b68c284ce69e6157c9cefe0af780252a04e8c2f276",
46567
+ url: "https://r2.rnxsim.com/native/nitro/superset/b69fb439207b9c4c2395cf27b6d85446/72ed501af19f5d811ce2e71cd0168fbe74391d849fb8810dfd34d2a98bfd0c5e.wasm",
46568
+ hash: "72ed501af19f5d811ce2e71cd0168fbe74391d849fb8810dfd34d2a98bfd0c5e",
46569
+ icuUrl: "https://r2.rnxsim.com/native/nitro/superset/b69fb439207b9c4c2395cf27b6d85446/b6f7d63d7041aaf2485e76b68c284ce69e6157c9cefe0af780252a04e8c2f276",
46583
46570
  bundleFiles: {}
46584
46571
  }
46585
46572
  };
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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;
@@ -360,7 +360,7 @@ function captureNode(value) {
360
360
  return captureRecord(style.resolved) && captureRecord(style.authored) && captureRecord(style.computed) && captureRecord(style.tokenBindings) && (value.textLines === void 0 || Array.isArray(value.textLines));
361
361
  }
362
362
  function isRnxScreenCapture(value) {
363
- if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
363
+ if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !(value.committedRoute === void 0 || value.committedRoute === null || captureRecord(value.committedRoute) && typeof value.committedRoute.href === "string" && value.committedRoute.href.startsWith("/")) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
364
364
  return false;
365
365
  }
366
366
  const tree = value.tree;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -328,7 +328,7 @@ function captureNode(value) {
328
328
  return captureRecord(style.resolved) && captureRecord(style.authored) && captureRecord(style.computed) && captureRecord(style.tokenBindings) && (value.textLines === void 0 || Array.isArray(value.textLines));
329
329
  }
330
330
  function isRnxScreenCapture(value) {
331
- if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
331
+ if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !(value.committedRoute === void 0 || value.committedRoute === null || captureRecord(value.committedRoute) && typeof value.committedRoute.href === "string" && value.committedRoute.href.startsWith("/")) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
332
332
  return false;
333
333
  }
334
334
  const tree = value.tree;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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;
@@ -92,7 +92,7 @@ function captureNode(value) {
92
92
  return captureRecord(style.resolved) && captureRecord(style.authored) && captureRecord(style.computed) && captureRecord(style.tokenBindings) && (value.textLines === void 0 || Array.isArray(value.textLines));
93
93
  }
94
94
  function isRnxScreenCapture(value) {
95
- if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
95
+ if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !(value.committedRoute === void 0 || value.committedRoute === null || captureRecord(value.committedRoute) && typeof value.committedRoute.href === "string" && value.committedRoute.href.startsWith("/")) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
96
96
  return false;
97
97
  }
98
98
  const tree = value.tree;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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);
@@ -62,7 +62,7 @@ function captureNode(value) {
62
62
  return captureRecord(style.resolved) && captureRecord(style.authored) && captureRecord(style.computed) && captureRecord(style.tokenBindings) && (value.textLines === void 0 || Array.isArray(value.textLines));
63
63
  }
64
64
  function isRnxScreenCapture(value) {
65
- if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
65
+ if (!captureRecord(value) || value.contractVersion !== RNX_SCREEN_CAPTURE_VERSION || !captureInteger(value.capturedAt) || !(value.committedRoute === void 0 || value.committedRoute === null || captureRecord(value.committedRoute) && typeof value.committedRoute.href === "string" && value.committedRoute.href.startsWith("/")) || !captureRecord(value.tree) || !(value.fonts === void 0 || Array.isArray(value.fonts) && value.fonts.length <= 200 && value.fonts.every(captureFontRegistration)) || !(value.visual === void 0 || captureRecord(value.visual))) {
66
66
  return false;
67
67
  }
68
68
  const tree = value.tree;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1800 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1801 | (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;