peachsim 0.1.2233 → 0.1.2235

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 (100) hide show
  1. package/cli/command-registry.ts +1 -0
  2. package/cli/commands/control.ts +12 -0
  3. package/cli/commands/stream.ts +150 -0
  4. package/cli/main.ts +6 -0
  5. package/cli/outbound-endpoints.ts +10 -0
  6. package/dist-lib/agent-daemon-client.cjs +1 -1
  7. package/dist-lib/agent-events.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/bundle-channel.cjs +33 -47
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/config.mjs +1 -1
  29. package/dist-lib/detox/index.cjs +2 -2
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/expo-swift-bundle.cjs +31 -45
  32. package/dist-lib/expo-swift-metadata.cjs +1 -1
  33. package/dist-lib/expo-swift-metadata.mjs +1 -1
  34. package/dist-lib/home-paths.cjs +1 -1
  35. package/dist-lib/host/bridge-host.cjs +33 -47
  36. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  37. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  38. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  39. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  40. package/dist-lib/host/websocket-proxy.cjs +1 -1
  41. package/dist-lib/index.cjs +4 -4
  42. package/dist-lib/jump-to-source-babel.cjs +1 -1
  43. package/dist-lib/jump-to-source-native.cjs +1 -1
  44. package/dist-lib/kotlin-host.cjs +1 -1
  45. package/dist-lib/menu.cjs +1 -1
  46. package/dist-lib/menu.mjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  49. package/dist-lib/metro-production-bundle.cjs +1 -1
  50. package/dist-lib/metro-production-bundle.mjs +1 -1
  51. package/dist-lib/metro.cjs +4 -4
  52. package/dist-lib/native-app-identity-project.cjs +2 -2
  53. package/dist-lib/native-app-identity-project.mjs +2 -2
  54. package/dist-lib/native-app-identity.cjs +1 -1
  55. package/dist-lib/native-app-identity.mjs +1 -1
  56. package/dist-lib/native-firebase-metadata.cjs +1 -1
  57. package/dist-lib/native-firebase-metadata.mjs +1 -1
  58. package/dist-lib/pdfium-raster.cjs +1 -1
  59. package/dist-lib/pdfium-raster.mjs +1 -1
  60. package/dist-lib/plist.cjs +1 -1
  61. package/dist-lib/plist.mjs +1 -1
  62. package/dist-lib/profiles.cjs +1 -1
  63. package/dist-lib/public-brand.cjs +1 -1
  64. package/dist-lib/public-origins-lib-esm.json +24 -24
  65. package/dist-lib/public-origins-lib.json +54 -53
  66. package/dist-lib/react-native-host-modules.cjs +1 -1
  67. package/dist-lib/react-native-host-modules.mjs +1 -1
  68. package/dist-lib/reap-browser.cjs +1 -1
  69. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  70. package/dist-lib/sdk.cjs +1 -1
  71. package/dist-lib/sdk.mjs +1 -1
  72. package/dist-lib/skills.cjs +385 -212
  73. package/dist-lib/swift-compile.cjs +13 -21
  74. package/dist-lib/swift-compile.mjs +13 -21
  75. package/dist-lib/swift-package.cjs +1 -1
  76. package/dist-lib/swift-package.mjs +1 -1
  77. package/dist-lib/swift-submit.cjs +1 -1
  78. package/dist-lib/swift-submit.mjs +1 -1
  79. package/dist-lib/swift-toolchain.cjs +1 -1
  80. package/dist-lib/swift.cjs +1 -1
  81. package/dist-lib/vite-swift.cjs +14 -22
  82. package/dist-lib/vite.cjs +4 -4
  83. package/dist-lib/worklet-executable.cjs +1 -1
  84. package/dist-lib/worklet-executable.mjs +1 -1
  85. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +4 -1
  86. package/dist-types/packages/peach-engine/src/ios/chrome-metrics.d.ts +4 -0
  87. package/dist-types/packages/peach-engine/src/settings/devices.d.ts +1 -0
  88. package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +8 -0
  89. package/dist-types/packages/peach-globals/src/globalsContract.d.ts +2 -1
  90. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  91. package/kotlin/sdk.tar.gz +0 -0
  92. package/package.json +1 -1
  93. package/runtime-companion.json +1 -1
  94. package/skills/contrast/SKILL.md +1 -0
  95. package/src/expo-native-workspace.ts +16 -21
  96. package/src/expo-swift-host.ts +2 -2
  97. package/src/react-native-bridge-modules.ts +6 -6
  98. package/src/swift-guest-runtime-plan.ts +2 -2
  99. package/src/swift-shared-sdk.ts +7 -10
  100. package/src/swift-wasm-prune.ts +3 -8
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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;
@@ -4024,17 +4024,14 @@ function readULEB(b, o) {
4024
4024
  }
