peachsim 0.1.1962 → 0.1.1964
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/README.md +4 -7
- package/cli/commands/setup.ts +18 -11
- package/cli/commands/telemetry.ts +1 -2
- package/cli/main.ts +0 -18
- package/cli/outbound-endpoints.ts +6 -6
- package/cli/privacy.ts +1 -21
- 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 +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +74 -29
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +72 -27
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +4 -4
- package/dist-lib/host/bridge-host.cjs +74 -29
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +4 -4
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -3
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- 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 +1 -1
- package/dist-lib/skills.cjs +79 -44
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +6 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +44 -26
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +37 -0
- package/src/home-paths.ts +4 -5
- package/src/settingsContract.ts +2 -2
- package/src/swift-cxx-reachable.ts +11 -2
- package/src/swift-objc-compile.ts +7 -2
- package/src/swift-objc-standin.ts +3 -4
- package/src/swift-packages.ts +3 -0
- package/src/swift-standins.ts +44 -16
- package/src/swift-toolchain.ts +6 -0
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -28599,9 +28599,9 @@ function readPrivacyPreferences() {
|
|
|
28599
28599
|
const productAnalytics = settings?.productAnalytics;
|
|
28600
28600
|
const crashReports = settings?.crashReports;
|
|
28601
28601
|
return {
|
|
28602
|
-
productAnalytics: typeof productAnalytics === "boolean" ? productAnalytics :
|
|
28603
|
-
crashReports: typeof crashReports === "boolean" ? crashReports :
|
|
28604
|
-
configured: typeof productAnalytics === "boolean"
|
|
28602
|
+
productAnalytics: typeof productAnalytics === "boolean" ? productAnalytics : false,
|
|
28603
|
+
crashReports: typeof crashReports === "boolean" ? crashReports : false,
|
|
28604
|
+
configured: typeof productAnalytics === "boolean" || typeof crashReports === "boolean"
|
|
28605
28605
|
};
|
|
28606
28606
|
}
|
|
28607
28607
|
function writePrivacyPreferences(preferences) {
|
|
@@ -41877,6 +41877,9 @@ function processRuns(pid) {
|
|
|
41877
41877
|
return error instanceof Error && "code" in error && error.code === "EPERM";
|
|
41878
41878
|
}
|
|
41879
41879
|
}
|
|
41880
|
+
function withoutCoreDump(file, args) {
|
|
41881
|
+
return ["/bin/sh", ["-c", 'ulimit -c 0; exec "$@"', "sh", file, ...args]];
|
|
41882
|
+
}
|
|
41880
41883
|
function swiftEnvironment(base = process.env) {
|
|
41881
41884
|
return {
|
|
41882
41885
|
...base,
|
|
@@ -44507,8 +44510,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
44507
44510
|
import_node_fs32.default.rmSync(out, { recursive: true, force: true });
|
|
44508
44511
|
import_node_fs32.default.mkdirSync(out, { recursive: true });
|
|
44509
44512
|
const run12 = (0, import_node_child_process17.spawnSync)(
|
|
44510
|
-
import_node_path29.default.join(toolchainBin, "swift-symbolgraph-extract"),
|
|
44511
|
-
[
|
|
44513
|
+
...withoutCoreDump(import_node_path29.default.join(toolchainBin, "swift-symbolgraph-extract"), [
|
|
44512
44514
|
"-module-name",
|
|
44513
44515
|
surface.module,
|
|
44514
44516
|
"-target",
|
|
@@ -44528,7 +44530,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
44528
44530
|
"-omit-extension-block-symbols",
|
|
44529
44531
|
"-output-dir",
|
|
44530
44532
|
out
|
|
44531
|
-
],
|
|
44533
|
+
]),
|
|
44532
44534
|
{ encoding: "utf8", env: swiftEnvironment(), maxBuffer: 256 * 1024 * 1024 }
|
|
44533
44535
|
);
|
|
44534
44536
|
if (run12.error) throw run12.error;
|
|
@@ -57141,7 +57143,7 @@ var init_swift_compile = __esm({
|
|
|
57141
57143
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
57142
57144
|
MULTI_MANIFEST_VERSION = 66;
|
|
57143
57145
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
57144
|
-
compilerSourceDigest = true ? "
|
|
57146
|
+
compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
57145
57147
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
57146
57148
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
57147
57149
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -63477,7 +63479,7 @@ var init_swift_standin_digest = __esm({
|
|
|
63477
63479
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
63478
63480
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
63479
63481
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
63480
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
63482
|
+
STANDIN_SOURCE_DIGEST = true ? "2c1ec9d203fa5a2da70c4346e1574b582e71d72dbd796d40431f29c4e3aeabad" : standinSourceDigest();
|
|
63481
63483
|
}
|
|
63482
63484
|
});
|
|
63483
63485
|
|
|
@@ -64207,7 +64209,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
64207
64209
|
init_swift_native_pin();
|
|
64208
64210
|
init_xcode_project();
|
|
64209
64211
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
64210
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
64212
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "aabd8b1a975371fda074175e883d608df75f1aab0393e1a9b02f738d0f063fbd" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
64211
64213
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
64212
64214
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
64213
64215
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -65333,7 +65335,7 @@ function resolveSwiftPackages(options) {
|
|
|
65333
65335
|
result.nativeProducts.push({ name: name3, packageDir: manifest.dir, source });
|
|
65334
65336
|
return result;
|
|
65335
65337
|
}
|
|
65336
|
-
var import_node_child_process37, import_node_crypto38, import_node_fs69, import_node_path68, import_promises7, import_node_util12, SWIFT_PLACEHOLDER_PACKAGES, placeholderPackage, UNSUPPORTED_NATIVE, BINARY, blockers, verified, execFileAsync2, checkoutKey;
|
|
65338
|
+
var import_node_child_process37, import_node_crypto38, import_node_fs69, import_node_path68, import_promises7, import_node_util12, swiftBinaryOnDisk, SWIFT_PLACEHOLDER_PACKAGES, placeholderPackage, UNSUPPORTED_NATIVE, BINARY, blockers, verified, execFileAsync2, checkoutKey;
|
|
65337
65339
|
var init_swift_packages = __esm({
|
|
65338
65340
|
"src/swift-packages.ts"() {
|
|
65339
65341
|
"use strict";
|
|
@@ -65349,6 +65351,7 @@ var init_swift_packages = __esm({
|
|
|
65349
65351
|
init_prepared_xcode_phases();
|
|
65350
65352
|
init_swift_package();
|
|
65351
65353
|
init_swift_package_manifest();
|
|
65354
|
+
swiftBinaryOnDisk = (binary2) => binary2.url !== null || import_node_fs69.default.existsSync(binary2.dir);
|
|
65352
65355
|
SWIFT_PLACEHOLDER_PACKAGES = /* @__PURE__ */ new Map();
|
|
65353
65356
|
placeholderPackage = (pkg) => SWIFT_PLACEHOLDER_PACKAGES.get(swiftPackageIdentity(pkg.manifest.dir));
|
|
65354
65357
|
UNSUPPORTED_NATIVE = /\.(s|S)$/;
|
|
@@ -66310,22 +66313,24 @@ function swiftStandin(surface, binary2, toolchain, work, behavior, siblings) {
|
|
|
66310
66313
|
symbolgraphWasm.push(wasm[index]);
|
|
66311
66314
|
}
|
|
66312
66315
|
symbolgraphWasm.push("-Xcc", "-Xclang", "-Xcc", "-fmodule-format=raw");
|
|
66313
|
-
exec(
|
|
66314
|
-
"-
|
|
66315
|
-
|
|
66316
|
-
|
|
66317
|
-
|
|
66318
|
-
|
|
66319
|
-
|
|
66320
|
-
|
|
66321
|
-
|
|
66322
|
-
|
|
66323
|
-
|
|
66324
|
-
|
|
66325
|
-
|
|
66326
|
-
|
|
66327
|
-
|
|
66328
|
-
|
|
66316
|
+
exec(
|
|
66317
|
+
...withoutCoreDump(import_node_path71.default.join(toolchain.toolchainBin, "swift-symbolgraph-extract"), [
|
|
66318
|
+
"-module-name",
|
|
66319
|
+
surface.module,
|
|
66320
|
+
...symbolgraphWasm,
|
|
66321
|
+
"-I",
|
|
66322
|
+
search,
|
|
66323
|
+
// at public the graph drops underscored public declarations, which other
|
|
66324
|
+
// public ones name; the emitter keeps only public and open symbols
|
|
66325
|
+
"-minimum-access-level",
|
|
66326
|
+
"internal",
|
|
66327
|
+
"-include-spi-symbols",
|
|
66328
|
+
"-skip-synthesized-members",
|
|
66329
|
+
"-omit-extension-block-symbols",
|
|
66330
|
+
"-output-dir",
|
|
66331
|
+
out
|
|
66332
|
+
])
|
|
66333
|
+
);
|
|
66329
66334
|
const graphs = import_node_fs73.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => JSON.parse(import_node_fs73.default.readFileSync(import_node_path71.default.join(out, name3), "utf8")));
|
|
66330
66335
|
const supplemented = synthesizedInterfaceEnums(text6, surface.module, graphs);
|
|
66331
66336
|
restoreSwiftInterfaceSPI(text6, surface.module, graphs);
|
|
@@ -67710,6 +67715,19 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
|
|
|
67710
67715
|
return settle(result);
|
|
67711
67716
|
}
|
|
67712
67717
|
async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set(), behavior = {}) {
|
|
67718
|
+
const built2 = await buildStandins(binaries, toolchain, provided, behavior);
|
|
67719
|
+
return {
|
|
67720
|
+
standins: built2.standins,
|
|
67721
|
+
gaps: new Map([...built2.gaps].map(([target, gap]) => [target, gapText(gap)]))
|
|
67722
|
+
};
|
|
67723
|
+
}
|
|
67724
|
+
function gapText(gap) {
|
|
67725
|
+
const lines = gap.split("\n").map((line) => line.trim()).filter((line) => line && !/^[{[\]}",]/.test(line) && !/"kind":/.test(line));
|
|
67726
|
+
const errors = lines.filter((line) => /\berror:/.test(line));
|
|
67727
|
+
const text6 = (errors.length > 0 ? errors : lines).slice(0, 4).join("; ");
|
|
67728
|
+
return text6.length > 600 ? `${text6.slice(0, 600)}\u2026` : text6;
|
|
67729
|
+
}
|
|
67730
|
+
async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
67713
67731
|
const requested = binaries.filter((binary2) => !provided.has(binary2.target));
|
|
67714
67732
|
if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
|
|
67715
67733
|
if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
|
|
@@ -68137,7 +68155,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
68137
68155
|
clangModules.set(import_node_path72.default.resolve(binary2.dir, binary2.publicHeaders), binary2.target);
|
|
68138
68156
|
}
|
|
68139
68157
|
const frameworkBinaries = binaries.filter(
|
|
68140
|
-
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0
|
|
68158
|
+
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2)
|
|
68141
68159
|
);
|
|
68142
68160
|
const declaredFrameworks = moduleRoot && frameworkBinaries.length > 0 ? {
|
|
68143
68161
|
moduleRoot,
|
|
@@ -71589,7 +71607,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
71589
71607
|
return [...binaries];
|
|
71590
71608
|
const staged = remoteSwiftCheckouts(app.rootDir);
|
|
71591
71609
|
if (!binaries.some(
|
|
71592
|
-
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
71610
|
+
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2) && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
71593
71611
|
))
|
|
71594
71612
|
return [...binaries];
|
|
71595
71613
|
const hash = (0, import_node_crypto41.createHash)("sha256");
|
|
@@ -71638,7 +71656,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
71638
71656
|
});
|
|
71639
71657
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
71640
71658
|
const search = binaries.map((binary2) => {
|
|
71641
|
-
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0)
|
|
71659
|
+
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0 || !swiftBinaryOnDisk(binary2))
|
|
71642
71660
|
return null;
|
|
71643
71661
|
const headers = binaryHeaderSearchPaths(binary2, checkouts).headers;
|
|
71644
71662
|
if (headers.length !== 1) return null;
|
|
@@ -78986,6 +79004,29 @@ function cloneNativeTarget(target) {
|
|
|
78986
79004
|
sourceDirectories: { ...target.sourceDirectories }
|
|
78987
79005
|
};
|
|
78988
79006
|
}
|
|
79007
|
+
function podSupportsIOS(pod) {
|
|
79008
|
+
if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
|
|
79009
|
+
throw new Error("invalid Expo autolinking pod");
|
|
79010
|
+
const base = import_node_path82.default.join(pod.podspecDir, pod.podName);
|
|
79011
|
+
if (import_node_fs84.default.existsSync(`${base}.podspec.json`)) {
|
|
79012
|
+
const platforms2 = JSON.parse(
|
|
79013
|
+
import_node_fs84.default.readFileSync(`${base}.podspec.json`, "utf8")
|
|
79014
|
+
).platforms;
|
|
79015
|
+
return !isRecord(platforms2) || "ios" in platforms2;
|
|
79016
|
+
}
|
|
79017
|
+
if (!import_node_fs84.default.existsSync(`${base}.podspec`)) return true;
|
|
79018
|
+
const spec = import_node_fs84.default.readFileSync(`${base}.podspec`, "utf8");
|
|
79019
|
+
const names = /* @__PURE__ */ new Set();
|
|
79020
|
+
for (const [, hash] of spec.matchAll(/\.platforms\s*=\s*\{([^}]*)\}/g))
|
|
79021
|
+
for (const [, a, b, c] of hash.matchAll(
|
|
79022
|
+
/:(\w+)\s*=>|\b(\w+):\s|['"](\w+)['"]\s*=>/g
|
|
79023
|
+
))
|
|
79024
|
+
names.add(a ?? b ?? c);
|
|
79025
|
+
for (const [, name3] of spec.matchAll(/\.platform\s*=\s*:(\w+)/g)) names.add(name3);
|
|
79026
|
+
for (const [, name3] of spec.matchAll(/\.(\w+)\.deployment_target\s*=/g))
|
|
79027
|
+
names.add(name3);
|
|
79028
|
+
return names.size === 0 || names.has("ios");
|
|
79029
|
+
}
|
|
78989
79030
|
function synthesizedNativeTarget(name3, deploymentTarget) {
|
|
78990
79031
|
return {
|
|
78991
79032
|
name: name3,
|
|
@@ -79525,6 +79566,10 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
79525
79566
|
const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
|
|
79526
79567
|
const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
|
|
79527
79568
|
const pods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
|
|
79569
|
+
if (Array.isArray(pods) && pods.length > 0 && !pods.some(podSupportsIOS)) {
|
|
79570
|
+
report(`${packageName} was not linked: no pod supports iOS`);
|
|
79571
|
+
continue;
|
|
79572
|
+
}
|
|
79528
79573
|
const delegateNames = (key2) => {
|
|
79529
79574
|
const names = resolution && typeof resolution === "object" ? Reflect.get(resolution, key2) : null;
|
|
79530
79575
|
return Array.isArray(names) ? names : [];
|
|
@@ -82373,7 +82418,7 @@ var init_nitro_superset = __esm({
|
|
|
82373
82418
|
init_swift_standin_digest();
|
|
82374
82419
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
82375
82420
|
packageVersion = (root) => JSON.parse((0, import_node_fs92.readFileSync)((0, import_node_path90.join)(root, "package.json"), "utf8")).version;
|
|
82376
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
82421
|
+
NITRO_COMPILER_DIGEST = true ? "4436f37e5c9433ab8d98427c75c9969549750461258d73f206214a14f6c072b3" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
82377
82422
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
82378
82423
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
82379
82424
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -82622,7 +82667,7 @@ var init_expo_widgets_bundle = __esm({
|
|
|
82622
82667
|
var runtime_companion_default;
|
|
82623
82668
|
var init_runtime_companion = __esm({
|
|
82624
82669
|
"runtime-companion.json"() {
|
|
82625
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
82670
|
+
runtime_companion_default = { abi: 1, sha256: "127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43", file: "node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs" };
|
|
82626
82671
|
}
|
|
82627
82672
|
});
|
|
82628
82673
|
|
|
@@ -104545,22 +104590,12 @@ function doNotTrack() {
|
|
|
104545
104590
|
function diagnosticsAllowedForCurrentProcess(preferences = readPrivacyPreferences()) {
|
|
104546
104591
|
return !doNotTrack() && preferences.productAnalytics;
|
|
104547
104592
|
}
|
|
104548
|
-
var PRIVACY_CONTENTS, PRIVACY_NOTICE;
|
|
104549
104593
|
var init_privacy = __esm({
|
|
104550
104594
|
"cli/privacy.ts"() {
|
|
104551
104595
|
"use strict";
|
|
104552
104596
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
104553
104597
|
init_home_paths();
|
|
104554
104598
|
init_env();
|
|
104555
|
-
PRIVACY_CONTENTS = [
|
|
104556
|
-
"Anonymous diagnostics and crash reports send CLI/runtime versions, OS/arch, command name and exit code, a random install ID, package incompatibilities, and a redacted first-line error message.",
|
|
104557
|
-
"Crash reports also include a short output tail or stack, with paths, URLs, known secrets and environment assignments redacted. Output can contain other app text."
|
|
104558
|
-
];
|
|
104559
|
-
PRIVACY_NOTICE = [
|
|
104560
|
-
"Anonymous diagnostics and crash reports are on.",
|
|
104561
|
-
...PRIVACY_CONTENTS,
|
|
104562
|
-
"Turn them off with `peach config telemetry off`, or DO_NOT_TRACK=1 for one run."
|
|
104563
|
-
];
|
|
104564
104599
|
}
|
|
104565
104600
|
});
|
|
104566
104601
|
|
|
@@ -106377,7 +106412,7 @@ var init_meta = __esm({
|
|
|
106377
106412
|
navTitle: "setup",
|
|
106378
106413
|
title: "peach setup",
|
|
106379
106414
|
description: "configure optional local conveniences",
|
|
106380
|
-
summary: "peach works without project setup. This guided flow saves an API key it finds in PEACH_API_KEY or ~/Downloads/peach-api-key.txt (the welcome dialog on peachsim.com downloads it), or asks for one when a person is at the terminal, so tests and recordings work. It explains and offers the strongly recommended background service, which keeps the bridge and runtime ready so agent inspection, interaction, and test commands start much faster. It also installs the native desktop app where it ships (Windows chooses Browser or its Desktop app),
|
|
106415
|
+
summary: "peach works without project setup. This guided flow saves an API key it finds in PEACH_API_KEY or ~/Downloads/peach-api-key.txt (the welcome dialog on peachsim.com downloads it), or asks for one when a person is at the terminal, so tests and recordings work. It explains and offers the strongly recommended background service, which keeps the bridge and runtime ready so agent inspection, interaction, and test commands start much faster. It also installs the native desktop app where it ships (Windows chooses Browser or its Desktop app), offers to enable bounded diagnostics and crash reports, and can optionally add an exact peachsim dependency plus a peach script when the current directory is inside a Git repository. Declining the service is reversible with `peach daemon install`.",
|
|
106381
106416
|
order: 140,
|
|
106382
106417
|
usage: ["peach setup [options]"],
|
|
106383
106418
|
options: [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -12377,7 +12377,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12377
12377
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12378
12378
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12379
12379
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12380
|
-
var compilerSourceDigest = true ? "
|
|
12380
|
+
var compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12381
12381
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12382
12382
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12383
12383
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -12359,7 +12359,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12359
12359
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12360
12360
|
var MULTI_MANIFEST_VERSION = 66;
|
|
12361
12361
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12362
|
-
var compilerSourceDigest = true ? "
|
|
12362
|
+
var compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12363
12363
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12364
12364
|
const hash = createHash13("sha256");
|
|
12365
12365
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -69,6 +69,7 @@ __export(swift_toolchain_exports, {
|
|
|
69
69
|
swiftToolchainBin: () => swiftToolchainBin,
|
|
70
70
|
swiftUpstreamRelease: () => swiftUpstreamRelease,
|
|
71
71
|
verifySwiftHostCompiler: () => verifySwiftHostCompiler,
|
|
72
|
+
withoutCoreDump: () => withoutCoreDump,
|
|
72
73
|
writeSwiftAutolinkLinker: () => writeSwiftAutolinkLinker
|
|
73
74
|
});
|
|
74
75
|
module.exports = __toCommonJS(swift_toolchain_exports);
|
|
@@ -543,6 +544,9 @@ function processRuns(pid) {
|
|
|
543
544
|
return error instanceof Error && "code" in error && error.code === "EPERM";
|
|
544
545
|
}
|
|
545
546
|
}
|
|
547
|
+
function withoutCoreDump(file, args) {
|
|
548
|
+
return ["/bin/sh", ["-c", 'ulimit -c 0; exec "$@"', "sh", file, ...args]];
|
|
549
|
+
}
|
|
546
550
|
function swiftEnvironment(base = process.env) {
|
|
547
551
|
return {
|
|
548
552
|
...base,
|
|
@@ -968,5 +972,6 @@ function swiftCompilerInstall(release) {
|
|
|
968
972
|
swiftToolchainBin,
|
|
969
973
|
swiftUpstreamRelease,
|
|
970
974
|
verifySwiftHostCompiler,
|
|
975
|
+
withoutCoreDump,
|
|
971
976
|
writeSwiftAutolinkLinker
|
|
972
977
|
});
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "05c0959ec7458f26e96bb0a18e01dd196e19e087c1c71e031ce0707d2494287d", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -4775,6 +4775,9 @@ var linuxHostSdkRoot;
|
|
|
4775
4775
|
function setSwiftLinuxLibraryPath(libraryPath) {
|
|
4776
4776
|
linuxLibraryPath = libraryPath;
|
|
4777
4777
|
}
|
|
4778
|
+
function withoutCoreDump(file, args) {
|
|
4779
|
+
return ["/bin/sh", ["-c", 'ulimit -c 0; exec "$@"', "sh", file, ...args]];
|
|
4780
|
+
}
|
|
4778
4781
|
function swiftEnvironment(base = process.env) {
|
|
4779
4782
|
return {
|
|
4780
4783
|
...base,
|
|
@@ -7768,8 +7771,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
7768
7771
|
import_node_fs7.default.rmSync(out, { recursive: true, force: true });
|
|
7769
7772
|
import_node_fs7.default.mkdirSync(out, { recursive: true });
|
|
7770
7773
|
const run5 = (0, import_node_child_process6.spawnSync)(
|
|
7771
|
-
import_node_path7.default.join(toolchainBin, "swift-symbolgraph-extract"),
|
|
7772
|
-
[
|
|
7774
|
+
...withoutCoreDump(import_node_path7.default.join(toolchainBin, "swift-symbolgraph-extract"), [
|
|
7773
7775
|
"-module-name",
|
|
7774
7776
|
surface.module,
|
|
7775
7777
|
"-target",
|
|
@@ -7789,7 +7791,7 @@ function objcView(surface, toolchainBin, stdlib, cacheDir5, work, original, vend
|
|
|
7789
7791
|
"-omit-extension-block-symbols",
|
|
7790
7792
|
"-output-dir",
|
|
7791
7793
|
out
|
|
7792
|
-
],
|
|
7794
|
+
]),
|
|
7793
7795
|
{ encoding: "utf8", env: swiftEnvironment(), maxBuffer: 256 * 1024 * 1024 }
|
|
7794
7796
|
);
|
|
7795
7797
|
if (run5.error) throw run5.error;
|
|
@@ -16699,7 +16701,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
16699
16701
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
16700
16702
|
var MULTI_MANIFEST_VERSION = 66;
|
|
16701
16703
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
16702
|
-
var compilerSourceDigest = true ? "
|
|
16704
|
+
var compilerSourceDigest = true ? "777d4db5d7a8d74f3fc33c50d60c04b62ad2fdce4bce2e2eec8c4e358d61ce92" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
16703
16705
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
16704
16706
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
16705
16707
|
hash.update(`swift-compile
|
|
@@ -29050,6 +29052,7 @@ var import_node_util6 = require("node:util");
|
|
|
29050
29052
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
29051
29053
|
|
|
29052
29054
|
// src/swift-packages.ts
|
|
29055
|
+
var swiftBinaryOnDisk = (binary) => binary.url !== null || import_node_fs38.default.existsSync(binary.dir);
|
|
29053
29056
|
var SWIFT_PLACEHOLDER_PACKAGES = /* @__PURE__ */ new Map();
|
|
29054
29057
|
var placeholderPackage = (pkg) => SWIFT_PLACEHOLDER_PACKAGES.get(swiftPackageIdentity(pkg.manifest.dir));
|
|
29055
29058
|
function remoteSwiftCheckouts(root) {
|
|
@@ -29646,7 +29649,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
29646
29649
|
return hash.digest("hex");
|
|
29647
29650
|
}
|
|
29648
29651
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29649
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
29652
|
+
var STANDIN_SOURCE_DIGEST = true ? "2c1ec9d203fa5a2da70c4346e1574b582e71d72dbd796d40431f29c4e3aeabad" : standinSourceDigest();
|
|
29650
29653
|
|
|
29651
29654
|
// src/swift-standins.ts
|
|
29652
29655
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -30860,22 +30863,24 @@ function swiftStandin(surface, binary, toolchain, work, behavior, siblings) {
|
|
|
30860
30863
|
symbolgraphWasm.push(wasm[index]);
|
|
30861
30864
|
}
|
|
30862
30865
|
symbolgraphWasm.push("-Xcc", "-Xclang", "-Xcc", "-fmodule-format=raw");
|
|
30863
|
-
exec(
|
|
30864
|
-
"-
|
|
30865
|
-
|
|
30866
|
-
|
|
30867
|
-
|
|
30868
|
-
|
|
30869
|
-
|
|
30870
|
-
|
|
30871
|
-
|
|
30872
|
-
|
|
30873
|
-
|
|
30874
|
-
|
|
30875
|
-
|
|
30876
|
-
|
|
30877
|
-
|
|
30878
|
-
|
|
30866
|
+
exec(
|
|
30867
|
+
...withoutCoreDump(import_node_path47.default.join(toolchain.toolchainBin, "swift-symbolgraph-extract"), [
|
|
30868
|
+
"-module-name",
|
|
30869
|
+
surface.module,
|
|
30870
|
+
...symbolgraphWasm,
|
|
30871
|
+
"-I",
|
|
30872
|
+
search,
|
|
30873
|
+
// at public the graph drops underscored public declarations, which other
|
|
30874
|
+
// public ones name; the emitter keeps only public and open symbols
|
|
30875
|
+
"-minimum-access-level",
|
|
30876
|
+
"internal",
|
|
30877
|
+
"-include-spi-symbols",
|
|
30878
|
+
"-skip-synthesized-members",
|
|
30879
|
+
"-omit-extension-block-symbols",
|
|
30880
|
+
"-output-dir",
|
|
30881
|
+
out
|
|
30882
|
+
])
|
|
30883
|
+
);
|
|
30879
30884
|
const graphs = import_node_fs45.default.readdirSync(out).filter((name3) => name3.endsWith(".symbols.json")).sort().map((name3) => JSON.parse(import_node_fs45.default.readFileSync(import_node_path47.default.join(out, name3), "utf8")));
|
|
30880
30885
|
const supplemented = synthesizedInterfaceEnums(text5, surface.module, graphs);
|
|
30881
30886
|
restoreSwiftInterfaceSPI(text5, surface.module, graphs);
|
|
@@ -32275,6 +32280,19 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
|
|
|
32275
32280
|
return settle(result);
|
|
32276
32281
|
}
|
|
32277
32282
|
async function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set(), behavior = {}) {
|
|
32283
|
+
const built2 = await buildStandins(binaries, toolchain, provided, behavior);
|
|
32284
|
+
return {
|
|
32285
|
+
standins: built2.standins,
|
|
32286
|
+
gaps: new Map([...built2.gaps].map(([target, gap]) => [target, gapText(gap)]))
|
|
32287
|
+
};
|
|
32288
|
+
}
|
|
32289
|
+
function gapText(gap) {
|
|
32290
|
+
const lines = gap.split("\n").map((line) => line.trim()).filter((line) => line && !/^[{[\]}",]/.test(line) && !/"kind":/.test(line));
|
|
32291
|
+
const errors = lines.filter((line) => /\berror:/.test(line));
|
|
32292
|
+
const text5 = (errors.length > 0 ? errors : lines).slice(0, 4).join("; ");
|
|
32293
|
+
return text5.length > 600 ? `${text5.slice(0, 600)}\u2026` : text5;
|
|
32294
|
+
}
|
|
32295
|
+
async function buildStandins(binaries, toolchain, provided, behavior) {
|
|
32278
32296
|
const requested = binaries.filter((binary) => !provided.has(binary.target));
|
|
32279
32297
|
if (requested.length === 0) return { standins: [], gaps: /* @__PURE__ */ new Map() };
|
|
32280
32298
|
if (process.platform === "darwin" && process.env.TM_EXEC_BUILD_PLATFORM !== "mac" && process.env.TM_SESSION && process.env.CI !== "true" && toolchain.moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(toolchain.moduleRoot))
|
|
@@ -32659,7 +32677,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
32659
32677
|
clangModules.set(import_node_path48.default.resolve(binary.dir, binary.publicHeaders), binary.target);
|
|
32660
32678
|
}
|
|
32661
32679
|
const frameworkBinaries = binaries.filter(
|
|
32662
|
-
(binary) => binary.reached && binary.publicHeaders === void 0 && binary.placeholder === void 0
|
|
32680
|
+
(binary) => binary.reached && binary.publicHeaders === void 0 && binary.placeholder === void 0 && swiftBinaryOnDisk(binary)
|
|
32663
32681
|
);
|
|
32664
32682
|
const declaredFrameworks = moduleRoot && frameworkBinaries.length > 0 ? {
|
|
32665
32683
|
moduleRoot,
|
|
@@ -33731,7 +33749,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
33731
33749
|
return [...binaries];
|
|
33732
33750
|
const staged = remoteSwiftCheckouts(app.rootDir);
|
|
33733
33751
|
if (!binaries.some(
|
|
33734
|
-
(binary) => binary.publicHeaders === void 0 && binary.placeholder === void 0 && binaryHeaderSearchPaths(binary, staged).headers.length === 1
|
|
33752
|
+
(binary) => binary.publicHeaders === void 0 && binary.placeholder === void 0 && swiftBinaryOnDisk(binary) && binaryHeaderSearchPaths(binary, staged).headers.length === 1
|
|
33735
33753
|
))
|
|
33736
33754
|
return [...binaries];
|
|
33737
33755
|
const hash = (0, import_node_crypto26.createHash)("sha256");
|
|
@@ -33780,7 +33798,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
33780
33798
|
});
|
|
33781
33799
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
33782
33800
|
const search = binaries.map((binary) => {
|
|
33783
|
-
if (binary.publicHeaders !== void 0 || binary.placeholder !== void 0)
|
|
33801
|
+
if (binary.publicHeaders !== void 0 || binary.placeholder !== void 0 || !swiftBinaryOnDisk(binary))
|
|
33784
33802
|
return null;
|
|
33785
33803
|
const headers = binaryHeaderSearchPaths(binary, checkouts).headers;
|
|
33786
33804
|
if (headers.length !== 1) return null;
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (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;
|
|
@@ -203,7 +203,7 @@ function isValidRuntimeVersion(value) {
|
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
// runtime-companion.json
|
|
206
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
206
|
+
var runtime_companion_default = { abi: 1, sha256: "127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43", file: "node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs" };
|
|
207
207
|
|
|
208
208
|
// src/answeredNativePackages.ts
|
|
209
209
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1964 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43","file":"node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs"}
|