peachsim 0.1.2247 → 0.1.2248

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 (94) hide show
  1. package/cli/bin.ts +5 -0
  2. package/cli/cloud-dispatch.ts +2 -0
  3. package/cli/commands/control.ts +2 -2
  4. package/cli/commands/coverage-swift.ts +3 -3
  5. package/cli/commands/shell-url.ts +6 -0
  6. package/cli/commands/skills.ts +6 -3
  7. package/dist-lib/agent-daemon-client.cjs +1 -29
  8. package/dist-lib/agent-events.cjs +1 -1
  9. package/dist-lib/attached-projects.cjs +1 -10
  10. package/dist-lib/auth/shared-session.cjs +1 -1
  11. package/dist-lib/backend-origin.cjs +1 -1
  12. package/dist-lib/beta.cjs +1 -1
  13. package/dist-lib/beta.mjs +1 -1
  14. package/dist-lib/bridge-constants.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.mjs +1 -1
  17. package/dist-lib/bridge-contract.cjs +1 -1
  18. package/dist-lib/bridge-contract.mjs +1 -1
  19. package/dist-lib/bundle-channel.cjs +4161 -4502
  20. package/dist-lib/capture-contract.cjs +1 -1
  21. package/dist-lib/capture-contract.mjs +1 -1
  22. package/dist-lib/cloud-contract.cjs +1 -1
  23. package/dist-lib/cloud-contract.mjs +1 -1
  24. package/dist-lib/cloud-test-args.cjs +1 -1
  25. package/dist-lib/cloud-test-args.mjs +1 -1
  26. package/dist-lib/cloud.cjs +1 -1
  27. package/dist-lib/cloud.mjs +1 -1
  28. package/dist-lib/config.cjs +1 -1
  29. package/dist-lib/config.mjs +1 -1
  30. package/dist-lib/detox/index.cjs +2 -309
  31. package/dist-lib/dev-bundle-resolution.cjs +1 -12
  32. package/dist-lib/expo-swift-bundle.cjs +3440 -3835
  33. package/dist-lib/expo-swift-metadata.cjs +1 -1
  34. package/dist-lib/expo-swift-metadata.mjs +1 -1
  35. package/dist-lib/home-paths.cjs +1 -1
  36. package/dist-lib/host/bridge-host.cjs +4237 -4653
  37. package/dist-lib/host/fetch-proxy-handler.cjs +97 -713
  38. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  39. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  40. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  41. package/dist-lib/host/websocket-proxy.cjs +1 -1
  42. package/dist-lib/index.cjs +639 -1110
  43. package/dist-lib/jump-to-source-babel.cjs +1 -1
  44. package/dist-lib/jump-to-source-native.cjs +1 -1
  45. package/dist-lib/kotlin-host.cjs +3 -24
  46. package/dist-lib/menu.cjs +1 -1
  47. package/dist-lib/menu.mjs +1 -1
  48. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  50. package/dist-lib/metro-production-bundle.cjs +1 -10
  51. package/dist-lib/metro-production-bundle.mjs +1 -12
  52. package/dist-lib/metro.cjs +546 -975
  53. package/dist-lib/native-app-identity-project.cjs +299 -592
  54. package/dist-lib/native-app-identity-project.mjs +11 -232
  55. package/dist-lib/native-app-identity.cjs +1 -1
  56. package/dist-lib/native-app-identity.mjs +1 -1
  57. package/dist-lib/native-firebase-metadata.cjs +1 -1
  58. package/dist-lib/native-firebase-metadata.mjs +1 -1
  59. package/dist-lib/pdfium-raster.cjs +1 -1
  60. package/dist-lib/pdfium-raster.mjs +1 -1
  61. package/dist-lib/plist.cjs +1 -1
  62. package/dist-lib/plist.mjs +1 -1
  63. package/dist-lib/profiles.cjs +1 -1
  64. package/dist-lib/public-brand.cjs +1 -1
  65. package/dist-lib/public-origins-lib-esm.json +28 -96
  66. package/dist-lib/public-origins-lib.json +172 -1058
  67. package/dist-lib/react-native-host-modules.cjs +1 -1
  68. package/dist-lib/react-native-host-modules.mjs +1 -1
  69. package/dist-lib/reap-browser.cjs +1 -1
  70. package/dist-lib/scripts/dev-server-scanner.cjs +1 -34
  71. package/dist-lib/sdk.cjs +1 -1
  72. package/dist-lib/sdk.mjs +1 -1
  73. package/dist-lib/skills.cjs +4777 -5307
  74. package/dist-lib/swift-compile.cjs +1054 -1085
  75. package/dist-lib/swift-compile.mjs +2 -28
  76. package/dist-lib/swift-package.cjs +1 -1
  77. package/dist-lib/swift-package.mjs +1 -1
  78. package/dist-lib/swift-submit.cjs +1 -1
  79. package/dist-lib/swift-submit.mjs +1 -1
  80. package/dist-lib/swift-toolchain.cjs +1 -1
  81. package/dist-lib/swift.cjs +1 -1
  82. package/dist-lib/vite-swift.cjs +1425 -1639
  83. package/dist-lib/vite.cjs +173 -763
  84. package/dist-lib/worklet-executable.cjs +1 -1
  85. package/dist-lib/worklet-executable.mjs +1 -1
  86. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +3 -0
  87. package/dist-types/packages/peach-engine/src/settings/duo-fold-bus.d.ts +10 -2
  88. package/kotlin/sdk.tar.gz +0 -0
  89. package/package.json +1 -1
  90. package/runtime-companion.json +1 -1
  91. package/src/kotlin-module.ts +3 -3
  92. package/src/swift-coverage/provenance.ts +4 -4
  93. package/src/swift-objc-sdk.ts +34 -21
  94. package/src/swift-objc-standin.ts +7 -7
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -2577,15 +2577,6 @@ import path3 from "node:path";
2577
2577
  // src/swift-objc-sdk-tree.ts
