peachsim 0.1.2773 → 0.1.2774
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 +127 -23
- 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-3SGU25AX.mjs → acorn-WYOHSUVU.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-FRPS6V6P.mjs → chunk-2JGH43VT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4FVDW5QX.mjs → chunk-3SQGKA6Z.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KZ2NH7C4.mjs → chunk-4K3ZR6YW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IM2IAOAZ.mjs → chunk-62NI6YCH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YZRKIUVZ.mjs → chunk-AEE6PLCM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DYKZYFHH.mjs → chunk-B3GMGDAC.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-KEVJJ3QT.mjs → chunk-CDZ6YIIB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2HWUPAOD.mjs → chunk-CRXKBBYS.mjs} +47 -24
- package/dist-lib/esm-chunks/{chunk-KMMFDGYA.mjs → chunk-ETJLJYIY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NH3CEIBN.mjs → chunk-F3K2ACFM.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-MRQ72NMR.mjs → chunk-IKCQ5XQP.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-IQF674WE.mjs → chunk-K7A5D6XB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DFVWY2BW.mjs → chunk-KGVTCLU7.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-5DQRSOJ5.mjs → chunk-M45GB4YE.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-G5TS3L6A.mjs → chunk-MZX6AAGH.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-SZ7TVJHH.mjs → chunk-ONTQLRM4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ANTOZ3UC.mjs → chunk-P5VUFHVB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q2EEH42W.mjs → chunk-R7HK74K2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HN7CHPZK.mjs → chunk-RC56H3GQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GSZLZNZM.mjs → chunk-RGFBDGCR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QMI7ECNF.mjs → chunk-TJMPCXFB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ORGP6SSO.mjs → chunk-TRALQNBC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WBPJJXMA.mjs → chunk-VR25GACU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-XXLSXSUK.mjs → chunk-W2YKROSW.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-5MEY33AK.mjs → metro-layout-parser-QG6UBS3S.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-3FLCNBQT.mjs → swift-package-prebuilt-KQJ2G4YJ.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-PPJ4LUOW.mjs → swift-sdk-app-module-RL3LZGNU.mjs} +107 -25
- package/dist-lib/esm-chunks/{swift-sdk-image-L5MERITP.mjs → swift-sdk-image-L7SO7UED.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-IILRYXVN.mjs → swift-sdk-image-producer-QYH6Z7VW.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +127 -23
- 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 +127 -23
- 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 +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 +127 -23
- package/dist-lib/swift-compile.cjs +124 -20
- 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/dist-types/packages/peach-engine/src/ios/duo-vertical-bar-geometry.d.ts +0 -15
- package/dist-types/packages/peach-engine/src/ios/flex-interaction.d.ts +0 -1
- package/package.json +1 -1
- package/src/sfSymbolMetricsContract.ts +51 -23
- package/src/swift-guest-compile.ts +18 -7
- package/src/swift-guest-projection-storage.ts +15 -2
- package/src/swift-sdk-app-module.ts +113 -10
- package/src/swiftSdkLinkContract.ts +10 -0
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (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;
|
|
@@ -36021,7 +36021,7 @@ var init_swift_objc_sdk_tree = __esm({
|
|
|
36021
36021
|
|
|
36022
36022
|
// src/swift-compiler-digest.ts
|
|
36023
36023
|
function swiftArchiveCompilerDigestValue() {
|
|
36024
|
-
return true ? "
|
|
36024
|
+
return true ? "dbd69368ac13e2e2185634c7660242da347ffd693806bb5095aa7f248ecd808c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
36025
36025
|
}
|
|
36026
36026
|
var import_node_crypto11, import_node_fs27, import_node_path25, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
36027
36027
|
var init_swift_compiler_digest = __esm({
|
|
@@ -36173,7 +36173,7 @@ var init_swift_standin_digest = __esm({
|
|
|
36173
36173
|
|
|
36174
36174
|
// src/expo-native-compiler-digest.ts
|
|
36175
36175
|
function expoNativeCompilerDigestValue() {
|
|
36176
|
-
return true ? "
|
|
36176
|
+
return true ? "f81f5f4c1643adadf91a8790156c5e76b276bbfe0ab887e120295f7fe09fd97a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
36177
36177
|
}
|
|
36178
36178
|
var import_node_crypto13;
|
|
36179
36179
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -66705,6 +66705,7 @@ function finalizeGuestProjectionStorage(options2) {
|
|
|
66705
66705
|
const result = Buffer.from(options2.optimized);
|
|
66706
66706
|
const locations = /* @__PURE__ */ new Map();
|
|
66707
66707
|
const counts = /* @__PURE__ */ new Map();
|
|
66708
|
+
const countAddresses = [];
|
|
66708
66709
|
const uuids = /* @__PURE__ */ new Map();
|
|
66709
66710
|
const markers = new Map(
|
|
66710
66711
|
options2.reserved.countMarkers.map((marker, index) => [marker, index])
|
|
@@ -66737,6 +66738,7 @@ function finalizeGuestProjectionStorage(options2) {
|
|
|
66737
66738
|
if (counts.has(count))
|
|
66738
66739
|
throw new Error("duplicate guest projection count marker");
|
|
66739
66740
|
counts.set(count, offset);
|
|
66741
|
+
countAddresses[count] = segment2.address + offset - segment2.offset;
|
|
66740
66742
|
}
|
|
66741
66743
|
if (offset > end - 8 || result[offset + 3] !== 254 || result[offset + 7] !== 253)
|
|
66742
66744
|
continue;
|
|
@@ -66774,7 +66776,16 @@ function finalizeGuestProjectionStorage(options2) {
|
|
|
66774
66776
|
result.writeUInt32LE(region?.initialProtection ?? 0, offset + 8);
|
|
66775
66777
|
result.writeUInt32LE(region?.maximumProtection ?? 0, offset + 12);
|
|
66776
66778
|
}
|
|
66777
|
-
return {
|
|
66779
|
+
return {
|
|
66780
|
+
wasm: result,
|
|
66781
|
+
images,
|
|
66782
|
+
countAddresses,
|
|
66783
|
+
appImages: options2.sdkSpans ? planGuestProjectionRegions(
|
|
66784
|
+
options2.reserved.images,
|
|
66785
|
+
options2.reserved.capacities,
|
|
66786
|
+
spans
|
|
66787
|
+
) : images
|
|
66788
|
+
};
|
|
66778
66789
|
}
|
|
66779
66790
|
var UUID_MARKER_PREFIX, UUID_BYTES;
|
|
66780
66791
|
var init_swift_guest_projection_storage = __esm({
|
|
@@ -76025,7 +76036,7 @@ async function linkSwiftAppModule(options2) {
|
|
|
76025
76036
|
{ maxBuffer: 64 << 20, ...options2.project }
|
|
76026
76037
|
);
|
|
76027
76038
|
const module2 = import_node_path74.default.join(work, "app.module.wasm");
|
|
76028
|
-
const { bytes, linkage } = resolveSdkReferences(
|
|
76039
|
+
const { bytes, linkage, staticEnd, globalValues } = resolveSdkReferences(
|
|
76029
76040
|
(0, import_node_fs76.readFileSync)(
|
|
76030
76041
|
options2.project ? projectOutputFile(work, linked, options2.project) : linked
|
|
76031
76042
|
),
|
|
@@ -76058,6 +76069,8 @@ async function linkSwiftAppModule(options2) {
|
|
|
76058
76069
|
).update(bytes).digest("hex"));
|
|
76059
76070
|
return {
|
|
76060
76071
|
linkage,
|
|
76072
|
+
staticEnd,
|
|
76073
|
+
globalValues,
|
|
76061
76074
|
async lower() {
|
|
76062
76075
|
const receipt = loweringCache && `${loweringCache.file}.key`;
|
|
76063
76076
|
if (loweringCache && receipt && (0, import_node_fs76.existsSync)(receipt) && (0, import_node_fs76.existsSync)(loweringCache.file) && (0, import_node_fs76.readFileSync)(receipt, "utf8") === loweringKey) {
|
|
@@ -76538,6 +76551,7 @@ function resolveSdkReferences(source, sdk2, forwarders) {
|
|
|
76538
76551
|
const er = wasmReader(bytes, exportSection.start);
|
|
76539
76552
|
const exportCount = er.u();
|
|
76540
76553
|
const originalExportsStart = er.at;
|
|
76554
|
+
let staticEnd = 0;
|
|
76541
76555
|
for (let i = 0; i < exportCount; i++) {
|
|
76542
76556
|
const name3 = er.name();
|
|
76543
76557
|
const kind = er.byte();
|
|
@@ -76550,8 +76564,10 @@ function resolveSdkReferences(source, sdk2, forwarders) {
|
|
|
76550
76564
|
const op = raw2.byte();
|
|
76551
76565
|
const value = op === 35 ? BigInt(raw2.u()) : raw2.s();
|
|
76552
76566
|
raw2.skip(1);
|
|
76553
|
-
if (j
|
|
76567
|
+
if (j !== index) continue;
|
|
76568
|
+
if (value <= 0n || value > BigInt(SWIFT_SDK_MEMORY_BASE))
|
|
76554
76569
|
throw new Error("Swift app exceeds its reserved static memory range");
|
|
76570
|
+
staticEnd = Number(value);
|
|
76555
76571
|
}
|
|
76556
76572
|
}
|
|
76557
76573
|
const exportParts = [
|
|
@@ -76588,7 +76604,12 @@ function resolveSdkReferences(source, sdk2, forwarders) {
|
|
|
76588
76604
|
parts2.push(bytes.subarray(s.offset, s.end));
|
|
76589
76605
|
}
|
|
76590
76606
|
}
|
|
76591
|
-
return {
|
|
76607
|
+
return {
|
|
76608
|
+
bytes: Buffer.concat(parts2),
|
|
76609
|
+
linkage,
|
|
76610
|
+
staticEnd,
|
|
76611
|
+
globalValues: [...new Set(got.values())]
|
|
76612
|
+
};
|
|
76592
76613
|
}
|
|
76593
76614
|
function expandSdkRelocations(bytes, section2, patches) {
|
|
76594
76615
|
patches.sort((a, b) => a.at - b.at);
|
|
@@ -76635,25 +76656,94 @@ function bindSwiftAppModule(linkage, sdk2) {
|
|
|
76635
76656
|
throw new Error(`SDK image has no compatible function ${name3}`);
|
|
76636
76657
|
return slot;
|
|
76637
76658
|
});
|
|
76638
|
-
const
|
|
76659
|
+
const projection = linkage.replayProjection?.sdk === sdk2.key ? void 0 : linkage.replayProjection;
|
|
76660
|
+
const optional3 = projection && new Set(projection.lookupValues);
|
|
76661
|
+
const values = linkage.values.map(({ kind, name: name3, addend }, index) => {
|
|
76639
76662
|
const value = kind === "function" ? functions[name3] : kind === "address" ? data[name3] : tls[name3];
|
|
76663
|
+
if (value === void 0 && optional3?.has(index)) return 0n;
|
|
76640
76664
|
if (value === void 0 || kind === "tls" && tls.errno === void 0)
|
|
76641
76665
|
throw new Error(`SDK image has no ${kind} symbol ${name3}`);
|
|
76642
76666
|
return BigInt(value + addend - (kind === "tls" ? tls.errno : 0));
|
|
76643
76667
|
});
|
|
76668
|
+
const fixups = projection ? appendReplayProjectionFixups(linkage.data, values, projection, sdk2) : linkage.data;
|
|
76644
76669
|
const words2 = Uint32Array.from([
|
|
76645
76670
|
values.length,
|
|
76646
76671
|
slots.length,
|
|
76647
|
-
|
|
76672
|
+
fixups.length,
|
|
76648
76673
|
linkage.tls.length
|
|
76649
76674
|
]);
|
|
76650
76675
|
return Buffer.concat([
|
|
76651
|
-
...[words2, values, slots, Uint32Array.from(linkage.tls)].map(
|
|
76676
|
+
...[words2, BigInt64Array.from(values), slots, Uint32Array.from(linkage.tls)].map(
|
|
76652
76677
|
(part) => new Uint8Array(part.buffer)
|
|
76653
76678
|
),
|
|
76654
|
-
encodeNativeSdkFixups(
|
|
76679
|
+
encodeNativeSdkFixups(fixups)
|
|
76655
76680
|
]);
|
|
76656
76681
|
}
|
|
76682
|
+
function appendReplayProjectionFixups(data, values, projection, sdk2) {
|
|
76683
|
+
const { countAddresses, images, staticEnd } = projection;
|
|
76684
|
+
if (!Number.isSafeInteger(staticEnd) || staticEnd < SWIFT_SDK_APP_MEMORY_BASE || staticEnd >= SWIFT_SDK_MEMORY_BASE || countAddresses.length !== images.length || new Set(countAddresses).size !== images.length)
|
|
76685
|
+
throw new Error("invalid retained app projection storage");
|
|
76686
|
+
const objects = new Map(projection.objects);
|
|
76687
|
+
const products = new Map(projection.products);
|
|
76688
|
+
const sdkSpans = swiftSdkProjectionSpans(
|
|
76689
|
+
sdk2,
|
|
76690
|
+
(object9, product) => objects.get(object9) ?? products.get(product)
|
|
76691
|
+
);
|
|
76692
|
+
const regions = planGuestProjectionRegions(
|
|
76693
|
+
images,
|
|
76694
|
+
images.map(() => ({
|
|
76695
|
+
regions: Number.MAX_SAFE_INTEGER,
|
|
76696
|
+
memoryProtection: { initial: 3, maximum: 3 },
|
|
76697
|
+
tableProtection: { initial: 5, maximum: 5 }
|
|
76698
|
+
})),
|
|
76699
|
+
[
|
|
76700
|
+
...images.flatMap(
|
|
76701
|
+
({ regions: regions2 }, image) => regions2.map(({ space, address, length }) => ({ image, space, address, length }))
|
|
76702
|
+
),
|
|
76703
|
+
...sdkSpans
|
|
76704
|
+
]
|
|
76705
|
+
);
|
|
76706
|
+
const fixups = [...data];
|
|
76707
|
+
const literals = /* @__PURE__ */ new Map();
|
|
76708
|
+
const add2 = (address, width, value) => {
|
|
76709
|
+
let index = literals.get(value);
|
|
76710
|
+
if (index === void 0) {
|
|
76711
|
+
index = values.length;
|
|
76712
|
+
literals.set(value, index);
|
|
76713
|
+
values.push(value);
|
|
76714
|
+
}
|
|
76715
|
+
fixups.push(address, width, index);
|
|
76716
|
+
};
|
|
76717
|
+
const name3 = Math.ceil(staticEnd / 8) * 8;
|
|
76718
|
+
let next = name3 + 8;
|
|
76719
|
+
if (next > SWIFT_SDK_MEMORY_BASE)
|
|
76720
|
+
throw new Error("rebound SDK projection exceeds the app static memory reservation");
|
|
76721
|
+
add2(name3, 8, Buffer.from("__WASM\0\0").readBigInt64LE());
|
|
76722
|
+
for (const [image, { regions: ranges }] of regions.entries()) {
|
|
76723
|
+
const count = countAddresses[image];
|
|
76724
|
+
if (!Number.isSafeInteger(count) || count < SWIFT_SDK_APP_MEMORY_BASE || count + 16 > staticEnd || count % 8 !== 0)
|
|
76725
|
+
throw new Error("retained app projection record is out of range");
|
|
76726
|
+
add2(count, 4, BigInt(ranges.length));
|
|
76727
|
+
add2(count + 8, 8, BigInt(next));
|
|
76728
|
+
for (const range3 of ranges) {
|
|
76729
|
+
if (next + 40 > SWIFT_SDK_MEMORY_BASE)
|
|
76730
|
+
throw new Error(
|
|
76731
|
+
"rebound SDK projection exceeds the app static memory reservation"
|
|
76732
|
+
);
|
|
76733
|
+
add2(next, 8, BigInt(name3));
|
|
76734
|
+
add2(
|
|
76735
|
+
next + 8,
|
|
76736
|
+
8,
|
|
76737
|
+
BigInt(range3.address) << 32n | BigInt(range3.space === "function-table")
|
|
76738
|
+
);
|
|
76739
|
+
add2(next + 16, 8, BigInt(range3.initialProtection) << 32n | BigInt(range3.length));
|
|
76740
|
+
add2(next + 24, 8, BigInt(range3.maximumProtection));
|
|
76741
|
+
add2(next + 32, 8, 0n);
|
|
76742
|
+
next += 40;
|
|
76743
|
+
}
|
|
76744
|
+
}
|
|
76745
|
+
return fixups;
|
|
76746
|
+
}
|
|
76657
76747
|
function writeSwiftSdkAppLink(file, link) {
|
|
76658
76748
|
const bytes = (0, import_node_zlib5.gzipSync)(JSON.stringify(link), { level: 1 });
|
|
76659
76749
|
(0, import_node_fs76.writeFileSync)(file, bytes);
|
|
@@ -76947,8 +77037,10 @@ function selectSwiftSdkData(sdk2, usage, linkage, projection) {
|
|
|
76947
77037
|
const { functions, data } = sdk2.sdkInterface;
|
|
76948
77038
|
for (const { name: name3 } of linkage.functions) boundSlots.add(functions[name3]);
|
|
76949
77039
|
for (const { kind, name: name3 } of linkage.values) {
|
|
76950
|
-
|
|
76951
|
-
|
|
77040
|
+
const address2 = kind === "function" ? functions[name3] : data[name3];
|
|
77041
|
+
if (address2 === void 0) continue;
|
|
77042
|
+
if (kind === "function") boundSlots.add(address2);
|
|
77043
|
+
else if (kind === "address") visit3(address2);
|
|
76952
77044
|
}
|
|
76953
77045
|
}
|
|
76954
77046
|
const slots = block2("functionSlots");
|
|
@@ -77259,6 +77351,7 @@ var init_swift_sdk_app_module = __esm({
|
|
|
77259
77351
|
init_swift_distribution_mirror();
|
|
77260
77352
|
init_swift_guest_dyld_functions();
|
|
77261
77353
|
init_swift_guest_linked_spans();
|
|
77354
|
+
init_swift_guest_projection_storage();
|
|
77262
77355
|
init_swift_project_user();
|
|
77263
77356
|
init_swift_sdk_image();
|
|
77264
77357
|
init_swift_sdk_image_map();
|
|
@@ -77732,7 +77825,6 @@ async function compileGuestLink(options2) {
|
|
|
77732
77825
|
linkSwiftAppModule: linkSwiftAppModule2,
|
|
77733
77826
|
readSwiftSdkUsage: readSwiftSdkUsage2,
|
|
77734
77827
|
swiftAppModuleThunkSection: swiftAppModuleThunkSection2,
|
|
77735
|
-
swiftSdkProjectionDigest: swiftSdkProjectionDigest2,
|
|
77736
77828
|
swiftSdkProjectionSpans: swiftSdkProjectionSpans2,
|
|
77737
77829
|
writeSwiftSdkAppLink: writeSwiftSdkAppLink2
|
|
77738
77830
|
} = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
|
|
@@ -77886,17 +77978,29 @@ async function compileGuestLink(options2) {
|
|
|
77886
77978
|
if (project2) return binding;
|
|
77887
77979
|
const replayDirectory = import_node_path75.default.join(options2.buildDirectory, ".peach-sdk-module");
|
|
77888
77980
|
(0, import_node_fs77.mkdirSync)(replayDirectory, { recursive: true });
|
|
77981
|
+
const directValues = new Set(link.globalValues);
|
|
77982
|
+
for (const values2 of [data, linkage.tls])
|
|
77983
|
+
for (let index = 2; index < values2.length; index += 3)
|
|
77984
|
+
directValues.add(values2[index]);
|
|
77889
77985
|
const appLink = writeSwiftSdkAppLink2(
|
|
77890
77986
|
import_node_path75.default.join(replayDirectory, "app-link.json.gz"),
|
|
77891
77987
|
{
|
|
77892
|
-
linkage
|
|
77988
|
+
linkage: {
|
|
77989
|
+
...linkage,
|
|
77990
|
+
replayProjection: {
|
|
77991
|
+
sdk: sdk2.key,
|
|
77992
|
+
staticEnd: link.staticEnd,
|
|
77993
|
+
countAddresses: finalized.countAddresses,
|
|
77994
|
+
images: finalized.appImages,
|
|
77995
|
+
objects: [...sdkObjectImages],
|
|
77996
|
+
products: [...sdkProductImages],
|
|
77997
|
+
lookupValues: [...new Set(bindingRows.values())].filter(
|
|
77998
|
+
(index) => !directValues.has(index)
|
|
77999
|
+
)
|
|
78000
|
+
}
|
|
78001
|
+
},
|
|
77893
78002
|
usage,
|
|
77894
|
-
scopedLookups: true
|
|
77895
|
-
sdkProjection: {
|
|
77896
|
-
objects: [...sdkObjectImages],
|
|
77897
|
-
products: [...sdkProductImages],
|
|
77898
|
-
layoutSha256: swiftSdkProjectionDigest2(sdkSpans)
|
|
77899
|
-
}
|
|
78003
|
+
scopedLookups: true
|
|
77900
78004
|
}
|
|
77901
78005
|
);
|
|
77902
78006
|
return { ...binding, appLink };
|
|
@@ -85150,7 +85254,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
85150
85254
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
85151
85255
|
MULTI_MANIFEST_VERSION = 76;
|
|
85152
85256
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
85153
|
-
compilerSourceDigest = true ? "
|
|
85257
|
+
compilerSourceDigest = true ? "059193e56cc163028469bb65adf83db77e86a673218f6c713c533cced24fa090" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
85154
85258
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
85155
85259
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
85156
85260
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -155108,7 +155212,7 @@ var init_nitro_superset = __esm({
|
|
|
155108
155212
|
init_nitroContract();
|
|
155109
155213
|
init_swift_standin_digest();
|
|
155110
155214
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
155111
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
155215
|
+
NITRO_COMPILER_DIGEST = true ? "15fd02d00a07f5483503714d46d4bd59673aaee4c546000ea574ecdb74b2643e" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
155112
155216
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
155113
155217
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
155114
155218
|
published3 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (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;
|
|
@@ -13582,6 +13582,7 @@ function finalizeGuestProjectionStorage(options) {
|
|
|
13582
13582
|
const result = Buffer.from(options.optimized);
|
|
13583
13583
|
const locations = /* @__PURE__ */ new Map();
|
|
13584
13584
|
const counts = /* @__PURE__ */ new Map();
|
|
13585
|
+
const countAddresses = [];
|
|
13585
13586
|
const uuids = /* @__PURE__ */ new Map();
|
|
13586
13587
|
const markers = new Map(
|
|
13587
13588
|
options.reserved.countMarkers.map((marker, index) => [marker, index])
|
|
@@ -13614,6 +13615,7 @@ function finalizeGuestProjectionStorage(options) {
|
|
|
13614
13615
|
if (counts.has(count))
|
|
13615
13616
|
throw new Error("duplicate guest projection count marker");
|
|
13616
13617
|
counts.set(count, offset);
|
|
13618
|
+
countAddresses[count] = segment.address + offset - segment.offset;
|
|
13617
13619
|
}
|
|
13618
13620
|
if (offset > end - 8 || result[offset + 3] !== 254 || result[offset + 7] !== 253)
|
|
13619
13621
|
continue;
|
|
@@ -13651,7 +13653,16 @@ function finalizeGuestProjectionStorage(options) {
|
|
|
13651
13653
|
result.writeUInt32LE(region?.initialProtection ?? 0, offset + 8);
|
|
13652
13654
|
result.writeUInt32LE(region?.maximumProtection ?? 0, offset + 12);
|
|
13653
13655
|
}
|
|
13654
|
-
return {
|
|
13656
|
+
return {
|
|
13657
|
+
wasm: result,
|
|
13658
|
+
images,
|
|
13659
|
+
countAddresses,
|
|
13660
|
+
appImages: options.sdkSpans ? planGuestProjectionRegions(
|
|
13661
|
+
options.reserved.images,
|
|
13662
|
+
options.reserved.capacities,
|
|
13663
|
+
spans
|
|
13664
|
+
) : images
|
|
13665
|
+
};
|
|
13655
13666
|
}
|
|
13656
13667
|
var UUID_MARKER_PREFIX, UUID_BYTES;
|
|
13657
13668
|
var init_swift_guest_projection_storage = __esm({
|
|
@@ -20904,7 +20915,7 @@ async function linkSwiftAppModule(options) {
|
|
|
20904
20915
|
{ maxBuffer: 64 << 20, ...options.project }
|
|
20905
20916
|
);
|
|
20906
20917
|
const module2 = import_node_path38.default.join(work, "app.module.wasm");
|
|
20907
|
-
const { bytes, linkage } = resolveSdkReferences(
|
|
20918
|
+
const { bytes, linkage, staticEnd, globalValues } = resolveSdkReferences(
|
|
20908
20919
|
(0, import_node_fs38.readFileSync)(
|
|
20909
20920
|
options.project ? projectOutputFile(work, linked, options.project) : linked
|
|
20910
20921
|
),
|
|
@@ -20937,6 +20948,8 @@ async function linkSwiftAppModule(options) {
|
|
|
20937
20948
|
).update(bytes).digest("hex"));
|
|
20938
20949
|
return {
|
|
20939
20950
|
linkage,
|
|
20951
|
+
staticEnd,
|
|
20952
|
+
globalValues,
|
|
20940
20953
|
async lower() {
|
|
20941
20954
|
const receipt = loweringCache && `${loweringCache.file}.key`;
|
|
20942
20955
|
if (loweringCache && receipt && (0, import_node_fs38.existsSync)(receipt) && (0, import_node_fs38.existsSync)(loweringCache.file) && (0, import_node_fs38.readFileSync)(receipt, "utf8") === loweringKey) {
|
|
@@ -21417,6 +21430,7 @@ function resolveSdkReferences(source, sdk, forwarders) {
|
|
|
21417
21430
|
const er = wasmReader(bytes, exportSection.start);
|
|
21418
21431
|
const exportCount = er.u();
|
|
21419
21432
|
const originalExportsStart = er.at;
|
|
21433
|
+
let staticEnd = 0;
|
|
21420
21434
|
for (let i = 0; i < exportCount; i++) {
|
|
21421
21435
|
const name3 = er.name();
|
|
21422
21436
|
const kind = er.byte();
|
|
@@ -21429,8 +21443,10 @@ function resolveSdkReferences(source, sdk, forwarders) {
|
|
|
21429
21443
|
const op = raw2.byte();
|
|
21430
21444
|
const value = op === 35 ? BigInt(raw2.u()) : raw2.s();
|
|
21431
21445
|
raw2.skip(1);
|
|
21432
|
-
if (j
|
|
21446
|
+
if (j !== index) continue;
|
|
21447
|
+
if (value <= 0n || value > BigInt(SWIFT_SDK_MEMORY_BASE))
|
|
21433
21448
|
throw new Error("Swift app exceeds its reserved static memory range");
|
|
21449
|
+
staticEnd = Number(value);
|
|
21434
21450
|
}
|
|
21435
21451
|
}
|
|
21436
21452
|
const exportParts = [
|
|
@@ -21467,7 +21483,12 @@ function resolveSdkReferences(source, sdk, forwarders) {
|
|
|
21467
21483
|
parts.push(bytes.subarray(s.offset, s.end));
|
|
21468
21484
|
}
|
|
21469
21485
|
}
|
|
21470
|
-
return {
|
|
21486
|
+
return {
|
|
21487
|
+
bytes: Buffer.concat(parts),
|
|
21488
|
+
linkage,
|
|
21489
|
+
staticEnd,
|
|
21490
|
+
globalValues: [...new Set(got.values())]
|
|
21491
|
+
};
|
|
21471
21492
|
}
|
|
21472
21493
|
function expandSdkRelocations(bytes, section2, patches) {
|
|
21473
21494
|
patches.sort((a, b) => a.at - b.at);
|
|
@@ -21514,25 +21535,94 @@ function bindSwiftAppModule(linkage, sdk) {
|
|
|
21514
21535
|
throw new Error(`SDK image has no compatible function ${name3}`);
|
|
21515
21536
|
return slot;
|
|
21516
21537
|
});
|
|
21517
|
-
const
|
|
21538
|
+
const projection = linkage.replayProjection?.sdk === sdk.key ? void 0 : linkage.replayProjection;
|
|
21539
|
+
const optional3 = projection && new Set(projection.lookupValues);
|
|
21540
|
+
const values = linkage.values.map(({ kind, name: name3, addend }, index) => {
|
|
21518
21541
|
const value = kind === "function" ? functions[name3] : kind === "address" ? data[name3] : tls[name3];
|
|
21542
|
+
if (value === void 0 && optional3?.has(index)) return 0n;
|
|
21519
21543
|
if (value === void 0 || kind === "tls" && tls.errno === void 0)
|
|
21520
21544
|
throw new Error(`SDK image has no ${kind} symbol ${name3}`);
|
|
21521
21545
|
return BigInt(value + addend - (kind === "tls" ? tls.errno : 0));
|
|
21522
21546
|
});
|
|
21547
|
+
const fixups = projection ? appendReplayProjectionFixups(linkage.data, values, projection, sdk) : linkage.data;
|
|
21523
21548
|
const words = Uint32Array.from([
|
|
21524
21549
|
values.length,
|
|
21525
21550
|
slots.length,
|
|
21526
|
-
|
|
21551
|
+
fixups.length,
|
|
21527
21552
|
linkage.tls.length
|
|
21528
21553
|
]);
|
|
21529
21554
|
return Buffer.concat([
|
|
21530
|
-
...[words, values, slots, Uint32Array.from(linkage.tls)].map(
|
|
21555
|
+
...[words, BigInt64Array.from(values), slots, Uint32Array.from(linkage.tls)].map(
|
|
21531
21556
|
(part) => new Uint8Array(part.buffer)
|
|
21532
21557
|
),
|
|
21533
|
-
encodeNativeSdkFixups(
|
|
21558
|
+
encodeNativeSdkFixups(fixups)
|
|
21534
21559
|
]);
|
|
21535
21560
|
}
|
|
21561
|
+
function appendReplayProjectionFixups(data, values, projection, sdk) {
|
|
21562
|
+
const { countAddresses, images, staticEnd } = projection;
|
|
21563
|
+
if (!Number.isSafeInteger(staticEnd) || staticEnd < SWIFT_SDK_APP_MEMORY_BASE || staticEnd >= SWIFT_SDK_MEMORY_BASE || countAddresses.length !== images.length || new Set(countAddresses).size !== images.length)
|
|
21564
|
+
throw new Error("invalid retained app projection storage");
|
|
21565
|
+
const objects = new Map(projection.objects);
|
|
21566
|
+
const products = new Map(projection.products);
|
|
21567
|
+
const sdkSpans = swiftSdkProjectionSpans(
|
|
21568
|
+
sdk,
|
|
21569
|
+
(object4, product) => objects.get(object4) ?? products.get(product)
|
|
21570
|
+
);
|
|
21571
|
+
const regions = planGuestProjectionRegions(
|
|
21572
|
+
images,
|
|
21573
|
+
images.map(() => ({
|
|
21574
|
+
regions: Number.MAX_SAFE_INTEGER,
|
|
21575
|
+
memoryProtection: { initial: 3, maximum: 3 },
|
|
21576
|
+
tableProtection: { initial: 5, maximum: 5 }
|
|
21577
|
+
})),
|
|
21578
|
+
[
|
|
21579
|
+
...images.flatMap(
|
|
21580
|
+
({ regions: regions2 }, image) => regions2.map(({ space, address, length }) => ({ image, space, address, length }))
|
|
21581
|
+
),
|
|
21582
|
+
...sdkSpans
|
|
21583
|
+
]
|
|
21584
|
+
);
|
|
21585
|
+
const fixups = [...data];
|
|
21586
|
+
const literals = /* @__PURE__ */ new Map();
|
|
21587
|
+
const add = (address, width, value) => {
|
|
21588
|
+
let index = literals.get(value);
|
|
21589
|
+
if (index === void 0) {
|
|
21590
|
+
index = values.length;
|
|
21591
|
+
literals.set(value, index);
|
|
21592
|
+
values.push(value);
|
|
21593
|
+
}
|
|
21594
|
+
fixups.push(address, width, index);
|
|
21595
|
+
};
|
|
21596
|
+
const name3 = Math.ceil(staticEnd / 8) * 8;
|
|
21597
|
+
let next = name3 + 8;
|
|
21598
|
+
if (next > SWIFT_SDK_MEMORY_BASE)
|
|
21599
|
+
throw new Error("rebound SDK projection exceeds the app static memory reservation");
|
|
21600
|
+
add(name3, 8, Buffer.from("__WASM\0\0").readBigInt64LE());
|
|
21601
|
+
for (const [image, { regions: ranges }] of regions.entries()) {
|
|
21602
|
+
const count = countAddresses[image];
|
|
21603
|
+
if (!Number.isSafeInteger(count) || count < SWIFT_SDK_APP_MEMORY_BASE || count + 16 > staticEnd || count % 8 !== 0)
|
|
21604
|
+
throw new Error("retained app projection record is out of range");
|
|
21605
|
+
add(count, 4, BigInt(ranges.length));
|
|
21606
|
+
add(count + 8, 8, BigInt(next));
|
|
21607
|
+
for (const range of ranges) {
|
|
21608
|
+
if (next + 40 > SWIFT_SDK_MEMORY_BASE)
|
|
21609
|
+
throw new Error(
|
|
21610
|
+
"rebound SDK projection exceeds the app static memory reservation"
|
|
21611
|
+
);
|
|
21612
|
+
add(next, 8, BigInt(name3));
|
|
21613
|
+
add(
|
|
21614
|
+
next + 8,
|
|
21615
|
+
8,
|
|
21616
|
+
BigInt(range.address) << 32n | BigInt(range.space === "function-table")
|
|
21617
|
+
);
|
|
21618
|
+
add(next + 16, 8, BigInt(range.initialProtection) << 32n | BigInt(range.length));
|
|
21619
|
+
add(next + 24, 8, BigInt(range.maximumProtection));
|
|
21620
|
+
add(next + 32, 8, 0n);
|
|
21621
|
+
next += 40;
|
|
21622
|
+
}
|
|
21623
|
+
}
|
|
21624
|
+
return fixups;
|
|
21625
|
+
}
|
|
21536
21626
|
function writeSwiftSdkAppLink(file, link) {
|
|
21537
21627
|
const bytes = (0, import_node_zlib4.gzipSync)(JSON.stringify(link), { level: 1 });
|
|
21538
21628
|
(0, import_node_fs38.writeFileSync)(file, bytes);
|
|
@@ -21826,8 +21916,10 @@ function selectSwiftSdkData(sdk, usage, linkage, projection) {
|
|
|
21826
21916
|
const { functions, data } = sdk.sdkInterface;
|
|
21827
21917
|
for (const { name: name3 } of linkage.functions) boundSlots.add(functions[name3]);
|
|
21828
21918
|
for (const { kind, name: name3 } of linkage.values) {
|
|
21829
|
-
|
|
21830
|
-
|
|
21919
|
+
const address2 = kind === "function" ? functions[name3] : data[name3];
|
|
21920
|
+
if (address2 === void 0) continue;
|
|
21921
|
+
if (kind === "function") boundSlots.add(address2);
|
|
21922
|
+
else if (kind === "address") visit(address2);
|
|
21831
21923
|
}
|
|
21832
21924
|
}
|
|
21833
21925
|
const slots = block("functionSlots");
|
|
@@ -22138,6 +22230,7 @@ var init_swift_sdk_app_module = __esm({
|
|
|
22138
22230
|
init_swift_distribution_mirror();
|
|
22139
22231
|
init_swift_guest_dyld_functions();
|
|
22140
22232
|
init_swift_guest_linked_spans();
|
|
22233
|
+
init_swift_guest_projection_storage();
|
|
22141
22234
|
init_swift_project_user();
|
|
22142
22235
|
init_swift_sdk_image();
|
|
22143
22236
|
init_swift_sdk_image_map();
|
|
@@ -22611,7 +22704,6 @@ async function compileGuestLink(options) {
|
|
|
22611
22704
|
linkSwiftAppModule: linkSwiftAppModule2,
|
|
22612
22705
|
readSwiftSdkUsage: readSwiftSdkUsage2,
|
|
22613
22706
|
swiftAppModuleThunkSection: swiftAppModuleThunkSection2,
|
|
22614
|
-
swiftSdkProjectionDigest: swiftSdkProjectionDigest2,
|
|
22615
22707
|
swiftSdkProjectionSpans: swiftSdkProjectionSpans2,
|
|
22616
22708
|
writeSwiftSdkAppLink: writeSwiftSdkAppLink2
|
|
22617
22709
|
} = await Promise.resolve().then(() => (init_swift_sdk_app_module(), swift_sdk_app_module_exports));
|
|
@@ -22765,17 +22857,29 @@ async function compileGuestLink(options) {
|
|
|
22765
22857
|
if (project) return binding;
|
|
22766
22858
|
const replayDirectory = import_node_path39.default.join(options.buildDirectory, ".peach-sdk-module");
|
|
22767
22859
|
(0, import_node_fs39.mkdirSync)(replayDirectory, { recursive: true });
|
|
22860
|
+
const directValues = new Set(link.globalValues);
|
|
22861
|
+
for (const values2 of [data, linkage.tls])
|
|
22862
|
+
for (let index = 2; index < values2.length; index += 3)
|
|
22863
|
+
directValues.add(values2[index]);
|
|
22768
22864
|
const appLink = writeSwiftSdkAppLink2(
|
|
22769
22865
|
import_node_path39.default.join(replayDirectory, "app-link.json.gz"),
|
|
22770
22866
|
{
|
|
22771
|
-
linkage
|
|
22867
|
+
linkage: {
|
|
22868
|
+
...linkage,
|
|
22869
|
+
replayProjection: {
|
|
22870
|
+
sdk: sdk.key,
|
|
22871
|
+
staticEnd: link.staticEnd,
|
|
22872
|
+
countAddresses: finalized.countAddresses,
|
|
22873
|
+
images: finalized.appImages,
|
|
22874
|
+
objects: [...sdkObjectImages],
|
|
22875
|
+
products: [...sdkProductImages],
|
|
22876
|
+
lookupValues: [...new Set(bindingRows.values())].filter(
|
|
22877
|
+
(index) => !directValues.has(index)
|
|
22878
|
+
)
|
|
22879
|
+
}
|
|
22880
|
+
},
|
|
22772
22881
|
usage,
|
|
22773
|
-
scopedLookups: true
|
|
22774
|
-
sdkProjection: {
|
|
22775
|
-
objects: [...sdkObjectImages],
|
|
22776
|
-
products: [...sdkProductImages],
|
|
22777
|
-
layoutSha256: swiftSdkProjectionDigest2(sdkSpans)
|
|
22778
|
-
}
|
|
22882
|
+
scopedLookups: true
|
|
22779
22883
|
}
|
|
22780
22884
|
);
|
|
22781
22885
|
return { ...binding, appLink };
|
|
@@ -30226,7 +30330,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
30226
30330
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
30227
30331
|
MULTI_MANIFEST_VERSION = 76;
|
|
30228
30332
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
30229
|
-
compilerSourceDigest = true ? "
|
|
30333
|
+
compilerSourceDigest = true ? "059193e56cc163028469bb65adf83db77e86a673218f6c713c533cced24fa090" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
30230
30334
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
30231
30335
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
30232
30336
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
MULTI_MANIFEST_VERSION,
|
|
4
4
|
WASM_TRIPLE,
|
|
@@ -41,8 +41,8 @@ import {
|
|
|
41
41
|
withNativeSourceGlue,
|
|
42
42
|
wrapUIApplicationMainEntry,
|
|
43
43
|
writeSwiftProject
|
|
44
|
-
} from "./esm-chunks/chunk-
|
|
45
|
-
import "./esm-chunks/chunk-
|
|
44
|
+
} from "./esm-chunks/chunk-CRXKBBYS.mjs";
|
|
45
|
+
import "./esm-chunks/chunk-M45GB4YE.mjs";
|
|
46
46
|
import {
|
|
47
47
|
FOUNDATION_IMPLICIT_MODULES,
|
|
48
48
|
REACH_STAGED_FRAMEWORKS,
|
|
@@ -67,15 +67,15 @@ import {
|
|
|
67
67
|
swiftSdkPaths,
|
|
68
68
|
withFrameworkCompanionImports,
|
|
69
69
|
withoutSwiftDeclarations
|
|
70
|
-
} from "./esm-chunks/chunk-
|
|
71
|
-
import "./esm-chunks/chunk-
|
|
72
|
-
import "./esm-chunks/chunk-
|
|
73
|
-
import "./esm-chunks/chunk-
|
|
74
|
-
import "./esm-chunks/chunk-
|
|
75
|
-
import "./esm-chunks/chunk-
|
|
76
|
-
import "./esm-chunks/chunk-
|
|
77
|
-
import "./esm-chunks/chunk-
|
|
78
|
-
import "./esm-chunks/chunk-
|
|
70
|
+
} from "./esm-chunks/chunk-IKCQ5XQP.mjs";
|
|
71
|
+
import "./esm-chunks/chunk-3SQGKA6Z.mjs";
|
|
72
|
+
import "./esm-chunks/chunk-4K3ZR6YW.mjs";
|
|
73
|
+
import "./esm-chunks/chunk-CDZ6YIIB.mjs";
|
|
74
|
+
import "./esm-chunks/chunk-ONTQLRM4.mjs";
|
|
75
|
+
import "./esm-chunks/chunk-P5VUFHVB.mjs";
|
|
76
|
+
import "./esm-chunks/chunk-62NI6YCH.mjs";
|
|
77
|
+
import "./esm-chunks/chunk-ETJLJYIY.mjs";
|
|
78
|
+
import "./esm-chunks/chunk-R7HK74K2.mjs";
|
|
79
79
|
export {
|
|
80
80
|
FOUNDATION_IMPLICIT_MODULES,
|
|
81
81
|
MULTI_MANIFEST_VERSION,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (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.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
4
4
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -33,8 +33,8 @@ import {
|
|
|
33
33
|
swiftResourceBundles,
|
|
34
34
|
swiftTargetModuleName,
|
|
35
35
|
withoutGlogModuleMap
|
|
36
|
-
} from "./esm-chunks/chunk-
|
|
37
|
-
import "./esm-chunks/chunk-
|
|
36
|
+
} from "./esm-chunks/chunk-CDZ6YIIB.mjs";
|
|
37
|
+
import "./esm-chunks/chunk-R7HK74K2.mjs";
|
|
38
38
|
export {
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
40
40
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (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,16 +1,16 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_HMR_PATH,
|
|
4
4
|
SWIFT_PACKAGE_PATH
|
|
5
|
-
} from "./esm-chunks/chunk-
|
|
5
|
+
} from "./esm-chunks/chunk-W2YKROSW.mjs";
|
|
6
6
|
import {
|
|
7
7
|
isSwiftMetalLibrarySources
|
|
8
|
-
} from "./esm-chunks/chunk-
|
|
9
|
-
import "./esm-chunks/chunk-
|
|
8
|
+
} from "./esm-chunks/chunk-4K3ZR6YW.mjs";
|
|
9
|
+
import "./esm-chunks/chunk-ONTQLRM4.mjs";
|
|
10
10
|
import {
|
|
11
11
|
isRecord
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
13
|
-
import "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-ETJLJYIY.mjs";
|
|
13
|
+
import "./esm-chunks/chunk-R7HK74K2.mjs";
|
|
14
14
|
|
|
15
15
|
// src/swift-submit.ts
|
|
16
16
|
var SWIFT_COMPILE_PATH = "/api/swift-compile";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2774 | (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;
|