peachsim 0.1.1728 → 0.1.1738

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 (172) hide show
  1. package/cli/commands/control.ts +1 -0
  2. package/cli/commands/coverage-swift.ts +112 -4
  3. package/cli/commands/package.ts +11 -1
  4. package/cli/commands/shell-url.ts +4 -0
  5. package/cli/scene-video.ts +24 -7
  6. package/detox/index.ts +9 -1
  7. package/dist-lib/agent-daemon-client.cjs +1 -1
  8. package/dist-lib/agent-events.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +5 -2
  10. package/dist-lib/auth/shared-session.cjs +5 -2
  11. package/dist-lib/backend-origin.cjs +1 -1
  12. package/dist-lib/beta.cjs +1 -1
  13. package/dist-lib/beta.mjs +1 -1
  14. package/dist-lib/bridge-constants.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.mjs +1 -1
  17. package/dist-lib/bridge-contract.cjs +1 -1
  18. package/dist-lib/bridge-contract.mjs +1 -1
  19. package/dist-lib/bundle-channel.cjs +3592 -1918
  20. package/dist-lib/capture-contract.cjs +1 -1
  21. package/dist-lib/capture-contract.mjs +1 -1
  22. package/dist-lib/cloud-contract.cjs +1 -1
  23. package/dist-lib/cloud-contract.mjs +1 -1
  24. package/dist-lib/cloud-test-args.cjs +1 -1
  25. package/dist-lib/cloud-test-args.mjs +1 -1
  26. package/dist-lib/cloud.cjs +1 -1
  27. package/dist-lib/cloud.mjs +1 -1
  28. package/dist-lib/config.cjs +1 -1
  29. package/dist-lib/config.mjs +1 -1
  30. package/dist-lib/detox/index.cjs +13 -5
  31. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  32. package/dist-lib/expo-swift-bundle.cjs +1329 -1022
  33. package/dist-lib/expo-swift-metadata.cjs +2 -2
  34. package/dist-lib/expo-swift-metadata.mjs +2 -2
  35. package/dist-lib/home-paths.cjs +7 -2
  36. package/dist-lib/host/bridge-host.cjs +3773 -2149
  37. package/dist-lib/host/fetch-proxy-handler.cjs +16 -5
  38. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  39. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  40. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  41. package/dist-lib/host/websocket-proxy.cjs +1 -1
  42. package/dist-lib/index.cjs +97 -68
  43. package/dist-lib/jump-to-source-babel.cjs +1 -1
  44. package/dist-lib/jump-to-source-native.cjs +1 -1
  45. package/dist-lib/kotlin-host.cjs +209 -32
  46. package/dist-lib/menu.cjs +7 -1
  47. package/dist-lib/menu.mjs +7 -1
  48. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  50. package/dist-lib/metro-production-bundle.cjs +1 -1
  51. package/dist-lib/metro-production-bundle.mjs +1 -1
  52. package/dist-lib/metro.cjs +93 -65
  53. package/dist-lib/native-app-identity-project.cjs +37 -31
  54. package/dist-lib/native-app-identity-project.mjs +37 -31
  55. package/dist-lib/native-app-identity.cjs +1 -1
  56. package/dist-lib/native-app-identity.mjs +1 -1
  57. package/dist-lib/native-firebase-metadata.cjs +1 -1
  58. package/dist-lib/native-firebase-metadata.mjs +1 -1
  59. package/dist-lib/plist.cjs +1 -1
  60. package/dist-lib/plist.mjs +1 -1
  61. package/dist-lib/profiles.cjs +5 -2
  62. package/dist-lib/public-brand.cjs +1 -1
  63. package/dist-lib/public-origins-lib-esm.json +23 -23
  64. package/dist-lib/public-origins-lib.json +79 -53
  65. package/dist-lib/react-native-host-modules.cjs +5 -2
  66. package/dist-lib/react-native-host-modules.mjs +5 -2
  67. package/dist-lib/reap-browser.cjs +1 -1
  68. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  69. package/dist-lib/sdk.cjs +1 -1
  70. package/dist-lib/sdk.mjs +1 -1
  71. package/dist-lib/skills.cjs +4486 -2789
  72. package/dist-lib/swift-compile.cjs +53 -60
  73. package/dist-lib/swift-compile.mjs +52 -60
  74. package/dist-lib/swift-package.cjs +1 -1
  75. package/dist-lib/swift-package.mjs +1 -1
  76. package/dist-lib/swift-submit.cjs +2 -2
  77. package/dist-lib/swift-submit.mjs +2 -2
  78. package/dist-lib/swift-toolchain.cjs +17 -17
  79. package/dist-lib/swift.cjs +1 -1
  80. package/dist-lib/vite-swift.cjs +1056 -870
  81. package/dist-lib/vite.cjs +20 -8
  82. package/dist-lib/worklet-executable.cjs +1 -1
  83. package/dist-lib/worklet-executable.mjs +1 -1
  84. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +7 -4
  85. package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -1
  86. package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +0 -5
  87. package/dist-types/packages/peach-engine/src/engine/memory-counts.d.ts +8 -0
  88. package/dist-types/packages/peach-engine/src/engine/node.d.ts +4 -1
  89. package/dist-types/packages/peach-engine/src/engine/render-damage.d.ts +2 -2
  90. package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +5 -0
  91. package/dist-types/packages/peach-engine/src/engine/text-paragraph.d.ts +1 -0
  92. package/dist-types/packages/peach-engine/src/native-preview-bundle.d.ts +2 -0
  93. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +7 -2
  94. package/dist-types/packages/peach-engine/src/render-worker/shell-protocol.d.ts +1 -0
  95. package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +13 -1
  96. package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
  97. package/kotlin/README.md +3 -0
  98. package/kotlin/sdk.tar.gz +0 -0
  99. package/package.json +1 -1
  100. package/runtime-companion.json +1 -1
  101. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccount.h +55 -0
  102. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountCredential.h +35 -0
  103. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountStore.h +94 -0
  104. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACAccountType.h +53 -0
  105. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/ACError.h +37 -0
  106. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/Accounts.h +13 -0
  107. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Headers/AccountsDefines.h +13 -0
  108. package/sdk/ios/System/Library/Frameworks/Accounts.framework/Modules/module.modulemap +5 -0
  109. package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +1 -1
  110. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes +58 -3
  111. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +636 -37
  112. package/sdk/ios/usr/include/os/signpost.h +414 -0
  113. package/sdk/ios/usr/include/os.modulemap +5 -0
  114. package/sdk/ios/wasm/include/errno.h +4 -20
  115. package/sdk/ios/wasm/include/pthread.h +3 -0
  116. package/sdk/ios/wasm/include/setjmp.h +57 -0
  117. package/sdk/ios/wasm/include/sys/resource.h +2 -2
  118. package/sdk/native-hashes.json +3 -3
  119. package/skills/peach-debug/SKILL.md +0 -1
  120. package/skills/peach-perf/SKILL.md +0 -1
  121. package/skills/peach-setup/SKILL.md +0 -1
  122. package/skills/peach-test/SKILL.md +0 -1
  123. package/skills/peach-visual/SKILL.md +0 -1
  124. package/src/android-autolinking.ts +1 -0
  125. package/src/android-bridge-packages.ts +279 -0
  126. package/src/appPackageContract.ts +2 -0
  127. package/src/bundle-channel.mjs +20 -2
  128. package/src/cli-runtime.ts +9 -5
  129. package/src/expo-discovery-cache.ts +7 -3
  130. package/src/expo-kotlin-host.ts +97 -26
  131. package/src/expo-native-workspace.ts +135 -40
  132. package/src/expo-swift-host.ts +93 -20
  133. package/src/expo-swift-ready.ts +5 -1
  134. package/src/expoKotlinContract.ts +12 -2
  135. package/src/expoSwiftContract.ts +9 -2
  136. package/src/generated/swift-c-predefines.json +1 -1
  137. package/src/home-paths.ts +6 -1
  138. package/src/host/bridge-host.ts +5 -0
  139. package/src/host/fetch-proxy-handler.ts +10 -0
  140. package/src/kotlin-host.ts +204 -30
  141. package/src/kotlinSdkContract.ts +2 -1
  142. package/src/menu.ts +7 -0
  143. package/src/native-prebuilt.ts +154 -0
  144. package/src/nitro-adapter.lock.json +251 -251
  145. package/src/nitro-adapter.ts +56 -50
  146. package/src/nitro-bundle.ts +84 -74
  147. package/src/nitro-compile.ts +10 -5
  148. package/src/nitro-dependencies.ts +43 -28
  149. package/src/nitro-source.ts +60 -26
  150. package/src/nitroAdapterContract.ts +146 -98
  151. package/src/nitroContract.ts +64 -21
  152. package/src/react-native-bridge-modules.ts +2 -0
  153. package/src/react-native-host-modules.ts +4 -1
  154. package/src/settingsContract.ts +11 -0
  155. package/src/storageSnapshotContract.ts +29 -81
  156. package/src/swift-compile.ts +49 -50
  157. package/src/swift-coverage/indexdump.ts +22 -6
  158. package/src/swift-coverage/indexing.ts +4 -4
  159. package/src/swift-coverage/sdk.ts +104 -20
  160. package/src/swift-coverage/types.ts +34 -0
  161. package/src/swift-coverage/xcode.ts +9 -1
  162. package/src/swift-distribution.lock.json +15 -12
  163. package/src/swift-host.ts +3 -0
  164. package/src/swift-standin-emit.ts +6 -1
  165. package/src/swift-standins.ts +172 -10
  166. package/src/swift-submit.ts +5 -1
  167. package/src/swift-toolchain.ts +16 -16
  168. package/src/turbo-bundle.ts +81 -0
  169. package/src/turbo-compile.ts +120 -0
  170. package/src/turbo-runtime.lock.json +69 -0
  171. package/src/turbo-source.ts +754 -0
  172. package/src/vite-plugin-one.ts +4 -3
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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;
@@ -2320,10 +2320,13 @@ var import_node_os = require("node:os");
2320
2320
  var import_node_path = __toESM(require("node:path"), 1);
