peachsim 0.1.2743 → 0.1.2744
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/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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +23 -24
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-4LW63VJO.mjs → acorn-3G2P6SLD.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-EAAYQS4L.mjs → chunk-2XVKKP7C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2HP5FPCA.mjs → chunk-3N3NWKOV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6FHNPTCA.mjs → chunk-3R76QB7G.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-BNJ5YG7V.mjs → chunk-4BSH2PJJ.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VJKLZAU2.mjs → chunk-4J7M5ABU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HOUFNDEV.mjs → chunk-4SL6WT5R.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JHOZWSFF.mjs → chunk-5EMHE44C.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7NBU6OXB.mjs → chunk-6HF6522F.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-V3SRJIBE.mjs → chunk-7PZCYBRZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BJSA6VP6.mjs → chunk-CWTZZ5PW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GIZQHA6L.mjs → chunk-EP64ATYX.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-THJMTM3L.mjs → chunk-ESGH55PU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SG7MN2KW.mjs → chunk-FZCF4XKV.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-BQUYNIMY.mjs → chunk-MHWKZ233.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WKGJ6LAU.mjs → chunk-MK5GDI4J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-THSR72MV.mjs → chunk-NA3WRJON.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XP5F6PNN.mjs → chunk-OYGAP4IB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OEQBNK6V.mjs → chunk-Q3AUIPF2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-23OQSLRP.mjs → chunk-QNMAUXAH.mjs} +32 -33
- package/dist-lib/esm-chunks/{chunk-BW3KZJV5.mjs → chunk-SI55AJTD.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-EES2SLJK.mjs → chunk-U6INDDV4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZLQX4SVV.mjs → chunk-V6QXWGYS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-B3F4HKM6.mjs → chunk-XRGF7PWG.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-LVCSLWR2.mjs → chunk-YPT6XQJX.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-L57PU3TD.mjs → metro-layout-parser-IISMSHQ6.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-UNXWJN7B.mjs → swift-package-prebuilt-VA4DWCFB.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-DZV3XYCP.mjs → swift-sdk-app-module-3UUKIQI6.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-WRYMP64Z.mjs → swift-sdk-image-XJURAHAQ.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-D6DOCCCR.mjs → swift-sdk-image-producer-HF3NTKWX.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +23 -24
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +46 -48
- package/dist-lib/host/fetch-proxy-handler.cjs +5 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +85 -85
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +46 -48
- package/dist-lib/swift-compile.cjs +20 -21
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/package.json +1 -1
- package/src/one-direct-host-source.ts +23 -24
- package/src/swift-compile.ts +26 -32
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// ../../node_modules/acorn/dist/acorn.mjs
|
|
4
4
|
var astralIdentifierCodes = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 78, 5, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 199, 7, 137, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 55, 9, 266, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239];
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
5
|
retainSwiftRootReadHold,
|
|
6
6
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4BSH2PJJ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CORE_FOUNDATION_OVERLAY_GLOBALS,
|
|
10
10
|
NATIVE_GRAPH_SDK_VERSION,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
withoutImportedSdkEnumForwards,
|
|
56
56
|
withoutSwiftDeclarations,
|
|
57
57
|
writeBuildFile
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-EP64ATYX.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SWIFT_AUTOLINK_LINKER,
|
|
61
61
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wasmThreadLinkFlags,
|
|
73
73
|
windowAdmission,
|
|
74
74
|
writeSwiftAutolinkLinker
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-4J7M5ABU.mjs";
|
|
76
76
|
import {
|
|
77
77
|
SWIFT_BINARY_TREES_DIR,
|
|
78
78
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
isSwiftResourcePath,
|
|
88
88
|
isSwiftSourceLinkGraph,
|
|
89
89
|
swiftProjectFilesProblems
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-MK5GDI4J.mjs";
|
|
91
91
|
import {
|
|
92
92
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
93
93
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -110,16 +110,16 @@ import {
|
|
|
110
110
|
swiftPackagePartition,
|
|
111
111
|
swiftTargetModuleName,
|
|
112
112
|
withoutGlogModuleMap
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-Q3AUIPF2.mjs";
|
|
114
114
|
import {
|
|
115
115
|
rnxPublicBrand
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-5EMHE44C.mjs";
|
|
117
117
|
import {
|
|
118
118
|
isRecord
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-3N3NWKOV.mjs";
|
|
120
120
|
import {
|
|
121
121
|
__publicField
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-YPT6XQJX.mjs";
|
|
123
123
|
|
|
124
124
|
// src/swift-compile.ts
|
|
125
125
|
import {
|
|
@@ -14469,7 +14469,7 @@ async function compileGuestLink(options) {
|
|
|
14469
14469
|
};
|
|
14470
14470
|
const sdk = options.sdkImage;
|
|
14471
14471
|
const sdkCallers = sdk.sdkInterface.guestCallers;
|
|
14472
|
-
const sdkObjects = (await import("./swift-sdk-image-
|
|
14472
|
+
const sdkObjects = (await import("./swift-sdk-image-XJURAHAQ.mjs")).readSwiftSdkManifestIndex(
|
|
14473
14473
|
sdk
|
|
14474
14474
|
).guestObjects;
|
|
14475
14475
|
if (!sdkCallers || !sdkObjects)
|
|
@@ -14769,7 +14769,7 @@ async function compileGuestLink(options) {
|
|
|
14769
14769
|
swiftAppModuleThunkSection,
|
|
14770
14770
|
swiftSdkProjectionSpans,
|
|
14771
14771
|
writeSwiftSdkAppLink
|
|
14772
|
-
} = await import("./swift-sdk-app-module-
|
|
14772
|
+
} = await import("./swift-sdk-app-module-3UUKIQI6.mjs");
|
|
14773
14773
|
const project = options.project;
|
|
14774
14774
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14775
14775
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16742,7 +16742,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16742
16742
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16743
16743
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16744
16744
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16745
|
-
var compilerSourceDigest = true ? "
|
|
16745
|
+
var compilerSourceDigest = true ? "9e43b96f22759d18028120bf151aaa3545b4a68d9cb280a87e81051893e9eb50" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16746
16746
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16747
16747
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16748
16748
|
}
|
|
@@ -20865,6 +20865,7 @@ var SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS = 4;
|
|
|
20865
20865
|
var SWIFT_FRAMEWORK_SLOT_KEY = ".peach-framework-key";
|
|
20866
20866
|
var SWIFT_FRAMEWORK_SLOT_ORIGIN = ".peach-framework-origin";
|
|
20867
20867
|
var SWIFT_FRAMEWORK_SLOT_RELEASE = ".peach-framework-release";
|
|
20868
|
+
var SWIFT_FRAMEWORK_SLOT_HANDOFF = ".peach-framework-handoff";
|
|
20868
20869
|
var SWIFT_BUILD_ROOT_SLOTS = 4;
|
|
20869
20870
|
var SWIFT_BUILD_ROOT_SHAPE = ".peach-build-shape";
|
|
20870
20871
|
function swiftFrameworkSlotCount(unoptimized) {
|
|
@@ -20897,18 +20898,8 @@ function swiftFrameworkSlotKey(slot) {
|
|
|
20897
20898
|
function swiftFrameworkSlotRelease(slot) {
|
|
20898
20899
|
return swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_RELEASE);
|
|
20899
20900
|
}
|
|
20900
|
-
var
|
|
20901
|
-
function
|
|
20902
|
-
try {
|
|
20903
|
-
return readdirSync4(path23.join(slot, "products-ready")).some(
|
|
20904
|
-
(entry) => entry.endsWith(".json")
|
|
20905
|
-
);
|
|
20906
|
-
} catch (error) {
|
|
20907
|
-
if (vanished(error)) return false;
|
|
20908
|
-
throw error;
|
|
20909
|
-
}
|
|
20910
|
-
}
|
|
20911
|
-
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized = false) {
|
|
20901
|
+
var SWIFT_FRAMEWORK_HANDOFF_MS = 15 * 60 * 1e3;
|
|
20902
|
+
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized, linkOnly) {
|
|
20912
20903
|
const slotCount = swiftFrameworkSlotCount(unoptimized);
|
|
20913
20904
|
const slotsDir = swiftFrameworksDir(unoptimized);
|
|
20914
20905
|
const slots = Array.from({ length: slotCount }, (_, index) => {
|
|
@@ -20925,8 +20916,12 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
20925
20916
|
throw error;
|
|
20926
20917
|
}
|
|
20927
20918
|
};
|
|
20928
|
-
const
|
|
20929
|
-
const
|
|
20919
|
+
const handoffFile = (slot) => path23.join(slot, SWIFT_FRAMEWORK_SLOT_HANDOFF);
|
|
20920
|
+
const hasPendingForeignHandoff = (slot, now) => {
|
|
20921
|
+
const stamp = statSync4(handoffFile(slot), { throwIfNoEntry: false });
|
|
20922
|
+
return stamp !== void 0 && !own(slot) && now - stamp.mtimeMs < SWIFT_FRAMEWORK_HANDOFF_MS;
|
|
20923
|
+
};
|
|
20924
|
+
const trySlot = (slot, mode, logSelection, allowPendingHandoff = true) => {
|
|
20930
20925
|
return withSwiftRootLock(
|
|
20931
20926
|
slot,
|
|
20932
20927
|
async (lease) => {
|
|
@@ -20934,7 +20929,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
20934
20929
|
if (mode !== "restage" && !matches) return;
|
|
20935
20930
|
const allowWrite = mode !== "reuse";
|
|
20936
20931
|
if (allowWrite && await hasLiveSwiftRootReaders(slot, signal)) return;
|
|
20937
|
-
if (mode === "restage" && !matches && !
|
|
20932
|
+
if (mode === "restage" && !matches && !allowPendingHandoff && hasPendingForeignHandoff(slot, Date.now()))
|
|
20938
20933
|
return;
|
|
20939
20934
|
if (!matches) logSelection?.();
|
|
20940
20935
|
if (mode === "extend")
|
|
@@ -20948,6 +20943,8 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
20948
20943
|
`[swift-framework-cache] ${path23.basename(slot)} hit=products release=${release}`
|
|
20949
20944
|
);
|
|
20950
20945
|
const now = /* @__PURE__ */ new Date();
|
|
20946
|
+
if (linkOnly) writeFileSync7(handoffFile(slot), "");
|
|
20947
|
+
else rmSync7(handoffFile(slot), { force: true });
|
|
20951
20948
|
utimesSync(slot, now, now);
|
|
20952
20949
|
return { value };
|
|
20953
20950
|
},
|
|
@@ -21001,8 +20998,8 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
21001
20998
|
return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs };
|
|
21002
20999
|
const changes = changedInputsFor(slot, slotKey);
|
|
21003
21000
|
const isOwn = own(slot);
|
|
21004
|
-
const
|
|
21005
|
-
return { slot, index, tier
|
|
21001
|
+
const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
|
|
21002
|
+
return { slot, index, tier, changes, own: isOwn, mtimeMs };
|
|
21006
21003
|
}).sort((left, right) => {
|
|
21007
21004
|
if (left.tier !== right.tier) return left.tier - right.tier;
|
|
21008
21005
|
if (left.tier === 0)
|
|
@@ -21128,6 +21125,7 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
|
21128
21125
|
if (hadKey !== frameworkKey) {
|
|
21129
21126
|
rmSync7(path23.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
21130
21127
|
rmSync7(path23.join(slot, SWIFT_FRAMEWORK_SLOT_RELEASE), { force: true });
|
|
21128
|
+
rmSync7(path23.join(slot, SWIFT_FRAMEWORK_SLOT_HANDOFF), { force: true });
|
|
21131
21129
|
rmSync7(path23.join(slot, "products-ready"), { recursive: true, force: true });
|
|
21132
21130
|
rmSync7(path23.join(slot, "products-lib"), { recursive: true, force: true });
|
|
21133
21131
|
rmSync7(path23.join(slot, "lib"), { recursive: true, force: true });
|
|
@@ -21275,7 +21273,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21275
21273
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
21276
21274
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
21277
21275
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
21278
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
21276
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-VA4DWCFB.mjs")).useSwiftPackagePrebuilts(
|
|
21279
21277
|
sources,
|
|
21280
21278
|
moduleRoot,
|
|
21281
21279
|
options.toolchainBin
|
|
@@ -21288,7 +21286,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
21288
21286
|
sources: path23.join(root, "Sources", "App"),
|
|
21289
21287
|
multi: compileTargets(input).length > 0
|
|
21290
21288
|
};
|
|
21291
|
-
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-
|
|
21289
|
+
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-XJURAHAQ.mjs")).buildSwiftSdkImage(
|
|
21292
21290
|
moduleRoot,
|
|
21293
21291
|
!!guestGraph,
|
|
21294
21292
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21479,7 +21477,8 @@ ${compatShape}` : "";
|
|
|
21479
21477
|
moduleRoot,
|
|
21480
21478
|
budget.signal,
|
|
21481
21479
|
prepareFrameworks,
|
|
21482
|
-
unoptimized
|
|
21480
|
+
unoptimized,
|
|
21481
|
+
options.linkOnly === true
|
|
21483
21482
|
);
|
|
21484
21483
|
if (!frameworks)
|
|
21485
21484
|
throw new Error("Swift distribution did not provide its frameworks");
|
|
@@ -22007,7 +22006,7 @@ ${compatShape}` : "";
|
|
|
22007
22006
|
});
|
|
22008
22007
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
22009
22008
|
} else {
|
|
22010
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
22009
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-3UUKIQI6.mjs");
|
|
22011
22010
|
const binding = await buildSwiftAppModule({
|
|
22012
22011
|
buildRoot: root2,
|
|
22013
22012
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ESGH55PU.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cacheDir,
|
|
8
8
|
parseSwiftDistributionLock,
|
|
9
9
|
readActiveRuntime,
|
|
10
10
|
runtimeDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-EP64ATYX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SWIFT_WASM_TRIPLE,
|
|
14
14
|
registerSwiftHostCompiler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4J7M5ABU.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3N3NWKOV.mjs";
|
|
19
19
|
|
|
20
20
|
// src/swift-distribution.ts
|
|
21
21
|
import { execFile as execFile2 } from "node:child_process";
|
package/dist-lib/esm-chunks/{metro-layout-parser-L57PU3TD.mjs → metro-layout-parser-IISMSHQ6.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-YPT6XQJX.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-3G2P6SLD.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
5
5
|
nativeEntryKey,
|
|
6
6
|
swiftAvailableModules
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-QNMAUXAH.mjs";
|
|
8
|
+
import "./chunk-4BSH2PJJ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-EP64ATYX.mjs";
|
|
13
|
+
import "./chunk-4J7M5ABU.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MK5GDI4J.mjs";
|
|
17
17
|
import {
|
|
18
18
|
manifestCalls
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-Q3AUIPF2.mjs";
|
|
20
|
+
import "./chunk-MHWKZ233.mjs";
|
|
21
|
+
import "./chunk-5EMHE44C.mjs";
|
|
22
|
+
import "./chunk-7PZCYBRZ.mjs";
|
|
23
|
+
import "./chunk-3N3NWKOV.mjs";
|
|
24
|
+
import "./chunk-YPT6XQJX.mjs";
|
|
25
25
|
|
|
26
26
|
// src/swift-package-prebuilt.ts
|
|
27
27
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-DZV3XYCP.mjs → swift-sdk-app-module-3UUKIQI6.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_MEMORY_BASE,
|
|
5
5
|
SWIFT_SDK_PIECE_FIELDS,
|
|
6
6
|
readSwiftSdkManifest
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3R76QB7G.mjs";
|
|
8
8
|
import {
|
|
9
9
|
ADDEND_RELOCATIONS,
|
|
10
10
|
KEEP_WASM_NAMES,
|
|
@@ -33,22 +33,22 @@ import {
|
|
|
33
33
|
wasmReader,
|
|
34
34
|
wasmSections,
|
|
35
35
|
writeWasmCustomSection
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-QNMAUXAH.mjs";
|
|
37
|
+
import "./chunk-4BSH2PJJ.mjs";
|
|
38
|
+
import "./chunk-XRGF7PWG.mjs";
|
|
39
|
+
import "./chunk-ESGH55PU.mjs";
|
|
40
|
+
import "./chunk-CWTZZ5PW.mjs";
|
|
41
|
+
import "./chunk-EP64ATYX.mjs";
|
|
42
42
|
import {
|
|
43
43
|
SWIFT_WASM_TRIPLE
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-4J7M5ABU.mjs";
|
|
45
|
+
import "./chunk-MK5GDI4J.mjs";
|
|
46
|
+
import "./chunk-Q3AUIPF2.mjs";
|
|
47
|
+
import "./chunk-MHWKZ233.mjs";
|
|
48
|
+
import "./chunk-5EMHE44C.mjs";
|
|
49
|
+
import "./chunk-7PZCYBRZ.mjs";
|
|
50
|
+
import "./chunk-3N3NWKOV.mjs";
|
|
51
|
+
import "./chunk-YPT6XQJX.mjs";
|
|
52
52
|
|
|
53
53
|
// src/swift-sdk-app-module.ts
|
|
54
54
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -13,21 +13,21 @@ import {
|
|
|
13
13
|
swiftSdkImageFile,
|
|
14
14
|
swiftSdkImageKey,
|
|
15
15
|
swiftSdkImageProducts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-3R76QB7G.mjs";
|
|
17
|
+
import "./chunk-QNMAUXAH.mjs";
|
|
18
|
+
import "./chunk-4BSH2PJJ.mjs";
|
|
19
|
+
import "./chunk-XRGF7PWG.mjs";
|
|
20
|
+
import "./chunk-ESGH55PU.mjs";
|
|
21
|
+
import "./chunk-CWTZZ5PW.mjs";
|
|
22
|
+
import "./chunk-EP64ATYX.mjs";
|
|
23
|
+
import "./chunk-4J7M5ABU.mjs";
|
|
24
|
+
import "./chunk-MK5GDI4J.mjs";
|
|
25
|
+
import "./chunk-Q3AUIPF2.mjs";
|
|
26
|
+
import "./chunk-MHWKZ233.mjs";
|
|
27
|
+
import "./chunk-5EMHE44C.mjs";
|
|
28
|
+
import "./chunk-7PZCYBRZ.mjs";
|
|
29
|
+
import "./chunk-3N3NWKOV.mjs";
|
|
30
|
+
import "./chunk-YPT6XQJX.mjs";
|
|
31
31
|
export {
|
|
32
32
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
33
33
|
SWIFT_SDK_IMAGE_BUNDLE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4BSH2PJJ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4J7M5ABU.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3N3NWKOV.mjs";
|
|
12
|
+
import "./chunk-YPT6XQJX.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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;
|
|
@@ -19556,7 +19556,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19556
19556
|
|
|
19557
19557
|
// src/swift-compiler-digest.ts
|
|
19558
19558
|
function swiftArchiveCompilerDigestValue() {
|
|
19559
|
-
return true ? "
|
|
19559
|
+
return true ? "ef102649bb803fa4a669fab0435e2270e6dc7dc45669a03a377d6951f7daa35f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19560
19560
|
}
|
|
19561
19561
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19562
19562
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19707,7 +19707,7 @@ var init_swift_standin_digest = __esm({
|
|
|
19707
19707
|
|
|
19708
19708
|
// src/expo-native-compiler-digest.ts
|
|
19709
19709
|
function expoNativeCompilerDigestValue() {
|
|
19710
|
-
return true ? "
|
|
19710
|
+
return true ? "32128bd460028ed060190bfde6d7773aef3938f8c132b90073f8f8fb3daabe41" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19711
19711
|
}
|
|
19712
19712
|
var import_node_crypto18;
|
|
19713
19713
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -48819,17 +48819,7 @@ function swiftFrameworkSlotKey(slot) {
|
|
|
48819
48819
|
function swiftFrameworkSlotRelease(slot) {
|
|
48820
48820
|
return swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_RELEASE);
|
|
48821
48821
|
}
|
|
48822
|
-
function
|
|
48823
|
-
try {
|
|
48824
|
-
return (0, import_node_fs70.readdirSync)(import_node_path70.default.join(slot, "products-ready")).some(
|
|
48825
|
-
(entry) => entry.endsWith(".json")
|
|
48826
|
-
);
|
|
48827
|
-
} catch (error) {
|
|
48828
|
-
if (vanished(error)) return false;
|
|
48829
|
-
throw error;
|
|
48830
|
-
}
|
|
48831
|
-
}
|
|
48832
|
-
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized = false) {
|
|
48822
|
+
async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized, linkOnly) {
|
|
48833
48823
|
const slotCount = swiftFrameworkSlotCount(unoptimized);
|
|
48834
48824
|
const slotsDir = swiftFrameworksDir(unoptimized);
|
|
48835
48825
|
const slots = Array.from({ length: slotCount }, (_, index) => {
|
|
@@ -48846,8 +48836,12 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
48846
48836
|
throw error;
|
|
48847
48837
|
}
|
|
48848
48838
|
};
|
|
48849
|
-
const
|
|
48850
|
-
const
|
|
48839
|
+
const handoffFile = (slot) => import_node_path70.default.join(slot, SWIFT_FRAMEWORK_SLOT_HANDOFF);
|
|
48840
|
+
const hasPendingForeignHandoff = (slot, now) => {
|
|
48841
|
+
const stamp = (0, import_node_fs70.statSync)(handoffFile(slot), { throwIfNoEntry: false });
|
|
48842
|
+
return stamp !== void 0 && !own2(slot) && now - stamp.mtimeMs < SWIFT_FRAMEWORK_HANDOFF_MS;
|
|
48843
|
+
};
|
|
48844
|
+
const trySlot = (slot, mode, logSelection, allowPendingHandoff = true) => {
|
|
48851
48845
|
return withSwiftRootLock(
|
|
48852
48846
|
slot,
|
|
48853
48847
|
async (lease) => {
|
|
@@ -48855,7 +48849,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
48855
48849
|
if (mode !== "restage" && !matches) return;
|
|
48856
48850
|
const allowWrite = mode !== "reuse";
|
|
48857
48851
|
if (allowWrite && await hasLiveSwiftRootReaders(slot, signal)) return;
|
|
48858
|
-
if (mode === "restage" && !matches && !
|
|
48852
|
+
if (mode === "restage" && !matches && !allowPendingHandoff && hasPendingForeignHandoff(slot, Date.now()))
|
|
48859
48853
|
return;
|
|
48860
48854
|
if (!matches) logSelection?.();
|
|
48861
48855
|
if (mode === "extend")
|
|
@@ -48869,6 +48863,8 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
48869
48863
|
`[swift-framework-cache] ${import_node_path70.default.basename(slot)} hit=products release=${release}`
|
|
48870
48864
|
);
|
|
48871
48865
|
const now = /* @__PURE__ */ new Date();
|
|
48866
|
+
if (linkOnly) (0, import_node_fs70.writeFileSync)(handoffFile(slot), "");
|
|
48867
|
+
else (0, import_node_fs70.rmSync)(handoffFile(slot), { force: true });
|
|
48872
48868
|
(0, import_node_fs70.utimesSync)(slot, now, now);
|
|
48873
48869
|
return { value };
|
|
48874
48870
|
},
|
|
@@ -48922,8 +48918,8 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
|
|
|
48922
48918
|
return { slot, index, tier: 3, changes: Infinity, own: false, mtimeMs };
|
|
48923
48919
|
const changes = changedInputsFor(slot, slotKey);
|
|
48924
48920
|
const isOwn = own2(slot);
|
|
48925
|
-
const
|
|
48926
|
-
return { slot, index, tier
|
|
48921
|
+
const tier = hasPendingForeignHandoff(slot, now) ? 2 : 0;
|
|
48922
|
+
return { slot, index, tier, changes, own: isOwn, mtimeMs };
|
|
48927
48923
|
}).sort((left, right) => {
|
|
48928
48924
|
if (left.tier !== right.tier) return left.tier - right.tier;
|
|
48929
48925
|
if (left.tier === 0)
|
|
@@ -49049,6 +49045,7 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
|
|
|
49049
49045
|
if (hadKey !== frameworkKey) {
|
|
49050
49046
|
(0, import_node_fs70.rmSync)(import_node_path70.default.join(slot, SWIFT_FRAMEWORK_SLOT_KEY), { force: true });
|
|
49051
49047
|
(0, import_node_fs70.rmSync)(import_node_path70.default.join(slot, SWIFT_FRAMEWORK_SLOT_RELEASE), { force: true });
|
|
49048
|
+
(0, import_node_fs70.rmSync)(import_node_path70.default.join(slot, SWIFT_FRAMEWORK_SLOT_HANDOFF), { force: true });
|
|
49052
49049
|
(0, import_node_fs70.rmSync)(import_node_path70.default.join(slot, "products-ready"), { recursive: true, force: true });
|
|
49053
49050
|
(0, import_node_fs70.rmSync)(import_node_path70.default.join(slot, "products-lib"), { recursive: true, force: true });
|
|
49054
49051
|
(0, import_node_fs70.rmSync)(import_node_path70.default.join(slot, "lib"), { recursive: true, force: true });
|
|
@@ -49400,7 +49397,8 @@ ${compatShape}` : "";
|
|
|
49400
49397
|
moduleRoot,
|
|
49401
49398
|
budget.signal,
|
|
49402
49399
|
prepareFrameworks,
|
|
49403
|
-
unoptimized
|
|
49400
|
+
unoptimized,
|
|
49401
|
+
options2.linkOnly === true
|
|
49404
49402
|
);
|
|
49405
49403
|
if (!frameworks)
|
|
49406
49404
|
throw new Error("Swift distribution did not provide its frameworks");
|
|
@@ -49967,7 +49965,7 @@ ${compatShape}` : "";
|
|
|
49967
49965
|
options2.signal
|
|
49968
49966
|
);
|
|
49969
49967
|
}
|
|
49970
|
-
var import_node_child_process41, import_node_crypto45, import_node_fs70, import_node_os17, import_node_path70, import_promises8, v6, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_COMPILER_ENV_KEYS, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, lastPartition, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, CLANG_DISTRIBUTION_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, MODULE_MAP_RESPONSE_FILE_RUN, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, cPredefineTable, cPredefineCache, HIDDEN_UNITS, FIRST_WINS_PAIRS, LAST_WINS_PAIRS, VALUE_FLAGS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, frameworkProductsReceiptSchema, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN, SWIFT_FRAMEWORK_SLOT_RELEASE, SWIFT_BUILD_ROOT_SLOTS, SWIFT_BUILD_ROOT_SHAPE,
|
|
49968
|
+
var import_node_child_process41, import_node_crypto45, import_node_fs70, import_node_os17, import_node_path70, import_promises8, v6, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_COMPILER_ENV_KEYS, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, lastPartition, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, CLANG_DISTRIBUTION_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, MODULE_MAP_RESPONSE_FILE_RUN, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, cPredefineTable, cPredefineCache, HIDDEN_UNITS, FIRST_WINS_PAIRS, LAST_WINS_PAIRS, VALUE_FLAGS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, frameworkProductsReceiptSchema, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN, SWIFT_FRAMEWORK_SLOT_RELEASE, SWIFT_FRAMEWORK_SLOT_HANDOFF, SWIFT_BUILD_ROOT_SLOTS, SWIFT_BUILD_ROOT_SHAPE, SWIFT_FRAMEWORK_HANDOFF_MS;
|
|
49971
49969
|
var init_swift_compile = __esm({
|
|
49972
49970
|
"src/swift-compile.ts"() {
|
|
49973
49971
|
"use strict";
|
|
@@ -50201,7 +50199,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50201
50199
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
50202
50200
|
MULTI_MANIFEST_VERSION = 76;
|
|
50203
50201
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
50204
|
-
compilerSourceDigest = true ? "
|
|
50202
|
+
compilerSourceDigest = true ? "9e43b96f22759d18028120bf151aaa3545b4a68d9cb280a87e81051893e9eb50" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
50205
50203
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
50206
50204
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
50207
50205
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -50307,9 +50305,10 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
50307
50305
|
SWIFT_FRAMEWORK_SLOT_KEY = ".peach-framework-key";
|
|
50308
50306
|
SWIFT_FRAMEWORK_SLOT_ORIGIN = ".peach-framework-origin";
|
|
50309
50307
|
SWIFT_FRAMEWORK_SLOT_RELEASE = ".peach-framework-release";
|
|
50308
|
+
SWIFT_FRAMEWORK_SLOT_HANDOFF = ".peach-framework-handoff";
|
|
50310
50309
|
SWIFT_BUILD_ROOT_SLOTS = 4;
|
|
50311
50310
|
SWIFT_BUILD_ROOT_SHAPE = ".peach-build-shape";
|
|
50312
|
-
|
|
50311
|
+
SWIFT_FRAMEWORK_HANDOFF_MS = 15 * 60 * 1e3;
|
|
50313
50312
|
}
|
|
50314
50313
|
});
|
|
50315
50314
|
|
|
@@ -105583,7 +105582,7 @@ var init_nitro_superset = __esm({
|
|
|
105583
105582
|
init_nitroContract();
|
|
105584
105583
|
init_swift_standin_digest();
|
|
105585
105584
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105586
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105585
|
+
NITRO_COMPILER_DIGEST = true ? "bbe658f7e2c352f47d2e139b1ee4adb8b1944071676dd2de1401c6f637eaf9f6" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105587
105586
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105588
105587
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105589
105588
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2744 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-MK5GDI4J.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-6HF6522F.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-MHWKZ233.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-U6INDDV4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-3N3NWKOV.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-YPT6XQJX.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|