peachsim 0.1.2253 → 0.1.2255

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 (119) hide show
  1. package/cli/commands/compat.ts +1 -1
  2. package/cli/commands/control.ts +1 -1
  3. package/cli/commands/package.ts +1 -1
  4. package/cli/commands/runtime.ts +1 -1
  5. package/cli/commands/upgrade.ts +2 -5
  6. package/cli/commands/version.ts +1 -1
  7. package/cli/native-input.ts +1 -1
  8. package/dist-lib/agent-daemon-client.cjs +1 -1
  9. package/dist-lib/agent-events.cjs +1 -1
  10. package/dist-lib/attached-projects.cjs +1 -1
  11. package/dist-lib/auth/shared-session.cjs +1 -1
  12. package/dist-lib/backend-origin.cjs +1 -1
  13. package/dist-lib/beta.cjs +1 -1
  14. package/dist-lib/beta.mjs +1 -1
  15. package/dist-lib/bridge-constants.cjs +1 -1
  16. package/dist-lib/bridge-contract-input.cjs +1 -1
  17. package/dist-lib/bridge-contract-input.mjs +1 -1
  18. package/dist-lib/bridge-contract.cjs +1 -1
  19. package/dist-lib/bridge-contract.mjs +1 -1
  20. package/dist-lib/bundle-channel.cjs +2920 -2214
  21. package/dist-lib/capture-contract.cjs +1 -1
  22. package/dist-lib/capture-contract.mjs +1 -1
  23. package/dist-lib/cloud-contract.cjs +1 -1
  24. package/dist-lib/cloud-contract.mjs +1 -1
  25. package/dist-lib/cloud-test-args.cjs +1 -1
  26. package/dist-lib/cloud-test-args.mjs +1 -1
  27. package/dist-lib/cloud.cjs +1 -1
  28. package/dist-lib/cloud.mjs +1 -1
  29. package/dist-lib/config.cjs +16 -1
  30. package/dist-lib/config.mjs +14 -1
  31. package/dist-lib/detox/index.cjs +2 -2
  32. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  33. package/dist-lib/expo-swift-bundle.cjs +3103 -2398
  34. package/dist-lib/expo-swift-metadata.cjs +1 -1
  35. package/dist-lib/expo-swift-metadata.mjs +1 -1
  36. package/dist-lib/home-paths.cjs +1 -1
  37. package/dist-lib/host/bridge-host.cjs +2977 -2269
  38. package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
  39. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  40. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  41. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  42. package/dist-lib/host/websocket-proxy.cjs +1 -1
  43. package/dist-lib/index.cjs +2777 -2644
  44. package/dist-lib/jump-to-source-babel.cjs +1 -1
  45. package/dist-lib/jump-to-source-native.cjs +1 -1
  46. package/dist-lib/kotlin-host.cjs +3 -2
  47. package/dist-lib/menu.cjs +1 -1
  48. package/dist-lib/menu.mjs +1 -1
  49. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  50. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  51. package/dist-lib/metro-production-bundle.cjs +1 -1
  52. package/dist-lib/metro-production-bundle.mjs +1 -1
  53. package/dist-lib/metro.cjs +115 -40
  54. package/dist-lib/native-app-identity-project.cjs +2 -2
  55. package/dist-lib/native-app-identity-project.mjs +2 -3
  56. package/dist-lib/native-app-identity.cjs +1 -1
  57. package/dist-lib/native-app-identity.mjs +1 -1
  58. package/dist-lib/native-firebase-metadata.cjs +1 -1
  59. package/dist-lib/native-firebase-metadata.mjs +1 -1
  60. package/dist-lib/pdfium-raster.cjs +1 -1
  61. package/dist-lib/pdfium-raster.mjs +1 -1
  62. package/dist-lib/plist.cjs +1 -1
  63. package/dist-lib/plist.mjs +1 -1
  64. package/dist-lib/profiles.cjs +1 -1
  65. package/dist-lib/public-brand.cjs +1 -1
  66. package/dist-lib/public-origins-lib-esm.json +24 -24
  67. package/dist-lib/public-origins-lib.json +126 -114
  68. package/dist-lib/react-native-host-modules.cjs +1 -1
  69. package/dist-lib/react-native-host-modules.mjs +1 -1
  70. package/dist-lib/reap-browser.cjs +1 -1
  71. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  72. package/dist-lib/sdk.cjs +1 -1
  73. package/dist-lib/sdk.mjs +1 -1
  74. package/dist-lib/skills.cjs +3436 -2730
  75. package/dist-lib/swift-compile.cjs +94 -29
  76. package/dist-lib/swift-compile.mjs +97 -29
  77. package/dist-lib/swift-package.cjs +1 -1
  78. package/dist-lib/swift-package.mjs +1 -1
  79. package/dist-lib/swift-submit.cjs +1 -1
  80. package/dist-lib/swift-submit.mjs +1 -1
  81. package/dist-lib/swift-toolchain.cjs +1 -1
  82. package/dist-lib/swift.cjs +1 -1
  83. package/dist-lib/vite-swift.cjs +2197 -1514
  84. package/dist-lib/vite.cjs +4796 -3499
  85. package/dist-lib/worklet-executable.cjs +1 -1
  86. package/dist-lib/worklet-executable.mjs +1 -1
  87. package/dist-types/packages/peach-engine/src/config.d.ts +1 -1
  88. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
  89. package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
  90. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +33 -1
  91. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  92. package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +11 -0
  93. package/kotlin/sdk.tar.gz +0 -0
  94. package/package.json +1 -1
  95. package/runtime-companion.json +1 -1
  96. package/sdk/ios/wasm/include/__typedef_time_t.h +5 -0
  97. package/sdk/ios/wasm/include/ifaddrs.h +75 -0
  98. package/sdk/ios/wasm/include/machine/_types.h +1 -1
  99. package/sdk/ios/wasm/include/pthread.h +4 -0
  100. package/sdk/ios/wasm/include/unistd.h +2 -0
  101. package/{cli → src}/app-config.ts +5 -5
  102. package/src/bundle-channel.mjs +1 -1
  103. package/src/config.ts +29 -0
  104. package/src/core-data-entity-classes.ts +2 -2
  105. package/src/core-data-model.ts +681 -0
  106. package/src/expo-swift-host.ts +1 -1
  107. package/src/kotlin-host.ts +2 -1
  108. package/src/metro-plugin.ts +1 -3
  109. package/src/nitro-adapter.lock.json +236 -236
  110. package/src/nitro-bundle.ts +1 -1
  111. package/src/nitro-superset.lock.json +4 -4
  112. package/src/plist-bytes.ts +113 -0
  113. package/src/swift-compile.ts +2 -0
  114. package/src/swift-distribution.lock.json +11 -11
  115. package/src/swift-guest-image-ledger.ts +2 -1
  116. package/src/swift-host.ts +14 -2
  117. package/src/turbo-bundle.ts +1 -1
  118. package/src/turbo-runtime.lock.json +20 -20
  119. package/src/vite-plugin-one.ts +68 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 40761776;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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;
