peachsim 0.1.2433 → 0.1.2434

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/cli/app-project.ts +5 -0
  2. package/cli/commands/box.ts +3 -0
  3. package/cli/commands/control.ts +14 -6
  4. package/cli/commands/platform.ts +3 -3
  5. package/cli/commands/stream.ts +8 -1
  6. package/dist-lib/agent-daemon-client.cjs +1 -1
  7. package/dist-lib/agent-events.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/bundle-channel.cjs +19 -15
  19. package/dist-lib/capture-contract.cjs +1 -1
  20. package/dist-lib/capture-contract.mjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/config.mjs +1 -1
  29. package/dist-lib/detox/index.cjs +1 -1
  30. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  31. package/dist-lib/expo-swift-bundle.cjs +9 -5
  32. package/dist-lib/expo-swift-metadata.cjs +1 -1
  33. package/dist-lib/expo-swift-metadata.mjs +1 -1
  34. package/dist-lib/home-paths.cjs +1 -1
  35. package/dist-lib/host/bridge-host.cjs +10 -6
  36. package/dist-lib/host/fetch-proxy-handler.cjs +4 -3
  37. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  38. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  39. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  40. package/dist-lib/host/websocket-proxy.cjs +1 -1
  41. package/dist-lib/index.cjs +4 -3
  42. package/dist-lib/jump-to-source-babel.cjs +1 -1
  43. package/dist-lib/jump-to-source-native.cjs +1 -1
  44. package/dist-lib/kotlin-host.cjs +1 -1
  45. package/dist-lib/menu.cjs +1 -1
  46. package/dist-lib/menu.mjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  49. package/dist-lib/metro-production-bundle.cjs +1 -1
  50. package/dist-lib/metro-production-bundle.mjs +1 -1
  51. package/dist-lib/metro.cjs +4 -3
  52. package/dist-lib/native-app-identity-project.cjs +2 -2
  53. package/dist-lib/native-app-identity-project.mjs +2 -2
  54. package/dist-lib/native-app-identity.cjs +1 -1
  55. package/dist-lib/native-app-identity.mjs +1 -1
  56. package/dist-lib/native-firebase-metadata.cjs +1 -1
  57. package/dist-lib/native-firebase-metadata.mjs +1 -1
  58. package/dist-lib/pdfium-raster.cjs +1 -1
  59. package/dist-lib/pdfium-raster.mjs +1 -1
  60. package/dist-lib/plist.cjs +1 -1
  61. package/dist-lib/plist.mjs +1 -1
  62. package/dist-lib/profiles.cjs +1 -1
  63. package/dist-lib/public-brand.cjs +1 -1
  64. package/dist-lib/public-origins-lib-esm.json +25 -25
  65. package/dist-lib/public-origins-lib.json +56 -56
  66. package/dist-lib/react-native-host-modules.cjs +1 -1
  67. package/dist-lib/react-native-host-modules.mjs +1 -1
  68. package/dist-lib/reap-browser.cjs +1 -1
  69. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  70. package/dist-lib/sdk.cjs +1 -1
  71. package/dist-lib/sdk.mjs +1 -1
  72. package/dist-lib/skills.cjs +26 -9
  73. package/dist-lib/swift-compile.cjs +11 -8
  74. package/dist-lib/swift-compile.mjs +11 -8
  75. package/dist-lib/swift-package.cjs +1 -1
  76. package/dist-lib/swift-package.mjs +1 -1
  77. package/dist-lib/swift-submit.cjs +1 -1
  78. package/dist-lib/swift-submit.mjs +1 -1
  79. package/dist-lib/swift-toolchain.cjs +1 -1
  80. package/dist-lib/swift.cjs +1 -1
  81. package/dist-lib/vite-swift.cjs +12 -9
  82. package/dist-lib/vite.cjs +4 -3
  83. package/dist-lib/worklet-executable.cjs +1 -1
  84. package/dist-lib/worklet-executable.mjs +1 -1
  85. package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +2 -2
  86. package/kotlin/sdk.tar.gz +0 -0
  87. package/package.json +1 -1
  88. package/src/react-native-coverage/native-typescript-parser.ts +29 -1
  89. package/src/swift-guest-source-inputs.ts +5 -1
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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;
@@ -10216,6 +10216,11 @@ var import_node_child_process11 = require("node:child_process");
10216
10216
  var import_node_crypto10 = require("node:crypto");
