peachsim 0.1.2270 → 0.1.2272

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 (116) hide show
  1. package/cli/app-catalog.ts +13 -5
  2. package/cli/bridge-flow-runner.ts +1 -1
  3. package/cli/commands/control.ts +10 -1
  4. package/cli/commands/flow.ts +117 -23
  5. package/cli/commands/shell-url.ts +10 -2
  6. package/cli/commands/upload.ts +49 -39
  7. package/dist-lib/agent-daemon-client.cjs +1 -1
  8. package/dist-lib/agent-events.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +1 -1
  10. package/dist-lib/auth/shared-session.cjs +1 -1
  11. package/dist-lib/backend-origin.cjs +1 -1
  12. package/dist-lib/beta.cjs +1 -1
  13. package/dist-lib/beta.mjs +1 -1
  14. package/dist-lib/bridge-constants.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.mjs +1 -1
  17. package/dist-lib/bridge-contract.cjs +1 -1
  18. package/dist-lib/bridge-contract.mjs +1 -1
  19. package/dist-lib/bundle-channel.cjs +82 -76
  20. package/dist-lib/capture-contract.cjs +1 -1
  21. package/dist-lib/capture-contract.mjs +1 -1
  22. package/dist-lib/cloud-contract.cjs +1 -1
  23. package/dist-lib/cloud-contract.mjs +1 -1
  24. package/dist-lib/cloud-test-args.cjs +1 -1
  25. package/dist-lib/cloud-test-args.mjs +1 -1
  26. package/dist-lib/cloud.cjs +1 -1
  27. package/dist-lib/cloud.mjs +1 -1
  28. package/dist-lib/config.cjs +1 -1
  29. package/dist-lib/config.mjs +1 -1
  30. package/dist-lib/detox/index.cjs +2 -2
  31. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  32. package/dist-lib/expo-swift-bundle.cjs +71 -68
  33. package/dist-lib/expo-swift-metadata.cjs +1 -1
  34. package/dist-lib/expo-swift-metadata.mjs +1 -1
  35. package/dist-lib/home-paths.cjs +1 -1
  36. package/dist-lib/host/bridge-host.cjs +77 -74
  37. package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
  38. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  39. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  40. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  41. package/dist-lib/host/websocket-proxy.cjs +1 -1
  42. package/dist-lib/index.cjs +23 -17
  43. package/dist-lib/jump-to-source-babel.cjs +1 -1
  44. package/dist-lib/jump-to-source-native.cjs +1 -1
  45. package/dist-lib/kotlin-host.cjs +1 -1
  46. package/dist-lib/menu.cjs +1 -1
  47. package/dist-lib/menu.mjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  50. package/dist-lib/metro-production-bundle.cjs +1 -1
  51. package/dist-lib/metro-production-bundle.mjs +1 -1
  52. package/dist-lib/metro.cjs +23 -17
  53. package/dist-lib/native-app-identity-project.cjs +3 -3
  54. package/dist-lib/native-app-identity-project.mjs +3 -3
  55. package/dist-lib/native-app-identity.cjs +1 -1
  56. package/dist-lib/native-app-identity.mjs +1 -1
  57. package/dist-lib/native-firebase-metadata.cjs +1 -1
  58. package/dist-lib/native-firebase-metadata.mjs +1 -1
  59. package/dist-lib/pdfium-raster.cjs +1 -1
  60. package/dist-lib/pdfium-raster.mjs +1 -1
  61. package/dist-lib/plist.cjs +1 -1
  62. package/dist-lib/plist.mjs +1 -1
  63. package/dist-lib/profiles.cjs +1 -1
  64. package/dist-lib/public-brand.cjs +1 -1
  65. package/dist-lib/public-origins-lib-esm.json +24 -24
  66. package/dist-lib/public-origins-lib.json +53 -53
  67. package/dist-lib/react-native-host-modules.cjs +1 -1
  68. package/dist-lib/react-native-host-modules.mjs +1 -1
  69. package/dist-lib/reap-browser.cjs +1 -1
  70. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  71. package/dist-lib/sdk.cjs +1 -1
  72. package/dist-lib/sdk.mjs +1 -1
  73. package/dist-lib/skills.cjs +90 -81
  74. package/dist-lib/swift-compile.cjs +31 -14
  75. package/dist-lib/swift-compile.mjs +31 -14
  76. package/dist-lib/swift-package.cjs +1 -1
  77. package/dist-lib/swift-package.mjs +1 -1
  78. package/dist-lib/swift-submit.cjs +1 -1
  79. package/dist-lib/swift-submit.mjs +1 -1
  80. package/dist-lib/swift-toolchain.cjs +22 -11
  81. package/dist-lib/swift.cjs +1 -1
  82. package/dist-lib/vite-swift.cjs +33 -16
  83. package/dist-lib/vite.cjs +6 -6
  84. package/dist-lib/worklet-executable.cjs +1 -1
  85. package/dist-lib/worklet-executable.mjs +1 -1
  86. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -8
  87. package/dist-types/packages/peach-engine/src/engine/layout-engine.d.ts +1 -1
  88. package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +27 -0
  89. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +1 -0
  90. package/dist-types/packages/peach-engine/src/screenshots/tokens.d.ts +1 -1
  91. package/dist-types/packages/peach-engine/src/settings/device-rotation-bus.d.ts +23 -0
  92. package/dist-types/packages/peach-engine/src/settings/device-turn.d.ts +4 -0
  93. package/dist-types/packages/peach-engine/src/settings/display-hold.d.ts +19 -0
  94. package/dist-types/packages/peach-engine/src/settings/duo-fold-effect.d.ts +26 -0
  95. package/dist-types/packages/peach-engine/src/settings/duo-fold.d.ts +13 -0
  96. package/dist-types/packages/peach-engine/src/settings/index.d.ts +20 -0
  97. package/dist-types/packages/peach-engine/src/settings/schema.d.ts +5 -0
  98. package/dist-types/packages/peach-engine/src/settings/store.d.ts +1 -1
  99. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  100. package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +12 -0
  101. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  102. package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
  103. package/dist-types/packages/peach-kit/src/ui/popover-placement.d.ts +1 -0
  104. package/kotlin/sdk.tar.gz +0 -0
  105. package/package.json +1 -1
  106. package/runtime-companion.json +1 -1
  107. package/src/nitro-adapter.lock.json +279 -279
  108. package/src/nitro-superset.lock.json +4 -4
  109. package/src/react-native-autolinking.ts +27 -12
  110. package/src/swift-distribution.lock.json +12 -11
  111. package/src/swift-toolchain.ts +24 -10
  112. package/src/swift-wasm-prune.ts +11 -2
  113. package/src/turbo-compile.ts +1 -1
  114. package/src/turbo-runtime.lock.json +22 -22
  115. package/src/turbo-source.ts +19 -37
  116. package/dist-types/packages/peach-engine/src/ios/constants.d.ts +0 -15
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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;
@@ -3083,16 +3083,20 @@ ${swiftInstallSteps(release, sdk)}`
3083
3083
  );
3084
3084
  }
3085
3085
  const swift = import_node_path3.default.join(bin, "swift");
3086
- const sdks = (0, import_node_child_process4.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
3087
- encoding: "utf8",
3088
- env: swiftEnvironment(),
3089
- stdio: ["ignore", "pipe", "pipe"]
3090
- });
3091
- if (!sdks.split("\n").some((line) => line.trim() === sdk.wasmSdkId)) {
3092
- throw new Error(
3093
- `peach compiles Swift with the ${sdk.wasmSdkId} SDK, which ${swift} does not have.
3086
+ const listed = [swift, sdk.wasmSdkId, ...swiftSdkOptions()].join("\0");
3087
+ if (!listedSdks.has(listed)) {
3088
+ const sdks = (0, import_node_child_process4.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
3089
+ encoding: "utf8",
3090
+ env: swiftEnvironment(),
3091
+ stdio: ["ignore", "pipe", "pipe"]
3092
+ });
3093
+ if (!sdks.split("\n").some((line) => line.trim() === sdk.wasmSdkId)) {
3094
+ throw new Error(
3095
+ `peach compiles Swift with the ${sdk.wasmSdkId} SDK, which ${swift} does not have.
3094
3096
  ${swiftSdkInstallStep(release, sdk)}`
3095
- );
3097
+ );
3098
+ }
3099
+ listedSdks.add(listed);
3096
3100
  }
