peachsim 0.1.2399 → 0.1.2401

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 (110) hide show
  1. package/README.md +2 -2
  2. package/cli/bin.ts +1 -1
  3. package/cli/catalog/content.ts +520 -0
  4. package/cli/catalog/index.ts +4 -0
  5. package/cli/catalog/meta.ts +3881 -0
  6. package/cli/catalog/renderers.ts +659 -0
  7. package/cli/catalog/routes.ts +237 -0
  8. package/cli/catalog/types.ts +96 -0
  9. package/cli/commands/inspect.ts +3 -3
  10. package/cli/commands/record.ts +1 -1
  11. package/cli/dev-build-freshness.ts +1 -0
  12. package/cli/help-core.ts +6 -6
  13. package/cli/hidden-runtime-alias.ts +1 -1
  14. package/cli/outbound-endpoints.ts +5 -0
  15. package/cli/parse-args.ts +1 -1
  16. package/dist-lib/agent-daemon-client.cjs +1 -1
  17. package/dist-lib/agent-events.cjs +1 -1
  18. package/dist-lib/attached-projects.cjs +1 -1
  19. package/dist-lib/auth/shared-session.cjs +1 -1
  20. package/dist-lib/backend-origin.cjs +1 -1
  21. package/dist-lib/beta.cjs +1 -1
  22. package/dist-lib/beta.mjs +1 -1
  23. package/dist-lib/bridge-constants.cjs +1 -1
  24. package/dist-lib/bridge-contract-input.cjs +1 -1
  25. package/dist-lib/bridge-contract-input.mjs +1 -1
  26. package/dist-lib/bridge-contract.cjs +1 -1
  27. package/dist-lib/bridge-contract.mjs +1 -1
  28. package/dist-lib/bundle-channel.cjs +53 -46
  29. package/dist-lib/capture-contract.cjs +1 -1
  30. package/dist-lib/capture-contract.mjs +1 -1
  31. package/dist-lib/cloud-contract.cjs +1 -1
  32. package/dist-lib/cloud-contract.mjs +1 -1
  33. package/dist-lib/cloud-test-args.cjs +1 -1
  34. package/dist-lib/cloud-test-args.mjs +1 -1
  35. package/dist-lib/cloud.cjs +1 -1
  36. package/dist-lib/cloud.mjs +1 -1
  37. package/dist-lib/config.cjs +1 -1
  38. package/dist-lib/config.mjs +1 -1
  39. package/dist-lib/detox/index.cjs +2 -2
  40. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  41. package/dist-lib/expo-swift-bundle.cjs +51 -44
  42. package/dist-lib/expo-swift-metadata.cjs +1 -1
  43. package/dist-lib/expo-swift-metadata.mjs +1 -1
  44. package/dist-lib/home-paths.cjs +1 -1
  45. package/dist-lib/host/bridge-host.cjs +53 -46
  46. package/dist-lib/host/fetch-proxy-handler.cjs +44 -41
  47. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  48. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  49. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  50. package/dist-lib/host/websocket-proxy.cjs +1 -1
  51. package/dist-lib/index.cjs +48 -45
  52. package/dist-lib/jump-to-source-babel.cjs +1 -1
  53. package/dist-lib/jump-to-source-native.cjs +1 -1
  54. package/dist-lib/kotlin-host.cjs +1 -1
  55. package/dist-lib/menu.cjs +1 -1
  56. package/dist-lib/menu.mjs +1 -1
  57. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  58. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  59. package/dist-lib/metro-production-bundle.cjs +1 -1
  60. package/dist-lib/metro-production-bundle.mjs +1 -1
  61. package/dist-lib/metro.cjs +53 -50
  62. package/dist-lib/native-app-identity-project.cjs +22 -19
  63. package/dist-lib/native-app-identity-project.mjs +4 -3
  64. package/dist-lib/native-app-identity.cjs +1 -1
  65. package/dist-lib/native-app-identity.mjs +1 -1
  66. package/dist-lib/native-firebase-metadata.cjs +1 -1
  67. package/dist-lib/native-firebase-metadata.mjs +1 -1
  68. package/dist-lib/pdfium-raster.cjs +1 -1
  69. package/dist-lib/pdfium-raster.mjs +1 -1
  70. package/dist-lib/plist.cjs +1 -1
  71. package/dist-lib/plist.mjs +1 -1
  72. package/dist-lib/profiles.cjs +1 -1
  73. package/dist-lib/public-brand.cjs +1 -1
  74. package/dist-lib/public-origins-lib-esm.json +24 -24
  75. package/dist-lib/public-origins-lib.json +59 -59
  76. package/dist-lib/react-native-host-modules.cjs +1 -1
  77. package/dist-lib/react-native-host-modules.mjs +1 -1
  78. package/dist-lib/reap-browser.cjs +1 -1
  79. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  80. package/dist-lib/sdk.cjs +1 -1
  81. package/dist-lib/sdk.mjs +1 -1
  82. package/dist-lib/skills.cjs +68 -61
  83. package/dist-lib/swift-compile.cjs +28 -30
  84. package/dist-lib/swift-compile.mjs +24 -26
  85. package/dist-lib/swift-package.cjs +1 -1
  86. package/dist-lib/swift-package.mjs +1 -1
  87. package/dist-lib/swift-submit.cjs +1 -1
  88. package/dist-lib/swift-submit.mjs +1 -1
  89. package/dist-lib/swift-toolchain.cjs +1 -1
  90. package/dist-lib/swift.cjs +1 -1
  91. package/dist-lib/vite-swift.cjs +29 -31
  92. package/dist-lib/vite.cjs +39 -36
  93. package/dist-lib/worklet-executable.cjs +1 -1
  94. package/dist-lib/worklet-executable.mjs +1 -1
  95. package/dist-types/packages/peach-engine/src/capture/browserAccessibilityContract.d.ts +1 -0
  96. package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +2 -0
  97. package/kotlin/sdk.tar.gz +0 -0
  98. package/kotlin/toolchain.json +2 -2
  99. package/package.json +1 -3
  100. package/runtime-companion.json +1 -1
  101. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKState.h +78 -0
  102. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GKStateMachine.h +69 -0
  103. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.apinotes +269 -0
  104. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKit.h +15 -0
  105. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Headers/GameplayKitBase.h +38 -0
  106. package/sdk/ios/System/Library/Frameworks/GameplayKit.framework/Modules/module.modulemap +6 -0
  107. package/src/expo-swift-host.ts +30 -22
  108. package/src/wasm-optimize.ts +23 -24
  109. package/src/worklets-babel.ts +2 -6
  110. package/cli/registry.ts +0 -2
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;
@@ -16028,9 +16028,6 @@ async function runExtractor(command, args, signal, input) {
16028
16028
  }