10217
10217
  var import_node_fs15 = require("node:fs");
10218
10218
  var import_node_path15 = __toESM(require("node:path"), 1);
10219
+
10220
+ // src/forked-script-contract.ts
10221
+ var PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
10222
+
10223
+ // src/swift-guest-source-inputs.ts
10219
10224
  function clangIrLinkOptions(ir) {
10220
10225
  const list = /^!llvm\.linker\.options = !\{([^\n]*)\}$/m.exec(ir);
10221
10226
  if (!list) {
@@ -10336,10 +10341,13 @@ function sourceGuestClangLinkOptions(options) {
10336
10341
  plan,
10337
10342
  JSON.stringify(replays.map(({ compiler, args }) => [compiler, ...args]))
10338
10343
  );
10339
- (0, import_node_child_process11.execFileSync)(process.execPath, ["-e", PARALLEL_REPLAY], {
10344
+ const script = import_node_path15.default.join(options.directory, "clang-link-replay.cjs");
10345
+ (0, import_node_fs15.writeFileSync)(script, PARALLEL_REPLAY);
10346
+ (0, import_node_child_process11.execFileSync)(process.execPath, [script], {
10340
10347
  stdio: "inherit",
10341
10348
  env: {
10342
10349
  ...process.env,
10350
+ [PEACH_FORKED_SCRIPT_ENV]: "1",
10343
10351
  PEACH_CLANG_REPLAYS: plan,
10344
10352
  PEACH_CLANG_JOBS: String(options.jobs)
10345
10353
  }
@@ -11613,11 +11621,6 @@ var import_node_crypto12 = require("node:crypto");
11613
11621
  var import_node_fs19 = require("node:fs");
11614
11622
  var import_node_http = require("node:http");
11615
11623
  var import_node_path20 = __toESM(require("node:path"), 1);
11616
-
11617
- // src/forked-script-contract.ts
11618
- var PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
11619
-
11620
- // src/swift-header-compiler.ts
11621
11624
  var SWIFT_HEADER_COMPILER_WRAPPER = ".build/peach-swiftc";
11622
11625
  var argument = (value) => `'${value.replaceAll("'", `'"'"'`)}'`;
11623
11626
  var client = `const { request } = require('node:http')
@@ -14064,7 +14067,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
14064
14067
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
14065
14068
  var MULTI_MANIFEST_VERSION = 72;
14066
14069
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
14067
- var compilerSourceDigest = true ? "cdc5ec2138bb4a158f783cf86ed87144cd455551e18374805c743783ac04aa46" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
14070
+ var compilerSourceDigest = true ? "2ff4da3ff6b56e29c8968a39135d8974f54c927608bde4993a6a2476beb749e6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
14068
14071
  function swiftArtifactHash(input, release, moduleRoot) {
14069
14072
  const hash = (0, import_node_crypto15.createHash)("sha256");
14070
14073
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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);
@@ -10171,6 +10171,11 @@ import { execFileSync as execFileSync8 } from "node:child_process";
10171
10171
  import { createHash as createHash11 } from "node:crypto";
10172
10172
  import { mkdirSync as mkdirSync3, readFileSync as readFileSync11, realpathSync as realpathSync2, writeFileSync as writeFileSync4 } from "node:fs";
10173
10173
  import path17 from "node:path";
10174
+
10175
+ // src/forked-script-contract.ts
10176
+ var PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
10177
+
10178
+ // src/swift-guest-source-inputs.ts
10174
10179
  function clangIrLinkOptions(ir) {
10175
10180
  const list = /^!llvm\.linker\.options = !\{([^\n]*)\}$/m.exec(ir);
10176
10181
  if (!list) {
@@ -10291,10 +10296,13 @@ function sourceGuestClangLinkOptions(options) {
10291
10296
  plan,
10292
10297
  JSON.stringify(replays.map(({ compiler, args }) => [compiler, ...args]))
10293
10298
  );
10294
- execFileSync8(process.execPath, ["-e", PARALLEL_REPLAY], {
10299
+ const script = path17.join(options.directory, "clang-link-replay.cjs");
10300
+ writeFileSync4(script, PARALLEL_REPLAY);
10301
+ execFileSync8(process.execPath, [script], {
10295
10302
  stdio: "inherit",
10296
10303
  env: {
10297
10304
  ...process.env,
10305
+ [PEACH_FORKED_SCRIPT_ENV]: "1",
10298
10306
  PEACH_CLANG_REPLAYS: plan,
10299
10307
  PEACH_CLANG_JOBS: String(options.jobs)
10300
10308
  }
@@ -11586,11 +11594,6 @@ import {
11586
11594
  } from "node:fs";
11587
11595
  import { createServer } from "node:http";
11588
11596
  import path22 from "node:path";
11589
-
11590
- // src/forked-script-contract.ts
11591
- var PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
11592
-
11593
- // src/swift-header-compiler.ts
11594
11597
  var SWIFT_HEADER_COMPILER_WRAPPER = ".build/peach-swiftc";
11595
11598
  var argument = (value) => `'${value.replaceAll("'", `'"'"'`)}'`;
11596
11599
  var client = `const { request } = require('node:http')
@@ -14063,7 +14066,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
14063
14066
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
14064
14067
  var MULTI_MANIFEST_VERSION = 72;
14065
14068
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
14066
- var compilerSourceDigest = true ? "cdc5ec2138bb4a158f783cf86ed87144cd455551e18374805c743783ac04aa46" : swiftCompilerSourceDigest(import.meta.dirname);
14069
+ var compilerSourceDigest = true ? "2ff4da3ff6b56e29c8968a39135d8974f54c927608bde4993a6a2476beb749e6" : swiftCompilerSourceDigest(import.meta.dirname);
14067
14070
  function swiftArtifactHash(input, release, moduleRoot) {
14068
14071
  const hash = createHash15("sha256");
14069
14072
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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;
@@ -15308,6 +15308,11 @@ var import_node_child_process12 = require("node:child_process");
15308
15308
  var import_node_crypto10 = require("node:crypto");
15309
15309
  var import_node_fs17 = require("node:fs");
15310
15310
  var import_node_path17 = __toESM(require("node:path"), 1);
15311
+
15312
+ // src/forked-script-contract.ts
15313
+ var PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
15314
+
15315
+ // src/swift-guest-source-inputs.ts
15311
15316
  function clangIrLinkOptions(ir) {
15312
15317
  const list2 = /^!llvm\.linker\.options = !\{([^\n]*)\}$/m.exec(ir);
15313
15318
  if (!list2) {
@@ -15428,10 +15433,13 @@ function sourceGuestClangLinkOptions(options) {
15428
15433
  plan,
15429
15434
  JSON.stringify(replays.map(({ compiler, args }) => [compiler, ...args]))
15430
15435
  );
15431
- (0, import_node_child_process12.execFileSync)(process.execPath, ["-e", PARALLEL_REPLAY], {
15436
+ const script = import_node_path17.default.join(options.directory, "clang-link-replay.cjs");
15437
+ (0, import_node_fs17.writeFileSync)(script, PARALLEL_REPLAY);
15438
+ (0, import_node_child_process12.execFileSync)(process.execPath, [script], {
15432
15439
  stdio: "inherit",
15433
15440
  env: {
15434
15441
  ...process.env,
15442
+ [PEACH_FORKED_SCRIPT_ENV]: "1",
15435
15443
  PEACH_CLANG_REPLAYS: plan,
15436
15444
  PEACH_CLANG_JOBS: String(options.jobs)
15437
15445
  }
@@ -16727,11 +16735,6 @@ var import_node_crypto12 = require("node:crypto");
16727
16735
  var import_node_fs22 = require("node:fs");
16728
16736
  var import_node_http = require("node:http");
16729
16737
  var import_node_path22 = __toESM(require("node:path"), 1);
16730
-
16731
- // src/forked-script-contract.ts
16732
- var PEACH_FORKED_SCRIPT_ENV = "PEACH_RUNS_FORKED_SCRIPTS";
16733
-
16734
- // src/swift-header-compiler.ts
16735
16738
  var SWIFT_HEADER_COMPILER_WRAPPER = ".build/peach-swiftc";
16736
16739
  var argument = (value) => `'${value.replaceAll("'", `'"'"'`)}'`;
16737
16740
  var client = `const { request } = require('node:http')
@@ -19002,7 +19005,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
19002
19005
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
19003
19006
  var MULTI_MANIFEST_VERSION = 72;
19004
19007
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
19005
- var compilerSourceDigest = true ? "cdc5ec2138bb4a158f783cf86ed87144cd455551e18374805c743783ac04aa46" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
19008
+ var compilerSourceDigest = true ? "2ff4da3ff6b56e29c8968a39135d8974f54c927608bde4993a6a2476beb749e6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
19006
19009
  function swiftArtifactHash(input, release, moduleRoot) {
19007
19010
  const hash = (0, import_node_crypto15.createHash)("sha256");
19008
19011
  hash.update(`swift-compile
@@ -34880,7 +34883,7 @@ function sourceClosureDigest(srcDir, entrypoints, excludedFiles) {
34880
34883
  return hash.digest("hex");
34881
34884
  }
34882
34885
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
34883
- var STANDIN_SOURCE_DIGEST = true ? "edbd6d6714a42d5d22c4d8b74e605e5c897358beb450af3e5605c81299e68531" : standinSourceDigest();
34886
+ var STANDIN_SOURCE_DIGEST = true ? "1f6eece6339ce20859e9666fa0ad8e9076485c71ec1cd098fe6a45fd6e28a28f" : standinSourceDigest();
34884
34887
 
34885
34888
  // src/swift-standins.ts
34886
34889
  var import_node_child_process32 = require("node:child_process");
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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;
@@ -4392,7 +4392,7 @@ var STANDIN_SOURCE_DIGEST;
4392
4392
  var init_swift_standin_digest = __esm({
4393
4393
  "src/swift-standin-digest.ts"() {
4394
4394
  "use strict";
4395
- STANDIN_SOURCE_DIGEST = true ? "edbd6d6714a42d5d22c4d8b74e605e5c897358beb450af3e5605c81299e68531" : standinSourceDigest();
4395
+ STANDIN_SOURCE_DIGEST = true ? "1f6eece6339ce20859e9666fa0ad8e9076485c71ec1cd098fe6a45fd6e28a28f" : standinSourceDigest();
4396
4396
  }
4397
4397
  });
4398
4398
 
@@ -5511,6 +5511,7 @@ var init_swift_guest_link = __esm({
5511
5511
  var init_swift_guest_source_inputs = __esm({
5512
5512
  "src/swift-guest-source-inputs.ts"() {
5513
5513
  "use strict";
5514
+ init_forked_script_contract();
5514
5515
  init_swift_guest_source_plan();
5515
5516
  init_swift_runtime_products();
5516
5517
  }
@@ -5822,7 +5823,7 @@ var init_swift_compile = __esm({
5822
5823
  FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
5823
5824
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
5824
5825
  ).join("");
5825
- compilerSourceDigest = true ? "cdc5ec2138bb4a158f783cf86ed87144cd455551e18374805c743783ac04aa46" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5826
+ compilerSourceDigest = true ? "2ff4da3ff6b56e29c8968a39135d8974f54c927608bde4993a6a2476beb749e6" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
5826
5827
  C_WORDS = new Set(
5827
5828
  "auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
5828
5829
  " "
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (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.2433 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2434 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -135,7 +135,7 @@ export type CanvasMapSection = {
135
135
  screenIds: string[];
136
136
  sectionIds: string[];
137
137
  };
138
- outline?: 'bounds';
138
+ outline?: 'bounds' | 'none';
139
139
  dragFromBody?: boolean;
140
140
  fitInsets?: {
141
141
  horizontal: number;
@@ -238,7 +238,7 @@ export type CanvasMapTap = {
238
238
  y: number;
239
239
  };
240
240
  export type CanvasMapKey = 'ArrowLeft' | 'ArrowRight' | 'ArrowUp' | 'ArrowDown' | 'Enter' | 'Home';
241
- export type CanvasMapCommand = 'fit' | 'actual-size' | {
241
+ export type CanvasMapCommand = 'fit' | 'actual-size' | 'clear-selection' | {
242
242
  kind: 'agent';
243
243
  agent: CanvasMapAgent;
244
244
  } | {
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.2433",
3
+ "version": "0.1.2434",
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",
@@ -18,10 +18,38 @@ export type TypeScriptSourceParser = <T>(
18
18
  requestedSources?: Iterable<string>,
19
19
  ) => Promise<T>
20
20
 
21
+ const SOURCE_FILE_MEMO = new Map<string, { source: string; ast: SourceFile }>()
22
+ const MAX_SOURCE_FILE_MEMO = 8192
23
+
21
24
  export async function parseTypeScriptSources(
22
25
  files: ReadonlyMap<string, string>,
23
26
  ): Promise<Map<string, SourceFile>> {
24
- return withTypeScriptSourceParser((parse) => parse(files, async (sources) => sources))
27
+ const hits = new Map<string, SourceFile>()
28
+ const pending = new Map<string, string>()
29
+ for (const [path, source] of files) {
30
+ const cached = SOURCE_FILE_MEMO.get(path)
31
+ if (cached && cached.source === source) hits.set(path, cached.ast)
32
+ else pending.set(path, source)
33
+ }
34
+ if (pending.size === 0) return hits
35
+ const freshlyParsed = await withTypeScriptSourceParser((parse) =>
36
+ parse(pending, async (sources) => sources),
37
+ )
38
+ for (const [path, ast] of freshlyParsed) {
39
+ const source = pending.get(path)
40
+ if (source === undefined) continue
41
+ if (SOURCE_FILE_MEMO.size >= MAX_SOURCE_FILE_MEMO && !SOURCE_FILE_MEMO.has(path)) {
42
+ const oldest = SOURCE_FILE_MEMO.keys().next().value
43
+ if (oldest !== undefined) SOURCE_FILE_MEMO.delete(oldest)
44
+ }
45
+ SOURCE_FILE_MEMO.set(path, { source, ast })
46
+ }
47
+ const ordered = new Map<string, SourceFile>()
48
+ for (const path of files.keys()) {
49
+ const ast = hits.get(path) ?? freshlyParsed.get(path)
50
+ if (ast) ordered.set(path, ast)
51
+ }
52
+ return ordered
25
53
  }
26
54
 
27
55
  export async function withTypeScriptSourceParser<T>(
@@ -2,6 +2,7 @@ import { execFileSync } from 'node:child_process'
2
2
  import { createHash } from 'node:crypto'
3
3
  import { mkdirSync, readFileSync, realpathSync, writeFileSync } from 'node:fs'
4
4
  import path from 'node:path'
5
+ import { PEACH_FORKED_SCRIPT_ENV } from './forked-script-contract'
5
6
  import { libraryArchiveTarget, type GuestSourceArtifact } from './swift-guest-source-plan'
6
7
  import { frameworkRuntimeProductId } from './swift-runtime-products'
7
8
  import type { SwiftSourceLinkGraph } from './swiftContract'
@@ -161,10 +162,13 @@ export function sourceGuestClangLinkOptions(options: {
161
162
  plan,
162
163
  JSON.stringify(replays.map(({ compiler, args }) => [compiler, ...args])),
163
164
  )
164
- execFileSync(process.execPath, ['-e', PARALLEL_REPLAY], {
165
+ const script = path.join(options.directory, 'clang-link-replay.cjs')
166
+ writeFileSync(script, PARALLEL_REPLAY)
167
+ execFileSync(process.execPath, [script], {
165
168
  stdio: 'inherit',
166
169
  env: {
167
170
  ...process.env,
171
+ [PEACH_FORKED_SCRIPT_ENV]: '1',
168
172
  PEACH_CLANG_REPLAYS: plan,
169
173
  PEACH_CLANG_JOBS: String(options.jobs),
170
174
  },