peachsim 0.1.1859 → 0.1.1861

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 +15 -7
  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 +14 -6
  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 +15 -7
  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 +15 -7
  68. package/dist-lib/swift-compile.cjs +12 -4
  69. package/dist-lib/swift-compile.mjs +12 -4
  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 +13 -5
  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/swift-compile.ts +13 -1
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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;
@@ -12172,7 +12172,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
12172
12172
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12173
12173
  var MULTI_MANIFEST_VERSION = 65;
12174
12174
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12175
- var compilerSourceDigest = true ? "2bf39ff484d3b795785cdb197c763b3dff37406ce855f0ee85d8aa0e41003acd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12175
+ var compilerSourceDigest = true ? "5fa99333d1e9a793713fea96c94d643a3c457fd64ebaaec64418094f900f37ce" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12176
12176
  function swiftArtifactHash(input, release, moduleRoot) {
12177
12177
  const hash = (0, import_node_crypto8.createHash)("sha256");
12178
12178
  hash.update(`swift-compile
@@ -14295,6 +14295,14 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14295
14295
  )))
14296
14296
  continue;
14297
14297
  const includes = `${prefix}include/`;
14298
+ const settings = input.nativeTargets?.find((value) => value.name === target.name);
14299
+ const searchRoots = [
14300
+ ...settings?.userHeaderSearchPaths ?? [],
14301
+ ...settings?.headerSearchPaths ?? [],
14302
+ ...(settings?.flags ?? []).flatMap(
14303
+ (flag, index) => settings.flags[index - 1] === "-I" && flag.startsWith(`${SWIFT_NATIVE_INPUT_ROOT}/`) ? [flag.slice(SWIFT_NATIVE_INPUT_ROOT.length + 1)] : []
14304
+ )
14305
+ ];
14298
14306
  const consumers = /* @__PURE__ */ new Map();
14299
14307
  const reverse = /* @__PURE__ */ new Map();
14300
14308
  for (const [file, contents] of entries) {
@@ -14309,7 +14317,8 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14309
14317
  producers2.add(producer);
14310
14318
  const local = [
14311
14319
  import_node_path19.default.posix.join(import_node_path19.default.posix.dirname(file), include2),
14312
- `${includes}${include2}`
14320
+ `${includes}${include2}`,
14321
+ ...searchRoots.map((root) => import_node_path19.default.posix.join(root, include2))
14313
14322
  ].find((candidate) => input.files[candidate] !== void 0);
14314
14323
  if (local) {
14315
14324
  reverse.set(local, [...reverse.get(local) ?? [], file]);
@@ -14332,7 +14341,6 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14332
14341
  }
14333
14342
  }
14334
14343
  const late = units.filter(([file]) => consumers.get(file).size > 0);
14335
- const settings = input.nativeTargets?.find((value) => value.name === target.name);
14336
14344
  if (settings || entries.some(([file]) => file.endsWith(".swift"))) {
14337
14345
  try {
14338
14346
  if (!settings)
@@ -24884,7 +24892,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
24884
24892
  return hash.digest("hex");
24885
24893
  }
24886
24894
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
24887
- var STANDIN_SOURCE_DIGEST = true ? "89c974a2d711f6f8747f56ca8a5ef0754cb04cc70c90822212856125b0a92730" : standinSourceDigest();
24895
+ var STANDIN_SOURCE_DIGEST = true ? "8813103bd2b0fe030d5459523439650b9ce9be80f96873b1836911a61631b4a2" : standinSourceDigest();
24888
24896
 
24889
24897
  // src/swift-standins.ts
24890
24898
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1861 | (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.1859",
3
+ "version": "0.1.1861",
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",
@@ -4312,6 +4312,18 @@ export function writeSwiftProject(
4312
4312
  )
4313
4313
  continue
4314
4314
  const includes = `${prefix}include/`
4315
+ // a quoted include may name a file relative to a declared header search path
4316
+ const settings = input.nativeTargets?.find((value) => value.name === target.name)
4317
+ const searchRoots = [
4318
+ ...(settings?.userHeaderSearchPaths ?? []),
4319
+ ...(settings?.headerSearchPaths ?? []),
4320
+ ...(settings?.flags ?? []).flatMap((flag, index) =>
4321
+ settings!.flags[index - 1] === '-I' &&
4322
+ flag.startsWith(`${SWIFT_NATIVE_INPUT_ROOT}/`)
4323
+ ? [flag.slice(SWIFT_NATIVE_INPUT_ROOT.length + 1)]
4324
+ : [],
4325
+ ),
4326
+ ]
4315
4327
  const consumers = new Map<string, Set<string>>()
4316
4328
  const reverse = new Map<string, string[]>()
4317
4329
  for (const [file, contents] of entries) {
@@ -4328,6 +4340,7 @@ export function writeSwiftProject(
4328
4340
  const local = [
4329
4341
  path.posix.join(path.posix.dirname(file), include),
4330
4342
  `${includes}${include}`,
4343
+ ...searchRoots.map((root) => path.posix.join(root, include)),
4331
4344
  ].find((candidate) => input.files[candidate] !== undefined)
4332
4345
  if (local) {
4333
4346
  reverse.set(local, [...(reverse.get(local) ?? []), file])
@@ -4350,7 +4363,6 @@ export function writeSwiftProject(
4350
4363
  }
4351
4364
  }
4352
4365
  const late = units.filter(([file]) => consumers.get(file)!.size > 0)
4353
- const settings = input.nativeTargets?.find((value) => value.name === target.name)
4354
4366
  if (settings || entries.some(([file]) => file.endsWith('.swift'))) {
4355
4367
  try {
4356
4368
  if (!settings)