peachsim 0.1.1692 → 0.1.1700
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 +61 -39
- package/cli/commands/agent-wrapper.ts +21 -10
- package/cli/commands/control.ts +27 -7
- package/cli/commands/coverage.ts +1 -1
- package/cli/commands/detect.ts +17 -4
- package/cli/commands/maestro-compare.ts +25 -99
- package/cli/help-core.ts +3 -4
- package/cli/maestro-compare.ts +172 -4
- package/cli/outbound-endpoints.ts +2 -10
- package/detox/index.ts +15 -0
- package/detox/launch-permissions.ts +169 -0
- package/dist-lib/agent-daemon-client.cjs +2 -2
- package/dist-lib/agent-events.cjs +2 -2
- package/dist-lib/attached-projects.cjs +2 -2
- package/dist-lib/auth/shared-session.cjs +2 -2
- package/dist-lib/backend-origin.cjs +2 -2
- package/dist-lib/beta.cjs +2 -2
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +2 -2
- package/dist-lib/bridge-contract-input.cjs +2 -2
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +2 -2
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +18273 -15925
- package/dist-lib/capture-contract.cjs +2 -2
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +2 -2
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +2 -2
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +2 -2
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +2 -2
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +104 -3
- package/dist-lib/dev-bundle-resolution.cjs +208 -44
- package/dist-lib/expo-swift-bundle.cjs +2349 -1778
- package/dist-lib/expo-swift-metadata.cjs +2 -2
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +2 -2
- package/dist-lib/host/bridge-host.cjs +7885 -3334
- package/dist-lib/host/fetch-proxy-handler.cjs +331 -39
- package/dist-lib/host/fetch-proxy-overrides.cjs +2 -2
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +2 -2
- package/dist-lib/host/websocket-proxy.cjs +2 -2
- package/dist-lib/index.cjs +297 -77
- package/dist-lib/jump-to-source-babel.cjs +2 -2
- package/dist-lib/jump-to-source-native.cjs +2 -2
- package/dist-lib/kotlin-host.cjs +2 -2
- package/dist-lib/menu.cjs +2 -2
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +2 -2
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +2 -2
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +294 -74
- package/dist-lib/native-app-identity-project.cjs +48 -37
- package/dist-lib/native-app-identity-project.mjs +47 -36
- package/dist-lib/native-app-identity.cjs +2 -2
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +2 -2
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +2 -2
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +2 -2
- package/dist-lib/public-brand.cjs +2 -2
- package/dist-lib/public-origins-lib-esm.json +24 -23
- package/dist-lib/public-origins-lib.json +199 -79
- package/dist-lib/react-native-host-modules.cjs +2 -2
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +2 -2
- package/dist-lib/scripts/dev-server-scanner.cjs +206 -31
- package/dist-lib/sdk.cjs +2 -2
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +19600 -15992
- package/dist-lib/swift-compile.cjs +640 -402
- package/dist-lib/swift-compile.mjs +595 -357
- package/dist-lib/swift-package.cjs +24 -20
- package/dist-lib/swift-package.mjs +23 -19
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +31 -4
- package/dist-lib/swift.cjs +2 -2
- package/dist-lib/vite-swift.cjs +1559 -1208
- package/dist-lib/vite.cjs +251 -42
- package/dist-lib/worklet-executable.cjs +2 -2
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/scroll-pan-contacts.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/engine/scroll.d.ts +7 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/render-worker/host-service-protocol.d.ts +3 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/render-worker/scroll-mirror.d.ts +17 -0
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/render-worker/worklet-runtime.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/cameraBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/replayBridgeContract.d.ts +1 -0
- package/dist-types/packages/peach-globals/src/shellHostBridgeContract.d.ts +3 -0
- package/dist-types/packages/peach-kit/src/materials/types.d.ts +1 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/scripts/dev-server-scanner.ts +4 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Alpha.h +2282 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/BasicImageTypes.h +55 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Conversion.h +10551 -6
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Convolution.h +4236 -3
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Geometry.h +827 -8
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Histogram.h +1369 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Morphology.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/Transform.h +1747 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage.h +291 -2
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_CVUtilities.h +1283 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Types.h +811 -91
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vImage.framework/Headers/vImage_Utilities.h +1342 -25
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns.h +2738 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_constants.h +1685 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_graph.h +913 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/BNNS/bnns_structures.h +1917 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/LinearAlgebra.h +23 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/arithmetic.h +209 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/base.h +104 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/linear_systems.h +77 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/matrix.h +554 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/norms.h +58 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/object.h +186 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/splat.h +86 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/LinearAlgebra/vector.h +364 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Integration.h +195 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Quadrature/Quadrature.h +44 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/BLAS.h +2330 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/BLAS/Types.h +123 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Solve.h +8339 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementation.h +520 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/SolveImplementationTyped.h +1893 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/Sparse/Sparse.h +10 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/blas_new.h +1098 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas.h +859 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/cblas_new.h +1134 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/clapack.h +10555 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/fortran_blas.h +695 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack.h +38526 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_types.h +60 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/lapack_version.h +20 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/thread_api.h +50 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBasicOps.h +1218 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vBigNum.h +1458 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP.h +10377 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vDSP_translate.h +167 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vForce.h +1243 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLib.h +114 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vecLibTypes.h +146 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vectorOps.h +1106 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/Headers/vfp.h +294 -0
- package/sdk/ios/System/Library/Frameworks/Accelerate.framework/Headers/Accelerate.h +25 -1
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h +673 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h +232 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h +827 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h +121 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h +387 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h +79 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h +122 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h +674 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h +182 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h +213 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h +82 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h +129 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h +491 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h +883 -2
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h +98 -0
- package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +11 -229
- package/sdk/ios/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h +2 -6
- package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +2 -1
- package/sdk/ios/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h +1 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecBase.h +906 -3
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h +613 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecItem.h +1284 -29
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h +441 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/SecTrust.h +845 -0
- package/sdk/ios/System/Library/Frameworks/Security.framework/Headers/Security.h +4 -0
- package/sdk/ios/usr/include/AvailabilityMacros.h +3985 -0
- package/sdk/ios/usr/include/copyfile.h +143 -0
- package/sdk/ios/usr/include/malloc/_malloc.h +143 -0
- package/sdk/ios/usr/include/malloc/_malloc_type.h +153 -0
- package/sdk/ios/usr/include/malloc/_platform.h +80 -0
- package/sdk/ios/usr/include/malloc/_ptrcheck.h +43 -0
- package/sdk/ios/usr/include/malloc/malloc.h +768 -0
- package/sdk/ios/usr/include/os/availability.h +168 -6
- package/sdk/ios/usr/include/os/base.h +351 -0
- package/sdk/ios/usr/include/os/clock.h +18 -0
- package/sdk/ios/usr/include/os/lock.h +232 -10
- package/sdk/ios/usr/include/os/log.h +521 -38
- package/sdk/ios/usr/include/os/object.h +320 -3
- package/sdk/ios/usr/include/os/trace.h +492 -0
- package/sdk/ios/usr/include/os/trace_base.h +167 -0
- package/sdk/ios/usr/include/os/workgroup.h +37 -0
- package/sdk/ios/usr/include/os/workgroup_base.h +91 -0
- package/sdk/ios/usr/include/os/workgroup_interval.h +156 -0
- package/sdk/ios/usr/include/os/workgroup_object.h +359 -0
- package/sdk/ios/usr/include/os/workgroup_parallel.h +76 -0
- package/sdk/ios/usr/include/sys/cdefs.h +38 -0
- package/sdk/ios/wasm/include/unistd.h +3 -0
- package/skills/contrast/SKILL.md +3 -0
- package/src/codex-client.ts +11 -6
- package/src/dev-bundle-resolution.ts +124 -48
- package/src/expo-native-workspace.ts +176 -0
- package/src/expo-swift-host.ts +161 -26
- package/src/expo-swift-ready.ts +14 -28
- package/src/expoSwiftContract.ts +4 -1
- package/src/generated/swift-c-predefines.json +68 -12
- package/src/host/bridge-host.ts +5 -0
- package/src/installed-package-versions.ts +14 -1
- package/src/metro-project-root.ts +44 -33
- package/src/native-app-identity-project.ts +1 -0
- package/src/nitro-adapter.lock.json +916 -10
- package/src/nitro-adapter.ts +33 -24
- package/src/nitro-bundle.ts +108 -22
- package/src/nitro-compile.ts +32 -5
- package/src/nitro-source.ts +13 -3
- package/src/nitroAdapterContract.ts +100 -20
- package/src/node-http-fetch.ts +116 -0
- package/src/packageVersionsContract.ts +46 -0
- package/src/serverDiscoveryContract.ts +1 -0
- package/src/settingsContract.ts +0 -30
- package/src/swift-binary-modules.ts +20 -5
- package/src/swift-compile.ts +168 -48
- package/src/swift-coverage/xcode-assets.ts +4 -3
- package/src/swift-host.ts +14 -3
- package/src/swift-objc-compile.ts +32 -5
- package/src/swift-objc-metadata.ts +2 -2
- package/src/swift-objc-platform.ts +2 -2
- package/src/swift-objc-standin.ts +43 -13
- package/src/swift-package.ts +33 -26
- package/src/swift-source-pods.ts +126 -41
- package/src/swift-standin-digest.ts +77 -0
- package/src/swift-standin-emit.ts +40 -4
- package/src/swift-standins.ts +68 -19
- package/src/swift-toolchain.ts +38 -0
- package/src/swiftContract.ts +8 -0
- package/src/vite-plugin.ts +0 -10
- package/src/xcode-project.ts +62 -42
- package/src/settings-flags.ts +0 -107
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
1
|
+
/*! peach v0.1.1700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
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;
|
|
5
5
|
var __defProp = Object.defineProperty;
|
|
@@ -42,7 +42,7 @@ var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
|
42
42
|
var runtime_companion_default;
|
|
43
43
|
var init_runtime_companion = __esm({
|
|
44
44
|
"runtime-companion.json"() {
|
|
45
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
45
|
+
runtime_companion_default = { abi: 1, sha256: "1f3d4b48d9b79b8579197585654c7ea6f1a69bcc5f4cb2dad706f31aa88d791b", file: "node/cli-1f3d4b48d9b79b8579197585654c7ea6f1a69bcc5f4cb2dad706f31aa88d791b.cjs" };
|
|
46
46
|
}
|
|
47
47
|
});
|
|
48
48
|
|
|
@@ -418,6 +418,112 @@ var init_cli_runtime = __esm({
|
|
|
418
418
|
}
|
|
419
419
|
});
|
|
420
420
|
|
|
421
|
+
// src/node-http-fetch.ts
|
|
422
|
+
var node_http_fetch_exports = {};
|
|
423
|
+
__export(node_http_fetch_exports, {
|
|
424
|
+
nodeHttpFetch: () => nodeHttpFetch
|
|
425
|
+
});
|
|
426
|
+
function nodeHttpFetch(url, init = {}, redirects = 0) {
|
|
427
|
+
const target = new URL(url);
|
|
428
|
+
const transport = target.protocol === "https:" ? import_node_https.default : import_node_http.default;
|
|
429
|
+
return new Promise((resolve3, reject) => {
|
|
430
|
+
const req = transport.request(
|
|
431
|
+
target,
|
|
432
|
+
{ method: "GET", headers: init.headers, signal: init.signal },
|
|
433
|
+
(res) => {
|
|
434
|
+
const status = res.statusCode ?? 0;
|
|
435
|
+
const location = res.headers.location;
|
|
436
|
+
if (status >= 300 && status < 400 && location) {
|
|
437
|
+
res.resume();
|
|
438
|
+
if (redirects >= MAX_REDIRECTS) {
|
|
439
|
+
reject(new Error(`too many redirects from ${url}`));
|
|
440
|
+
return;
|
|
441
|
+
}
|
|
442
|
+
resolve3(nodeHttpFetch(new URL(location, target).href, init, redirects + 1));
|
|
443
|
+
return;
|
|
444
|
+
}
|
|
445
|
+
const headers = new Headers();
|
|
446
|
+
for (const [name, value] of Object.entries(res.headers)) {
|
|
447
|
+
if (Array.isArray(value)) for (const entry of value) headers.append(name, entry);
|
|
448
|
+
else if (value !== void 0) headers.set(name, value);
|
|
449
|
+
}
|
|
450
|
+
if (BODYLESS_STATUS.has(status)) {
|
|
451
|
+
res.resume();
|
|
452
|
+
resolve3(new Response(null, { status, headers }));
|
|
453
|
+
return;
|
|
454
|
+
}
|
|
455
|
+
let source = res;
|
|
456
|
+
const codings = (res.headers["content-encoding"] ?? "").split(",").map((entry) => entry.trim().toLowerCase()).filter((entry) => entry && entry !== "identity");
|
|
457
|
+
if (codings.every((coding) => DECODABLE_CODINGS.has(coding))) {
|
|
458
|
+
for (const coding of codings.reverse()) {
|
|
459
|
+
let decoder;
|
|
460
|
+
if (coding === "br") decoder = import_node_zlib.default.createBrotliDecompress();
|
|
461
|
+
else if (coding === "deflate") {
|
|
462
|
+
let inner;
|
|
463
|
+
decoder = new import_node_stream.Transform({
|
|
464
|
+
transform(chunk, _encoding, done) {
|
|
465
|
+
if (!inner) {
|
|
466
|
+
inner = (chunk[0] & 15) === 8 ? import_node_zlib.default.createInflate(TRUNCATION_TOLERANT) : import_node_zlib.default.createInflateRaw(TRUNCATION_TOLERANT);
|
|
467
|
+
inner.on("data", (data) => decoder.push(data));
|
|
468
|
+
inner.on("error", (error) => decoder.destroy(error));
|
|
469
|
+
}
|
|
470
|
+
inner.write(chunk, done);
|
|
471
|
+
},
|
|
472
|
+
flush(done) {
|
|
473
|
+
if (!inner) return done();
|
|
474
|
+
inner.once("end", () => done());
|
|
475
|
+
inner.end();
|
|
476
|
+
},
|
|
477
|
+
destroy(error, done) {
|
|
478
|
+
inner?.destroy();
|
|
479
|
+
done(error);
|
|
480
|
+
}
|
|
481
|
+
});
|
|
482
|
+
} else decoder = import_node_zlib.default.createGunzip(TRUNCATION_TOLERANT);
|
|
483
|
+
source = (0, import_node_stream.pipeline)(source, decoder, () => {
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
const chunks = source[Symbol.asyncIterator]();
|
|
488
|
+
const body = new ReadableStream({
|
|
489
|
+
async pull(controller) {
|
|
490
|
+
try {
|
|
491
|
+
const chunk = await chunks.next();
|
|
492
|
+
if (chunk.done) controller.close();
|
|
493
|
+
else if (chunk.value instanceof Uint8Array) controller.enqueue(chunk.value);
|
|
494
|
+
else controller.error(new Error("HTTP response returned a non-byte chunk"));
|
|
495
|
+
} catch (error) {
|
|
496
|
+
controller.error(error);
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
cancel() {
|
|
500
|
+
source.destroy();
|
|
501
|
+
res.destroy();
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
resolve3(new Response(body, { status, headers }));
|
|
505
|
+
}
|
|
506
|
+
);
|
|
507
|
+
req.on("error", reject);
|
|
508
|
+
req.end();
|
|
509
|
+
});
|
|
510
|
+
}
|
|
511
|
+
var import_node_http, import_node_https, import_node_stream, import_node_zlib, BODYLESS_STATUS, TRUNCATION_TOLERANT, MAX_REDIRECTS, DECODABLE_CODINGS;
|
|
512
|
+
var init_node_http_fetch = __esm({
|
|
513
|
+
"src/node-http-fetch.ts"() {
|
|
514
|
+
"use strict";
|
|
515
|
+
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
516
|
+
import_node_http = __toESM(require("node:http"), 1);
|
|
517
|
+
import_node_https = __toESM(require("node:https"), 1);
|
|
518
|
+
import_node_stream = require("node:stream");
|
|
519
|
+
import_node_zlib = __toESM(require("node:zlib"), 1);
|
|
520
|
+
BODYLESS_STATUS = /* @__PURE__ */ new Set([101, 204, 205, 304]);
|
|
521
|
+
TRUNCATION_TOLERANT = { finishFlush: import_node_zlib.default.constants.Z_SYNC_FLUSH };
|
|
522
|
+
MAX_REDIRECTS = 5;
|
|
523
|
+
DECODABLE_CODINGS = /* @__PURE__ */ new Set(["gzip", "x-gzip", "deflate", "br"]);
|
|
524
|
+
}
|
|
525
|
+
});
|
|
526
|
+
|
|
421
527
|
// src/vite-plugin-one.ts
|
|
422
528
|
var vite_plugin_one_exports = {};
|
|
423
529
|
__export(vite_plugin_one_exports, {
|
|
@@ -428,8 +534,8 @@ module.exports = __toCommonJS(vite_plugin_one_exports);
|
|
|
428
534
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
429
535
|
var import_fs4 = __toESM(require("fs"), 1);
|
|
430
536
|
var import_node_crypto4 = require("node:crypto");
|
|
431
|
-
var
|
|
432
|
-
var
|
|
537
|
+
var import_node_http3 = __toESM(require("node:http"), 1);
|
|
538
|
+
var import_node_https2 = __toESM(require("node:https"), 1);
|
|
433
539
|
var import_node_url = require("node:url");
|
|
434
540
|
var import_path4 = __toESM(require("path"), 1);
|
|
435
541
|
var import_promises5 = require("stream/promises");
|
|
@@ -635,6 +741,23 @@ function readPackageVersions(value) {
|
|
|
635
741
|
function insertPackageVersionsFooter(source, versions) {
|
|
636
742
|
return insertBundleGlobalFooter(source, FOOTER, readPackageVersions(versions));
|
|
637
743
|
}
|
|
744
|
+
var WORKLETS_STATIC_FLAGS_KEY = "react-native-worklets/staticFlags.json";
|
|
745
|
+
function isFlagRecord(value) {
|
|
746
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
747
|
+
}
|
|
748
|
+
function resolveWorkletsStaticFlags(defaults, appManifest) {
|
|
749
|
+
if (!isFlagRecord(defaults)) throw new Error("Worklets static flags are malformed");
|
|
750
|
+
const worklets = isFlagRecord(appManifest) ? appManifest.worklets : void 0;
|
|
751
|
+
const overrides = isFlagRecord(worklets) ? worklets.staticFeatureFlags : void 0;
|
|
752
|
+
if (overrides !== void 0 && !isFlagRecord(overrides)) {
|
|
753
|
+
throw new Error("Worklets static flag overrides are malformed");
|
|
754
|
+
}
|
|
755
|
+
const flags = {};
|
|
756
|
+
for (const [name, value] of Object.entries({ ...defaults, ...overrides })) {
|
|
757
|
+
flags[name] = String(value) === "true";
|
|
758
|
+
}
|
|
759
|
+
return JSON.stringify(flags);
|
|
760
|
+
}
|
|
638
761
|
|
|
639
762
|
// src/host/dev-server-package-versions.ts
|
|
640
763
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -701,7 +824,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
701
824
|
"@sbaiahmed1/react-native-biometrics/types",
|
|
702
825
|
"@sbaiahmed1/react-native-blur",
|
|
703
826
|
"@shopify/checkout-sheet-kit",
|
|
704
|
-
"@shopify/react-native-skia",
|
|
705
827
|
"@stream-io/video-react-native-sdk",
|
|
706
828
|
"@stripe/stripe-identity-react-native",
|
|
707
829
|
"@stripe/stripe-react-native",
|
|
@@ -720,7 +842,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
720
842
|
"expo-in-app-updates",
|
|
721
843
|
"expo-mesh-gradient",
|
|
722
844
|
"expo-modules-core",
|
|
723
|
-
"expo-share-extension",
|
|
724
845
|
"expo-superwall",
|
|
725
846
|
"freerasp-react-native",
|
|
726
847
|
"klaviyo-react-native-sdk",
|
|
@@ -812,7 +933,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
812
933
|
"react-native-share-menu",
|
|
813
934
|
"react-native-shared-element",
|
|
814
935
|
"react-native-simple-toast",
|
|
815
|
-
"react-native-skia",
|
|
816
936
|
"react-native-spinkit",
|
|
817
937
|
"react-native-ssl-public-key-pinning",
|
|
818
938
|
"react-native-star-io10",
|
|
@@ -3460,12 +3580,6 @@ var COMPAT_STUBS = {
|
|
|
3460
3580
|
runtimeTier: "none",
|
|
3461
3581
|
buildResolvers: ["vite"]
|
|
3462
3582
|
},
|
|
3463
|
-
expoShareExtension: {
|
|
3464
|
-
specifier: "expo-share-extension",
|
|
3465
|
-
stubFile: "noop-sdks-extra/expo-share-extension.ts",
|
|
3466
|
-
runtimeTier: "none",
|
|
3467
|
-
buildResolvers: ["vite"]
|
|
3468
|
-
},
|
|
3469
3583
|
expoHealthConnect: {
|
|
3470
3584
|
specifier: "expo-health-connect",
|
|
3471
3585
|
stubFile: "noop-sdks-extra/expo-health-connect.ts",
|
|
@@ -3612,6 +3726,15 @@ function* installedVersionsWalk(projectRoot, names) {
|
|
|
3612
3726
|
const installed = yield* readInstalledPackage(projectRoot, name);
|
|
3613
3727
|
const version = installed && Reflect.get(installed.manifest, "version");
|
|
3614
3728
|
if (typeof version === "string" && version.length > 0) versions[name] = version;
|
|
3729
|
+
if (name === "react-native-worklets" && installed) {
|
|
3730
|
+
const defaults = yield* readManifest(
|
|
3731
|
+
import_path2.default.join(installed.root, "src/featureFlags/staticFlags.json")
|
|
3732
|
+
);
|
|
3733
|
+
if (defaults) {
|
|
3734
|
+
const app = yield* readManifest(import_path2.default.join(projectRoot, "package.json"));
|
|
3735
|
+
versions[WORKLETS_STATIC_FLAGS_KEY] = resolveWorkletsStaticFlags(defaults, app);
|
|
3736
|
+
}
|
|
3737
|
+
}
|
|
3615
3738
|
}
|
|
3616
3739
|
return versions;
|
|
3617
3740
|
}
|
|
@@ -3751,7 +3874,93 @@ function parseExpoManifestBody(body) {
|
|
|
3751
3874
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
3752
3875
|
|
|
3753
3876
|
// src/dev-bundle-resolution.ts
|
|
3877
|
+
function shouldProxyLoopbackProbe(targetUrl, pageOrigin) {
|
|
3878
|
+
try {
|
|
3879
|
+
const target = new URL(targetUrl);
|
|
3880
|
+
const page = new URL(pageOrigin);
|
|
3881
|
+
return isLoopbackHost(target.hostname) && isLoopbackHost(page.hostname) && target.origin !== page.origin;
|
|
3882
|
+
} catch {
|
|
3883
|
+
return false;
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
async function fetchDevProbe(targetUrl, pageOrigin, init) {
|
|
3887
|
+
const requestInit = {
|
|
3888
|
+
...init,
|
|
3889
|
+
cache: init?.cache ?? "no-store"
|
|
3890
|
+
};
|
|
3891
|
+
if (!pageOrigin || !shouldProxyLoopbackProbe(targetUrl, pageOrigin)) {
|
|
3892
|
+
return fetch(targetUrl, requestInit);
|
|
3893
|
+
}
|
|
3894
|
+
return fetch(
|
|
3895
|
+
`${pageOrigin}/__fetch-proxy?url=${encodeURIComponent(targetUrl)}`,
|
|
3896
|
+
requestInit
|
|
3897
|
+
);
|
|
3898
|
+
}
|
|
3754
3899
|
var MANIFEST_PROBE_TIMEOUT_MS = 3e4;
|
|
3900
|
+
var manifestRequests = /* @__PURE__ */ new Map();
|
|
3901
|
+
async function startDevManifestRequest(normalizedBaseUrl, pageOrigin, signal) {
|
|
3902
|
+
const init = { headers: { "expo-platform": "ios" }, signal };
|
|
3903
|
+
const res = pageOrigin ? await fetchDevProbe(`${normalizedBaseUrl}/`, pageOrigin, init) : await (await Promise.resolve().then(() => (init_node_http_fetch(), node_http_fetch_exports))).nodeHttpFetch(`${normalizedBaseUrl}/`, init);
|
|
3904
|
+
const body = await res.arrayBuffer();
|
|
3905
|
+
return new Response(body.byteLength ? body : null, {
|
|
3906
|
+
status: res.status,
|
|
3907
|
+
headers: res.headers
|
|
3908
|
+
});
|
|
3909
|
+
}
|
|
3910
|
+
async function fetchDevManifest(baseUrl, pageOrigin, options = {}) {
|
|
3911
|
+
options.signal?.throwIfAborted();
|
|
3912
|
+
const normalizedBaseUrl = baseUrl.replace(/\/+$/, "");
|
|
3913
|
+
let request = manifestRequests.get(normalizedBaseUrl);
|
|
3914
|
+
if (!request) {
|
|
3915
|
+
const controller = new AbortController();
|
|
3916
|
+
const promise = startDevManifestRequest(
|
|
3917
|
+
normalizedBaseUrl,
|
|
3918
|
+
pageOrigin,
|
|
3919
|
+
controller.signal
|
|
3920
|
+
).finally(() => {
|
|
3921
|
+
if (manifestRequests.get(normalizedBaseUrl)?.controller === controller)
|
|
3922
|
+
manifestRequests.delete(normalizedBaseUrl);
|
|
3923
|
+
});
|
|
3924
|
+
request = { promise, controller, clients: 0 };
|
|
3925
|
+
manifestRequests.set(normalizedBaseUrl, request);
|
|
3926
|
+
}
|
|
3927
|
+
const current = request;
|
|
3928
|
+
current.clients++;
|
|
3929
|
+
const waitMs = options.waitMs === void 0 ? MANIFEST_PROBE_TIMEOUT_MS : options.waitMs;
|
|
3930
|
+
let deadline;
|
|
3931
|
+
let onAbort;
|
|
3932
|
+
try {
|
|
3933
|
+
const stopped = new Promise((_, reject) => {
|
|
3934
|
+
onAbort = () => {
|
|
3935
|
+
const reason = options.signal?.reason;
|
|
3936
|
+
reject(
|
|
3937
|
+
reason instanceof Error ? reason : new Error("Metro manifest request canceled", { cause: reason })
|
|
3938
|
+
);
|
|
3939
|
+
};
|
|
3940
|
+
options.signal?.addEventListener("abort", onAbort, { once: true });
|
|
3941
|
+
if (options.signal?.aborted) onAbort();
|
|
3942
|
+
if (waitMs !== null)
|
|
3943
|
+
deadline = setTimeout(
|
|
3944
|
+
() => reject(
|
|
3945
|
+
new Error(
|
|
3946
|
+
`Metro manifest request timed out after ${waitMs / 1e3}s: ${normalizedBaseUrl}/`
|
|
3947
|
+
)
|
|
3948
|
+
),
|
|
3949
|
+
waitMs
|
|
3950
|
+
);
|
|
3951
|
+
});
|
|
3952
|
+
return (await Promise.race([current.promise, stopped])).clone();
|
|
3953
|
+
} finally {
|
|
3954
|
+
clearTimeout(deadline);
|
|
3955
|
+
if (onAbort) options.signal?.removeEventListener("abort", onAbort);
|
|
3956
|
+
current.clients--;
|
|
3957
|
+
if (options.signal?.aborted && current.clients === 0) {
|
|
3958
|
+
if (manifestRequests.get(normalizedBaseUrl) === current)
|
|
3959
|
+
manifestRequests.delete(normalizedBaseUrl);
|
|
3960
|
+
current.controller.abort(options.signal.reason);
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
}
|
|
3755
3964
|
|
|
3756
3965
|
// src/kotlinDiscoveryContract.ts
|
|
3757
3966
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -4222,38 +4431,38 @@ function resolveProcessCwd(pid) {
|
|
|
4222
4431
|
}
|
|
4223
4432
|
|
|
4224
4433
|
// src/metro-project-root.ts
|
|
4225
|
-
async function resolveMetroProjectRoot(bundleUrl) {
|
|
4434
|
+
async function resolveMetroProjectRoot(bundleUrl, manifestProjectRoot, options = {}) {
|
|
4226
4435
|
const origin = loopbackOriginOf(bundleUrl);
|
|
4227
4436
|
if (!origin) return null;
|
|
4228
|
-
|
|
4229
|
-
|
|
4437
|
+
options.signal?.throwIfAborted();
|
|
4438
|
+
if (manifestProjectRoot) return manifestProjectRoot;
|
|
4439
|
+
const waitMs = options.waitMs === void 0 ? MANIFEST_PROBE_TIMEOUT_MS : options.waitMs;
|
|
4440
|
+
const deadline = waitMs === null ? void 0 : AbortSignal.timeout(waitMs);
|
|
4441
|
+
const signal = deadline ? options.signal ? AbortSignal.any([options.signal, deadline]) : deadline : options.signal;
|
|
4442
|
+
const { nodeHttpFetch: nodeHttpFetch2 } = await Promise.resolve().then(() => (init_node_http_fetch(), node_http_fetch_exports));
|
|
4443
|
+
const status = await nodeHttpFetch2(`${origin}/status`, { signal });
|
|
4444
|
+
const statusBody = await status.text();
|
|
4445
|
+
const advertisedRoot = status.headers.get("X-React-Native-Project-Root");
|
|
4446
|
+
if (status.ok && advertisedRoot) return decodeURI(advertisedRoot);
|
|
4447
|
+
if (manifestProjectRoot === null) return null;
|
|
4448
|
+
const metroRunning = status.ok && statusBody.trim() === "packager-status:running";
|
|
4449
|
+
const res = await fetchDevManifest(origin, void 0, { waitMs: null, signal });
|
|
4230
4450
|
let servedManifest = false;
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
if (status.ok && advertisedRoot) return decodeURI(advertisedRoot);
|
|
4236
|
-
metroRunning = status.ok && (await status.text()).trim() === "packager-status:running";
|
|
4237
|
-
const res = await fetch(`${origin}/`, {
|
|
4238
|
-
headers: { "expo-platform": "ios", Accept: "application/json" },
|
|
4239
|
-
signal: controller.signal
|
|
4240
|
-
});
|
|
4241
|
-
if (res.ok) {
|
|
4242
|
-
const manifest = parseExpoManifestBody(await res.text());
|
|
4451
|
+
if (res.ok) {
|
|
4452
|
+
let manifest;
|
|
4453
|
+
try {
|
|
4454
|
+
manifest = parseExpoManifestBody(await res.text());
|
|
4243
4455
|
servedManifest = true;
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
root = typeof root === "object" && root !== null ? Reflect.get(root, key) : void 0;
|
|
4247
|
-
}
|
|
4248
|
-
if (typeof root === "string" && root.length > 0) return root;
|
|
4456
|
+
} catch (error) {
|
|
4457
|
+
if (res.headers.get("content-type")?.includes("json")) throw error;
|
|
4249
4458
|
}
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
}
|
|
4256
|
-
|
|
4459
|
+
let root = manifest;
|
|
4460
|
+
for (const key of ["extra", "expoClient", "_internal", "projectRoot"]) {
|
|
4461
|
+
root = typeof root === "object" && root !== null ? Reflect.get(root, key) : void 0;
|
|
4462
|
+
}
|
|
4463
|
+
if (typeof root === "string" && root.length > 0) return root;
|
|
4464
|
+
} else if (res.status !== 404 && res.status !== 405) {
|
|
4465
|
+
throw new Error(`Metro project root request failed: HTTP ${res.status} at ${origin}/`);
|
|
4257
4466
|
}
|
|
4258
4467
|
if (servedManifest || !metroRunning) return null;
|
|
4259
4468
|
const port = Number(new URL(origin).port);
|
|
@@ -5651,7 +5860,7 @@ function peachPlugin(options = {}) {
|
|
|
5651
5860
|
(error) => res.destroy(error instanceof Error ? error : new Error(String(error)))
|
|
5652
5861
|
);
|
|
5653
5862
|
};
|
|
5654
|
-
const upstreamReq = server.config.server.https ?
|
|
5863
|
+
const upstreamReq = server.config.server.https ? import_node_https2.default.request(options2, respond) : import_node_http3.default.request(options2, respond);
|
|
5655
5864
|
upstreamReq.once("error", next);
|
|
5656
5865
|
req.once("close", () => {
|
|
5657
5866
|
if (!res.writableFinished) upstreamReq.destroy();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
1
|
+
/*! peach v0.1.1700 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
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;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -14,7 +14,7 @@ export declare const SF_PRO_VARIANT_FONT_FAMILY = "SF Pro Variant";
|
|
|
14
14
|
export declare const SF_PRO_ROUNDED_FONT_FAMILY = "SF Pro Rounded";
|
|
15
15
|
export declare const SF_PRO_GRADED_FONT_FAMILY = "SF Pro Graded";
|
|
16
16
|
export declare const SF_COMPACT_FONT_FAMILY = "SF Compact";
|
|
17
|
-
export declare const NEW_YORK_FONT_FAMILY = "
|
|
17
|
+
export declare const NEW_YORK_FONT_FAMILY = ".NewYork";
|
|
18
18
|
export declare const SF_MONO_FONT_FAMILY = "SF Mono";
|
|
19
19
|
export declare const SF_COMPACT_KEYCAP_FONT_FAMILY = ".SFCompact-LightG3";
|
|
20
20
|
export declare const SF_COMPACT_KEYCAP_METRICS: {
|
|
@@ -42,6 +42,7 @@ declare class NodeRegistry {
|
|
|
42
42
|
declare const handleToNode: NodeRegistry;
|
|
43
43
|
export { handleToNode };
|
|
44
44
|
export declare function registerHoistUnlinker(unlinker: (node: SootSimNode) => void): void;
|
|
45
|
+
export declare function registerBackdropGroupSyncer(syncer: (node: SootSimNode, style: Readonly<SootSimStyle> | null) => void): void;
|
|
45
46
|
export declare function registerLottieNodeDisposer(disposer: (node: SootSimNode) => void): void;
|
|
46
47
|
export declare const classicLayoutAnimations: Set<SootSimNode>;
|
|
47
48
|
export declare function releaseDetachedNode(node: SootSimNode | SootSimTextNode): void;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import type { PointerSourceEvent } from '../../../peach-globals/src/index.d.ts';
|
|
1
2
|
export declare class ScrollPanContacts {
|
|
2
3
|
private readonly contacts;
|
|
4
|
+
private lastSourceId;
|
|
3
5
|
x: number;
|
|
4
6
|
y: number;
|
|
5
7
|
get size(): number;
|
|
6
8
|
begin(pointerId: number, x: number, y: number): boolean;
|
|
7
|
-
move(pointerId: number, x: number, y: number):
|
|
9
|
+
move(pointerId: number, x: number, y: number, ignoresStationary: boolean, source?: PointerSourceEvent): 'moved' | 'repeat' | 'unknown';
|
|
8
10
|
end(pointerId: number): boolean;
|
|
9
11
|
clear(): void;
|
|
10
12
|
}
|
|
@@ -54,6 +54,11 @@ export declare function takeLayoutPassScrollEvents(queuedLayoutEvents: boolean):
|
|
|
54
54
|
export declare function sendScrollEvent(dispatch: () => void): void;
|
|
55
55
|
export declare function syncScrollRuntimeContentMetrics(node: SootSimNode): boolean;
|
|
56
56
|
export declare function findScrollViewAncestor(node: SootSimNode): SootSimNode | null;
|
|
57
|
+
export interface ScrollRefreshDispatch {
|
|
58
|
+
shellTriggers: number;
|
|
59
|
+
lastRefusal: 'no-refresh-control' | 'horizontal' | 'holding' | null;
|
|
60
|
+
onRefreshCalls: number;
|
|
61
|
+
}
|
|
57
62
|
export interface ScrollDebugState {
|
|
58
63
|
nodeId: number;
|
|
59
64
|
testID: string | null;
|
|
@@ -106,6 +111,7 @@ export interface ScrollDebugState {
|
|
|
106
111
|
maxZoomScale: number;
|
|
107
112
|
pagingEnabled: boolean;
|
|
108
113
|
refreshHolding: boolean | null;
|
|
114
|
+
refreshDispatch: ScrollRefreshDispatch | null;
|
|
109
115
|
refreshPullProgress: number | null;
|
|
110
116
|
androidEdgeEffect: AndroidEdgeEffectState | null;
|
|
111
117
|
maintainVisibleContentPosition: MaintainVisibleContentPositionConfig | null;
|
|
@@ -192,6 +198,7 @@ export declare class ScrollHandler {
|
|
|
192
198
|
private pageSize;
|
|
193
199
|
private pageDragStartPage;
|
|
194
200
|
private _refreshHolding;
|
|
201
|
+
private refreshDispatch;
|
|
195
202
|
private _refreshHeldByShell;
|
|
196
203
|
private _refreshPullDistance;
|
|
197
204
|
private _lastRefreshingProp;
|
|
@@ -386,7 +386,7 @@ export interface SootSimStyle {
|
|
|
386
386
|
_composeText?: true;
|
|
387
387
|
_androidTextView?: true;
|
|
388
388
|
_androidTextSize?: 'dimension' | 'sp';
|
|
389
|
-
_swiftUILayout?:
|
|
389
|
+
_swiftUILayout?: boolean;
|
|
390
390
|
_swiftUIVerticalGuide?: 'firstTextLineCenter' | 'firstTextBaseline' | 'lastTextBaseline';
|
|
391
391
|
_swiftUIPlatformView?: true;
|
|
392
392
|
_uikitControlContent?: true;
|
|
@@ -442,6 +442,7 @@ export interface SootSimStyle {
|
|
|
442
442
|
_sootsimNativeAnimationId?: number;
|
|
443
443
|
}>;
|
|
444
444
|
backdropFilter?: number;
|
|
445
|
+
_backdropGroupCapture?: string;
|
|
445
446
|
_uiBlurMaterial?: UIBlurMaterialStyle;
|
|
446
447
|
_tenantBlur?: {
|
|
447
448
|
sigma: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const DISPLAY_SERVER_VERSION = 12;
|
|
2
2
|
export declare const DISPLAY_SERVER_MAJOR = 2;
|
|
3
|
-
export declare const DISPLAY_SERVER_MINOR =
|
|
4
|
-
export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire12.
|
|
3
|
+
export declare const DISPLAY_SERVER_MINOR = 27;
|
|
4
|
+
export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire12.minor27";
|
|
5
5
|
export declare const DISPLAY_SERVER_TOKEN_SUBPROTOCOL_PREFIX = "rnx.sim-token.";
|
|
6
6
|
export declare const RNX_CLOUD_DISPLAY_GRANT_TTL_MS: number;
|
|
7
7
|
export declare const RNX_CLOUD_DISPLAY_CLOSE: {
|
|
@@ -31,6 +31,7 @@ export interface ScrollMirrorEntry extends ScrollMirrorOwner {
|
|
|
31
31
|
zoomScale?: number;
|
|
32
32
|
minimumZoomScale?: number;
|
|
33
33
|
maximumZoomScale?: number;
|
|
34
|
+
ignoresStationaryTouches: boolean;
|
|
34
35
|
horizontal: boolean;
|
|
35
36
|
directionalLockEnabled?: boolean;
|
|
36
37
|
axisFlipped?: boolean;
|
|
@@ -146,6 +147,22 @@ export declare function setShellRefreshHold(owner: ScrollMirrorOwner, holding: b
|
|
|
146
147
|
export declare function isShellRefreshHolding(owner: ScrollMirrorOwner): boolean;
|
|
147
148
|
export declare function setShellRefreshPullProgress(owner: ScrollMirrorOwner, progress: number): void;
|
|
148
149
|
export declare function getShellRefreshPullProgress(owner: ScrollMirrorOwner): number;
|
|
150
|
+
export interface ShellRefreshRelease {
|
|
151
|
+
branch: 'ios' | 'android';
|
|
152
|
+
offset: number;
|
|
153
|
+
minOffset: number;
|
|
154
|
+
threshold: number;
|
|
155
|
+
refreshing: boolean;
|
|
156
|
+
allowsOverscroll: boolean;
|
|
157
|
+
posted: boolean;
|
|
158
|
+
}
|
|
159
|
+
export interface ShellRefreshTrace {
|
|
160
|
+
releases: number;
|
|
161
|
+
posts: number;
|
|
162
|
+
last: ShellRefreshRelease | null;
|
|
163
|
+
}
|
|
164
|
+
export declare function recordShellRefreshRelease(owner: ScrollMirrorOwner, release: ShellRefreshRelease): void;
|
|
165
|
+
export declare function getShellRefreshTrace(owner: ScrollMirrorOwner): ShellRefreshTrace | null;
|
|
149
166
|
export declare function setShellAndroidEdgeEffect(owner: ScrollMirrorOwner, effect: AndroidEdgeEffectState | null): void;
|
|
150
167
|
export declare function getShellAndroidEdgeEffect(owner: ScrollMirrorOwner): AndroidEdgeEffectState | null;
|
|
151
168
|
export declare function getShellIosFastScroll(owner: ScrollMirrorOwner): IosFastScroll;
|
|
@@ -3,6 +3,7 @@ import { type ScrollHandler, type ScrollNativeEvent, type ScrollToOffsetOptions,
|
|
|
3
3
|
import { ScrollPanContacts } from '../engine/scroll-pan-contacts.d.ts';
|
|
4
4
|
import { type ScrollDragOrigin } from '../engine/scroll-platform.d.ts';
|
|
5
5
|
import { syncAttachedScrollWriterBaseline } from './scroll-mirror-tenant.d.ts';
|
|
6
|
+
import type { PointerSourceEvent } from '../../../peach-globals/src/index.d.ts';
|
|
6
7
|
export { syncAttachedScrollWriterBaseline };
|
|
7
8
|
export declare function createPressEvent(node: WorkerHostNode, x: number, y: number, type: 'press' | 'pressIn' | 'longPress', pointerId?: number): {
|
|
8
9
|
nativeEvent: {
|
|
@@ -192,7 +193,7 @@ export declare function callHandler(node: WorkerHostNode | null, key: keyof Node
|
|
|
192
193
|
export declare function capturePressRetention(node: SootSimNode | null): ((x: number, y: number) => boolean) | null;
|
|
193
194
|
export declare function isPointWithinNode(node: SootSimNode | null, x: number, y: number, mode?: 'hitSlop' | 'retention'): boolean;
|
|
194
195
|
export declare function beginScrollInteraction(node: WorkerHostNode, x: number, y: number, timestamp?: number, rubberBandCoefficient?: number, pointerId?: number): void;
|
|
195
|
-
export declare function updateScrollInteraction(node: WorkerHostNode, x: number, y: number, _startX: number, _startY: number, timestamp?: number, pointerId?: number): boolean;
|
|
196
|
+
export declare function updateScrollInteraction(node: WorkerHostNode, x: number, y: number, _startX: number, _startY: number, timestamp?: number, pointerId?: number, sourceEvent?: PointerSourceEvent): boolean;
|
|
196
197
|
export declare function endScrollInteraction(node: WorkerHostNode, logPrefix?: string, timestamp?: number, pointerId?: number): void;
|
|
197
198
|
export declare function isScrollInteractionDragging(node: WorkerHostNode | null): boolean;
|
|
198
199
|
export declare function cancelScrollInteraction(node: WorkerHostNode | null, options?: CancelScrollInteractionOptions): void;
|
|
@@ -4,6 +4,7 @@ import { type FocusedInputLayout, type KeyboardAnimationFrameSnapshot } from './
|
|
|
4
4
|
import { type CSSShellHost, type NativeCSSEvent } from './reanimated-css-contract.d.ts';
|
|
5
5
|
import { type ReanimatedAnimationKind, type SharedValuePlayback } from './reanimated-readiness.d.ts';
|
|
6
6
|
import type { NativeRenderer } from '../../../../../src/config.ts';
|
|
7
|
+
import type { WorkletsStaticFlags } from '../../../../../src/packageVersionsContract.ts';
|
|
7
8
|
import type { DemoBundleMode } from '../demo/demo-bundle-platform.d.ts';
|
|
8
9
|
import type { SyncReplyBuffer } from './nativeSyncReplyContract.d.ts';
|
|
9
10
|
import type { SootSimAnimationInfo } from '../../../peach-globals/src/index.d.ts';
|
|
@@ -231,6 +232,7 @@ export interface WorkletHostValueCodec<T extends object, D> {
|
|
|
231
232
|
pack(value: T): D;
|
|
232
233
|
unpack(data: D): T;
|
|
233
234
|
receive?(data: D): void;
|
|
235
|
+
disposeRuntime?(runtime: WorkletRuntime): void;
|
|
234
236
|
}
|
|
235
237
|
export interface WorkletHostValueUpdate {
|
|
236
238
|
codec: string;
|
|
@@ -545,6 +547,7 @@ type WithPeerEpoch<T> = T extends unknown ? T & {
|
|
|
545
547
|
peerEpoch: WorkletPeerEpoch;
|
|
546
548
|
nativeRenderer?: NativeRenderer;
|
|
547
549
|
tenantBundleMode?: DemoBundleMode;
|
|
550
|
+
workletsStaticFlags?: WorkletsStaticFlags | null;
|
|
548
551
|
} : never;
|
|
549
552
|
export type WorkletMessage = WithPeerEpoch<WorkletMessagePayload>;
|
|
550
553
|
export interface WorkletChannel {
|
|
@@ -86,6 +86,7 @@ export interface SootSimCameraBridge {
|
|
|
86
86
|
}>;
|
|
87
87
|
capturePhoto(options?: PeachCameraPhotoOptions): Promise<PeachCameraPhotoResult | null>;
|
|
88
88
|
stopCamera(): Promise<void>;
|
|
89
|
+
stopCameraSession(): Promise<void>;
|
|
89
90
|
startRecording(options: PeachCameraRecordingOptions, onEvent: (event: PeachCameraRecordingEvent) => void): Promise<void>;
|
|
90
91
|
commandRecording(command: PeachCameraRecordingCommand, recordingId?: string): Promise<void>;
|
|
91
92
|
isCameraActive?(): boolean;
|
|
@@ -85,6 +85,7 @@ export interface SootSimReplayPreviewState {
|
|
|
85
85
|
bootSnapshotUrl: string | null;
|
|
86
86
|
bootLoading: boolean;
|
|
87
87
|
flowVideoLoaded: boolean;
|
|
88
|
+
flowVideoNeedsGesture: boolean;
|
|
88
89
|
sceneLoaded: boolean;
|
|
89
90
|
recordingStartedAtMs: number | null;
|
|
90
91
|
surface: 'video' | 'live';
|
|
@@ -18,6 +18,9 @@ export interface PointerDeliveryStats {
|
|
|
18
18
|
recentDrops: PointerDeliveryPendingDrop[];
|
|
19
19
|
}
|
|
20
20
|
export interface SootSimShellHostBridge {
|
|
21
|
+
beginLockstep(epochMs: number): void;
|
|
22
|
+
endLockstep(): void;
|
|
23
|
+
lockstepVsync(now: number): Promise<void>;
|
|
21
24
|
getPointerDeliveryStats(): PointerDeliveryStats;
|
|
22
25
|
getHeartbeatCount(): number;
|
|
23
26
|
getLastHeartbeatAt(): number;
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"1f3d4b48d9b79b8579197585654c7ea6f1a69bcc5f4cb2dad706f31aa88d791b","file":"node/cli-1f3d4b48d9b79b8579197585654c7ea6f1a69bcc5f4cb2dad706f31aa88d791b.cjs"}
|
|
@@ -972,6 +972,10 @@ function applyManifest(
|
|
|
972
972
|
try {
|
|
973
973
|
const manifest = parseExpoManifestBody(manifestRes.body)
|
|
974
974
|
const client = manifest?.extra?.expoClient || manifest?.extra || {}
|
|
975
|
+
const root = client._internal?.projectRoot
|
|
976
|
+
if (manifest?.launchAsset || client.name)
|
|
977
|
+
result.manifestProjectRoot =
|
|
978
|
+
typeof root === 'string' && root.length > 0 ? root : null
|
|
975
979
|
if (client.name) result.projectName = client.name
|
|
976
980
|
if (typeof client.primaryColor === 'string') result.primaryColor = client.primaryColor
|
|
977
981
|
if (client.ios?.bundleIdentifier) result.bundleId = client.ios.bundleIdentifier
|