peachsim 0.1.2660 → 0.1.2662
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 +72 -32
- 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-JNTDQ2H5.mjs → acorn-MFBE73CV.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-XPBNSCXV.mjs → chunk-2SNPAV3T.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-J6GEU7PV.mjs → chunk-4O2WUV7P.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TMMAILKR.mjs → chunk-BFZ5NZWL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-USHYOTRW.mjs → chunk-BXG34MPE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OIVM7L7D.mjs → chunk-CMPAZOPV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4JLYBL4V.mjs → chunk-GOHNNSQT.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-FFOLDJC4.mjs → chunk-I4WBNATG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Q2JTF43E.mjs → chunk-JQRP67DQ.mjs} +20 -15
- package/dist-lib/esm-chunks/{chunk-6QLS7AML.mjs → chunk-KS5LU45K.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NNNAUZLO.mjs → chunk-N66ZEIRX.mjs} +25 -2
- package/dist-lib/esm-chunks/{chunk-57N2IQVP.mjs → chunk-Q6TBKKDJ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6QCWZT4P.mjs → chunk-QIATHQJU.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-RA32VDK5.mjs → chunk-QOTPXRB5.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-LENETZWG.mjs → chunk-QZ5QKBQU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-LVD25NZJ.mjs → chunk-RET2UHLH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-P7E3NACF.mjs → chunk-SEPP7VI2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KH2BV4CC.mjs → chunk-T5XVET5M.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TE6CUVDS.mjs → chunk-T6MLX2EQ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RGKNMVYC.mjs → chunk-U6EFBR2E.mjs} +19 -16
- package/dist-lib/esm-chunks/{chunk-SALTBRB7.mjs → chunk-ULUPQXN4.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IU23536G.mjs → chunk-UZWDAUVE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RDLRYNYZ.mjs → chunk-VC25U5MB.mjs} +19 -1
- package/dist-lib/esm-chunks/{chunk-24TXAU47.mjs → chunk-VWFJFTPH.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-POTJN2CK.mjs → chunk-WJ5S2KZR.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-XWYZV5GU.mjs → metro-layout-parser-ORSSI3AE.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-BT2TVEXS.mjs → swift-package-prebuilt-BH2JJ5KR.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-UCKZJLOU.mjs → swift-sdk-app-module-O5CV2FUF.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-SMGHK5E3.mjs → swift-sdk-image-4PLMEMHM.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-G3BN2T55.mjs → swift-sdk-image-producer-3PG6DWGA.mjs} +5 -5
- package/dist-lib/expo-swift-bundle.cjs +69 -29
- 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 +79 -37
- package/dist-lib/host/fetch-proxy-handler.cjs +34 -14
- 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 +20 -2
- package/dist-lib/native-app-identity-project.mjs +16 -16
- 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 +79 -37
- package/dist-lib/swift-compile.cjs +57 -12
- 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 +19 -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/java-platform/licenses/openjdk.txt +9 -2
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/swift-compile.ts +5 -1
- package/src/swift-root-lock.ts +26 -0
- package/src/swift-sdk-image.ts +13 -8
- package/src/swift-toolchain.ts +18 -0
- package/src/turbo-source.ts +0 -5
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (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-VWFJFTPH.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cacheDir,
|
|
8
8
|
parseSwiftDistributionLock,
|
|
9
9
|
readActiveRuntime,
|
|
10
10
|
runtimeDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QOTPXRB5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SWIFT_WASM_TRIPLE,
|
|
14
14
|
registerSwiftHostCompiler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VC25U5MB.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-WJ5S2KZR.mjs";
|
|
19
19
|
|
|
20
20
|
// src/swift-distribution.ts
|
|
21
21
|
import { execFile as execFile2 } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
DARWIN_RECORDS_PREFIX,
|
|
4
4
|
KEEP_WASM_NAMES,
|
|
@@ -25,21 +25,22 @@ import {
|
|
|
25
25
|
swiftSdkGuestLookups,
|
|
26
26
|
unslottedFunctions,
|
|
27
27
|
wasmSections
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-U6EFBR2E.mjs";
|
|
29
29
|
import {
|
|
30
|
-
withSwiftRootLock
|
|
31
|
-
|
|
30
|
+
withSwiftRootLock,
|
|
31
|
+
withSwiftRootReadHolds
|
|
32
|
+
} from "./chunk-N66ZEIRX.mjs";
|
|
32
33
|
import {
|
|
33
34
|
swiftDistributionAt,
|
|
34
35
|
swiftModuleDigest,
|
|
35
36
|
swiftModuleToolchain,
|
|
36
37
|
swiftSdkPaths
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QOTPXRB5.mjs";
|
|
38
39
|
import {
|
|
39
40
|
SWIFT_WASM_TRIPLE,
|
|
40
41
|
sourceSwiftCheckout,
|
|
41
42
|
swiftCacheDir
|
|
42
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-VC25U5MB.mjs";
|
|
43
44
|
|
|
44
45
|
// src/swift-sdk-image.ts
|
|
45
46
|
import { execFile } from "node:child_process";
|
|
@@ -228,7 +229,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
228
229
|
const existing = cached(directory, key);
|
|
229
230
|
if (existing) return existing;
|
|
230
231
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
231
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
232
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-3PG6DWGA.mjs");
|
|
232
233
|
await produceSwiftSdkImage({
|
|
233
234
|
moduleRoot,
|
|
234
235
|
key,
|
|
@@ -277,20 +278,23 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
277
278
|
}
|
|
278
279
|
const work = `${directory}.work`;
|
|
279
280
|
try {
|
|
280
|
-
return await
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
281
|
+
return await withSwiftRootReadHolds(
|
|
282
|
+
(releaseFrameworks) => linkSwiftSdkImage(
|
|
283
|
+
moduleRoot,
|
|
284
|
+
key,
|
|
285
|
+
directory,
|
|
286
|
+
work,
|
|
287
|
+
scopedLookups,
|
|
288
|
+
imports,
|
|
289
|
+
releaseFrameworks
|
|
290
|
+
)
|
|
287
291
|
);
|
|
288
292
|
} finally {
|
|
289
293
|
rmSync(work, { recursive: true, force: true });
|
|
290
294
|
}
|
|
291
295
|
});
|
|
292
296
|
}
|
|
293
|
-
async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups, imports) {
|
|
297
|
+
async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups, imports, releaseFrameworks) {
|
|
294
298
|
rmSync(work, { recursive: true, force: true });
|
|
295
299
|
mkdirSync(work, { recursive: true });
|
|
296
300
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
@@ -491,6 +495,7 @@ async function linkSwiftSdkImage(moduleRoot, key, directory, work, scopedLookups
|
|
|
491
495
|
linkTo("linked", ["-Map", map, "-o", linked]),
|
|
492
496
|
linkTo("relocs", ["--emit-relocs", "-o", withRelocs])
|
|
493
497
|
]);
|
|
498
|
+
releaseFrameworks();
|
|
494
499
|
for (const result of links) {
|
|
495
500
|
if (result.status === "rejected") throw result.reason;
|
|
496
501
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
killOrphanedProcessGroup,
|
|
4
4
|
readProcessTable,
|
|
5
5
|
terminateProcessGroup
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VC25U5MB.mjs";
|
|
7
7
|
|
|
8
8
|
// src/swift-root-lock.ts
|
|
9
|
+
import { AsyncLocalStorage } from "node:async_hooks";
|
|
9
10
|
import {
|
|
10
11
|
spawn
|
|
11
12
|
} from "node:child_process";
|
|
@@ -140,6 +141,26 @@ function rootLockKey(root) {
|
|
|
140
141
|
function swiftRootLocksDir() {
|
|
141
142
|
return path.join(homedir(), ".peach", "cache", "swift-root-locks");
|
|
142
143
|
}
|
|
144
|
+
var swiftRootReadHolds = new AsyncLocalStorage();
|
|
145
|
+
function withSwiftRootReadHolds(work) {
|
|
146
|
+
const holds = [];
|
|
147
|
+
const release = () => {
|
|
148
|
+
for (const hold of holds.splice(0)) hold.release();
|
|
149
|
+
};
|
|
150
|
+
return swiftRootReadHolds.run(holds, async () => {
|
|
151
|
+
try {
|
|
152
|
+
return await work(release);
|
|
153
|
+
} finally {
|
|
154
|
+
release();
|
|
155
|
+
}
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
function retainSwiftRootReadHold(hold) {
|
|
159
|
+
const holds = swiftRootReadHolds.getStore();
|
|
160
|
+
if (!holds) return false;
|
|
161
|
+
holds.push(hold);
|
|
162
|
+
return true;
|
|
163
|
+
}
|
|
143
164
|
function lockDirectoryFor(root) {
|
|
144
165
|
const directory = path.join(
|
|
145
166
|
swiftRootLocksDir(),
|
|
@@ -315,6 +336,8 @@ async function withSwiftRootLock(root, work, signal, wait = true) {
|
|
|
315
336
|
}
|
|
316
337
|
|
|
317
338
|
export {
|
|
339
|
+
withSwiftRootReadHolds,
|
|
340
|
+
retainSwiftRootReadHold,
|
|
318
341
|
acquireSwiftRootReadHold,
|
|
319
342
|
hasLiveSwiftRootReaders,
|
|
320
343
|
waitForNoSwiftRootReaders,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q6TBKKDJ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WJ5S2KZR.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.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_CACHE_HOLD_MARKER,
|
|
4
4
|
SWIFT_WASM_TRIPLE,
|
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
terminateProcessGroup,
|
|
13
13
|
wasmThreadFlags,
|
|
14
14
|
windowAdmission
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VC25U5MB.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isSwiftResourcePath
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ULUPQXN4.mjs";
|
|
19
19
|
import {
|
|
20
20
|
swiftManifestDeclarations
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-T6MLX2EQ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
isRecord
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WJ5S2KZR.mjs";
|
|
25
25
|
import {
|
|
26
26
|
__publicField
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CMPAZOPV.mjs";
|
|
28
28
|
|
|
29
29
|
// src/write-build-file.ts
|
|
30
30
|
import { mkdirSync, readFileSync, statSync, writeFileSync } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (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,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
|
+
retainSwiftRootReadHold,
|
|
5
6
|
waitForNoSwiftRootReaders,
|
|
6
7
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N66ZEIRX.mjs";
|
|
8
9
|
import {
|
|
9
10
|
CORE_FOUNDATION_OVERLAY_GLOBALS,
|
|
10
11
|
NATIVE_GRAPH_SDK_VERSION,
|
|
@@ -55,7 +56,7 @@ import {
|
|
|
55
56
|
withoutImportedSdkEnumForwards,
|
|
56
57
|
withoutSwiftDeclarations,
|
|
57
58
|
writeBuildFile
|
|
58
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-QOTPXRB5.mjs";
|
|
59
60
|
import {
|
|
60
61
|
SWIFT_AUTOLINK_LINKER,
|
|
61
62
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -73,7 +74,7 @@ import {
|
|
|
73
74
|
wasmThreadLinkFlags,
|
|
74
75
|
windowAdmission,
|
|
75
76
|
writeSwiftAutolinkLinker
|
|
76
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-VC25U5MB.mjs";
|
|
77
78
|
import {
|
|
78
79
|
SWIFT_BINARY_TREES_DIR,
|
|
79
80
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -88,7 +89,7 @@ import {
|
|
|
88
89
|
isSwiftResourcePath,
|
|
89
90
|
isSwiftSourceLinkGraph,
|
|
90
91
|
swiftProjectFilesProblems
|
|
91
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-ULUPQXN4.mjs";
|
|
92
93
|
import {
|
|
93
94
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
94
95
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -111,16 +112,16 @@ import {
|
|
|
111
112
|
swiftPackagePartition,
|
|
112
113
|
swiftTargetModuleName,
|
|
113
114
|
withoutGlogModuleMap
|
|
114
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-T6MLX2EQ.mjs";
|
|
115
116
|
import {
|
|
116
117
|
rnxPublicBrand
|
|
117
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-I4WBNATG.mjs";
|
|
118
119
|
import {
|
|
119
120
|
isRecord
|
|
120
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-WJ5S2KZR.mjs";
|
|
121
122
|
import {
|
|
122
123
|
__publicField
|
|
123
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-CMPAZOPV.mjs";
|
|
124
125
|
|
|
125
126
|
// src/swift-compile.ts
|
|
126
127
|
import { spawn as spawn2 } from "node:child_process";
|
|
@@ -14361,7 +14362,7 @@ async function compileGuestLink(options) {
|
|
|
14361
14362
|
};
|
|
14362
14363
|
const sdk = options.sdkImage;
|
|
14363
14364
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
14364
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
14365
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-4PLMEMHM.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
14365
14366
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
14366
14367
|
throw new Error("the SDK image has no guest link manifest");
|
|
14367
14368
|
const result = await linkPrunedGuestImages({
|
|
@@ -14659,7 +14660,7 @@ async function compileGuestLink(options) {
|
|
|
14659
14660
|
readSwiftSdkUsage,
|
|
14660
14661
|
swiftAppModuleThunkSection,
|
|
14661
14662
|
swiftSdkProjectionSpans
|
|
14662
|
-
} = await import("./swift-sdk-app-module-
|
|
14663
|
+
} = await import("./swift-sdk-app-module-O5CV2FUF.mjs");
|
|
14663
14664
|
const project = options.project;
|
|
14664
14665
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14665
14666
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16613,7 +16614,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16613
16614
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16614
16615
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16615
16616
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16616
|
-
var compilerSourceDigest = true ? "
|
|
16617
|
+
var compilerSourceDigest = true ? "a8a1fcc341892ac0e1a3c924e733388ee30478222b3e1839692997c6dd5555a8" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16617
16618
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16618
16619
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16619
16620
|
}
|
|
@@ -20909,7 +20910,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20909
20910
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20910
20911
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20911
20912
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20912
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20913
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-BH2JJ5KR.mjs")).useSwiftPackagePrebuilts(
|
|
20913
20914
|
sources,
|
|
20914
20915
|
moduleRoot,
|
|
20915
20916
|
options.toolchainBin
|
|
@@ -20923,7 +20924,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20923
20924
|
multi: compileTargets(input).length > 0
|
|
20924
20925
|
};
|
|
20925
20926
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20926
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20927
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-4PLMEMHM.mjs")).buildSwiftSdkImage(
|
|
20927
20928
|
moduleRoot,
|
|
20928
20929
|
!!guestGraph,
|
|
20929
20930
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21134,7 +21135,7 @@ ${compatShape}` : "";
|
|
|
21134
21135
|
sdk,
|
|
21135
21136
|
icu,
|
|
21136
21137
|
prebuilt,
|
|
21137
|
-
readHold
|
|
21138
|
+
readHold: frameworkReadHold
|
|
21138
21139
|
} = await withFrameworkLock(async (slot, frameworkLease) => {
|
|
21139
21140
|
budget.startCompile();
|
|
21140
21141
|
if (slot && swiftFrameworkSlotKey(slot) !== frameworkKey)
|
|
@@ -21185,6 +21186,7 @@ ${compatShape}` : "";
|
|
|
21185
21186
|
readHold: readHold2
|
|
21186
21187
|
};
|
|
21187
21188
|
});
|
|
21189
|
+
let readHold = frameworkReadHold;
|
|
21188
21190
|
const buildOptions = {
|
|
21189
21191
|
env: baseBuildEnv,
|
|
21190
21192
|
maxBuffer: 64 * 1024 * 1024,
|
|
@@ -21663,6 +21665,7 @@ ${compatShape}` : "";
|
|
|
21663
21665
|
if (statSync4(linked).size <= 8)
|
|
21664
21666
|
throw new Error("swift-compile: deferred linker produced no executable");
|
|
21665
21667
|
stage("project link verified");
|
|
21668
|
+
if (readHold && retainSwiftRootReadHold(readHold)) readHold = void 0;
|
|
21666
21669
|
return;
|
|
21667
21670
|
}
|
|
21668
21671
|
const output = options.project ? projectOutputFile(root2, linked, options.project) : linked;
|
|
@@ -21699,7 +21702,7 @@ ${compatShape}` : "";
|
|
|
21699
21702
|
if (sdkImage && binding)
|
|
21700
21703
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21701
21704
|
} else if (sdkImage) {
|
|
21702
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21705
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-O5CV2FUF.mjs");
|
|
21703
21706
|
const binding = await buildSwiftAppModule({
|
|
21704
21707
|
buildRoot: root2,
|
|
21705
21708
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swiftTargetContract.ts
|
|
4
4
|
var SWIFT_WASM_TRIPLE = "wasm64-unknown-wasip1-threads";
|
|
@@ -51,6 +51,24 @@ function swiftSdkOptions() {
|
|
|
51
51
|
return ["--swift-sdks-path", path.resolve(peachSwiftSdksDir())];
|
|
52
52
|
}
|
|
53
53
|
var compilerArchives = {
|
|
54
|
+
"swift-6.4.0-RELEASE-custom-747babe6f837e240": {
|
|
55
|
+
identity: "747babe6f837e240",
|
|
56
|
+
archive: "tar.zst",
|
|
57
|
+
hosts: {
|
|
58
|
+
"darwin-arm64": {
|
|
59
|
+
checksum: "2bc61029a5e9f29e4d8d0ed85936edd72b249821f48e2fbbf602d1424f30aa69",
|
|
60
|
+
manifest: "4bdb605f2db31b12e507bbc0998e4054226aae1926ff1361d2e1bd6a8f87d14a"
|
|
61
|
+
},
|
|
62
|
+
"linux-x64": {
|
|
63
|
+
checksum: "99b8ee28b2afe719ae02b88b4258a05584b7a1e29bb8d429c925819de0c10144",
|
|
64
|
+
manifest: "b3e5970647fb2020917fceb4b632d733bb0247523739a6eaebe11d1a96d7e3e4"
|
|
65
|
+
},
|
|
66
|
+
"linux-arm64": {
|
|
67
|
+
checksum: "34ace308eac458cd9c808e3bb8b1689ae02f0dff3f7b9d71ab7cf779e5a0cb78",
|
|
68
|
+
manifest: "87b337c62eb9c546662c21cb31082995aadb3f1088ca3624a4843ab8137452b3"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
54
72
|
"swift-6.4.0-RELEASE-custom-77d2c2623ec68c0c": {
|
|
55
73
|
identity: "77d2c2623ec68c0c",
|
|
56
74
|
archive: "tar.zst",
|
package/dist-lib/esm-chunks/{metro-layout-parser-XWYZV5GU.mjs → metro-layout-parser-ORSSI3AE.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-CMPAZOPV.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-MFBE73CV.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.2662 | (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-U6EFBR2E.mjs";
|
|
8
|
+
import "./chunk-N66ZEIRX.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QOTPXRB5.mjs";
|
|
13
|
+
import "./chunk-VC25U5MB.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ULUPQXN4.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-T6MLX2EQ.mjs";
|
|
20
|
+
import "./chunk-T5XVET5M.mjs";
|
|
21
|
+
import "./chunk-I4WBNATG.mjs";
|
|
22
|
+
import "./chunk-BXG34MPE.mjs";
|
|
23
|
+
import "./chunk-WJ5S2KZR.mjs";
|
|
24
|
+
import "./chunk-CMPAZOPV.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-UCKZJLOU.mjs → swift-sdk-app-module-O5CV2FUF.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (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-
|
|
8
|
+
} from "./chunk-JQRP67DQ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
ADDEND_RELOCATIONS,
|
|
11
11
|
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-U6EFBR2E.mjs";
|
|
37
|
+
import "./chunk-N66ZEIRX.mjs";
|
|
38
|
+
import "./chunk-GOHNNSQT.mjs";
|
|
39
|
+
import "./chunk-VWFJFTPH.mjs";
|
|
40
|
+
import "./chunk-BFZ5NZWL.mjs";
|
|
41
|
+
import "./chunk-QOTPXRB5.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-VC25U5MB.mjs";
|
|
45
|
+
import "./chunk-ULUPQXN4.mjs";
|
|
46
|
+
import "./chunk-T6MLX2EQ.mjs";
|
|
47
|
+
import "./chunk-T5XVET5M.mjs";
|
|
48
|
+
import "./chunk-I4WBNATG.mjs";
|
|
49
|
+
import "./chunk-BXG34MPE.mjs";
|
|
50
|
+
import "./chunk-WJ5S2KZR.mjs";
|
|
51
|
+
import "./chunk-CMPAZOPV.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.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -14,21 +14,21 @@ import {
|
|
|
14
14
|
swiftSdkImageFile,
|
|
15
15
|
swiftSdkImageKey,
|
|
16
16
|
swiftSdkImageProducts
|
|
17
|
-
} from "./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-
|
|
31
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-JQRP67DQ.mjs";
|
|
18
|
+
import "./chunk-U6EFBR2E.mjs";
|
|
19
|
+
import "./chunk-N66ZEIRX.mjs";
|
|
20
|
+
import "./chunk-GOHNNSQT.mjs";
|
|
21
|
+
import "./chunk-VWFJFTPH.mjs";
|
|
22
|
+
import "./chunk-BFZ5NZWL.mjs";
|
|
23
|
+
import "./chunk-QOTPXRB5.mjs";
|
|
24
|
+
import "./chunk-VC25U5MB.mjs";
|
|
25
|
+
import "./chunk-ULUPQXN4.mjs";
|
|
26
|
+
import "./chunk-T6MLX2EQ.mjs";
|
|
27
|
+
import "./chunk-T5XVET5M.mjs";
|
|
28
|
+
import "./chunk-I4WBNATG.mjs";
|
|
29
|
+
import "./chunk-BXG34MPE.mjs";
|
|
30
|
+
import "./chunk-WJ5S2KZR.mjs";
|
|
31
|
+
import "./chunk-CMPAZOPV.mjs";
|
|
32
32
|
export {
|
|
33
33
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
34
34
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2662 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-N66ZEIRX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-VC25U5MB.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-WJ5S2KZR.mjs";
|
|
12
|
+
import "./chunk-CMPAZOPV.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|