peachsim 0.1.2190 → 0.1.2191

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 (89) 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 +65 -132
  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 +58 -130
  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 +65 -132
  31. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  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 +7 -5
  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 +7 -2
  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 +7 -5
  47. package/dist-lib/native-app-identity-project.cjs +6 -4
  48. package/dist-lib/native-app-identity-project.mjs +6 -4
  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 +65 -132
  68. package/dist-lib/swift-compile.cjs +14 -117
  69. package/dist-lib/swift-compile.mjs +14 -117
  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 +57 -129
  77. package/dist-lib/vite.cjs +4 -4
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/node.d.ts +3 -0
  81. package/kotlin/sdk.tar.gz +0 -0
  82. package/package.json +1 -1
  83. package/src/kotlin-host.ts +6 -1
  84. package/src/swift-compile.ts +21 -114
  85. package/src/swift-host.ts +12 -8
  86. package/src/swift-interface-bodies.ts +7 -1
  87. package/src/swift-objc-standin.ts +46 -8
  88. package/src/swift-packages.ts +1 -0
  89. package/src/xcode-project.ts +6 -4
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -12457,7 +12457,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
12457
12457
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12458
12458
  var MULTI_MANIFEST_VERSION = 68;
12459
12459
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12460
- var compilerSourceDigest = true ? "382ff03994dc241ff825d788eb5f8eb92462420da0b20538d9fcc1ff79e096c6" : swiftCompilerSourceDigest(import.meta.dirname);
12460
+ var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(import.meta.dirname);
12461
12461
  function swiftArtifactHash(input, release, moduleRoot) {
12462
12462
  const hash = createHash13("sha256");
12463
12463
  hash.update(`swift-compile
@@ -12866,6 +12866,9 @@ function emitSwiftPackageManifest(args) {
12866
12866
  ' publicHeadersPath: "include",'
12867
12867
  ] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
12868
12868
  ...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
12869
+ // swiftpm appends the root package's name after a target's own flags
12870
+ // unless the target opts out of package access
12871
+ ...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
12869
12872
  // the native backend supplies dependency module maps without their
12870
12873
  // compiled modules. textual c++ includes keep those dependencies usable.
12871
12874
  ` ${clang ? nativeSettings : swiftSettings}${link}`,
@@ -13256,117 +13259,6 @@ var FOUNDATION_OVERLAY_GLOBALS = /* @__PURE__ */ new Set([
13256
13259
  "NSFileErrorMinimum",
13257
13260
  "NSFormattingErrorMaximum",
13258
13261
  "NSFormattingErrorMinimum",
13259
- "NSFoundationVersionNumber",
13260
- "NSFoundationVersionNumber10_0",
13261
- "NSFoundationVersionNumber10_1",
13262
- "NSFoundationVersionNumber10_10",
13263
- "NSFoundationVersionNumber10_10_1",
13264
- "NSFoundationVersionNumber10_10_2",
13265
- "NSFoundationVersionNumber10_10_3",
13266
- "NSFoundationVersionNumber10_10_4",
13267
- "NSFoundationVersionNumber10_10_5",
13268
- "NSFoundationVersionNumber10_10_Max",
13269
- "NSFoundationVersionNumber10_11",
13270
- "NSFoundationVersionNumber10_11_1",
13271
- "NSFoundationVersionNumber10_11_2",
13272
- "NSFoundationVersionNumber10_11_3",
13273
- "NSFoundationVersionNumber10_11_4",
13274
- "NSFoundationVersionNumber10_11_Max",
13275
- "NSFoundationVersionNumber10_1_1",
13276
- "NSFoundationVersionNumber10_1_2",
13277
- "NSFoundationVersionNumber10_1_3",
13278
- "NSFoundationVersionNumber10_1_4",
13279
- "NSFoundationVersionNumber10_2",
13280
- "NSFoundationVersionNumber10_2_1",
13281
- "NSFoundationVersionNumber10_2_2",
13282
- "NSFoundationVersionNumber10_2_3",
13283
- "NSFoundationVersionNumber10_2_4",
13284
- "NSFoundationVersionNumber10_2_5",
13285
- "NSFoundationVersionNumber10_2_6",
13286
- "NSFoundationVersionNumber10_2_7",
13287
- "NSFoundationVersionNumber10_2_8",
13288
- "NSFoundationVersionNumber10_3",
13289
- "NSFoundationVersionNumber10_3_1",
13290
- "NSFoundationVersionNumber10_3_2",
13291
- "NSFoundationVersionNumber10_3_3",
13292
- "NSFoundationVersionNumber10_3_4",
13293
- "NSFoundationVersionNumber10_3_5",
13294
- "NSFoundationVersionNumber10_3_6",
13295
- "NSFoundationVersionNumber10_3_7",
13296
- "NSFoundationVersionNumber10_3_8",
13297
- "NSFoundationVersionNumber10_3_9",
13298
- "NSFoundationVersionNumber10_4",
13299
- "NSFoundationVersionNumber10_4_1",
13300
- "NSFoundationVersionNumber10_4_10",
13301
- "NSFoundationVersionNumber10_4_11",
13302
- "NSFoundationVersionNumber10_4_2",
13303
- "NSFoundationVersionNumber10_4_3",
13304
- "NSFoundationVersionNumber10_4_4_Intel",
13305
- "NSFoundationVersionNumber10_4_4_PowerPC",
13306
- "NSFoundationVersionNumber10_4_5",
13307
- "NSFoundationVersionNumber10_4_6",
13308
- "NSFoundationVersionNumber10_4_7",
13309
- "NSFoundationVersionNumber10_4_8",
13310
- "NSFoundationVersionNumber10_4_9",
13311
- "NSFoundationVersionNumber10_5",
13312
- "NSFoundationVersionNumber10_5_1",
13313
- "NSFoundationVersionNumber10_5_2",
13314
- "NSFoundationVersionNumber10_5_3",
13315
- "NSFoundationVersionNumber10_5_4",
13316
- "NSFoundationVersionNumber10_5_5",
13317
- "NSFoundationVersionNumber10_5_6",
13318
- "NSFoundationVersionNumber10_5_7",
13319
- "NSFoundationVersionNumber10_5_8",
13320
- "NSFoundationVersionNumber10_6",
13321
- "NSFoundationVersionNumber10_6_1",
13322
- "NSFoundationVersionNumber10_6_2",
13323
- "NSFoundationVersionNumber10_6_3",
13324
- "NSFoundationVersionNumber10_6_4",
13325
- "NSFoundationVersionNumber10_6_5",
13326
- "NSFoundationVersionNumber10_6_6",
13327
- "NSFoundationVersionNumber10_6_7",
13328
- "NSFoundationVersionNumber10_6_8",
13329
- "NSFoundationVersionNumber10_7",
13330
- "NSFoundationVersionNumber10_7_1",
13331
- "NSFoundationVersionNumber10_7_2",
13332
- "NSFoundationVersionNumber10_7_3",
13333
- "NSFoundationVersionNumber10_7_4",
13334
- "NSFoundationVersionNumber10_8",
13335
- "NSFoundationVersionNumber10_8_1",
13336
- "NSFoundationVersionNumber10_8_2",
13337
- "NSFoundationVersionNumber10_8_3",
13338
- "NSFoundationVersionNumber10_8_4",
13339
- "NSFoundationVersionNumber10_9",
13340
- "NSFoundationVersionNumber10_9_1",
13341
- "NSFoundationVersionNumber10_9_2",
13342
- "NSFoundationVersionNumber_iOS_4_0",
13343
- "NSFoundationVersionNumber_iOS_4_1",
13344
- "NSFoundationVersionNumber_iOS_4_2",
13345
- "NSFoundationVersionNumber_iOS_4_3",
13346
- "NSFoundationVersionNumber_iOS_5_0",
13347
- "NSFoundationVersionNumber_iOS_5_1",
13348
- "NSFoundationVersionNumber_iOS_6_0",
13349
- "NSFoundationVersionNumber_iOS_6_1",
13350
- "NSFoundationVersionNumber_iOS_7_0",
13351
- "NSFoundationVersionNumber_iOS_7_1",
13352
- "NSFoundationVersionNumber_iOS_8_0",
13353
- "NSFoundationVersionNumber_iOS_8_1",
13354
- "NSFoundationVersionNumber_iOS_8_2",
13355
- "NSFoundationVersionNumber_iOS_8_3",
13356
- "NSFoundationVersionNumber_iOS_8_4",
13357
- "NSFoundationVersionNumber_iOS_8_x_Max",
13358
- "NSFoundationVersionNumber_iOS_9_0",
13359
- "NSFoundationVersionNumber_iOS_9_1",
13360
- "NSFoundationVersionNumber_iOS_9_2",
13361
- "NSFoundationVersionNumber_iOS_9_3",
13362
- "NSFoundationVersionNumber_iOS_9_4",
13363
- "NSFoundationVersionNumber_iOS_9_x_Max",
13364
- "NSFoundationVersionNumber_iPhoneOS_2_0",
13365
- "NSFoundationVersionNumber_iPhoneOS_2_1",
13366
- "NSFoundationVersionNumber_iPhoneOS_2_2",
13367
- "NSFoundationVersionNumber_iPhoneOS_3_0",
13368
- "NSFoundationVersionNumber_iPhoneOS_3_1",
13369
- "NSFoundationVersionNumber_iPhoneOS_3_2",
13370
13262
  "NSFoundationVersionWithFileManagerResourceForkSupport",
13371
13263
  "NSFreeHashTable",
13372
13264
  "NSFreeMapTable",
@@ -14515,7 +14407,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14515
14407
  for (const file of Object.keys(input.files)) {
14516
14408
  if (!file.endsWith(".swift")) continue;
14517
14409
  const target = bySourcePath.find(
14518
- (candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
14410
+ (candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
14411
+ const selected = path27.posix.join(candidate.path, source);
14412
+ return file === selected || file.startsWith(`${selected}/`);
14413
+ }))
14519
14414
  );
14520
14415
  const excluded = target?.exclude?.some(
14521
14416
  (name2) => file === path27.posix.join(target.path, name2)
@@ -14568,7 +14463,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14568
14463
  const targetEntries = (target) => {
14569
14464
  const prefix = target.path === "." ? "" : `${target.path}/`;
14570
14465
  return Object.entries(input.files).filter(
14571
- ([file]) => file.startsWith(prefix) && !target.exclude?.some(
14466
+ ([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
14467
+ const selected = path27.posix.join(prefix, source);
14468
+ return file === selected || file.startsWith(`${selected}/`);
14469
+ })) && !target.exclude?.some(
14572
14470
  (excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
14573
14471
  ) && !targets.some(
14574
14472
  (candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
@@ -14723,8 +14621,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
14723
14621
  )) {
14724
14622
  const include2 = match[1];
14725
14623
  const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
14726
- if (producer && targets.some((value) => value.name === producer))
14727
- producers2.add(producer);
14624
+ if (producer && swiftTargets.has(producer)) producers2.add(producer);
14728
14625
  const local = [
14729
14626
  path27.posix.join(path27.posix.dirname(file), include2),
14730
14627
  `${includes}${include2}`,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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;
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
39
39
  var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
40
40
  var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
41
41
  "<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
42
- define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "8ffd57670829ddd2b10e812defbd9016859744be88713c5ba65847aa6e26dff4", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
42
+ define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "86f79e98323ec065e0e5195324c75ca608f490efbd95dcc25c53d5aa0b9aecc9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -5355,7 +5355,7 @@ function swiftInterfaceWithoutBodies(text5, keepDefaults = false) {
5355
5355
  continue;
5356
5356
  }
5357
5357
  const char = text5[i];
5358
- if (char === "=" && parens > 0 && text5[i - 1] === " " && text5[i + 1] === " ") {
5358
+ if (!keepDefaults && char === "=" && parens > 0 && text5[i - 1] === " " && text5[i + 1] === " ") {
5359
5359
  out = out.trimEnd();
5360
5360
  i = skipExpression(text5, i + 1);
5361
5361
  continue;
@@ -8110,10 +8110,11 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
8110
8110
  "-module-cache-path",
8111
8111
  moduleCache,
8112
8112
  "-minimum-access-level",
8113
- // symbol graphs hide public underscored names at the public threshold.
8114
- // original clang headers remain the declaration boundary, and a swift
8115
- // overlay names its underscored and spi declarations.
8116
- original || surface.interface ? "internal" : "public",
8113
+ // symbol graphs hide public underscored names at the public threshold,
8114
+ // including a function with an underscored parameter. clang headers
8115
+ // remain the declaration boundary, and a swift overlay names its
8116
+ // underscored and spi declarations.
8117
+ "internal",
8117
8118
  ...surface.interface ? ["-include-spi-symbols"] : [],
8118
8119
  "-skip-synthesized-members",
8119
8120
  "-omit-extension-block-symbols",
@@ -8212,6 +8213,13 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
8212
8213
  writeHeaders();
8213
8214
  }
8214
8215
  const ownHeaders = new Set(headerFiles(headersDir).map((name3) => import_node_path7.default.basename(name3)));
8216
+ const functionPointers = new Set(
8217
+ [...originals.values()].flatMap(
8218
+ (text5) => [...text5.matchAll(/\btypedef\b[^;{}]*?\(\s*\*\s*(\w+)\s*\)\s*\(/g)].map(
8219
+ (match) => match[1]
8220
+ )
8221
+ )
8222
+ );
8215
8223
  const graphs = import_node_fs7.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => {
8216
8224
  const graph = JSON.parse(import_node_fs7.default.readFileSync(import_node_path7.default.join(out, name3), "utf8"));
8217
8225
  return {
@@ -8219,6 +8227,22 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
8219
8227
  symbols: graph.symbols.filter((symbol2) => {
8220
8228
  const header = /^c:([^@]+\.h)@/.exec(symbol2.identifier.precise)?.[1];
8221
8229
  return !header || ownHeaders.has(header);
8230
+ }).map((symbol2) => {
8231
+ if (symbol2.kind.identifier !== "swift.typealias" || !symbol2.identifier.precise.startsWith("c:") || !functionPointers.has(symbol2.pathComponents.at(-1) ?? ""))
8232
+ return symbol2;
8233
+ const fragments = symbol2.declarationFragments ?? [];
8234
+ const equals = fragments.findIndex(
8235
+ (fragment) => fragment.spelling.includes("=")
8236
+ );
8237
+ const arrow = fragments.findLastIndex(
8238
+ (fragment) => fragment.spelling.includes("->")
8239
+ );
8240
+ return {
8241
+ ...symbol2,
8242
+ declarationFragments: fragments.map(
8243
+ (fragment, index) => index > equals && index < arrow && fragment.kind === "typeIdentifier" && functionPointers.has(fragment.spelling) ? { ...fragment, spelling: `@escaping ${fragment.spelling}` } : fragment
8244
+ )
8245
+ };
8222
8246
  })
8223
8247
  };
8224
8248
  });
@@ -17272,7 +17296,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
17272
17296
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
17273
17297
  var MULTI_MANIFEST_VERSION = 68;
17274
17298
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
17275
- var compilerSourceDigest = true ? "382ff03994dc241ff825d788eb5f8eb92462420da0b20538d9fcc1ff79e096c6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17299
+ var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
17276
17300
  function swiftArtifactHash(input, release, moduleRoot) {
17277
17301
  const hash = (0, import_node_crypto13.createHash)("sha256");
17278
17302
  hash.update(`swift-compile
@@ -17681,6 +17705,9 @@ function emitSwiftPackageManifest(args) {
17681
17705
  ' publicHeadersPath: "include",'
17682
17706
  ] : native?.flags ? [` sources: ${JSON.stringify(native.sources)},`] : target.sources !== void 0 ? [` sources: ${JSON.stringify(target.sources)},`] : [],
17683
17707
  ...!native?.clang && target.publicHeadersPath !== void 0 ? [` publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)},`] : [],
17708
+ // swiftpm appends the root package's name after a target's own flags
17709
+ // unless the target opts out of package access
17710
+ ...!clang && target.swiftFlags?.includes("-package-name") ? [" packageAccess: false,"] : [],
17684
17711
  // the native backend supplies dependency module maps without their
17685
17712
  // compiled modules. textual c++ includes keep those dependencies usable.
17686
17713
  ` ${clang ? nativeSettings : swiftSettings}${link}`,
@@ -18071,117 +18098,6 @@ var FOUNDATION_OVERLAY_GLOBALS = /* @__PURE__ */ new Set([
18071
18098
  "NSFileErrorMinimum",
18072
18099
  "NSFormattingErrorMaximum",
18073
18100
  "NSFormattingErrorMinimum",
18074
- "NSFoundationVersionNumber",
18075
- "NSFoundationVersionNumber10_0",
18076
- "NSFoundationVersionNumber10_1",
18077
- "NSFoundationVersionNumber10_10",
18078
- "NSFoundationVersionNumber10_10_1",
18079
- "NSFoundationVersionNumber10_10_2",
18080
- "NSFoundationVersionNumber10_10_3",
18081
- "NSFoundationVersionNumber10_10_4",
18082
- "NSFoundationVersionNumber10_10_5",
18083
- "NSFoundationVersionNumber10_10_Max",
18084
- "NSFoundationVersionNumber10_11",
18085
- "NSFoundationVersionNumber10_11_1",
18086
- "NSFoundationVersionNumber10_11_2",
18087
- "NSFoundationVersionNumber10_11_3",
18088
- "NSFoundationVersionNumber10_11_4",
18089
- "NSFoundationVersionNumber10_11_Max",
18090
- "NSFoundationVersionNumber10_1_1",
18091
- "NSFoundationVersionNumber10_1_2",
18092
- "NSFoundationVersionNumber10_1_3",
18093
- "NSFoundationVersionNumber10_1_4",
18094
- "NSFoundationVersionNumber10_2",
18095
- "NSFoundationVersionNumber10_2_1",
18096
- "NSFoundationVersionNumber10_2_2",
18097
- "NSFoundationVersionNumber10_2_3",
18098
- "NSFoundationVersionNumber10_2_4",
18099
- "NSFoundationVersionNumber10_2_5",
18100
- "NSFoundationVersionNumber10_2_6",
18101
- "NSFoundationVersionNumber10_2_7",
18102
- "NSFoundationVersionNumber10_2_8",
18103
- "NSFoundationVersionNumber10_3",
18104
- "NSFoundationVersionNumber10_3_1",
18105
- "NSFoundationVersionNumber10_3_2",
18106
- "NSFoundationVersionNumber10_3_3",
18107
- "NSFoundationVersionNumber10_3_4",
18108
- "NSFoundationVersionNumber10_3_5",
18109
- "NSFoundationVersionNumber10_3_6",
18110
- "NSFoundationVersionNumber10_3_7",
18111
- "NSFoundationVersionNumber10_3_8",
18112
- "NSFoundationVersionNumber10_3_9",
18113
- "NSFoundationVersionNumber10_4",
18114
- "NSFoundationVersionNumber10_4_1",
18115
- "NSFoundationVersionNumber10_4_10",
18116
- "NSFoundationVersionNumber10_4_11",
18117
- "NSFoundationVersionNumber10_4_2",
18118
- "NSFoundationVersionNumber10_4_3",
18119
- "NSFoundationVersionNumber10_4_4_Intel",
18120
- "NSFoundationVersionNumber10_4_4_PowerPC",
18121
- "NSFoundationVersionNumber10_4_5",
18122
- "NSFoundationVersionNumber10_4_6",
18123
- "NSFoundationVersionNumber10_4_7",
18124
- "NSFoundationVersionNumber10_4_8",
18125
- "NSFoundationVersionNumber10_4_9",
18126
- "NSFoundationVersionNumber10_5",
18127
- "NSFoundationVersionNumber10_5_1",
18128
- "NSFoundationVersionNumber10_5_2",
18129
- "NSFoundationVersionNumber10_5_3",
18130
- "NSFoundationVersionNumber10_5_4",
18131
- "NSFoundationVersionNumber10_5_5",
18132
- "NSFoundationVersionNumber10_5_6",
18133
- "NSFoundationVersionNumber10_5_7",
18134
- "NSFoundationVersionNumber10_5_8",
18135
- "NSFoundationVersionNumber10_6",
18136
- "NSFoundationVersionNumber10_6_1",
18137
- "NSFoundationVersionNumber10_6_2",
18138
- "NSFoundationVersionNumber10_6_3",
18139
- "NSFoundationVersionNumber10_6_4",
18140
- "NSFoundationVersionNumber10_6_5",
18141
- "NSFoundationVersionNumber10_6_6",
18142
- "NSFoundationVersionNumber10_6_7",
18143
- "NSFoundationVersionNumber10_6_8",
18144
- "NSFoundationVersionNumber10_7",
18145
- "NSFoundationVersionNumber10_7_1",
18146
- "NSFoundationVersionNumber10_7_2",
18147
- "NSFoundationVersionNumber10_7_3",
18148
- "NSFoundationVersionNumber10_7_4",
18149
- "NSFoundationVersionNumber10_8",
18150
- "NSFoundationVersionNumber10_8_1",
18151
- "NSFoundationVersionNumber10_8_2",
18152
- "NSFoundationVersionNumber10_8_3",
18153
- "NSFoundationVersionNumber10_8_4",
18154
- "NSFoundationVersionNumber10_9",
18155
- "NSFoundationVersionNumber10_9_1",
18156
- "NSFoundationVersionNumber10_9_2",
18157
- "NSFoundationVersionNumber_iOS_4_0",
18158
- "NSFoundationVersionNumber_iOS_4_1",
18159
- "NSFoundationVersionNumber_iOS_4_2",
18160
- "NSFoundationVersionNumber_iOS_4_3",
18161
- "NSFoundationVersionNumber_iOS_5_0",
18162
- "NSFoundationVersionNumber_iOS_5_1",
18163
- "NSFoundationVersionNumber_iOS_6_0",
18164
- "NSFoundationVersionNumber_iOS_6_1",
18165
- "NSFoundationVersionNumber_iOS_7_0",
18166
- "NSFoundationVersionNumber_iOS_7_1",
18167
- "NSFoundationVersionNumber_iOS_8_0",
18168
- "NSFoundationVersionNumber_iOS_8_1",
18169
- "NSFoundationVersionNumber_iOS_8_2",
18170
- "NSFoundationVersionNumber_iOS_8_3",
18171
- "NSFoundationVersionNumber_iOS_8_4",
18172
- "NSFoundationVersionNumber_iOS_8_x_Max",
18173
- "NSFoundationVersionNumber_iOS_9_0",
18174
- "NSFoundationVersionNumber_iOS_9_1",
18175
- "NSFoundationVersionNumber_iOS_9_2",
18176
- "NSFoundationVersionNumber_iOS_9_3",
18177
- "NSFoundationVersionNumber_iOS_9_4",
18178
- "NSFoundationVersionNumber_iOS_9_x_Max",
18179
- "NSFoundationVersionNumber_iPhoneOS_2_0",
18180
- "NSFoundationVersionNumber_iPhoneOS_2_1",
18181
- "NSFoundationVersionNumber_iPhoneOS_2_2",
18182
- "NSFoundationVersionNumber_iPhoneOS_3_0",
18183
- "NSFoundationVersionNumber_iPhoneOS_3_1",
18184
- "NSFoundationVersionNumber_iPhoneOS_3_2",
18185
18101
  "NSFoundationVersionWithFileManagerResourceForkSupport",
18186
18102
  "NSFreeHashTable",
18187
18103
  "NSFreeMapTable",
@@ -19237,7 +19153,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
19237
19153
  for (const file of Object.keys(input.files)) {
19238
19154
  if (!file.endsWith(".swift")) continue;
19239
19155
  const target = bySourcePath.find(
19240
- (candidate) => candidate.path === "." || file.startsWith(`${candidate.path}/`)
19156
+ (candidate) => (candidate.path === "." || file.startsWith(`${candidate.path}/`)) && (candidate.sources === void 0 || candidate.sources.some((source) => {
19157
+ const selected = import_node_path27.default.posix.join(candidate.path, source);
19158
+ return file === selected || file.startsWith(`${selected}/`);
19159
+ }))
19241
19160
  );
19242
19161
  const excluded = target?.exclude?.some(
19243
19162
  (name3) => file === import_node_path27.default.posix.join(target.path, name3)
@@ -19290,7 +19209,10 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
19290
19209
  const targetEntries = (target) => {
19291
19210
  const prefix = target.path === "." ? "" : `${target.path}/`;
19292
19211
  return Object.entries(input.files).filter(
19293
- ([file]) => file.startsWith(prefix) && !target.exclude?.some(
19212
+ ([file]) => file.startsWith(prefix) && (target.sources === void 0 || !(file.endsWith(".swift") || isSwiftNativeTranslationUnit(file)) || target.sources.some((source) => {
19213
+ const selected = import_node_path27.default.posix.join(prefix, source);
19214
+ return file === selected || file.startsWith(`${selected}/`);
19215
+ })) && !target.exclude?.some(
19294
19216
  (excluded) => file === `${prefix}${excluded}` || file.startsWith(`${prefix}${excluded}/`)
19295
19217
  ) && !targets.some(
19296
19218
  (candidate) => candidate.name !== target.name && candidate.path !== "." && candidate.path.startsWith(prefix) && file.startsWith(`${candidate.path}/`)
@@ -19445,8 +19367,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
19445
19367
  )) {
19446
19368
  const include2 = match[1];
19447
19369
  const producer = /(?:^|\/)([^/]+)-Swift\.h$/.exec(include2)?.[1];
19448
- if (producer && targets.some((value) => value.name === producer))
19449
- producers2.add(producer);
19370
+ if (producer && swiftTargets.has(producer)) producers2.add(producer);
19450
19371
  const local = [
19451
19372
  import_node_path27.default.posix.join(import_node_path27.default.posix.dirname(file), include2),
19452
19373
  `${includes}${include2}`,
@@ -28610,8 +28531,10 @@ function isIosAppTarget(ref, options = {}) {
28610
28531
  },
28611
28532
  options
28612
28533
  );
28534
+ const platforms2 = settingList(get("SUPPORTED_PLATFORMS"));
28535
+ if (platforms2.length > 0) return platforms2.some(isIosPlatform);
28613
28536
  const sdk = get("SDKROOT");
28614
- return sdk === "auto" ? settingList(get("SUPPORTED_PLATFORMS")).some(isIosPlatform) : sdk === "" || isIosPlatform(sdk);
28537
+ return sdk === "" || isIosPlatform(sdk);
28615
28538
  }
28616
28539
  function isIosPlatform(name3) {
28617
28540
  return name3.startsWith("iphoneos") || name3.startsWith("iphonesimulator");
@@ -30276,6 +30199,7 @@ function resolveSwiftPackages(options) {
30276
30199
  dir: target.dir,
30277
30200
  files: files2,
30278
30201
  exclude: target.exclude,
30202
+ ...target.sources ? { sources: target.sources } : {},
30279
30203
  packageDir: pkg.manifest.dir,
30280
30204
  remote: pkg.remote,
30281
30205
  iosDeployment: pkg.manifest.iosDeployment,
@@ -30678,7 +30602,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
30678
30602
  return hash.digest("hex");
30679
30603
  }
30680
30604
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
30681
- var STANDIN_SOURCE_DIGEST = true ? "8357df1eb62bbe4eb3a2bc4588867a6b75d1052c41e274e31fec2fde3700676e" : standinSourceDigest();
30605
+ var STANDIN_SOURCE_DIGEST = true ? "8bf9878abc11473e9367806d1a6ac0089e4451eefdc2a1e5830542f3e83e80cf" : standinSourceDigest();
30682
30606
 
30683
30607
  // src/swift-standins.ts
30684
30608
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -35989,9 +35913,13 @@ async function buildXcodeLayout(root) {
35989
35913
  upcomingFeatures: target.packageUpcomingFeatures.filter(
35990
35914
  (feature) => feature.configuration === null || feature.configuration === packageConfiguration
35991
35915
  ).map((feature) => feature.name),
35992
- swiftFlags: target.packageSwiftFlags.filter(
35993
- (setting) => setting.configuration === null || setting.configuration === packageConfiguration
35994
- ).flatMap((setting) => setting.flags),
35916
+ // the flat build gives every module one package; swiftpm names each
35917
+ // module for its own package, which `@retroactive` and `package` read
35918
+ swiftFlags: ["-package-name", swiftPackageIdentity(target.packageDir)].concat(
35919
+ target.packageSwiftFlags.filter(
35920
+ (setting) => setting.configuration === null || setting.configuration === packageConfiguration
35921
+ ).flatMap((setting) => setting.flags)
35922
+ ),
35995
35923
  linkedLibraries: target.packageLibraries.filter(
35996
35924
  (library) => library.configuration === null || library.configuration === packageConfiguration
35997
35925
  ).map((library) => library.name),
@@ -36349,7 +36277,7 @@ function xcodeManifest(layout2) {
36349
36277
  `let package = Package(name: "app", ${layout2.app.iosDeploymentTarget ? `platforms: [.iOS(${JSON.stringify(layout2.app.iosDeploymentTarget)})], ` : ""}dependencies: [${[...nativePaths].map(([name3, directory]) => `.package(name: ${JSON.stringify(name3)}, path: ${JSON.stringify(directory)})`).join(", ")}], targets: [`,
36350
36278
  ` .executableTarget(name: "${layout2.app.moduleName}", dependencies: [${[...appProducts, ...layout2.targets.map((target) => JSON.stringify(target.name)), ...sdkProducts].join(", ")}], path: "${XCODE_APP_DIR}", ${appSettings}),`,
36351
36279
  ...layout2.targets.map(
36352
- (target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
36280
+ (target) => target.systemLibrary ? ` .systemLibrary(name: "${target.name}", path: "${target.path}"),` : ` .target(name: "${target.name}", ${target.dependencies === void 0 ? "" : `dependencies: [${dependencies(target)}], `}path: "${target.path}", ${target.exclude.length > 0 ? `exclude: ${JSON.stringify(target.exclude)}, ` : ""}${target.sources === void 0 ? "" : `sources: ${JSON.stringify(target.sources)}, `}${target.resources ? "resources: [], " : ""}${target.publicHeadersPath === void 0 ? "" : `publicHeadersPath: ${JSON.stringify(target.publicHeadersPath)}, `}${clangSettings(target)}${swiftManifestSettings(target)}${libraries(target)}),`
36353
36281
  ),
36354
36282
  "])",
36355
36283
  ""
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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;
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
39
39
  var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
40
40
  var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
41
41
  "<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
42
- define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "8ffd57670829ddd2b10e812defbd9016859744be88713c5ba65847aa6e26dff4", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
42
+ define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "e7cf8a143d47ff86b4ee2db4a8266e96b100926104990dba795321bc5923df3e", "home-paths.ts": "f5583b61f8bdd81823b3b29ff519a48daf9993719f194ddb7de22218472e90f9", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "86f79e98323ec065e0e5195324c75ca608f490efbd95dcc25c53d5aa0b9aecc9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
43
43
  }
44
44
  });
45
45
 
@@ -1909,7 +1909,7 @@ function readIosSdkTree(root) {
1909
1909
 
1910
1910
  // src/swift-standin-digest.ts
1911
1911
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1912
- var STANDIN_SOURCE_DIGEST = true ? "8357df1eb62bbe4eb3a2bc4588867a6b75d1052c41e274e31fec2fde3700676e" : standinSourceDigest();
1912
+ var STANDIN_SOURCE_DIGEST = true ? "8bf9878abc11473e9367806d1a6ac0089e4451eefdc2a1e5830542f3e83e80cf" : standinSourceDigest();
1913
1913
 
1914
1914
  // src/expo-native-workspace.ts
1915
1915
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -5391,7 +5391,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
5391
5391
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
5392
5392
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
5393
5393
  ).join("");
5394
- var compilerSourceDigest = true ? "382ff03994dc241ff825d788eb5f8eb92462420da0b20538d9fcc1ff79e096c6" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5394
+ var compilerSourceDigest = true ? "9d8d3ae2b2d5324ea93c50de702176f964cf229949899cccbeb49f982845e24b" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5395
5395
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
5396
5396
  "CFAllocator",
5397
5397
  "CFArray",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (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.2190 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2191 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -187,6 +187,7 @@ export declare class SootSimNode {
187
187
  type: SootSimNodeType;
188
188
  props: Record<string, any>;
189
189
  private lastReactProps;
190
+ private reactResolvedProps;
190
191
  readonly __nativeTag: number;
191
192
  readonly _nativeTag: number;
192
193
  readonly __viewTag: number;
@@ -581,6 +582,8 @@ export declare class SootSimNode {
581
582
  layoutAffecting?: boolean;
582
583
  disposeSubtree?: boolean;
583
584
  }): void;
585
+ private resolveReactProps;
586
+ adoptReactProps(reactProps: Record<string, any>): boolean;
584
587
  updateProps(newProps: Record<string, any>, source?: 'react' | 'native' | 'animated'): void;
585
588
  getAbsoluteLayoutPosition(options?: LayoutPositionOptions): {
586
589
  x: number;
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.2190",
3
+ "version": "0.1.2191",
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",