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
  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.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;
@@ -1074,7 +1074,7 @@ function entrySource(ids) {
1074
1074
  ""
1075
1075
  ].join("\n");
1076
1076
  }
1077
- var BUILD_FORMAT = 20;
1077
+ var BUILD_FORMAT = 21;
1078
1078
  var builds = /* @__PURE__ */ new Map();
1079
1079
  function buildsDir() {
1080
1080
  return import_node_path7.default.join(kotlinHome(), "builds");
@@ -2050,6 +2050,7 @@ async function compileKotlin(input, origin) {
2050
2050
  "-Xpartial-linkage-loglevel=error",
2051
2051
  `-Xinclude=${import_node_path7.default.join(work, "klib")}`,
2052
2052
  "-Xir-produce-js",
2053
+ "-Xir-dce",
2053
2054
  "-ir-output-dir",
2054
2055
  import_node_path7.default.join(work, "js"),
2055
2056
  "-ir-output-name",
package/dist-lib/menu.cjs CHANGED
@@ -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;
package/dist-lib/menu.mjs CHANGED
@@ -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/menuContract.ts
4
4
  var SOOTSIM_ENGINE_EVENT_NAME = "sootsim:engine-event";
@@ -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/is-record.ts
4
4
  function isRecord(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 __create = Object.create;
@@ -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 __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __esm = (fn, res) => function __init() {
@@ -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;
@@ -1150,17 +1150,20 @@ async function installVerifiedTarballLocked(tarball, presentAtStart) {
1150
1150
  import_node_path7.default.join(import_node_path7.default.dirname(destDir), `.installing-${import_node_path7.default.basename(destDir)}-`)
1151
1151
  );
1152
1152
  try {
1153
- await downloadToFile(url, archivePath, signal);
1154
- const actual = await digestFile(
1155
- archivePath,
1156
- digest.algorithm,
1157
- digest.encoding,
1158
- signal
1159
- );
1160
- if (actual !== digest.value) {
1161
- throw new Error(
1162
- `${digest.algorithm} mismatch for ${label}: expected ${digest.value}, actual ${actual}`
1153
+ for (let attempt = 1; ; attempt++) {
1154
+ await downloadToFile(url, archivePath, signal);
1155
+ const actual = await digestFile(
1156
+ archivePath,
1157
+ digest.algorithm,
1158
+ digest.encoding,
1159
+ signal
1163
1160
  );
1161
+ if (actual === digest.value) break;
1162
+ if (attempt >= 2) {
1163
+ throw new Error(
1164
+ `${digest.algorithm} mismatch for ${label}: expected ${digest.value}, actual ${actual}`
1165
+ );
1166
+ }
1164
1167
  }
1165
1168
  const { pathname } = new URL(url);
1166
1169
  if (pathname.endsWith(".zip")) await extractZip(archivePath, tmpDir, signal);
@@ -1211,27 +1214,80 @@ async function installVerifiedTarballLocked(tarball, presentAtStart) {
1211
1214
  function isErrnoCode(err, ...codes) {
1212
1215
  return err instanceof Error && "code" in err && codes.includes(String(err.code));
1213
1216
  }
1217
+ async function waitRetryDelay(ms, signal) {
1218
+ signal?.throwIfAborted();
1219
+ await new Promise((resolve4, reject) => {
1220
+ const onAbort = () => {
1221
+ clearTimeout(timer);
1222
+ const reason = signal?.reason;
1223
+ reject(
1224
+ reason instanceof Error ? reason : new Error("Download canceled", { cause: reason })
1225
+ );
1226
+ };
1227
+ const timer = setTimeout(() => {
1228
+ signal?.removeEventListener("abort", onAbort);
1229
+ resolve4();
1230
+ }, ms);
1231
+ signal?.addEventListener("abort", onAbort, { once: true });
1232
+ });
1233
+ }
1214
1234
  async function downloadToFile(url, destPath, signal) {
1215
- const res = await fetch(url, { signal });
1216
- if (!res.ok || !res.body) {
1217
- throw new Error(`download failed: ${res.status} ${res.statusText} (${url})`);
1218
- }
1219
1235
  import_node_fs9.default.mkdirSync(import_node_path7.default.dirname(destPath), { recursive: true });
1220
1236
  const tmp = `${destPath}.partial`;
1221
- try {
1222
- await (0, import_promises2.pipeline)(
1223
- import_node_stream2.Readable.fromWeb(res.body),
1224
- import_node_fs9.default.createWriteStream(tmp),
1225
- { signal }
1226
- );
1237
+ for (let attempt = 1; attempt <= 4; attempt++) {
1227
1238
  signal?.throwIfAborted();
1228
- import_node_fs9.default.renameSync(tmp, destPath);
1229
- } catch (err) {
1239
+ let reader;
1240
+ let handle;
1241
+ let completed = false;
1230
1242
  try {
1231
- import_node_fs9.default.unlinkSync(tmp);
1232
- } catch {
1243
+ const res = await fetch(url, { signal });
1244
+ if (!res.ok || !res.body) {
1245
+ throw new DownloadHttpError(res.status, res.statusText, url);
1246
+ }
1247
+ reader = res.body.getReader();
1248
+ handle = await import_node_fs9.default.promises.open(tmp, "w");
1249
+ let written = 0;
1250
+ for (; ; ) {
1251
+ signal?.throwIfAborted();
1252
+ const { done, value } = await reader.read();
1253
+ if (done) break;
1254
+ let offset = 0;
1255
+ while (offset < value.byteLength) {
1256
+ const { bytesWritten } = await handle.write(
1257
+ value,
1258
+ offset,
1259
+ value.byteLength - offset
1260
+ );
1261
+ offset += bytesWritten;
1262
+ }
1263
+ written += value.byteLength;
1264
+ }
1265
+ await handle.close();
1266
+ handle = void 0;
1267
+ if (!res.headers.get("content-encoding")) {
1268
+ const header = res.headers.get("content-length");
1269
+ const expected = header ? Number(header) : Number.NaN;
1270
+ if (Number.isFinite(expected) && expected > 0 && written !== expected) {
1271
+ throw new Error(`incomplete download (${written}/${expected} bytes): ${url}`);
1272
+ }
1273
+ }
1274
+ signal?.throwIfAborted();
1275
+ import_node_fs9.default.renameSync(tmp, destPath);
1276
+ completed = true;
1277
+ return;
1278
+ } catch (err) {
1279
+ if (handle) await handle.close().catch(() => {
1280
+ });
1281
+ if (reader && !completed) await reader.cancel().catch(() => {
1282
+ });
1283
+ try {
1284
+ import_node_fs9.default.unlinkSync(tmp);
1285
+ } catch {
1286
+ }
1287
+ const nonRetryable = err instanceof DownloadHttpError && !err.retryable;
1288
+ if (signal?.aborted || nonRetryable || attempt === 4) throw err;
1289
+ await waitRetryDelay(250 * attempt, signal);
1233
1290
  }
1234
- throw err;
1235
1291
  }
1236
1292
  }
1237
1293
  async function digestFile(filePath, algorithm, encoding, signal) {
@@ -1309,7 +1365,7 @@ async function runExtractor(command, args, signal, input) {
1309
1365
  await stopping;
1310
1366
  }
1311
1367
  }
1312
- var import_node_child_process5, import_node_crypto2, import_node_fs9, import_node_os3, import_node_path7, import_node_stream2, import_promises2, import_node_zlib, DEFAULT_LOCAL_RUNTIME_RETENTION_COUNT;
1368
+ var import_node_child_process5, import_node_crypto2, import_node_fs9, import_node_os3, import_node_path7, import_promises2, import_node_zlib, DEFAULT_LOCAL_RUNTIME_RETENTION_COUNT, DownloadHttpError;
1313
1369
  var init_src = __esm({
1314
1370
  "../contrast-runtime-delivery/src/index.ts"() {
1315
1371
  "use strict";
@@ -1318,7 +1374,6 @@ var init_src = __esm({
1318
1374
  import_node_fs9 = __toESM(require("node:fs"), 1);
1319
1375
  import_node_os3 = __toESM(require("node:os"), 1);
1320
1376
  import_node_path7 = __toESM(require("node:path"), 1);
1321
- import_node_stream2 = require("node:stream");
1322
1377
  import_promises2 = require("node:stream/promises");
1323
1378
  import_node_zlib = __toESM(require("node:zlib"), 1);
1324
1379
  init_process_group();
@@ -1326,6 +1381,13 @@ var init_src = __esm({
1326
1381
  init_packs();
1327
1382
  init_product();
1328
1383
  DEFAULT_LOCAL_RUNTIME_RETENTION_COUNT = 2;
1384
+ DownloadHttpError = class extends Error {
1385
+ retryable;
1386
+ constructor(status, statusText, url) {
1387
+ super(`download failed: ${status} ${statusText} (${url})`);
1388
+ this.retryable = status < 400 || status >= 500 || status === 408 || status === 429;
1389
+ }
1390
+ };
1329
1391
  }
1330
1392
  });
1331
1393
 
@@ -6329,6 +6391,7 @@ var config_exports = {};
6329
6391
  __export(config_exports, {
6330
6392
  PEACH_CONFIGURED_FILES_HOOK: () => PEACH_CONFIGURED_FILES_HOOK,
6331
6393
  PEACH_CONFIG_QUERY_PARAM: () => PEACH_CONFIG_QUERY_PARAM,
6394
+ PEACH_WORKSPACE_MODULE_MARKER: () => PEACH_WORKSPACE_MODULE_MARKER,
6332
6395
  applyPeachConfigToUrl: () => applyPeachConfigToUrl,
6333
6396
  collectConfiguredFileModules: () => collectConfiguredFileModules,
6334
6397
  createPeachBundleConfigFooter: () => createPeachBundleConfigFooter,
@@ -6337,6 +6400,7 @@ __export(config_exports, {
6337
6400
  hasPeachConfig: () => hasPeachConfig,
6338
6401
  isPackageStubs: () => isPackageStubs,
6339
6402
  isPeachConfig: () => isPeachConfig,
6403
+ matchConfigModule: () => matchConfigModule,
6340
6404
  mergePeachConfig: () => mergePeachConfig,
6341
6405
  readNativeRenderer: () => readNativeRenderer,
6342
6406
  readPeachBundleConfig: () => readPeachBundleConfig,
@@ -6348,6 +6412,16 @@ function readNativeRenderer(value) {
6348
6412
  if (value === "paper" || value === "fabric") return value;
6349
6413
  throw new Error("nativeRenderer must be paper or fabric");
6350
6414
  }
6415
+ function matchConfigModule(name2, modules) {
6416
+ const entries = Object.entries(modules).sort((a, b) => b[0].length - a[0].length);
6417
+ const modulePath = name2.startsWith("/") ? name2 : `/${name2}`;
6418
+ for (const [pattern, resolution] of entries) {
6419
+ if (modulePath.includes(`/${pattern}/`) || modulePath.endsWith(`/${pattern}`) || modulePath.endsWith(`/${pattern}.js`) || modulePath.endsWith(`/${pattern}.ts`) || modulePath.endsWith(`/${pattern}.tsx`)) {
6420
+ return { pattern, resolution };
6421
+ }
6422
+ }
6423
+ return void 0;
6424
+ }
6351
6425
  function isHybridObjectAnswer(answer) {
6352
6426
  return answer === "unsupported" || isRecord(answer) && typeof answer.file === "string" && answer.file.length > 0;
6353
6427
  }
@@ -6504,7 +6578,7 @@ function applyPeachConfigToUrl(url, config) {
6504
6578
  }
6505
6579
  return parsed.toString();
6506
6580
  }
6507
- var PEACH_CONFIG_QUERY_PARAM, BUNDLE_CONFIG_PREFIX, PEACH_CONFIGURED_FILES_HOOK;
6581
+ var PEACH_WORKSPACE_MODULE_MARKER, PEACH_CONFIG_QUERY_PARAM, BUNDLE_CONFIG_PREFIX, PEACH_CONFIGURED_FILES_HOOK;
6508
6582
  var init_config = __esm({
6509
6583
  "src/config.ts"() {
6510
6584
  "use strict";
@@ -6512,6 +6586,7 @@ var init_config = __esm({
6512
6586
  init_bundle_global_footer();
6513
6587
  init_is_record();
6514
6588
  init_nativeViewSourceContract();
6589
+ PEACH_WORKSPACE_MODULE_MARKER = "__peach_workspace_module";
6515
6590
  PEACH_CONFIG_QUERY_PARAM = "peachConfig";
6516
6591
  BUNDLE_CONFIG_PREFIX = "globalThis.__peachBundleConfig=";
6517
6592
  PEACH_CONFIGURED_FILES_HOOK = "__peachInstallConfiguredFiles";
@@ -6560,7 +6635,7 @@ function nodeHttpFetch(url, init = {}, redirects = 0) {
6560
6635
  if (coding === "br") decoder = import_node_zlib3.default.createBrotliDecompress();
6561
6636
  else if (coding === "deflate") {
6562
6637
  let inner;
6563
- decoder = new import_node_stream3.Transform({
6638
+ decoder = new import_node_stream2.Transform({
6564
6639
  transform(chunk, _encoding, done) {
6565
6640
  if (!inner) {
6566
6641
  inner = (chunk[0] & 15) === 8 ? import_node_zlib3.default.createInflate(TRUNCATION_TOLERANT) : import_node_zlib3.default.createInflateRaw(TRUNCATION_TOLERANT);
@@ -6580,7 +6655,7 @@ function nodeHttpFetch(url, init = {}, redirects = 0) {
6580
6655
  }
6581
6656
  });
6582
6657
  } else decoder = import_node_zlib3.default.createGunzip(TRUNCATION_TOLERANT);
6583
- source = (0, import_node_stream3.pipeline)(source, decoder, () => {
6658
+ source = (0, import_node_stream2.pipeline)(source, decoder, () => {
6584
6659
  });
6585
6660
  }
6586
6661
  }
@@ -6608,13 +6683,13 @@ function nodeHttpFetch(url, init = {}, redirects = 0) {
6608
6683
  req.end();
6609
6684
  });
6610
6685
  }
6611
- var import_node_http, import_node_https, import_node_stream3, import_node_zlib3, BODYLESS_STATUS, TRUNCATION_TOLERANT, MAX_REDIRECTS, DECODABLE_CODINGS;
6686
+ var import_node_http, import_node_https, import_node_stream2, import_node_zlib3, BODYLESS_STATUS, TRUNCATION_TOLERANT, MAX_REDIRECTS, DECODABLE_CODINGS;
6612
6687
  var init_node_http_fetch = __esm({
6613
6688
  "src/node-http-fetch.ts"() {
6614
6689
  "use strict";
6615
6690
  import_node_http = __toESM(require("node:http"), 1);
6616
6691
  import_node_https = __toESM(require("node:https"), 1);
6617
- import_node_stream3 = require("node:stream");
6692
+ import_node_stream2 = require("node:stream");
6618
6693
  import_node_zlib3 = __toESM(require("node:zlib"), 1);
6619
6694
  BODYLESS_STATUS = /* @__PURE__ */ new Set([101, 204, 205, 304]);
6620
6695
  TRUNCATION_TOLERANT = { finishFlush: import_node_zlib3.default.constants.Z_SYNC_FLUSH };
@@ -6627,7 +6702,7 @@ var init_node_http_fetch = __esm({
6627
6702
  var runtime_companion_default;
6628
6703
  var init_runtime_companion = __esm({
6629
6704
  "runtime-companion.json"() {
6630
- runtime_companion_default = { abi: 1, sha256: "3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3", file: "node/cli-3f866674ef9cb3c9dd8d40d8b28a4b9c1131b5c5f7fa6504651570ed7ce753a3.cjs" };
6705
+ runtime_companion_default = { abi: 1, sha256: "04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af", file: "node/cli-04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af.cjs" };
6631
6706
  }
6632
6707
  });
6633
6708
 
@@ -8051,7 +8126,7 @@ var init_app_stubs = __esm({
8051
8126
  }
8052
8127
  });
8053
8128
 
8054
- // cli/app-config.ts
8129
+ // src/app-config.ts
8055
8130
  var app_config_exports = {};
8056
8131
  __export(app_config_exports, {
8057
8132
  loadRNXAppConfig: () => loadRNXAppConfig,
@@ -8141,16 +8216,16 @@ async function resolveRNXAppConfig(startDir = process.cwd()) {
8141
8216
  }
8142
8217
  var import_node_fs26, import_node_path26, import_jiti, WIRE_SLOTS;
8143
8218
  var init_app_config = __esm({
8144
- "cli/app-config.ts"() {
8219
+ "src/app-config.ts"() {
8145
8220
  "use strict";
8146
8221
  import_node_fs26 = require("node:fs");
8147
8222
  import_node_path26 = __toESM(require("node:path"), 1);
8148
8223
  import_jiti = require("jiti");
8224
+ init_app_project();
8225
+ init_app_stubs();
8149
8226
  init_config();
8150
8227
  init_config();
8151
8228
  init_public_brand();
8152
- init_app_project();
8153
- init_app_stubs();
8154
8229
  WIRE_SLOTS = ["nativeModules", "turboModules", "nativeViews"];
8155
8230
  }
8156
8231
  });
@@ -8693,7 +8768,7 @@ var import_plist5 = __toESM(require("plist"), 1);
8693
8768
  init_answeredNativePackages();
8694
8769
 
8695
8770
  // src/swift-standin-digest.ts
8696
- var STANDIN_SOURCE_DIGEST = true ? "1f63cea9c23045599de30a6706e16844da16611e8d385fe31034727e8884380c" : standinSourceDigest();
8771
+ var STANDIN_SOURCE_DIGEST = true ? "0bea0db3fc851df03d0475b08467ddc87c88c06386031eaf991aa8ace6aab39f" : standinSourceDigest();
8697
8772
 
8698
8773
  // src/expo-native-workspace.ts
8699
8774
  init_detect();
@@ -10957,7 +11032,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
10957
11032
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
10958
11033
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
10959
11034
  ).join("");
10960
- var compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
11035
+ var compilerSourceDigest = true ? "7a3d4cb0dd1707b250c7820af78306aad350bdeea3ce3d4722e9e54ffbbf3817" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
10961
11036
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
10962
11037
  "CFAllocator",
10963
11038
  "CFArray",
@@ -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;
@@ -3405,7 +3405,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
3405
3405
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
3406
3406
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
3407
3407
  ).join("");
3408
- var compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
3408
+ var compilerSourceDigest = true ? "7a3d4cb0dd1707b250c7820af78306aad350bdeea3ce3d4722e9e54ffbbf3817" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
3409
3409
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
3410
3410
  "CFAllocator",
3411
3411
  "CFArray",
@@ -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 __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -3155,7 +3155,6 @@ import crypto from "node:crypto";
3155
3155
  import fs7 from "node:fs";
3156
3156
  import os2 from "node:os";
3157
3157
  import path10 from "node:path";
3158
- import { Readable } from "node:stream";
3159
3158
  import { pipeline as pipeline2 } from "node:stream/promises";
3160
3159
  import zlib2 from "node:zlib";
3161
3160
 
@@ -3633,7 +3632,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
3633
3632
  var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
3634
3633
  (module) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module}"`
3635
3634
  ).join("");
3636
- var compilerSourceDigest = true ? "a0acd3d55350e702b64da3ee739e811f7963210d0eb97002ee7d2214bb99e47c" : swiftCompilerSourceDigest(import.meta.dirname);
3635
+ var compilerSourceDigest = true ? "7a3d4cb0dd1707b250c7820af78306aad350bdeea3ce3d4722e9e54ffbbf3817" : swiftCompilerSourceDigest(import.meta.dirname);
3637
3636
  var CORE_FOUNDATION_HANDLE_IMPORTS = [
3638
3637
  "CFAllocator",
3639
3638
  "CFArray",
@@ -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
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -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
  // ../peach-globals/src/bundle-global-footer.ts
4
4
  function findBundleFooter(source, prefix) {
@@ -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/pdfium-raster.ts
4
4
  import { PDFiumLibrary } from "@hyzyla/pdfium/inline";
@@ -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;
@@ -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/plist.ts
4
4
  import plist from "plist";
@@ -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;
@@ -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;