peachsim 0.1.2218 → 0.1.2220
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/flow.ts +4 -0
- package/cli/maestro-compare.ts +37 -26
- package/cli/outbound-endpoints.ts +2 -2
- 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 +92 -22
- 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 +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +89 -19
- 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 +90 -20
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- 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 +3 -3
- 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 +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +53 -53
- 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 +90 -20
- package/dist-lib/swift-compile.cjs +14 -7
- package/dist-lib/swift-compile.mjs +14 -7
- 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 +87 -17
- package/dist-lib/vite.cjs +3 -3
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/swift-guest-runtime-plan.ts +13 -5
- package/src/swift-host.ts +84 -2
- package/src/swift-packages.ts +19 -10
- package/src/swift-standins.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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;
|
|
@@ -15955,6 +15955,9 @@ var init_swift_runtime_products = __esm({
|
|
|
15955
15955
|
});
|
|
15956
15956
|
|
|
15957
15957
|
// src/swift-guest-runtime-plan.ts
|
|
15958
|
+
function canonicalArchivePath(file) {
|
|
15959
|
+
return import_node_path35.default.join((0, import_node_fs38.realpathSync)(import_node_path35.default.dirname(file)), import_node_path35.default.basename(file));
|
|
15960
|
+
}
|
|
15958
15961
|
function sdkArtifactBytes(root, artifact) {
|
|
15959
15962
|
const file = import_node_path35.default.resolve(root, artifact.path);
|
|
15960
15963
|
const linked = (0, import_node_fs38.readFileSync)(file);
|
|
@@ -16060,7 +16063,7 @@ function guestRuntimeInputIdentities(options) {
|
|
|
16060
16063
|
];
|
|
16061
16064
|
add(file, JSON.stringify(identity2));
|
|
16062
16065
|
if (artifact.kind !== "archive") continue;
|
|
16063
|
-
for (const origin of origins.get(file) ?? [])
|
|
16066
|
+
for (const origin of origins.get(canonicalArchivePath(file)) ?? [])
|
|
16064
16067
|
add(
|
|
16065
16068
|
import_node_path35.default.resolve(origin.original),
|
|
16066
16069
|
JSON.stringify([...identity2, origin.member, origin.ordinal])
|
|
@@ -16133,7 +16136,8 @@ function guestRuntimeProductsForInputs(options) {
|
|
|
16133
16136
|
for (const { product, root } of options.products) {
|
|
16134
16137
|
byId.set(product.id, product);
|
|
16135
16138
|
for (const artifact of product.artifacts) {
|
|
16136
|
-
const
|
|
16139
|
+
const absolute = import_node_path35.default.resolve(root, artifact.path);
|
|
16140
|
+
const file = artifact.kind === "archive" ? canonicalArchivePath(absolute) : absolute;
|
|
16137
16141
|
const owners = byFile.get(file) ?? [];
|
|
16138
16142
|
owners.push({ id: product.id, artifact });
|
|
16139
16143
|
byFile.set(file, owners);
|
|
@@ -16165,7 +16169,9 @@ function guestRuntimeProductsForInputs(options) {
|
|
|
16165
16169
|
const file = original.get(import_node_path35.default.resolve(selection.artifact)) ?? import_node_path35.default.resolve(selection.artifact);
|
|
16166
16170
|
const origin = origins.get(file);
|
|
16167
16171
|
const archive = origin ? import_node_path35.default.resolve(origin.archive) : file;
|
|
16168
|
-
const records = byFile.get(
|
|
16172
|
+
const records = byFile.get(
|
|
16173
|
+
origin || selection.member !== null ? canonicalArchivePath(archive) : archive
|
|
16174
|
+
);
|
|
16169
16175
|
if (frameworkObjects.has(file)) {
|
|
16170
16176
|
if (frameworkId === null || !byId.has(frameworkId))
|
|
16171
16177
|
throw new Error(`framework runtime product has no producer record ${file}`);
|
|
@@ -16277,8 +16283,9 @@ function guestSdkProductLinkArtifacts(products, sdk, inputs, linkedArchives, rew
|
|
|
16277
16283
|
for (const { product, root } of products) {
|
|
16278
16284
|
for (const artifact of product.artifacts) {
|
|
16279
16285
|
const file = import_node_path35.default.resolve(root, artifact.path);
|
|
16280
|
-
const
|
|
16281
|
-
|
|
16286
|
+
const archive = artifact.kind === "archive" ? canonicalArchivePath(file) : null;
|
|
16287
|
+
const objects = archive !== null ? origins.filter(
|
|
16288
|
+
(origin) => import_node_path35.default.resolve(origin.archive) === archive && (!selectedObjects || selectedObjects.has(
|
|
16282
16289
|
import_node_path35.default.resolve(rewritten.get(origin.original) ?? origin.original)
|
|
16283
16290
|
))
|
|
16284
16291
|
) : [];
|
|
@@ -23926,7 +23933,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
23926
23933
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
23927
23934
|
MULTI_MANIFEST_VERSION = 68;
|
|
23928
23935
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
23929
|
-
compilerSourceDigest = true ? "
|
|
23936
|
+
compilerSourceDigest = true ? "0a0bc1c871aee83ea273120655f55a43ddccde646478a452b4c73d2daefd58c3" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
23930
23937
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
23931
23938
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
23932
23939
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -28046,7 +28053,7 @@ var init_swift_standin_digest = __esm({
|
|
|
28046
28053
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
28047
28054
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
28048
28055
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
28049
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
28056
|
+
STANDIN_SOURCE_DIGEST = true ? "c0f609da62368c513c186d23bc8aa8e450d27efae5b8c2e7cdf50d34fa734ff0" : standinSourceDigest();
|
|
28050
28057
|
}
|
|
28051
28058
|
});
|
|
28052
28059
|
|
|
@@ -28770,17 +28777,17 @@ function remoteSwiftCheckouts(root) {
|
|
|
28770
28777
|
import_node_fs68.default.mkdirSync(cacheDir(), { recursive: true });
|
|
28771
28778
|
return import_node_path66.default.join(import_node_fs68.default.realpathSync(cacheDir()), "swift-packages", key2, "checkouts");
|
|
28772
28779
|
}
|
|
28773
|
-
function unlowerableSources(files2, target) {
|
|
28780
|
+
function unlowerableSources(files2, target, portable) {
|
|
28774
28781
|
if (target.declaresWasiNativeSettings) return [];
|
|
28775
28782
|
return [
|
|
28776
|
-
...files2.filter((file) => UNSUPPORTED_NATIVE.test(file)),
|
|
28783
|
+
...portable.has(target.name) ? [] : files2.filter((file) => UNSUPPORTED_NATIVE.test(file)),
|
|
28777
28784
|
...files2.filter(isSwiftNativeTranslationUnit).filter((file) => swiftCTakesReturnAddress(import_node_fs68.default.readFileSync(file, "utf8")))
|
|
28778
28785
|
];
|
|
28779
28786
|
}
|
|
28780
|
-
function unloweredSources(files2, target) {
|
|
28787
|
+
function unloweredSources(files2, target, portable) {
|
|
28781
28788
|
if (target.type !== "regular") return null;
|
|
28782
28789
|
if (!files2.some(isSwiftNativeTranslationUnit)) return null;
|
|
28783
|
-
const unlowered = unlowerableSources(files2, target);
|
|
28790
|
+
const unlowered = unlowerableSources(files2, target, portable);
|
|
28784
28791
|
if (unlowered.length === 0) return null;
|
|
28785
28792
|
const headers = import_node_path66.default.resolve(target.dir, target.publicHeadersPath);
|
|
28786
28793
|
if (!files2.some((file) => file.startsWith(`${headers}${import_node_path66.default.sep}`) && file.endsWith(".h")))
|
|
@@ -28984,6 +28991,7 @@ async function resolveSwiftPackagesAsync(options) {
|
|
|
28984
28991
|
function resolveSwiftPackages(options) {
|
|
28985
28992
|
const { rootDir, resolved, products, localDirs } = options;
|
|
28986
28993
|
const providedTargets = new Set(options.provided ?? []);
|
|
28994
|
+
const portableAssembly = options.portableAssembly ?? /* @__PURE__ */ new Set();
|
|
28987
28995
|
const providedProducts = new Set(options.provided ?? []);
|
|
28988
28996
|
const result = {
|
|
28989
28997
|
sourceLinks: { targets: [], owners: [] },
|
|
@@ -29081,7 +29089,7 @@ function resolveSwiftPackages(options) {
|
|
|
29081
29089
|
if (target.type === "macro") return preservePackage(pkg, [name3], "host");
|
|
29082
29090
|
const files2 = target.type === "regular" || target.type === "system" ? swiftTargetFiles(pkg.manifest, target) : [];
|
|
29083
29091
|
const gap = options.binaryGaps?.get(name3);
|
|
29084
|
-
const unlowerable = unlowerableSources(files2, target);
|
|
29092
|
+
const unlowerable = unlowerableSources(files2, target, portableAssembly);
|
|
29085
29093
|
const placeholder = placeholderPackage(pkg);
|
|
29086
29094
|
const ownReason = target.type === "binary" ? `${name3} ${BINARY}${gap ? `; ${gap}` : ""}` : placeholder && gap ? `${name3} stands in as a placeholder (${placeholder}), and ${gap}` : target.type !== "regular" && target.type !== "system" ? `${name3} is a ${target.type} target` : unlowerable.length > 0 ? `${name3} has native sources with no wasm32 lowering: ${unlowerable.map((file) => import_node_path66.default.relative(pkg.manifest.dir, file)).join(", ")}${gap ? `; ${gap}` : ""}` : null;
|
|
29087
29095
|
const reasons = target.dependencies.map((dependency) => {
|
|
@@ -29162,7 +29170,7 @@ function resolveSwiftPackages(options) {
|
|
|
29162
29170
|
(file) => file.endsWith(".swift") && import_node_fs68.default.readFileSync(file, "utf8").trim() === ""
|
|
29163
29171
|
))
|
|
29164
29172
|
return false;
|
|
29165
|
-
if (unloweredSources(files2, target)) return false;
|
|
29173
|
+
if (unloweredSources(files2, target, portableAssembly)) return false;
|
|
29166
29174
|
claimed.add(key2);
|
|
29167
29175
|
providedTargets.delete(name3);
|
|
29168
29176
|
for (const dependency of target.dependencies) {
|
|
@@ -29210,7 +29218,7 @@ function resolveSwiftPackages(options) {
|
|
|
29210
29218
|
if (target.type === "executable") continue;
|
|
29211
29219
|
const files2 = target.type === "regular" || target.type === "system" ? swiftTargetFiles(pkg.manifest, target) : [];
|
|
29212
29220
|
const objc = target.type === "regular" && files2.some((file) => /\.(m|mm)$/.test(file));
|
|
29213
|
-
const unlowered = unloweredSources(files2, target);
|
|
29221
|
+
const unlowered = unloweredSources(files2, target, portableAssembly);
|
|
29214
29222
|
const gap = placeholderPackage(pkg);
|
|
29215
29223
|
const sources = files2.filter((file) => file.endsWith(".swift"));
|
|
29216
29224
|
const release = (setting) => setting.configuration !== "debug";
|
|
@@ -31445,7 +31453,7 @@ function graphStandin(module2, graphs, values, wasm, binary2, toolchain, work, r
|
|
|
31445
31453
|
}
|
|
31446
31454
|
if (omit.size + plain.size + unobjc.size + trapped.size + unconformed.size + forced.size + nonfailable.size === before)
|
|
31447
31455
|
throw new Error(
|
|
31448
|
-
`its generated source does not typecheck: ${elsewhere.slice(0, 3).join("; ") || check2.stderr.trim().slice(0, 400)}`
|
|
31456
|
+
`its generated source does not typecheck: ${(elsewhere.length > 0 ? elsewhere : [...check2.stderr.matchAll(/^\S+?:\d+:\d+: error: .*$/gm)].map((line) => line[0].replace(/^[^:]*\//, ""))).slice(0, 3).join("; ") || check2.stderr.trim().slice(0, 400)}`
|
|
31449
31457
|
);
|
|
31450
31458
|
}
|
|
31451
31459
|
}
|
|
@@ -36652,6 +36660,59 @@ function openXcodeProject(xcodeproj, target, moduleRoot, configuration, interfac
|
|
|
36652
36660
|
});
|
|
36653
36661
|
return root;
|
|
36654
36662
|
}
|
|
36663
|
+
async function wasmPortableAssembly(binaries, toolchainBin, moduleRoot) {
|
|
36664
|
+
const assembly = binaries.filter(
|
|
36665
|
+
(binary2) => binary2.unloweredSources?.length && binary2.unloweredSources.every((file) => /\.(s|S)$/.test(file)) && binary2.publicHeaders !== void 0
|
|
36666
|
+
);
|
|
36667
|
+
if (assembly.length === 0) return /* @__PURE__ */ new Set();
|
|
36668
|
+
const sdk = swiftSdkPaths(moduleRoot, toolchainBin);
|
|
36669
|
+
const clang = import_node_path77.default.join(toolchainBin, "clang");
|
|
36670
|
+
const empty = (binary2, file) => {
|
|
36671
|
+
const source = import_node_path77.default.join(binary2.dir, file);
|
|
36672
|
+
const key2 = (0, import_node_crypto40.createHash)("sha256").update(
|
|
36673
|
+
JSON.stringify([
|
|
36674
|
+
clang,
|
|
36675
|
+
sdk.sysroot,
|
|
36676
|
+
sdk.cFlags,
|
|
36677
|
+
binary2.dir,
|
|
36678
|
+
binary2.publicHeaders
|
|
36679
|
+
])
|
|
36680
|
+
).update(import_node_fs80.default.readFileSync(source)).digest("hex");
|
|
36681
|
+
const known = emptyWasmAssembly.get(key2);
|
|
36682
|
+
if (known) return known;
|
|
36683
|
+
const result = new Promise(
|
|
36684
|
+
(resolve3) => (0, import_node_child_process41.execFile)(
|
|
36685
|
+
clang,
|
|
36686
|
+
[
|
|
36687
|
+
"-target",
|
|
36688
|
+
"wasm32-unknown-wasip1",
|
|
36689
|
+
"--sysroot",
|
|
36690
|
+
sdk.sysroot,
|
|
36691
|
+
...sdk.cFlags,
|
|
36692
|
+
"-I",
|
|
36693
|
+
import_node_path77.default.join(binary2.dir, binary2.publicHeaders),
|
|
36694
|
+
"-I",
|
|
36695
|
+
import_node_path77.default.dirname(source),
|
|
36696
|
+
"-E",
|
|
36697
|
+
"-P",
|
|
36698
|
+
"-x",
|
|
36699
|
+
"assembler-with-cpp",
|
|
36700
|
+
source
|
|
36701
|
+
],
|
|
36702
|
+
{ maxBuffer: 64 * 1024 * 1024 },
|
|
36703
|
+
(error, stdout) => resolve3(!error && stdout.trim() === "")
|
|
36704
|
+
)
|
|
36705
|
+
);
|
|
36706
|
+
emptyWasmAssembly.set(key2, result);
|
|
36707
|
+
return result;
|
|
36708
|
+
};
|
|
36709
|
+
const portable = await Promise.all(
|
|
36710
|
+
assembly.map(
|
|
36711
|
+
async (binary2) => (await Promise.all(binary2.unloweredSources.map((file) => empty(binary2, file)))).every(Boolean) ? [binary2.target] : []
|
|
36712
|
+
)
|
|
36713
|
+
);
|
|
36714
|
+
return new Set(portable.flat());
|
|
36715
|
+
}
|
|
36655
36716
|
async function swiftPackages(entry, app) {
|
|
36656
36717
|
const stamp = (file) => import_node_fs80.default.existsSync(file) ? (0, import_node_crypto40.createHash)("sha256").update(import_node_fs80.default.readFileSync(file)).digest("hex") : null;
|
|
36657
36718
|
const owners = [...app.frameworks, app].map((target) => ({
|
|
@@ -36716,7 +36777,14 @@ async function swiftPackages(entry, app) {
|
|
|
36716
36777
|
entry.moduleRoot,
|
|
36717
36778
|
import_node_path77.default.join(resolved.toolchainBin, "clang++")
|
|
36718
36779
|
);
|
|
36719
|
-
const
|
|
36780
|
+
const portableAssembly = await wasmPortableAssembly(
|
|
36781
|
+
reached,
|
|
36782
|
+
resolved.toolchainBin,
|
|
36783
|
+
entry.moduleRoot
|
|
36784
|
+
);
|
|
36785
|
+
const cxxArtifacts = reached.filter(
|
|
36786
|
+
(binary2) => standinArtifact(binary2) && !portableAssembly.has(binary2.target)
|
|
36787
|
+
);
|
|
36720
36788
|
const generation = standinGenerationInputs(cxxArtifacts, toolchain, entry.behavior);
|
|
36721
36789
|
if (cached2.standinKey !== generation) {
|
|
36722
36790
|
const replaced = new Set(
|
|
@@ -36743,6 +36811,7 @@ async function swiftPackages(entry, app) {
|
|
|
36743
36811
|
[...replaced].filter((target) => !built2.gaps.has(target))
|
|
36744
36812
|
),
|
|
36745
36813
|
binaryGaps: built2.gaps,
|
|
36814
|
+
portableAssembly,
|
|
36746
36815
|
owners
|
|
36747
36816
|
});
|
|
36748
36817
|
for (const target of new Set(built2.standins.map((standin) => standin.target)))
|
|
@@ -38519,7 +38588,7 @@ function scopedArtifact(project, entry, moduleRoot, signal) {
|
|
|
38519
38588
|
project.building = { stamp, promise: fresh, signal };
|
|
38520
38589
|
return fresh;
|
|
38521
38590
|
}
|
|
38522
|
-
var import_node_async_hooks, import_node_child_process41, import_node_crypto40, import_node_fs80, import_node_os17, import_node_path77, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
38591
|
+
var import_node_async_hooks, import_node_child_process41, import_node_crypto40, import_node_fs80, import_node_os17, import_node_path77, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
38523
38592
|
var init_swift_host = __esm({
|
|
38524
38593
|
"src/swift-host.ts"() {
|
|
38525
38594
|
"use strict";
|
|
@@ -38572,6 +38641,7 @@ var init_swift_host = __esm({
|
|
|
38572
38641
|
sharedXcodeProjects = /* @__PURE__ */ new Map();
|
|
38573
38642
|
xcodeProjects = () => projectScope.getStore()?.xcodeProjects ?? sharedXcodeProjects;
|
|
38574
38643
|
preparedScriptInputs = /* @__PURE__ */ new Set();
|
|
38644
|
+
emptyWasmAssembly = /* @__PURE__ */ new Map();
|
|
38575
38645
|
XCODE_APP_DIR = "__app__";
|
|
38576
38646
|
XCODE_FRAMEWORKS_DIR = "__frameworks__";
|
|
38577
38647
|
XCODE_PACKAGES_DIR = SWIFT_REMOTE_PACKAGES_DIR;
|
|
@@ -48786,7 +48856,7 @@ init_swift_native_pin();
|
|
|
48786
48856
|
init_xcode_project();
|
|
48787
48857
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
48788
48858
|
function expoNativeCompilerDigestValue() {
|
|
48789
|
-
return true ? "
|
|
48859
|
+
return true ? "8e765b5dfd0ec93d9027f9d10365ed11f7d85a195d0a888dd1fb76b99195ff2e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
48790
48860
|
}
|
|
48791
48861
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
48792
48862
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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.2220 | (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;
|
|
@@ -25049,6 +25049,9 @@ var init_swift_runtime_products = __esm({
|
|
|
25049
25049
|
});
|
|
25050
25050
|
|
|
25051
25051
|
// src/swift-guest-runtime-plan.ts
|
|
25052
|
+
function canonicalArchivePath(file) {
|
|
25053
|
+
return import_node_path39.default.join((0, import_node_fs41.realpathSync)(import_node_path39.default.dirname(file)), import_node_path39.default.basename(file));
|
|
25054
|
+
}
|
|
25052
25055
|
function sdkArtifactBytes(root, artifact) {
|
|
25053
25056
|
const file = import_node_path39.default.resolve(root, artifact.path);
|
|
25054
25057
|
const linked = (0, import_node_fs41.readFileSync)(file);
|
|
@@ -25154,7 +25157,7 @@ function guestRuntimeInputIdentities(options) {
|
|
|
25154
25157
|
];
|
|
25155
25158
|
add(file, JSON.stringify(identity2));
|
|
25156
25159
|
if (artifact.kind !== "archive") continue;
|
|
25157
|
-
for (const origin of origins.get(file) ?? [])
|
|
25160
|
+
for (const origin of origins.get(canonicalArchivePath(file)) ?? [])
|
|
25158
25161
|
add(
|
|
25159
25162
|
import_node_path39.default.resolve(origin.original),
|
|
25160
25163
|
JSON.stringify([...identity2, origin.member, origin.ordinal])
|
|
@@ -25227,7 +25230,8 @@ function guestRuntimeProductsForInputs(options) {
|
|
|
25227
25230
|
for (const { product, root } of options.products) {
|
|
25228
25231
|
byId.set(product.id, product);
|
|
25229
25232
|
for (const artifact of product.artifacts) {
|
|
25230
|
-
const
|
|
25233
|
+
const absolute = import_node_path39.default.resolve(root, artifact.path);
|
|
25234
|
+
const file = artifact.kind === "archive" ? canonicalArchivePath(absolute) : absolute;
|
|
25231
25235
|
const owners = byFile.get(file) ?? [];
|
|
25232
25236
|
owners.push({ id: product.id, artifact });
|
|
25233
25237
|
byFile.set(file, owners);
|
|
@@ -25259,7 +25263,9 @@ function guestRuntimeProductsForInputs(options) {
|
|
|
25259
25263
|
const file = original.get(import_node_path39.default.resolve(selection.artifact)) ?? import_node_path39.default.resolve(selection.artifact);
|
|
25260
25264
|
const origin = origins.get(file);
|
|
25261
25265
|
const archive = origin ? import_node_path39.default.resolve(origin.archive) : file;
|
|
25262
|
-
const records = byFile.get(
|
|
25266
|
+
const records = byFile.get(
|
|
25267
|
+
origin || selection.member !== null ? canonicalArchivePath(archive) : archive
|
|
25268
|
+
);
|
|
25263
25269
|
if (frameworkObjects.has(file)) {
|
|
25264
25270
|
if (frameworkId === null || !byId.has(frameworkId))
|
|
25265
25271
|
throw new Error(`framework runtime product has no producer record ${file}`);
|
|
@@ -25371,8 +25377,9 @@ function guestSdkProductLinkArtifacts(products, sdk, inputs, linkedArchives, rew
|
|
|
25371
25377
|
for (const { product, root } of products) {
|
|
25372
25378
|
for (const artifact of product.artifacts) {
|
|
25373
25379
|
const file = import_node_path39.default.resolve(root, artifact.path);
|
|
25374
|
-
const
|
|
25375
|
-
|
|
25380
|
+
const archive = artifact.kind === "archive" ? canonicalArchivePath(file) : null;
|
|
25381
|
+
const objects = archive !== null ? origins.filter(
|
|
25382
|
+
(origin) => import_node_path39.default.resolve(origin.archive) === archive && (!selectedObjects || selectedObjects.has(
|
|
25376
25383
|
import_node_path39.default.resolve(rewritten.get(origin.original) ?? origin.original)
|
|
25377
25384
|
))
|
|
25378
25385
|
) : [];
|
|
@@ -33045,7 +33052,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
33045
33052
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
33046
33053
|
MULTI_MANIFEST_VERSION = 68;
|
|
33047
33054
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
33048
|
-
compilerSourceDigest = true ? "
|
|
33055
|
+
compilerSourceDigest = true ? "0a0bc1c871aee83ea273120655f55a43ddccde646478a452b4c73d2daefd58c3" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
33049
33056
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
33050
33057
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
33051
33058
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -37509,7 +37516,7 @@ var init_swift_standin_digest = __esm({
|
|
|
37509
37516
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
37510
37517
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
37511
37518
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
37512
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
37519
|
+
STANDIN_SOURCE_DIGEST = true ? "c0f609da62368c513c186d23bc8aa8e450d27efae5b8c2e7cdf50d34fa734ff0" : standinSourceDigest();
|
|
37513
37520
|
}
|
|
37514
37521
|
});
|
|
37515
37522
|
|
|
@@ -38295,17 +38302,17 @@ function remoteSwiftCheckouts(root) {
|
|
|
38295
38302
|
import_node_fs72.default.mkdirSync(cacheDir(), { recursive: true });
|
|
38296
38303
|
return import_node_path71.default.join(import_node_fs72.default.realpathSync(cacheDir()), "swift-packages", key2, "checkouts");
|
|
38297
38304
|
}
|
|
38298
|
-
function unlowerableSources(files2, target) {
|
|
38305
|
+
function unlowerableSources(files2, target, portable) {
|
|
38299
38306
|
if (target.declaresWasiNativeSettings) return [];
|
|
38300
38307
|
return [
|
|
38301
|
-
...files2.filter((file) => UNSUPPORTED_NATIVE.test(file)),
|
|
38308
|
+
...portable.has(target.name) ? [] : files2.filter((file) => UNSUPPORTED_NATIVE.test(file)),
|
|
38302
38309
|
...files2.filter(isSwiftNativeTranslationUnit).filter((file) => swiftCTakesReturnAddress(import_node_fs72.default.readFileSync(file, "utf8")))
|
|
38303
38310
|
];
|
|
38304
38311
|
}
|
|
38305
|
-
function unloweredSources(files2, target) {
|
|
38312
|
+
function unloweredSources(files2, target, portable) {
|
|
38306
38313
|
if (target.type !== "regular") return null;
|
|
38307
38314
|
if (!files2.some(isSwiftNativeTranslationUnit)) return null;
|
|
38308
|
-
const unlowered = unlowerableSources(files2, target);
|
|
38315
|
+
const unlowered = unlowerableSources(files2, target, portable);
|
|
38309
38316
|
if (unlowered.length === 0) return null;
|
|
38310
38317
|
const headers = import_node_path71.default.resolve(target.dir, target.publicHeadersPath);
|
|
38311
38318
|
if (!files2.some((file) => file.startsWith(`${headers}${import_node_path71.default.sep}`) && file.endsWith(".h")))
|
|
@@ -38509,6 +38516,7 @@ async function resolveSwiftPackagesAsync(options) {
|
|
|
38509
38516
|
function resolveSwiftPackages(options) {
|
|
38510
38517
|
const { rootDir, resolved, products, localDirs } = options;
|
|
38511
38518
|
const providedTargets = new Set(options.provided ?? []);
|
|
38519
|
+
const portableAssembly = options.portableAssembly ?? /* @__PURE__ */ new Set();
|
|
38512
38520
|
const providedProducts = new Set(options.provided ?? []);
|
|
38513
38521
|
const result = {
|
|
38514
38522
|
sourceLinks: { targets: [], owners: [] },
|
|
@@ -38606,7 +38614,7 @@ function resolveSwiftPackages(options) {
|
|
|
38606
38614
|
if (target.type === "macro") return preservePackage(pkg, [name3], "host");
|
|
38607
38615
|
const files2 = target.type === "regular" || target.type === "system" ? swiftTargetFiles(pkg.manifest, target) : [];
|
|
38608
38616
|
const gap = options.binaryGaps?.get(name3);
|
|
38609
|
-
const unlowerable = unlowerableSources(files2, target);
|
|
38617
|
+
const unlowerable = unlowerableSources(files2, target, portableAssembly);
|
|
38610
38618
|
const placeholder = placeholderPackage(pkg);
|
|
38611
38619
|
const ownReason = target.type === "binary" ? `${name3} ${BINARY}${gap ? `; ${gap}` : ""}` : placeholder && gap ? `${name3} stands in as a placeholder (${placeholder}), and ${gap}` : target.type !== "regular" && target.type !== "system" ? `${name3} is a ${target.type} target` : unlowerable.length > 0 ? `${name3} has native sources with no wasm32 lowering: ${unlowerable.map((file) => import_node_path71.default.relative(pkg.manifest.dir, file)).join(", ")}${gap ? `; ${gap}` : ""}` : null;
|
|
38612
38620
|
const reasons = target.dependencies.map((dependency) => {
|
|
@@ -38687,7 +38695,7 @@ function resolveSwiftPackages(options) {
|
|
|
38687
38695
|
(file) => file.endsWith(".swift") && import_node_fs72.default.readFileSync(file, "utf8").trim() === ""
|
|
38688
38696
|
))
|
|
38689
38697
|
return false;
|
|
38690
|
-
if (unloweredSources(files2, target)) return false;
|
|
38698
|
+
if (unloweredSources(files2, target, portableAssembly)) return false;
|
|
38691
38699
|
claimed.add(key2);
|
|
38692
38700
|
providedTargets.delete(name3);
|
|
38693
38701
|
for (const dependency of target.dependencies) {
|
|
@@ -38735,7 +38743,7 @@ function resolveSwiftPackages(options) {
|
|
|
38735
38743
|
if (target.type === "executable") continue;
|
|
38736
38744
|
const files2 = target.type === "regular" || target.type === "system" ? swiftTargetFiles(pkg.manifest, target) : [];
|
|
38737
38745
|
const objc = target.type === "regular" && files2.some((file) => /\.(m|mm)$/.test(file));
|
|
38738
|
-
const unlowered = unloweredSources(files2, target);
|
|
38746
|
+
const unlowered = unloweredSources(files2, target, portableAssembly);
|
|
38739
38747
|
const gap = placeholderPackage(pkg);
|
|
38740
38748
|
const sources = files2.filter((file) => file.endsWith(".swift"));
|
|
38741
38749
|
const release = (setting) => setting.configuration !== "debug";
|
|
@@ -40970,7 +40978,7 @@ function graphStandin(module2, graphs, values, wasm, binary2, toolchain, work, r
|
|
|
40970
40978
|
}
|
|
40971
40979
|
if (omit.size + plain.size + unobjc.size + trapped.size + unconformed.size + forced.size + nonfailable.size === before)
|
|
40972
40980
|
throw new Error(
|
|
40973
|
-
`its generated source does not typecheck: ${elsewhere.slice(0, 3).join("; ") || check2.stderr.trim().slice(0, 400)}`
|
|
40981
|
+
`its generated source does not typecheck: ${(elsewhere.length > 0 ? elsewhere : [...check2.stderr.matchAll(/^\S+?:\d+:\d+: error: .*$/gm)].map((line) => line[0].replace(/^[^:]*\//, ""))).slice(0, 3).join("; ") || check2.stderr.trim().slice(0, 400)}`
|
|
40974
40982
|
);
|
|
40975
40983
|
}
|
|
40976
40984
|
}
|
|
@@ -46291,6 +46299,59 @@ function openXcodeProject(xcodeproj, target, moduleRoot, configuration, interfac
|
|
|
46291
46299
|
});
|
|
46292
46300
|
return root;
|
|
46293
46301
|
}
|
|
46302
|
+
async function wasmPortableAssembly(binaries, toolchainBin, moduleRoot) {
|
|
46303
|
+
const assembly = binaries.filter(
|
|
46304
|
+
(binary2) => binary2.unloweredSources?.length && binary2.unloweredSources.every((file) => /\.(s|S)$/.test(file)) && binary2.publicHeaders !== void 0
|
|
46305
|
+
);
|
|
46306
|
+
if (assembly.length === 0) return /* @__PURE__ */ new Set();
|
|
46307
|
+
const sdk = swiftSdkPaths(moduleRoot, toolchainBin);
|
|
46308
|
+
const clang = import_node_path83.default.join(toolchainBin, "clang");
|
|
46309
|
+
const empty = (binary2, file) => {
|
|
46310
|
+
const source = import_node_path83.default.join(binary2.dir, file);
|
|
46311
|
+
const key2 = (0, import_node_crypto43.createHash)("sha256").update(
|
|
46312
|
+
JSON.stringify([
|
|
46313
|
+
clang,
|
|
46314
|
+
sdk.sysroot,
|
|
46315
|
+
sdk.cFlags,
|
|
46316
|
+
binary2.dir,
|
|
46317
|
+
binary2.publicHeaders
|
|
46318
|
+
])
|
|
46319
|
+
).update(import_node_fs85.default.readFileSync(source)).digest("hex");
|
|
46320
|
+
const known = emptyWasmAssembly.get(key2);
|
|
46321
|
+
if (known) return known;
|
|
46322
|
+
const result = new Promise(
|
|
46323
|
+
(resolve7) => (0, import_node_child_process43.execFile)(
|
|
46324
|
+
clang,
|
|
46325
|
+
[
|
|
46326
|
+
"-target",
|
|
46327
|
+
"wasm32-unknown-wasip1",
|
|
46328
|
+
"--sysroot",
|
|
46329
|
+
sdk.sysroot,
|
|
46330
|
+
...sdk.cFlags,
|
|
46331
|
+
"-I",
|
|
46332
|
+
import_node_path83.default.join(binary2.dir, binary2.publicHeaders),
|
|
46333
|
+
"-I",
|
|
46334
|
+
import_node_path83.default.dirname(source),
|
|
46335
|
+
"-E",
|
|
46336
|
+
"-P",
|
|
46337
|
+
"-x",
|
|
46338
|
+
"assembler-with-cpp",
|
|
46339
|
+
source
|
|
46340
|
+
],
|
|
46341
|
+
{ maxBuffer: 64 * 1024 * 1024 },
|
|
46342
|
+
(error, stdout) => resolve7(!error && stdout.trim() === "")
|
|
46343
|
+
)
|
|
46344
|
+
);
|
|
46345
|
+
emptyWasmAssembly.set(key2, result);
|
|
46346
|
+
return result;
|
|
46347
|
+
};
|
|
46348
|
+
const portable = await Promise.all(
|
|
46349
|
+
assembly.map(
|
|
46350
|
+
async (binary2) => (await Promise.all(binary2.unloweredSources.map((file) => empty(binary2, file)))).every(Boolean) ? [binary2.target] : []
|
|
46351
|
+
)
|
|
46352
|
+
);
|
|
46353
|
+
return new Set(portable.flat());
|
|
46354
|
+
}
|
|
46294
46355
|
async function swiftPackages(entry, app) {
|
|
46295
46356
|
const stamp = (file) => import_node_fs85.default.existsSync(file) ? (0, import_node_crypto43.createHash)("sha256").update(import_node_fs85.default.readFileSync(file)).digest("hex") : null;
|
|
46296
46357
|
const owners = [...app.frameworks, app].map((target) => ({
|
|
@@ -46355,7 +46416,14 @@ async function swiftPackages(entry, app) {
|
|
|
46355
46416
|
entry.moduleRoot,
|
|
46356
46417
|
import_node_path83.default.join(resolved.toolchainBin, "clang++")
|
|
46357
46418
|
);
|
|
46358
|
-
const
|
|
46419
|
+
const portableAssembly = await wasmPortableAssembly(
|
|
46420
|
+
reached,
|
|
46421
|
+
resolved.toolchainBin,
|
|
46422
|
+
entry.moduleRoot
|
|
46423
|
+
);
|
|
46424
|
+
const cxxArtifacts = reached.filter(
|
|
46425
|
+
(binary2) => standinArtifact(binary2) && !portableAssembly.has(binary2.target)
|
|
46426
|
+
);
|
|
46359
46427
|
const generation = standinGenerationInputs(cxxArtifacts, toolchain, entry.behavior);
|
|
46360
46428
|
if (cached3.standinKey !== generation) {
|
|
46361
46429
|
const replaced = new Set(
|
|
@@ -46382,6 +46450,7 @@ async function swiftPackages(entry, app) {
|
|
|
46382
46450
|
[...replaced].filter((target) => !built2.gaps.has(target))
|
|
46383
46451
|
),
|
|
46384
46452
|
binaryGaps: built2.gaps,
|
|
46453
|
+
portableAssembly,
|
|
46385
46454
|
owners
|
|
46386
46455
|
});
|
|
46387
46456
|
for (const target of new Set(built2.standins.map((standin) => standin.target)))
|
|
@@ -48240,7 +48309,7 @@ async function serveSwiftPackageAsset(pathname, res) {
|
|
|
48240
48309
|
res.end("swift artifact is stale");
|
|
48241
48310
|
return true;
|
|
48242
48311
|
}
|
|
48243
|
-
var import_node_async_hooks, import_node_child_process43, import_node_crypto43, import_node_fs85, import_node_os17, import_node_path83, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
48312
|
+
var import_node_async_hooks, import_node_child_process43, import_node_crypto43, import_node_fs85, import_node_os17, import_node_path83, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
|
|
48244
48313
|
var init_swift_host = __esm({
|
|
48245
48314
|
"src/swift-host.ts"() {
|
|
48246
48315
|
"use strict";
|
|
@@ -48294,6 +48363,7 @@ var init_swift_host = __esm({
|
|
|
48294
48363
|
sharedXcodeProjects = /* @__PURE__ */ new Map();
|
|
48295
48364
|
xcodeProjects = () => projectScope.getStore()?.xcodeProjects ?? sharedXcodeProjects;
|
|
48296
48365
|
preparedScriptInputs = /* @__PURE__ */ new Set();
|
|
48366
|
+
emptyWasmAssembly = /* @__PURE__ */ new Map();
|
|
48297
48367
|
XCODE_APP_DIR = "__app__";
|
|
48298
48368
|
XCODE_FRAMEWORKS_DIR = "__frameworks__";
|
|
48299
48369
|
XCODE_PACKAGES_DIR = SWIFT_REMOTE_PACKAGES_DIR;
|
|
@@ -53938,7 +54008,7 @@ var init_nitro_superset = __esm({
|
|
|
53938
54008
|
init_nitroContract();
|
|
53939
54009
|
init_swift_standin_digest();
|
|
53940
54010
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
53941
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
54011
|
+
NITRO_COMPILER_DIGEST = true ? "a16afc2e6e3c68812b9d48ad1c7be8c9d89cfebcf46e269779f2890053244d70" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
53942
54012
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
53943
54013
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
53944
54014
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -63365,7 +63435,7 @@ init_swift_native_pin();
|
|
|
63365
63435
|
init_xcode_project();
|
|
63366
63436
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
63367
63437
|
function expoNativeCompilerDigestValue() {
|
|
63368
|
-
return true ? "
|
|
63438
|
+
return true ? "8e765b5dfd0ec93d9027f9d10365ed11f7d85a195d0a888dd1fb76b99195ff2e" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
63369
63439
|
}
|
|
63370
63440
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
63371
63441
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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;
|
|
@@ -1501,7 +1501,7 @@ function readIosSdkTree(root) {
|
|
|
1501
1501
|
|
|
1502
1502
|
// src/swift-standin-digest.ts
|
|
1503
1503
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
1504
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
1504
|
+
var STANDIN_SOURCE_DIGEST = true ? "c0f609da62368c513c186d23bc8aa8e450d27efae5b8c2e7cdf50d34fa734ff0" : standinSourceDigest();
|
|
1505
1505
|
|
|
1506
1506
|
// src/expo-native-workspace.ts
|
|
1507
1507
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -4992,7 +4992,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
4992
4992
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4993
4993
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4994
4994
|
).join("");
|
|
4995
|
-
var compilerSourceDigest = true ? "
|
|
4995
|
+
var compilerSourceDigest = true ? "0a0bc1c871aee83ea273120655f55a43ddccde646478a452b4c73d2daefd58c3" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4996
4996
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4997
4997
|
"CFAllocator",
|
|
4998
4998
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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.2220 | (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.2220 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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;
|
|
@@ -13244,7 +13244,7 @@ function readIosSdkTree(root) {
|
|
|
13244
13244
|
|
|
13245
13245
|
// src/swift-standin-digest.ts
|
|
13246
13246
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
13247
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
13247
|
+
var STANDIN_SOURCE_DIGEST = true ? "c0f609da62368c513c186d23bc8aa8e450d27efae5b8c2e7cdf50d34fa734ff0" : standinSourceDigest();
|
|
13248
13248
|
|
|
13249
13249
|
// src/expo-native-workspace.ts
|
|
13250
13250
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -15421,7 +15421,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
15421
15421
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
15422
15422
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
15423
15423
|
).join("");
|
|
15424
|
-
var compilerSourceDigest = true ? "
|
|
15424
|
+
var compilerSourceDigest = true ? "0a0bc1c871aee83ea273120655f55a43ddccde646478a452b4c73d2daefd58c3" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
15425
15425
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
15426
15426
|
"CFAllocator",
|
|
15427
15427
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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.2220 | (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.2220 | (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/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2220 | (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;
|