3097
3101
  try {
3098
3102
  verifySwiftSdk(swift, sdk);
@@ -3107,7 +3111,12 @@ function validateSwiftSdkIdentity(sdk) {
3107
3111
  if (!/^[a-zA-Z0-9._-]+$/.test(sdk.wasmSdkId) || !/^[a-f0-9]{64}$/.test(sdk.wasmSdkChecksum))
3108
3112
  throw new Error("invalid Swift SDK identity or checksum");
3109
3113
  }
3114
+ var listedSdks = /* @__PURE__ */ new Set();
3115
+ var sdkBundles = /* @__PURE__ */ new Map();
3110
3116
  function swiftSdkBundle(swift, id, options) {
3117
+ const key = [swift, id, ...options].join("\0");
3118
+ const known = sdkBundles.get(key);
3119
+ if (known && import_node_fs5.default.existsSync(known)) return known;
3111
3120
  const configuration = (0, import_node_child_process4.execFileSync)(
3112
3121
  swift,
3113
3122
  ["sdk", "configure", ...options, "--show-configuration", id, "wasm64-unknown-wasip1"],
@@ -3123,7 +3132,9 @@ function swiftSdkBundle(swift, id, options) {
3123
3132
  throw new Error(`Swift SDK ${id} is outside an artifact bundle`);
3124
3133
  bundle = parent;
3125
3134
  }
3126
- return import_node_fs5.default.realpathSync(bundle);
3135
+ const resolved = import_node_fs5.default.realpathSync(bundle);
3136
+ sdkBundles.set(key, resolved);
3137
+ return resolved;
3127
3138
  }
3128
3139
  var sdkFileHashes = /* @__PURE__ */ new Map();
3129
3140
  function swiftSdkPayloadChecksum(bundle) {
@@ -5857,13 +5868,17 @@ function keepsSwiftUIReflection(file, undefinedSymbols) {
5857
5868
  function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTargets = [], owner, link, resourceReferences = []) {
5858
5869
  const rspPath = import_node_path8.default.join(directory, ".peach-link.rsp");
5859
5870
  if (!import_node_fs8.default.existsSync(rspPath)) return;
5871
+ const staticClangTarget = new RegExp(
5872
+ `^(?:${staticClangTargets.map((name2) => name2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})(?:(?:Native|Swift)Implementation_[0-9a-f]+)?$`
5873
+ );
5874
+ const isStaticClangTarget = (name2) => staticClangTargets.length > 0 && staticClangTarget.test(name2);
5860
5875
  const origRsp = import_node_fs8.default.readFileSync(rspPath, "utf8");
5861
5876
  const tokens = Array.from(
5862
5877
  origRsp.matchAll(/"([^"]+)"|(\S+)/g),
5863
5878
  (m) => m[1] ?? m[2]
5864
5879
  ).flatMap((token) => {
5865
5880
  const target = /^lib(\w+)-[a-f0-9]{64}\.a$/.exec(import_node_path8.default.basename(token))?.[1];
5866
- if (!target || !staticClangTargets.includes(target) || import_node_path8.default.basename(import_node_path8.default.dirname(token)) !== ".peach-libraries")
5881
+ if (!target || !isStaticClangTarget(target) || import_node_path8.default.basename(import_node_path8.default.dirname(token)) !== ".peach-libraries")
5867
5882
  return [token];
5868
5883
  const objects = import_node_path8.default.join(directory, ".peach-native-libraries", `${target}.build`);
5869
5884
  import_node_fs8.default.mkdirSync(objects, { recursive: true });
@@ -5933,7 +5948,9 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
5933
5948
  } else if (!inStartLib) {
5934
5949
  if (t.endsWith("/swiftrt.o")) {
5935
5950
  swiftrtOrigPath = t;
5936
- } else if (!t.endsWith(".swift.o") && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
5951
+ } else if (!t.endsWith(".swift.o") && [...t.matchAll(/\/([^/]+)\.build\//g)].some(
5952
+ ([, name2]) => name2 !== void 0 && isStaticClangTarget(name2)
5953
+ )) {
5937
5954
  const obj = parseWasmObjectCached(t, false, false);
5938
5955
  let definesObjCClassOrCategory = false;
5939
5956
  for (let i = 0; i < obj.symKind.length; i++) {
@@ -13425,7 +13442,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
13425
13442
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
13426
13443
  var MULTI_MANIFEST_VERSION = 68;
13427
13444
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
13428
- var compilerSourceDigest = true ? "05dbb1273689060748700777894c639c73bea2e6da20eaf47e8040b26ff859cf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
13445
+ var compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
13429
13446
  function swiftArtifactHash(input, release, moduleRoot) {
13430
13447
  const hash = (0, import_node_crypto13.createHash)("sha256");
13431
13448
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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);
@@ -3033,16 +3033,20 @@ ${swiftInstallSteps(release, sdk)}`
3033
3033
  );
3034
3034
  }
3035
3035
  const swift = path4.join(bin, "swift");
3036
- const sdks = execFileSync(swift, ["sdk", "list", ...swiftSdkOptions()], {
3037
- encoding: "utf8",
3038
- env: swiftEnvironment(),
3039
- stdio: ["ignore", "pipe", "pipe"]
3040
- });
3041
- if (!sdks.split("\n").some((line) => line.trim() === sdk.wasmSdkId)) {
3042
- throw new Error(
3043
- `peach compiles Swift with the ${sdk.wasmSdkId} SDK, which ${swift} does not have.
3036
+ const listed = [swift, sdk.wasmSdkId, ...swiftSdkOptions()].join("\0");
3037
+ if (!listedSdks.has(listed)) {
3038
+ const sdks = execFileSync(swift, ["sdk", "list", ...swiftSdkOptions()], {
3039
+ encoding: "utf8",
3040
+ env: swiftEnvironment(),
3041
+ stdio: ["ignore", "pipe", "pipe"]
3042
+ });
3043
+ if (!sdks.split("\n").some((line) => line.trim() === sdk.wasmSdkId)) {
3044
+ throw new Error(
3045
+ `peach compiles Swift with the ${sdk.wasmSdkId} SDK, which ${swift} does not have.
3044
3046
  ${swiftSdkInstallStep(release, sdk)}`
3045
- );
3047
+ );
3048
+ }
3049
+ listedSdks.add(listed);
3046
3050
  }
3047
3051
  try {
3048
3052
  verifySwiftSdk(swift, sdk);
@@ -3057,7 +3061,12 @@ function validateSwiftSdkIdentity(sdk) {
3057
3061
  if (!/^[a-zA-Z0-9._-]+$/.test(sdk.wasmSdkId) || !/^[a-f0-9]{64}$/.test(sdk.wasmSdkChecksum))
3058
3062
  throw new Error("invalid Swift SDK identity or checksum");
3059
3063
  }
3064
+ var listedSdks = /* @__PURE__ */ new Set();
3065
+ var sdkBundles = /* @__PURE__ */ new Map();
3060
3066
  function swiftSdkBundle(swift, id, options) {
3067
+ const key = [swift, id, ...options].join("\0");
3068
+ const known = sdkBundles.get(key);
3069
+ if (known && fs.existsSync(known)) return known;
3061
3070
  const configuration = execFileSync(
3062
3071
  swift,
3063
3072
  ["sdk", "configure", ...options, "--show-configuration", id, "wasm64-unknown-wasip1"],
@@ -3073,7 +3082,9 @@ function swiftSdkBundle(swift, id, options) {
3073
3082
  throw new Error(`Swift SDK ${id} is outside an artifact bundle`);
3074
3083
  bundle = parent;
3075
3084
  }
3076
- return fs.realpathSync(bundle);
3085
+ const resolved = fs.realpathSync(bundle);
3086
+ sdkBundles.set(key, resolved);
3087
+ return resolved;
3077
3088
  }
3078
3089
  var sdkFileHashes = /* @__PURE__ */ new Map();
3079
3090
  function swiftSdkPayloadChecksum(bundle) {
@@ -5810,13 +5821,17 @@ function keepsSwiftUIReflection(file, undefinedSymbols) {
5810
5821
  function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTargets = [], owner, link, resourceReferences = []) {
5811
5822
  const rspPath = path10.join(directory, ".peach-link.rsp");
5812
5823
  if (!fs4.existsSync(rspPath)) return;
5824
+ const staticClangTarget = new RegExp(
5825
+ `^(?:${staticClangTargets.map((name2) => name2.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})(?:(?:Native|Swift)Implementation_[0-9a-f]+)?$`
5826
+ );
5827
+ const isStaticClangTarget = (name2) => staticClangTargets.length > 0 && staticClangTarget.test(name2);
5813
5828
  const origRsp = fs4.readFileSync(rspPath, "utf8");
5814
5829
  const tokens = Array.from(
5815
5830
  origRsp.matchAll(/"([^"]+)"|(\S+)/g),
5816
5831
  (m) => m[1] ?? m[2]
5817
5832
  ).flatMap((token) => {
5818
5833
  const target = /^lib(\w+)-[a-f0-9]{64}\.a$/.exec(path10.basename(token))?.[1];
5819
- if (!target || !staticClangTargets.includes(target) || path10.basename(path10.dirname(token)) !== ".peach-libraries")
5834
+ if (!target || !isStaticClangTarget(target) || path10.basename(path10.dirname(token)) !== ".peach-libraries")
5820
5835
  return [token];
5821
5836
  const objects = path10.join(directory, ".peach-native-libraries", `${target}.build`);
5822
5837
  fs4.mkdirSync(objects, { recursive: true });
@@ -5886,7 +5901,9 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
5886
5901
  } else if (!inStartLib) {
5887
5902
  if (t.endsWith("/swiftrt.o")) {
5888
5903
  swiftrtOrigPath = t;
5889
- } else if (!t.endsWith(".swift.o") && staticClangTargets.some((name2) => t.includes(`/${name2}.build/`))) {
5904
+ } else if (!t.endsWith(".swift.o") && [...t.matchAll(/\/([^/]+)\.build\//g)].some(
5905
+ ([, name2]) => name2 !== void 0 && isStaticClangTarget(name2)
5906
+ )) {
5890
5907
  const obj = parseWasmObjectCached(t, false, false);
5891
5908
  let definesObjCClassOrCategory = false;
5892
5909
  for (let i = 0; i < obj.symKind.length; i++) {
@@ -13411,7 +13428,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
13411
13428
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
13412
13429
  var MULTI_MANIFEST_VERSION = 68;
13413
13430
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
13414
- var compilerSourceDigest = true ? "05dbb1273689060748700777894c639c73bea2e6da20eaf47e8040b26ff859cf" : swiftCompilerSourceDigest(import.meta.dirname);
13431
+ var compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest(import.meta.dirname);
13415
13432
  function swiftArtifactHash(input, release, moduleRoot) {
13416
13433
  const hash = createHash13("sha256");
13417
13434
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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;
@@ -696,16 +696,20 @@ ${swiftInstallSteps(release, sdk)}`
696
696
  );
697
697
  }
698
698
  const swift = import_node_path.default.join(bin, "swift");
699
- const sdks = (0, import_node_child_process.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
700
- encoding: "utf8",
701
- env: swiftEnvironment(),
702
- stdio: ["ignore", "pipe", "pipe"]
703
- });
704
- if (!sdks.split("\n").some((line) => line.trim() === sdk.wasmSdkId)) {
705
- throw new Error(
706
- `peach compiles Swift with the ${sdk.wasmSdkId} SDK, which ${swift} does not have.
699
+ const listed = [swift, sdk.wasmSdkId, ...swiftSdkOptions()].join("\0");
700
+ if (!listedSdks.has(listed)) {
701
+ const sdks = (0, import_node_child_process.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
702
+ encoding: "utf8",
703
+ env: swiftEnvironment(),
704
+ stdio: ["ignore", "pipe", "pipe"]
705
+ });
706
+ if (!sdks.split("\n").some((line) => line.trim() === sdk.wasmSdkId)) {
707
+ throw new Error(
708
+ `peach compiles Swift with the ${sdk.wasmSdkId} SDK, which ${swift} does not have.
707
709
  ${swiftSdkInstallStep(release, sdk)}`
708
- );
710
+ );
711
+ }
712
+ listedSdks.add(listed);
709
713
  }
710
714
  try {
711
715
  verifySwiftSdk(swift, sdk);
@@ -720,7 +724,12 @@ function validateSwiftSdkIdentity(sdk) {
720
724
  if (!/^[a-zA-Z0-9._-]+$/.test(sdk.wasmSdkId) || !/^[a-f0-9]{64}$/.test(sdk.wasmSdkChecksum))
721
725
  throw new Error("invalid Swift SDK identity or checksum");
722
726
  }
727
+ var listedSdks = /* @__PURE__ */ new Set();
728
+ var sdkBundles = /* @__PURE__ */ new Map();
723
729
  function swiftSdkBundle(swift, id, options) {
730
+ const key = [swift, id, ...options].join("\0");
731
+ const known = sdkBundles.get(key);
732
+ if (known && import_node_fs.default.existsSync(known)) return known;
724
733
  const configuration = (0, import_node_child_process.execFileSync)(
725
734
  swift,
726
735
  ["sdk", "configure", ...options, "--show-configuration", id, "wasm64-unknown-wasip1"],
@@ -736,7 +745,9 @@ function swiftSdkBundle(swift, id, options) {
736
745
  throw new Error(`Swift SDK ${id} is outside an artifact bundle`);
737
746
  bundle = parent;
738
747
  }
739
- return import_node_fs.default.realpathSync(bundle);
748
+ const resolved = import_node_fs.default.realpathSync(bundle);
749
+ sdkBundles.set(key, resolved);
750
+ return resolved;
740
751
  }
741
752
  var sdkFileHashes = /* @__PURE__ */ new Map();
742
753
  function swiftSdkPayloadChecksum(bundle) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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;
@@ -4863,16 +4863,20 @@ ${swiftInstallSteps(release, sdk2)}`
4863
4863
  );
4864
4864
  }
4865
4865
  const swift = import_node_path4.default.join(bin, "swift");
4866
- const sdks = (0, import_node_child_process4.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
4867
- encoding: "utf8",
4868
- env: swiftEnvironment(),
4869
- stdio: ["ignore", "pipe", "pipe"]
4870
- });
4871
- if (!sdks.split("\n").some((line) => line.trim() === sdk2.wasmSdkId)) {
4872
- throw new Error(
4873
- `peach compiles Swift with the ${sdk2.wasmSdkId} SDK, which ${swift} does not have.
4866
+ const listed = [swift, sdk2.wasmSdkId, ...swiftSdkOptions()].join("\0");
4867
+ if (!listedSdks.has(listed)) {
4868
+ const sdks = (0, import_node_child_process4.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
4869
+ encoding: "utf8",
4870
+ env: swiftEnvironment(),
4871
+ stdio: ["ignore", "pipe", "pipe"]
4872
+ });
4873
+ if (!sdks.split("\n").some((line) => line.trim() === sdk2.wasmSdkId)) {
4874
+ throw new Error(
4875
+ `peach compiles Swift with the ${sdk2.wasmSdkId} SDK, which ${swift} does not have.
4874
4876
  ${swiftSdkInstallStep(release, sdk2)}`
4875
- );
4877
+ );
4878
+ }
4879
+ listedSdks.add(listed);
4876
4880
  }
4877
4881
  try {
4878
4882
  verifySwiftSdk(swift, sdk2);
@@ -4887,7 +4891,12 @@ function validateSwiftSdkIdentity(sdk2) {
4887
4891
  if (!/^[a-zA-Z0-9._-]+$/.test(sdk2.wasmSdkId) || !/^[a-f0-9]{64}$/.test(sdk2.wasmSdkChecksum))
4888
4892
  throw new Error("invalid Swift SDK identity or checksum");
4889
4893
  }
4894
+ var listedSdks = /* @__PURE__ */ new Set();
4895
+ var sdkBundles = /* @__PURE__ */ new Map();
4890
4896
  function swiftSdkBundle(swift, id, options) {
4897
+ const key2 = [swift, id, ...options].join("\0");
4898
+ const known = sdkBundles.get(key2);
4899
+ if (known && import_node_fs6.default.existsSync(known)) return known;
4891
4900
  const configuration = (0, import_node_child_process4.execFileSync)(
4892
4901
  swift,
4893
4902
  ["sdk", "configure", ...options, "--show-configuration", id, "wasm64-unknown-wasip1"],
@@ -4903,7 +4912,9 @@ function swiftSdkBundle(swift, id, options) {
4903
4912
  throw new Error(`Swift SDK ${id} is outside an artifact bundle`);
4904
4913
  bundle = parent;
4905
4914
  }
4906
- return import_node_fs6.default.realpathSync(bundle);
4915
+ const resolved = import_node_fs6.default.realpathSync(bundle);
4916
+ sdkBundles.set(key2, resolved);
4917
+ return resolved;
4907
4918
  }
4908
4919
  var sdkFileHashes = /* @__PURE__ */ new Map();
4909
4920
  function swiftSdkPayloadChecksum(bundle) {
@@ -10822,13 +10833,17 @@ function keepsSwiftUIReflection(file, undefinedSymbols) {
10822
10833
  function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTargets = [], owner, link, resourceReferences = []) {
10823
10834
  const rspPath = import_node_path10.default.join(directory, ".peach-link.rsp");
10824
10835
  if (!import_node_fs10.default.existsSync(rspPath)) return;
10836
+ const staticClangTarget = new RegExp(
10837
+ `^(?:${staticClangTargets.map((name3) => name3.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})(?:(?:Native|Swift)Implementation_[0-9a-f]+)?$`
10838
+ );
10839
+ const isStaticClangTarget = (name3) => staticClangTargets.length > 0 && staticClangTarget.test(name3);
10825
10840
  const origRsp = import_node_fs10.default.readFileSync(rspPath, "utf8");
10826
10841
  const tokens2 = Array.from(
10827
10842
  origRsp.matchAll(/"([^"]+)"|(\S+)/g),
10828
10843
  (m) => m[1] ?? m[2]
10829
10844
  ).flatMap((token) => {
10830
10845
  const target = /^lib(\w+)-[a-f0-9]{64}\.a$/.exec(import_node_path10.default.basename(token))?.[1];
10831
- if (!target || !staticClangTargets.includes(target) || import_node_path10.default.basename(import_node_path10.default.dirname(token)) !== ".peach-libraries")
10846
+ if (!target || !isStaticClangTarget(target) || import_node_path10.default.basename(import_node_path10.default.dirname(token)) !== ".peach-libraries")
10832
10847
  return [token];
10833
10848
  const objects = import_node_path10.default.join(directory, ".peach-native-libraries", `${target}.build`);
10834
10849
  import_node_fs10.default.mkdirSync(objects, { recursive: true });
@@ -10898,7 +10913,9 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
10898
10913
  } else if (!inStartLib) {
10899
10914
  if (t.endsWith("/swiftrt.o")) {
10900
10915
  swiftrtOrigPath = t;
10901
- } else if (!t.endsWith(".swift.o") && staticClangTargets.some((name3) => t.includes(`/${name3}.build/`))) {
10916
+ } else if (!t.endsWith(".swift.o") && [...t.matchAll(/\/([^/]+)\.build\//g)].some(
10917
+ ([, name3]) => name3 !== void 0 && isStaticClangTarget(name3)
10918
+ )) {
10902
10919
  const obj = parseWasmObjectCached(t, false, false);
10903
10920
  let definesObjCClassOrCategory = false;
10904
10921
  for (let i = 0; i < obj.symKind.length; i++) {
@@ -18238,7 +18255,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
18238
18255
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
18239
18256
  var MULTI_MANIFEST_VERSION = 68;
18240
18257
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
18241
- var compilerSourceDigest = true ? "05dbb1273689060748700777894c639c73bea2e6da20eaf47e8040b26ff859cf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
18258
+ var compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
18242
18259
  function swiftArtifactHash(input, release, moduleRoot) {
18243
18260
  const hash = (0, import_node_crypto13.createHash)("sha256");
18244
18261
  hash.update(`swift-compile
@@ -25383,7 +25400,7 @@ var import_node_fs33 = require("node:fs");
25383
25400
  var import_node_path33 = require("node:path");
25384
25401
 
25385
25402
  // src/swift-coverage/provenance.ts
25386
- var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
25403
+ var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"f9751713ef9572a900ea7108b4c88fbe3f3d012ad82e58863007b2a3ffce4b68","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
25387
25404
 
25388
25405
  // src/swift-coverage/xcode-asset-symbols.ts
25389
25406
  var import_node_fs32 = require("node:fs");
@@ -32416,7 +32433,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
32416
32433
  return hash.digest("hex");
32417
32434
  }
32418
32435
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
32419
- var STANDIN_SOURCE_DIGEST = true ? "89e44465df23e51162420571715018b02da9bbaf61840c772745d5ba5f15487c" : standinSourceDigest();
32436
+ var STANDIN_SOURCE_DIGEST = true ? "8b48aa843be8f7e9c5387ebe4a812705365646a07e391deb75a3911fda59d7bf" : standinSourceDigest();
32420
32437
 
32421
32438
  // src/swift-standins.ts
32422
32439
  var import_node_child_process31 = require("node:child_process");
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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;
@@ -2742,7 +2742,7 @@ var init_src = __esm({
2742
2742
  var runtime_companion_default;
2743
2743
  var init_runtime_companion = __esm({
2744
2744
  "runtime-companion.json"() {
2745
- runtime_companion_default = { abi: 1, sha256: "d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677", file: "node/cli-d02533327d5a71a81c4402948c16014a41f69aaec3e413f48e4dbf3b9a2be677.cjs" };
2745
+ runtime_companion_default = { abi: 1, sha256: "afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c", file: "node/cli-afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c.cjs" };
2746
2746
  }
2747
2747
  });
2748
2748
 
@@ -3100,7 +3100,7 @@ var STANDIN_SOURCE_DIGEST;
3100
3100
  var init_swift_standin_digest = __esm({
3101
3101
  "src/swift-standin-digest.ts"() {
3102
3102
  "use strict";
3103
- STANDIN_SOURCE_DIGEST = true ? "89e44465df23e51162420571715018b02da9bbaf61840c772745d5ba5f15487c" : standinSourceDigest();
3103
+ STANDIN_SOURCE_DIGEST = true ? "8b48aa843be8f7e9c5387ebe4a812705365646a07e391deb75a3911fda59d7bf" : standinSourceDigest();
3104
3104
  }
3105
3105
  });
3106
3106
 
@@ -3547,7 +3547,7 @@ var swiftCoverageProvenance;
3547
3547
  var init_provenance = __esm({
3548
3548
  "src/swift-coverage/provenance.ts"() {
3549
3549
  "use strict";
3550
- swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"8deef5a824ed49209458a4b398cd8e88df260a0c8f1894d568279f6211866547","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
3550
+ swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"f9751713ef9572a900ea7108b4c88fbe3f3d012ad82e58863007b2a3ffce4b68","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
3551
3551
  }
3552
3552
  });
3553
3553
 
@@ -4753,7 +4753,7 @@ var init_swift_compile = __esm({
4753
4753
  FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
4754
4754
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
4755
4755
  ).join("");
4756
- compilerSourceDigest = true ? "05dbb1273689060748700777894c639c73bea2e6da20eaf47e8040b26ff859cf" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4756
+ compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4757
4757
  CORE_FOUNDATION_HANDLE_IMPORTS = [
4758
4758
  "CFAllocator",
4759
4759
  "CFArray",
@@ -5277,7 +5277,7 @@ var init_react_native_core = __esm({
5277
5277
  init_swift_distribution();
5278
5278
  init_swift_package();
5279
5279
  init_swiftContract();
5280
- recipe = true ? "8e950f0e9749922071dda3e668507e3ff24dd2678085abafc0a8403c6263bddf" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
5280
+ recipe = true ? "95c43b6522d2611bfb11c1f6e191409cf1e5dd9af931c679be03191dc600d01c" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
5281
5281
  }
5282
5282
  });
5283
5283
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (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.2270 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2272 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -134,14 +134,7 @@ export declare function resolveSystemTextOffset(fontFamily: string | undefined,
134
134
  y: number;
135
135
  };
136
136
  export declare function resolveSystemTextLineHeightAdjustment(lineHeight: unknown, fontSize: number, fontFamily: string | undefined, swiftUI: boolean): number;
137
- export declare function resolveAndroidSystemFontMetrics(fontSize: number, fontFamily: string | undefined, physicalPixel: number, lineHeight?: number, includeFontPadding?: boolean, composeText?: boolean, androidTextSize?: SootSimStyle['_androidTextSize']): {
138
- ascent: number;
139
- descent: number;
140
- height: number;
141
- paddingTop: number;
142
- paddingBottom: number;
143
- } | null;
144
- export declare function resolveSystemLineHeightMultiplier(lineHeight: unknown, fontSize: number, fontFamily: string | undefined, composeText?: boolean, androidTextSize?: SootSimStyle['_androidTextSize']): number | null;
137
+ export declare function resolveAndroidSystemFontMetrics(fontSize: number, fontFamily: string | undefined, physicalPixel: number, lineHeight?: number, includeFontPadding?: boolean, composeText?: boolean, androidTextSize?: SootSimStyle['_androidTextSize']): import("./text-metric-policy.d.ts").AndroidSystemFontMetrics | null;
145
138
  export declare function resolveNaturalTextLineHeight(lineHeight: unknown, fontSize: number, fontFamily: string | undefined, fontWeight?: unknown, fontStyle?: unknown, composeText?: boolean, androidTextSize?: SootSimStyle['_androidTextSize']): number | null;
146
139
  export declare function resolveSystemTextMeasuredHeightTrim(lineHeight: unknown, fontSize: number, fontFamily: string | undefined, physicalPixel: number): number;
147
140
  export declare function resolveEngineAssetUrls(base: string, urls: readonly string[], pageUrl: string): string[];
@@ -1,3 +1,3 @@
1
1
  export { getComputedPadding, getTextContentInset, resolveStylePadding, } from './computed-padding.d.ts';
2
- export { computeLayout, laidOutRightToLeft, resolvesRightToLeft, layoutDirection, layoutRecordTakesAnimatedStyle, measureText, nativeLayoutFrameRoot, } from './yoga-layout.d.ts';
2
+ export { computeLayout, laidOutRightToLeft, resolvesRightToLeft, holdsLayoutRecord, layoutDirection, layoutRecordTakesAnimatedStyle, measureText, nativeLayoutFrameRoot, } from './yoga-layout.d.ts';
3
3
  export { setLayoutAnimRenderCallback, layoutAnimComplete, getLayoutAnimStats, invalidateAllTextMeasurements, invalidateLazyFontWaiters, publishUnwrappedTextMeasurements, seedUnwrappedTextMeasurements, takeUnwrappedTextMeasurements, type UnwrappedTextMeasurement, } from './yoga-layout.d.ts';
@@ -0,0 +1,27 @@
1
+ import type { SootSimStyle } from './types.d.ts';
2
+ export declare const TEXT_WIDTH_CEIL = 0;
3
+ export declare const TEXT_WIDTH_FABRIC = 1;
4
+ export declare const TEXT_WIDTH_WIDEST_LINE = 2;
5
+ export declare const TEXT_WIDTH_ANDROID = 3;
6
+ export declare const TEXT_HEIGHT_CEIL = 0;
7
+ export declare const TEXT_HEIGHT_ANDROID_SYSTEM = 1;
8
+ export declare const TEXT_HEIGHT_RAW = 2;
9
+ export declare function bindTextMetricPolicy(ck: object): void;
10
+ export declare function roundTextWidth(raw: number, pixel: number, epsilon: number, widthPolicy: number): number;
11
+ export declare function roundTextHeight(raw: number, pixel: number, epsilon: number, heightPolicy: number): number;
12
+ export declare function ceilPhysicalPixels(pixels: number): number;
13
+ export declare function fabricAttachmentExtent(extent: number, scale: number): number;
14
+ export declare function androidLineHeight(lineHeight: number, scale: number): number;
15
+ export declare function scaleTextFontSize(fontSize: number, ratio?: number | null, composeText?: boolean, androidTextSize?: SootSimStyle['_androidTextSize']): number;
16
+ export interface AndroidSystemFontMetrics {
17
+ ascent: number;
18
+ descent: number;
19
+ height: number;
20
+ paddingTop: number;
21
+ paddingBottom: number;
22
+ }
23
+ export declare function androidSystemFontMetrics(fontPixels: number, pixel: number, lineHeight: number | undefined, includeFontPadding: boolean): AndroidSystemFontMetrics;
24
+ export declare function iosSystemLineHeightAdjustment(fontSize: number): number;
25
+ export declare function iosSystemMeasuredHeightTrim(fontSize: number, pixel: number): number;
26
+ export declare function iosSystemLineHeight(fontSize: number): number;
27
+ export declare function iosNaturalLineHeight(ascender: number, descender: number, unitsPerEm: number, fontSize: number): number;
@@ -50,6 +50,7 @@ export interface LayoutWatch {
50
50
  scrollSynced(node: SootSimNode): void;
51
51
  }
52
52
  export declare function layoutRecordTakesAnimatedStyle(node: SootSimNode, keys: readonly string[]): boolean;
53
+ export declare function holdsLayoutRecord(node: SootSimNode): boolean;
53
54
  export declare function computeLayout(root: SootSimNode, width: number, height: number, ctx: MeasureContext, watch?: LayoutWatch | null, preserveRootOrigin?: boolean): boolean;
54
55
  export declare function nativeLayoutFrameRoot(root: SootSimNode, width: number, height: number, ctx: MeasureContext): number;
55
56
  export declare function setLayoutHook(target: unknown, hook: ((view: SootSimNode) => void) | null, options?: {
@@ -2,7 +2,7 @@ import { type ScreenshotBackgroundStyles } from '../../../../../src/screenshots/
2
2
  import type { DeviceSpec } from '../../../../../src/device-catalog.ts';
3
3
  export declare function resolveScreenshotDeviceFrameGeometry(device: Pick<DeviceSpec, 'cornerRadius' | 'frameInsets' | 'height' | 'width'>): {
4
4
  outerAspect: number;
5
- outerCornerRadius: import("../../../../../src/device-catalog.ts").CornerRadii;
5
+ outerCornerRadius: import("../settings/index.d.ts").CornerRadii;
6
6
  outerHeight: number;
7
7
  outerWidth: number;
8
8
  };
@@ -0,0 +1,23 @@
1
+ import type { LandscapeSide } from '../../../../../src/device-catalog.ts';
2
+ export type DeviceRotationState = {
3
+ active: boolean;
4
+ live: boolean;
5
+ turn: 90 | 180;
6
+ direction: -1 | 1;
7
+ landscapeSide: LandscapeSide;
8
+ progress: number;
9
+ image: HTMLCanvasElement | null;
10
+ from: {
11
+ width: number;
12
+ height: number;
13
+ };
14
+ to: {
15
+ width: number;
16
+ height: number;
17
+ };
18
+ };
19
+ type Listener = () => void;
20
+ export declare function getDeviceRotation(): DeviceRotationState;
21
+ export declare function subscribeDeviceRotation(fn: Listener): () => void;
22
+ export declare function publishDeviceRotation(patch: Partial<DeviceRotationState>): void;
23
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare function deviceTurn(width: number, height: number): {
2
+ durationMs: number;
3
+ progress(elapsedMs: number): number;
4
+ };
@@ -0,0 +1,19 @@
1
+ import type { DisplayHold } from '../../../../../src/device-catalog.ts';
2
+ export type ClientBox = {
3
+ left: number;
4
+ top: number;
5
+ width: number;
6
+ height: number;
7
+ };
8
+ export declare function displayHoldOf(element: Element): DisplayHold;
9
+ export declare function unturnClient(box: ClientBox, hold: DisplayHold, clientX: number, clientY: number): {
10
+ box: ClientBox;
11
+ clientX: number;
12
+ clientY: number;
13
+ };
14
+ export declare function turnClient(box: ClientBox, hold: DisplayHold, clientX: number, clientY: number): {
15
+ clientX: number;
16
+ clientY: number;
17
+ };
18
+ export declare function unturnBox(box: ClientBox, around: ClientBox, hold: DisplayHold): ClientBox;
19
+ export declare function turnBox(box: ClientBox, around: ClientBox, hold: DisplayHold): ClientBox;