peachsim 0.1.1716 → 0.1.1728

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 (234) hide show
  1. package/README.md +21 -3
  2. package/cli/app-bundle-resources.ts +2 -1
  3. package/cli/app-fonts.ts +4 -4
  4. package/cli/app-splash.ts +4 -4
  5. package/cli/app-stubs.ts +17 -0
  6. package/cli/command-registry.ts +1 -0
  7. package/cli/commands/control.ts +82 -822
  8. package/cli/commands/daemon.ts +8 -0
  9. package/cli/commands/detox.ts +3 -0
  10. package/cli/commands/doctor.ts +19 -2
  11. package/cli/commands/inspect/actions.ts +74 -14
  12. package/cli/commands/inspect/core.ts +5 -1
  13. package/cli/commands/inspect/settling.ts +5 -2
  14. package/cli/commands/inspect/wait-ready.ts +6 -0
  15. package/cli/commands/inspect.ts +48 -45
  16. package/cli/commands/kotlin.ts +12 -2
  17. package/cli/commands/package.ts +750 -0
  18. package/cli/commands/serve.ts +6 -0
  19. package/cli/commands/shell-url.ts +834 -0
  20. package/cli/commands/swift.ts +42 -102
  21. package/cli/commands/test.ts +20 -0
  22. package/cli/commands/upload.ts +1 -1
  23. package/cli/device-option.ts +1 -1
  24. package/cli/main.ts +13 -1
  25. package/cli/native-input.ts +199 -0
  26. package/cli/outbound-endpoints.ts +26 -1
  27. package/cli/packaged-app-launcher.ts +95 -0
  28. package/cli/scene-video.ts +13 -6
  29. package/detox/index.ts +187 -23
  30. package/dist-lib/agent-daemon-client.cjs +1 -1
  31. package/dist-lib/agent-events.cjs +1 -1
  32. package/dist-lib/attached-projects.cjs +1 -1
  33. package/dist-lib/auth/shared-session.cjs +1 -1
  34. package/dist-lib/backend-origin.cjs +1 -1
  35. package/dist-lib/beta.cjs +1 -1
  36. package/dist-lib/beta.mjs +1 -1
  37. package/dist-lib/bridge-constants.cjs +1 -1
  38. package/dist-lib/bridge-contract-input.cjs +1 -1
  39. package/dist-lib/bridge-contract-input.mjs +1 -1
  40. package/dist-lib/bridge-contract.cjs +1 -1
  41. package/dist-lib/bridge-contract.mjs +1 -1
  42. package/dist-lib/bundle-channel.cjs +38000 -31658
  43. package/dist-lib/capture-contract.cjs +1 -1
  44. package/dist-lib/capture-contract.mjs +1 -1
  45. package/dist-lib/cloud-contract.cjs +1 -1
  46. package/dist-lib/cloud-contract.mjs +1 -1
  47. package/dist-lib/cloud-test-args.cjs +1 -1
  48. package/dist-lib/cloud-test-args.mjs +1 -1
  49. package/dist-lib/cloud.cjs +1 -1
  50. package/dist-lib/cloud.mjs +1 -1
  51. package/dist-lib/config.cjs +1 -1
  52. package/dist-lib/config.mjs +1 -1
  53. package/dist-lib/detox/index.cjs +184 -60
  54. package/dist-lib/dev-bundle-resolution.cjs +14 -13
  55. package/dist-lib/expo-swift-bundle.cjs +18199 -11834
  56. package/dist-lib/expo-swift-metadata.cjs +4 -1
  57. package/dist-lib/expo-swift-metadata.mjs +3 -1
  58. package/dist-lib/home-paths.cjs +21 -2
  59. package/dist-lib/host/bridge-host.cjs +26509 -23850
  60. package/dist-lib/host/fetch-proxy-handler.cjs +221 -222
  61. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  62. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  63. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  64. package/dist-lib/host/websocket-proxy.cjs +1 -1
  65. package/dist-lib/index.cjs +876 -389
  66. package/dist-lib/jump-to-source-babel.cjs +1 -1
  67. package/dist-lib/jump-to-source-native.cjs +1 -1
  68. package/dist-lib/kotlin-host.cjs +127 -16
  69. package/dist-lib/menu.cjs +7 -1
  70. package/dist-lib/menu.mjs +7 -1
  71. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  72. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  73. package/dist-lib/metro-production-bundle.cjs +1 -1
  74. package/dist-lib/metro-production-bundle.mjs +1 -1
  75. package/dist-lib/metro.cjs +883 -404
  76. package/dist-lib/native-app-identity-project.cjs +694 -280
  77. package/dist-lib/native-app-identity-project.mjs +490 -83
  78. package/dist-lib/native-app-identity.cjs +13 -2
  79. package/dist-lib/native-app-identity.mjs +13 -2
  80. package/dist-lib/native-firebase-metadata.cjs +1 -1
  81. package/dist-lib/native-firebase-metadata.mjs +1 -1
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +1 -1
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +28 -23
  87. package/dist-lib/public-origins-lib.json +392 -224
  88. package/dist-lib/react-native-host-modules.cjs +32 -2
  89. package/dist-lib/react-native-host-modules.mjs +32 -2
  90. package/dist-lib/reap-browser.cjs +12 -4
  91. package/dist-lib/scripts/dev-server-scanner.cjs +15 -8
  92. package/dist-lib/sdk.cjs +17 -7
  93. package/dist-lib/sdk.mjs +16 -7
  94. package/dist-lib/skills.cjs +61838 -47851
  95. package/dist-lib/swift-compile.cjs +583 -360
  96. package/dist-lib/swift-compile.mjs +496 -275
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +1 -1
  99. package/dist-lib/swift-submit.cjs +2 -2
  100. package/dist-lib/swift-submit.mjs +2 -2
  101. package/dist-lib/swift-toolchain.cjs +105 -17
  102. package/dist-lib/swift.cjs +1 -1
  103. package/dist-lib/vite-swift.cjs +4453 -2231
  104. package/dist-lib/vite.cjs +230 -228
  105. package/dist-lib/worklet-executable.cjs +1 -1
  106. package/dist-lib/worklet-executable.mjs +1 -1
  107. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-cookies.d.ts +17 -8
  108. package/dist-types/packages/peach-engine/src/engine/canvaskit-renderer.d.ts +1 -0
  109. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +7 -5
  110. package/dist-types/packages/peach-engine/src/engine/memory-counts.d.ts +3 -1
  111. package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -11
  112. package/dist-types/packages/peach-engine/src/engine/types.d.ts +3 -0
  113. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +9 -0
  114. package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
  115. package/dist-types/packages/peach-engine/src/render-worker/native-ui-commandContract.d.ts +1 -1
  116. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +4 -0
  117. package/dist-types/packages/peach-engine/src/render-worker/tree-sync-port.d.ts +1 -1
  118. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +23 -1
  119. package/dist-types/packages/peach-engine/src/shell-events.d.ts +1 -0
  120. package/dist-types/packages/peach-globals/src/audioBridgeContract.d.ts +5 -0
  121. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  122. package/dist-types/packages/peach-globals/src/keyboardBridgeContract.d.ts +11 -0
  123. package/dist-types/packages/peach-globals/src/shellBridgeContract.d.ts +1 -0
  124. package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +9 -2
  125. package/package.json +1 -1
  126. package/runtime-companion.json +1 -1
  127. package/scripts/dev-server-scanner.ts +12 -25
  128. package/sdk/ios/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASFoundation.h +52 -0
  129. package/sdk/ios/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSession.h +128 -0
  130. package/sdk/ios/System/Library/Frameworks/AuthenticationServices.framework/Headers/ASWebAuthenticationSessionCallback.h +35 -0
  131. package/sdk/ios/System/Library/Frameworks/AuthenticationServices.framework/Headers/AuthenticationServices.h +3 -0
  132. package/sdk/ios/System/Library/Frameworks/AuthenticationServices.framework/Modules/module.modulemap +5 -0
  133. package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h +724 -0
  134. package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h +4 -0
  135. package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h +27 -0
  136. package/sdk/ios/System/Library/Frameworks/CFNetwork.framework/Modules/module.modulemap +5 -0
  137. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h +1301 -0
  138. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +2 -0
  139. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationManager.h +21 -50
  140. package/sdk/ios/System/Library/Frameworks/CoreLocation.framework/Headers/CLRegion.h +6 -6
  141. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +75 -9
  142. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h +12 -0
  143. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h +23 -0
  144. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h +7 -9
  145. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIOrientation.h +14 -0
  146. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h +12 -0
  147. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIView.h +14 -0
  148. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h +12 -0
  149. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h +16 -0
  150. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h +2 -0
  151. package/sdk/ios/usr/include/ConditionalMacros.h +619 -0
  152. package/sdk/ios/usr/include/module.modulemap +1 -0
  153. package/sdk/ios/usr/include/objc/objc-sync.h +59 -0
  154. package/sdk/ios/usr/include/os.modulemap +5 -0
  155. package/sdk/ios/usr/include/sys/cdefs.h +5 -0
  156. package/sdk/ios/usr/include/sys/ioccom.h +99 -0
  157. package/sdk/ios/usr/include/sys/syslog.h +236 -0
  158. package/sdk/ios/usr/include/syslog.h +24 -0
  159. package/sdk/ios/wasm/include/fcntl.h +4 -2
  160. package/sdk/ios/wasm/include/stdio.h +24 -0
  161. package/sdk/ios/wasm/include/stdlib.h +32 -7
  162. package/sdk/ios/wasm/include/sys/file.h +7 -0
  163. package/sdk/ios/wasm/include/sys/ioctl.h +6 -0
  164. package/sdk/ios/wasm/include/sys/syscall.h +9 -0
  165. package/sdk/ios/wasm/include/sys/time.h +10 -0
  166. package/sdk/ios/wasm/include/unistd.h +12 -3
  167. package/sdk/native-hashes.json +1 -0
  168. package/skills/contrast/SKILL.md +2 -1
  169. package/skills/peach-test/SKILL.md +7 -3
  170. package/src/admitted-mac-build.ts +3 -0
  171. package/src/android-app-identity.ts +18 -0
  172. package/src/android-root-module.ts +9 -9
  173. package/src/appPackageContract.ts +81 -0
  174. package/src/bridge-contract.ts +50 -0
  175. package/src/bundle-channel.mjs +21 -4
  176. package/src/dev-bundle-resolution.ts +7 -27
  177. package/src/dom-source-reference.ts +15 -0
  178. package/src/expo-discovery-cache.ts +127 -23
  179. package/src/expo-manifest-body.ts +33 -0
  180. package/src/expo-native-workspace.ts +38 -13
  181. package/src/expo-swift-host.ts +264 -62
  182. package/src/expoSwiftContract.ts +3 -0
  183. package/src/generated/swift-c-predefines.json +1 -1
  184. package/src/home-paths.ts +35 -1
  185. package/src/host/app-package-handler.ts +47 -0
  186. package/src/host/bridge-host.ts +3 -0
  187. package/src/host/staged-host-files.ts +18 -0
  188. package/src/index.ts +3 -0
  189. package/src/kotlin-host.ts +21 -18
  190. package/src/kotlin-instance-source.ts +126 -0
  191. package/src/menu.ts +7 -0
  192. package/src/native-app-identity-project.ts +7 -2
  193. package/src/native-app-identity.ts +11 -0
  194. package/src/native-firebase-config.ts +24 -1
  195. package/src/nitro-adapter.lock.json +268 -268
  196. package/src/nitro-bundle.ts +8 -0
  197. package/src/nitro-compile.ts +35 -9
  198. package/src/nitro-dependencies.ts +21 -19
  199. package/src/nitro-source.ts +4 -0
  200. package/src/nitroContract.ts +7 -0
  201. package/src/react-native-bridge-modules.ts +68 -42
  202. package/src/react-native-host-modules.ts +31 -1
  203. package/src/reactNativeConfigurationContract.ts +14 -0
  204. package/src/reap-browser.ts +15 -3
  205. package/src/sdk.ts +5 -0
  206. package/src/settingsContract.ts +27 -1
  207. package/src/sim-client.ts +4 -1
  208. package/src/storageSnapshotContract.ts +3 -0
  209. package/src/swift-compile.ts +221 -41
  210. package/src/swift-coverage/provenance.ts +1 -0
  211. package/src/swift-coverage/xcode-asset-symbols.ts +922 -0
  212. package/src/swift-coverage/xcode-assets.ts +89 -131
  213. package/src/swift-coverage/xcode.ts +1 -1
  214. package/src/swift-cxx-reachable.ts +2 -1
  215. package/src/swift-distribution.lock.json +14 -13
  216. package/src/swift-host.ts +95 -22
  217. package/src/swift-icu.ts +1 -1
  218. package/src/swift-link-roots.ts +118 -0
  219. package/src/swift-objc-compile.ts +144 -22
  220. package/src/swift-objc-import.ts +6 -0
  221. package/src/swift-objc-standin.ts +2 -14
  222. package/src/swift-package-manifest.ts +14 -6
  223. package/src/swift-packages.ts +75 -11
  224. package/src/swift-pdf-raster.ts +1 -0
  225. package/src/swift-root-lock.ts +17 -1
  226. package/src/swift-source-pods.ts +2 -10
  227. package/src/swift-standin-emit.ts +592 -57
  228. package/src/swift-standins.ts +430 -49
  229. package/src/swift-submit.ts +3 -1
  230. package/src/swift-toolchain.ts +140 -17
  231. package/src/turbo-codegen-intake.ts +91 -0
  232. package/src/vite-plugin-one.ts +13 -9
  233. package/src/vite-plugin.ts +28 -15
  234. package/src/xcode-project.ts +223 -22
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1716 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1728 | (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;
@@ -234,6 +234,217 @@ var import_path = __toESM(require("path"), 1);
234
234
 
235
235
  // ../peach-compat/src/lazy-stub-patterns.ts
236
236
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
237
+
238
+ // ../peach-compat/src/version-range.ts
239
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
240
+ var ANY_BOUNDS = {
241
+ lower: null,
242
+ lowerInclusive: false,
243
+ upper: null,
244
+ upperInclusive: false
245
+ };
246
+ var COMPARATOR = /\s*(?:[<>]=?|[=^~])?\s*[^\s]+/g;
247
+ function compareVersions(left, right) {
248
+ if (left.major !== right.major) return left.major < right.major ? -1 : 1;
249
+ if (left.minor !== right.minor) return left.minor < right.minor ? -1 : 1;
250
+ if (left.patch !== right.patch) return left.patch < right.patch ? -1 : 1;
251
+ if (left.prerelease.length === 0) return right.prerelease.length === 0 ? 0 : 1;
252
+ if (right.prerelease.length === 0) return -1;
253
+ const length = Math.max(left.prerelease.length, right.prerelease.length);
254
+ for (let index = 0; index < length; index++) {
255
+ const leftPart = left.prerelease[index];
256
+ const rightPart = right.prerelease[index];
257
+ if (leftPart === void 0) return -1;
258
+ if (rightPart === void 0) return 1;
259
+ if (leftPart === rightPart) continue;
260
+ const leftNumeric = /^\d+$/.test(leftPart);
261
+ const rightNumeric = /^\d+$/.test(rightPart);
262
+ if (leftNumeric && rightNumeric) return Number(leftPart) < Number(rightPart) ? -1 : 1;
263
+ if (leftNumeric !== rightNumeric) return leftNumeric ? -1 : 1;
264
+ return leftPart < rightPart ? -1 : 1;
265
+ }
266
+ return 0;
267
+ }
268
+ function parseComparator(input) {
269
+ const token = input.trim();
270
+ if (token === "" || token === "*" || token === "x" || token === "X") {
271
+ return ANY_BOUNDS;
272
+ }
273
+ const match = /^(>=|<=|>|<|=|\^|~)?\s*v?(\d+|[xX*])(?:\.(\d+|[xX*]))?(?:\.(\d+|[xX*]))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(
274
+ token
275
+ );
276
+ if (!match) return null;
277
+ const operator = match[1] ?? "=";
278
+ const wildcard = (part) => part === void 0 || part === "x" || part === "X" || part === "*";
279
+ if (wildcard(match[2])) return ANY_BOUNDS;
280
+ const major = Number(match[2]);
281
+ const minor = wildcard(match[3]) ? null : Number(match[3]);
282
+ const patch = wildcard(match[4]) ? null : Number(match[4]);
283
+ const floor = {
284
+ major,
285
+ minor: minor ?? 0,
286
+ patch: patch ?? 0,
287
+ prerelease: match[5] ? match[5].split(".") : []
288
+ };
289
+ if (operator === ">") {
290
+ return { ...ANY_BOUNDS, lower: floor, lowerInclusive: false };
291
+ }
292
+ if (operator === ">=") {
293
+ return { ...ANY_BOUNDS, lower: floor, lowerInclusive: true };
294
+ }
295
+ if (operator === "<") {
296
+ return { ...ANY_BOUNDS, upper: floor, upperInclusive: false };
297
+ }
298
+ if (operator === "<=") {
299
+ return { ...ANY_BOUNDS, upper: floor, upperInclusive: true };
300
+ }
301
+ let upper;
302
+ if (operator === "^") {
303
+ upper = major !== 0 ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : (minor ?? 0) !== 0 || minor === null ? { major: 0, minor: (minor ?? 0) + 1, patch: 0, prerelease: [] } : { major: 0, minor: 0, patch: (patch ?? 0) + 1, prerelease: [] };
304
+ } else if (operator === "~") {
305
+ upper = minor === null ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : { major, minor: minor + 1, patch: 0, prerelease: [] };
306
+ } else if (minor === null) {
307
+ upper = { major: major + 1, minor: 0, patch: 0, prerelease: [] };
308
+ } else if (patch === null) {
309
+ upper = { major, minor: minor + 1, patch: 0, prerelease: [] };
310
+ } else {
311
+ return {
312
+ lower: floor,
313
+ lowerInclusive: true,
314
+ upper: floor,
315
+ upperInclusive: true
316
+ };
317
+ }
318
+ return {
319
+ lower: floor,
320
+ lowerInclusive: true,
321
+ upper,
322
+ upperInclusive: false
323
+ };
324
+ }
325
+ function stricterLower(left, right) {
326
+ if (!left.lower) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
327
+ if (!right.lower) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
328
+ const order = compareVersions(left.lower, right.lower);
329
+ if (order > 0) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
330
+ if (order < 0) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
331
+ return {
332
+ lower: left.lower,
333
+ lowerInclusive: left.lowerInclusive && right.lowerInclusive
334
+ };
335
+ }
336
+ function stricterUpper(left, right) {
337
+ if (!left.upper) return { upper: right.upper, upperInclusive: right.upperInclusive };
338
+ if (!right.upper) return { upper: left.upper, upperInclusive: left.upperInclusive };
339
+ const order = compareVersions(left.upper, right.upper);
340
+ if (order < 0) return { upper: left.upper, upperInclusive: left.upperInclusive };
341
+ if (order > 0) return { upper: right.upper, upperInclusive: right.upperInclusive };
342
+ return {
343
+ upper: left.upper,
344
+ upperInclusive: left.upperInclusive && right.upperInclusive
345
+ };
346
+ }
347
+ function hasValues(bounds) {
348
+ if (!bounds.lower || !bounds.upper) return true;
349
+ const order = compareVersions(bounds.lower, bounds.upper);
350
+ return order < 0 || order === 0 && bounds.lowerInclusive && bounds.upperInclusive;
351
+ }
352
+ function parseRange(input) {
353
+ const groups = input.split("||");
354
+ const parsed = [];
355
+ for (const group of groups) {
356
+ const tokens = group.trim().match(COMPARATOR) ?? [];
357
+ if (tokens.length === 0) return null;
358
+ let bounds = ANY_BOUNDS;
359
+ for (const token of tokens) {
360
+ const comparator = parseComparator(token);
361
+ if (!comparator) return null;
362
+ bounds = {
363
+ ...stricterLower(bounds, comparator),
364
+ ...stricterUpper(bounds, comparator)
365
+ };
366
+ }
367
+ if (!hasValues(bounds)) return null;
368
+ parsed.push(bounds);
369
+ }
370
+ return parsed;
371
+ }
372
+ function containsBounds(container, contained) {
373
+ if (container.lower) {
374
+ if (!contained.lower) return false;
375
+ const order = compareVersions(container.lower, contained.lower);
376
+ if (order > 0) return false;
377
+ if (order === 0 && contained.lowerInclusive && !container.lowerInclusive) return false;
378
+ }
379
+ if (container.upper) {
380
+ if (!contained.upper) return false;
381
+ const order = compareVersions(container.upper, contained.upper);
382
+ if (order < 0) return false;
383
+ if (order === 0 && contained.upperInclusive && !container.upperInclusive) return false;
384
+ }
385
+ return true;
386
+ }
387
+ function overlapsBounds(left, right) {
388
+ const intersection = {
389
+ ...stricterLower(left, right),
390
+ ...stricterUpper(left, right)
391
+ };
392
+ return hasValues(intersection);
393
+ }
394
+ function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
395
+ const declaredGroups = parseRange(declaredVersion);
396
+ const registryGroups = availableRegistryRanges.map((range) => ({
397
+ range,
398
+ bounds: parseRange(range)
399
+ }));
400
+ if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
401
+ return {
402
+ status: "unresolved",
403
+ declaredVersion,
404
+ availableRegistryRanges
405
+ };
406
+ }
407
+ let selectedRange = null;
408
+ for (const declared of declaredGroups) {
409
+ const containing = registryGroups.filter(
410
+ (candidate2) => candidate2.bounds?.length === 1 && containsBounds(candidate2.bounds[0], declared)
411
+ );
412
+ if (containing.length !== 1) {
413
+ const overlaps = registryGroups.some(
414
+ (candidate2) => candidate2.bounds?.some((bounds) => overlapsBounds(bounds, declared))
415
+ );
416
+ return {
417
+ status: overlaps ? "unresolved" : "unmatched",
418
+ declaredVersion,
419
+ availableRegistryRanges
420
+ };
421
+ }
422
+ const candidate = containing[0].range;
423
+ if (selectedRange && selectedRange !== candidate) {
424
+ return {
425
+ status: "unresolved",
426
+ declaredVersion,
427
+ availableRegistryRanges
428
+ };
429
+ }
430
+ selectedRange = candidate;
431
+ }
432
+ if (!selectedRange) {
433
+ return {
434
+ status: "unresolved",
435
+ declaredVersion,
436
+ availableRegistryRanges
437
+ };
438
+ }
439
+ return {
440
+ status: "matched",
441
+ declaredVersion,
442
+ registryRange: selectedRange,
443
+ availableRegistryRanges
444
+ };
445
+ }
446
+
447
+ // ../peach-compat/src/lazy-stub-patterns.ts
237
448
  var LAZY_STUB_PATTERNS = [
238
449
  "@10play/tentap-editor",
239
450
  "@adobe/react-native-aepcore",
@@ -289,13 +500,10 @@ var LAZY_STUB_PATTERNS = [
289
500
  "@shopify/checkout-sheet-kit",
290
501
  "@stream-io/video-react-native-sdk",
291
502
  "@stripe/stripe-identity-react-native",
292
- "@stripe/stripe-react-native",
293
- "@stripe/stripe-react-native/lib/typescript/src/types",
294
503
  "@stripe/stripe-terminal-react-native",
295
504
  "@supersami/rn-foreground-service",
296
505
  "@survicate/react-native-survicate",
297
506
  "@twilio/voice-react-native-sdk",
298
- "@walletconnect/react-native-compat",
299
507
  "@xmartlabs/react-native-line",
300
508
  "@zoontek/react-native-navigation-bar",
301
509
  "clevertap-react-native",
@@ -307,9 +515,7 @@ var LAZY_STUB_PATTERNS = [
307
515
  "expo-modules-core",
308
516
  "expo-superwall",
309
517
  "freerasp-react-native",
310
- "klaviyo-react-native-sdk",
311
518
  "llama.rn",
312
- "mixpanel-react-native",
313
519
  "newrelic-react-native-agent",
314
520
  "realm",
315
521
  "react-native-a11y",
@@ -321,7 +527,6 @@ var LAZY_STUB_PATTERNS = [
321
527
  "react-native-android-location-enabler",
322
528
  "react-native-animateable-text",
323
529
  "react-native-app-clip",
324
- "react-native-appsflyer",
325
530
  "react-native-avoid-softinput",
326
531
  "react-native-azure-auth",
327
532
  "react-native-background-actions",
@@ -330,7 +535,6 @@ var LAZY_STUB_PATTERNS = [
330
535
  "react-native-bluetooth-classic",
331
536
  "react-native-bluetooth-state-manager",
332
537
  "react-native-bottom-tabs",
333
- "react-native-branch",
334
538
  "react-native-camera-kit",
335
539
  "react-native-change-icon",
336
540
  "react-native-charts-wrapper",
@@ -1260,7 +1464,6 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1260
1464
  "@callstack/timezone-hermes-fix",
1261
1465
  "@candlefinance/faster-image",
1262
1466
  "@candlefinance/haptics",
1263
- "@clerk/expo",
1264
1467
  "@clerk/expo-passkeys",
1265
1468
  "@cometchat/chat-uikit-react-native",
1266
1469
  "@computools/react-native-dynamic-app-icon",
@@ -1296,6 +1499,7 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1296
1499
  "@flyskywhy/react-native-gcanvas",
1297
1500
  "@fugood/react-native-audio-pcm-stream",
1298
1501
  "@fullstory/react-native",
1502
+ "@g4rb4g3/react-native-carplay",
1299
1503
  "@gabriel-sisjr/react-native-background-location",
1300
1504
  "@generac/react-native-local-network-permission",
1301
1505
  "@giphy/react-native-sdk",
@@ -1431,6 +1635,7 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1431
1635
  "@rn-org/react-native-geofencing",
1432
1636
  "@rn-org/react-native-shortcuts",
1433
1637
  "@rnmapbox/maps",
1638
+ "@rntp/player",
1434
1639
  "@rnw-community/react-native-payments",
1435
1640
  "@rocket.chat/mobile-crypto",
1436
1641
  "@roman.sytnyk/blur-app-in-recents",
@@ -1908,6 +2113,7 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1908
2113
  "react-native-nfc-manager",
1909
2114
  "react-native-nitro-ark",
1910
2115
  "react-native-nitro-audio-manager",
2116
+ "react-native-nitro-base64",
1911
2117
  "react-native-nitro-buffer",
1912
2118
  "react-native-nitro-cloud-uploader",
1913
2119
  "react-native-nitro-cookies",
@@ -2212,7 +2418,7 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
2212
2418
  "@valora/react-native-keychain",
2213
2419
  "react-native-app-control",
2214
2420
  "react-native-blue-crypto",
2215
- "react-native-nitro-base64",
2421
+ "react-native-dynamic-theme",
2216
2422
  "react-native-nitro-gzip",
2217
2423
  "react-native-sectioned-slider"
2218
2424
  ];
@@ -2475,6 +2681,10 @@ var SOOTSIM_COMPAT_WRAPPER_REAL_PACKAGES = {
2475
2681
  specifier: "@peach-internal/expo-platform",
2476
2682
  packageName: "expo-modules-core/build/Platform.js"
2477
2683
  },
2684
+ expoLegacyEventEmitter: {
2685
+ specifier: "@peach-internal/expo-legacy-event-emitter",
2686
+ packageName: "expo-modules-core/build/LegacyEventEmitter.js"
2687
+ },
2478
2688
  expoSharedObjectHook: {
2479
2689
  specifier: "@peach-internal/expo-shared-object-hook",
2480
2690
  packageName: "expo-modules-core/build/hooks/useReleasingSharedObject.js"
@@ -3078,217 +3288,6 @@ var COMPAT_STUBS = {
3078
3288
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3079
3289
  var import_node_fs = __toESM(require("node:fs"), 1);
3080
3290
  var import_node_path = __toESM(require("node:path"), 1);
3081
-
3082
- // ../peach-compat/src/version-range.ts
3083
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3084
- var ANY_BOUNDS = {
3085
- lower: null,
3086
- lowerInclusive: false,
3087
- upper: null,
3088
- upperInclusive: false
3089
- };
3090
- var COMPARATOR = /\s*(?:[<>]=?|[=^~])?\s*[^\s]+/g;
3091
- function compareVersions(left, right) {
3092
- if (left.major !== right.major) return left.major < right.major ? -1 : 1;
3093
- if (left.minor !== right.minor) return left.minor < right.minor ? -1 : 1;
3094
- if (left.patch !== right.patch) return left.patch < right.patch ? -1 : 1;
3095
- if (left.prerelease.length === 0) return right.prerelease.length === 0 ? 0 : 1;
3096
- if (right.prerelease.length === 0) return -1;
3097
- const length = Math.max(left.prerelease.length, right.prerelease.length);
3098
- for (let index = 0; index < length; index++) {
3099
- const leftPart = left.prerelease[index];
3100
- const rightPart = right.prerelease[index];
3101
- if (leftPart === void 0) return -1;
3102
- if (rightPart === void 0) return 1;
3103
- if (leftPart === rightPart) continue;
3104
- const leftNumeric = /^\d+$/.test(leftPart);
3105
- const rightNumeric = /^\d+$/.test(rightPart);
3106
- if (leftNumeric && rightNumeric) return Number(leftPart) < Number(rightPart) ? -1 : 1;
3107
- if (leftNumeric !== rightNumeric) return leftNumeric ? -1 : 1;
3108
- return leftPart < rightPart ? -1 : 1;
3109
- }
3110
- return 0;
3111
- }
3112
- function parseComparator(input) {
3113
- const token = input.trim();
3114
- if (token === "" || token === "*" || token === "x" || token === "X") {
3115
- return ANY_BOUNDS;
3116
- }
3117
- const match = /^(>=|<=|>|<|=|\^|~)?\s*v?(\d+|[xX*])(?:\.(\d+|[xX*]))?(?:\.(\d+|[xX*]))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(
3118
- token
3119
- );
3120
- if (!match) return null;
3121
- const operator = match[1] ?? "=";
3122
- const wildcard = (part) => part === void 0 || part === "x" || part === "X" || part === "*";
3123
- if (wildcard(match[2])) return ANY_BOUNDS;
3124
- const major = Number(match[2]);
3125
- const minor = wildcard(match[3]) ? null : Number(match[3]);
3126
- const patch = wildcard(match[4]) ? null : Number(match[4]);
3127
- const floor = {
3128
- major,
3129
- minor: minor ?? 0,
3130
- patch: patch ?? 0,
3131
- prerelease: match[5] ? match[5].split(".") : []
3132
- };
3133
- if (operator === ">") {
3134
- return { ...ANY_BOUNDS, lower: floor, lowerInclusive: false };
3135
- }
3136
- if (operator === ">=") {
3137
- return { ...ANY_BOUNDS, lower: floor, lowerInclusive: true };
3138
- }
3139
- if (operator === "<") {
3140
- return { ...ANY_BOUNDS, upper: floor, upperInclusive: false };
3141
- }
3142
- if (operator === "<=") {
3143
- return { ...ANY_BOUNDS, upper: floor, upperInclusive: true };
3144
- }
3145
- let upper;
3146
- if (operator === "^") {
3147
- upper = major !== 0 ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : (minor ?? 0) !== 0 || minor === null ? { major: 0, minor: (minor ?? 0) + 1, patch: 0, prerelease: [] } : { major: 0, minor: 0, patch: (patch ?? 0) + 1, prerelease: [] };
3148
- } else if (operator === "~") {
3149
- upper = minor === null ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : { major, minor: minor + 1, patch: 0, prerelease: [] };
3150
- } else if (minor === null) {
3151
- upper = { major: major + 1, minor: 0, patch: 0, prerelease: [] };
3152
- } else if (patch === null) {
3153
- upper = { major, minor: minor + 1, patch: 0, prerelease: [] };
3154
- } else {
3155
- return {
3156
- lower: floor,
3157
- lowerInclusive: true,
3158
- upper: floor,
3159
- upperInclusive: true
3160
- };
3161
- }
3162
- return {
3163
- lower: floor,
3164
- lowerInclusive: true,
3165
- upper,
3166
- upperInclusive: false
3167
- };
3168
- }
3169
- function stricterLower(left, right) {
3170
- if (!left.lower) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
3171
- if (!right.lower) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
3172
- const order = compareVersions(left.lower, right.lower);
3173
- if (order > 0) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
3174
- if (order < 0) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
3175
- return {
3176
- lower: left.lower,
3177
- lowerInclusive: left.lowerInclusive && right.lowerInclusive
3178
- };
3179
- }
3180
- function stricterUpper(left, right) {
3181
- if (!left.upper) return { upper: right.upper, upperInclusive: right.upperInclusive };
3182
- if (!right.upper) return { upper: left.upper, upperInclusive: left.upperInclusive };
3183
- const order = compareVersions(left.upper, right.upper);
3184
- if (order < 0) return { upper: left.upper, upperInclusive: left.upperInclusive };
3185
- if (order > 0) return { upper: right.upper, upperInclusive: right.upperInclusive };
3186
- return {
3187
- upper: left.upper,
3188
- upperInclusive: left.upperInclusive && right.upperInclusive
3189
- };
3190
- }
3191
- function hasValues(bounds) {
3192
- if (!bounds.lower || !bounds.upper) return true;
3193
- const order = compareVersions(bounds.lower, bounds.upper);
3194
- return order < 0 || order === 0 && bounds.lowerInclusive && bounds.upperInclusive;
3195
- }
3196
- function parseRange(input) {
3197
- const groups = input.split("||");
3198
- const parsed = [];
3199
- for (const group of groups) {
3200
- const tokens = group.trim().match(COMPARATOR) ?? [];
3201
- if (tokens.length === 0) return null;
3202
- let bounds = ANY_BOUNDS;
3203
- for (const token of tokens) {
3204
- const comparator = parseComparator(token);
3205
- if (!comparator) return null;
3206
- bounds = {
3207
- ...stricterLower(bounds, comparator),
3208
- ...stricterUpper(bounds, comparator)
3209
- };
3210
- }
3211
- if (!hasValues(bounds)) return null;
3212
- parsed.push(bounds);
3213
- }
3214
- return parsed;
3215
- }
3216
- function containsBounds(container, contained) {
3217
- if (container.lower) {
3218
- if (!contained.lower) return false;
3219
- const order = compareVersions(container.lower, contained.lower);
3220
- if (order > 0) return false;
3221
- if (order === 0 && contained.lowerInclusive && !container.lowerInclusive) return false;
3222
- }
3223
- if (container.upper) {
3224
- if (!contained.upper) return false;
3225
- const order = compareVersions(container.upper, contained.upper);
3226
- if (order < 0) return false;
3227
- if (order === 0 && contained.upperInclusive && !container.upperInclusive) return false;
3228
- }
3229
- return true;
3230
- }
3231
- function overlapsBounds(left, right) {
3232
- const intersection = {
3233
- ...stricterLower(left, right),
3234
- ...stricterUpper(left, right)
3235
- };
3236
- return hasValues(intersection);
3237
- }
3238
- function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
3239
- const declaredGroups = parseRange(declaredVersion);
3240
- const registryGroups = availableRegistryRanges.map((range) => ({
3241
- range,
3242
- bounds: parseRange(range)
3243
- }));
3244
- if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
3245
- return {
3246
- status: "unresolved",
3247
- declaredVersion,
3248
- availableRegistryRanges
3249
- };
3250
- }
3251
- let selectedRange = null;
3252
- for (const declared of declaredGroups) {
3253
- const containing = registryGroups.filter(
3254
- (candidate2) => candidate2.bounds?.length === 1 && containsBounds(candidate2.bounds[0], declared)
3255
- );
3256
- if (containing.length !== 1) {
3257
- const overlaps = registryGroups.some(
3258
- (candidate2) => candidate2.bounds?.some((bounds) => overlapsBounds(bounds, declared))
3259
- );
3260
- return {
3261
- status: overlaps ? "unresolved" : "unmatched",
3262
- declaredVersion,
3263
- availableRegistryRanges
3264
- };
3265
- }
3266
- const candidate = containing[0].range;
3267
- if (selectedRange && selectedRange !== candidate) {
3268
- return {
3269
- status: "unresolved",
3270
- declaredVersion,
3271
- availableRegistryRanges
3272
- };
3273
- }
3274
- selectedRange = candidate;
3275
- }
3276
- if (!selectedRange) {
3277
- return {
3278
- status: "unresolved",
3279
- declaredVersion,
3280
- availableRegistryRanges
3281
- };
3282
- }
3283
- return {
3284
- status: "matched",
3285
- declaredVersion,
3286
- registryRange: selectedRange,
3287
- availableRegistryRanges
3288
- };
3289
- }
3290
-
3291
- // src/installed-native-build-options.ts
3292
3291
  var RIVE_PACKAGE = "@rive-app/react-native";
3293
3292
  var RIVE_05 = [">=0.5.0 <0.6.0"];
3294
3293
  function missing(error) {
@@ -4441,7 +4440,7 @@ var import_node_module = require("node:module");
4441
4440
  var import_node_path5 = require("node:path");
4442
4441
 
4443
4442
  // runtime-companion.json
4444
- var runtime_companion_default = { abi: 1, sha256: "a0dede25c849ecabd639fbb0a0c4edd8e62a34bf12090932dba19832f2369659", file: "node/cli-a0dede25c849ecabd639fbb0a0c4edd8e62a34bf12090932dba19832f2369659.cjs" };
4443
+ var runtime_companion_default = { abi: 1, sha256: "aca3aa069c8104a207ce2d98944ba1ed096878d12c25e9e9d44c3df0e2a63323", file: "node/cli-aca3aa069c8104a207ce2d98944ba1ed096878d12c25e9e9d44c3df0e2a63323.cjs" };
4445
4444
 
4446
4445
  // src/runtime-assets.ts
4447
4446
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1716 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1728 | (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.1716 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1716 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1728 | (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.1716 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1728 | (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;