peachsim 0.1.2098 → 0.1.2100

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 (82) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +10 -7
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +9 -6
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +10 -7
  31. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +3 -3
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +3 -3
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +10 -7
  68. package/dist-lib/swift-compile.cjs +7 -4
  69. package/dist-lib/swift-compile.mjs +7 -4
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +8 -5
  77. package/dist-lib/vite.cjs +3 -3
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/package.json +1 -1
  81. package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h +3 -0
  82. package/src/swift-compile.ts +9 -4
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2098 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2100 | (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.2098 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2100 | (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;
@@ -17012,7 +17012,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
17012
17012
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
17013
17013
  var MULTI_MANIFEST_VERSION = 68;
17014
17014
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
17015
- var compilerSourceDigest = true ? "6b275a13ceb3fd22a774cfe6577f5155d1d1fd8eb9eed3ae18b17ed700d50eb9" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17015
+ var compilerSourceDigest = true ? "df4c5ca93a44bb013a99723f946f6aa1c1eec013869bc31b38b55de15fe93479" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17016
17016
  function swiftArtifactHash(input, release, moduleRoot) {
17017
17017
  const hash = (0, import_node_crypto13.createHash)("sha256");
17018
17018
  hash.update(`swift-compile
@@ -20719,7 +20719,7 @@ async function buildFrameworkProducts(scratch2, args) {
20719
20719
  };
20720
20720
  }
20721
20721
  var SWIFT_LINK_STAMP = ".peach-link-stamp";
20722
- var SWIFT_FRAMEWORK_SLOTS = 3;
20722
+ var SWIFT_FRAMEWORK_SLOTS = 8;
20723
20723
  var SWIFT_FRAMEWORK_SLOT_KEY = ".peach-framework-key";
20724
20724
  var SWIFT_FRAMEWORK_SLOT_ORIGIN = ".peach-framework-origin";
20725
20725
  function swiftFrameworksDir() {
@@ -20759,7 +20759,10 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
20759
20759
  );
20760
20760
  for (const slot of [
20761
20761
  ...oldest.filter(own).reverse(),
20762
- ...oldest.filter((slot2) => !own(slot2))
20762
+ // a slot created this run is empty but carries a fresh mtime, so it would
20763
+ // otherwise sort behind an occupied slot it should spare
20764
+ ...oldest.filter((slot2) => !own(slot2) && swiftFrameworkSlotKey(slot2) === null),
20765
+ ...oldest.filter((slot2) => !own(slot2) && swiftFrameworkSlotKey(slot2) !== null)
20763
20766
  ]) {
20764
20767
  const result = await withSwiftRootLock(
20765
20768
  slot,
@@ -30092,7 +30095,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
30092
30095
  return hash.digest("hex");
30093
30096
  }
30094
30097
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
30095
- var STANDIN_SOURCE_DIGEST = true ? "dfa809f23971d606abf197cb27eb3400aed018aa43e25abf064d7543ff0597c2" : standinSourceDigest();
30098
+ var STANDIN_SOURCE_DIGEST = true ? "01b295479a73971b8777969e071613e1617015878bf87e2ac655a2f632b61282" : standinSourceDigest();
30096
30099
 
30097
30100
  // src/swift-standins.ts
30098
30101
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2098 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2100 | (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;
@@ -1905,7 +1905,7 @@ function readIosSdkTree(root) {
1905
1905
 
1906
1906
  // src/swift-standin-digest.ts
1907
1907
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1908
- var STANDIN_SOURCE_DIGEST = true ? "dfa809f23971d606abf197cb27eb3400aed018aa43e25abf064d7543ff0597c2" : standinSourceDigest();
1908
+ var STANDIN_SOURCE_DIGEST = true ? "01b295479a73971b8777969e071613e1617015878bf87e2ac655a2f632b61282" : standinSourceDigest();
1909
1909
 
1910
1910
  // src/expo-native-workspace.ts
1911
1911
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -5403,7 +5403,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
5403
5403
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
5404
5404
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
5405
5405
  ).join("");
5406
- var compilerSourceDigest = true ? "6b275a13ceb3fd22a774cfe6577f5155d1d1fd8eb9eed3ae18b17ed700d50eb9" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5406
+ var compilerSourceDigest = true ? "df4c5ca93a44bb013a99723f946f6aa1c1eec013869bc31b38b55de15fe93479" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5407
5407
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
5408
5408
  "CFAllocator",
5409
5409
  "CFArray",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2098 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2100 | (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.2098 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2100 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2098",
3
+ "version": "0.1.2100",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -17,6 +17,7 @@
17
17
  NS_HEADER_AUDIT_BEGIN(nullability, sendability)
18
18
 
19
19
  UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
20
+ PEACH_SWIFT_CLASS(UIKitCore)
20
21
  @interface UIMotionEffect : NSObject <NSCopying, NSCoding>
21
22
 
22
23
  - (instancetype)init NS_DESIGNATED_INITIALIZER;
@@ -52,6 +53,7 @@ UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
52
53
 
53
54
  `keyPath` should be expressed relative to the effect's target view. */
54
55
  UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
56
+ PEACH_SWIFT_CLASS(UIKitCore)
55
57
  @interface UIInterpolatingMotionEffect : UIMotionEffect
56
58
 
57
59
  - (instancetype)initWithKeyPath:(NSString *)keyPath type:(UIInterpolatingMotionEffectType)type NS_DESIGNATED_INITIALIZER;
@@ -69,6 +71,7 @@ UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
69
71
  /*! Behaves like CAAnimationGroup. Merges key/value pairs of constituent
70
72
  using Core Animation's implementations of addition for all the standard types. */
71
73
  UIKIT_EXTERN API_AVAILABLE(ios(7.0)) API_UNAVAILABLE(watchos) NS_SWIFT_UI_ACTOR
74
+ PEACH_SWIFT_CLASS(UIKitCore)
72
75
  @interface UIMotionEffectGroup : UIMotionEffect
73
76
  @property (nullable, copy, nonatomic) NSArray<__kindof UIMotionEffect *> *motionEffects;
74
77
  @end
@@ -6587,8 +6587,10 @@ const SWIFT_LINK_STAMP = '.peach-link-stamp'
6587
6587
  // fresh path per revision recompiled every module. it takes the slot its own
6588
6588
  // checkout built last, whose revision is its nearest, else the least recently
6589
6589
  // built one: an edit restaged over another checkout's revision recompiled the
6590
- // whole framework.
6591
- const SWIFT_FRAMEWORK_SLOTS = 3
6590
+ // whole framework. a slot is about 2 GB, and a shared Mac compiles six or more
6591
+ // trees' revisions an hour: three slots evicted live rounds into 5 to 8 minute
6592
+ // full rebuilds.
6593
+ const SWIFT_FRAMEWORK_SLOTS = 8
6592
6594
  const SWIFT_FRAMEWORK_SLOT_KEY = '.peach-framework-key'
6593
6595
  const SWIFT_FRAMEWORK_SLOT_ORIGIN = '.peach-framework-origin'
6594
6596
 
@@ -6615,7 +6617,7 @@ function swiftFrameworkSlotKey(slot: string): string | null {
6615
6617
 
6616
6618
  /** runs `work` holding the slot that builds `frameworkKey`'s products: the slot
6617
6619
  * already staged for it, else an idle one, `moduleRoot`'s own newest first,
6618
- * then the least recently built. */
6620
+ * then an empty one, then the least recently built. */
6619
6621
  async function withSwiftFrameworkSlot<T>(
6620
6622
  frameworkKey: string,
6621
6623
  moduleRoot: string,
@@ -6643,7 +6645,10 @@ async function withSwiftFrameworkSlot<T>(
6643
6645
  )
6644
6646
  for (const slot of [
6645
6647
  ...oldest.filter(own).reverse(),
6646
- ...oldest.filter((slot) => !own(slot)),
6648
+ // a slot created this run is empty but carries a fresh mtime, so it would
6649
+ // otherwise sort behind an occupied slot it should spare
6650
+ ...oldest.filter((slot) => !own(slot) && swiftFrameworkSlotKey(slot) === null),
6651
+ ...oldest.filter((slot) => !own(slot) && swiftFrameworkSlotKey(slot) !== null),
6647
6652
  ]) {
6648
6653
  const result = await withSwiftRootLock(
6649
6654
  slot,