peachsim 0.1.2696 → 0.1.2698
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/cpu-profile.ts +8 -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 +34 -13
- 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-33L44Q4G.mjs → acorn-7ANT3PIZ.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-GZFA5D3Q.mjs → chunk-2MVSHYUC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NGZFTDYP.mjs → chunk-44JDFZIT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HLFIF2JL.mjs → chunk-6BZPT5XV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UGOQQDLQ.mjs → chunk-7UAIHHCK.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-2QTTTQ6Q.mjs → chunk-AAV25MQX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-OLDR4GIB.mjs → chunk-BG6UOMQO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VXEOHDT6.mjs → chunk-C6S3HVDL.mjs} +12 -11
- package/dist-lib/esm-chunks/{chunk-UXO4XM2V.mjs → chunk-D467DXG5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7S26WEU7.mjs → chunk-DE6RUKNP.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-4OWILJ5U.mjs → chunk-EZGDKM5P.mjs} +2 -2
- package/dist-lib/esm-chunks/{chunk-YHVCPE52.mjs → chunk-F2GKSGRG.mjs} +20 -16
- package/dist-lib/esm-chunks/{chunk-JZ3AOJXZ.mjs → chunk-GKK6FLOL.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-FTUVLFH5.mjs → chunk-NC7UNKIP.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-T7OMNQFJ.mjs → chunk-NCZPHRKV.mjs} +6 -6
- package/dist-lib/esm-chunks/{chunk-M4KONDPY.mjs → chunk-PJHFUCYT.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-F73YMQQV.mjs → chunk-PSQC5WKR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-WYJUQVRL.mjs → chunk-REJJ3HMS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7K4XPIM6.mjs → chunk-RSGVCBJT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HBDFX7RG.mjs → chunk-TF6FCBF6.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PQWODX6Z.mjs → chunk-VBLMISK7.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-SRZQRJUV.mjs → chunk-VME2G564.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KEZZHH3S.mjs → chunk-XFV3YJ5D.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-THAWWMBX.mjs → chunk-YJWDRGQ5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-PNT3YGH7.mjs → chunk-ZFF53YGD.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-P4D4GLL3.mjs → metro-layout-parser-KAC43URG.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-ACJH76HW.mjs → swift-package-prebuilt-LRO6YCF6.mjs} +12 -12
- package/dist-lib/esm-chunks/{swift-sdk-app-module-6INR2KSP.mjs → swift-sdk-app-module-3Y4K2C6R.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-MC23YHQV.mjs → swift-sdk-image-HMBVW3TD.mjs} +16 -16
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-POXXKSU6.mjs → swift-sdk-image-producer-6AL2OUG3.mjs} +22 -6
- package/dist-lib/expo-swift-bundle.cjs +34 -13
- 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 +213 -15
- 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 +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 +213 -15
- package/dist-lib/swift-compile.cjs +30 -9
- package/dist-lib/swift-compile.mjs +12 -12
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/package.json +1 -1
- package/src/one-native-controls-package.ts +209 -1
- package/src/swift-compile.ts +10 -2
- package/src/swift-sdk-image-producer.ts +17 -1
- package/src/swift-sdk-surface.ts +6 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
acquireSwiftRootReadHold,
|
|
4
4
|
hasLiveSwiftRootReaders,
|
|
5
5
|
retainSwiftRootReadHold,
|
|
6
6
|
withSwiftRootLock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EZGDKM5P.mjs";
|
|
8
8
|
import {
|
|
9
9
|
CORE_FOUNDATION_OVERLAY_GLOBALS,
|
|
10
10
|
NATIVE_GRAPH_SDK_VERSION,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
withoutImportedSdkEnumForwards,
|
|
56
56
|
withoutSwiftDeclarations,
|
|
57
57
|
writeBuildFile
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-C6S3HVDL.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SWIFT_AUTOLINK_LINKER,
|
|
61
61
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
wasmThreadLinkFlags,
|
|
73
73
|
windowAdmission,
|
|
74
74
|
writeSwiftAutolinkLinker
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-7UAIHHCK.mjs";
|
|
76
76
|
import {
|
|
77
77
|
SWIFT_BINARY_TREES_DIR,
|
|
78
78
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -87,7 +87,7 @@ import {
|
|
|
87
87
|
isSwiftResourcePath,
|
|
88
88
|
isSwiftSourceLinkGraph,
|
|
89
89
|
swiftProjectFilesProblems
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-VME2G564.mjs";
|
|
91
91
|
import {
|
|
92
92
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
93
93
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -110,16 +110,16 @@ import {
|
|
|
110
110
|
swiftPackagePartition,
|
|
111
111
|
swiftTargetModuleName,
|
|
112
112
|
withoutGlogModuleMap
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-ZFF53YGD.mjs";
|
|
114
114
|
import {
|
|
115
115
|
rnxPublicBrand
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-REJJ3HMS.mjs";
|
|
117
117
|
import {
|
|
118
118
|
isRecord
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-D467DXG5.mjs";
|
|
120
120
|
import {
|
|
121
121
|
__publicField
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-PSQC5WKR.mjs";
|
|
123
123
|
|
|
124
124
|
// src/swift-compile.ts
|
|
125
125
|
import { spawn as spawn2 } from "node:child_process";
|
|
@@ -14360,7 +14360,7 @@ async function compileGuestLink(options) {
|
|
|
14360
14360
|
};
|
|
14361
14361
|
const sdk = options.sdkImage;
|
|
14362
14362
|
const sdkCallers = sdk.sdkInterface.guestCallers;
|
|
14363
|
-
const sdkObjects = (await import("./swift-sdk-image-
|
|
14363
|
+
const sdkObjects = (await import("./swift-sdk-image-HMBVW3TD.mjs")).readSwiftSdkManifestIndex(
|
|
14364
14364
|
sdk
|
|
14365
14365
|
).guestObjects;
|
|
14366
14366
|
if (!sdkCallers || !sdkObjects)
|
|
@@ -14659,7 +14659,7 @@ async function compileGuestLink(options) {
|
|
|
14659
14659
|
readSwiftSdkUsage,
|
|
14660
14660
|
swiftAppModuleThunkSection,
|
|
14661
14661
|
swiftSdkProjectionSpans
|
|
14662
|
-
} = await import("./swift-sdk-app-module-
|
|
14662
|
+
} = await import("./swift-sdk-app-module-3Y4K2C6R.mjs");
|
|
14663
14663
|
const project = options.project;
|
|
14664
14664
|
const work = project ? mkdtempSync2(path14.join(directory, "app-module-")) : path14.join(directory, "app-module");
|
|
14665
14665
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -16542,6 +16542,10 @@ function swiftTargetDependencies(files, targets, frameworks = OPTIONAL_FRAMEWORK
|
|
|
16542
16542
|
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) || dependency.kind === "product" && dependency.package === "sootsim-swift" && OPTIONAL_FRAMEWORKS.has(dependency.name) ? [dependency.name] : []
|
|
16543
16543
|
)
|
|
16544
16544
|
);
|
|
16545
|
+
const targetDefines = target.defines ? /* @__PURE__ */ new Set([
|
|
16546
|
+
...target.defines,
|
|
16547
|
+
...!target.defines.includes(SWIFT_XCODE_BUILD_CONDITION) ? ["SWIFT_PACKAGE"] : []
|
|
16548
|
+
]) : void 0;
|
|
16545
16549
|
const checkNested = target.sources === void 0;
|
|
16546
16550
|
for (const [file, contents] of entriesByPrefix.get(prefix) ?? []) {
|
|
16547
16551
|
if (file === "Package.swift") continue;
|
|
@@ -16555,7 +16559,7 @@ function swiftTargetDependencies(files, targets, frameworks = OPTIONAL_FRAMEWORK
|
|
|
16555
16559
|
))
|
|
16556
16560
|
continue;
|
|
16557
16561
|
if (checkNested && ownedByOtherTarget(file, target.name, prefix.length)) continue;
|
|
16558
|
-
const imports = file.endsWith(".swift") ? swiftImportNames(contents) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents, ownsHeader) : [];
|
|
16562
|
+
const imports = file.endsWith(".swift") ? swiftImportNames(contents, void 0, targetDefines) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents, ownsHeader) : [];
|
|
16559
16563
|
for (const name of imports) {
|
|
16560
16564
|
if (names.has(name) && name !== target.name && !(target.dependencies !== void 0 && localNames.has(name)))
|
|
16561
16565
|
deps.add(name);
|
|
@@ -16598,7 +16602,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
16598
16602
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16599
16603
|
var MULTI_MANIFEST_VERSION = 76;
|
|
16600
16604
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16601
|
-
var compilerSourceDigest = true ? "
|
|
16605
|
+
var compilerSourceDigest = true ? "140cf62b1bce906e3986506681c9cc3d5ca49684745c587880d1351ff222adc4" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
16602
16606
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16603
16607
|
return swiftCompileInputHash(input, release).update(swiftModuleDigest(moduleRoot)).digest("hex");
|
|
16604
16608
|
}
|
|
@@ -20944,7 +20948,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20944
20948
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20945
20949
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20946
20950
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20947
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20951
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-LRO6YCF6.mjs")).useSwiftPackagePrebuilts(
|
|
20948
20952
|
sources,
|
|
20949
20953
|
moduleRoot,
|
|
20950
20954
|
options.toolchainBin
|
|
@@ -20957,7 +20961,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20957
20961
|
sources: path23.join(root, "Sources", "App"),
|
|
20958
20962
|
multi: compileTargets(input).length > 0
|
|
20959
20963
|
};
|
|
20960
|
-
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-
|
|
20964
|
+
const sdkImage = options.linkOnly ? void 0 : await (await import("./swift-sdk-image-HMBVW3TD.mjs")).buildSwiftSdkImage(
|
|
20961
20965
|
moduleRoot,
|
|
20962
20966
|
!!guestGraph,
|
|
20963
20967
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21676,7 +21680,7 @@ ${compatShape}` : "";
|
|
|
21676
21680
|
});
|
|
21677
21681
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21678
21682
|
} else {
|
|
21679
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21683
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-3Y4K2C6R.mjs");
|
|
21680
21684
|
const binding = await buildSwiftAppModule({
|
|
21681
21685
|
buildRoot: root2,
|
|
21682
21686
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2698 | (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.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
DARWIN_RECORDS_PREFIX,
|
|
4
4
|
KEEP_WASM_NAMES,
|
|
@@ -28,22 +28,22 @@ import {
|
|
|
28
28
|
swiftSdkImageScope,
|
|
29
29
|
unslottedFunctions,
|
|
30
30
|
wasmSections
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-F2GKSGRG.mjs";
|
|
32
32
|
import {
|
|
33
33
|
withSwiftRootLock,
|
|
34
34
|
withSwiftRootReadHolds
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-EZGDKM5P.mjs";
|
|
36
36
|
import {
|
|
37
37
|
swiftDistributionAt,
|
|
38
38
|
swiftModuleDigest,
|
|
39
39
|
swiftModuleToolchain,
|
|
40
40
|
swiftSdkPaths
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-C6S3HVDL.mjs";
|
|
42
42
|
import {
|
|
43
43
|
SWIFT_WASM_TRIPLE,
|
|
44
44
|
sourceSwiftCheckout,
|
|
45
45
|
swiftCacheDir
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-7UAIHHCK.mjs";
|
|
47
47
|
|
|
48
48
|
// src/swift-sdk-image.ts
|
|
49
49
|
import { execFile } from "node:child_process";
|
|
@@ -223,7 +223,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
223
223
|
const existing = cached(directory, key);
|
|
224
224
|
if (existing) return existing;
|
|
225
225
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
226
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
226
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-6AL2OUG3.mjs");
|
|
227
227
|
await produceSwiftSdkImage({
|
|
228
228
|
moduleRoot,
|
|
229
229
|
key,
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2698 | (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-44JDFZIT.mjs";
|
|
6
6
|
import {
|
|
7
7
|
cacheDir,
|
|
8
8
|
parseSwiftDistributionLock,
|
|
9
9
|
readActiveRuntime,
|
|
10
10
|
runtimeDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-C6S3HVDL.mjs";
|
|
12
12
|
import {
|
|
13
13
|
SWIFT_WASM_TRIPLE,
|
|
14
14
|
registerSwiftHostCompiler
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7UAIHHCK.mjs";
|
|
16
16
|
import {
|
|
17
17
|
isRecord
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D467DXG5.mjs";
|
|
19
19
|
|
|
20
20
|
// src/swift-distribution.ts
|
|
21
21
|
import { execFile as execFile2 } from "node:child_process";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SIM_LONG_PRESS_MAX_MS
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AAV25MQX.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D467DXG5.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-P4D4GLL3.mjs → metro-layout-parser-KAC43URG.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-PSQC5WKR.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-7ANT3PIZ.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.2698 | (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-F2GKSGRG.mjs";
|
|
8
|
+
import "./chunk-EZGDKM5P.mjs";
|
|
9
9
|
import {
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftImportNames
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-C6S3HVDL.mjs";
|
|
13
|
+
import "./chunk-7UAIHHCK.mjs";
|
|
14
14
|
import {
|
|
15
15
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VME2G564.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-ZFF53YGD.mjs";
|
|
20
|
+
import "./chunk-TF6FCBF6.mjs";
|
|
21
|
+
import "./chunk-REJJ3HMS.mjs";
|
|
22
|
+
import "./chunk-XFV3YJ5D.mjs";
|
|
23
|
+
import "./chunk-D467DXG5.mjs";
|
|
24
|
+
import "./chunk-PSQC5WKR.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-6INR2KSP.mjs → swift-sdk-app-module-3Y4K2C6R.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2698 | (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-NCZPHRKV.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-F2GKSGRG.mjs";
|
|
37
|
+
import "./chunk-EZGDKM5P.mjs";
|
|
38
|
+
import "./chunk-PJHFUCYT.mjs";
|
|
39
|
+
import "./chunk-44JDFZIT.mjs";
|
|
40
|
+
import "./chunk-YJWDRGQ5.mjs";
|
|
41
|
+
import "./chunk-C6S3HVDL.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-7UAIHHCK.mjs";
|
|
45
|
+
import "./chunk-VME2G564.mjs";
|
|
46
|
+
import "./chunk-ZFF53YGD.mjs";
|
|
47
|
+
import "./chunk-TF6FCBF6.mjs";
|
|
48
|
+
import "./chunk-REJJ3HMS.mjs";
|
|
49
|
+
import "./chunk-XFV3YJ5D.mjs";
|
|
50
|
+
import "./chunk-D467DXG5.mjs";
|
|
51
|
+
import "./chunk-PSQC5WKR.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.2698 | (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-NCZPHRKV.mjs";
|
|
18
|
+
import "./chunk-F2GKSGRG.mjs";
|
|
19
|
+
import "./chunk-EZGDKM5P.mjs";
|
|
20
|
+
import "./chunk-PJHFUCYT.mjs";
|
|
21
|
+
import "./chunk-44JDFZIT.mjs";
|
|
22
|
+
import "./chunk-YJWDRGQ5.mjs";
|
|
23
|
+
import "./chunk-C6S3HVDL.mjs";
|
|
24
|
+
import "./chunk-7UAIHHCK.mjs";
|
|
25
|
+
import "./chunk-VME2G564.mjs";
|
|
26
|
+
import "./chunk-ZFF53YGD.mjs";
|
|
27
|
+
import "./chunk-TF6FCBF6.mjs";
|
|
28
|
+
import "./chunk-REJJ3HMS.mjs";
|
|
29
|
+
import "./chunk-XFV3YJ5D.mjs";
|
|
30
|
+
import "./chunk-D467DXG5.mjs";
|
|
31
|
+
import "./chunk-PSQC5WKR.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.2698 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
withSwiftRootLock
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EZGDKM5P.mjs";
|
|
5
5
|
import {
|
|
6
6
|
swiftCacheDir,
|
|
7
7
|
windowAdmission
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-7UAIHHCK.mjs";
|
|
9
9
|
import {
|
|
10
10
|
isRecord
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-D467DXG5.mjs";
|
|
12
|
+
import "./chunk-PSQC5WKR.mjs";
|
|
13
13
|
|
|
14
14
|
// src/swift-sdk-image-producer.ts
|
|
15
15
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -77,7 +77,7 @@ mv "$1.tmp" "$1"
|
|
|
77
77
|
shift
|
|
78
78
|
export GIT_ALTERNATE_OBJECT_DIRECTORIES="$2/objects"
|
|
79
79
|
set +e
|
|
80
|
-
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
80
|
+
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
81
81
|
status=$?
|
|
82
82
|
if bun -e 'try { if (JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")).released !== true) process.exit(1) } catch { process.exit(1) }' "$4/cleanup.json"; then rm -rf "$2"; fi
|
|
83
83
|
exit "$status"
|
|
@@ -266,6 +266,9 @@ async function produceSwiftSdkImage(input) {
|
|
|
266
266
|
const resultFile = path.join(directory, "result.json");
|
|
267
267
|
if (request.key !== input.key || request.cache !== swiftCacheDir())
|
|
268
268
|
throw new Error(`Swift SDK producer identity mismatch: ${directory}`);
|
|
269
|
+
const waitStarted = Date.now();
|
|
270
|
+
let lastLoggedSession = null;
|
|
271
|
+
let lastHeartbeat = waitStarted;
|
|
269
272
|
for (; ; ) {
|
|
270
273
|
if (existsSync(resultFile)) {
|
|
271
274
|
const result = JSON.parse(readFileSync(resultFile, "utf8"));
|
|
@@ -282,6 +285,19 @@ async function produceSwiftSdkImage(input) {
|
|
|
282
285
|
`Swift SDK producer ${status.session} exited without a result; inspect its session before retrying`
|
|
283
286
|
);
|
|
284
287
|
}
|
|
288
|
+
const now = Date.now();
|
|
289
|
+
if (status.session !== lastLoggedSession) {
|
|
290
|
+
lastLoggedSession = status.session;
|
|
291
|
+
lastHeartbeat = now;
|
|
292
|
+
console.error(
|
|
293
|
+
`[swift-sdk-image] waiting for producer ${status.session} (key ${input.key})`
|
|
294
|
+
);
|
|
295
|
+
} else if (now - lastHeartbeat >= 6e4) {
|
|
296
|
+
lastHeartbeat = now;
|
|
297
|
+
console.error(
|
|
298
|
+
`[swift-sdk-image] still waiting for producer ${status.session} (${Math.round((now - waitStarted) / 1e3)}s, key ${input.key})`
|
|
299
|
+
);
|
|
300
|
+
}
|
|
285
301
|
} else if (Date.now() - request.created > 6e4) {
|
|
286
302
|
throw new Error(`Swift SDK producer launch is unconfirmed: ${directory}`);
|
|
287
303
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2698 | (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;
|
|
@@ -19553,7 +19553,7 @@ var init_react_native_core_digest = __esm({
|
|
|
19553
19553
|
|
|
19554
19554
|
// src/swift-compiler-digest.ts
|
|
19555
19555
|
function swiftArchiveCompilerDigestValue() {
|
|
19556
|
-
return true ? "
|
|
19556
|
+
return true ? "c859bf0cda284e3ef886fddd7e91af8b2be914a763a11f9625ec170c03e60f70" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname, "archive");
|
|
19557
19557
|
}
|
|
19558
19558
|
var import_node_crypto16, import_node_fs32, import_node_path31, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
|
|
19559
19559
|
var init_swift_compiler_digest = __esm({
|
|
@@ -19698,13 +19698,13 @@ var init_swift_standin_digest = __esm({
|
|
|
19698
19698
|
];
|
|
19699
19699
|
RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
19700
19700
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
|
|
19701
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
19701
|
+
STANDIN_SOURCE_DIGEST = true ? "7582348ab4506b5c59556e4d8db69c8b1a1a7d7309ea292134cc2e88012d0fb9" : standinSourceDigest();
|
|
19702
19702
|
}
|
|
19703
19703
|
});
|
|
19704
19704
|
|
|
19705
19705
|
// src/expo-native-compiler-digest.ts
|
|
19706
19706
|
function expoNativeCompilerDigestValue() {
|
|
19707
|
-
return true ? "
|
|
19707
|
+
return true ? "551ce827e93081045bdac181c394a031f1ab3d8a19aa31255fa771c6729a0672" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
19708
19708
|
}
|
|
19709
19709
|
var import_node_crypto18;
|
|
19710
19710
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -37343,18 +37343,19 @@ function* swiftConditionalLines(contents2, available2, defines) {
|
|
|
37343
37343
|
};
|
|
37344
37344
|
}
|
|
37345
37345
|
}
|
|
37346
|
-
function swiftImportNames(contents2, available2) {
|
|
37347
|
-
if (available2 === void 0) {
|
|
37346
|
+
function swiftImportNames(contents2, available2, defines) {
|
|
37347
|
+
if (available2 === void 0 && defines === void 0) {
|
|
37348
37348
|
const cached2 = importNamesCache.get(contents2);
|
|
37349
37349
|
if (cached2 !== void 0) return cached2;
|
|
37350
37350
|
}
|
|
37351
37351
|
const names = [];
|
|
37352
|
-
for (const { line, active } of swiftConditionalLines(contents2, available2)) {
|
|
37353
|
-
if (available2
|
|
37352
|
+
for (const { line, active } of swiftConditionalLines(contents2, available2, defines)) {
|
|
37353
|
+
if (available2 ? active !== true : defines !== void 0 && active === false) continue;
|
|
37354
37354
|
const name3 = SWIFT_IMPORT.exec(line)?.[1];
|
|
37355
37355
|
if (name3) names.push(name3);
|
|
37356
37356
|
}
|
|
37357
|
-
if (available2 === void 0
|
|
37357
|
+
if (available2 === void 0 && defines === void 0)
|
|
37358
|
+
importNamesCache.set(contents2, names);
|
|
37358
37359
|
return names;
|
|
37359
37360
|
}
|
|
37360
37361
|
function swiftPeachModules(moduleRoot) {
|
|
@@ -39673,6 +39674,9 @@ async function produceSwiftSdkImage(input) {
|
|
|
39673
39674
|
const resultFile = import_node_path57.default.join(directory2, "result.json");
|
|
39674
39675
|
if (request.key !== input.key || request.cache !== swiftCacheDir())
|
|
39675
39676
|
throw new Error(`Swift SDK producer identity mismatch: ${directory2}`);
|
|
39677
|
+
const waitStarted = Date.now();
|
|
39678
|
+
let lastLoggedSession = null;
|
|
39679
|
+
let lastHeartbeat = waitStarted;
|
|
39676
39680
|
for (; ; ) {
|
|
39677
39681
|
if ((0, import_node_fs59.existsSync)(resultFile)) {
|
|
39678
39682
|
const result = JSON.parse((0, import_node_fs59.readFileSync)(resultFile, "utf8"));
|
|
@@ -39689,6 +39693,19 @@ async function produceSwiftSdkImage(input) {
|
|
|
39689
39693
|
`Swift SDK producer ${status.session} exited without a result; inspect its session before retrying`
|
|
39690
39694
|
);
|
|
39691
39695
|
}
|
|
39696
|
+
const now = Date.now();
|
|
39697
|
+
if (status.session !== lastLoggedSession) {
|
|
39698
|
+
lastLoggedSession = status.session;
|
|
39699
|
+
lastHeartbeat = now;
|
|
39700
|
+
console.error(
|
|
39701
|
+
`[swift-sdk-image] waiting for producer ${status.session} (key ${input.key})`
|
|
39702
|
+
);
|
|
39703
|
+
} else if (now - lastHeartbeat >= 6e4) {
|
|
39704
|
+
lastHeartbeat = now;
|
|
39705
|
+
console.error(
|
|
39706
|
+
`[swift-sdk-image] still waiting for producer ${status.session} (${Math.round((now - waitStarted) / 1e3)}s, key ${input.key})`
|
|
39707
|
+
);
|
|
39708
|
+
}
|
|
39692
39709
|
} else if (Date.now() - request.created > 6e4) {
|
|
39693
39710
|
throw new Error(`Swift SDK producer launch is unconfirmed: ${directory2}`);
|
|
39694
39711
|
}
|
|
@@ -39725,7 +39742,7 @@ mv "$1.tmp" "$1"
|
|
|
39725
39742
|
shift
|
|
39726
39743
|
export GIT_ALTERNATE_OBJECT_DIRECTORIES="$2/objects"
|
|
39727
39744
|
set +e
|
|
39728
|
-
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
39745
|
+
env -u TM_WINDOW -u TM_WAIT_DEADLINE_MS -u TM_EXEC_OUTER_DEADLINE_MS -u REMOTE_BUILD_DEADLINE -u TM_EXEC_ADMITTED -u LINUX_BUILD_SCOPE -u TM_EXEC_CPU_CORES -u TM_EXEC_LINUX_MEMORY_MAX -u CONTRAST_HEAVY_ADMITTED -u CONTRAST_HEAVY_CPU_CORES tm exec --local --kind build-linux --cores "$1" --timeout 90m --param wait=true --param job-kind=swift-sdk-image --param "source-snapshot=$2" --param "delivery-dir=$4" --param "serial-key=swift-sdk-$5" -- bun scripts/ops/produce-swift-sdk-image.ts "$3" </dev/null
|
|
39729
39746
|
status=$?
|
|
39730
39747
|
if bun -e 'try { if (JSON.parse(require("node:fs").readFileSync(process.argv[1], "utf8")).released !== true) process.exit(1) } catch { process.exit(1) }' "$4/cleanup.json"; then rm -rf "$2"; fi
|
|
39731
39748
|
exit "$status"
|
|
@@ -44620,6 +44637,10 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
|
|
|
44620
44637
|
(dependency) => dependency.kind === "target" && dependency.name !== target.name && names.has(dependency.name) || dependency.kind === "product" && dependency.package === "sootsim-swift" && OPTIONAL_FRAMEWORKS.has(dependency.name) ? [dependency.name] : []
|
|
44621
44638
|
)
|
|
44622
44639
|
);
|
|
44640
|
+
const targetDefines = target.defines ? /* @__PURE__ */ new Set([
|
|
44641
|
+
...target.defines,
|
|
44642
|
+
...!target.defines.includes(SWIFT_XCODE_BUILD_CONDITION) ? ["SWIFT_PACKAGE"] : []
|
|
44643
|
+
]) : void 0;
|
|
44623
44644
|
const checkNested = target.sources === void 0;
|
|
44624
44645
|
for (const [file, contents2] of entriesByPrefix.get(prefix) ?? []) {
|
|
44625
44646
|
if (file === "Package.swift") continue;
|
|
@@ -44633,7 +44654,7 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
|
|
|
44633
44654
|
))
|
|
44634
44655
|
continue;
|
|
44635
44656
|
if (checkNested && ownedByOtherTarget(file, target.name, prefix.length)) continue;
|
|
44636
|
-
const imports2 = file.endsWith(".swift") ? swiftImportNames(contents2) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents2, ownsHeader) : [];
|
|
44657
|
+
const imports2 = file.endsWith(".swift") ? swiftImportNames(contents2, void 0, targetDefines) : SWIFT_NATIVE_SOURCE_EXTENSIONS.some((extension) => file.endsWith(extension)) ? clangImportNames(contents2, ownsHeader) : [];
|
|
44637
44658
|
for (const name3 of imports2) {
|
|
44638
44659
|
if (names.has(name3) && name3 !== target.name && !(target.dependencies !== void 0 && localNames.has(name3)))
|
|
44639
44660
|
deps.add(name3);
|
|
@@ -49823,7 +49844,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
|
|
|
49823
49844
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
49824
49845
|
MULTI_MANIFEST_VERSION = 76;
|
|
49825
49846
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
49826
|
-
compilerSourceDigest = true ? "
|
|
49847
|
+
compilerSourceDigest = true ? "140cf62b1bce906e3986506681c9cc3d5ca49684745c587880d1351ff222adc4" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
49827
49848
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
49828
49849
|
MODULE_MAP_RESPONSE_FILE_RUN = 16;
|
|
49829
49850
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
@@ -105204,7 +105225,7 @@ var init_nitro_superset = __esm({
|
|
|
105204
105225
|
init_nitroContract();
|
|
105205
105226
|
init_swift_standin_digest();
|
|
105206
105227
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
105207
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
105228
|
+
NITRO_COMPILER_DIGEST = true ? "e93a9edf1e0cdd2f06c47edfa3e47bb04a80a82a4c1f7d19dbf15cf264ea6aad" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
105208
105229
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
105209
105230
|
nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
|
|
105210
105231
|
published2 = /* @__PURE__ */ new Map();
|