peachsim 0.1.2191 → 0.1.2192
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +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 +67 -55
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +62 -50
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -6
- package/dist-lib/host/bridge-host.cjs +67 -55
- 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 +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 +67 -56
- package/dist-lib/swift-compile.cjs +8 -17
- package/dist-lib/swift-compile.mjs +8 -17
- 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 +41 -23
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +44 -32
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.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/scroll-mirror.d.ts +1 -0
- package/package.json +1 -1
- package/src/expo-native-workspace.ts +21 -20
- package/src/home-paths.ts +0 -5
- package/src/nitro-adapter.lock.json +265 -265
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +17 -11
- package/src/swift-distribution.ts +3 -3
- package/src/swift-toolchain.ts +40 -30
- package/src/swift-wasm-prune.ts +3 -2
- package/src/turbo-runtime.lock.json +21 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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.2192 | (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.2192 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "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": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "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": "bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1", "swift-coverage/source.ts": "c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee", "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": "338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "25505683ca29a0b380413bf2a5026d4967eacf886e35bc11ece6e15317e5bb02", "home-paths.ts": "673205c02bbc8e342a9b43585a3a1b5f6b64eb5fb474e1a8647e9d2c2e62e67d", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "86f79e98323ec065e0e5195324c75ca608f490efbd95dcc25c53d5aa0b9aecc9", "xcode-target-members.ts": "ad7589132bffab265e8a10b64e24484fe88b4a2b1cc0ee19a97f151a002eca77", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -1739,9 +1739,6 @@ function rnxHomeDir() {
|
|
|
1739
1739
|
const override = process.env[PEACH_HOME_ENV];
|
|
1740
1740
|
return override && override.length > 0 ? import_node_path2.default.resolve(override) : ambientHomeDir();
|
|
1741
1741
|
}
|
|
1742
|
-
function peachSwiftSdksDir() {
|
|
1743
|
-
return process.env.PEACH_SWIFT_SDKS_PATH ?? import_node_path2.default.join(rnxHomeDir(), "swift", "sdks");
|
|
1744
|
-
}
|
|
1745
1742
|
function runtimesDir() {
|
|
1746
1743
|
return import_node_path2.default.join(rnxHomeDir(), "runtimes");
|
|
1747
1744
|
}
|
|
@@ -10954,18 +10951,7 @@ function sourceSwiftCheckout() {
|
|
|
10954
10951
|
return import_node_path24.default.resolve(peachsimPackageRoot(), "../sootsim-swift");
|
|
10955
10952
|
}
|
|
10956
10953
|
function swiftSdkOptions() {
|
|
10957
|
-
|
|
10958
|
-
if (directory) return ["--swift-sdks-path", import_node_path24.default.resolve(directory)];
|
|
10959
|
-
if (scratch && process.platform === "linux") {
|
|
10960
|
-
const config = process.env.XDG_CONFIG_HOME;
|
|
10961
|
-
if (config !== void 0 && !import_node_path24.default.isAbsolute(config))
|
|
10962
|
-
throw new Error("XDG_CONFIG_HOME must be an absolute path");
|
|
10963
|
-
return [
|
|
10964
|
-
"--swift-sdks-path",
|
|
10965
|
-
config === void 0 ? import_node_path24.default.join(import_node_os5.default.userInfo().homedir, ".swiftpm", "swift-sdks") : import_node_path24.default.join(config, "swiftpm", "swift-sdks")
|
|
10966
|
-
];
|
|
10967
|
-
}
|
|
10968
|
-
return [];
|
|
10954
|
+
return ["--swift-sdks-path", import_node_path24.default.resolve(peachSwiftSdksDir())];
|
|
10969
10955
|
}
|
|
10970
10956
|
var SWIFT_HOST_COMPILER_RELEASE = "swift-6.4.0-RELEASE-custom-81b2c791c27276bf";
|
|
10971
10957
|
var SWIFT_HOST_COMPILER_ID = "81b2c791c27276bf";
|
|
@@ -11254,9 +11240,22 @@ function ensureSwiftLinuxRuntime(release) {
|
|
|
11254
11240
|
`);
|
|
11255
11241
|
const download2 = `${plan.dest}.${process.pid}.tmp`;
|
|
11256
11242
|
try {
|
|
11257
|
-
(0, import_node_child_process13.execFileSync)(
|
|
11258
|
-
|
|
11259
|
-
|
|
11243
|
+
(0, import_node_child_process13.execFileSync)(
|
|
11244
|
+
"curl",
|
|
11245
|
+
[
|
|
11246
|
+
"-fsSL",
|
|
11247
|
+
"--show-error",
|
|
11248
|
+
"--retry",
|
|
11249
|
+
"3",
|
|
11250
|
+
"--retry-all-errors",
|
|
11251
|
+
plan.url,
|
|
11252
|
+
"-o",
|
|
11253
|
+
download2
|
|
11254
|
+
],
|
|
11255
|
+
{
|
|
11256
|
+
stdio: "inherit"
|
|
11257
|
+
}
|
|
11258
|
+
);
|
|
11260
11259
|
if (swiftFileChecksum(download2) !== plan.checksum)
|
|
11261
11260
|
throw new Error("declared Linux runtime checksum mismatch");
|
|
11262
11261
|
import_node_fs29.default.renameSync(download2, plan.dest);
|
|
@@ -11357,6 +11356,9 @@ function peachHome() {
|
|
|
11357
11356
|
const override = process.env.PEACH_HOME;
|
|
11358
11357
|
return override ? import_node_path24.default.resolve(override) : import_node_path24.default.join(import_node_os5.default.homedir(), ".peach");
|
|
11359
11358
|
}
|
|
11359
|
+
function peachSwiftSdksDir() {
|
|
11360
|
+
return process.env.PEACH_SWIFT_SDKS_PATH ?? import_node_path24.default.join(peachHome(), "swift", "sdks");
|
|
11361
|
+
}
|
|
11360
11362
|
var BUILDERS_ROOT_ENV = "CONTRAST_BUILDERS_ROOT";
|
|
11361
11363
|
var agentBuildersRoot;
|
|
11362
11364
|
function agentSharedCacheRoot() {
|
|
@@ -11608,8 +11610,7 @@ function installSwiftSdkArchive(swift, sdk, archive) {
|
|
|
11608
11610
|
store
|
|
11609
11611
|
]);
|
|
11610
11612
|
const expected = swiftSdkPayloadChecksum(stagedBundle);
|
|
11611
|
-
const
|
|
11612
|
-
const locks = directory ? import_node_path24.default.join(import_node_path24.default.resolve(directory), ".peach-locks") : import_node_path24.default.join(import_node_os5.default.homedir(), ".swiftpm", "builder-locks");
|
|
11613
|
+
const locks = import_node_path24.default.join(import_node_path24.default.resolve(peachSwiftSdksDir()), ".peach-locks");
|
|
11613
11614
|
import_node_fs29.default.mkdirSync(locks, { recursive: true });
|
|
11614
11615
|
(0, import_node_child_process13.execFileSync)(
|
|
11615
11616
|
"perl",
|
|
@@ -11671,9 +11672,22 @@ function installSwiftWasmSdk(release, sdk) {
|
|
|
11671
11672
|
if (sdk.wasmSdkUrl.startsWith("file:"))
|
|
11672
11673
|
import_node_fs29.default.copyFileSync((0, import_node_url3.fileURLToPath)(sdk.wasmSdkUrl), archive);
|
|
11673
11674
|
else
|
|
11674
|
-
(0, import_node_child_process13.execFileSync)(
|
|
11675
|
-
|
|
11676
|
-
|
|
11675
|
+
(0, import_node_child_process13.execFileSync)(
|
|
11676
|
+
"curl",
|
|
11677
|
+
[
|
|
11678
|
+
"-fsSL",
|
|
11679
|
+
"--show-error",
|
|
11680
|
+
"--retry",
|
|
11681
|
+
"3",
|
|
11682
|
+
"--retry-all-errors",
|
|
11683
|
+
sdk.wasmSdkUrl,
|
|
11684
|
+
"-o",
|
|
11685
|
+
archive
|
|
11686
|
+
],
|
|
11687
|
+
{
|
|
11688
|
+
stdio: "inherit"
|
|
11689
|
+
}
|
|
11690
|
+
);
|
|
11677
11691
|
installSwiftSdkArchive(swift, sdk, archive);
|
|
11678
11692
|
swiftToolchain(release, sdk);
|
|
11679
11693
|
} finally {
|
|
@@ -11782,8 +11796,7 @@ function swiftSdkInstallStep(release, wasmSdk) {
|
|
|
11782
11796
|
function swiftSdkInstallCommand(release, wasmSdk) {
|
|
11783
11797
|
const { wasmSdkId, wasmSdkUrl, wasmSdkChecksum } = wasmSdk;
|
|
11784
11798
|
const program = `import { installSwiftWasmSdk } from "peachsim/swift-toolchain"; installSwiftWasmSdk(${JSON.stringify(release)}, ${JSON.stringify({ wasmSdkId, wasmSdkUrl, wasmSdkChecksum })})`;
|
|
11785
|
-
const
|
|
11786
|
-
const environment = directory ? `PEACH_SWIFT_SDKS_PATH='${import_node_path24.default.resolve(directory).replaceAll("'", "'\\''")}' ` : "";
|
|
11799
|
+
const environment = `PEACH_SWIFT_SDKS_PATH='${import_node_path24.default.resolve(peachSwiftSdksDir()).replaceAll("'", "'\\''")}' `;
|
|
11787
11800
|
return `${environment}node --input-type=module -e '${program.replaceAll("'", "'\\''")}'`;
|
|
11788
11801
|
}
|
|
11789
11802
|
function swiftInstallSteps(release, wasmSdk) {
|
|
@@ -16709,7 +16722,7 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
|
|
|
16709
16722
|
throw new Error(`swift-wasm-prune: the build owns its sdk directory ${sdkWasiDir}`);
|
|
16710
16723
|
const sdkObjsDir = ensureUnpackedSdkObjects(sdkWasiDir);
|
|
16711
16724
|
const distDir = import_node_path30.default.join(moduleRoot, "lib");
|
|
16712
|
-
const dropsReflection = (obj, name3) => !!name3 && !/^(SwiftUI|Combine)-/.test(import_node_path30.default.basename(obj.file)) && (name3.startsWith("l__swift5_reflection_descriptor") || name3.startsWith("$s") && (name3.endsWith("CMF") || name3.endsWith("VMF")) && !(!obj.file.startsWith(distDir) && obj.file.endsWith(".swift.o")));
|
|
16725
|
+
const dropsReflection = (obj, name3) => !!name3 && !/^(SwiftUI|Combine|_[A-Za-z0-9]+_SwiftUI)-/.test(import_node_path30.default.basename(obj.file)) && (name3.startsWith("l__swift5_reflection_descriptor") || name3.startsWith("$s") && (name3.endsWith("CMF") || name3.endsWith("VMF")) && !(!obj.file.startsWith(distDir) && obj.file.endsWith(".swift.o")));
|
|
16713
16726
|
const prunedObjsDir = import_node_path30.default.join(directory, ".peach-pruned-objs");
|
|
16714
16727
|
import_node_fs33.default.rmSync(prunedObjsDir, { recursive: true, force: true });
|
|
16715
16728
|
import_node_fs33.default.mkdirSync(prunedObjsDir, { recursive: true });
|
|
@@ -23037,7 +23050,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
23037
23050
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
23038
23051
|
var MULTI_MANIFEST_VERSION = 68;
|
|
23039
23052
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
23040
|
-
var compilerSourceDigest = true ? "
|
|
23053
|
+
var compilerSourceDigest = true ? "e10a6af53455b2d2b6d58c2abd62834b0ca3a02445b4778b18f9fcbb90fa3747" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
23041
23054
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
23042
23055
|
const hash = (0, import_node_crypto19.createHash)("sha256");
|
|
23043
23056
|
hash.update(`swift-compile
|
|
@@ -27591,7 +27604,6 @@ async function swiftDistributionRoot(signal) {
|
|
|
27591
27604
|
}
|
|
27592
27605
|
}
|
|
27593
27606
|
async function installSwiftToolchain(release, sdk, signal, compilerOnly = false) {
|
|
27594
|
-
process.env.PEACH_SWIFT_SDKS_PATH = peachSwiftSdksDir();
|
|
27595
27607
|
const root = import_node_path46.default.resolve(swiftToolchainBin(release), "../..");
|
|
27596
27608
|
const owned = process.platform === "darwin" ? import_node_path46.default.join(import_node_os12.default.homedir(), "Library/Developer/Toolchains", `${release}.xctoolchain`) : import_node_path46.default.join(rnxHomeDir(), "swift", "toolchains", release);
|
|
27597
27609
|
const selectedCompiler = process.platform === "darwin" && import_node_fs49.default.existsSync(import_node_path46.default.join(root, "usr/bin/swift"));
|
|
@@ -27634,7 +27646,7 @@ then run the command again; it installs the SDK.`,
|
|
|
27634
27646
|
const ready = swiftToolchainReady(release, sdk);
|
|
27635
27647
|
if (ready) return ready;
|
|
27636
27648
|
signal?.throwIfAborted();
|
|
27637
|
-
const directory =
|
|
27649
|
+
const directory = peachSwiftSdksDir();
|
|
27638
27650
|
process.stderr.write(`peach: installing Swift SDK ${sdk.wasmSdkId} to ${directory}\u2026
|
|
27639
27651
|
`);
|
|
27640
27652
|
try {
|
|
@@ -31420,30 +31432,22 @@ async function copyInstalledWorkspace(root, destination, excluded) {
|
|
|
31420
31432
|
};
|
|
31421
31433
|
await Promise.all(Array.from({ length: 8 }, clone));
|
|
31422
31434
|
}
|
|
31423
|
-
function
|
|
31424
|
-
const listed = (0, import_node_child_process32.spawnSync)("git", ["ls-files", "-z"], {
|
|
31435
|
+
function trackedSourceEntries(root, work) {
|
|
31436
|
+
const listed = (0, import_node_child_process32.spawnSync)("git", ["ls-files", "--stage", "-z"], {
|
|
31425
31437
|
cwd: root,
|
|
31426
31438
|
env: { ...process.env, ...isolatedGitEnv },
|
|
31427
31439
|
maxBuffer: 256 * 1024 * 1024
|
|
31428
31440
|
});
|
|
31429
31441
|
if (listed.status !== 0) return [];
|
|
31430
|
-
return listed.stdout.toString("utf8").split("\0").filter((
|
|
31442
|
+
return listed.stdout.toString("utf8").split("\0").filter((entry) => {
|
|
31443
|
+
const tab = entry.indexOf(" ");
|
|
31444
|
+
return tab > 0 && import_node_fs57.default.existsSync(import_node_path55.default.join(work, entry.slice(tab + 1)));
|
|
31445
|
+
});
|
|
31431
31446
|
}
|
|
31432
31447
|
function initializeWorkspaceGit(root, work) {
|
|
31433
31448
|
requireNativeGit();
|
|
31434
|
-
|
|
31435
|
-
|
|
31436
|
-
env: { ...process.env, ...isolatedGitEnv },
|
|
31437
|
-
timeout: 6e4
|
|
31438
|
-
});
|
|
31439
|
-
const tracked = trackedSourceFiles(root, work);
|
|
31440
|
-
if (tracked.length > 0)
|
|
31441
|
-
(0, import_node_child_process32.execFileSync)("git", ["update-index", "--add", "-z", "--stdin"], {
|
|
31442
|
-
cwd: work,
|
|
31443
|
-
env: { ...process.env, ...isolatedGitEnv },
|
|
31444
|
-
input: tracked.join("\0"),
|
|
31445
|
-
timeout: 12e4
|
|
31446
|
-
});
|
|
31449
|
+
const env = { ...process.env, ...isolatedGitEnv };
|
|
31450
|
+
(0, import_node_child_process32.execFileSync)("git", ["init", "--quiet"], { cwd: work, env, timeout: 6e4 });
|
|
31447
31451
|
(0, import_node_child_process32.execFileSync)(
|
|
31448
31452
|
"git",
|
|
31449
31453
|
[
|
|
@@ -31460,8 +31464,16 @@ function initializeWorkspaceGit(root, work) {
|
|
|
31460
31464
|
"-m",
|
|
31461
31465
|
"prepared workspace"
|
|
31462
31466
|
],
|
|
31463
|
-
{ cwd: work, env
|
|
31467
|
+
{ cwd: work, env, timeout: 6e4 }
|
|
31464
31468
|
);
|
|
31469
|
+
const tracked = trackedSourceEntries(root, work);
|
|
31470
|
+
if (tracked.length > 0)
|
|
31471
|
+
(0, import_node_child_process32.execFileSync)("git", ["update-index", "-z", "--index-info"], {
|
|
31472
|
+
cwd: work,
|
|
31473
|
+
env,
|
|
31474
|
+
input: tracked.join("\0"),
|
|
31475
|
+
timeout: 6e4
|
|
31476
|
+
});
|
|
31465
31477
|
}
|
|
31466
31478
|
async function prepareWorkspace(app, stage, key2, podsEnvironment) {
|
|
31467
31479
|
if (process.platform !== "darwin" && (stage === "workspace" || nativeWorkspaceAvailable())) {
|
|
@@ -32198,7 +32210,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32198
32210
|
return hash.digest("hex");
|
|
32199
32211
|
}
|
|
32200
32212
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32201
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32213
|
+
var STANDIN_SOURCE_DIGEST = true ? "c387958abbb31d4eec2c99667ca99ccf6efb1328361a47445d476c520ae3c310" : standinSourceDigest();
|
|
32202
32214
|
|
|
32203
32215
|
// src/expoSwiftContract.ts
|
|
32204
32216
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -32469,7 +32481,7 @@ async function packageTreeDigest(root) {
|
|
|
32469
32481
|
// src/expo-native-prebuilt.ts
|
|
32470
32482
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
32471
32483
|
function expoNativeCompilerDigestValue() {
|
|
32472
|
-
return true ? "
|
|
32484
|
+
return true ? "ff30268837b899221bcfb2834bb226625e3edf1ebd4298fe4f1fe0c4c3e777e4" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
32473
32485
|
}
|
|
32474
32486
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
32475
32487
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2192 | (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;
|
|
@@ -68,7 +68,6 @@ __export(home_paths_exports, {
|
|
|
68
68
|
isDevWorkstation: () => isDevWorkstation,
|
|
69
69
|
isOnboardingComplete: () => isOnboardingComplete,
|
|
70
70
|
isSootsimDevCheckout: () => isSootsimDevCheckout,
|
|
71
|
-
peachSwiftSdksDir: () => peachSwiftSdksDir,
|
|
72
71
|
playwrightCoreDir: () => playwrightCoreDir,
|
|
73
72
|
profilesDir: () => profilesDir,
|
|
74
73
|
readActiveRuntime: () => readActiveRuntime,
|
|
@@ -116,9 +115,6 @@ function rnxHomeDir() {
|
|
|
116
115
|
const override = process.env[PEACH_HOME_ENV];
|
|
117
116
|
return override && override.length > 0 ? import_node_path.default.resolve(override) : ambientHomeDir();
|
|
118
117
|
}
|
|
119
|
-
function peachSwiftSdksDir() {
|
|
120
|
-
return process.env.PEACH_SWIFT_SDKS_PATH ?? import_node_path.default.join(rnxHomeDir(), "swift", "sdks");
|
|
121
|
-
}
|
|
122
118
|
function isSootsimDevCheckout() {
|
|
123
119
|
if (process.env.SOOTSIM_FORCE_DAEMON_INSTALL === "1") return false;
|
|
124
120
|
const env = process.env.SOOTSIM_DEV;
|
|
@@ -663,7 +659,6 @@ function removeDevBridgeLockfile(owner) {
|
|
|
663
659
|
isDevWorkstation,
|
|
664
660
|
isOnboardingComplete,
|
|
665
661
|
isSootsimDevCheckout,
|
|
666
|
-
peachSwiftSdksDir,
|
|
667
662
|
playwrightCoreDir,
|
|
668
663
|
profilesDir,
|
|
669
664
|
readActiveRuntime,
|