peachsim 0.1.2130 → 0.1.2155
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/README.md +1 -1
- package/cli/app-fonts.ts +1 -1
- package/cli/app-stubs.ts +1 -1
- package/cli/cli-release-origin.ts +1 -0
- package/cli/cli-update.ts +1 -1
- package/cli/cloud-box-artifact.ts +1 -1
- package/cli/cloud-test-tunnel.ts +1 -1
- package/cli/commands/compat.ts +1 -1
- package/cli/commands/control.ts +2 -0
- package/cli/commands/coverage.ts +1 -1
- package/cli/commands/flow.ts +8 -1
- package/cli/commands/inspect/core.ts +25 -4
- package/cli/commands/package.ts +21 -12
- package/cli/commands/shell-url.ts +8 -3
- package/cli/commands/upgrade.ts +1 -1
- package/cli/drivers/linux-browser-libs.ts +1 -1
- package/cli/outbound-endpoints.ts +4 -0
- package/cli/remote-project-bundle.ts +2 -2
- package/detox/index.ts +12 -5
- 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 +1787 -1799
- 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 +2 -2
- package/dist-lib/config.mjs +2 -2
- package/dist-lib/detox/index.cjs +31 -8
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +33 -31
- package/dist-lib/expo-swift-metadata.cjs +10 -2
- package/dist-lib/expo-swift-metadata.mjs +9 -2
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +268 -241
- package/dist-lib/host/fetch-proxy-handler.cjs +459 -484
- 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 +266 -266
- 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 +1 -1
- 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 +2 -2
- package/dist-lib/metro-production-bundle.mjs +2 -2
- package/dist-lib/metro.cjs +320 -336
- package/dist-lib/native-app-identity-project.cjs +134 -159
- package/dist-lib/native-app-identity-project.mjs +428 -459
- package/dist-lib/native-app-identity.cjs +18 -18
- package/dist-lib/native-app-identity.mjs +18 -18
- package/dist-lib/native-firebase-metadata.cjs +2 -2
- package/dist-lib/native-firebase-metadata.mjs +2 -2
- 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 +32 -36
- package/dist-lib/public-origins-lib.json +135 -161
- 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 +2 -2
- package/dist-lib/sdk.cjs +20 -2
- package/dist-lib/sdk.mjs +20 -2
- package/dist-lib/skills.cjs +579 -529
- package/dist-lib/swift-compile.cjs +15 -6
- package/dist-lib/swift-compile.mjs +15 -6
- 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 +33 -37
- package/dist-lib/vite.cjs +745 -768
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-cookies.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/secureItemHostContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/expo-widgets-activityContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/map-command-channel.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/metro-bundle-metadata.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/one-native-contentContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/worklet-serialize.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-wire.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/package-versions.d.ts +16 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/androidAutolinkingContract.ts +1 -1
- package/src/androidRootModuleContract.ts +1 -1
- package/src/bundle-channel.mjs +1 -1
- package/src/config.ts +1 -1
- package/src/configured-bundle-producer.ts +1 -1
- package/src/expo-swift-host.ts +34 -4
- package/src/expoKotlinContract.ts +4 -1
- package/src/expoSwiftContract.ts +18 -4
- package/src/guest-bundle.ts +1 -1
- package/src/host/dev-server-package-versions.ts +1 -1
- package/src/host/fetch-proxy-handler.ts +1 -1
- package/src/installed-native-build-options.ts +2 -2
- package/src/installed-package-versions.ts +7 -7
- package/src/metro-plugin.ts +1 -1
- package/src/metro-production-bundle.ts +1 -1
- package/src/native-app-identity.ts +1 -1
- package/src/native-firebase-metadata.ts +1 -1
- package/src/nitro-adapter.lock.json +244 -244
- package/src/nitro-superset.lock.json +4 -4
- package/src/nitroContract.ts +1 -1
- package/src/oneSdkContract.ts +1 -1
- package/src/react-native-coverage/capability-reference-resolution.ts +4 -4
- package/src/storageSnapshotContract.ts +2 -2
- package/src/swift-compile.ts +17 -5
- package/src/swift-coverage/source.ts +1 -1
- package/src/swift-distribution.lock.json +8 -8
- package/src/turbo-runtime.lock.json +18 -18
- package/src/vite-plugin-one.ts +4 -4
- package/src/vite-plugin.ts +6 -6
- package/src/bundleGlobalFooter.ts +0 -137
- package/src/packageVersionsContract.ts +0 -131
- /package/dist-types/packages/{peach-compat/src/stubs → peach-engine/src/guest}/native-evaluation-lease.d.ts +0 -0
- /package/dist-types/packages/{peach-compat → peach-globals}/src/secure-item-store.d.ts +0 -0
- /package/dist-types/packages/{peach-compat/src/stubs → peach-kit/src}/ring-mode-state.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2155 | (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;
|
|
@@ -12454,7 +12454,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12454
12454
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12455
12455
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12456
12456
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12457
|
-
var compilerSourceDigest = true ? "
|
|
12457
|
+
var compilerSourceDigest = true ? "91c8105b0a382e74c2395d36f69294e1ec6afa3aa0b66c61b6b11e63e0dbe5d7" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12458
12458
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12459
12459
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12460
12460
|
hash.update(`swift-compile
|
|
@@ -16320,6 +16320,7 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
|
|
|
16320
16320
|
function mirrorTree2(source, target, skip) {
|
|
16321
16321
|
(0, import_node_fs25.mkdirSync)(target, { recursive: true });
|
|
16322
16322
|
const wanted = /* @__PURE__ */ new Set();
|
|
16323
|
+
let restructured = false;
|
|
16323
16324
|
for (const entry of (0, import_node_fs25.readdirSync)(source, { withFileTypes: true })) {
|
|
16324
16325
|
if (entry.name === skip) continue;
|
|
16325
16326
|
wanted.add(entry.name);
|
|
@@ -16331,9 +16332,10 @@ function mirrorTree2(source, target, skip) {
|
|
|
16331
16332
|
} catch (error) {
|
|
16332
16333
|
if (!vanished(error)) throw error;
|
|
16333
16334
|
}
|
|
16335
|
+
if (!existing) restructured = true;
|
|
16334
16336
|
if (entry.isDirectory()) {
|
|
16335
16337
|
if (existing && !existing.isDirectory()) (0, import_node_fs25.rmSync)(to, { force: true });
|
|
16336
|
-
mirrorTree2(from, to);
|
|
16338
|
+
if (mirrorTree2(from, to)) restructured = true;
|
|
16337
16339
|
} else if (entry.isSymbolicLink()) {
|
|
16338
16340
|
const link = (0, import_node_fs25.readlinkSync)(from);
|
|
16339
16341
|
if (existing?.isSymbolicLink() && (0, import_node_fs25.readlinkSync)(to) === link) continue;
|
|
@@ -16351,8 +16353,11 @@ function mirrorTree2(source, target, skip) {
|
|
|
16351
16353
|
}
|
|
16352
16354
|
}
|
|
16353
16355
|
for (const name2 of (0, import_node_fs25.readdirSync)(target))
|
|
16354
|
-
if (!wanted.has(name2) && name2 !== skip)
|
|
16356
|
+
if (!wanted.has(name2) && name2 !== skip) {
|
|
16355
16357
|
(0, import_node_fs25.rmSync)(import_node_path27.default.join(target, name2), { recursive: true, force: true });
|
|
16358
|
+
restructured = true;
|
|
16359
|
+
}
|
|
16360
|
+
return restructured;
|
|
16356
16361
|
}
|
|
16357
16362
|
function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
16358
16363
|
if (!slot) return moduleRoot;
|
|
@@ -16360,11 +16365,15 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
|
16360
16365
|
const stagedModule = import_node_path27.default.join(staged, "packages", import_node_path27.default.basename(moduleRoot));
|
|
16361
16366
|
if (swiftFrameworkSlotKey(slot) !== frameworkKey) {
|
|
16362
16367
|
(0, import_node_fs25.rmSync)(import_node_path27.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
16363
|
-
mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
16364
|
-
mirrorTree2(
|
|
16368
|
+
const moduleRestructured = mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
16369
|
+
const sdkRestructured = mirrorTree2(
|
|
16365
16370
|
swiftSharedSdkRoot(moduleRoot, false),
|
|
16366
16371
|
import_node_path27.default.join(staged, "packages/peachsim/sdk/ios")
|
|
16367
16372
|
);
|
|
16373
|
+
if (moduleRestructured || sdkRestructured) {
|
|
16374
|
+
(0, import_node_fs25.rmSync)(import_node_path27.default.join(slot, "release.yaml"), { force: true });
|
|
16375
|
+
(0, import_node_fs25.rmSync)(import_node_path27.default.join(slot, "release", "description.json"), { force: true });
|
|
16376
|
+
}
|
|
16368
16377
|
for (const file of swiftModuleInputFiles(moduleRoot)) {
|
|
16369
16378
|
if (!file.startsWith("../")) continue;
|
|
16370
16379
|
const from = import_node_path27.default.resolve(moduleRoot, file);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2155 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -12434,7 +12434,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12434
12434
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12435
12435
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12436
12436
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12437
|
-
var compilerSourceDigest = true ? "
|
|
12437
|
+
var compilerSourceDigest = true ? "91c8105b0a382e74c2395d36f69294e1ec6afa3aa0b66c61b6b11e63e0dbe5d7" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12438
12438
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12439
12439
|
const hash = createHash13("sha256");
|
|
12440
12440
|
hash.update(`swift-compile
|
|
@@ -16300,6 +16300,7 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
|
|
|
16300
16300
|
function mirrorTree2(source, target, skip) {
|
|
16301
16301
|
mkdirSync6(target, { recursive: true });
|
|
16302
16302
|
const wanted = /* @__PURE__ */ new Set();
|
|
16303
|
+
let restructured = false;
|
|
16303
16304
|
for (const entry of readdirSync8(source, { withFileTypes: true })) {
|
|
16304
16305
|
if (entry.name === skip) continue;
|
|
16305
16306
|
wanted.add(entry.name);
|
|
@@ -16311,9 +16312,10 @@ function mirrorTree2(source, target, skip) {
|
|
|
16311
16312
|
} catch (error) {
|
|
16312
16313
|
if (!vanished(error)) throw error;
|
|
16313
16314
|
}
|
|
16315
|
+
if (!existing) restructured = true;
|
|
16314
16316
|
if (entry.isDirectory()) {
|
|
16315
16317
|
if (existing && !existing.isDirectory()) rmSync6(to, { force: true });
|
|
16316
|
-
mirrorTree2(from, to);
|
|
16318
|
+
if (mirrorTree2(from, to)) restructured = true;
|
|
16317
16319
|
} else if (entry.isSymbolicLink()) {
|
|
16318
16320
|
const link = readlinkSync(from);
|
|
16319
16321
|
if (existing?.isSymbolicLink() && readlinkSync(to) === link) continue;
|
|
@@ -16331,8 +16333,11 @@ function mirrorTree2(source, target, skip) {
|
|
|
16331
16333
|
}
|
|
16332
16334
|
}
|
|
16333
16335
|
for (const name2 of readdirSync8(target))
|
|
16334
|
-
if (!wanted.has(name2) && name2 !== skip)
|
|
16336
|
+
if (!wanted.has(name2) && name2 !== skip) {
|
|
16335
16337
|
rmSync6(path27.join(target, name2), { recursive: true, force: true });
|
|
16338
|
+
restructured = true;
|
|
16339
|
+
}
|
|
16340
|
+
return restructured;
|
|
16336
16341
|
}
|
|
16337
16342
|
function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
16338
16343
|
if (!slot) return moduleRoot;
|
|
@@ -16340,11 +16345,15 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
|
16340
16345
|
const stagedModule = path27.join(staged, "packages", path27.basename(moduleRoot));
|
|
16341
16346
|
if (swiftFrameworkSlotKey(slot) !== frameworkKey) {
|
|
16342
16347
|
rmSync6(path27.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
16343
|
-
mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
16344
|
-
mirrorTree2(
|
|
16348
|
+
const moduleRestructured = mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
16349
|
+
const sdkRestructured = mirrorTree2(
|
|
16345
16350
|
swiftSharedSdkRoot(moduleRoot, false),
|
|
16346
16351
|
path27.join(staged, "packages/peachsim/sdk/ios")
|
|
16347
16352
|
);
|
|
16353
|
+
if (moduleRestructured || sdkRestructured) {
|
|
16354
|
+
rmSync6(path27.join(slot, "release.yaml"), { force: true });
|
|
16355
|
+
rmSync6(path27.join(slot, "release", "description.json"), { force: true });
|
|
16356
|
+
}
|
|
16348
16357
|
for (const file of swiftModuleInputFiles(moduleRoot)) {
|
|
16349
16358
|
if (!file.startsWith("../")) continue;
|
|
16350
16359
|
const from = path27.resolve(moduleRoot, file);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2155 | (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.2155 | (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.2155 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2155 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2155 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "65a0698bf022ace2f4254f3f891828dedf403d61c102238e242084a2279e04eb", "home-paths.ts": "783c20faf3235e3fc1846b056d788f29d9bfdfc946822b62acf722341b3a10fd", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "5f41cd0bd86cb0cffbfb0047348b963f81d5e51cb0e8dd574c739b1a27aa56de", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -15371,7 +15371,7 @@ var import_node_zlib2 = require("node:zlib");
|
|
|
15371
15371
|
// ../sootsim-swift/src/icuData.ts
|
|
15372
15372
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
15373
15373
|
|
|
15374
|
-
// ../peach-
|
|
15374
|
+
// ../peach-kit/src/wasm-memory.ts
|
|
15375
15375
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
15376
15376
|
|
|
15377
15377
|
// ../sootsim-swift/src/icuData.ts
|
|
@@ -17026,7 +17026,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
17026
17026
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
17027
17027
|
var MULTI_MANIFEST_VERSION = 68;
|
|
17028
17028
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
17029
|
-
var compilerSourceDigest = true ? "
|
|
17029
|
+
var compilerSourceDigest = true ? "91c8105b0a382e74c2395d36f69294e1ec6afa3aa0b66c61b6b11e63e0dbe5d7" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
17030
17030
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
17031
17031
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
17032
17032
|
hash.update(`swift-compile
|
|
@@ -20799,6 +20799,7 @@ async function withSwiftFrameworkSlot(frameworkKey, moduleRoot, signal, work) {
|
|
|
20799
20799
|
function mirrorTree2(source, target, skip) {
|
|
20800
20800
|
(0, import_node_fs27.mkdirSync)(target, { recursive: true });
|
|
20801
20801
|
const wanted = /* @__PURE__ */ new Set();
|
|
20802
|
+
let restructured = false;
|
|
20802
20803
|
for (const entry of (0, import_node_fs27.readdirSync)(source, { withFileTypes: true })) {
|
|
20803
20804
|
if (entry.name === skip) continue;
|
|
20804
20805
|
wanted.add(entry.name);
|
|
@@ -20810,9 +20811,10 @@ function mirrorTree2(source, target, skip) {
|
|
|
20810
20811
|
} catch (error) {
|
|
20811
20812
|
if (!vanished(error)) throw error;
|
|
20812
20813
|
}
|
|
20814
|
+
if (!existing) restructured = true;
|
|
20813
20815
|
if (entry.isDirectory()) {
|
|
20814
20816
|
if (existing && !existing.isDirectory()) (0, import_node_fs27.rmSync)(to, { force: true });
|
|
20815
|
-
mirrorTree2(from, to);
|
|
20817
|
+
if (mirrorTree2(from, to)) restructured = true;
|
|
20816
20818
|
} else if (entry.isSymbolicLink()) {
|
|
20817
20819
|
const link = (0, import_node_fs27.readlinkSync)(from);
|
|
20818
20820
|
if (existing?.isSymbolicLink() && (0, import_node_fs27.readlinkSync)(to) === link) continue;
|
|
@@ -20830,8 +20832,11 @@ function mirrorTree2(source, target, skip) {
|
|
|
20830
20832
|
}
|
|
20831
20833
|
}
|
|
20832
20834
|
for (const name3 of (0, import_node_fs27.readdirSync)(target))
|
|
20833
|
-
if (!wanted.has(name3) && name3 !== skip)
|
|
20835
|
+
if (!wanted.has(name3) && name3 !== skip) {
|
|
20834
20836
|
(0, import_node_fs27.rmSync)(import_node_path27.default.join(target, name3), { recursive: true, force: true });
|
|
20837
|
+
restructured = true;
|
|
20838
|
+
}
|
|
20839
|
+
return restructured;
|
|
20835
20840
|
}
|
|
20836
20841
|
function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
20837
20842
|
if (!slot) return moduleRoot;
|
|
@@ -20839,11 +20844,15 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
|
20839
20844
|
const stagedModule = import_node_path27.default.join(staged, "packages", import_node_path27.default.basename(moduleRoot));
|
|
20840
20845
|
if (swiftFrameworkSlotKey(slot) !== frameworkKey) {
|
|
20841
20846
|
(0, import_node_fs27.rmSync)(import_node_path27.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
20842
|
-
mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
20843
|
-
mirrorTree2(
|
|
20847
|
+
const moduleRestructured = mirrorTree2(moduleRoot, stagedModule, ".build");
|
|
20848
|
+
const sdkRestructured = mirrorTree2(
|
|
20844
20849
|
swiftSharedSdkRoot(moduleRoot, false),
|
|
20845
20850
|
import_node_path27.default.join(staged, "packages/peachsim/sdk/ios")
|
|
20846
20851
|
);
|
|
20852
|
+
if (moduleRestructured || sdkRestructured) {
|
|
20853
|
+
(0, import_node_fs27.rmSync)(import_node_path27.default.join(slot, "release.yaml"), { force: true });
|
|
20854
|
+
(0, import_node_fs27.rmSync)(import_node_path27.default.join(slot, "release", "description.json"), { force: true });
|
|
20855
|
+
}
|
|
20847
20856
|
for (const file of swiftModuleInputFiles(moduleRoot)) {
|
|
20848
20857
|
if (!file.startsWith("../")) continue;
|
|
20849
20858
|
const from = import_node_path27.default.resolve(moduleRoot, file);
|
|
@@ -22731,7 +22740,7 @@ init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
|
22731
22740
|
// src/native-app-identity.ts
|
|
22732
22741
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
22733
22742
|
|
|
22734
|
-
// src/
|
|
22743
|
+
// ../peach-globals/src/bundle-global-footer.ts
|
|
22735
22744
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
22736
22745
|
|
|
22737
22746
|
// src/nativeAppIconContract.ts
|
|
@@ -24324,35 +24333,9 @@ var import_node_child_process20 = require("node:child_process");
|
|
|
24324
24333
|
var import_node_fs33 = require("node:fs");
|
|
24325
24334
|
var import_node_path33 = require("node:path");
|
|
24326
24335
|
|
|
24327
|
-
// cli/cli-
|
|
24328
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
24329
|
-
|
|
24330
|
-
// src/automatic-update-policy.ts
|
|
24331
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
24332
|
-
|
|
24333
|
-
// src/cli-version.ts
|
|
24334
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
24335
|
-
|
|
24336
|
-
// src/public-brand.ts
|
|
24336
|
+
// cli/cli-release-origin.ts
|
|
24337
24337
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
24338
|
-
var name2 = "Peach";
|
|
24339
|
-
var peachPublicBrand = Object.freeze({
|
|
24340
|
-
name: name2,
|
|
24341
|
-
packageName: "peachsim",
|
|
24342
|
-
commandName: "peach",
|
|
24343
|
-
domain: "peachsim.com",
|
|
24344
|
-
origin: "https://peachsim.com",
|
|
24345
|
-
boxOrigin: "https://rnx-box.contrast.dev"
|
|
24346
|
-
});
|
|
24347
|
-
var rnxPublicBrand = peachPublicBrand;
|
|
24348
|
-
|
|
24349
|
-
// cli/commands/inspect/env.ts
|
|
24350
|
-
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
24351
|
-
|
|
24352
|
-
// cli/cli-update.ts
|
|
24353
24338
|
var DEFAULT_CLI_RELEASE_ORIGIN = "https://r2.rnxsim.com/rnx-cli";
|
|
24354
|
-
var CLI_UPDATE_CHECK_INTERVAL_MS = 20 * 60 * 60 * 1e3;
|
|
24355
|
-
var CLI_UPDATE_NOTIFICATION_COOLDOWN_MS = 7 * 24 * 60 * 60 * 1e3;
|
|
24356
24339
|
|
|
24357
24340
|
// cli/drivers/linux-browser-libs.lock.json
|
|
24358
24341
|
var linux_browser_libs_lock_default = {
|
|
@@ -30125,7 +30108,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
30125
30108
|
return hash.digest("hex");
|
|
30126
30109
|
}
|
|
30127
30110
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
30128
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
30111
|
+
var STANDIN_SOURCE_DIGEST = true ? "b907e67a4a7c7d3e52e4ce9d48391c83bd5c6b4d3689f58b96f42435e285522e" : standinSourceDigest();
|
|
30129
30112
|
|
|
30130
30113
|
// src/swift-standins.ts
|
|
30131
30114
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -34733,6 +34716,19 @@ var import_node_fs50 = require("node:fs");
|
|
|
34733
34716
|
var import_node_path51 = require("node:path");
|
|
34734
34717
|
var import_node_url2 = require("node:url");
|
|
34735
34718
|
|
|
34719
|
+
// src/public-brand.ts
|
|
34720
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
34721
|
+
var name2 = "Peach";
|
|
34722
|
+
var peachPublicBrand = Object.freeze({
|
|
34723
|
+
name: name2,
|
|
34724
|
+
packageName: "peachsim",
|
|
34725
|
+
commandName: "peach",
|
|
34726
|
+
domain: "peachsim.com",
|
|
34727
|
+
origin: "https://peachsim.com",
|
|
34728
|
+
boxOrigin: "https://rnx-box.contrast.dev"
|
|
34729
|
+
});
|
|
34730
|
+
var rnxPublicBrand = peachPublicBrand;
|
|
34731
|
+
|
|
34736
34732
|
// cli/standalone.ts
|
|
34737
34733
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
34738
34734
|
var IS_STANDALONE = typeof __SOOTSIM_STANDALONE__ !== "undefined" && __SOOTSIM_STANDALONE__;
|