peachsim 0.1.2272 → 0.1.2274
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/bridge-flow-runner.ts +4 -1
- package/detox/gestures.ts +3 -1
- 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 -17
- 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 +3 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +68 -11
- 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 +74 -17
- 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 +6 -6
- 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 +6 -6
- 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 -18
- package/dist-lib/swift-compile.cjs +31 -2
- package/dist-lib/swift-compile.mjs +31 -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 +30 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +33 -4
- 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/cli-companion.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +0 -5
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-momentum-math.d.ts +3 -5
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +86 -37
- package/dist-types/packages/peach-engine/src/engine/scroll-range.d.ts +4 -1
- package/dist-types/packages/peach-engine/src/engine/scroll-velocity.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/text-first-baseline.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/engine/text-metric-policy.d.ts +45 -0
- package/dist-types/packages/peach-engine/src/platform/personality.d.ts +81 -0
- package/dist-types/packages/peach-engine/src/render-worker/canvaskit-webgpu.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/render-worker/live-frame-mirror.d.ts +9 -2
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-wire-protocol.d.ts +68 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-wire-server.d.ts +21 -0
- package/dist-types/packages/peach-engine/src/settings/schema.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/nitro-adapter.lock.json +237 -237
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +8 -8
- package/src/swift-toolchain.ts +37 -0
- package/src/turbo-runtime.lock.json +17 -17
- package/src/turbo-source.ts +32 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2274 | (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.2274 | (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.2274 | (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.2274 | (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.2274 | (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.2274 | (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.2274 | (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: "495d946b48ebe21480616cc63d9967bc511db950ab59c25e834fcda28eb4a17c", file: "node/cli-495d946b48ebe21480616cc63d9967bc511db950ab59c25e834fcda28eb4a17c.cjs" };
|
|
2479
2479
|
|
|
2480
2480
|
// src/answeredNativePackages.ts
|
|
2481
2481
|
var import_node_async_hooks = require("node:async_hooks");
|
|
@@ -7362,7 +7362,7 @@ async function dragScrollNode(page, node, pixels, direction, startPositionX, sta
|
|
|
7362
7362
|
let recognitionSootSimY = startSootSimY;
|
|
7363
7363
|
let endSootSimX = startSootSimX;
|
|
7364
7364
|
let endSootSimY = startSootSimY;
|
|
7365
|
-
const slop = getCliRuntime().
|
|
7365
|
+
const slop = getCliRuntime().platform_personality.platformPersonality(DETOX_PLATFORM).scroll.touchSlop(1);
|
|
7366
7366
|
const travel = pixels + slop;
|
|
7367
7367
|
switch (direction) {
|
|
7368
7368
|
case "down":
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2274 | (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.2274 | (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;
|
|
@@ -5107,7 +5107,7 @@ var swiftCoverageProvenance;
|
|
|
5107
5107
|
var init_provenance = __esm({
|
|
5108
5108
|
"src/swift-coverage/provenance.ts"() {
|
|
5109
5109
|
"use strict";
|
|
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":"
|
|
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":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","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, ".."));
|
|
5111
5111
|
}
|
|
5112
5112
|
});
|
|
5113
5113
|
|
|
@@ -8233,6 +8233,7 @@ function swiftSdkPayloadChecksum(bundle) {
|
|
|
8233
8233
|
if (cached2?.stamp !== stamp) {
|
|
8234
8234
|
cached2 = { stamp, checksum: swiftFileChecksum(file) };
|
|
8235
8235
|
sdkFileHashes.set(file, cached2);
|
|
8236
|
+
sdkFilesHashed++;
|
|
8236
8237
|
}
|
|
8237
8238
|
hash.update(
|
|
8238
8239
|
JSON.stringify([relative3, "file", Number(stat.mode & 0o111n), cached2.checksum]) + "\n"
|
|
@@ -8257,10 +8258,36 @@ function verifySwiftSdk(swift, sdk2) {
|
|
|
8257
8258
|
`Swift SDK ${sdk2.wasmSdkId} has no verified archive binding for ${sdk2.wasmSdkChecksum}. Hydrate it with installSwiftWasmSdk before compiling.`
|
|
8258
8259
|
);
|
|
8259
8260
|
const receipt = JSON.parse(import_node_fs30.default.readFileSync(file, "utf8"));
|
|
8261
|
+
const stamps = file.replace(/\.json$/, ".files.json");
|
|
8262
|
+
if (!loadedSdkHashFiles.has(stamps)) {
|
|
8263
|
+
loadedSdkHashFiles.add(stamps);
|
|
8264
|
+
const saved = import_node_fs30.default.existsSync(stamps) ? JSON.parse(import_node_fs30.default.readFileSync(stamps, "utf8")) : null;
|
|
8265
|
+
if (saved && typeof saved === "object") {
|
|
8266
|
+
for (const [entry, value] of Object.entries(saved))
|
|
8267
|
+
if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
|
|
8268
|
+
sdkFileHashes.set(entry, { stamp: value[0], checksum: value[1] });
|
|
8269
|
+
}
|
|
8270
|
+
}
|
|
8271
|
+
const hashedBefore = sdkFilesHashed;
|
|
8260
8272
|
if (!receipt || typeof receipt !== "object" || !("wasmSdkId" in receipt) || receipt.wasmSdkId !== sdk2.wasmSdkId || !("wasmSdkChecksum" in receipt) || receipt.wasmSdkChecksum !== sdk2.wasmSdkChecksum || !("payloadChecksum" in receipt) || receipt.payloadChecksum !== swiftSdkPayloadChecksum(bundle))
|
|
8261
8273
|
throw new Error(
|
|
8262
8274
|
`Swift SDK ${sdk2.wasmSdkId} installed payload differs from its verified archive ${sdk2.wasmSdkChecksum}`
|
|
8263
8275
|
);
|
|
8276
|
+
if (sdkFilesHashed === hashedBefore) return;
|
|
8277
|
+
const temporary = `${stamps}.${process.pid}.tmp`;
|
|
8278
|
+
try {
|
|
8279
|
+
import_node_fs30.default.writeFileSync(
|
|
8280
|
+
temporary,
|
|
8281
|
+
JSON.stringify(
|
|
8282
|
+
Object.fromEntries(
|
|
8283
|
+
[...sdkFileHashes].filter(([entry]) => entry.startsWith(bundle + import_node_path25.default.sep)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
|
|
8284
|
+
)
|
|
8285
|
+
)
|
|
8286
|
+
);
|
|
8287
|
+
import_node_fs30.default.renameSync(temporary, stamps);
|
|
8288
|
+
} finally {
|
|
8289
|
+
import_node_fs30.default.rmSync(temporary, { force: true });
|
|
8290
|
+
}
|
|
8264
8291
|
}
|
|
8265
8292
|
function installSwiftSdkArchive(swift, sdk2, archive) {
|
|
8266
8293
|
validateSwiftSdkIdentity(sdk2);
|
|
@@ -8527,7 +8554,7 @@ function swiftCompilerInstall(release) {
|
|
|
8527
8554
|
]
|
|
8528
8555
|
};
|
|
8529
8556
|
}
|
|
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;
|
|
8557
|
+
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, sdkFilesHashed, loadedSdkHashFiles, verifiedCompilers;
|
|
8531
8558
|
var init_swift_toolchain = __esm({
|
|
8532
8559
|
"src/swift-toolchain.ts"() {
|
|
8533
8560
|
"use strict";
|
|
@@ -8810,6 +8837,8 @@ var init_swift_toolchain = __esm({
|
|
|
8810
8837
|
listedSdks = /* @__PURE__ */ new Set();
|
|
8811
8838
|
sdkBundles = /* @__PURE__ */ new Map();
|
|
8812
8839
|
sdkFileHashes = /* @__PURE__ */ new Map();
|
|
8840
|
+
sdkFilesHashed = 0;
|
|
8841
|
+
loadedSdkHashFiles = /* @__PURE__ */ new Set();
|
|
8813
8842
|
verifiedCompilers = /* @__PURE__ */ new Map();
|
|
8814
8843
|
}
|
|
8815
8844
|
});
|
|
@@ -25165,7 +25194,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
25165
25194
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
25166
25195
|
MULTI_MANIFEST_VERSION = 68;
|
|
25167
25196
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
25168
|
-
compilerSourceDigest = true ? "
|
|
25197
|
+
compilerSourceDigest = true ? "e224c0014bb1a4c2827b71265a45046589da0583b0861ada1e1890b739732b96" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
25169
25198
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
25170
25199
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
25171
25200
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -29300,7 +29329,7 @@ var init_swift_standin_digest = __esm({
|
|
|
29300
29329
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
29301
29330
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
29302
29331
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
29303
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
29332
|
+
STANDIN_SOURCE_DIGEST = true ? "e50e15b51e04a8baf3bead1d63950c4e56b018ae4b82457dcd899c53ed0b974a" : standinSourceDigest();
|
|
29304
29333
|
}
|
|
29305
29334
|
});
|
|
29306
29335
|
|
|
@@ -44134,6 +44163,38 @@ void dispatchToJSThread(dispatch_block_t block) {
|
|
|
44134
44163
|
}
|
|
44135
44164
|
} // namespace
|
|
44136
44165
|
|
|
44166
|
+
static CGFloat peachScreenBrightness = 0.5;
|
|
44167
|
+
|
|
44168
|
+
@implementation UIScreen (PeachTurboRuntime)
|
|
44169
|
+
+ (UIScreen *)mainScreen {
|
|
44170
|
+
static UIScreen *screen = nil;
|
|
44171
|
+
if (!screen) screen = [[UIScreen alloc] init];
|
|
44172
|
+
return screen;
|
|
44173
|
+
}
|
|
44174
|
+
- (CGFloat)brightness {
|
|
44175
|
+
return peachScreenBrightness;
|
|
44176
|
+
}
|
|
44177
|
+
- (void)setBrightness:(CGFloat)value {
|
|
44178
|
+
peachScreenBrightness = value;
|
|
44179
|
+
}
|
|
44180
|
+
@end
|
|
44181
|
+
|
|
44182
|
+
static BOOL peachIdleTimerDisabled = NO;
|
|
44183
|
+
|
|
44184
|
+
@implementation UIApplication (PeachTurboRuntime)
|
|
44185
|
+
+ (UIApplication *)sharedApplication {
|
|
44186
|
+
static UIApplication *app = nil;
|
|
44187
|
+
if (!app) app = [[UIApplication alloc] init];
|
|
44188
|
+
return app;
|
|
44189
|
+
}
|
|
44190
|
+
- (BOOL)isIdleTimerDisabled {
|
|
44191
|
+
return peachIdleTimerDisabled;
|
|
44192
|
+
}
|
|
44193
|
+
- (void)setIdleTimerDisabled:(BOOL)disabled {
|
|
44194
|
+
peachIdleTimerDisabled = disabled;
|
|
44195
|
+
}
|
|
44196
|
+
@end
|
|
44197
|
+
|
|
44137
44198
|
// React Native's own modules register before any provider's, and RCTBridge.mm
|
|
44138
44199
|
// creates the registry's queue in the first RCTRegisterModule. the engine
|
|
44139
44200
|
// supplies those modules, so a process whose providers register none (codegen
|
|
@@ -44250,9 +44311,6 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
|
|
|
44250
44311
|
|
|
44251
44312
|
@end
|
|
44252
44313
|
|
|
44253
|
-
// UIKitCore: the key window and root view controller an app delegate makes at launch
|
|
44254
|
-
extern "C" void PeachLaunchReactNativeWindow(void);
|
|
44255
|
-
|
|
44256
44314
|
extern "C" void peachTurboInitialize() {
|
|
44257
44315
|
objc_create_block_classes_as_subclasses_of([NSObject class]);
|
|
44258
44316
|
if (Class blockClass = NSClassFromString(@"_NSBlock")) {
|
|
@@ -44266,7 +44324,6 @@ extern "C" void peachTurboInitialize() {
|
|
|
44266
44324
|
static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
|
|
44267
44325
|
*reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
|
|
44268
44326
|
}
|
|
44269
|
-
PeachLaunchReactNativeWindow();
|
|
44270
44327
|
auto& runtime = peach::jsi_runtime::create(
|
|
44271
44328
|
[] { invoker->drain(); },
|
|
44272
44329
|
[] {
|
|
@@ -44960,7 +45017,7 @@ var init_react_native_core = __esm({
|
|
|
44960
45017
|
init_swift_distribution();
|
|
44961
45018
|
init_swift_package();
|
|
44962
45019
|
init_swiftContract();
|
|
44963
|
-
recipe = true ? "
|
|
45020
|
+
recipe = true ? "4639768c70ada4c4bab053ea7917512ac1e98bc7b1f9adc1f95635279d6ba363" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
44964
45021
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
44965
45022
|
building = /* @__PURE__ */ new Map();
|
|
44966
45023
|
}
|
|
@@ -50338,7 +50395,7 @@ init_swift_native_pin();
|
|
|
50338
50395
|
init_xcode_project();
|
|
50339
50396
|
var EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
50340
50397
|
function expoNativeCompilerDigestValue() {
|
|
50341
|
-
return true ? "
|
|
50398
|
+
return true ? "cc698464fe9779f8319b682acef91ec46d2b25c3cea5298ff21bc734f757d055" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
50342
50399
|
}
|
|
50343
50400
|
var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
50344
50401
|
function readSources(value) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2274 | (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.2274 | (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;
|