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
package/dist-lib/vite.cjs CHANGED
@@ -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;
@@ -42,7 +42,7 @@ var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
42
42
  var runtime_companion_default;
43
43
  var init_runtime_companion = __esm({
44
44
  "runtime-companion.json"() {
45
- runtime_companion_default = { abi: 1, sha256: "a0dede25c849ecabd639fbb0a0c4edd8e62a34bf12090932dba19832f2369659", file: "node/cli-a0dede25c849ecabd639fbb0a0c4edd8e62a34bf12090932dba19832f2369659.cjs" };
45
+ runtime_companion_default = { abi: 1, sha256: "aca3aa069c8104a207ce2d98944ba1ed096878d12c25e9e9d44c3df0e2a63323", file: "node/cli-aca3aa069c8104a207ce2d98944ba1ed096878d12c25e9e9d44c3df0e2a63323.cjs" };
46
46
  }
47
47
  });
48
48
 
@@ -779,6 +779,217 @@ var import_path2 = __toESM(require("path"), 1);
779
779
 
780
780
  // ../peach-compat/src/lazy-stub-patterns.ts
781
781
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
782
+
783
+ // ../peach-compat/src/version-range.ts
784
+ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
785
+ var ANY_BOUNDS = {
786
+ lower: null,
787
+ lowerInclusive: false,
788
+ upper: null,
789
+ upperInclusive: false
790
+ };
791
+ var COMPARATOR = /\s*(?:[<>]=?|[=^~])?\s*[^\s]+/g;
792
+ function compareVersions(left, right) {
793
+ if (left.major !== right.major) return left.major < right.major ? -1 : 1;
794
+ if (left.minor !== right.minor) return left.minor < right.minor ? -1 : 1;
795
+ if (left.patch !== right.patch) return left.patch < right.patch ? -1 : 1;
796
+ if (left.prerelease.length === 0) return right.prerelease.length === 0 ? 0 : 1;
797
+ if (right.prerelease.length === 0) return -1;
798
+ const length = Math.max(left.prerelease.length, right.prerelease.length);
799
+ for (let index = 0; index < length; index++) {
800
+ const leftPart = left.prerelease[index];
801
+ const rightPart = right.prerelease[index];
802
+ if (leftPart === void 0) return -1;
803
+ if (rightPart === void 0) return 1;
804
+ if (leftPart === rightPart) continue;
805
+ const leftNumeric = /^\d+$/.test(leftPart);
806
+ const rightNumeric = /^\d+$/.test(rightPart);
807
+ if (leftNumeric && rightNumeric) return Number(leftPart) < Number(rightPart) ? -1 : 1;
808
+ if (leftNumeric !== rightNumeric) return leftNumeric ? -1 : 1;
809
+ return leftPart < rightPart ? -1 : 1;
810
+ }
811
+ return 0;
812
+ }
813
+ function parseComparator(input) {
814
+ const token = input.trim();
815
+ if (token === "" || token === "*" || token === "x" || token === "X") {
816
+ return ANY_BOUNDS;
817
+ }
818
+ const match = /^(>=|<=|>|<|=|\^|~)?\s*v?(\d+|[xX*])(?:\.(\d+|[xX*]))?(?:\.(\d+|[xX*]))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(
819
+ token
820
+ );
821
+ if (!match) return null;
822
+ const operator = match[1] ?? "=";
823
+ const wildcard = (part) => part === void 0 || part === "x" || part === "X" || part === "*";
824
+ if (wildcard(match[2])) return ANY_BOUNDS;
825
+ const major = Number(match[2]);
826
+ const minor = wildcard(match[3]) ? null : Number(match[3]);
827
+ const patch = wildcard(match[4]) ? null : Number(match[4]);
828
+ const floor = {
829
+ major,
830
+ minor: minor ?? 0,
831
+ patch: patch ?? 0,
832
+ prerelease: match[5] ? match[5].split(".") : []
833
+ };
834
+ if (operator === ">") {
835
+ return { ...ANY_BOUNDS, lower: floor, lowerInclusive: false };
836
+ }
837
+ if (operator === ">=") {
838
+ return { ...ANY_BOUNDS, lower: floor, lowerInclusive: true };
839
+ }
840
+ if (operator === "<") {
841
+ return { ...ANY_BOUNDS, upper: floor, upperInclusive: false };
842
+ }
843
+ if (operator === "<=") {
844
+ return { ...ANY_BOUNDS, upper: floor, upperInclusive: true };
845
+ }
846
+ let upper;
847
+ if (operator === "^") {
848
+ 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: [] };
849
+ } else if (operator === "~") {
850
+ upper = minor === null ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : { major, minor: minor + 1, patch: 0, prerelease: [] };
851
+ } else if (minor === null) {
852
+ upper = { major: major + 1, minor: 0, patch: 0, prerelease: [] };
853
+ } else if (patch === null) {
854
+ upper = { major, minor: minor + 1, patch: 0, prerelease: [] };
855
+ } else {
856
+ return {
857
+ lower: floor,
858
+ lowerInclusive: true,
859
+ upper: floor,
860
+ upperInclusive: true
861
+ };
862
+ }
863
+ return {
864
+ lower: floor,
865
+ lowerInclusive: true,
866
+ upper,
867
+ upperInclusive: false
868
+ };
869
+ }
870
+ function stricterLower(left, right) {
871
+ if (!left.lower) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
872
+ if (!right.lower) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
873
+ const order = compareVersions(left.lower, right.lower);
874
+ if (order > 0) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
875
+ if (order < 0) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
876
+ return {
877
+ lower: left.lower,
878
+ lowerInclusive: left.lowerInclusive && right.lowerInclusive
879
+ };
880
+ }
881
+ function stricterUpper(left, right) {
882
+ if (!left.upper) return { upper: right.upper, upperInclusive: right.upperInclusive };
883
+ if (!right.upper) return { upper: left.upper, upperInclusive: left.upperInclusive };
884
+ const order = compareVersions(left.upper, right.upper);
885
+ if (order < 0) return { upper: left.upper, upperInclusive: left.upperInclusive };
886
+ if (order > 0) return { upper: right.upper, upperInclusive: right.upperInclusive };
887
+ return {
888
+ upper: left.upper,
889
+ upperInclusive: left.upperInclusive && right.upperInclusive
890
+ };
891
+ }
892
+ function hasValues(bounds) {
893
+ if (!bounds.lower || !bounds.upper) return true;
894
+ const order = compareVersions(bounds.lower, bounds.upper);
895
+ return order < 0 || order === 0 && bounds.lowerInclusive && bounds.upperInclusive;
896
+ }
897
+ function parseRange(input) {
898
+ const groups = input.split("||");
899
+ const parsed = [];
900
+ for (const group of groups) {
901
+ const tokens = group.trim().match(COMPARATOR) ?? [];
902
+ if (tokens.length === 0) return null;
903
+ let bounds = ANY_BOUNDS;
904
+ for (const token of tokens) {
905
+ const comparator = parseComparator(token);
906
+ if (!comparator) return null;
907
+ bounds = {
908
+ ...stricterLower(bounds, comparator),
909
+ ...stricterUpper(bounds, comparator)
910
+ };
911
+ }
912
+ if (!hasValues(bounds)) return null;
913
+ parsed.push(bounds);
914
+ }
915
+ return parsed;
916
+ }
917
+ function containsBounds(container, contained) {
918
+ if (container.lower) {
919
+ if (!contained.lower) return false;
920
+ const order = compareVersions(container.lower, contained.lower);
921
+ if (order > 0) return false;
922
+ if (order === 0 && contained.lowerInclusive && !container.lowerInclusive) return false;
923
+ }
924
+ if (container.upper) {
925
+ if (!contained.upper) return false;
926
+ const order = compareVersions(container.upper, contained.upper);
927
+ if (order < 0) return false;
928
+ if (order === 0 && contained.upperInclusive && !container.upperInclusive) return false;
929
+ }
930
+ return true;
931
+ }
932
+ function overlapsBounds(left, right) {
933
+ const intersection = {
934
+ ...stricterLower(left, right),
935
+ ...stricterUpper(left, right)
936
+ };
937
+ return hasValues(intersection);
938
+ }
939
+ function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
940
+ const declaredGroups = parseRange(declaredVersion);
941
+ const registryGroups = availableRegistryRanges.map((range) => ({
942
+ range,
943
+ bounds: parseRange(range)
944
+ }));
945
+ if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
946
+ return {
947
+ status: "unresolved",
948
+ declaredVersion,
949
+ availableRegistryRanges
950
+ };
951
+ }
952
+ let selectedRange = null;
953
+ for (const declared of declaredGroups) {
954
+ const containing = registryGroups.filter(
955
+ (candidate2) => candidate2.bounds?.length === 1 && containsBounds(candidate2.bounds[0], declared)
956
+ );
957
+ if (containing.length !== 1) {
958
+ const overlaps = registryGroups.some(
959
+ (candidate2) => candidate2.bounds?.some((bounds) => overlapsBounds(bounds, declared))
960
+ );
961
+ return {
962
+ status: overlaps ? "unresolved" : "unmatched",
963
+ declaredVersion,
964
+ availableRegistryRanges
965
+ };
966
+ }
967
+ const candidate = containing[0].range;
968
+ if (selectedRange && selectedRange !== candidate) {
969
+ return {
970
+ status: "unresolved",
971
+ declaredVersion,
972
+ availableRegistryRanges
973
+ };
974
+ }
975
+ selectedRange = candidate;
976
+ }
977
+ if (!selectedRange) {
978
+ return {
979
+ status: "unresolved",
980
+ declaredVersion,
981
+ availableRegistryRanges
982
+ };
983
+ }
984
+ return {
985
+ status: "matched",
986
+ declaredVersion,
987
+ registryRange: selectedRange,
988
+ availableRegistryRanges
989
+ };
990
+ }
991
+
992
+ // ../peach-compat/src/lazy-stub-patterns.ts
782
993
  var LAZY_STUB_PATTERNS = [
783
994
  "@10play/tentap-editor",
784
995
  "@adobe/react-native-aepcore",
@@ -834,13 +1045,10 @@ var LAZY_STUB_PATTERNS = [
834
1045
  "@shopify/checkout-sheet-kit",
835
1046
  "@stream-io/video-react-native-sdk",
836
1047
  "@stripe/stripe-identity-react-native",
837
- "@stripe/stripe-react-native",
838
- "@stripe/stripe-react-native/lib/typescript/src/types",
839
1048
  "@stripe/stripe-terminal-react-native",
840
1049
  "@supersami/rn-foreground-service",
841
1050
  "@survicate/react-native-survicate",
842
1051
  "@twilio/voice-react-native-sdk",
843
- "@walletconnect/react-native-compat",
844
1052
  "@xmartlabs/react-native-line",
845
1053
  "@zoontek/react-native-navigation-bar",
846
1054
  "clevertap-react-native",
@@ -852,9 +1060,7 @@ var LAZY_STUB_PATTERNS = [
852
1060
  "expo-modules-core",
853
1061
  "expo-superwall",
854
1062
  "freerasp-react-native",
855
- "klaviyo-react-native-sdk",
856
1063
  "llama.rn",
857
- "mixpanel-react-native",
858
1064
  "newrelic-react-native-agent",
859
1065
  "realm",
860
1066
  "react-native-a11y",
@@ -866,7 +1072,6 @@ var LAZY_STUB_PATTERNS = [
866
1072
  "react-native-android-location-enabler",
867
1073
  "react-native-animateable-text",
868
1074
  "react-native-app-clip",
869
- "react-native-appsflyer",
870
1075
  "react-native-avoid-softinput",
871
1076
  "react-native-azure-auth",
872
1077
  "react-native-background-actions",
@@ -875,7 +1080,6 @@ var LAZY_STUB_PATTERNS = [
875
1080
  "react-native-bluetooth-classic",
876
1081
  "react-native-bluetooth-state-manager",
877
1082
  "react-native-bottom-tabs",
878
- "react-native-branch",
879
1083
  "react-native-camera-kit",
880
1084
  "react-native-change-icon",
881
1085
  "react-native-charts-wrapper",
@@ -1805,7 +2009,6 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1805
2009
  "@callstack/timezone-hermes-fix",
1806
2010
  "@candlefinance/faster-image",
1807
2011
  "@candlefinance/haptics",
1808
- "@clerk/expo",
1809
2012
  "@clerk/expo-passkeys",
1810
2013
  "@cometchat/chat-uikit-react-native",
1811
2014
  "@computools/react-native-dynamic-app-icon",
@@ -1841,6 +2044,7 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1841
2044
  "@flyskywhy/react-native-gcanvas",
1842
2045
  "@fugood/react-native-audio-pcm-stream",
1843
2046
  "@fullstory/react-native",
2047
+ "@g4rb4g3/react-native-carplay",
1844
2048
  "@gabriel-sisjr/react-native-background-location",
1845
2049
  "@generac/react-native-local-network-permission",
1846
2050
  "@giphy/react-native-sdk",
@@ -1976,6 +2180,7 @@ var NATIVE_STUB_PACKAGE_NAMES = [
1976
2180
  "@rn-org/react-native-geofencing",
1977
2181
  "@rn-org/react-native-shortcuts",
1978
2182
  "@rnmapbox/maps",
2183
+ "@rntp/player",
1979
2184
  "@rnw-community/react-native-payments",
1980
2185
  "@rocket.chat/mobile-crypto",
1981
2186
  "@roman.sytnyk/blur-app-in-recents",
@@ -2453,6 +2658,7 @@ var NATIVE_STUB_PACKAGE_NAMES = [
2453
2658
  "react-native-nfc-manager",
2454
2659
  "react-native-nitro-ark",
2455
2660
  "react-native-nitro-audio-manager",
2661
+ "react-native-nitro-base64",
2456
2662
  "react-native-nitro-buffer",
2457
2663
  "react-native-nitro-cloud-uploader",
2458
2664
  "react-native-nitro-cookies",
@@ -2757,7 +2963,7 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
2757
2963
  "@valora/react-native-keychain",
2758
2964
  "react-native-app-control",
2759
2965
  "react-native-blue-crypto",
2760
- "react-native-nitro-base64",
2966
+ "react-native-dynamic-theme",
2761
2967
  "react-native-nitro-gzip",
2762
2968
  "react-native-sectioned-slider"
2763
2969
  ];
@@ -3020,6 +3226,10 @@ var SOOTSIM_COMPAT_WRAPPER_REAL_PACKAGES = {
3020
3226
  specifier: "@peach-internal/expo-platform",
3021
3227
  packageName: "expo-modules-core/build/Platform.js"
3022
3228
  },
3229
+ expoLegacyEventEmitter: {
3230
+ specifier: "@peach-internal/expo-legacy-event-emitter",
3231
+ packageName: "expo-modules-core/build/LegacyEventEmitter.js"
3232
+ },
3023
3233
  expoSharedObjectHook: {
3024
3234
  specifier: "@peach-internal/expo-shared-object-hook",
3025
3235
  packageName: "expo-modules-core/build/hooks/useReleasingSharedObject.js"
@@ -3623,217 +3833,6 @@ var COMPAT_STUBS = {
3623
3833
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3624
3834
  var import_node_fs4 = __toESM(require("node:fs"), 1);
3625
3835
  var import_node_path4 = __toESM(require("node:path"), 1);
3626
-
3627
- // ../peach-compat/src/version-range.ts
3628
- init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3629
- var ANY_BOUNDS = {
3630
- lower: null,
3631
- lowerInclusive: false,
3632
- upper: null,
3633
- upperInclusive: false
3634
- };
3635
- var COMPARATOR = /\s*(?:[<>]=?|[=^~])?\s*[^\s]+/g;
3636
- function compareVersions(left, right) {
3637
- if (left.major !== right.major) return left.major < right.major ? -1 : 1;
3638
- if (left.minor !== right.minor) return left.minor < right.minor ? -1 : 1;
3639
- if (left.patch !== right.patch) return left.patch < right.patch ? -1 : 1;
3640
- if (left.prerelease.length === 0) return right.prerelease.length === 0 ? 0 : 1;
3641
- if (right.prerelease.length === 0) return -1;
3642
- const length = Math.max(left.prerelease.length, right.prerelease.length);
3643
- for (let index = 0; index < length; index++) {
3644
- const leftPart = left.prerelease[index];
3645
- const rightPart = right.prerelease[index];
3646
- if (leftPart === void 0) return -1;
3647
- if (rightPart === void 0) return 1;
3648
- if (leftPart === rightPart) continue;
3649
- const leftNumeric = /^\d+$/.test(leftPart);
3650
- const rightNumeric = /^\d+$/.test(rightPart);
3651
- if (leftNumeric && rightNumeric) return Number(leftPart) < Number(rightPart) ? -1 : 1;
3652
- if (leftNumeric !== rightNumeric) return leftNumeric ? -1 : 1;
3653
- return leftPart < rightPart ? -1 : 1;
3654
- }
3655
- return 0;
3656
- }
3657
- function parseComparator(input) {
3658
- const token = input.trim();
3659
- if (token === "" || token === "*" || token === "x" || token === "X") {
3660
- return ANY_BOUNDS;
3661
- }
3662
- const match = /^(>=|<=|>|<|=|\^|~)?\s*v?(\d+|[xX*])(?:\.(\d+|[xX*]))?(?:\.(\d+|[xX*]))?(?:-([0-9A-Za-z.-]+))?(?:\+[0-9A-Za-z.-]+)?$/.exec(
3663
- token
3664
- );
3665
- if (!match) return null;
3666
- const operator = match[1] ?? "=";
3667
- const wildcard = (part) => part === void 0 || part === "x" || part === "X" || part === "*";
3668
- if (wildcard(match[2])) return ANY_BOUNDS;
3669
- const major = Number(match[2]);
3670
- const minor = wildcard(match[3]) ? null : Number(match[3]);
3671
- const patch = wildcard(match[4]) ? null : Number(match[4]);
3672
- const floor = {
3673
- major,
3674
- minor: minor ?? 0,
3675
- patch: patch ?? 0,
3676
- prerelease: match[5] ? match[5].split(".") : []
3677
- };
3678
- if (operator === ">") {
3679
- return { ...ANY_BOUNDS, lower: floor, lowerInclusive: false };
3680
- }
3681
- if (operator === ">=") {
3682
- return { ...ANY_BOUNDS, lower: floor, lowerInclusive: true };
3683
- }
3684
- if (operator === "<") {
3685
- return { ...ANY_BOUNDS, upper: floor, upperInclusive: false };
3686
- }
3687
- if (operator === "<=") {
3688
- return { ...ANY_BOUNDS, upper: floor, upperInclusive: true };
3689
- }
3690
- let upper;
3691
- if (operator === "^") {
3692
- 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: [] };
3693
- } else if (operator === "~") {
3694
- upper = minor === null ? { major: major + 1, minor: 0, patch: 0, prerelease: [] } : { major, minor: minor + 1, patch: 0, prerelease: [] };
3695
- } else if (minor === null) {
3696
- upper = { major: major + 1, minor: 0, patch: 0, prerelease: [] };
3697
- } else if (patch === null) {
3698
- upper = { major, minor: minor + 1, patch: 0, prerelease: [] };
3699
- } else {
3700
- return {
3701
- lower: floor,
3702
- lowerInclusive: true,
3703
- upper: floor,
3704
- upperInclusive: true
3705
- };
3706
- }
3707
- return {
3708
- lower: floor,
3709
- lowerInclusive: true,
3710
- upper,
3711
- upperInclusive: false
3712
- };
3713
- }
3714
- function stricterLower(left, right) {
3715
- if (!left.lower) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
3716
- if (!right.lower) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
3717
- const order = compareVersions(left.lower, right.lower);
3718
- if (order > 0) return { lower: left.lower, lowerInclusive: left.lowerInclusive };
3719
- if (order < 0) return { lower: right.lower, lowerInclusive: right.lowerInclusive };
3720
- return {
3721
- lower: left.lower,
3722
- lowerInclusive: left.lowerInclusive && right.lowerInclusive
3723
- };
3724
- }
3725
- function stricterUpper(left, right) {
3726
- if (!left.upper) return { upper: right.upper, upperInclusive: right.upperInclusive };
3727
- if (!right.upper) return { upper: left.upper, upperInclusive: left.upperInclusive };
3728
- const order = compareVersions(left.upper, right.upper);
3729
- if (order < 0) return { upper: left.upper, upperInclusive: left.upperInclusive };
3730
- if (order > 0) return { upper: right.upper, upperInclusive: right.upperInclusive };
3731
- return {
3732
- upper: left.upper,
3733
- upperInclusive: left.upperInclusive && right.upperInclusive
3734
- };
3735
- }
3736
- function hasValues(bounds) {
3737
- if (!bounds.lower || !bounds.upper) return true;
3738
- const order = compareVersions(bounds.lower, bounds.upper);
3739
- return order < 0 || order === 0 && bounds.lowerInclusive && bounds.upperInclusive;
3740
- }
3741
- function parseRange(input) {
3742
- const groups = input.split("||");
3743
- const parsed = [];
3744
- for (const group of groups) {
3745
- const tokens = group.trim().match(COMPARATOR) ?? [];
3746
- if (tokens.length === 0) return null;
3747
- let bounds = ANY_BOUNDS;
3748
- for (const token of tokens) {
3749
- const comparator = parseComparator(token);
3750
- if (!comparator) return null;
3751
- bounds = {
3752
- ...stricterLower(bounds, comparator),
3753
- ...stricterUpper(bounds, comparator)
3754
- };
3755
- }
3756
- if (!hasValues(bounds)) return null;
3757
- parsed.push(bounds);
3758
- }
3759
- return parsed;
3760
- }
3761
- function containsBounds(container, contained) {
3762
- if (container.lower) {
3763
- if (!contained.lower) return false;
3764
- const order = compareVersions(container.lower, contained.lower);
3765
- if (order > 0) return false;
3766
- if (order === 0 && contained.lowerInclusive && !container.lowerInclusive) return false;
3767
- }
3768
- if (container.upper) {
3769
- if (!contained.upper) return false;
3770
- const order = compareVersions(container.upper, contained.upper);
3771
- if (order < 0) return false;
3772
- if (order === 0 && contained.upperInclusive && !container.upperInclusive) return false;
3773
- }
3774
- return true;
3775
- }
3776
- function overlapsBounds(left, right) {
3777
- const intersection = {
3778
- ...stricterLower(left, right),
3779
- ...stricterUpper(left, right)
3780
- };
3781
- return hasValues(intersection);
3782
- }
3783
- function resolveCompatVersionRange(availableRegistryRanges, declaredVersion) {
3784
- const declaredGroups = parseRange(declaredVersion);
3785
- const registryGroups = availableRegistryRanges.map((range) => ({
3786
- range,
3787
- bounds: parseRange(range)
3788
- }));
3789
- if (!declaredGroups || registryGroups.some((candidate) => !candidate.bounds)) {
3790
- return {
3791
- status: "unresolved",
3792
- declaredVersion,
3793
- availableRegistryRanges
3794
- };
3795
- }
3796
- let selectedRange = null;
3797
- for (const declared of declaredGroups) {
3798
- const containing = registryGroups.filter(
3799
- (candidate2) => candidate2.bounds?.length === 1 && containsBounds(candidate2.bounds[0], declared)
3800
- );
3801
- if (containing.length !== 1) {
3802
- const overlaps = registryGroups.some(
3803
- (candidate2) => candidate2.bounds?.some((bounds) => overlapsBounds(bounds, declared))
3804
- );
3805
- return {
3806
- status: overlaps ? "unresolved" : "unmatched",
3807
- declaredVersion,
3808
- availableRegistryRanges
3809
- };
3810
- }
3811
- const candidate = containing[0].range;
3812
- if (selectedRange && selectedRange !== candidate) {
3813
- return {
3814
- status: "unresolved",
3815
- declaredVersion,
3816
- availableRegistryRanges
3817
- };
3818
- }
3819
- selectedRange = candidate;
3820
- }
3821
- if (!selectedRange) {
3822
- return {
3823
- status: "unresolved",
3824
- declaredVersion,
3825
- availableRegistryRanges
3826
- };
3827
- }
3828
- return {
3829
- status: "matched",
3830
- declaredVersion,
3831
- registryRange: selectedRange,
3832
- availableRegistryRanges
3833
- };
3834
- }
3835
-
3836
- // src/installed-native-build-options.ts
3837
3836
  var RIVE_PACKAGE = "@rive-app/react-native";
3838
3837
  var RIVE_05 = [">=0.5.0 <0.6.0"];
3839
3838
  function missing(error) {
@@ -6179,6 +6178,10 @@ function swiftViteLifetime(server) {
6179
6178
  }
6180
6179
 
6181
6180
  // src/vite-plugin-one.ts
6181
+ function requestAuthority(req) {
6182
+ const authority = req.headers[":authority"];
6183
+ return req.headers.host ?? (typeof authority === "string" ? authority : void 0);
6184
+ }
6182
6185
  function exposeHeader(res, name) {
6183
6186
  const exposed = res.getHeader("access-control-expose-headers");
6184
6187
  const names = typeof exposed === "string" && exposed ? exposed.split(/,\s*/) : [];
@@ -6254,7 +6257,6 @@ function peachPlugin(options = {}) {
6254
6257
  return;
6255
6258
  }
6256
6259
  const loopback = address.address === "::" || address.address === "0.0.0.0" ? "127.0.0.1" : address.address;
6257
- const authority = req.headers[":authority"];
6258
6260
  const options2 = {
6259
6261
  host: loopback,
6260
6262
  port: address.port,
@@ -6264,7 +6266,7 @@ function peachPlugin(options = {}) {
6264
6266
  ...Object.fromEntries(
6265
6267
  Object.entries(req.headers).filter(([key]) => !key.startsWith(":"))
6266
6268
  ),
6267
- host: req.headers.host ?? (typeof authority === "string" ? authority : void 0),
6269
+ host: requestAuthority(req),
6268
6270
  "accept-encoding": "identity",
6269
6271
  [BUNDLE_SOURCE_REQUEST_HEADER]: "1"
6270
6272
  },
@@ -6286,7 +6288,7 @@ function peachPlugin(options = {}) {
6286
6288
  };
6287
6289
  const upstreamReq = server.config.server.https ? import_node_https2.default.request(options2, respond) : import_node_http3.default.request(options2, respond);
6288
6290
  upstreamReq.once("error", next);
6289
- req.once("close", () => {
6291
+ res.once("close", () => {
6290
6292
  if (!res.writableFinished) upstreamReq.destroy();
6291
6293
  });
6292
6294
  upstreamReq.end();
@@ -6365,7 +6367,7 @@ function peachPlugin(options = {}) {
6365
6367
  const devOrigin = () => `http://localhost:${listeningPort()}`;
6366
6368
  const requestOrigin = (req) => new URL(
6367
6369
  req.url || "/",
6368
- `${server.config.server.https ? "https" : "http"}://${req.headers.host}`
6370
+ `${server.config.server.https ? "https" : "http"}://${requestAuthority(req)}`
6369
6371
  ).origin;
6370
6372
  const sendSwiftChange = (change) => {
6371
6373
  const message = JSON.stringify(change);
@@ -6510,7 +6512,7 @@ function peachPlugin(options = {}) {
6510
6512
  const html = import_fs4.default.readFileSync(import_path4.default.join(runtimeRoot, "index.html"), "utf8");
6511
6513
  const lock = readDaemonLockfile();
6512
6514
  const bridgePort = lock && isDaemonLockfileFresh(lock) && lock.bridgePort > 0 ? lock.bridgePort : DEFAULT_SOOTSIM_BRIDGE_PORT;
6513
- const inject = `<script>(function(){var u=new URL(location.href);var b=${JSON.stringify(bundleForOrigin(origin))};if(!u.searchParams.has('bundle'))u.searchParams.set('bundle',b);window.__sootsimBridgePort=${bridgePort};window.__peachPageServingAuthority='contributor';history.replaceState(null,'','${prefix}/'+u.search)})()</script>`;
6515
+ const inject = `<script>(function(){var u=new URL(location.href);var b=${JSON.stringify(bundleForOrigin(origin))};if(!u.searchParams.has('bundle')&&!u.searchParams.get('demoApp')?.trim())u.searchParams.set('bundle',b);window.__sootsimBridgePort=${bridgePort};window.__peachPageServingAuthority='contributor';history.replaceState(null,'','${prefix}/'+u.search)})()</script>`;
6514
6516
  return html.replace("</head>", inject + "</head>");
6515
6517
  };
6516
6518
  server.middlewares.use((req, res, next) => {
@@ -6575,7 +6577,7 @@ function peachPlugin(options = {}) {
6575
6577
  if (serveBrowserProxyRoute(req, res)) return;
6576
6578
  const url = req.url || "";
6577
6579
  const pathname = url.split("?")[0];
6578
- const runtimeRoot = resolveRuntimeRootForRequestHost(req.headers.host);
6580
+ const runtimeRoot = resolveRuntimeRootForRequestHost(requestAuthority(req));
6579
6581
  if (!runtimeRoot) {
6580
6582
  if (pathname === prefix || pathname === prefix + "/" || pathname.startsWith(prefix + "/")) {
6581
6583
  res.statusCode = 500;
@@ -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/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -1,4 +1,4 @@
1
- import type { NativeEvaluationOwner } from '../native-evaluation-lease.d.ts';
1
+ import type { NativeEvaluationLease } from '../native-evaluation-lease.d.ts';
2
2
  export type NativeCookie = {
3
3
  name: string;
4
4
  value: string;
@@ -19,16 +19,25 @@ export type StoredCookie = NativeCookie & {
19
19
  };
20
20
  export type CookieStore = Map<string, StoredCookie>;
21
21
  export type CookieStoreErrorKind = 'invalid-url' | 'invalid-cookie' | 'domain-mismatch';
22
- declare class WebKitCookieJar extends Map<string, StoredCookie> {
22
+ declare class NativeCookieJar extends Map<string, StoredCookie> {
23
+ persistence?: {
24
+ storage: Storage;
25
+ key: string;
26
+ value: string | null;
27
+ };
23
28
  private changed;
24
29
  set(key: string, value: StoredCookie): this;
25
30
  delete(key: string): boolean;
26
31
  clear(): void;
27
32
  }
28
- export declare function bindNativeCookieStore(owner: NativeEvaluationOwner): void;
33
+ export declare function bindNativeCookieStore(lease: NativeEvaluationLease): void;
34
+ export declare function cookieStoresForEvaluation(lease: NativeEvaluationLease): {
35
+ native: NativeCookieJar;
36
+ webKit: NativeCookieJar;
37
+ };
29
38
  export declare const cookieStores: {
30
- readonly native: Map<string, StoredCookie>;
31
- readonly webKit: WebKitCookieJar;
39
+ readonly native: NativeCookieJar;
40
+ readonly webKit: NativeCookieJar;
32
41
  };
33
42
  export declare function createCookieOperations(): {
34
43
  storeResponseCookies: (store: CookieStore, url: string, headers: readonly string[]) => void;
@@ -70,12 +79,12 @@ declare const { storeResponseCookies, cookiesMatching, parseCookieUrl, normalize
70
79
  };
71
80
  export { cookieKey };
72
81
  export declare const nativeFetchCookies: {
73
- request(url: string, store?: Map<string, StoredCookie>): string;
74
- response(url: string, headers: readonly string[], store?: Map<string, StoredCookie>): void;
82
+ request(url: string, store?: NativeCookieJar): string;
83
+ response(url: string, headers: readonly string[], store?: NativeCookieJar): void;
75
84
  };
76
85
  export declare const webKitCookieOperationsSource: string;
77
86
  export declare const webKitCookieStorage: {
78
- readonly default: WebKitCookieJar;
87
+ readonly default: NativeCookieJar;
79
88
  isolated: () => CookieStore;
80
89
  response(store: CookieStore, url: string, headers: readonly string[]): void;
81
90
  observe(store: CookieStore, changed: () => void): () => void;
@@ -22,6 +22,7 @@ export declare function setPaintContinuationRenderCallback(cb: ((node: SootSimNo
22
22
  export declare function glassTakesAnimatedParameters(node: SootSimNode): boolean;
23
23
  export declare function prewarmPaintBoundaries(root: SootSimNode, ctx: RenderContext, budgetMs: number, realizeInto?: Surface | null, reach?: PrewarmReach, requireProgress?: boolean, paintedNodeIds?: ReadonlySet<number>): {
24
24
  records: number;
25
+ nodesCompleted: number;
25
26
  rasterPromotions: number;
26
27
  complete: boolean;
27
28
  realizeMs: number;