@@ -24,6 +24,7 @@ var config_exports = {};
24
24
  __export(config_exports, {
25
25
  PEACH_CONFIGURED_FILES_HOOK: () => PEACH_CONFIGURED_FILES_HOOK,
26
26
  PEACH_CONFIG_QUERY_PARAM: () => PEACH_CONFIG_QUERY_PARAM,
27
+ PEACH_WORKSPACE_MODULE_MARKER: () => PEACH_WORKSPACE_MODULE_MARKER,
27
28
  applyPeachConfigToUrl: () => applyPeachConfigToUrl,
28
29
  collectConfiguredFileModules: () => collectConfiguredFileModules,
29
30
  createPeachBundleConfigFooter: () => createPeachBundleConfigFooter,
@@ -32,6 +33,7 @@ __export(config_exports, {
32
33
  hasPeachConfig: () => hasPeachConfig,
33
34
  isPackageStubs: () => isPackageStubs,
34
35
  isPeachConfig: () => isPeachConfig,
36
+ matchConfigModule: () => matchConfigModule,
35
37
  mergePeachConfig: () => mergePeachConfig,
36
38
  readNativeRenderer: () => readNativeRenderer,
37
39
  readPeachBundleConfig: () => readPeachBundleConfig,
@@ -92,6 +94,17 @@ function readNativeRenderer(value) {
92
94
  if (value === "paper" || value === "fabric") return value;
93
95
  throw new Error("nativeRenderer must be paper or fabric");
94
96
  }
97
+ var PEACH_WORKSPACE_MODULE_MARKER = "__peach_workspace_module";
98
+ function matchConfigModule(name, modules) {
99
+ const entries = Object.entries(modules).sort((a, b) => b[0].length - a[0].length);
100
+ const modulePath = name.startsWith("/") ? name : `/${name}`;
101
+ for (const [pattern, resolution] of entries) {
102
+ if (modulePath.includes(`/${pattern}/`) || modulePath.endsWith(`/${pattern}`) || modulePath.endsWith(`/${pattern}.js`) || modulePath.endsWith(`/${pattern}.ts`) || modulePath.endsWith(`/${pattern}.tsx`)) {
103
+ return { pattern, resolution };
104
+ }
105
+ }
106
+ return void 0;
107
+ }
95
108
  function isHybridObjectAnswer(answer) {
96
109
  return answer === "unsupported" || isRecord(answer) && typeof answer.file === "string" && answer.file.length > 0;
97
110
  }
@@ -255,6 +268,7 @@ function applyPeachConfigToUrl(url, config) {
255
268
  0 && (module.exports = {
256
269
  PEACH_CONFIGURED_FILES_HOOK,
257
270
  PEACH_CONFIG_QUERY_PARAM,
271
+ PEACH_WORKSPACE_MODULE_MARKER,
258
272
  applyPeachConfigToUrl,
259
273
  collectConfiguredFileModules,
260
274
  createPeachBundleConfigFooter,
@@ -263,6 +277,7 @@ function applyPeachConfigToUrl(url, config) {
263
277
  hasPeachConfig,
264
278
  isPackageStubs,
265
279
  isPeachConfig,
280
+ matchConfigModule,
266
281
  mergePeachConfig,
267
282
  readNativeRenderer,
268
283
  readPeachBundleConfig,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // ../contrast-runtime-delivery/src/version.ts
4
4
  function isValidRuntimeVersion(value) {
@@ -52,6 +52,17 @@ function readNativeRenderer(value) {
52
52
  if (value === "paper" || value === "fabric") return value;
53
53
  throw new Error("nativeRenderer must be paper or fabric");
54
54
  }
55
+ var PEACH_WORKSPACE_MODULE_MARKER = "__peach_workspace_module";
56
+ function matchConfigModule(name, modules) {
57
+ const entries = Object.entries(modules).sort((a, b) => b[0].length - a[0].length);
58
+ const modulePath = name.startsWith("/") ? name : `/${name}`;
59
+ for (const [pattern, resolution] of entries) {
60
+ if (modulePath.includes(`/${pattern}/`) || modulePath.endsWith(`/${pattern}`) || modulePath.endsWith(`/${pattern}.js`) || modulePath.endsWith(`/${pattern}.ts`) || modulePath.endsWith(`/${pattern}.tsx`)) {
61
+ return { pattern, resolution };
62
+ }
63
+ }
64
+ return void 0;
65
+ }
55
66
  function isHybridObjectAnswer(answer) {
56
67
  return answer === "unsupported" || isRecord(answer) && typeof answer.file === "string" && answer.file.length > 0;
57
68
  }
@@ -214,6 +225,7 @@ function applyPeachConfigToUrl(url, config) {
214
225
  export {
215
226
  PEACH_CONFIGURED_FILES_HOOK,
216
227
  PEACH_CONFIG_QUERY_PARAM,
228
+ PEACH_WORKSPACE_MODULE_MARKER,
217
229
  applyPeachConfigToUrl,
218
230
  collectConfiguredFileModules,
219
231
  createPeachBundleConfigFooter,
@@ -222,6 +234,7 @@ export {
222
234
  hasPeachConfig,
223
235
  isPackageStubs,
224
236
  isPeachConfig,
237
+ matchConfigModule,
225
238
  mergePeachConfig,
226
239
  readNativeRenderer,
227
240
  readPeachBundleConfig,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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;
@@ -2475,7 +2475,7 @@ function isValidRuntimeVersion(value) {
2475
2475
  }
2476
2476
 
2477
2477
  // runtime-companion.json
2478
- var runtime_companion_default = { abi: 1, sha256: "3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3", file: "node/cli-3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3.cjs" };
2478
+ var runtime_companion_default = { abi: 1, sha256: "04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af", file: "node/cli-04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af.cjs" };
2479
2479
 
2480
2480
  // src/runtime-assets.ts
2481
2481
  var import_fs = __toESM(require("fs"), 1);
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2253 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2255 | (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;