peachsim 0.1.2252 → 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.
- package/cli/commands/compat.ts +1 -1
- package/cli/commands/control.ts +1 -1
- package/cli/commands/package.ts +1 -1
- package/cli/commands/runtime.ts +1 -1
- package/cli/commands/upgrade.ts +2 -5
- package/cli/commands/version.ts +1 -1
- package/cli/native-input.ts +1 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +2927 -2218
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +16 -1
- package/dist-lib/config.mjs +14 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +3110 -2402
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +2995 -2275
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +2785 -2643
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +3 -2
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +126 -42
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -3
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +126 -114
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +3454 -2736
- package/dist-lib/swift-compile.cjs +97 -31
- package/dist-lib/swift-compile.mjs +100 -31
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +2203 -1517
- package/dist-lib/vite.cjs +4804 -3498
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +33 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +11 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/wasm/include/__typedef_time_t.h +5 -0
- package/sdk/ios/wasm/include/ifaddrs.h +75 -0
- package/sdk/ios/wasm/include/machine/_types.h +1 -1
- package/sdk/ios/wasm/include/pthread.h +4 -0
- package/sdk/ios/wasm/include/unistd.h +2 -0
- package/{cli → src}/app-config.ts +5 -5
- package/src/bundle-channel.mjs +1 -1
- package/src/config.ts +29 -0
- package/src/core-data-entity-classes.ts +2 -2
- package/src/core-data-model.ts +681 -0
- package/src/expo-swift-host.ts +1 -1
- package/src/kotlin-host.ts +2 -1
- package/src/metro-plugin.ts +1 -3
- package/src/nitro-adapter.lock.json +236 -236
- package/src/nitro-bundle.ts +1 -1
- package/src/nitro-superset.lock.json +4 -4
- package/src/plist-bytes.ts +113 -0
- package/src/runtime-delivery.ts +3 -2
- package/src/swift-compile.ts +8 -1
- package/src/swift-distribution.lock.json +11 -11
- package/src/swift-guest-image-ledger.ts +2 -1
- package/src/swift-host.ts +18 -3
- package/src/turbo-bundle.ts +1 -1
- package/src/turbo-runtime.lock.json +20 -20
- package/src/vite-plugin-one.ts +68 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
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.
|
|
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;
|
package/dist-lib/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
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 =
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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() {
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
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
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1229
|
-
|
|
1239
|
+
let reader;
|
|
1240
|
+
let handle;
|
|
1241
|
+
let completed = false;
|
|
1230
1242
|
try {
|
|
1231
|
-
|
|
1232
|
-
|
|
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,
|
|
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
|
|
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,
|
|
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,
|
|
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
|
-
|
|
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,11 +6702,19 @@ 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: "
|
|
6705
|
+
runtime_companion_default = { abi: 1, sha256: "04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af", file: "node/cli-04d02b55743de5e2ad5423d864a6f1757158967c1a77df55455bb98d4d2435af.cjs" };
|
|
6631
6706
|
}
|
|
6632
6707
|
});
|
|
6633
6708
|
|
|
6634
6709
|
// src/cli-runtime.ts
|
|
6710
|
+
var cli_runtime_exports = {};
|
|
6711
|
+
__export(cli_runtime_exports, {
|
|
6712
|
+
CLI_COMPANION_ABI: () => CLI_COMPANION_ABI,
|
|
6713
|
+
cliCompanionPath: () => cliCompanionPath,
|
|
6714
|
+
ensureCliCompanion: () => ensureCliCompanion,
|
|
6715
|
+
getCliRuntime: () => getCliRuntime,
|
|
6716
|
+
verifyCliCompanion: () => verifyCliCompanion
|
|
6717
|
+
});
|
|
6635
6718
|
function cliCompanionPath() {
|
|
6636
6719
|
return `node/cli-${runtime_companion_default.sha256}.cjs`;
|
|
6637
6720
|
}
|
|
@@ -7213,7 +7296,6 @@ var init_runtime_delivery = __esm({
|
|
|
7213
7296
|
"src/runtime-delivery.ts"() {
|
|
7214
7297
|
"use strict";
|
|
7215
7298
|
init_src();
|
|
7216
|
-
init_cli_runtime();
|
|
7217
7299
|
init_home_paths();
|
|
7218
7300
|
init_public_brand();
|
|
7219
7301
|
DEFAULT_RUNTIME_CDN_ORIGIN = peachPublicBrand.origin;
|
|
@@ -7228,7 +7310,9 @@ var init_runtime_delivery = __esm({
|
|
|
7228
7310
|
// engine-tenant/ beneath it. index.html is what the daemon and the
|
|
7229
7311
|
// vite/metro plugins serve, so its absence means the tarball is not one.
|
|
7230
7312
|
installedMarker: "index.html",
|
|
7231
|
-
|
|
7313
|
+
// loaded on use: its companion identity is generated by the CLI build, and
|
|
7314
|
+
// source-tree hosts such as the recorder import this module without one
|
|
7315
|
+
verifyInstall: async (dir) => (await Promise.resolve().then(() => (init_cli_runtime(), cli_runtime_exports))).ensureCliCompanion(dir),
|
|
7232
7316
|
// canvaskit's ganesh backend is a runtime pack because a browser with WebGPU
|
|
7233
7317
|
// never runs it, but linux and CI browsers usually have no GPU and always do
|
|
7234
7318
|
afterInstall: async (dir) => {
|
|
@@ -8042,7 +8126,7 @@ var init_app_stubs = __esm({
|
|
|
8042
8126
|
}
|
|
8043
8127
|
});
|
|
8044
8128
|
|
|
8045
|
-
//
|
|
8129
|
+
// src/app-config.ts
|
|
8046
8130
|
var app_config_exports = {};
|
|
8047
8131
|
__export(app_config_exports, {
|
|
8048
8132
|
loadRNXAppConfig: () => loadRNXAppConfig,
|
|
@@ -8132,16 +8216,16 @@ async function resolveRNXAppConfig(startDir = process.cwd()) {
|
|
|
8132
8216
|
}
|
|
8133
8217
|
var import_node_fs26, import_node_path26, import_jiti, WIRE_SLOTS;
|
|
8134
8218
|
var init_app_config = __esm({
|
|
8135
|
-
"
|
|
8219
|
+
"src/app-config.ts"() {
|
|
8136
8220
|
"use strict";
|
|
8137
8221
|
import_node_fs26 = require("node:fs");
|
|
8138
8222
|
import_node_path26 = __toESM(require("node:path"), 1);
|
|
8139
8223
|
import_jiti = require("jiti");
|
|
8224
|
+
init_app_project();
|
|
8225
|
+
init_app_stubs();
|
|
8140
8226
|
init_config();
|
|
8141
8227
|
init_config();
|
|
8142
8228
|
init_public_brand();
|
|
8143
|
-
init_app_project();
|
|
8144
|
-
init_app_stubs();
|
|
8145
8229
|
WIRE_SLOTS = ["nativeModules", "turboModules", "nativeViews"];
|
|
8146
8230
|
}
|
|
8147
8231
|
});
|
|
@@ -8684,7 +8768,7 @@ var import_plist5 = __toESM(require("plist"), 1);
|
|
|
8684
8768
|
init_answeredNativePackages();
|
|
8685
8769
|
|
|
8686
8770
|
// src/swift-standin-digest.ts
|
|
8687
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
8771
|
+
var STANDIN_SOURCE_DIGEST = true ? "0bea0db3fc851df03d0475b08467ddc87c88c06386031eaf991aa8ace6aab39f" : standinSourceDigest();
|
|
8688
8772
|
|
|
8689
8773
|
// src/expo-native-workspace.ts
|
|
8690
8774
|
init_detect();
|
|
@@ -10948,7 +11032,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
10948
11032
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
10949
11033
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
10950
11034
|
).join("");
|
|
10951
|
-
var compilerSourceDigest = true ? "
|
|
11035
|
+
var compilerSourceDigest = true ? "7a3d4cb0dd1707b250c7820af78306aad350bdeea3ce3d4722e9e54ffbbf3817" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
10952
11036
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
10953
11037
|
"CFAllocator",
|
|
10954
11038
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
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 ? "
|
|
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.
|
|
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 ? "
|
|
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.
|
|
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.
|
|
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.
|
|
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/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
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;
|
package/dist-lib/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
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.
|
|
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;
|