peachsim 0.1.2273 → 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 +70 -13
- 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 +70 -13
- 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 +73 -14
- 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/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/platform/personality.d.ts +81 -0
- package/dist-types/packages/peach-engine/src/render-worker/webgpu-wire-protocol.d.ts +0 -1
- 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/swift-toolchain.ts +37 -0
- package/src/turbo-source.ts +32 -4
|
@@ -86,6 +86,7 @@ function stepCeilingMs(step: MaestroStep): number {
|
|
|
86
86
|
: 0
|
|
87
87
|
return Math.max(
|
|
88
88
|
60_000,
|
|
89
|
+
(typeof step.wait === 'number' ? step.wait : 0) + 15_000,
|
|
89
90
|
scaledTimeout(waitForTimeout) + 15_000,
|
|
90
91
|
scaledTimeout(extendedWaitTimeout) + 15_000,
|
|
91
92
|
)
|
|
@@ -3756,7 +3757,9 @@ export class SootSimBridgeFlowRunner {
|
|
|
3756
3757
|
// every query they make times out on its own, so they report their
|
|
3757
3758
|
// own failure instead of the watchdog's guess.
|
|
3758
3759
|
step.assertVisible ||
|
|
3759
|
-
step.assertNotVisible
|
|
3760
|
+
step.assertNotVisible ||
|
|
3761
|
+
// a fixed wait lasts exactly as long as the flow asked
|
|
3762
|
+
typeof step.wait === 'number'
|
|
3760
3763
|
)
|
|
3761
3764
|
)
|
|
3762
3765
|
const STEP_WATCHDOG_MS = 10_000
|
package/detox/gestures.ts
CHANGED
|
@@ -348,7 +348,9 @@ export async function dragScrollNode(
|
|
|
348
348
|
let endSootSimY = startSootSimY
|
|
349
349
|
// recognition consumes only axis slop. compensate that distance once so
|
|
350
350
|
// excess travel on the first move remains part of the requested scroll.
|
|
351
|
-
const slop = getCliRuntime()
|
|
351
|
+
const slop = getCliRuntime()
|
|
352
|
+
.platform_personality.platformPersonality(DETOX_PLATFORM)
|
|
353
|
+
.scroll.touchSlop(1)
|
|
352
354
|
const travel = pixels + slop
|
|
353
355
|
|
|
354
356
|
switch (direction) {
|
|
@@ -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 __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 __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;
|
|
@@ -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/beta.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/beta.mjs
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;
|
|
@@ -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 __create = Object.create;
|
|
@@ -12136,7 +12136,7 @@ var swiftCoverageProvenance;
|
|
|
12136
12136
|
var init_provenance = __esm({
|
|
12137
12137
|
"src/swift-coverage/provenance.ts"() {
|
|
12138
12138
|
"use strict";
|
|
12139
|
-
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":"
|
|
12139
|
+
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, ".."));
|
|
12140
12140
|
}
|
|
12141
12141
|
});
|
|
12142
12142
|
|
|
@@ -15262,6 +15262,7 @@ function swiftSdkPayloadChecksum(bundle) {
|
|
|
15262
15262
|
if (cached2?.stamp !== stamp) {
|
|
15263
15263
|
cached2 = { stamp, checksum: swiftFileChecksum(file) };
|
|
15264
15264
|
sdkFileHashes.set(file, cached2);
|
|
15265
|
+
sdkFilesHashed++;
|
|
15265
15266
|
}
|
|
15266
15267
|
hash.update(
|
|
15267
15268
|
JSON.stringify([relative4, "file", Number(stat.mode & 0o111n), cached2.checksum]) + "\n"
|
|
@@ -15286,10 +15287,36 @@ function verifySwiftSdk(swift, sdk2) {
|
|
|
15286
15287
|
`Swift SDK ${sdk2.wasmSdkId} has no verified archive binding for ${sdk2.wasmSdkChecksum}. Hydrate it with installSwiftWasmSdk before compiling.`
|
|
15287
15288
|
);
|
|
15288
15289
|
const receipt = JSON.parse(import_node_fs22.default.readFileSync(file, "utf8"));
|
|
15290
|
+
const stamps = file.replace(/\.json$/, ".files.json");
|
|
15291
|
+
if (!loadedSdkHashFiles.has(stamps)) {
|
|
15292
|
+
loadedSdkHashFiles.add(stamps);
|
|
15293
|
+
const saved = import_node_fs22.default.existsSync(stamps) ? JSON.parse(import_node_fs22.default.readFileSync(stamps, "utf8")) : null;
|
|
15294
|
+
if (saved && typeof saved === "object") {
|
|
15295
|
+
for (const [entry, value] of Object.entries(saved))
|
|
15296
|
+
if (Array.isArray(value) && typeof value[0] === "string" && typeof value[1] === "string")
|
|
15297
|
+
sdkFileHashes.set(entry, { stamp: value[0], checksum: value[1] });
|
|
15298
|
+
}
|
|
15299
|
+
}
|
|
15300
|
+
const hashedBefore = sdkFilesHashed;
|
|
15289
15301
|
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))
|
|
15290
15302
|
throw new Error(
|
|
15291
15303
|
`Swift SDK ${sdk2.wasmSdkId} installed payload differs from its verified archive ${sdk2.wasmSdkChecksum}`
|
|
15292
15304
|
);
|
|
15305
|
+
if (sdkFilesHashed === hashedBefore) return;
|
|
15306
|
+
const temporary = `${stamps}.${process.pid}.tmp`;
|
|
15307
|
+
try {
|
|
15308
|
+
import_node_fs22.default.writeFileSync(
|
|
15309
|
+
temporary,
|
|
15310
|
+
JSON.stringify(
|
|
15311
|
+
Object.fromEntries(
|
|
15312
|
+
[...sdkFileHashes].filter(([entry]) => entry.startsWith(bundle + import_node_path19.default.sep)).map(([entry, { stamp, checksum }]) => [entry, [stamp, checksum]])
|
|
15313
|
+
)
|
|
15314
|
+
)
|
|
15315
|
+
);
|
|
15316
|
+
import_node_fs22.default.renameSync(temporary, stamps);
|
|
15317
|
+
} finally {
|
|
15318
|
+
import_node_fs22.default.rmSync(temporary, { force: true });
|
|
15319
|
+
}
|
|
15293
15320
|
}
|
|
15294
15321
|
function installSwiftSdkArchive(swift, sdk2, archive) {
|
|
15295
15322
|
validateSwiftSdkIdentity(sdk2);
|
|
@@ -15556,7 +15583,7 @@ function swiftCompilerInstall(release) {
|
|
|
15556
15583
|
]
|
|
15557
15584
|
};
|
|
15558
15585
|
}
|
|
15559
|
-
var import_node_child_process9, import_node_crypto9, import_node_fs22, import_node_os5, import_node_path19, import_node_url2, import_node_util2, 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;
|
|
15586
|
+
var import_node_child_process9, import_node_crypto9, import_node_fs22, import_node_os5, import_node_path19, import_node_url2, import_node_util2, 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;
|
|
15560
15587
|
var init_swift_toolchain = __esm({
|
|
15561
15588
|
"src/swift-toolchain.ts"() {
|
|
15562
15589
|
"use strict";
|
|
@@ -15839,6 +15866,8 @@ var init_swift_toolchain = __esm({
|
|
|
15839
15866
|
listedSdks = /* @__PURE__ */ new Set();
|
|
15840
15867
|
sdkBundles = /* @__PURE__ */ new Map();
|
|
15841
15868
|
sdkFileHashes = /* @__PURE__ */ new Map();
|
|
15869
|
+
sdkFilesHashed = 0;
|
|
15870
|
+
loadedSdkHashFiles = /* @__PURE__ */ new Set();
|
|
15842
15871
|
verifiedCompilers = /* @__PURE__ */ new Map();
|
|
15843
15872
|
}
|
|
15844
15873
|
});
|
|
@@ -32194,7 +32223,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
32194
32223
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
32195
32224
|
MULTI_MANIFEST_VERSION = 68;
|
|
32196
32225
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
32197
|
-
compilerSourceDigest = true ? "
|
|
32226
|
+
compilerSourceDigest = true ? "e224c0014bb1a4c2827b71265a45046589da0583b0861ada1e1890b739732b96" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
32198
32227
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
32199
32228
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
32200
32229
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -44807,7 +44836,7 @@ var init_swift_standin_digest = __esm({
|
|
|
44807
44836
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
44808
44837
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
44809
44838
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
44810
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
44839
|
+
STANDIN_SOURCE_DIGEST = true ? "e50e15b51e04a8baf3bead1d63950c4e56b018ae4b82457dcd899c53ed0b974a" : standinSourceDigest();
|
|
44811
44840
|
}
|
|
44812
44841
|
});
|
|
44813
44842
|
|
|
@@ -56384,6 +56413,38 @@ void dispatchToJSThread(dispatch_block_t block) {
|
|
|
56384
56413
|
}
|
|
56385
56414
|
} // namespace
|
|
56386
56415
|
|
|
56416
|
+
static CGFloat peachScreenBrightness = 0.5;
|
|
56417
|
+
|
|
56418
|
+
@implementation UIScreen (PeachTurboRuntime)
|
|
56419
|
+
+ (UIScreen *)mainScreen {
|
|
56420
|
+
static UIScreen *screen = nil;
|
|
56421
|
+
if (!screen) screen = [[UIScreen alloc] init];
|
|
56422
|
+
return screen;
|
|
56423
|
+
}
|
|
56424
|
+
- (CGFloat)brightness {
|
|
56425
|
+
return peachScreenBrightness;
|
|
56426
|
+
}
|
|
56427
|
+
- (void)setBrightness:(CGFloat)value {
|
|
56428
|
+
peachScreenBrightness = value;
|
|
56429
|
+
}
|
|
56430
|
+
@end
|
|
56431
|
+
|
|
56432
|
+
static BOOL peachIdleTimerDisabled = NO;
|
|
56433
|
+
|
|
56434
|
+
@implementation UIApplication (PeachTurboRuntime)
|
|
56435
|
+
+ (UIApplication *)sharedApplication {
|
|
56436
|
+
static UIApplication *app = nil;
|
|
56437
|
+
if (!app) app = [[UIApplication alloc] init];
|
|
56438
|
+
return app;
|
|
56439
|
+
}
|
|
56440
|
+
- (BOOL)isIdleTimerDisabled {
|
|
56441
|
+
return peachIdleTimerDisabled;
|
|
56442
|
+
}
|
|
56443
|
+
- (void)setIdleTimerDisabled:(BOOL)disabled {
|
|
56444
|
+
peachIdleTimerDisabled = disabled;
|
|
56445
|
+
}
|
|
56446
|
+
@end
|
|
56447
|
+
|
|
56387
56448
|
// React Native's own modules register before any provider's, and RCTBridge.mm
|
|
56388
56449
|
// creates the registry's queue in the first RCTRegisterModule. the engine
|
|
56389
56450
|
// supplies those modules, so a process whose providers register none (codegen
|
|
@@ -56500,9 +56561,6 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
|
|
|
56500
56561
|
|
|
56501
56562
|
@end
|
|
56502
56563
|
|
|
56503
|
-
// UIKitCore: the key window and root view controller an app delegate makes at launch
|
|
56504
|
-
extern "C" void PeachLaunchReactNativeWindow(void);
|
|
56505
|
-
|
|
56506
56564
|
extern "C" void peachTurboInitialize() {
|
|
56507
56565
|
objc_create_block_classes_as_subclasses_of([NSObject class]);
|
|
56508
56566
|
if (Class blockClass = NSClassFromString(@"_NSBlock")) {
|
|
@@ -56516,7 +56574,6 @@ extern "C" void peachTurboInitialize() {
|
|
|
56516
56574
|
static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
|
|
56517
56575
|
*reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
|
|
56518
56576
|
}
|
|
56519
|
-
PeachLaunchReactNativeWindow();
|
|
56520
56577
|
auto& runtime = peach::jsi_runtime::create(
|
|
56521
56578
|
[] { invoker->drain(); },
|
|
56522
56579
|
[] {
|
|
@@ -57403,7 +57460,7 @@ var init_nitro_superset = __esm({
|
|
|
57403
57460
|
init_nitroContract();
|
|
57404
57461
|
init_swift_standin_digest();
|
|
57405
57462
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
57406
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
57463
|
+
NITRO_COMPILER_DIGEST = true ? "c63dd36f916b3fb4a404b90e0e265f17f159fd81e02ad8005fd6d816f90b46e9" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
57407
57464
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
57408
57465
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
57409
57466
|
published = /* @__PURE__ */ new Map();
|
|
@@ -58620,7 +58677,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
58620
58677
|
|
|
58621
58678
|
// src/expo-native-prebuilt.ts
|
|
58622
58679
|
function expoNativeCompilerDigestValue() {
|
|
58623
|
-
return true ? "
|
|
58680
|
+
return true ? "cc698464fe9779f8319b682acef91ec46d2b25c3cea5298ff21bc734f757d055" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
58624
58681
|
}
|
|
58625
58682
|
function readSources(value) {
|
|
58626
58683
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -60111,7 +60168,7 @@ var init_react_native_core = __esm({
|
|
|
60111
60168
|
init_swift_distribution();
|
|
60112
60169
|
init_swift_package();
|
|
60113
60170
|
init_swiftContract();
|
|
60114
|
-
recipe = true ? "
|
|
60171
|
+
recipe = true ? "4639768c70ada4c4bab053ea7917512ac1e98bc7b1f9adc1f95635279d6ba363" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
60115
60172
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
60116
60173
|
building = /* @__PURE__ */ new Map();
|
|
60117
60174
|
}
|
|
@@ -66077,7 +66134,7 @@ var import_node_path5 = require("node:path");
|
|
|
66077
66134
|
init_src();
|
|
66078
66135
|
|
|
66079
66136
|
// runtime-companion.json
|
|
66080
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
66137
|
+
var runtime_companion_default = { abi: 1, sha256: "495d946b48ebe21480616cc63d9967bc511db950ab59c25e834fcda28eb4a17c", file: "node/cli-495d946b48ebe21480616cc63d9967bc511db950ab59c25e834fcda28eb4a17c.cjs" };
|
|
66081
66138
|
|
|
66082
66139
|
// src/cli-runtime.ts
|
|
66083
66140
|
init_answeredNativePackages();
|
|
@@ -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;
|