peachsim 0.1.2502 → 0.1.2504
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/serve.ts +18 -3
- 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 +36 -24
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-HRFUCXR5.mjs → acorn-DZ3FZPN5.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-GX7N2SW5.mjs → chunk-23JMWKCM.mjs} +43 -31
- package/dist-lib/esm-chunks/{chunk-AYFVZGCF.mjs → chunk-2QUL4MCM.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CMDNKJOI.mjs → chunk-2RTG4NLY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-Z7ADEKCT.mjs → chunk-6KM6PV76.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-V6YLFISL.mjs → chunk-6LORNFLE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-37O42K5V.mjs → chunk-7DCP3FDN.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-NIMWWDYK.mjs → chunk-AL5BXTCH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-6EI5ZYVR.mjs → chunk-B36QTJ72.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YOTWZURB.mjs → chunk-GCZZ3VUR.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-Y65Y3AJJ.mjs → chunk-GOQF3FW2.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6J4R7OWH.mjs → chunk-HCFG4HWL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-QIB2DK6I.mjs → chunk-HRCV7O2I.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FMJEMRVE.mjs → chunk-MM6J7OJS.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-PKKP4XUA.mjs → chunk-NPJJ4J5F.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IYXN7AG2.mjs → chunk-O7RM7JLW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OLSMOR2Y.mjs → chunk-OO5NYSIB.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-KW4JXYU3.mjs → chunk-PCUCYGKF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PUITEIXR.mjs → chunk-Q7U2B5QU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-TTYGOV2S.mjs → chunk-TQ7XDRKN.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RRWBXVXP.mjs → chunk-UQQ2HW3S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-I4MZA236.mjs → chunk-W7PZ7UZP.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-BWNZDYPD.mjs → metro-layout-parser-AAZ5CCHO.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-UPNUH62D.mjs → swift-package-prebuilt-6QS5B4RC.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-R3I5TJ3L.mjs → swift-sdk-app-module-XOLLBEZA.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-GY7JFP4D.mjs → swift-sdk-image-WU5X25ZM.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-JDBFLCAV.mjs → swift-sdk-image-producer-GSO6UW57.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +35 -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 +24 -37
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +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 +1 -1
- package/dist-lib/sdk.mjs +7 -7
- package/dist-lib/skills.cjs +24 -37
- package/dist-lib/swift-compile.cjs +33 -21
- 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/demo/demo-bundle-platform.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-surface-host.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/native-widget-host.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/bundle-mode-url.d.ts +3 -0
- package/package.json +2 -1
- package/src/node-tenant-artifact.ts +17 -0
- package/src/swift-compiler-digest.ts +1 -0
- package/src/swift-guest-dyld-functions.ts +21 -33
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (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-TQ7XDRKN.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-6LORNFLE.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-UQQ2HW3S.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PCUCYGKF.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-B36QTJ72.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-HCFG4HWL.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -8433,20 +8433,18 @@ function appendLazyPlacement(bytes, functions, table) {
|
|
|
8433
8433
|
}
|
|
8434
8434
|
const types = entries(bytes, section2(1), (r) => {
|
|
8435
8435
|
if (r.byte() !== 96) throw new Error("native image has a non-function type");
|
|
8436
|
-
for (let side = 0; side < 2; side++)
|
|
8437
|
-
for (let n = r.u(); n > 0; n--) skipValueType(r);
|
|
8436
|
+
for (let side = 0; side < 2; side++) for (let n = r.u(); n > 0; n--) skipValueType(r);
|
|
8438
8437
|
});
|
|
8439
8438
|
const declared = entries(bytes, section2(3), (r) => r.u());
|
|
8440
8439
|
const bodies = entries(bytes, section2(10), (r) => r.skip(r.u()));
|
|
8441
8440
|
const exports = entries(bytes, section2(7), readExport);
|
|
8442
|
-
const elements = section2(9);
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
}
|
|
8441
|
+
const elements = entries(bytes, section2(9), skipElementSegment);
|
|
8442
|
+
const placementIndex = lastTableElement(elements) + 1;
|
|
8443
|
+
elements.splice(
|
|
8444
|
+
placementIndex,
|
|
8445
|
+
0,
|
|
8446
|
+
Buffer.from([1, 0, ...uleb2(functions.length), ...functions.flatMap(uleb2)])
|
|
8447
|
+
);
|
|
8450
8448
|
const place2 = imports.functions + declared.length;
|
|
8451
8449
|
const instructions = [
|
|
8452
8450
|
0,
|
|
@@ -8459,7 +8457,7 @@ function appendLazyPlacement(bytes, functions, table) {
|
|
|
8459
8457
|
1,
|
|
8460
8458
|
252,
|
|
8461
8459
|
12,
|
|
8462
|
-
...uleb2(
|
|
8460
|
+
...uleb2(placementIndex),
|
|
8463
8461
|
0,
|
|
8464
8462
|
11
|
|
8465
8463
|
];
|
|
@@ -8490,13 +8488,7 @@ function appendLazyPlacement(bytes, functions, table) {
|
|
|
8490
8488
|
Buffer.from([...uleb2(name.length), ...name, 0, ...uleb2(place2)])
|
|
8491
8489
|
])
|
|
8492
8490
|
],
|
|
8493
|
-
[
|
|
8494
|
-
9,
|
|
8495
|
-
vectorSection(9, segments + 1, [
|
|
8496
|
-
existing,
|
|
8497
|
-
Buffer.from([1, 0, ...uleb2(functions.length), ...functions.flatMap(uleb2)])
|
|
8498
|
-
])
|
|
8499
|
-
],
|
|
8491
|
+
[9, vectorSection(9, elements.length, elements)],
|
|
8500
8492
|
[
|
|
8501
8493
|
10,
|
|
8502
8494
|
vectorSection(10, bodies.length + 1, [
|
|
@@ -8507,6 +8499,26 @@ function appendLazyPlacement(bytes, functions, table) {
|
|
|
8507
8499
|
])
|
|
8508
8500
|
);
|
|
8509
8501
|
}
|
|
8502
|
+
function skipConstant(r) {
|
|
8503
|
+
for (let op = r.byte(); op !== 11; op = r.byte()) {
|
|
8504
|
+
if (op === 65 || op === 66) r.s();
|
|
8505
|
+
else if (op === 35 || op === 210) r.u();
|
|
8506
|
+
else if (op === 208) r.s();
|
|
8507
|
+
else if (![106, 107, 108, 124, 125, 126].includes(op))
|
|
8508
|
+
throw new Error(`unsupported constant expression op ${op}`);
|
|
8509
|
+
}
|
|
8510
|
+
}
|
|
8511
|
+
function skipElementSegment(r) {
|
|
8512
|
+
const flags = r.u();
|
|
8513
|
+
if (flags > 7) throw new Error(`unsupported element segment flags ${flags}`);
|
|
8514
|
+
if ((flags & 3) === 2) r.u();
|
|
8515
|
+
if (!(flags & 1)) skipConstant(r);
|
|
8516
|
+
if (flags & 3) skipValueType(r);
|
|
8517
|
+
for (let count = r.u(); count > 0; count--)
|
|
8518
|
+
if (flags & 4) skipConstant(r);
|
|
8519
|
+
else r.u();
|
|
8520
|
+
}
|
|
8521
|
+
var lastTableElement = (segments) => segments.findLastIndex((segment) => (segment[0] & 3) !== 3);
|
|
8510
8522
|
function placeGuestLazyFunctions(bytes, lazy) {
|
|
8511
8523
|
const sections = wasmSections(bytes);
|
|
8512
8524
|
const lazyIndex = new Map(lazy.map((name, index) => [name, index]));
|
|
@@ -13387,7 +13399,7 @@ async function compileGuestLink(options) {
|
|
|
13387
13399
|
};
|
|
13388
13400
|
const sdk = options.sdkImage;
|
|
13389
13401
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13390
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13402
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-WU5X25ZM.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13391
13403
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13392
13404
|
throw new Error("the SDK image has no guest link manifest");
|
|
13393
13405
|
const result = linkPrunedGuestImages({
|
|
@@ -13674,7 +13686,7 @@ async function compileGuestLink(options) {
|
|
|
13674
13686
|
finishSwiftAppModule,
|
|
13675
13687
|
linkSwiftAppModule,
|
|
13676
13688
|
readSwiftSdkUsage
|
|
13677
|
-
} = await import("./swift-sdk-app-module-
|
|
13689
|
+
} = await import("./swift-sdk-app-module-XOLLBEZA.mjs");
|
|
13678
13690
|
const project = options.project;
|
|
13679
13691
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13680
13692
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16175,7 +16187,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16175
16187
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16176
16188
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16177
16189
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16178
|
-
var compilerSourceDigest = true ? "
|
|
16190
|
+
var compilerSourceDigest = true ? "731f2ab475e957b034eb629f3431c7172f2987db133cc905bd6c31bb292281e9" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16179
16191
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16180
16192
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16181
16193
|
}
|
|
@@ -20731,7 +20743,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20731
20743
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20732
20744
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20733
20745
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20734
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20746
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-6QS5B4RC.mjs")).useSwiftPackagePrebuilts(
|
|
20735
20747
|
sources,
|
|
20736
20748
|
moduleRoot,
|
|
20737
20749
|
options.toolchainBin
|
|
@@ -20745,7 +20757,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20745
20757
|
multi: compileTargets(input).length > 0
|
|
20746
20758
|
};
|
|
20747
20759
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20748
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20760
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-WU5X25ZM.mjs")).buildSwiftSdkImage(
|
|
20749
20761
|
moduleRoot,
|
|
20750
20762
|
!!guestGraph,
|
|
20751
20763
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21370,7 +21382,7 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
|
|
|
21370
21382
|
if (sdkImage && binding)
|
|
21371
21383
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21372
21384
|
} else if (sdkImage) {
|
|
21373
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21385
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-XOLLBEZA.mjs");
|
|
21374
21386
|
const binding = await buildSwiftAppModule({
|
|
21375
21387
|
buildRoot: root,
|
|
21376
21388
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
__commonJS,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-HCFG4HWL.mjs";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/@xmldom/xmldom/lib/conventions.js
|
|
8
8
|
var require_conventions = __commonJS({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GCZZ3VUR.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
swiftSdkPaths,
|
|
31
31
|
unslottedFunctions,
|
|
32
32
|
wasmSections
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-23JMWKCM.mjs";
|
|
34
34
|
import {
|
|
35
35
|
SWIFT_WASM_TRIPLE,
|
|
36
36
|
sourceSwiftCheckout,
|
|
37
37
|
swiftCacheDir,
|
|
38
38
|
withSwiftRootLock
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TQ7XDRKN.mjs";
|
|
40
40
|
|
|
41
41
|
// src/swift-sdk-image.ts
|
|
42
42
|
import { execFile } from "node:child_process";
|
|
@@ -191,7 +191,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
191
191
|
const existing = cached(directory, key);
|
|
192
192
|
if (existing) return existing;
|
|
193
193
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
194
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
194
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-GSO6UW57.mjs");
|
|
195
195
|
await produceSwiftSdkImage({
|
|
196
196
|
moduleRoot,
|
|
197
197
|
key,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (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-Q7U2B5QU.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-23JMWKCM.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TQ7XDRKN.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-B36QTJ72.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.2504 | (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,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (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,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftImageVariants
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W7PZ7UZP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
findBundleFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2RTG4NLY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
isRecord
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-B36QTJ72.mjs";
|
|
11
11
|
|
|
12
12
|
// src/android-string-value.ts
|
|
13
13
|
function compileAndroidStringValue(text, where) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-O7RM7JLW.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-B36QTJ72.mjs";
|
|
8
8
|
|
|
9
9
|
// ../peach-globals/src/globalsContract.ts
|
|
10
10
|
var LEGACY_ALIAS_MARKER = Symbol.for("sootsim.legacy-aliases-installed");
|
package/dist-lib/esm-chunks/{metro-layout-parser-BWNZDYPD.mjs → metro-layout-parser-AAZ5CCHO.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2504 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-HCFG4HWL.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-DZ3FZPN5.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.2504 | (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-23JMWKCM.mjs";
|
|
10
|
+
import "./chunk-TQ7XDRKN.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6LORNFLE.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-UQQ2HW3S.mjs";
|
|
17
|
+
import "./chunk-W7PZ7UZP.mjs";
|
|
18
|
+
import "./chunk-PCUCYGKF.mjs";
|
|
19
|
+
import "./chunk-2QUL4MCM.mjs";
|
|
20
|
+
import "./chunk-B36QTJ72.mjs";
|
|
21
|
+
import "./chunk-HCFG4HWL.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-R3I5TJ3L.mjs → swift-sdk-app-module-XOLLBEZA.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (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-AL5BXTCH.mjs";
|
|
9
|
+
import "./chunk-GCZZ3VUR.mjs";
|
|
10
|
+
import "./chunk-Q7U2B5QU.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -34,17 +34,17 @@ import {
|
|
|
34
34
|
wasmReader,
|
|
35
35
|
wasmSections,
|
|
36
36
|
writeWasmCustomSection
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-23JMWKCM.mjs";
|
|
38
38
|
import {
|
|
39
39
|
SWIFT_WASM_TRIPLE
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-TQ7XDRKN.mjs";
|
|
41
|
+
import "./chunk-6LORNFLE.mjs";
|
|
42
|
+
import "./chunk-UQQ2HW3S.mjs";
|
|
43
|
+
import "./chunk-W7PZ7UZP.mjs";
|
|
44
|
+
import "./chunk-PCUCYGKF.mjs";
|
|
45
|
+
import "./chunk-2QUL4MCM.mjs";
|
|
46
|
+
import "./chunk-B36QTJ72.mjs";
|
|
47
|
+
import "./chunk-HCFG4HWL.mjs";
|
|
48
48
|
|
|
49
49
|
// src/swift-sdk-app-module.ts
|
|
50
50
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2504 | (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-AL5BXTCH.mjs";
|
|
19
|
+
import "./chunk-GCZZ3VUR.mjs";
|
|
20
|
+
import "./chunk-Q7U2B5QU.mjs";
|
|
21
|
+
import "./chunk-23JMWKCM.mjs";
|
|
22
|
+
import "./chunk-TQ7XDRKN.mjs";
|
|
23
|
+
import "./chunk-6LORNFLE.mjs";
|
|
24
|
+
import "./chunk-UQQ2HW3S.mjs";
|
|
25
|
+
import "./chunk-W7PZ7UZP.mjs";
|
|
26
|
+
import "./chunk-PCUCYGKF.mjs";
|
|
27
|
+
import "./chunk-2QUL4MCM.mjs";
|
|
28
|
+
import "./chunk-B36QTJ72.mjs";
|
|
29
|
+
import "./chunk-HCFG4HWL.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.2504 | (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-TQ7XDRKN.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-B36QTJ72.mjs";
|
|
10
|
+
import "./chunk-HCFG4HWL.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|