16029
16029
  }
16030
16030
 
16031
- // src/wasm-optimize.ts
16032
- var import_wasm_opt = require("wasm-opt");
16033
-
16034
16031
  // src/home-paths.ts
16035
16032
  var import_node_fs19 = __toESM(require("node:fs"), 1);
16036
16033
  var import_node_os6 = require("node:os");
@@ -16317,8 +16314,9 @@ var FEATURES = [
16317
16314
  ];
16318
16315
  var KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
16319
16316
  var LOWERING = ["--memory64-lowering", "--table64-lowering"];
16320
- var WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
16321
- var PINNED_BINARYEN_VERSION = "132";
16317
+ var BINARYEN_VERSION = "132";
16318
+ var runBinaryen = (0, import_node_util2.promisify)(import_node_child_process14.execFile);
16319
+ var WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
16322
16320
  var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
16323
16321
  [
16324
16322
  "linux-x64",
@@ -16345,7 +16343,7 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
16345
16343
  async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
16346
16344
  const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
16347
16345
  const requestedCores = Number(process.env.BINARYEN_CORES);
16348
- const environment = { ...process.env, WASM_OPT_PATH: binary };
16346
+ const environment = { ...process.env };
16349
16347
  if (Number.isInteger(admittedCores) && admittedCores > 0)
16350
16348
  environment.BINARYEN_CORES = String(
16351
16349
  Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
@@ -16359,7 +16357,7 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
16359
16357
  const thunks = `${output2}.thunks.wat`;
16360
16358
  (0, import_node_fs20.writeFileSync)(guest, narrowed.module);
16361
16359
  (0, import_node_fs20.writeFileSync)(thunks, narrowed.thunks);
16362
- await (0, import_node_util2.promisify)(import_node_child_process14.execFile)(
16360
+ await runBinaryen(
16363
16361
  (0, import_node_path20.join)((0, import_node_path20.dirname)(binary), "wasm-merge"),
16364
16362
  [
16365
16363
  ...features,
@@ -16377,39 +16375,39 @@ async function runWasmOpt(file, output2, optimize, skipPasses, binary) {
16377
16375
  (0, import_node_fs20.rmSync)(guest);
16378
16376
  (0, import_node_fs20.rmSync)(thunks);
16379
16377
  }
16380
- const result = await (0, import_wasm_opt.wasmOpt)(
16381
- [
16382
- ...LOWERING,
16383
- ...optimize ? ["-Oz"] : [],
16384
- ...names,
16385
- ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
16386
- ...features,
16387
- narrowed ? merged : file,
16388
- "-o",
16389
- output2
16390
- ],
16391
- { env: environment }
16392
- );
16393
- if (narrowed) (0, import_node_fs20.rmSync)(merged);
16394
- if (result.status !== 0)
16395
- throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
16378
+ try {
16379
+ await runBinaryen(
16380
+ binary,
16381
+ [
16382
+ ...LOWERING,
16383
+ ...optimize ? ["-Oz"] : [],
16384
+ ...names,
16385
+ ...skipPasses.flatMap((pass) => ["--skip-pass", pass]),
16386
+ ...features,
16387
+ narrowed ? merged : file,
16388
+ "-o",
16389
+ output2
16390
+ ],
16391
+ { env: environment, maxBuffer: Infinity }
16392
+ );
16393
+ } finally {
16394
+ if (narrowed) (0, import_node_fs20.rmSync)(merged);
16395
+ }
16396
16396
  }
16397
16397
  async function installWasmOpt() {
16398
- if (import_wasm_opt.BINARYEN_VERSION !== PINNED_BINARYEN_VERSION)
16399
- throw new Error("the Binaryen release pins must match the wasm-opt package");
16400
16398
  const platform = `${process.platform}-${process.arch}`;
16401
16399
  const release = BINARYEN_RELEASES.get(platform);
16402
16400
  if (!release) throw new Error(`no pinned Binaryen release for ${platform}`);
16403
- const destDir = (0, import_node_path20.join)(rnxHomeDir(), "tools", "binaryen", import_wasm_opt.BINARYEN_VERSION, platform);
16401
+ const destDir = (0, import_node_path20.join)(rnxHomeDir(), "tools", "binaryen", BINARYEN_VERSION, platform);
16404
16402
  const binary = (0, import_node_path20.join)(destDir, "bin", "wasm-opt");
16405
16403
  if (!(0, import_node_fs20.existsSync)(binary))
16406
16404
  await installVerifiedTarball({
16407
- url: `https://github.com/WebAssembly/binaryen/releases/download/version_${import_wasm_opt.BINARYEN_VERSION}/binaryen-version_${import_wasm_opt.BINARYEN_VERSION}-${release.asset}.tar.gz`,
16405
+ url: `https://github.com/WebAssembly/binaryen/releases/download/version_${BINARYEN_VERSION}/binaryen-version_${BINARYEN_VERSION}-${release.asset}.tar.gz`,
16408
16406
  digest: { algorithm: "sha256", encoding: "hex", value: release.sha256 },
16409
16407
  destDir,
16410
16408
  installedMarker: "bin/wasm-opt",
16411
16409
  stripComponents: 1,
16412
- label: `Binaryen ${import_wasm_opt.BINARYEN_VERSION}`
16410
+ label: `Binaryen ${BINARYEN_VERSION}`
16413
16411
  });
16414
16412
  return binary;
16415
16413
  }
@@ -18677,7 +18675,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
18677
18675
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
18678
18676
  var MULTI_MANIFEST_VERSION = 69;
18679
18677
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
18680
- var compilerSourceDigest = true ? "a7c6b86fa906ddaed892a77b892771eb00a88c3e16a8cbbc5da264ba641b523a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
18678
+ var compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
18681
18679
  function swiftArtifactHash(input, release, moduleRoot) {
18682
18680
  const hash = (0, import_node_crypto14.createHash)("sha256");
18683
18681
  hash.update(`swift-compile
@@ -34141,7 +34139,7 @@ function sourceClosureDigest(srcDir, entrypoints, excludedFiles) {
34141
34139
  return hash.digest("hex");
34142
34140
  }
34143
34141
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
34144
- var STANDIN_SOURCE_DIGEST = true ? "fec4f05a294fbb68be2ff982a65c3f9a221683428d10495c67265397e1901461" : standinSourceDigest();
34142
+ var STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
34145
34143
 
34146
34144
  // src/swift-standins.ts
34147
34145
  var import_node_child_process32 = require("node:child_process");
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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;
@@ -2850,7 +2850,7 @@ var require_lib = __commonJS({
2850
2850
  var runtime_companion_default;
2851
2851
  var init_runtime_companion = __esm({
2852
2852
  "runtime-companion.json"() {
2853
- runtime_companion_default = { abi: 1, sha256: "5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3", file: "node/cli-5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3.cjs" };
2853
+ runtime_companion_default = { abi: 1, sha256: "658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85", file: "node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs" };
2854
2854
  }
2855
2855
  });
2856
2856
 
@@ -3244,7 +3244,7 @@ var STANDIN_SOURCE_DIGEST;
3244
3244
  var init_swift_standin_digest = __esm({
3245
3245
  "src/swift-standin-digest.ts"() {
3246
3246
  "use strict";
3247
- STANDIN_SOURCE_DIGEST = true ? "fec4f05a294fbb68be2ff982a65c3f9a221683428d10495c67265397e1901461" : standinSourceDigest();
3247
+ STANDIN_SOURCE_DIGEST = true ? "452e58b6d6a9ad1b373b2d6df2ddb32802505c8bd43da19f49858f006a4f0464" : standinSourceDigest();
3248
3248
  }
3249
3249
  });
3250
3250
 
@@ -4715,12 +4715,13 @@ var init_wasm_narrow_boundary = __esm({
4715
4715
  });
4716
4716
 
4717
4717
  // src/wasm-optimize.ts
4718
- var import_wasm_opt, FEATURES, KEEP_WASM_NAMES, LOWERING, WASM_LOWER_IDENTITY;
4718
+ var import_node_child_process7, import_node_util3, FEATURES, KEEP_WASM_NAMES, LOWERING, BINARYEN_VERSION, runBinaryen, WASM_LOWER_IDENTITY;
4719
4719
  var init_wasm_optimize = __esm({
4720
4720
  "src/wasm-optimize.ts"() {
4721
4721
  "use strict";
4722
+ import_node_child_process7 = require("node:child_process");
4723
+ import_node_util3 = require("node:util");
4722
4724
  init_src();
4723
- import_wasm_opt = require("wasm-opt");
4724
4725
  init_admitted_mac_build();
4725
4726
  init_home_paths();
4726
4727
  init_wasm_narrow_boundary();
@@ -4739,7 +4740,9 @@ var init_wasm_optimize = __esm({
4739
4740
  ];
4740
4741
  KEEP_WASM_NAMES = process.env.PEACH_SWIFT_NAMES === "1";
4741
4742
  LOWERING = ["--memory64-lowering", "--table64-lowering"];
4742
- WASM_LOWER_IDENTITY = `binaryen ${import_wasm_opt.BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
4743
+ BINARYEN_VERSION = "132";
4744
+ runBinaryen = (0, import_node_util3.promisify)(import_node_child_process7.execFile);
4745
+ WASM_LOWER_IDENTITY = `binaryen ${BINARYEN_VERSION} narrow ${LOWERING.join(" ")} ${FEATURES.join(",")} unoptimized-names`;
4743
4746
  }
4744
4747
  });
4745
4748
 
@@ -4778,19 +4781,19 @@ var init_icuData = __esm({
4778
4781
  });
4779
4782
 
4780
4783
  // src/swift-icu.ts
4781
- var import_node_child_process7, import_node_util3, import_node_zlib2, run3, deflate, compressBrotli, inflateGzip;
4784
+ var import_node_child_process8, import_node_util4, import_node_zlib2, run3, deflate, compressBrotli, inflateGzip;
4782
4785
  var init_swift_icu = __esm({
4783
4786
  "src/swift-icu.ts"() {
4784
4787
  "use strict";
4785
- import_node_child_process7 = require("node:child_process");
4786
- import_node_util3 = require("node:util");
4788
+ import_node_child_process8 = require("node:child_process");
4789
+ import_node_util4 = require("node:util");
4787
4790
  import_node_zlib2 = require("node:zlib");
4788
4791
  init_icuData();
4789
4792
  init_swift_toolchain();
4790
- run3 = (0, import_node_util3.promisify)(import_node_child_process7.execFile);
4791
- deflate = (0, import_node_util3.promisify)(import_node_zlib2.gzip);
4792
- compressBrotli = (0, import_node_util3.promisify)(import_node_zlib2.brotliCompress);
4793
- inflateGzip = (0, import_node_util3.promisify)(import_node_zlib2.gunzip);
4793
+ run3 = (0, import_node_util4.promisify)(import_node_child_process8.execFile);
4794
+ deflate = (0, import_node_util4.promisify)(import_node_zlib2.gzip);
4795
+ compressBrotli = (0, import_node_util4.promisify)(import_node_zlib2.brotliCompress);
4796
+ inflateGzip = (0, import_node_util4.promisify)(import_node_zlib2.gunzip);
4794
4797
  }
4795
4798
  });
4796
4799
 
@@ -4959,7 +4962,7 @@ var init_swift_compile = __esm({
4959
4962
  FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
4960
4963
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
4961
4964
  ).join("");
4962
- compilerSourceDigest = true ? "a7c6b86fa906ddaed892a77b892771eb00a88c3e16a8cbbc5da264ba641b523a" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4965
+ compilerSourceDigest = true ? "e9903c7ebf2ae396a07925e2a04b37ce38e5f1731c5bc94f6f0e83a9d6bc2cbf" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4963
4966
  C_WORDS = new Set(
4964
4967
  "auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
4965
4968
  " "
@@ -5160,13 +5163,13 @@ var init_swift_distribution = __esm({
5160
5163
  });
5161
5164
 
5162
5165
  // src/swift-package-manifest.ts
5163
- var import_node_child_process8, import_node_path17, import_node_util4, cacheDir3, execFileAsync;
5166
+ var import_node_child_process9, import_node_path17, import_node_util5, cacheDir3, execFileAsync;
5164
5167
  var init_swift_package_manifest = __esm({
5165
5168
  "src/swift-package-manifest.ts"() {
5166
5169
  "use strict";
5167
- import_node_child_process8 = require("node:child_process");
5170
+ import_node_child_process9 = require("node:child_process");
5168
5171
  import_node_path17 = __toESM(require("node:path"), 1);
5169
- import_node_util4 = require("node:util");
5172
+ import_node_util5 = require("node:util");
5170
5173
  init_git_repo_env();
5171
5174
  init_home_paths();
5172
5175
  init_swift_distribution();
@@ -5174,7 +5177,7 @@ var init_swift_package_manifest = __esm({
5174
5177
  init_swift_package();
5175
5178
  init_swift_toolchain();
5176
5179
  cacheDir3 = import_node_path17.default.join(cacheDir(), "swift-manifests");
5177
- execFileAsync = (0, import_node_util4.promisify)(import_node_child_process8.execFile);
5180
+ execFileAsync = (0, import_node_util5.promisify)(import_node_child_process9.execFile);
5178
5181
  }
5179
5182
  });
5180
5183
 
@@ -5354,12 +5357,12 @@ var init_swift_shipped_binaries = __esm({
5354
5357
  });
5355
5358
 
5356
5359
  // src/swift-packages.ts
5357
- var import_node_child_process9, import_node_util5, execFileAsync2;
5360
+ var import_node_child_process10, import_node_util6, execFileAsync2;
5358
5361
  var init_swift_packages = __esm({
5359
5362
  "src/swift-packages.ts"() {
5360
5363
  "use strict";
5361
- import_node_child_process9 = require("node:child_process");
5362
- import_node_util5 = require("node:util");
5364
+ import_node_child_process10 = require("node:child_process");
5365
+ import_node_util6 = require("node:util");
5363
5366
  init_git_repo_env();
5364
5367
  init_home_paths();
5365
5368
  init_native_git();
@@ -5369,7 +5372,7 @@ var init_swift_packages = __esm({
5369
5372
  init_swift_package();
5370
5373
  init_swift_package_manifest();
5371
5374
  init_swift_shipped_binaries();
5372
- execFileAsync2 = (0, import_node_util5.promisify)(import_node_child_process9.execFile);
5375
+ execFileAsync2 = (0, import_node_util6.promisify)(import_node_child_process10.execFile);
5373
5376
  }
5374
5377
  });
5375
5378
 
@@ -5638,27 +5641,27 @@ var init_installed_native_libraries = __esm({
5638
5641
  });
5639
5642
 
5640
5643
  // src/turbo-codegen-intake.ts
5641
- var import_node_child_process10, import_node_util6, run4;
5644
+ var import_node_child_process11, import_node_util7, run4;
5642
5645
  var init_turbo_codegen_intake = __esm({
5643
5646
  "src/turbo-codegen-intake.ts"() {
5644
5647
  "use strict";
5645
- import_node_child_process10 = require("node:child_process");
5646
- import_node_util6 = require("node:util");
5648
+ import_node_child_process11 = require("node:child_process");
5649
+ import_node_util7 = require("node:util");
5647
5650
  init_forked_script_contract();
5648
5651
  init_is_record();
5649
5652
  init_nitro_source();
5650
5653
  init_podspec_sources();
5651
- run4 = (0, import_node_util6.promisify)(import_node_child_process10.execFile);
5654
+ run4 = (0, import_node_util7.promisify)(import_node_child_process11.execFile);
5652
5655
  }
5653
5656
  });
5654
5657
 
5655
5658
  // src/turbo-source.ts
5656
- var import_node_child_process11, import_node_util7, execFileAsync3;
5659
+ var import_node_child_process12, import_node_util8, execFileAsync3;
5657
5660
  var init_turbo_source = __esm({
5658
5661
  "src/turbo-source.ts"() {
5659
5662
  "use strict";
5660
- import_node_child_process11 = require("node:child_process");
5661
- import_node_util7 = require("node:util");
5663
+ import_node_child_process12 = require("node:child_process");
5664
+ import_node_util8 = require("node:util");
5662
5665
  init_home_paths();
5663
5666
  init_installed_native_libraries();
5664
5667
  init_answeredNativePackages();
@@ -5671,7 +5674,7 @@ var init_turbo_source = __esm({
5671
5674
  init_swiftContract();
5672
5675
  init_turbo_codegen_intake();
5673
5676
  init_xcode_project();
5674
- execFileAsync3 = (0, import_node_util7.promisify)(import_node_child_process11.execFile);
5677
+ execFileAsync3 = (0, import_node_util8.promisify)(import_node_child_process12.execFile);
5675
5678
  }
5676
5679
  });
5677
5680
 
@@ -10002,8 +10005,8 @@ var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
10002
10005
 
10003
10006
  // src/expo-swift-host.ts
10004
10007
  var import_node_async_hooks3 = require("node:async_hooks");
10005
- var import_node_child_process12 = require("node:child_process");
10006
- var import_node_util8 = require("node:util");
10008
+ var import_node_child_process13 = require("node:child_process");
10009
+ var import_node_util9 = require("node:util");
10007
10010
  init_answeredNativePackages();
10008
10011
  init_expo_autolinking();
10009
10012
 
@@ -10075,7 +10078,7 @@ init_swift_standins();
10075
10078
  init_swift_submit();
10076
10079
  init_swift_toolchain();
10077
10080
  init_turbo_source();
10078
- var run5 = (0, import_node_util8.promisify)(import_node_child_process12.execFile);
10081
+ var run5 = (0, import_node_util9.promisify)(import_node_child_process13.execFile);
10079
10082
  var scriptEnv = { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" };
10080
10083
  var traceStore = new import_node_async_hooks3.AsyncLocalStorage();
10081
10084
  var openPreparations = new NativePreparationReceipts();
@@ -15225,17 +15228,17 @@ function readOneNativeAppCatalog(entryConfig, root) {
15225
15228
  }
15226
15229
 
15227
15230
  // src/one-widget-metadata.ts
15228
- var import_node_child_process13 = require("node:child_process");
15231
+ var import_node_child_process14 = require("node:child_process");
15229
15232
  var import_node_crypto6 = require("node:crypto");
15230
15233
  var import_node_fs18 = __toESM(require("node:fs"), 1);
15231
15234
  var import_node_module2 = require("node:module");
15232
15235
  var import_node_path25 = __toESM(require("node:path"), 1);
15233
- var import_node_util9 = require("node:util");
15236
+ var import_node_util10 = require("node:util");
15234
15237
  init_forked_script_contract();
15235
15238
  init_is_record();
15236
15239
  init_swift_source_file();
15237
15240
  init_swift_submit();
15238
- var run6 = (0, import_node_util9.promisify)(import_node_child_process13.execFile);
15241
+ var run6 = (0, import_node_util10.promisify)(import_node_child_process14.execFile);
15239
15242
  var configs = /* @__PURE__ */ new Map();
15240
15243
  var reads = /* @__PURE__ */ new Map();
15241
15244
  var CONFIG_CHILD = `
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (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.2399 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2401 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -24,4 +24,5 @@ export interface BrowserAccessibilityCapture {
24
24
  schema: 1;
25
25
  surfaces: BrowserAccessibilitySurface[];
26
26
  }
27
+ export type WebKitAccessibilityNode = Omit<BrowserAccessibilityNode, 'visibleFrame' | 'centerVisible'>;
27
28
 
@@ -277,6 +277,8 @@ export interface SootSimWebViewSpec extends Partial<NativeSurfacePresentation> {
277
277
  contentInsets?: {
278
278
  top: number;
279
279
  bottom: number;
280
+ left: number;
281
+ right: number;
280
282
  };
281
283
  startInLoadingState?: boolean;
282
284
  testID?: string;
package/kotlin/sdk.tar.gz CHANGED
Binary file
@@ -4,8 +4,8 @@
4
4
  "url": "https://github.com/JetBrains/kotlin/releases/download/v2.4.20/kotlin-compiler-2.4.20.zip",
5
5
  "sha256": "59e9ca74c7904ef2c122b12114937673ccce68de820a663f0ed66ccf8799e0b7",
6
6
  "jar": {
7
- "url": "https://r2.rnxsim.com/peach-kotlin-fork/a7e1583441dcf60989e9aca023e3a999c85f08aeac83063e11eba459060a0737/kotlin-compiler.jar",
8
- "sha256": "a7e1583441dcf60989e9aca023e3a999c85f08aeac83063e11eba459060a0737"
7
+ "url": "https://r2.rnxsim.com/peach-kotlin-fork/2328ddf16943f8a656f87bc3339983583887df352083b98445fa72327f9bad7d/kotlin-compiler.jar",
8
+ "sha256": "2328ddf16943f8a656f87bc3339983583887df352083b98445fa72327f9bad7d"
9
9
  }
10
10
  },
11
11
  "libraries": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2399",
3
+ "version": "0.1.2401",
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",
@@ -370,7 +370,6 @@
370
370
  "sucrase": "3.35.1",
371
371
  "svgpath": "2.6.0",
372
372
  "terser": "^5.49.0",
373
- "wasm-opt": "2.0.1",
374
373
  "valibot": "^1.3.1",
375
374
  "ws": "^8.18.0",
376
375
  "zod": "4.6.7"
@@ -388,7 +387,6 @@
388
387
  "@peach/box": "workspace:*",
389
388
  "@peach/compat": "workspace:*",
390
389
  "@peach/globals": "workspace:*",
391
- "@peach/skills": "workspace:*",
392
390
  "@types/plist": "3.0.5",
393
391
  "@types/ws": "^8.5.13",
394
392
  "json5": "^2.2.3",
@@ -1 +1 @@
1
- {"abi":1,"sha256":"5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3","file":"node/cli-5a932e58b4c91ce16844d88e18e0e55d3d48fa1d1fde04f7c9e475d5bab9e7c3.cjs"}
1
+ {"abi":1,"sha256":"658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85","file":"node/cli-658636e3bce6510e61148e4524fbf697d8e84481cb366d81dd9c8f439b654c85.cjs"}
@@ -0,0 +1,78 @@
1
+ //
2
+ // GKState.h
3
+ // GameplayKit
4
+ //
5
+ // Copyright (c) 2014 Apple. All rights reserved.
6
+ //
7
+
8
+ #import <GameplayKit/GameplayKit.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @class GKStateMachine;
13
+
14
+ /**
15
+ * Represents a single state in a state machine.
16
+ * By default, states allow transitions freely to and from the states in the machine.
17
+ *
18
+ * If a more restricted set of valid transitions are needed in the state machine, you may override isValidNextState: where applicable.
19
+ *
20
+ * @see GKStateMachine
21
+ * @see isValidNextState:
22
+ */
23
+ GK_BASE_AVAILABILITY @interface GKState : NSObject
24
+
25
+ /**
26
+ * The state machine that this state is associated with.
27
+ * This is nil if this state hasn't been added to a state machine yet.
28
+ */
29
+ @property (nullable, nonatomic, readonly, weak) GKStateMachine *stateMachine;
30
+
31
+ /**
32
+ * Creates a new state to be used in a state machine.
33
+ *
34
+ * @see GKStateMachine
35
+ */
36
+ + (instancetype)state;
37
+ - (instancetype)init NS_DESIGNATED_INITIALIZER;
38
+
39
+ /**
40
+ * Returns YES if the given class is a valid next state to enter.
41
+ *
42
+ * By default GKState will return YES for any class that is subclass of GKState.
43
+ * Override this in a subclass to enforce limited edge traversals in the state machine.
44
+ *
45
+ * @see GKStateMachine.canEnterState:
46
+ * @see GKStateMachine.enterState:
47
+ *
48
+ * @param stateClass the class to be checked
49
+ * @return YES if the class is kind of GKState and the state transition is valid, else NO.
50
+ */
51
+ - (BOOL)isValidNextState:(Class)stateClass;
52
+
53
+ /**
54
+ * Called by GKStateMachine when this state is entered.
55
+ *
56
+ * @param previousState the state that was exited to enter this state. This is nil if this is the state machine's first entered state.
57
+ * @see stateMachineWithStates:initialStateClass:
58
+ */
59
+ - (void)didEnterWithPreviousState:(nullable GKState *)previousState;
60
+
61
+ /**
62
+ * Called by GKStateMachine when it is updated
63
+ *
64
+ * @param seconds the time in seconds since the last update
65
+ */
66
+ - (void)updateWithDeltaTime:(NSTimeInterval)seconds;
67
+
68
+ /**
69
+ * Called by GKStateMachine when this state is exited
70
+ *
71
+ * @param nextState the state that is being entered next
72
+ */
73
+ - (void)willExitWithNextState:(GKState *)nextState;
74
+
75
+
76
+ @end
77
+
78
+ NS_ASSUME_NONNULL_END
@@ -0,0 +1,69 @@
1
+ //
2
+ // GKStateMachine.h
3
+ // GameplayKit
4
+ //
5
+ // Copyright (c) 2014 Apple. All rights reserved.
6
+ //
7
+
8
+ #import <GameplayKit/GameplayKit.h>
9
+
10
+ NS_ASSUME_NONNULL_BEGIN
11
+
12
+ @class GKState;
13
+
14
+ /**
15
+ * Models a finite state machine that has a single current state.
16
+ */
17
+ GK_BASE_AVAILABILITY @interface GKStateMachine : NSObject
18
+
19
+ /**
20
+ * The current state that the state machine is in.
21
+ * Prior to the first called to enterState this is equal to nil.
22
+ */
23
+ @property (nullable, nonatomic, readonly) GKState* currentState;
24
+
25
+ /**
26
+ * Creates a state machine with an array of possible states and an initial state.
27
+ *
28
+ * @param states a list of possible states for this state machine.
29
+ */
30
+ + (instancetype)stateMachineWithStates:(NSArray<GKState *> *)states;
31
+ - (instancetype)initWithStates:(NSArray<GKState *> *)states NS_DESIGNATED_INITIALIZER;
32
+
33
+ /**
34
+ * Updates the current state machine.
35
+ *
36
+ * @param sec the time, in seconds, since the last frame
37
+ */
38
+ - (void)updateWithDeltaTime:(NSTimeInterval)sec;
39
+
40
+ /**
41
+ * Gets the instance of the indicated state class from this state machine.
42
+ * Returns nil if the state does not exist
43
+ *
44
+ * @param stateClass the class of the state to be retrieved
45
+ */
46
+ - (nullable GKState*)stateForClass:(Class)stateClass NS_SWIFT_UNAVAILABLE("Exposed in Swift as stateForClass<StateType: GKState>(stateClass: StateType.Type) -> StateType?");
47
+
48
+ /**
49
+ * Returns YES if the indicated class is a a valid next state or if currentState is nil
50
+ *
51
+ * @param stateClass the class of the state to be tested
52
+ */
53
+ - (BOOL)canEnterState:(Class)stateClass;
54
+
55
+ /**
56
+ * Calls canEnterState to check if we can enter the given state and then enters that state if so.
57
+ * [GKState willExitWithNextState:] is called on the old current state.
58
+ * [GKState didEnterWithPreviousState:] is called on the new state.
59
+ *
60
+ * @param stateClass the class of the state to switch to
61
+ * @return YES if state was entered. NO otherwise.
62
+ */
63
+ - (BOOL)enterState:(Class)stateClass;
64
+
65
+ @end
66
+
67
+
68
+ NS_ASSUME_NONNULL_END
69
+