2578
2578
  import { readdirSync as readdirSync3, readFileSync as readFileSync4 } from "node:fs";
2579
2579
  import path2 from "node:path";
2580
- function readIosSdkTree(root) {
2581
- return readdirSync3(root, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => {
2582
- const file = path2.join(entry.parentPath, entry.name);
2583
- return [
2584
- path2.relative(root, file).split(path2.sep).join("/"),
2585
- readFileSync4(file, "utf8")
2586
- ];
2587
- }).sort(([a], [b]) => a < b ? -1 : 1);
2588
- }
2589
2580
 
2590
2581
  // src/swift-darwin-records.ts
2591
2582
  import { execFileSync as execFileSync4 } from "node:child_process";
@@ -3317,23 +3308,6 @@ function isRecord(value) {
3317
3308
  // src/swift-objc-sdk.ts
3318
3309
  import path6 from "node:path";
3319
3310
  var IOS_SDK_TARGET = "arm64-apple-ios16.0-simulator";
3320
- var OVERLAY_PATH = /^usr\/lib\/swift\/([^/]+)\.swiftmodule\/arm64-apple-ios-simulator\.swiftinterface$/;
3321
- var tree = typeof __PEACH_BUNDLED_IOS_SDK__ === "undefined" ? readIosSdkTree(path6.join(peachsimPackageRoot(), "sdk", "ios")) : Object.entries(__PEACH_BUNDLED_IOS_SDK__).sort(([a], [b]) => a < b ? -1 : 1);
3322
- var IOS_SDK_HEADERS = {};
3323
- var IOS_SDK_OVERLAYS = {};
3324
- for (const [file, text2] of tree) {
3325
- const module = OVERLAY_PATH.exec(file)?.[1];
3326
- if (module === void 0) {
3327
- IOS_SDK_HEADERS[file] = text2;
3328
- continue;
3329
- }
3330
- const header = `// swift-interface-format-version: 1.0
3331
- // swift-module-flags: -target ${IOS_SDK_TARGET} -enable-objc-interop -enable-library-evolution -module-name ${module}
3332
- `;
3333
- if (!text2.startsWith(header))
3334
- throw new Error(`sdk overlay ${file} has the wrong interface header`);
3335
- IOS_SDK_OVERLAYS[module] = text2.slice(header.length);
3336
- }
3337
3311
 
3338
3312
  // src/swift-package.ts
3339
3313
  function swiftImplicitResourcePaths(paths) {
@@ -13043,7 +13017,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
13043
13017
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
13044
13018
  var MULTI_MANIFEST_VERSION = 68;
13045
13019
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
13046
- var compilerSourceDigest = true ? "c08bc25b20368e967d20bd07b2812d538ac73d60f4f4790ad0a59924bba3b684" : swiftCompilerSourceDigest(import.meta.dirname);
13020
+ var compilerSourceDigest = true ? "6b31bc2b6f1a60a8ff02569b886f5f3a6cca1ec484cdb3c17ac060942b93cb3e" : swiftCompilerSourceDigest(import.meta.dirname);
13047
13021
  function swiftArtifactHash(input, release, moduleRoot) {
13048
13022
  const hash = createHash13("sha256");
13049
13023
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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.2247 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2248 | (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;