peachsim 0.1.1966 → 0.1.1968

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 +92 -15
  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 +90 -13
  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 +91 -14
  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 +2 -2
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  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 +92 -15
  68. package/dist-lib/swift-compile.cjs +2 -2
  69. package/dist-lib/swift-compile.mjs +2 -2
  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 +89 -12
  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/package.json +1 -1
  81. package/src/swift-objc-standin.ts +77 -4
  82. package/src/swift-standin-emit.ts +25 -3
  83. package/src/swift-standins.ts +7 -1
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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;
@@ -18533,6 +18533,7 @@ function emitSwiftStandin(sourceGraphs, options) {
18533
18533
  const superclass = /* @__PURE__ */ new Map();
18534
18534
  const superId = /* @__PURE__ */ new Map();
18535
18535
  const conforms = /* @__PURE__ */ new Map();
18536
+ const conditional = [];
18536
18537
  const conformanceTargets = /* @__PURE__ */ new Map();
18537
18538
  const objectConformers = /* @__PURE__ */ new Set();
18538
18539
  const conformIds = /* @__PURE__ */ new Map();
@@ -18548,7 +18549,10 @@ function emitSwiftStandin(sourceGraphs, options) {
18548
18549
  const parts = fallback.split(".");
18549
18550
  const module2 = parts[0] === "SwiftUICore" ? "SwiftUI" : parts[0];
18550
18551
  const unqualified = parts.slice(1).join(".") || parts[0];
18551
- const name3 = family.has(parts[0]) && parts[0] !== "SwiftUICore" ? parts.join(".") : unqualified;
18552
+ const name3 = parts.length > 1 && family.has(parts[0]) && parts[0] !== "SwiftUICore" ? (
18553
+ // a module selector reaches past a class named like its module
18554
+ `${parts[0]}::${unqualified}`
18555
+ ) : unqualified;
18552
18556
  return { name: name3, module: module2, local: false };
18553
18557
  };
18554
18558
  const nsObject = nameOf("c:objc(cs)NSObject", "ObjectiveC.NSObject").name;
@@ -18563,6 +18567,7 @@ function emitSwiftStandin(sourceGraphs, options) {
18563
18567
  if (edge.sourceOrigin) origins.set(edge.source, edge.sourceOrigin.displayName);
18564
18568
  switch (edge.kind) {
18565
18569
  case "memberOf": {
18570
+ if (edge.source === edge.target) break;
18566
18571
  const parent = byId.get(edge.target);
18567
18572
  if (parent) {
18568
18573
  owner.set(edge.source, edge.target);
@@ -18593,7 +18598,15 @@ function emitSwiftStandin(sourceGraphs, options) {
18593
18598
  path: pathOf(source),
18594
18599
  reason: `unsupported Objective-C protocol parent ${edge.target}`
18595
18600
  });
18596
- if (name3) {
18601
+ if (name3 && edge.swiftConstraints?.length) {
18602
+ conditional.push({
18603
+ source,
18604
+ name: name3,
18605
+ where: edge.swiftConstraints.map(
18606
+ ({ kind, lhs, rhs }) => kind === "sameType" ? `${lhs} == ${rhs}` : `${lhs}: ${rhs}`
18607
+ ).join(", ")
18608
+ });
18609
+ } else if (name3) {
18597
18610
  conforms.set(edge.source, [...conforms.get(edge.source) ?? [], name3]);
18598
18611
  const targets = conformanceTargets.get(edge.source) ?? /* @__PURE__ */ new Map();
18599
18612
  targets.set(name3, edge.target);
@@ -19074,7 +19087,7 @@ function emitSwiftStandin(sourceGraphs, options) {
19074
19087
  if (!parentSymbol || !ownIds.has(parentSymbol.identifier.precise))
19075
19088
  list2.push(standinMarker);
19076
19089
  const open = symbol2.accessLevel === "open" && (!parentSymbol || parentSymbol.accessLevel === "open");
19077
- const objcName = /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
19090
+ const objcName = shape.generics ? void 0 : /^c:objc\(cs\)(\w+)$/.exec(id)?.[1];
19078
19091
  emit(
19079
19092
  `${indent2}${shape.attrs}${objcName ? `@objc(${objcName}) ` : ""}${shape.final}${open ? "open" : "public"} class ${shape.name}${shape.generics}${list2.length ? `: ${list2.join(", ")}` : ""}${selfConforming(shape.where)} {`
19080
19093
  );
@@ -19469,6 +19482,8 @@ function emitSwiftStandin(sourceGraphs, options) {
19469
19482
  emitWitness(witness.member, " ", witness.path);
19470
19483
  emit("}");
19471
19484
  }
19485
+ for (const { source, name: name3, where } of conditional)
19486
+ emitAt(pathOf(source), `extension ${pathOf(source)}: ${name3} where ${where} {}`);
19472
19487
  const banner = [
19473
19488
  ...options.placeholder ? [
19474
19489
  `// placeholder for ${options.module}, generated from ${options.source}: ${options.placeholder}.`,
@@ -19898,13 +19913,18 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
19898
19913
  import_node_fs29.default.mkdirSync(import_node_path27.default.dirname(file), { recursive: true });
19899
19914
  import_node_fs29.default.writeFileSync(file, text6);
19900
19915
  }
19916
+ const interfaceCopies = [];
19901
19917
  if (framework) {
19902
19918
  import_node_fs29.default.mkdirSync(import_node_path27.default.join(frameworks, `${surface.module}.framework`, "Modules"), {
19903
19919
  recursive: true
19904
19920
  });
19905
- import_node_fs29.default.copyFileSync(
19906
- surface.modulemap,
19907
- import_node_path27.default.join(frameworks, `${surface.module}.framework`, "Modules", "module.modulemap")
19921
+ const modulemap = import_node_fs29.default.readFileSync(surface.modulemap, "utf8");
19922
+ import_node_fs29.default.writeFileSync(
19923
+ import_node_path27.default.join(frameworks, `${surface.module}.framework`, "Modules", "module.modulemap"),
19924
+ surface.interface ? modulemap.replace(
19925
+ new RegExp(`\\n\\s*module\\s+${surface.module}\\.Swift\\s*\\{[^}]*\\}`),
19926
+ ""
19927
+ ) : modulemap
19908
19928
  );
19909
19929
  if (surface.interface) {
19910
19930
  const from = import_node_path27.default.dirname(surface.interface);
@@ -19916,14 +19936,16 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
19916
19936
  );
19917
19937
  import_node_fs29.default.mkdirSync(to, { recursive: true });
19918
19938
  for (const name3 of import_node_fs29.default.readdirSync(from))
19919
- if (name3.endsWith(".swiftinterface"))
19939
+ if (name3.endsWith(".swiftinterface")) {
19940
+ interfaceCopies.push(import_node_path27.default.join(to, name3));
19920
19941
  import_node_fs29.default.writeFileSync(
19921
19942
  import_node_path27.default.join(to, name3),
19922
- import_node_fs29.default.readFileSync(import_node_path27.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(
19943
+ import_node_fs29.default.readFileSync(import_node_path27.default.join(from, name3), "utf8").replace(/\bCoreFoundation\.(?=CG)/g, "CoreGraphics.").replace(/\bCoreFoundation\.(?=\w)/g, "Foundation.").replace(/\bDarwin\.OSStatus\b/g, "Swift.Int32").replace(
19923
19944
  /\bFoundation\.Data\.(?=Base64(?:En|De)codingOptions\b)/g,
19924
19945
  "Foundation.NSData."
19925
19946
  )
19926
19947
  );
19948
+ }
19927
19949
  }
19928
19950
  } else {
19929
19951
  import_node_fs29.default.copyFileSync(surface.modulemap, import_node_path27.default.join(headersDir, "module.modulemap"));
@@ -20081,6 +20103,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
20081
20103
  return name3 ? { name: name3, before: text6.slice(0, column - 1), after: rest.slice(name3.length) } : null;
20082
20104
  };
20083
20105
  const typeKind = (name3, after) => /^[A-Z][A-Z0-9_]+$/.test(name3) && !/^\s*\*/.test(after) ? "macro" : /^\s*\*/.test(after) ? "class" : "struct";
20106
+ const selectors = /* @__PURE__ */ new Set();
20084
20107
  for (let round = 0; ; round++) {
20085
20108
  import_node_fs29.default.rmSync(out, { recursive: true, force: true });
20086
20109
  import_node_fs29.default.mkdirSync(out, { recursive: true });
@@ -20118,6 +20141,21 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
20118
20141
  `original Objective-C declarations do not import as Swift: ${run11.stderr.trim() || run11.stdout.trim()}`
20119
20142
  );
20120
20143
  let progress = false;
20144
+ for (const [, shadowed, same] of run11.stderr.matchAll(
20145
+ /is not a member type of class '(\w+)\.(\w+)'/g
20146
+ ))
20147
+ if (shadowed === same && !selectors.has(shadowed)) {
20148
+ selectors.add(shadowed);
20149
+ progress = true;
20150
+ for (const file of interfaceCopies)
20151
+ import_node_fs29.default.writeFileSync(
20152
+ file,
20153
+ import_node_fs29.default.readFileSync(file, "utf8").replace(
20154
+ new RegExp(`\\b${shadowed}\\.(?=[A-Za-z_])`, "g"),
20155
+ `${shadowed}::`
20156
+ )
20157
+ );
20158
+ }
20121
20159
  const learn = (name3, kind) => {
20122
20160
  if (missing2.has(name3)) return;
20123
20161
  missing2.set(name3, kind);
@@ -20256,6 +20294,30 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
20256
20294
  inherit(pairs2[Number(match[1])].superclass[0], "s:s8SendableP");
20257
20295
  }
20258
20296
  }
20297
+ const refined = [...originals.values()].flatMap(
20298
+ (text6) => [
20299
+ ...text6.matchAll(
20300
+ /\b(?:FOUNDATION_EXTERN|FOUNDATION_EXPORT|extern)\s+([\w\s*]+?)\s+const\s+(\w+)\s+NS_REFINED_FOR_SWIFT\s*;/g
20301
+ )
20302
+ ].flatMap(([, ctype, name3]) => {
20303
+ const type = REFINED_CONSTANT_TYPES.get(ctype.replace(/\s+/g, ""));
20304
+ if (!type) return [];
20305
+ return [
20306
+ {
20307
+ kind: { identifier: "swift.var" },
20308
+ identifier: { precise: `c:@${name3}` },
20309
+ pathComponents: [`__${name3}`],
20310
+ declarationFragments: [
20311
+ { kind: "keyword", spelling: "let" },
20312
+ { kind: "text", spelling: ` __${name3}: ${type}` }
20313
+ ],
20314
+ accessLevel: "public"
20315
+ }
20316
+ ];
20317
+ })
20318
+ );
20319
+ if (refined.length > 0)
20320
+ graphs.push({ module: { name: surface.module }, symbols: refined, relationships: [] });
20259
20321
  const imports2 = /* @__PURE__ */ new Set(["Foundation", "UIKit"]);
20260
20322
  for (const text6 of originals.values())
20261
20323
  for (const name3 of clangImportNames(text6)) imports2.add(name3);
@@ -20565,7 +20627,7 @@ function constantValue(node) {
20565
20627
  }
20566
20628
  return null;
20567
20629
  }
20568
- var import_node_child_process13, import_node_crypto11, import_node_fs29, import_node_path27, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, resolvedPinnedSdk, ROUNDS, sdkId, headerFiles, MISSING_IMPORT, FRAMEWORK_HEADER, FRAMEWORK_MODULEMAP, sdkDeclarations;
20630
+ var import_node_child_process13, import_node_crypto11, import_node_fs29, import_node_path27, REFINED_CONSTANT_TYPES, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, resolvedPinnedSdk, ROUNDS, sdkId, headerFiles, MISSING_IMPORT, FRAMEWORK_HEADER, FRAMEWORK_MODULEMAP, sdkDeclarations;
20569
20631
  var init_swift_objc_standin = __esm({
20570
20632
  "src/swift-objc-standin.ts"() {
20571
20633
  "use strict";
@@ -20580,6 +20642,15 @@ var init_swift_objc_standin = __esm({
20580
20642
  init_swift_package();
20581
20643
  init_swift_standin_emit();
20582
20644
  init_swift_toolchain();
20645
+ REFINED_CONSTANT_TYPES = /* @__PURE__ */ new Map([
20646
+ ["NSInteger", "Int"],
20647
+ ["NSUInteger", "UInt"],
20648
+ ["NSTimeInterval", "TimeInterval"],
20649
+ ["double", "Double"],
20650
+ ["CGFloat", "CGFloat"],
20651
+ ["BOOL", "Bool"],
20652
+ ["NSString*", "String"]
20653
+ ]);
20583
20654
  NATIVE_GRAPH_SDK_VERSION = "27.1";
20584
20655
  WASI_EMULATION = [
20585
20656
  "_WASI_EMULATED_SIGNAL",
@@ -32667,7 +32738,7 @@ var init_swift_compile = __esm({
32667
32738
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
32668
32739
  MULTI_MANIFEST_VERSION = 66;
32669
32740
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
32670
- compilerSourceDigest = true ? "43445ac597f2b7673127e43186400d0f6863caf82dafb48c31ce3b516719ce13" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
32741
+ compilerSourceDigest = true ? "4c6d0c445f1c9d7fab6a4d2bbd910ec116536acc8d1aa621f70c74c10dd9faba" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
32671
32742
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
32672
32743
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
32673
32744
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -38454,7 +38525,7 @@ var init_swift_standin_digest = __esm({
38454
38525
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
38455
38526
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
38456
38527
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
38457
- STANDIN_SOURCE_DIGEST = true ? "05087ee542759092b4dbe08e7a7c0a03416fa45a27f3c2e9b633d6d5ce98186a" : standinSourceDigest();
38528
+ STANDIN_SOURCE_DIGEST = true ? "01e0eae770cafd2bbd23d98a22897ab31ada19f5a273a8f25da7c88aa3086c09" : standinSourceDigest();
38458
38529
  }
38459
38530
  });
38460
38531
 
@@ -38944,7 +39015,7 @@ var init_expo_native_prebuilt = __esm({
38944
39015
  init_swift_native_pin();
38945
39016
  init_xcode_project();
38946
39017
  EXPO_NATIVE_ENTRY_NAME = "ios";
38947
- EXPO_NATIVE_COMPILER_DIGEST = true ? "9fd2ff84edb7b369a3643fb86c96987ded6cba6ac0477de1cb94ecd8e4b6f59a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
39018
+ EXPO_NATIVE_COMPILER_DIGEST = true ? "022284864952d1dbc7df026947d11c21515e286edc351e6daa1c083fe4b3c12a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
38948
39019
  IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
38949
39020
  expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
38950
39021
  isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
@@ -41337,7 +41408,13 @@ function mixedStandin(surface, binary2, toolchain, work, behavior, frameworkDirs
41337
41408
  }))
41338
41409
  };
41339
41410
  });
41340
- const imports2 = [.../* @__PURE__ */ new Set([...swiftImportNames(interfaceText), ...owners])].filter(
41411
+ const imports2 = [
41412
+ .../* @__PURE__ */ new Set([
41413
+ ...swiftImportNames(interfaceText),
41414
+ ...view.imports.filter((name3) => !STANDIN_IMPORTS.includes(name3)),
41415
+ ...owners
41416
+ ])
41417
+ ].filter(
41341
41418
  (module2) => module2 !== surface.module && (provided.has(module2) || siblings.has(module2))
41342
41419
  );
41343
41420
  return graphStandin(
@@ -56384,7 +56461,7 @@ var init_nitro_superset = __esm({
56384
56461
  init_swift_standin_digest();
56385
56462
  NITRO_SUPERSET_ENTRY_NAME = "superset";
56386
56463
  packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path85.join)(root, "package.json"), "utf8")).version;
56387
- NITRO_COMPILER_DIGEST = true ? "3ad21cbda2a2bd818f67e1ab27dcd9d6d1397386d5e1cf00a7b9539969ac577a" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
56464
+ NITRO_COMPILER_DIGEST = true ? "c785598cf743dc275f207273c9195800163f524e59977420e693f356cffa6d72" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
56388
56465
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
56389
56466
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
56390
56467
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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.1966 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1968 | (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;