4025
4025
  return [res, p];
4026
4026
  }
4027
- var WEAKEN_BUNDLE_SYMS = /* @__PURE__ */ new Set([
4028
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
4029
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
4030
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
4027
+ var WEAKEN_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
4031
4028
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
4032
4029
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
4033
4030
  "$s10Foundation16NSSortDescriptorC3keySSSgvg",
4034
4031
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
4035
4032
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
4036
4033
  ]);
4037
- function weakenBundleSymbolsInWasmObj(buf) {
4034
+ function weakenFoundationSymbolsInWasmObj(buf) {
4038
4035
  let pos = 8;
4039
4036
  while (pos < buf.length) {
4040
4037
  const id = buf[pos++];
@@ -4065,7 +4062,7 @@ function weakenBundleSymbolsInWasmObj(buf) {
4065
4062
  if (!isUndef || isExplicitName) {
4066
4063
  const [sLen, c4] = readULEB(buf, cur);
4067
4064
  const sName = Buffer.from(buf.subarray(c4, c4 + sLen)).toString("utf8");
4068
- if (!isUndef && kind === 0 && WEAKEN_BUNDLE_SYMS.has(sName)) {
4065
+ if (!isUndef && kind === 0 && WEAKEN_FOUNDATION_SYMS.has(sName)) {
4069
4066
  buf[flOffset] = buf[flOffset] & ~3 | 1;
4070
4067
  }
4071
4068
  cur = c4 + sLen;
@@ -4092,7 +4089,7 @@ function weakenBundleSymbolsInWasmObj(buf) {
4092
4089
  pos = end;
4093
4090
  }
4094
4091
  }
4095
- function weakenBundleInArchive(arBuf) {
4092
+ function weakenFoundationOverridesInArchive(arBuf) {
4096
4093
  let gnuNames = null;
4097
4094
  let pos = 8;
4098
4095
  while (pos + 60 <= arBuf.length) {
@@ -4130,8 +4127,8 @@ function weakenBundleInArchive(arBuf) {
4130
4127
  } else if (name2.endsWith("/")) {
4131
4128
  name2 = name2.slice(0, -1);
4132
4129
  }
4133
- if (name2.endsWith("Bundle.o") || name2.endsWith("NSSortDescriptor.o")) {
4134
- weakenBundleSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
4130
+ if (name2.endsWith("NSSortDescriptor.o")) {
4131
+ weakenFoundationSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
4135
4132
  }
4136
4133
  pos = bodyEnd + (size & 1);
4137
4134
  }
@@ -4298,7 +4295,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
4298
4295
  import_node_path8.default.relative(realRoot, foundationArchive)
4299
4296
  );
4300
4297
  const arBuf = new Uint8Array(import_node_fs7.default.readFileSync(foundationArchive));
4301
- weakenBundleInArchive(arBuf);
4298
+ weakenFoundationOverridesInArchive(arBuf);
4302
4299
  import_node_fs7.default.writeFileSync(foundationSlot, arBuf);
4303
4300
  }
4304
4301
  try {
@@ -6242,12 +6239,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6242
6239
  const def = definedGlobalSyms.get(symName);
6243
6240
  if (def) activateSymbolInObj(def.obj, def.symIdx);
6244
6241
  }
6245
- const WEAKEN_SDK_BUNDLE_SYMS = /* @__PURE__ */ new Set([
6246
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
6247
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
6248
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
6249
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n",
6250
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n",
6242
+ const WEAKEN_SDK_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
6251
6243
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
6252
6244
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
6253
6245
  "$s10Foundation16NSSortDescriptorC3keySSSgvg",
@@ -6280,7 +6272,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6280
6272
  } else {
6281
6273
  const name2 = obj.symNames[symIdx];
6282
6274
  if (!name2) continue;
6283
- if (WEAKEN_SDK_BUNDLE_SYMS.has(name2)) {
6275
+ if (WEAKEN_SDK_FOUNDATION_SYMS.has(name2)) {
6284
6276
  const overrideCand = lazyProviders.get(name2)?.find((c) => !c.file.startsWith(sdkObjsDir));
6285
6277
  if (overrideCand) extractObject(overrideCand);
6286
6278
  }
@@ -6498,7 +6490,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6498
6490
  newFl = (fl & ~3 | 1) & 127;
6499
6491
  } else if (!isUndef && kind === 0 && obj.symElemIdx[i] >= obj.numImportFuncs && fLive[obj.symElemIdx[i] - obj.numImportFuncs] === 0) {
6500
6492
  newFl = fl & 64 | 2;
6501
- } else if (!isUndef && kind === 0 && obj.file.startsWith(sdkObjsDir) && WEAKEN_SDK_BUNDLE_SYMS.has(obj.symNames[i])) {
6493
+ } else if (!isUndef && kind === 0 && obj.file.startsWith(sdkObjsDir) && WEAKEN_SDK_FOUNDATION_SYMS.has(obj.symNames[i])) {
6502
6494
  newFl = (fl & ~3 | 1) & 127;
6503
6495
  }
6504
6496
  if (flLen === 1) {
@@ -8248,7 +8240,7 @@ function sdkArtifactBytes(root, artifact) {
8248
8240
  if (hash(source) !== artifact.sha256)
8249
8241
  throw new Error(`SDK product artifact changed ${file}`);
8250
8242
  const transformed = Uint8Array.from(source);
8251
- weakenBundleInArchive(transformed);
8243
+ weakenFoundationOverridesInArchive(transformed);
8252
8244
  if (!linked.equals(transformed))
8253
8245
  throw new Error(`SDK view transformation changed ${file}`);
8254
8246
  return { source, linked };
@@ -12978,7 +12970,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
12978
12970
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12979
12971
  var MULTI_MANIFEST_VERSION = 68;
12980
12972
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12981
- var compilerSourceDigest = true ? "280e858b01b1c1393d3765c8d6ff1b3ce4a1a93d7fb7e3dd2d4d3e5f1d5f1ac2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12973
+ var compilerSourceDigest = true ? "7c1188b9ba2b81e03391ec670b3e984dbb3a70fccecf681beaa2b8c7a7c36a5c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12982
12974
  function swiftArtifactHash(input, release, moduleRoot) {
12983
12975
  const hash = (0, import_node_crypto13.createHash)("sha256");
12984
12976
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -3969,17 +3969,14 @@ function readULEB(b, o) {
3969
3969
  }
3970
3970
  return [res, p];
3971
3971
  }
3972
- var WEAKEN_BUNDLE_SYMS = /* @__PURE__ */ new Set([
3973
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
3974
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
3975
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
3972
+ var WEAKEN_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
3976
3973
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
3977
3974
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
3978
3975
  "$s10Foundation16NSSortDescriptorC3keySSSgvg",
3979
3976
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
3980
3977
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
3981
3978
  ]);
3982
- function weakenBundleSymbolsInWasmObj(buf) {
3979
+ function weakenFoundationSymbolsInWasmObj(buf) {
3983
3980
  let pos = 8;
3984
3981
  while (pos < buf.length) {
3985
3982
  const id = buf[pos++];
@@ -4010,7 +4007,7 @@ function weakenBundleSymbolsInWasmObj(buf) {
4010
4007
  if (!isUndef || isExplicitName) {
4011
4008
  const [sLen, c4] = readULEB(buf, cur);
4012
4009
  const sName = Buffer.from(buf.subarray(c4, c4 + sLen)).toString("utf8");
4013
- if (!isUndef && kind === 0 && WEAKEN_BUNDLE_SYMS.has(sName)) {
4010
+ if (!isUndef && kind === 0 && WEAKEN_FOUNDATION_SYMS.has(sName)) {
4014
4011
  buf[flOffset] = buf[flOffset] & ~3 | 1;
4015
4012
  }
4016
4013
  cur = c4 + sLen;
@@ -4037,7 +4034,7 @@ function weakenBundleSymbolsInWasmObj(buf) {
4037
4034
  pos = end;
4038
4035
  }
4039
4036
  }
4040
- function weakenBundleInArchive(arBuf) {
4037
+ function weakenFoundationOverridesInArchive(arBuf) {
4041
4038
  let gnuNames = null;
4042
4039
  let pos = 8;
4043
4040
  while (pos + 60 <= arBuf.length) {
@@ -4075,8 +4072,8 @@ function weakenBundleInArchive(arBuf) {
4075
4072
  } else if (name2.endsWith("/")) {
4076
4073
  name2 = name2.slice(0, -1);
4077
4074
  }
4078
- if (name2.endsWith("Bundle.o") || name2.endsWith("NSSortDescriptor.o")) {
4079
- weakenBundleSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
4075
+ if (name2.endsWith("NSSortDescriptor.o")) {
4076
+ weakenFoundationSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
4080
4077
  }
4081
4078
  pos = bodyEnd + (size & 1);
4082
4079
  }
@@ -4243,7 +4240,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
4243
4240
  path8.relative(realRoot, foundationArchive)
4244
4241
  );
4245
4242
  const arBuf = new Uint8Array(fs3.readFileSync(foundationArchive));
4246
- weakenBundleInArchive(arBuf);
4243
+ weakenFoundationOverridesInArchive(arBuf);
4247
4244
  fs3.writeFileSync(foundationSlot, arBuf);
4248
4245
  }
4249
4246
  try {
@@ -6187,12 +6184,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6187
6184
  const def = definedGlobalSyms.get(symName);
6188
6185
  if (def) activateSymbolInObj(def.obj, def.symIdx);
6189
6186
  }
6190
- const WEAKEN_SDK_BUNDLE_SYMS = /* @__PURE__ */ new Set([
6191
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
6192
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
6193
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
6194
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n",
6195
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n",
6187
+ const WEAKEN_SDK_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
6196
6188
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
6197
6189
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
6198
6190
  "$s10Foundation16NSSortDescriptorC3keySSSgvg",
@@ -6225,7 +6217,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6225
6217
  } else {
6226
6218
  const name2 = obj.symNames[symIdx];
6227
6219
  if (!name2) continue;
6228
- if (WEAKEN_SDK_BUNDLE_SYMS.has(name2)) {
6220
+ if (WEAKEN_SDK_FOUNDATION_SYMS.has(name2)) {
6229
6221
  const overrideCand = lazyProviders.get(name2)?.find((c) => !c.file.startsWith(sdkObjsDir));
6230
6222
  if (overrideCand) extractObject(overrideCand);
6231
6223
  }
@@ -6443,7 +6435,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6443
6435
  newFl = (fl & ~3 | 1) & 127;
6444
6436
  } else if (!isUndef && kind === 0 && obj.symElemIdx[i] >= obj.numImportFuncs && fLive[obj.symElemIdx[i] - obj.numImportFuncs] === 0) {
6445
6437
  newFl = fl & 64 | 2;
6446
- } else if (!isUndef && kind === 0 && obj.file.startsWith(sdkObjsDir) && WEAKEN_SDK_BUNDLE_SYMS.has(obj.symNames[i])) {
6438
+ } else if (!isUndef && kind === 0 && obj.file.startsWith(sdkObjsDir) && WEAKEN_SDK_FOUNDATION_SYMS.has(obj.symNames[i])) {
6447
6439
  newFl = (fl & ~3 | 1) & 127;
6448
6440
  }
6449
6441
  if (flLen === 1) {
@@ -8194,7 +8186,7 @@ function sdkArtifactBytes(root, artifact) {
8194
8186
  if (hash(source) !== artifact.sha256)
8195
8187
  throw new Error(`SDK product artifact changed ${file}`);
8196
8188
  const transformed = Uint8Array.from(source);
8197
- weakenBundleInArchive(transformed);
8189
+ weakenFoundationOverridesInArchive(transformed);
8198
8190
  if (!linked.equals(transformed))
8199
8191
  throw new Error(`SDK view transformation changed ${file}`);
8200
8192
  return { source, linked };
@@ -12956,7 +12948,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
12956
12948
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12957
12949
  var MULTI_MANIFEST_VERSION = 68;
12958
12950
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12959
- var compilerSourceDigest = true ? "280e858b01b1c1393d3765c8d6ff1b3ce4a1a93d7fb7e3dd2d4d3e5f1d5f1ac2" : swiftCompilerSourceDigest(import.meta.dirname);
12951
+ var compilerSourceDigest = true ? "7c1188b9ba2b81e03391ec670b3e984dbb3a70fccecf681beaa2b8c7a7c36a5c" : swiftCompilerSourceDigest(import.meta.dirname);
12960
12952
  function swiftArtifactHash(input, release, moduleRoot) {
12961
12953
  const hash = createHash13("sha256");
12962
12954
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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;
@@ -8903,17 +8903,14 @@ function readULEB(b, o) {
8903
8903
  }
8904
8904
  return [res, p];
8905
8905
  }
8906
- var WEAKEN_BUNDLE_SYMS = /* @__PURE__ */ new Set([
8907
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
8908
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
8909
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
8906
+ var WEAKEN_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
8910
8907
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
8911
8908
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
8912
8909
  "$s10Foundation16NSSortDescriptorC3keySSSgvg",
8913
8910
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
8914
8911
  "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
8915
8912
  ]);
8916
- function weakenBundleSymbolsInWasmObj(buf) {
8913
+ function weakenFoundationSymbolsInWasmObj(buf) {
8917
8914
  let pos = 8;
8918
8915
  while (pos < buf.length) {
8919
8916
  const id = buf[pos++];
@@ -8944,7 +8941,7 @@ function weakenBundleSymbolsInWasmObj(buf) {
8944
8941
  if (!isUndef || isExplicitName) {
8945
8942
  const [sLen, c4] = readULEB(buf, cur);
8946
8943
  const sName = Buffer.from(buf.subarray(c4, c4 + sLen)).toString("utf8");
8947
- if (!isUndef && kind === 0 && WEAKEN_BUNDLE_SYMS.has(sName)) {
8944
+ if (!isUndef && kind === 0 && WEAKEN_FOUNDATION_SYMS.has(sName)) {
8948
8945
  buf[flOffset] = buf[flOffset] & ~3 | 1;
8949
8946
  }
8950
8947
  cur = c4 + sLen;
@@ -8971,7 +8968,7 @@ function weakenBundleSymbolsInWasmObj(buf) {
8971
8968
  pos = end;
8972
8969
  }
8973
8970
  }
8974
- function weakenBundleInArchive(arBuf) {
8971
+ function weakenFoundationOverridesInArchive(arBuf) {
8975
8972
  let gnuNames = null;
8976
8973
  let pos = 8;
8977
8974
  while (pos + 60 <= arBuf.length) {
@@ -9009,8 +9006,8 @@ function weakenBundleInArchive(arBuf) {
9009
9006
  } else if (name3.endsWith("/")) {
9010
9007
  name3 = name3.slice(0, -1);
9011
9008
  }
9012
- if (name3.endsWith("Bundle.o") || name3.endsWith("NSSortDescriptor.o")) {
9013
- weakenBundleSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
9009
+ if (name3.endsWith("NSSortDescriptor.o")) {
9010
+ weakenFoundationSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
9014
9011
  }
9015
9012
  pos = bodyEnd + (size & 1);
9016
9013
  }
@@ -9177,7 +9174,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
9177
9174
  import_node_path8.default.relative(realRoot, foundationArchive)
9178
9175
  );
9179
9176
  const arBuf = new Uint8Array(import_node_fs8.default.readFileSync(foundationArchive));
9180
- weakenBundleInArchive(arBuf);
9177
+ weakenFoundationOverridesInArchive(arBuf);
9181
9178
  import_node_fs8.default.writeFileSync(foundationSlot, arBuf);
9182
9179
  }
9183
9180
  try {
@@ -11198,12 +11195,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
11198
11195
  const def = definedGlobalSyms.get(symName);
11199
11196
  if (def) activateSymbolInObj(def.obj, def.symIdx);
11200
11197
  }
11201
- const WEAKEN_SDK_BUNDLE_SYMS = /* @__PURE__ */ new Set([
11202
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
11203
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
11204
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
11205
- "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n",
11206
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n",
11198
+ const WEAKEN_SDK_FOUNDATION_SYMS = /* @__PURE__ */ new Set([
11207
11199
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
11208
11200
  "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
11209
11201
  "$s10Foundation16NSSortDescriptorC3keySSSgvg",
@@ -11236,7 +11228,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
11236
11228
  } else {
11237
11229
  const name3 = obj.symNames[symIdx];
11238
11230
  if (!name3) continue;
11239
- if (WEAKEN_SDK_BUNDLE_SYMS.has(name3)) {
11231
+ if (WEAKEN_SDK_FOUNDATION_SYMS.has(name3)) {
11240
11232
  const overrideCand = lazyProviders.get(name3)?.find((c) => !c.file.startsWith(sdkObjsDir));
11241
11233
  if (overrideCand) extractObject(overrideCand);
11242
11234
  }
@@ -11454,7 +11446,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
11454
11446
  newFl = (fl & ~3 | 1) & 127;
11455
11447
  } else if (!isUndef && kind === 0 && obj.symElemIdx[i] >= obj.numImportFuncs && fLive[obj.symElemIdx[i] - obj.numImportFuncs] === 0) {
11456
11448
  newFl = fl & 64 | 2;
11457
- } else if (!isUndef && kind === 0 && obj.file.startsWith(sdkObjsDir) && WEAKEN_SDK_BUNDLE_SYMS.has(obj.symNames[i])) {
11449
+ } else if (!isUndef && kind === 0 && obj.file.startsWith(sdkObjsDir) && WEAKEN_SDK_FOUNDATION_SYMS.has(obj.symNames[i])) {
11458
11450
  newFl = (fl & ~3 | 1) & 127;
11459
11451
  }
11460
11452
  if (flLen === 1) {
@@ -13219,7 +13211,7 @@ function sdkArtifactBytes(root, artifact) {
13219
13211
  if (hash(source) !== artifact.sha256)
13220
13212
  throw new Error(`SDK product artifact changed ${file}`);
13221
13213
  const transformed = Uint8Array.from(source);
13222
- weakenBundleInArchive(transformed);
13214
+ weakenFoundationOverridesInArchive(transformed);
13223
13215
  if (!linked.equals(transformed))
13224
13216
  throw new Error(`SDK view transformation changed ${file}`);
13225
13217
  return { source, linked };
@@ -17828,7 +17820,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
17828
17820
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
17829
17821
  var MULTI_MANIFEST_VERSION = 68;
17830
17822
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
17831
- var compilerSourceDigest = true ? "280e858b01b1c1393d3765c8d6ff1b3ce4a1a93d7fb7e3dd2d4d3e5f1d5f1ac2" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17823
+ var compilerSourceDigest = true ? "7c1188b9ba2b81e03391ec670b3e984dbb3a70fccecf681beaa2b8c7a7c36a5c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17832
17824
  function swiftArtifactHash(input, release, moduleRoot) {
17833
17825
  const hash = (0, import_node_crypto13.createHash)("sha256");
17834
17826
  hash.update(`swift-compile
@@ -31442,7 +31434,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
31442
31434
  return hash.digest("hex");
31443
31435
  }
31444
31436
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
31445
- var STANDIN_SOURCE_DIGEST = true ? "f8700690d0cd621b5d9417ea570f1f45c7ec1ad54492b23aa9792102938e9e82" : standinSourceDigest();
31437
+ var STANDIN_SOURCE_DIGEST = true ? "ae88f21106ce704b52a260a8c3d5bc2c1576fc0beef490d84ca792d99bcedc3f" : standinSourceDigest();
31446
31438
 
31447
31439
  // src/swift-standins.ts
31448
31440
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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;
@@ -1072,7 +1072,7 @@ var init_src = __esm({
1072
1072
  var runtime_companion_default;
1073
1073
  var init_runtime_companion = __esm({
1074
1074
  "runtime-companion.json"() {
1075
- runtime_companion_default = { abi: 1, sha256: "00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde", file: "node/cli-00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde.cjs" };
1075
+ runtime_companion_default = { abi: 1, sha256: "de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335", file: "node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs" };
1076
1076
  }
1077
1077
  });
1078
1078
 
@@ -3228,7 +3228,7 @@ function readIosSdkTree(root) {
3228
3228
 
3229
3229
  // src/swift-standin-digest.ts
3230
3230
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
3231
- var STANDIN_SOURCE_DIGEST = true ? "f8700690d0cd621b5d9417ea570f1f45c7ec1ad54492b23aa9792102938e9e82" : standinSourceDigest();
3231
+ var STANDIN_SOURCE_DIGEST = true ? "ae88f21106ce704b52a260a8c3d5bc2c1576fc0beef490d84ca792d99bcedc3f" : standinSourceDigest();
3232
3232
 
3233
3233
  // src/expo-native-workspace.ts
3234
3234
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -6790,7 +6790,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
6790
6790
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
6791
6791
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
6792
6792
  ).join("");
6793
- var compilerSourceDigest = true ? "280e858b01b1c1393d3765c8d6ff1b3ce4a1a93d7fb7e3dd2d4d3e5f1d5f1ac2" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
6793
+ var compilerSourceDigest = true ? "7c1188b9ba2b81e03391ec670b3e984dbb3a70fccecf681beaa2b8c7a7c36a5c" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
6794
6794
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
6795
6795
  "CFAllocator",
6796
6796
  "CFArray",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (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.2233 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2235 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -6,7 +6,10 @@ export type TextMeasureRecipe = [
6
6
  lineHeight: number,
7
7
  leading: number,
8
8
  adjustment: number,
9
- trim: number
9
+ trim: number,
10
+ widthPolicy: number,
11
+ heightPolicy: number,
12
+ padding: number
10
13
  ];
11
14
  export interface NativeLayoutExports {
12
15
  _peach_layout_dirty_mark(slot: number, mask: number): void;
@@ -8,6 +8,10 @@ export declare const LEGACY_HOME_BUTTON_RING = 1.5;
8
8
  export declare const FRAME_COLOR = "#000000";
9
9
  export declare const FRAME_SHADOW = "0 4px 20px rgba(0,0,0,0.3), 0 16px 50px rgba(0,0,0,0.15)";
10
10
  export declare const FRAME_SHADOW_BOTTOM_REACH = 66;
11
+ export declare const STAGE_FRAME_SHADOW: {
12
+ dark: string;
13
+ light: string;
14
+ };
11
15
  export declare const PREVIEW_PHONE_GUTTER = 20;
12
16
  export declare const ELECTRON_FRAME_SHADOW = "0 6px 13px rgba(0,0,0,0.4), 0 4px 10px rgba(0,0,0,0.24)";
13
17
  export declare const FRAMELESS_SCREEN_SHADOW = "0 8px 16px rgba(0,0,0,0.1), 0 24px 56px rgba(0,0,0,0.22)";
@@ -72,6 +72,7 @@ export declare function resolveDevicePostureBox(model: DeviceModel, posture: Dev
72
72
  };
73
73
  export declare function resolveTopChromeHeight(device: Pick<DeviceSpec, 'statusBarHeight' | 'safeAreaInsets'>): number;
74
74
  export declare function isDeviceResolvableById(model: string): boolean;
75
+ export declare function deviceDisplayName(model: string): string;
75
76
  export declare function getRuntimePlatform(model: DeviceModel): RuntimePlatform;
76
77
  export declare function listDeviceModelsByPlatform(platform: RuntimePlatform): DeviceModel[];
77
78
  export declare function nearestPhoneModel(screen: {
@@ -24,6 +24,14 @@ export interface SootSimLiveCompositePublicationStatus {
24
24
  paintsStarted: number;
25
25
  paintsDrawn: number;
26
26
  }
27
+ export interface SootSimVideoStreamBridge {
28
+ start(target: {
29
+ url: string;
30
+ token: string;
31
+ }): void;
32
+ stop(): void;
33
+ state(): 'off' | 'connecting' | 'live';
34
+ }
27
35
  export interface SootSimLiveCompositeBridge {
28
36
  getCanvas(): HTMLCanvasElement | null;
29
37
  getFrameToken(): number;
@@ -5,7 +5,7 @@ import type { SootSimAudioRecorderBridge, SootSimMediaSessionBridge } from './au
5
5
  import type { SootSimCameraBridge } from './cameraBridgeContract.d.ts';
6
6
  import type { SootSimCaptureOptions } from './captureBridgeContract.d.ts';
7
7
  import type { SootSimClipboardBridge } from './clipboardBridgeContract.d.ts';
8
- import type { SootSimLiveCompositeBridge, SootSimAuxCompositorStats } from './compositorBridgeContract.d.ts';
8
+ import type { SootSimLiveCompositeBridge, SootSimVideoStreamBridge, SootSimAuxCompositorStats } from './compositorBridgeContract.d.ts';
9
9
  import type { SootSimDebugBridge } from './debugBridgeContract.d.ts';
10
10
  import type { SootSimElectronBridge } from './electronBridgeContract.d.ts';
11
11
  import type { SootSimHostStorageBridge } from './hostStorageBridgeContract.d.ts';
@@ -92,6 +92,7 @@ export interface SootSimBridges {
92
92
  mainShell: SootSimMainShellBridge | null;
93
93
  hotRemount: SootSimHotRemountBridge | null;
94
94
  liveComposite: SootSimLiveCompositeBridge | null;
95
+ videoStream: SootSimVideoStreamBridge | null;
95
96
  sceneStream: SootSimSceneStreamBridge | null;
96
97
  lockstepCapture: SootSimLockstepCaptureBridge | null;
97
98
  exitApp: (() => void) | null;
@@ -34,7 +34,7 @@ export type { SootSimWindowScaleBridge } from './windowBridgeContract.d.ts';
34
34
  export type { SootSimElectronBridge } from './electronBridgeContract.d.ts';
35
35
  export { isBoxViewingMessage } from './shellBridgeContract.d.ts';
36
36
  export type { PeachHomeApp, PeachHomeStorageValue, PeachHomeStorageBinding, PeachHomeScreenConfig, SootSimConsoleBuffer, SootSimShellCommands, SootSimMainShellBridge, SootSimDemoShareLeaseOptions, SootSimDemoShareBridge, BoxViewingMode, BoxViewingMessage, } from './shellBridgeContract.d.ts';
37
- export type { SootSimRenderActivityState, SootSimShellSceneFanoutStats, SootSimAuxCompositorStats, SootSimLiveCompositeBridge, SootSimLiveCompositeFreshStage, SootSimLiveCompositePublicationStatus, } from './compositorBridgeContract.d.ts';
37
+ export type { SootSimRenderActivityState, SootSimShellSceneFanoutStats, SootSimAuxCompositorStats, SootSimLiveCompositeBridge, SootSimVideoStreamBridge, SootSimLiveCompositeFreshStage, SootSimLiveCompositePublicationStatus, } from './compositorBridgeContract.d.ts';
38
38
  export type { PeachAnimatedExecution, PeachLockstepTenantFrame, SootSimLockstepFrameReceipt, LockstepInputReceipt, LockstepScheduledInput, SootSimLockstepCaptureController, SootSimLockstepCaptureBridge, } from './lockstepCaptureBridgeContract.d.ts';
39
39
  export type { LockstepFramePosition, PointerDeliveryTarget, PointerDeliveryPendingDrop, PointerDeliveryStats, SootSimShellHostBridge, } from './shellHostBridgeContract.d.ts';
40
40
  export type { SootSimLaunchArguments, SootSimExternalAppLifecycleOptions, SootSimStorageResetStrategy, SootSimExternalAppResetOptions, SootSimExternalAppResetResult, SootSimExternalAppStorageClearOptions, SootSimWebStorageName, SootSimHotRemountBridge, } from './appLifecycleBridgeContract.d.ts';
package/kotlin/sdk.tar.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2233",
3
+ "version": "0.1.2235",
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",
@@ -1 +1 @@
1
- {"abi":1,"sha256":"00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde","file":"node/cli-00799b02f54a61aa35db60817d564847a255eef875cbc7225013f1f27991ccde.cjs"}
1
+ {"abi":1,"sha256":"de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335","file":"node/cli-de957e6cfaf58e8388e37c64326c72cd8376936fbe14bbba0fd2c0129ada4335.cjs"}
@@ -48,6 +48,7 @@ automation, inspecting the render tree, and managing sims.
48
48
  | `peach box` | start a local Box or create a cloud Box |
49
49
  | `peach ios` | start an iOS simulator |
50
50
  | `peach android` | start an Android simulator |
51
+ | `peach stream` | stream an open simulator to your team |
51
52
  | `peach remote` | run your app on a remote simulator |
52
53
  | `peach open` | run a React Native, Swift or Android app in the simulator |
53
54
  | `peach preview` | publish an Expo export or bundle as a standalone preview |
@@ -325,28 +325,21 @@ async function hashWorkspaceInputs(
325
325
  }
326
326
  }
327
327
  // cocoapods and xcode exist only on a Mac; elsewhere only the prebuild stage runs
328
+ const execFileAsync = promisify(execFile)
328
329
  const mac =
329
330
  process.platform === 'darwin'
330
- ? {
331
- podVersion: (() => {
332
- try {
333
- // runner-toolchain-platform: darwin
334
- return execFileSync('pod', ['--version'], {
335
- encoding: 'utf8',
336
- env: utf8Env,
337
- })
338
- } catch (cause) {
331
+ ? await Promise.all([
332
+ // runner-toolchain-platform: darwin
333
+ execFileAsync('pod', ['--version'], { env: utf8Env, signal }).catch(
334
+ (cause: unknown) => {
339
335
  throw new Error('CocoaPods is required to install source dependencies', {
340
336
  cause,
341
337
  })
342
- }
343
- })(),
338
+ },
339
+ ),
344
340
  // runner-toolchain-platform: darwin
345
- xcode: execFileSync('xcodebuild', ['-version'], {
346
- encoding: 'utf8',
347
- env: utf8Env,
348
- }),
349
- }
341
+ execFileAsync('xcodebuild', ['-version'], { env: utf8Env, signal }),
342
+ ]).then(([pod, xcode]) => ({ podVersion: pod.stdout, xcode: xcode.stdout }))
350
343
  : {}
351
344
  const pinnedNode =
352
345
  typeof manifest.engines?.node === 'string' &&
@@ -357,11 +350,13 @@ async function hashWorkspaceInputs(
357
350
  preparation: 7,
358
351
  appRelative,
359
352
  ...mac,
360
- node: execFileSync(
361
- pinnedNode ? 'mise' : 'node',
362
- pinnedNode ? ['exec', pinnedNode, '--', 'node', '--version'] : ['--version'],
363
- { cwd: root, encoding: 'utf8' },
364
- ).trim(),
353
+ node: (
354
+ await execFileAsync(
355
+ pinnedNode ? 'mise' : 'node',
356
+ pinnedNode ? ['exec', pinnedNode, '--', 'node', '--version'] : ['--version'],
357
+ { cwd: root, signal },
358
+ )
359
+ ).stdout.trim(),
365
360
  packageManager: workspacePackageManager(root, manifest.packageManager, excluded),
366
361
  podsEnvironment,
367
362
  })
@@ -2336,7 +2336,7 @@ async function compileExpoSwiftModulesTraced(
2336
2336
  // app target modules are never part of an installed package
2337
2337
  let bridge = options.only
2338
2338
  ? null
2339
- : collectBridgeModuleSources(fs.realpathSync(root), signal)
2339
+ : await collectBridgeModuleSources(fs.realpathSync(root), signal)
2340
2340
  if (
2341
2341
  nativeWorkspaceAvailable() &&
2342
2342
  fs.existsSync(path.join(root, 'ios', 'Podfile')) &&
@@ -2345,7 +2345,7 @@ async function compileExpoSwiftModulesTraced(
2345
2345
  )
2346
2346
  ) {
2347
2347
  const prepared = await prepareExpoNativeWorkspace(root, signal, options.iosTarget)
2348
- bridge = collectBridgeModuleSources(
2348
+ bridge = await collectBridgeModuleSources(
2349
2349
  fs.realpathSync(prepared.app),
2350
2350
  signal,
2351
2351
  options.installedWorkspace ?? prepared.workspace,