peachsim 0.1.2539 → 0.1.2550
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/inspect/settling.ts +32 -28
- 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 +24 -7
- 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 +34 -30
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-5WNGVKAO.mjs → acorn-2IHYKATS.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-YYW22VHX.mjs → chunk-2RR5PIZK.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-VOAPRY6S.mjs → chunk-47AK4Z5F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NIUWMBBQ.mjs → chunk-7I4EEYJK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KFB7KBK2.mjs → chunk-7UXSDV6V.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BBTJK2R3.mjs → chunk-ABZXVU5F.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-7K3LYYDH.mjs → chunk-BW2YWHUH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-45QYUIG4.mjs → chunk-DEZQSTBX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QOV4VQAP.mjs → chunk-DEZVY7KM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BKDSWBR3.mjs → chunk-FPEVLXLM.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-QKZHZ2GW.mjs → chunk-IAXVQGJX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-SW5BT4OK.mjs → chunk-IC2PCUHM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-J5P24DJO.mjs → chunk-N42MJCYL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MAR4ZXOK.mjs → chunk-N7LS7D7G.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RAVJIEAN.mjs → chunk-OYAT4MBE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HNO52ELL.mjs → chunk-UJCFXHNJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AKI4GT3Y.mjs → chunk-UW4NEKSF.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-RLF3UUZH.mjs → chunk-UWN7GVKH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2FUSNOED.mjs → chunk-VPBYBLDP.mjs} +31 -14
- package/dist-lib/esm-chunks/{chunk-IEYZS4X6.mjs → chunk-XLYOIGID.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H35GKHLJ.mjs → chunk-XTNM7WC3.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-P5P7U2GO.mjs → chunk-ZGW3WDUC.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-JNYKXW6Q.mjs → metro-layout-parser-O3WRDGIK.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-NYCATRAM.mjs → swift-package-prebuilt-RUCLCAIJ.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-23LXTJ7Q.mjs → swift-sdk-app-module-Y7NSCAHC.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-WZHY4CDZ.mjs → swift-sdk-image-FLDE3QEC.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-BPOWYSJJ.mjs → swift-sdk-image-producer-AHJPQDQO.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +22 -5
- 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 +24 -7
- 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 +33 -29
- 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 +2 -2
- 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 +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- 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 +33 -29
- package/dist-lib/sdk.mjs +39 -35
- package/dist-lib/skills.cjs +56 -35
- package/dist-lib/swift-compile.cjs +20 -3
- package/dist-lib/swift-compile.mjs +10 -10
- 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 +5 -5
- 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/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.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/engine/node.d.ts +3 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/sfSymbolMetricsContract.ts +57 -15
- package/src/swift-wasm-prune.ts +21 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UW4NEKSF.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
swiftSdkPaths,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VPBYBLDP.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-UJCFXHNJ.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-AHJPQDQO.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7UXSDV6V.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-DEZQSTBX.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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-47AK4Z5F.mjs";
|
|
6
6
|
import {
|
|
7
7
|
parseSwiftDistributionLock,
|
|
8
8
|
readActiveRuntime,
|
|
9
9
|
runtimeDir,
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftModuleSdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-VPBYBLDP.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UJCFXHNJ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-DEZQSTBX.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
windowAdmission,
|
|
19
19
|
withSwiftRootLock,
|
|
20
20
|
writeSwiftAutolinkLinker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-UJCFXHNJ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SWIFT_BINARY_TREES_DIR,
|
|
24
24
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isSwiftResourcePath,
|
|
34
34
|
isSwiftSourceLinkGraph,
|
|
35
35
|
swiftProjectFilesProblems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-UWN7GVKH.mjs";
|
|
37
37
|
import {
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
swiftPackagePartition,
|
|
58
58
|
swiftTargetModuleName,
|
|
59
59
|
withoutGlogModuleMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-BW2YWHUH.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-DEZVY7KM.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-DEZQSTBX.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-N7LS7D7G.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -7259,16 +7259,30 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
7259
7259
|
if (archiveOverlapsDist(archive)) supersededLibFlags.add(t);
|
|
7260
7260
|
}
|
|
7261
7261
|
const leftoverArchiveFiles = [];
|
|
7262
|
+
const leftoverArchiveOrigins = /* @__PURE__ */ new Map();
|
|
7262
7263
|
const writtenLeftovers = /* @__PURE__ */ new Set();
|
|
7263
7264
|
const writeArchiveLeftovers = (archive) => {
|
|
7264
7265
|
if (!fs5.existsSync(archive) || archive.endsWith("libclang_rt.builtins-wasm64.a"))
|
|
7265
7266
|
return;
|
|
7267
|
+
const archivePath = path14.join(
|
|
7268
|
+
fs5.realpathSync(path14.dirname(archive)),
|
|
7269
|
+
path14.basename(archive)
|
|
7270
|
+
);
|
|
7271
|
+
const ordinals = /* @__PURE__ */ new Map();
|
|
7266
7272
|
for (const m of readArMembers(new Uint8Array(fs5.readFileSync(archive)))) {
|
|
7273
|
+
const ordinal = (ordinals.get(m.name) ?? 0) + 1;
|
|
7274
|
+
ordinals.set(m.name, ordinal);
|
|
7267
7275
|
if (distBaseNames.has(m.name) || writtenLeftovers.has(m.name)) continue;
|
|
7268
7276
|
writtenLeftovers.add(m.name);
|
|
7269
7277
|
const out = path14.join(prunedObjsDir, m.name);
|
|
7270
7278
|
fs5.writeFileSync(out, m.bytes);
|
|
7271
7279
|
leftoverArchiveFiles.push(out);
|
|
7280
|
+
leftoverArchiveOrigins.set(out, {
|
|
7281
|
+
archive: archivePath,
|
|
7282
|
+
member: m.name,
|
|
7283
|
+
ordinal,
|
|
7284
|
+
original: out
|
|
7285
|
+
});
|
|
7272
7286
|
const object2 = parseWasmObjectBytes(`${archive}(${m.name})`, m.bytes, false);
|
|
7273
7287
|
extraArchiveObjs.push(object2);
|
|
7274
7288
|
objectBytes.set(object2, Buffer.from(m.bytes));
|
|
@@ -8238,7 +8252,10 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
8238
8252
|
const sdk = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
|
|
8239
8253
|
link(outTokens, prunedMap, {
|
|
8240
8254
|
...sdk,
|
|
8241
|
-
objectOrigins:
|
|
8255
|
+
objectOrigins: new Map([
|
|
8256
|
+
...swiftPrunedSdkObjectOrigins(sdk, outTokens, prunedMap),
|
|
8257
|
+
...leftoverArchiveOrigins
|
|
8258
|
+
]),
|
|
8242
8259
|
transformations
|
|
8243
8260
|
});
|
|
8244
8261
|
} else
|
|
@@ -13454,7 +13471,7 @@ async function compileGuestLink(options) {
|
|
|
13454
13471
|
};
|
|
13455
13472
|
const sdk = options.sdkImage;
|
|
13456
13473
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13457
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13474
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-FLDE3QEC.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13458
13475
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13459
13476
|
throw new Error("the SDK image has no guest link manifest");
|
|
13460
13477
|
const result = linkPrunedGuestImages({
|
|
@@ -13741,7 +13758,7 @@ async function compileGuestLink(options) {
|
|
|
13741
13758
|
finishSwiftAppModule,
|
|
13742
13759
|
linkSwiftAppModule,
|
|
13743
13760
|
readSwiftSdkUsage
|
|
13744
|
-
} = await import("./swift-sdk-app-module-
|
|
13761
|
+
} = await import("./swift-sdk-app-module-Y7NSCAHC.mjs");
|
|
13745
13762
|
const project = options.project;
|
|
13746
13763
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13747
13764
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16251,7 +16268,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16251
16268
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16252
16269
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16253
16270
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16254
|
-
var compilerSourceDigest = true ? "
|
|
16271
|
+
var compilerSourceDigest = true ? "e31a1c0904d4f195c0e99312de3a51b54c37f455d4cc6c09fe08fab0f25ce050" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16255
16272
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16256
16273
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16257
16274
|
}
|
|
@@ -20810,7 +20827,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20810
20827
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20811
20828
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20812
20829
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20813
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20830
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-RUCLCAIJ.mjs")).useSwiftPackagePrebuilts(
|
|
20814
20831
|
sources,
|
|
20815
20832
|
moduleRoot,
|
|
20816
20833
|
options.toolchainBin
|
|
@@ -20824,7 +20841,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20824
20841
|
multi: compileTargets(input).length > 0
|
|
20825
20842
|
};
|
|
20826
20843
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20827
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20844
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-FLDE3QEC.mjs")).buildSwiftSdkImage(
|
|
20828
20845
|
moduleRoot,
|
|
20829
20846
|
!!guestGraph,
|
|
20830
20847
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21457,7 +21474,7 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
|
|
|
21457
21474
|
if (sdkImage && binding)
|
|
21458
21475
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21459
21476
|
} else if (sdkImage) {
|
|
21460
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21477
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-Y7NSCAHC.mjs");
|
|
21461
21478
|
const binding = await buildSwiftAppModule({
|
|
21462
21479
|
buildRoot: root,
|
|
21463
21480
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OYAT4MBE.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-N42MJCYL.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DEZQSTBX.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
package/dist-lib/esm-chunks/{metro-layout-parser-JNYKXW6Q.mjs → metro-layout-parser-O3WRDGIK.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-N7LS7D7G.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-2IHYKATS.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-VPBYBLDP.mjs";
|
|
10
|
+
import "./chunk-UJCFXHNJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UWN7GVKH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-BW2YWHUH.mjs";
|
|
17
|
+
import "./chunk-OYAT4MBE.mjs";
|
|
18
|
+
import "./chunk-DEZVY7KM.mjs";
|
|
19
|
+
import "./chunk-ZGW3WDUC.mjs";
|
|
20
|
+
import "./chunk-DEZQSTBX.mjs";
|
|
21
|
+
import "./chunk-N7LS7D7G.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-23LXTJ7Q.mjs → swift-sdk-app-module-Y7NSCAHC.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-ABZXVU5F.mjs";
|
|
9
|
+
import "./chunk-UW4NEKSF.mjs";
|
|
10
|
+
import "./chunk-47AK4Z5F.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
wasmReader,
|
|
36
36
|
wasmSections,
|
|
37
37
|
writeWasmCustomSection
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-VPBYBLDP.mjs";
|
|
39
39
|
import {
|
|
40
40
|
SWIFT_WASM_TRIPLE
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-UJCFXHNJ.mjs";
|
|
42
|
+
import "./chunk-UWN7GVKH.mjs";
|
|
43
|
+
import "./chunk-BW2YWHUH.mjs";
|
|
44
|
+
import "./chunk-OYAT4MBE.mjs";
|
|
45
|
+
import "./chunk-DEZVY7KM.mjs";
|
|
46
|
+
import "./chunk-ZGW3WDUC.mjs";
|
|
47
|
+
import "./chunk-DEZQSTBX.mjs";
|
|
48
|
+
import "./chunk-N7LS7D7G.mjs";
|
|
49
49
|
|
|
50
50
|
// src/swift-sdk-app-module.ts
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./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-
|
|
18
|
+
} from "./chunk-ABZXVU5F.mjs";
|
|
19
|
+
import "./chunk-UW4NEKSF.mjs";
|
|
20
|
+
import "./chunk-47AK4Z5F.mjs";
|
|
21
|
+
import "./chunk-VPBYBLDP.mjs";
|
|
22
|
+
import "./chunk-UJCFXHNJ.mjs";
|
|
23
|
+
import "./chunk-UWN7GVKH.mjs";
|
|
24
|
+
import "./chunk-BW2YWHUH.mjs";
|
|
25
|
+
import "./chunk-OYAT4MBE.mjs";
|
|
26
|
+
import "./chunk-DEZVY7KM.mjs";
|
|
27
|
+
import "./chunk-ZGW3WDUC.mjs";
|
|
28
|
+
import "./chunk-DEZQSTBX.mjs";
|
|
29
|
+
import "./chunk-N7LS7D7G.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UJCFXHNJ.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-DEZQSTBX.mjs";
|
|
10
|
+
import "./chunk-N7LS7D7G.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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;
|
|
@@ -26242,13 +26242,13 @@ var init_swift_standin_digest = __esm({
|
|
|
26242
26242
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
26243
26243
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
26244
26244
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
26245
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
26245
|
+
STANDIN_SOURCE_DIGEST = true ? "8f5b71887c77cd6b3a6f30e6fd864a0a910792efd863806e1054498820a1cc25" : standinSourceDigest();
|
|
26246
26246
|
}
|
|
26247
26247
|
});
|
|
26248
26248
|
|
|
26249
26249
|
// src/expo-native-compiler-digest.ts
|
|
26250
26250
|
function expoNativeCompilerDigestValue() {
|
|
26251
|
-
return true ? "
|
|
26251
|
+
return true ? "a5dba3c9e760e73a07436babfd16e08388bbb385d7035756c4e685a2189af896" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26252
26252
|
}
|
|
26253
26253
|
var import_node_crypto17;
|
|
26254
26254
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -33571,16 +33571,30 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
33571
33571
|
if (archiveOverlapsDist(archive)) supersededLibFlags.add(t);
|
|
33572
33572
|
}
|
|
33573
33573
|
const leftoverArchiveFiles = [];
|
|
33574
|
+
const leftoverArchiveOrigins = /* @__PURE__ */ new Map();
|
|
33574
33575
|
const writtenLeftovers = /* @__PURE__ */ new Set();
|
|
33575
33576
|
const writeArchiveLeftovers = (archive) => {
|
|
33576
33577
|
if (!import_node_fs44.default.existsSync(archive) || archive.endsWith("libclang_rt.builtins-wasm64.a"))
|
|
33577
33578
|
return;
|
|
33579
|
+
const archivePath = import_node_path43.default.join(
|
|
33580
|
+
import_node_fs44.default.realpathSync(import_node_path43.default.dirname(archive)),
|
|
33581
|
+
import_node_path43.default.basename(archive)
|
|
33582
|
+
);
|
|
33583
|
+
const ordinals = /* @__PURE__ */ new Map();
|
|
33578
33584
|
for (const m of readArMembers(new Uint8Array(import_node_fs44.default.readFileSync(archive)))) {
|
|
33585
|
+
const ordinal = (ordinals.get(m.name) ?? 0) + 1;
|
|
33586
|
+
ordinals.set(m.name, ordinal);
|
|
33579
33587
|
if (distBaseNames.has(m.name) || writtenLeftovers.has(m.name)) continue;
|
|
33580
33588
|
writtenLeftovers.add(m.name);
|
|
33581
33589
|
const out = import_node_path43.default.join(prunedObjsDir, m.name);
|
|
33582
33590
|
import_node_fs44.default.writeFileSync(out, m.bytes);
|
|
33583
33591
|
leftoverArchiveFiles.push(out);
|
|
33592
|
+
leftoverArchiveOrigins.set(out, {
|
|
33593
|
+
archive: archivePath,
|
|
33594
|
+
member: m.name,
|
|
33595
|
+
ordinal,
|
|
33596
|
+
original: out
|
|
33597
|
+
});
|
|
33584
33598
|
const object7 = parseWasmObjectBytes(`${archive}(${m.name})`, m.bytes, false);
|
|
33585
33599
|
extraArchiveObjs.push(object7);
|
|
33586
33600
|
objectBytes.set(object7, Buffer.from(m.bytes));
|
|
@@ -34550,7 +34564,10 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
34550
34564
|
const sdk2 = { wasiDirectory: sdkWasiDir, objectDirectory: sdkObjsDir };
|
|
34551
34565
|
link(outTokens, prunedMap, {
|
|
34552
34566
|
...sdk2,
|
|
34553
|
-
objectOrigins:
|
|
34567
|
+
objectOrigins: new Map([
|
|
34568
|
+
...swiftPrunedSdkObjectOrigins(sdk2, outTokens, prunedMap),
|
|
34569
|
+
...leftoverArchiveOrigins
|
|
34570
|
+
]),
|
|
34554
34571
|
transformations
|
|
34555
34572
|
});
|
|
34556
34573
|
} else
|
|
@@ -52238,7 +52255,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
52238
52255
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
52239
52256
|
MULTI_MANIFEST_VERSION = 76;
|
|
52240
52257
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
52241
|
-
compilerSourceDigest = true ? "
|
|
52258
|
+
compilerSourceDigest = true ? "e31a1c0904d4f195c0e99312de3a51b54c37f455d4cc6c09fe08fab0f25ce050" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
52242
52259
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
52243
52260
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
52244
52261
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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.2550 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-UWN7GVKH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-XTNM7WC3.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-OYAT4MBE.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-N42MJCYL.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-DEZQSTBX.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-N7LS7D7G.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2550 | (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;
|