peachsim 0.1.1910 → 0.1.1911

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 (83) 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 +11 -9
  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 +6 -5
  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 +11 -9
  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 +2 -2
  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 +2 -2
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +21 -18
  68. package/dist-lib/swift-compile.cjs +4 -3
  69. package/dist-lib/swift-compile.mjs +4 -3
  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 +5 -4
  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/nitro-compile.ts +5 -2
  82. package/src/nitro-source.ts +3 -3
  83. package/src/swift-compile.ts +4 -3
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -11587,9 +11587,10 @@ var SYSTEM_MODULE_LIBRARIES = {
11587
11587
  "sqlite3.h": "sqlite3",
11588
11588
  "sqlite3ext.h": "sqlite3",
11589
11589
  "bzlib.h": "bz2",
11590
+ "zlib.h": "z",
11590
11591
  SQLite3: "sqlite3"
11591
11592
  };
11592
- var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h)>|@import\s+(SQLite3)\b)/gm;
11593
+ var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h|zlib\.h)>|@import\s+(SQLite3)\b)/gm;
11593
11594
  function compileTargets(input) {
11594
11595
  const manifest = input.files["Package.swift"];
11595
11596
  if (manifest === void 0) return [];
@@ -12093,7 +12094,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
12093
12094
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12094
12095
  var MULTI_MANIFEST_VERSION = 66;
12095
12096
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12096
- var compilerSourceDigest = true ? "f9ded47ea29fd640b25cdd1f0699d55b2732f89c46497a8bf64c8e8cf409fbbe" : swiftCompilerSourceDigest(import.meta.dirname);
12097
+ var compilerSourceDigest = true ? "dd9b7281e6fb27ea99fc4217e0a0b65fcdfd8e6e508697850feee2e2b068ebbd" : swiftCompilerSourceDigest(import.meta.dirname);
12097
12098
  function swiftArtifactHash(input, release, moduleRoot) {
12098
12099
  const hash = createHash13("sha256");
12099
12100
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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;
@@ -15924,9 +15924,10 @@ var SYSTEM_MODULE_LIBRARIES = {
15924
15924
  "sqlite3.h": "sqlite3",
15925
15925
  "sqlite3ext.h": "sqlite3",
15926
15926
  "bzlib.h": "bz2",
15927
+ "zlib.h": "z",
15927
15928
  SQLite3: "sqlite3"
15928
15929
  };
15929
- var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h)>|@import\s+(SQLite3)\b)/gm;
15930
+ var SYSTEM_MODULE_IMPORT = /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h|zlib\.h)>|@import\s+(SQLite3)\b)/gm;
15930
15931
  function compileTargets(input) {
15931
15932
  const manifest = input.files["Package.swift"];
15932
15933
  if (manifest === void 0) return [];
@@ -16430,7 +16431,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
16430
16431
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16431
16432
  var MULTI_MANIFEST_VERSION = 66;
16432
16433
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16433
- var compilerSourceDigest = true ? "f9ded47ea29fd640b25cdd1f0699d55b2732f89c46497a8bf64c8e8cf409fbbe" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
16434
+ var compilerSourceDigest = true ? "dd9b7281e6fb27ea99fc4217e0a0b65fcdfd8e6e508697850feee2e2b068ebbd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
16434
16435
  function swiftArtifactHash(input, release, moduleRoot) {
16435
16436
  const hash = (0, import_node_crypto12.createHash)("sha256");
16436
16437
  hash.update(`swift-compile
@@ -29573,7 +29574,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
29573
29574
  return hash.digest("hex");
29574
29575
  }
29575
29576
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29576
- var STANDIN_SOURCE_DIGEST = true ? "0f6475578b119b04c69f49d9ed01decedcb7ef333789b10fc6d284df2f4fec10" : standinSourceDigest();
29577
+ var STANDIN_SOURCE_DIGEST = true ? "8812895e6664582b7e46aa38acad79c65420b5ba4f34921de6e17f60b747acc0" : standinSourceDigest();
29577
29578
 
29578
29579
  // src/swift-standins.ts
29579
29580
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1911 | (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.1910",
3
+ "version": "0.1.1911",
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",
@@ -400,7 +400,10 @@ export async function compileNitroModule(
400
400
  }
401
401
  let dependencies: SwiftCompileInput | null = null
402
402
  const podfileLock = appPodfileLock(options.projectRoot)
403
- if (podfileLock && swiftModules.length === 0) {
403
+ // installed pods keep only a Swift provider's mixed targets, so an import no
404
+ // target supplies installs from its locked trunk pod either way.
405
+ if (podfileLock) {
406
+ const installedProviders = swiftModules.length > 0 && workspace
404
407
  const available = new Set(
405
408
  swiftAvailableModules(
406
409
  options.moduleRoot,
@@ -413,7 +416,7 @@ export async function compileNitroModule(
413
416
  podfileLock,
414
417
  missing,
415
418
  options.moduleRoot,
416
- unresolvedFrameworkIncludes(collection.files),
419
+ installedProviders ? [] : unresolvedFrameworkIncludes(collection.files),
417
420
  )
418
421
  }
419
422
  // the compiled sources target the app's own declared iOS minimum
@@ -982,8 +982,8 @@ export function collectNitroSources(
982
982
  // the podspec's `ios/**/*.{h,hpp,m,mm}` and generated bridge: the original
983
983
  // Objective-C and Objective-C++ units compile unchanged beside the C++.
984
984
  // the generated autolinking initializer is the one unit Peach replaces
985
- // with the registration below, which honors the app's answers.
986
- // a Swift pod's native units come from its installed CocoaPods target.
985
+ // with the registration below, which honors the app's answers. an installed
986
+ // Swift pod target moves these units into its mixed target.
987
987
  if (fs.existsSync(path.join(module.root, 'ios'))) {
988
988
  collect(
989
989
  module.root,
@@ -992,7 +992,7 @@ export function collectNitroSources(
992
992
  null,
993
993
  new Set(['Tests']),
994
994
  () => true,
995
- config.swiftModule ? /\.(?:h|hpp)$/ : /\.(?:h|hpp|m|mm)$/,
995
+ /\.(?:h|hpp|m|mm)$/,
996
996
  )
997
997
  }
998
998
  collect(module.root, 'nitrogen/generated/ios', targetName, null)
@@ -745,16 +745,17 @@ export function swiftProjectBuildKey(moduleRoot: string, release: string): strin
745
745
  // clang autolinks the library a system module map names when a unit imports
746
746
  // one of its headers, so an ios target links it without declaring it. swiftpm
747
747
  // on wasm reads no clang autolinks, so the target declares the library the ios
748
- // module map names: SQLite3 links sqlite3 and bzlib.h links bz2, which the wasm
749
- // sdk ships.
748
+ // module map names: SQLite3 links sqlite3, bzlib.h links bz2 and zlib.h links z,
749
+ // which the wasm sdk ships.
750
750
  const SYSTEM_MODULE_LIBRARIES: Record<string, string> = {
751
751
  'sqlite3.h': 'sqlite3',
752
752
  'sqlite3ext.h': 'sqlite3',
753
753
  'bzlib.h': 'bz2',
754
+ 'zlib.h': 'z',
754
755
  SQLite3: 'sqlite3',
755
756
  }
756
757
  const SYSTEM_MODULE_IMPORT =
757
- /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h)>|@import\s+(SQLite3)\b)/gm
758
+ /^\s*(?:#\s*(?:import|include)\s*<(sqlite3(?:ext)?\.h|bzlib\.h|zlib\.h)>|@import\s+(SQLite3)\b)/gm
758
759
 
759
760
  export function compileTargets(input: SwiftCompileInput): SwiftPackageTarget[] {
760
761
  const manifest = input.files['Package.swift']