peachsim 0.1.1852 → 0.1.1854
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/commands/serve.ts +5 -2
- package/detox/index.ts +34 -5
- 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 +7 -7
- 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 +23 -5
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +2 -2
- 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 +8 -8
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- 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 +8 -8
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +2 -2
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/animated.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/engine/metalShaderContract.d.ts +3 -1
- package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/rn-spring.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/types.d.ts +14 -0
- package/package.json +1 -1
- package/src/cli-runtime.ts +1 -1
- package/src/nitro-adapter.lock.json +281 -281
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +8 -8
- package/src/turbo-runtime.lock.json +21 -21
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1854 | (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;
|
|
@@ -2530,7 +2530,7 @@ function verifyCompanionFile(file) {
|
|
|
2530
2530
|
bytes = (0, import_node_fs3.readFileSync)(file);
|
|
2531
2531
|
} catch (error) {
|
|
2532
2532
|
if (error instanceof Error) {
|
|
2533
|
-
const missing = "code" in error && error.code === "ENOENT" ?
|
|
2533
|
+
const missing = "code" in error && error.code === "ENOENT" ? `; run \`peach runtime install\`, which fetches the companion this CLI published${process.platform === "win32" ? ", and check Windows Security protection history if it repeats" : ""}` : "";
|
|
2534
2534
|
error.message = `Could not read Peach runtime companion ${file}: ${error.message}${missing}`;
|
|
2535
2535
|
}
|
|
2536
2536
|
throw error;
|
|
@@ -11115,7 +11115,7 @@ var device = {
|
|
|
11115
11115
|
input.hold.durationMs
|
|
11116
11116
|
].sort((a, b) => a - b) : [];
|
|
11117
11117
|
const stageOffsetMs = async (offsetMs, anchorId) => {
|
|
11118
|
-
if (anchorId !== "transition" || input.
|
|
11118
|
+
if (anchorId !== "transition" || input.witnessedInput || input.anchorAtTouch === "up")
|
|
11119
11119
|
return offsetMs;
|
|
11120
11120
|
const due = holdScheduleMs.filter((scheduledMs) => scheduledMs <= offsetMs);
|
|
11121
11121
|
while (controller.inputReceipts.length < due.length) {
|
|
@@ -11150,7 +11150,9 @@ var device = {
|
|
|
11150
11150
|
return receipt;
|
|
11151
11151
|
};
|
|
11152
11152
|
const sampleAt = async (stage, anchorReceipt, anchorId, targetMs) => {
|
|
11153
|
-
const sampledRefresh = Boolean(
|
|
11153
|
+
const sampledRefresh = Boolean(
|
|
11154
|
+
input.producerWitness || input.witnessedInput || input.hold
|
|
11155
|
+
);
|
|
11154
11156
|
const receipt = await stepToTime(targetMs, sampledRefresh);
|
|
11155
11157
|
snapshots.push({
|
|
11156
11158
|
actualMs: receipt.virtualTimestampMs - anchorReceipt.virtualTimestampMs,
|
|
@@ -11185,6 +11187,22 @@ var device = {
|
|
|
11185
11187
|
const { anchorId, receipt: anchorReceipt } = await resolveAnchor(stage);
|
|
11186
11188
|
const touchOffsetMs = await stageOffsetMs(stage.offsetMs, anchorId);
|
|
11187
11189
|
if (typeof stage.nativeActualMs === "number") {
|
|
11190
|
+
if (input.anchorAtTouch === "down" && stage.offsetMs === 0 && stage.nativeActualMs < 0 && stage.nativeActualMs >= -1e3 / 60) {
|
|
11191
|
+
const baselineFrame = keptFrames.get(anchorReceipt.frameIndex);
|
|
11192
|
+
if (!baselineFrame || currentReceipt.frameIndex !== anchorReceipt.frameIndex)
|
|
11193
|
+
throw new Error("peach pre-press baseline is unavailable");
|
|
11194
|
+
snapshots.push({
|
|
11195
|
+
actualMs: 0,
|
|
11196
|
+
anchorId,
|
|
11197
|
+
bitmap: await createImageBitmap(baselineFrame.bitmap),
|
|
11198
|
+
frameIndex: baselineFrame.receipt.frameIndex,
|
|
11199
|
+
label: stage.label,
|
|
11200
|
+
offsetMs: stage.offsetMs,
|
|
11201
|
+
virtualTimestampMs: baselineFrame.receipt.virtualTimestampMs,
|
|
11202
|
+
samplingTargetTimestampMs: anchorReceipt.virtualTimestampMs + stage.nativeActualMs
|
|
11203
|
+
});
|
|
11204
|
+
continue;
|
|
11205
|
+
}
|
|
11188
11206
|
await sampleAt(
|
|
11189
11207
|
stage,
|
|
11190
11208
|
anchorReceipt,
|
|
@@ -11345,7 +11363,7 @@ var device = {
|
|
|
11345
11363
|
frame: options.frame ?? null,
|
|
11346
11364
|
anchorAtTouch: options.anchorAtTouch ?? null,
|
|
11347
11365
|
producerWitness: options.producerWitness ?? null,
|
|
11348
|
-
|
|
11366
|
+
witnessedInput: options.witnessedInput === true,
|
|
11349
11367
|
hold: options.hold ?? null,
|
|
11350
11368
|
motionChangeDefinition: proofObserver.motionChangeDefinition,
|
|
11351
11369
|
platform: device.getPlatform(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1854 | (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.1854 | (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;
|
|
@@ -27400,7 +27400,7 @@ function standinSourceDigest(srcDir = __sootsim_import_meta_dirname) {
|
|
|
27400
27400
|
}
|
|
27401
27401
|
return hash.digest("hex");
|
|
27402
27402
|
}
|
|
27403
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
27403
|
+
var STANDIN_SOURCE_DIGEST = true ? "9187c18e7a56dd3fd47466df93a74aaf4347e40a79cd9af2fa25d24773004142" : standinSourceDigest();
|
|
27404
27404
|
|
|
27405
27405
|
// src/swift-standins.ts
|
|
27406
27406
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1854 | (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.1854 | (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;
|