peachsim 0.1.2123 → 0.1.2124
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/drivers/playwright.ts +30 -13
- 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 +16 -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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +15 -6
- 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 +16 -7
- 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 +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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 +39 -17
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -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 +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/native-animation-driver.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/scene-table.d.ts +1 -1
- package/package.json +1 -1
- package/sdk/ios/wasm/include/string.h +1 -0
- package/src/expo-native-workspace.ts +12 -2
- package/src/nitro-source.ts +5 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2124 | (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.2124 | (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;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2124 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2124 | (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;
|
|
@@ -17026,7 +17026,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
17026
17026
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
17027
17027
|
var MULTI_MANIFEST_VERSION = 68;
|
|
17028
17028
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
17029
|
-
var compilerSourceDigest = true ? "
|
|
17029
|
+
var compilerSourceDigest = true ? "fe948b943ae481f93d9a19d96ceeec7bcc2af470db2892c92e3131e79989df7d" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
17030
17030
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
17031
17031
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
17032
17032
|
hash.update(`swift-compile
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2124 | (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;
|
|
@@ -5403,7 +5403,7 @@ var FOUNDATION_IMPLICIT_MODULES = [
|
|
|
5403
5403
|
var FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
5404
5404
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
5405
5405
|
).join("");
|
|
5406
|
-
var compilerSourceDigest = true ? "
|
|
5406
|
+
var compilerSourceDigest = true ? "fe948b943ae481f93d9a19d96ceeec7bcc2af470db2892c92e3131e79989df7d" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
5407
5407
|
var CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
5408
5408
|
"CFAllocator",
|
|
5409
5409
|
"CFArray",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2124 | (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;
|
|
@@ -34,7 +34,7 @@ export declare function getNativeFrameAnimationGraphForValue(value: NativeAnimat
|
|
|
34
34
|
export declare function setNativeAnimationRemoteReleaseCallback(cb: ((value: AnimatedValue) => void) | null): void;
|
|
35
35
|
export declare function setGraphPresentationFlush(cb: (() => void) | null): (() => void) | null;
|
|
36
36
|
export declare function flushGraphPresentations(): void;
|
|
37
|
-
export declare function setPresentedExternalGraphsPark(
|
|
37
|
+
export declare function setPresentedExternalGraphsPark(parks: (value: AnimatedValue) => boolean): void;
|
|
38
38
|
type ParkableValue = AnimatedValue & {
|
|
39
39
|
_parkedSample: (() => number) | null;
|
|
40
40
|
_setHeldValue(value: number): void;
|
|
@@ -12,6 +12,7 @@ import type { SootSimNodeType, SootSimStyle, SootSimLayout, SootSimTextLayoutLin
|
|
|
12
12
|
import type { SootSimStyleTokenBinding } from '../../../peach-globals/src/index.d.ts';
|
|
13
13
|
import type { Image as SkImage, Path, Shader as SkShader, Vertices as SkVertices } from 'canvaskit-wasm';
|
|
14
14
|
export declare function installFiberDebugMetadataResolver(resolver: FiberDebugResolver): void;
|
|
15
|
+
export declare function isNodeRepublishListener(listener: object): boolean;
|
|
15
16
|
export declare function readAnimatedDriveConsumers(input: object): Set<number> | undefined;
|
|
16
17
|
export declare function readAnimatedDriveInputs(node: SootSimNode): ReadonlySet<object>;
|
|
17
18
|
export declare function reconnectAnimatedDriveConsumersBeforeRead(node: SootSimNode): void;
|
|
@@ -415,8 +415,8 @@ export interface SceneLaneProgram {
|
|
|
415
415
|
readonly glassIndexes: Readonly<Record<string, number>>;
|
|
416
416
|
readonly glassRectIndexes: Readonly<Record<string, number>>;
|
|
417
417
|
readonly glassOpacityIndex: number;
|
|
418
|
-
readonly sdfDisplacementIndexes: Readonly<Record<string, number>>;
|
|
419
418
|
readonly valueReaderIndexes: Readonly<Record<string, number>>;
|
|
419
|
+
readonly nestedReaderIndexes: Readonly<Record<string, Readonly<Record<string, number>>>>;
|
|
420
420
|
}
|
|
421
421
|
export declare function compileSceneLaneProgram(template: Record<string, unknown>, slotIds: readonly number[], foldedGlassKeys?: readonly string[], heldInsets?: readonly string[]): SceneLaneProgram | string;
|
|
422
422
|
export declare const sceneTable: SceneTable;
|
package/package.json
CHANGED
|
@@ -11,6 +11,7 @@ char *strsignal(int __sig) __asm__("__peach_darwin_strsignal");
|
|
|
11
11
|
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
|
|
12
12
|
char *strnstr(const char *__big, const char *__little, size_t __len);
|
|
13
13
|
char *strcasestr(const char *__big, const char *__little);
|
|
14
|
+
int timingsafe_bcmp(const void *__b1, const void *__b2, size_t __len);
|
|
14
15
|
#endif
|
|
15
16
|
#if defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__ >= 1
|
|
16
17
|
#include <sys/_types/_errno_t.h>
|
|
@@ -227,6 +227,8 @@ async function hashWorkspaceInputs(
|
|
|
227
227
|
// a local package that builds no native code does not steer the prepare by
|
|
228
228
|
// its own version, so a release bump of it and of its lockfile entry keeps
|
|
229
229
|
// the prepared workspace. the app keeps its version: expo config reads it.
|
|
230
|
+
// a workspace package the app does not link has no say at all, and the
|
|
231
|
+
// release bumps one on every landing.
|
|
230
232
|
const versionFree = new Set(
|
|
231
233
|
nativeDirectories
|
|
232
234
|
.filter((directory) => directory !== appRelative && directory !== '')
|
|
@@ -238,6 +240,11 @@ async function hashWorkspaceInputs(
|
|
|
238
240
|
)
|
|
239
241
|
.map((directory) => directory.split(path.sep).join('/')),
|
|
240
242
|
)
|
|
243
|
+
const versioned = new Set(
|
|
244
|
+
nativeDirectories
|
|
245
|
+
.map((directory) => directory.split(path.sep).join('/'))
|
|
246
|
+
.filter((directory) => !versionFree.has(directory)),
|
|
247
|
+
)
|
|
241
248
|
const nativeConfigBytes = (posix: string, bytes: Buffer) => {
|
|
242
249
|
const directory = path.posix.dirname(posix)
|
|
243
250
|
if (path.posix.basename(posix) === 'package.json' && versionFree.has(directory)) {
|
|
@@ -246,15 +253,18 @@ async function hashWorkspaceInputs(
|
|
|
246
253
|
}
|
|
247
254
|
if (posix !== 'bun.lock') return bytes
|
|
248
255
|
let entry: string | null = null
|
|
256
|
+
let workspaces = false
|
|
249
257
|
return bytes
|
|
250
258
|
.toString('utf8')
|
|
251
259
|
.split('\n')
|
|
252
260
|
.filter((line) => {
|
|
261
|
+
if (/^ {2}"[^"]+": [{[]$/.test(line)) workspaces = line === ' "workspaces": {'
|
|
253
262
|
const opened = /^ {4}"([^"]+)": \{$/.exec(line)
|
|
254
|
-
if (opened) entry = opened[1] ?? null
|
|
263
|
+
if (workspaces && opened) entry = opened[1] ?? null
|
|
255
264
|
return !(
|
|
265
|
+
workspaces &&
|
|
256
266
|
entry &&
|
|
257
|
-
|
|
267
|
+
!versioned.has(entry) &&
|
|
258
268
|
/^ {6}"version": "[^"]*",$/.test(line)
|
|
259
269
|
)
|
|
260
270
|
})
|
package/src/nitro-source.ts
CHANGED
|
@@ -390,13 +390,17 @@ async function cliAdvertises(
|
|
|
390
390
|
appRoot: string,
|
|
391
391
|
signal?: AbortSignal,
|
|
392
392
|
): Promise<boolean> {
|
|
393
|
-
const { stdout } = await run('node', [cli, ...args], {
|
|
393
|
+
const { stdout, stderr } = await run('node', [cli, ...args], {
|
|
394
394
|
cwd: appRoot,
|
|
395
395
|
signal,
|
|
396
396
|
timeout: 30_000,
|
|
397
397
|
maxBuffer: 1 * 1024 * 1024,
|
|
398
398
|
env: { ...process.env, [PEACH_FORKED_SCRIPT_ENV]: '1' },
|
|
399
399
|
})
|
|
400
|
+
if (!stdout.trim())
|
|
401
|
+
throw new Error(
|
|
402
|
+
`${cli} ${args.join(' ')} returned empty help output${stderr.trim() ? `: ${stderr.trim()}` : ''}`,
|
|
403
|
+
)
|
|
400
404
|
return stdout.includes(token)
|
|
401
405
|
}
|
|
402
406
|
|