peachsim 0.1.1911 → 0.1.1912

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 (81) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +28 -3
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +27 -2
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +28 -3
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +1 -1
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +1 -1
  47. package/dist-lib/native-app-identity-project.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.mjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +28 -3
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +1 -1
  77. package/dist-lib/vite.cjs +1 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/package.json +1 -1
  81. package/src/expo-native-workspace.ts +29 -0
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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;
@@ -62798,6 +62798,7 @@ async function prepareNativeProject(app, manifest, stage, execute, run12, report
62798
62798
  ...sourcePodEnv,
62799
62799
  ...declares2("react-native-webgpu") ? {} : { RNSKIA_VENDOR_DAWN: "1" }
62800
62800
  };
62801
+ stageCachedQuickCryptoOpenSsl(app);
62801
62802
  await withCocoaPodsCacheLock(async () => {
62802
62803
  if (bundled) {
62803
62804
  await run12("bundle", ["install"], iosRoot, podEnv);
@@ -62806,6 +62807,30 @@ async function prepareNativeProject(app, manifest, stage, execute, run12, report
62806
62807
  });
62807
62808
  report("pod install done");
62808
62809
  }
62810
+ function stageCachedQuickCryptoOpenSsl(app) {
62811
+ const root = findWorkspaceRoot(app);
62812
+ let packageDir = null;
62813
+ for (let at = app; ; at = import_node_path57.default.dirname(at)) {
62814
+ const candidate = import_node_path57.default.join(at, "node_modules", "react-native-quick-crypto");
62815
+ if (import_node_fs59.default.existsSync(import_node_path57.default.join(candidate, "QuickCrypto.podspec"))) {
62816
+ packageDir = candidate;
62817
+ break;
62818
+ }
62819
+ if (at === root || import_node_path57.default.dirname(at) === at) break;
62820
+ }
62821
+ if (!packageDir) return;
62822
+ const opensslDir = import_node_path57.default.join(packageDir, "ios", "openssl");
62823
+ if (import_node_fs59.default.existsSync(import_node_path57.default.join(opensslDir, "quickcrypto_openssl_prefix.h"))) return;
62824
+ const podspec = import_node_fs59.default.readFileSync(import_node_path57.default.join(packageDir, "QuickCrypto.podspec"), "utf8");
62825
+ const sha2564 = /openssl_sha256\s*=\s*"([0-9a-f]{64})"/.exec(podspec)?.[1];
62826
+ if (!sha2564) return;
62827
+ const archive = import_node_path57.default.join(cacheDir(), "pod-archives", `${sha2564}.zip`);
62828
+ if (!import_node_fs59.default.existsSync(archive) || (0, import_node_crypto30.createHash)("sha256").update(import_node_fs59.default.readFileSync(archive)).digest("hex") !== sha2564)
62829
+ return;
62830
+ import_node_fs59.default.rmSync(opensslDir, { recursive: true, force: true });
62831
+ import_node_fs59.default.mkdirSync(opensslDir, { recursive: true });
62832
+ (0, import_node_child_process35.execFileSync)("unzip", ["-q", "-o", archive, "-d", opensslDir]);
62833
+ }
62809
62834
  async function runAdmitted(lease, command, args, cwd, extraEnv) {
62810
62835
  const admitted = teamMachineInstalled();
62811
62836
  const child = lease.spawn(
@@ -64065,7 +64090,7 @@ var init_expo_native_prebuilt = __esm({
64065
64090
  init_swift_native_pin();
64066
64091
  init_xcode_project();
64067
64092
  EXPO_NATIVE_ENTRY_NAME = "ios";
64068
- EXPO_NATIVE_COMPILER_DIGEST = true ? "e98846b8a7287ca759c2e414fd38370c72e109cb7c6dbee2792b152a8cfb383a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
64093
+ EXPO_NATIVE_COMPILER_DIGEST = true ? "ea0f9f3751039c4994334007429dd8f4a6c491a574230c8937d546742d053c2a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
64069
64094
  IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
64070
64095
  expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
64071
64096
  isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
@@ -82123,7 +82148,7 @@ var init_nitro_superset = __esm({
82123
82148
  init_swift_standin_digest();
82124
82149
  NITRO_SUPERSET_ENTRY_NAME = "superset";
82125
82150
  packageVersion = (root) => JSON.parse((0, import_node_fs92.readFileSync)((0, import_node_path89.join)(root, "package.json"), "utf8")).version;
82126
- NITRO_COMPILER_DIGEST = true ? "d419e78e90eb2f5b6034b9c8eda074dce1eee2cc97b23c8cbabf3a3e62f6a18c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
82151
+ NITRO_COMPILER_DIGEST = true ? "3a737467511ff9cda88e3c2d6c4da4fe66d8b4f65039899f189bd481031360db" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
82127
82152
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
82128
82153
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
82129
82154
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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;
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (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.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1912 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1911",
3
+ "version": "0.1.1912",
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",
@@ -920,6 +920,7 @@ async function prepareNativeProject(
920
920
  ...sourcePodEnv,
921
921
  ...(declares('react-native-webgpu') ? {} : { RNSKIA_VENDOR_DAWN: '1' }),
922
922
  }
923
+ stageCachedQuickCryptoOpenSsl(app)
923
924
  await withCocoaPodsCacheLock(async () => {
924
925
  if (bundled) {
925
926
  await run('bundle', ['install'], iosRoot, podEnv)
@@ -929,6 +930,34 @@ async function prepareNativeProject(
929
930
  report('pod install done')
930
931
  }
931
932
 
933
+ function stageCachedQuickCryptoOpenSsl(app: string) {
934
+ const root = findWorkspaceRoot(app)
935
+ let packageDir: string | null = null
936
+ for (let at = app; ; at = path.dirname(at)) {
937
+ const candidate = path.join(at, 'node_modules', 'react-native-quick-crypto')
938
+ if (fs.existsSync(path.join(candidate, 'QuickCrypto.podspec'))) {
939
+ packageDir = candidate
940
+ break
941
+ }
942
+ if (at === root || path.dirname(at) === at) break
943
+ }
944
+ if (!packageDir) return
945
+ const opensslDir = path.join(packageDir, 'ios', 'openssl')
946
+ if (fs.existsSync(path.join(opensslDir, 'quickcrypto_openssl_prefix.h'))) return
947
+ const podspec = fs.readFileSync(path.join(packageDir, 'QuickCrypto.podspec'), 'utf8')
948
+ const sha256 = /openssl_sha256\s*=\s*"([0-9a-f]{64})"/.exec(podspec)?.[1]
949
+ if (!sha256) return
950
+ const archive = path.join(cacheDir(), 'pod-archives', `${sha256}.zip`)
951
+ if (
952
+ !fs.existsSync(archive) ||
953
+ createHash('sha256').update(fs.readFileSync(archive)).digest('hex') !== sha256
954
+ )
955
+ return
956
+ fs.rmSync(opensslDir, { recursive: true, force: true })
957
+ fs.mkdirSync(opensslDir, { recursive: true })
958
+ execFileSync('unzip', ['-q', '-o', archive, '-d', opensslDir])
959
+ }
960
+
932
961
  async function runAdmitted(
933
962
  lease: SwiftRootLease,
934
963
  command: string,