2321
2321
  var PEACH_HOME_ENV = "PEACH_HOME";
2322
2322
  var ACTIVE_RUNTIME_FILE = "active";
2323
+ function ambientHomeDir() {
2324
+ return import_node_path.default.join((0, import_node_os.homedir)(), ".peach");
2325
+ }
2323
2326
  function rnxHomeDir() {
2324
2327
  const override = process.env[PEACH_HOME_ENV];
2325
2328
  if (override && override.length > 0) return import_node_path.default.resolve(override);
2326
- return import_node_path.default.join((0, import_node_os.homedir)(), ".peach");
2329
+ return ambientHomeDir();
2327
2330
  }
2328
2331
  function runtimesDir() {
2329
2332
  return import_node_path.default.join(rnxHomeDir(), "runtimes");
@@ -2358,7 +2361,7 @@ var import_node_module = require("node:module");
2358
2361
  var import_node_path2 = require("node:path");
2359
2362
 
2360
2363
  // runtime-companion.json
2361
- var runtime_companion_default = { abi: 1, sha256: "aca3aa069c8104a207ce2d98944ba1ed096878d12c25e9e9d44c3df0e2a63323", file: "node/cli-aca3aa069c8104a207ce2d98944ba1ed096878d12c25e9e9d44c3df0e2a63323.cjs" };
2364
+ var runtime_companion_default = { abi: 1, sha256: "65f18da220835917c493afae338016e2e9c092419e67b12eb3fb00e389637557", file: "node/cli-65f18da220835917c493afae338016e2e9c092419e67b12eb3fb00e389637557.cjs" };
2362
2365
 
2363
2366
  // src/runtime-assets.ts
2364
2367
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -2494,7 +2497,8 @@ function verifyCliCompanion(root) {
2494
2497
  var loaded;
2495
2498
  function getCliRuntime() {
2496
2499
  if (loaded) return loaded.runtime;
2497
- const root = resolveDevCheckoutRuntimeAssetRoot() ?? resolveActiveRuntimeRoot();
2500
+ const monorepoRoot = findMonorepoRoot();
2501
+ const root = monorepoRoot ? (0, import_node_path2.join)(monorepoRoot, "public/sootsim") : resolveActiveRuntimeRoot();
2498
2502
  if (!root) throw new Error("No Peach runtime installed; run `peach runtime install`");
2499
2503
  verifyCliCompanion(root);
2500
2504
  const require2 = (0, import_node_module.createRequire)(__sootsim_import_meta_url);
@@ -9505,7 +9509,11 @@ function createSootSimElement(matcher) {
9505
9509
  const node = await findNodeByMatcher(matcher);
9506
9510
  if (!node)
9507
9511
  throw new Error(`element not found for getAttributes: ${JSON.stringify(matcher)}`);
9508
- return attributesOf(node);
9512
+ const observation = await getPage().evaluate(
9513
+ (observed) => window.__sootsimTest.observeTapTarget(observed, { includeUnreachable: true }),
9514
+ matcher
9515
+ );
9516
+ return { ...attributesOf(node), activationPoint: observation?.tapPoint ?? null };
9509
9517
  },
9510
9518
  atIndex(index) {
9511
9519
  return createSootSimElement({ ...matcher, index });
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1728 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1738 | (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;