peachsim 0.1.2270 → 0.1.2272
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/app-catalog.ts +13 -5
- package/cli/bridge-flow-runner.ts +1 -1
- package/cli/commands/control.ts +10 -1
- package/cli/commands/flow.ts +117 -23
- package/cli/commands/shell-url.ts +10 -2
- package/cli/commands/upload.ts +49 -39
- 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 +82 -76
- 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 +71 -68
- 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 -1
- package/dist-lib/host/bridge-host.cjs +77 -74
- package/dist-lib/host/fetch-proxy-handler.cjs +6 -6
- 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 +23 -17
- 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 +23 -17
- 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 +90 -81
- package/dist-lib/swift-compile.cjs +31 -14
- package/dist-lib/swift-compile.mjs +31 -14
- 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 +22 -11
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +33 -16
- package/dist-lib/vite.cjs +6 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -8
- package/dist-types/packages/peach-engine/src/engine/layout-engine.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +27 -0
- package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/screenshots/tokens.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/settings/device-rotation-bus.d.ts +23 -0
- package/dist-types/packages/peach-engine/src/settings/device-turn.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/settings/display-hold.d.ts +19 -0
- package/dist-types/packages/peach-engine/src/settings/duo-fold-effect.d.ts +26 -0
- package/dist-types/packages/peach-engine/src/settings/duo-fold.d.ts +13 -0
- package/dist-types/packages/peach-engine/src/settings/index.d.ts +20 -0
- package/dist-types/packages/peach-engine/src/settings/schema.d.ts +5 -0
- package/dist-types/packages/peach-engine/src/settings/store.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
- package/dist-types/packages/peach-globals/src/recordingBridgeContract.d.ts +12 -0
- package/dist-types/packages/peach-kit/src/capabilities.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/hosting-safe-area.d.ts +1 -0
- package/dist-types/packages/peach-kit/src/ui/popover-placement.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/nitro-adapter.lock.json +279 -279
- package/src/nitro-superset.lock.json +4 -4
- package/src/react-native-autolinking.ts +27 -12
- package/src/swift-distribution.lock.json +12 -11
- package/src/swift-toolchain.ts +24 -10
- package/src/swift-wasm-prune.ts +11 -2
- package/src/turbo-compile.ts +1 -1
- package/src/turbo-runtime.lock.json +22 -22
- package/src/turbo-source.ts +19 -37
- package/dist-types/packages/peach-engine/src/ios/constants.d.ts +0 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2272 | (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.2272 | (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.2272 | (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.2272 | (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.2272 | (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.2272 | (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.2272 | (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;
|
|
@@ -2475,7 +2475,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
2477
|
// runtime-companion.json
|
|
2478
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2478
|
+
var runtime_companion_default = { abi: 1, sha256: "afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c", file: "node/cli-afe6d94b406c8cfdc744686167ab73462564318da7eb7b51a437759af0e32f7c.cjs" };
|
|
2479
2479
|
|
|
2480
2480
|
// src/answeredNativePackages.ts
|
|
2481
2481
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2272 | (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.2272 | (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;
|
|
@@ -1866,7 +1866,7 @@ async function cliAdvertises(cli, args, token, appRoot, signal) {
|
|
|
1866
1866
|
const { stdout, stderr } = await run3("node", [cli, ...args], {
|
|
1867
1867
|
cwd: appRoot,
|
|
1868
1868
|
signal,
|
|
1869
|
-
timeout:
|
|
1869
|
+
timeout: CLI_TIMEOUT_MS,
|
|
1870
1870
|
maxBuffer: 1 * 1024 * 1024,
|
|
1871
1871
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" }
|
|
1872
1872
|
});
|
|
@@ -1909,7 +1909,7 @@ async function reactNativeAutolinkingConfig(appRoot, platform, signal) {
|
|
|
1909
1909
|
return autolinkerJson(
|
|
1910
1910
|
"expo-modules-autolinking react-native-config",
|
|
1911
1911
|
await run3("node", args, {
|
|
1912
|
-
timeout:
|
|
1912
|
+
timeout: CLI_TIMEOUT_MS,
|
|
1913
1913
|
maxBuffer: 8 * 1024 * 1024,
|
|
1914
1914
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1" },
|
|
1915
1915
|
// expo configuration resolves its project from cwd.
|
|
@@ -1932,25 +1932,30 @@ async function reactNativeAutolinkingConfig(appRoot, platform, signal) {
|
|
|
1932
1932
|
);
|
|
1933
1933
|
if (bin === void 0) throw new Error(`${cliManifest} declares no CLI bin`);
|
|
1934
1934
|
const cliPath = import_node_path9.default.join(import_node_path9.default.dirname(cliManifest), bin);
|
|
1935
|
-
const
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1935
|
+
const configManifest = JSON.parse(
|
|
1936
|
+
import_node_fs10.default.readFileSync(
|
|
1937
|
+
(0, import_node_module.createRequire)(cliManifest).resolve(
|
|
1938
|
+
"@react-native-community/cli-config/package.json"
|
|
1939
|
+
),
|
|
1940
|
+
"utf8"
|
|
1941
|
+
)
|
|
1942
|
+
);
|
|
1943
|
+
const configVersion = isRecord(configManifest) && typeof configManifest.version === "string" ? /^(\d+)\.\d+\.\d+(?:-alpha\.(\d+))?/.exec(configManifest.version) : null;
|
|
1944
|
+
if (!configVersion) throw new Error(`${cliManifest} resolves no cli-config version`);
|
|
1945
|
+
const configMajor = Number(configVersion[1]);
|
|
1946
|
+
const configArgs = configMajor > 14 || configMajor === 14 && (configVersion[2] === void 0 || Number(configVersion[2]) >= 6) ? ["config", "--platform", platform] : ["config"];
|
|
1942
1947
|
return autolinkerJson(
|
|
1943
1948
|
`react-native ${configArgs.join(" ")}`,
|
|
1944
1949
|
await run3("node", [cliPath, ...configArgs], {
|
|
1945
1950
|
cwd: appRoot,
|
|
1946
1951
|
signal,
|
|
1947
|
-
timeout:
|
|
1952
|
+
timeout: CLI_TIMEOUT_MS,
|
|
1948
1953
|
maxBuffer: 16 * 1024 * 1024,
|
|
1949
1954
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: "1", NO_COLOR: "1" }
|
|
1950
1955
|
})
|
|
1951
1956
|
);
|
|
1952
1957
|
}
|
|
1953
|
-
var import_node_child_process6, import_node_fs10, import_node_module, import_node_path9, import_node_util3, run3;
|
|
1958
|
+
var import_node_child_process6, import_node_fs10, import_node_module, import_node_path9, import_node_util3, run3, CLI_TIMEOUT_MS;
|
|
1954
1959
|
var init_react_native_autolinking = __esm({
|
|
1955
1960
|
"src/react-native-autolinking.ts"() {
|
|
1956
1961
|
"use strict";
|
|
@@ -1962,6 +1967,7 @@ var init_react_native_autolinking = __esm({
|
|
|
1962
1967
|
init_forked_script_contract();
|
|
1963
1968
|
init_is_record();
|
|
1964
1969
|
run3 = (0, import_node_util3.promisify)(import_node_child_process6.execFile);
|
|
1970
|
+
CLI_TIMEOUT_MS = 12e4;
|
|
1965
1971
|
}
|
|
1966
1972
|
});
|
|
1967
1973
|
|
|
@@ -5101,7 +5107,7 @@ var swiftCoverageProvenance;
|
|
|
5101
5107
|
var init_provenance = __esm({
|
|
5102
5108
|
"src/swift-coverage/provenance.ts"() {
|
|
5103
5109
|
"use strict";
|
|
5104
|
-
swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","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":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"
|
|
5110
|
+
swiftCoverageProvenance = true ? JSON.parse('{"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":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","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":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"f9751713ef9572a900ea7108b4c88fbe3f3d012ad82e58863007b2a3ffce4b68","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"d49af77a690cff481b38333b5f63f6600123b1bb57f410b0adb298b010d2047b","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
5105
5111
|
}
|
|
5106
5112
|
});
|
|
5107
5113
|
|
|
@@ -8157,16 +8163,20 @@ ${swiftInstallSteps(release, sdk2)}`
|
|
|
8157
8163
|
);
|
|
8158
8164
|
}
|
|
8159
8165
|
const swift = import_node_path25.default.join(bin, "swift");
|
|
8160
|
-
const
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8164
|
-
|
|
8165
|
-
|
|
8166
|
-
|
|
8167
|
-
|
|
8166
|
+
const listed = [swift, sdk2.wasmSdkId, ...swiftSdkOptions()].join("\0");
|
|
8167
|
+
if (!listedSdks.has(listed)) {
|
|
8168
|
+
const sdks = (0, import_node_child_process13.execFileSync)(swift, ["sdk", "list", ...swiftSdkOptions()], {
|
|
8169
|
+
encoding: "utf8",
|
|
8170
|
+
env: swiftEnvironment(),
|
|
8171
|
+
stdio: ["ignore", "pipe", "pipe"]
|
|
8172
|
+
});
|
|
8173
|
+
if (!sdks.split("\n").some((line) => line.trim() === sdk2.wasmSdkId)) {
|
|
8174
|
+
throw new Error(
|
|
8175
|
+
`peach compiles Swift with the ${sdk2.wasmSdkId} SDK, which ${swift} does not have.
|
|
8168
8176
|
${swiftSdkInstallStep(release, sdk2)}`
|
|
8169
|
-
|
|
8177
|
+
);
|
|
8178
|
+
}
|
|
8179
|
+
listedSdks.add(listed);
|
|
8170
8180
|
}
|
|
8171
8181
|
try {
|
|
8172
8182
|
verifySwiftSdk(swift, sdk2);
|
|
@@ -8182,6 +8192,9 @@ function validateSwiftSdkIdentity(sdk2) {
|
|
|
8182
8192
|
throw new Error("invalid Swift SDK identity or checksum");
|
|
8183
8193
|
}
|
|
8184
8194
|
function swiftSdkBundle(swift, id, options) {
|
|
8195
|
+
const key2 = [swift, id, ...options].join("\0");
|
|
8196
|
+
const known = sdkBundles.get(key2);
|
|
8197
|
+
if (known && import_node_fs30.default.existsSync(known)) return known;
|
|
8185
8198
|
const configuration = (0, import_node_child_process13.execFileSync)(
|
|
8186
8199
|
swift,
|
|
8187
8200
|
["sdk", "configure", ...options, "--show-configuration", id, "wasm64-unknown-wasip1"],
|
|
@@ -8197,7 +8210,9 @@ function swiftSdkBundle(swift, id, options) {
|
|
|
8197
8210
|
throw new Error(`Swift SDK ${id} is outside an artifact bundle`);
|
|
8198
8211
|
bundle = parent;
|
|
8199
8212
|
}
|
|
8200
|
-
|
|
8213
|
+
const resolved = import_node_fs30.default.realpathSync(bundle);
|
|
8214
|
+
sdkBundles.set(key2, resolved);
|
|
8215
|
+
return resolved;
|
|
8201
8216
|
}
|
|
8202
8217
|
function swiftSdkPayloadChecksum(bundle) {
|
|
8203
8218
|
const hash = (0, import_node_crypto10.createHash)("sha256");
|
|
@@ -8512,7 +8527,7 @@ function swiftCompilerInstall(release) {
|
|
|
8512
8527
|
]
|
|
8513
8528
|
};
|
|
8514
8529
|
}
|
|
8515
|
-
var import_node_child_process13, import_node_crypto10, import_node_fs30, import_node_os5, import_node_path25, import_node_url3, import_node_util6, SWIFT_HOST_COMPILER_RELEASE, SWIFT_HOST_COMPILER_ID, compilerArchives, linuxRuntimeLibs, SWIFT_PRIVATE_DISTRIBUTION_ENV, SWIFT_AUTOLINK_LINKER, BUILDERS_ROOT_ENV, agentBuildersRoot, scratch, linuxLibraryPath, linuxHostSdkRoot, sdkFileHashes, verifiedCompilers;
|
|
8530
|
+
var import_node_child_process13, import_node_crypto10, import_node_fs30, import_node_os5, import_node_path25, import_node_url3, import_node_util6, SWIFT_HOST_COMPILER_RELEASE, SWIFT_HOST_COMPILER_ID, compilerArchives, linuxRuntimeLibs, SWIFT_PRIVATE_DISTRIBUTION_ENV, SWIFT_AUTOLINK_LINKER, BUILDERS_ROOT_ENV, agentBuildersRoot, scratch, linuxLibraryPath, linuxHostSdkRoot, listedSdks, sdkBundles, sdkFileHashes, verifiedCompilers;
|
|
8516
8531
|
var init_swift_toolchain = __esm({
|
|
8517
8532
|
"src/swift-toolchain.ts"() {
|
|
8518
8533
|
"use strict";
|
|
@@ -8792,6 +8807,8 @@ var init_swift_toolchain = __esm({
|
|
|
8792
8807
|
SWIFT_PRIVATE_DISTRIBUTION_ENV = "PEACH_SWIFT_PRIVATE_DISTRIBUTION";
|
|
8793
8808
|
SWIFT_AUTOLINK_LINKER = ".peach-wasm-ld";
|
|
8794
8809
|
BUILDERS_ROOT_ENV = "CONTRAST_BUILDERS_ROOT";
|
|
8810
|
+
listedSdks = /* @__PURE__ */ new Set();
|
|
8811
|
+
sdkBundles = /* @__PURE__ */ new Map();
|
|
8795
8812
|
sdkFileHashes = /* @__PURE__ */ new Map();
|
|
8796
8813
|
verifiedCompilers = /* @__PURE__ */ new Map();
|
|
8797
8814
|
}
|
|
@@ -13778,13 +13795,17 @@ function keepsSwiftUIReflection(file, undefinedSymbols) {
|
|
|
13778
13795
|
function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTargets = [], owner, link, resourceReferences = []) {
|
|
13779
13796
|
const rspPath = import_node_path31.default.join(directory2, ".peach-link.rsp");
|
|
13780
13797
|
if (!import_node_fs34.default.existsSync(rspPath)) return;
|
|
13798
|
+
const staticClangTarget = new RegExp(
|
|
13799
|
+
`^(?:${staticClangTargets.map((name3) => name3.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("|")})(?:(?:Native|Swift)Implementation_[0-9a-f]+)?$`
|
|
13800
|
+
);
|
|
13801
|
+
const isStaticClangTarget = (name3) => staticClangTargets.length > 0 && staticClangTarget.test(name3);
|
|
13781
13802
|
const origRsp = import_node_fs34.default.readFileSync(rspPath, "utf8");
|
|
13782
13803
|
const tokens2 = Array.from(
|
|
13783
13804
|
origRsp.matchAll(/"([^"]+)"|(\S+)/g),
|
|
13784
13805
|
(m) => m[1] ?? m[2]
|
|
13785
13806
|
).flatMap((token) => {
|
|
13786
13807
|
const target = /^lib(\w+)-[a-f0-9]{64}\.a$/.exec(import_node_path31.default.basename(token))?.[1];
|
|
13787
|
-
if (!target || !
|
|
13808
|
+
if (!target || !isStaticClangTarget(target) || import_node_path31.default.basename(import_node_path31.default.dirname(token)) !== ".peach-libraries")
|
|
13788
13809
|
return [token];
|
|
13789
13810
|
const objects = import_node_path31.default.join(directory2, ".peach-native-libraries", `${target}.build`);
|
|
13790
13811
|
import_node_fs34.default.mkdirSync(objects, { recursive: true });
|
|
@@ -13854,7 +13875,9 @@ function pruneSwiftWasmLink(directory2, toolchainBin, moduleRoot, staticClangTar
|
|
|
13854
13875
|
} else if (!inStartLib) {
|
|
13855
13876
|
if (t.endsWith("/swiftrt.o")) {
|
|
13856
13877
|
swiftrtOrigPath = t;
|
|
13857
|
-
} else if (!t.endsWith(".swift.o") &&
|
|
13878
|
+
} else if (!t.endsWith(".swift.o") && [...t.matchAll(/\/([^/]+)\.build\//g)].some(
|
|
13879
|
+
([, name3]) => name3 !== void 0 && isStaticClangTarget(name3)
|
|
13880
|
+
)) {
|
|
13858
13881
|
const obj = parseWasmObjectCached(t, false, false);
|
|
13859
13882
|
let definesObjCClassOrCategory = false;
|
|
13860
13883
|
for (let i = 0; i < obj.symKind.length; i++) {
|
|
@@ -25142,7 +25165,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
25142
25165
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
25143
25166
|
MULTI_MANIFEST_VERSION = 68;
|
|
25144
25167
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
25145
|
-
compilerSourceDigest = true ? "
|
|
25168
|
+
compilerSourceDigest = true ? "344d6e89c2ee7f5228ccf31a6be0c1366904d145c73cd31062c481e5410a4187" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
25146
25169
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
25147
25170
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
25148
25171
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -29277,7 +29300,7 @@ var init_swift_standin_digest = __esm({
|
|
|
29277
29300
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
29278
29301
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
29279
29302
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29280
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
29303
|
+
STANDIN_SOURCE_DIGEST = true ? "8b48aa843be8f7e9c5387ebe4a812705365646a07e391deb75a3911fda59d7bf" : standinSourceDigest();
|
|
29281
29304
|
}
|
|
29282
29305
|
});
|
|
29283
29306
|
|
|
@@ -42859,7 +42882,10 @@ async function collectTurboSources(options) {
|
|
|
42859
42882
|
const fileFlags = new Map(
|
|
42860
42883
|
installedTargets.flatMap(
|
|
42861
42884
|
(target2) => Object.entries(target2.objc?.fileFlags ?? {}).map(
|
|
42862
|
-
([file, flags]) => [
|
|
42885
|
+
([file, flags]) => [
|
|
42886
|
+
import_node_fs83.default.realpathSync(file),
|
|
42887
|
+
{ flags, prefixHeader: target2.objc?.prefixHeader ?? null }
|
|
42888
|
+
]
|
|
42863
42889
|
)
|
|
42864
42890
|
)
|
|
42865
42891
|
);
|
|
@@ -42873,8 +42899,13 @@ async function collectTurboSources(options) {
|
|
|
42873
42899
|
(compiled ? compiledSources : textualSources).add(key2);
|
|
42874
42900
|
if (Object.hasOwn(result.files, key2)) return key2;
|
|
42875
42901
|
const disk = import_node_path80.default.join(root, relative3);
|
|
42876
|
-
const
|
|
42877
|
-
if (flags
|
|
42902
|
+
const installed = compiled ? fileFlags.get(import_node_fs83.default.realpathSync(disk)) : void 0;
|
|
42903
|
+
if (installed?.flags.length) {
|
|
42904
|
+
let prefixHeader = null;
|
|
42905
|
+
if (installed.prefixHeader) {
|
|
42906
|
+
prefixHeader = `${targetPath(targetName)}/${import_node_path80.default.basename(installed.prefixHeader)}`;
|
|
42907
|
+
add(prefixHeader, import_node_fs83.default.readFileSync(installed.prefixHeader, "utf8"));
|
|
42908
|
+
}
|
|
42878
42909
|
result.nativeTargets ??= [];
|
|
42879
42910
|
let native = result.nativeTargets.find(({ name: name3 }) => name3 === targetName);
|
|
42880
42911
|
if (!native) {
|
|
@@ -42885,7 +42916,7 @@ async function collectTurboSources(options) {
|
|
|
42885
42916
|
publicHeaders: [],
|
|
42886
42917
|
flattensPublicHeaders: false,
|
|
42887
42918
|
bridgingHeader: null,
|
|
42888
|
-
prefixHeader
|
|
42919
|
+
prefixHeader,
|
|
42889
42920
|
headerSearchPaths: [
|
|
42890
42921
|
`${targetPath(targetName)}/include`,
|
|
42891
42922
|
`${targetPath(TURBO_CORE_TARGET)}/include`
|
|
@@ -42902,7 +42933,7 @@ async function collectTurboSources(options) {
|
|
|
42902
42933
|
};
|
|
42903
42934
|
result.nativeTargets.push(native);
|
|
42904
42935
|
}
|
|
42905
|
-
native.fileFlags[key2] = flags;
|
|
42936
|
+
native.fileFlags[key2] = installed.flags;
|
|
42906
42937
|
native.sourceDirectories[key2] = import_node_path80.default.posix.dirname(key2);
|
|
42907
42938
|
}
|
|
42908
42939
|
const bytes = readPackageFile(root, disk, Infinity);
|
|
@@ -44103,38 +44134,6 @@ void dispatchToJSThread(dispatch_block_t block) {
|
|
|
44103
44134
|
}
|
|
44104
44135
|
} // namespace
|
|
44105
44136
|
|
|
44106
|
-
static CGFloat peachScreenBrightness = 0.5;
|
|
44107
|
-
|
|
44108
|
-
@implementation UIScreen (PeachTurboRuntime)
|
|
44109
|
-
+ (UIScreen *)mainScreen {
|
|
44110
|
-
static UIScreen *screen = nil;
|
|
44111
|
-
if (!screen) screen = [[UIScreen alloc] init];
|
|
44112
|
-
return screen;
|
|
44113
|
-
}
|
|
44114
|
-
- (CGFloat)brightness {
|
|
44115
|
-
return peachScreenBrightness;
|
|
44116
|
-
}
|
|
44117
|
-
- (void)setBrightness:(CGFloat)value {
|
|
44118
|
-
peachScreenBrightness = value;
|
|
44119
|
-
}
|
|
44120
|
-
@end
|
|
44121
|
-
|
|
44122
|
-
static BOOL peachIdleTimerDisabled = NO;
|
|
44123
|
-
|
|
44124
|
-
@implementation UIApplication (PeachTurboRuntime)
|
|
44125
|
-
+ (UIApplication *)sharedApplication {
|
|
44126
|
-
static UIApplication *app = nil;
|
|
44127
|
-
if (!app) app = [[UIApplication alloc] init];
|
|
44128
|
-
return app;
|
|
44129
|
-
}
|
|
44130
|
-
- (BOOL)isIdleTimerDisabled {
|
|
44131
|
-
return peachIdleTimerDisabled;
|
|
44132
|
-
}
|
|
44133
|
-
- (void)setIdleTimerDisabled:(BOOL)disabled {
|
|
44134
|
-
peachIdleTimerDisabled = disabled;
|
|
44135
|
-
}
|
|
44136
|
-
@end
|
|
44137
|
-
|
|
44138
44137
|
// React Native's own modules register before any provider's, and RCTBridge.mm
|
|
44139
44138
|
// creates the registry's queue in the first RCTRegisterModule. the engine
|
|
44140
44139
|
// supplies those modules, so a process whose providers register none (codegen
|
|
@@ -44251,6 +44250,9 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
|
|
|
44251
44250
|
|
|
44252
44251
|
@end
|
|
44253
44252
|
|
|
44253
|
+
// UIKitCore: the key window and root view controller an app delegate makes at launch
|
|
44254
|
+
extern "C" void PeachLaunchReactNativeWindow(void);
|
|
44255
|
+
|
|
44254
44256
|
extern "C" void peachTurboInitialize() {
|
|
44255
44257
|
objc_create_block_classes_as_subclasses_of([NSObject class]);
|
|
44256
44258
|
if (Class blockClass = NSClassFromString(@"_NSBlock")) {
|
|
@@ -44264,6 +44266,7 @@ extern "C" void peachTurboInitialize() {
|
|
|
44264
44266
|
static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
|
|
44265
44267
|
*reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
|
|
44266
44268
|
}
|
|
44269
|
+
PeachLaunchReactNativeWindow();
|
|
44267
44270
|
auto& runtime = peach::jsi_runtime::create(
|
|
44268
44271
|
[] { invoker->drain(); },
|
|
44269
44272
|
[] {
|
|
@@ -44570,7 +44573,7 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
|
|
|
44570
44573
|
files2[file] ??= source;
|
|
44571
44574
|
}
|
|
44572
44575
|
const installedCodegen = (dependencies?.nativeTargets ?? []).flatMap(
|
|
44573
|
-
(native) => Object.keys(native.sourceDirectories).filter(
|
|
44576
|
+
(native) => Object.keys(native.sourceDirectories).filter(isSwiftNativeTranslationUnit)
|
|
44574
44577
|
);
|
|
44575
44578
|
for (const copy of Object.keys(files2)) {
|
|
44576
44579
|
const tail = /\/upstream\/ReactCodegen\/(.+)$/.exec(copy)?.[1];
|
|
@@ -44957,7 +44960,7 @@ var init_react_native_core = __esm({
|
|
|
44957
44960
|
init_swift_distribution();
|
|
44958
44961
|
init_swift_package();
|
|
44959
44962
|
init_swiftContract();
|
|
44960
|
-
recipe = true ? "
|
|
44963
|
+
recipe = true ? "95c43b6522d2611bfb11c1f6e191409cf1e5dd9af931c679be03191dc600d01c" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
44961
44964
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
44962
44965
|
building = /* @__PURE__ */ new Map();
|
|
44963
44966
|
}
|
|
@@ -50335,7 +50338,7 @@ init_swift_native_pin();
|
|
|
50335
50338
|
init_xcode_project();
|
|
50336
50339
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
50337
50340
|
function expoNativeCompilerDigestValue() {
|
|
50338
|
-
return true ? "
|
|
50341
|
+
return true ? "31dba38fbc84ff0a92d17fb4618fdb89ab93d5e37416258c8127ca505fd91d81" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
50339
50342
|
}
|
|
50340
50343
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
50341
50344
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2272 | (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.2272 | (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;
|