peachsim 0.1.2386 → 0.1.2388
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/flow.ts +5 -5
- package/cli/commands/maestro-generate.ts +1 -1
- package/cli/commands/maestro.ts +2 -2
- package/cli/commands/map.ts +1 -1
- package/cli/commands/preview.ts +2 -2
- package/cli/commands/record.ts +4 -4
- package/cli/commands/stream.ts +1 -1
- package/cli/commands/test.ts +3 -3
- package/cli/commands/upload.ts +3 -3
- package/detox/index.ts +7 -2
- 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 +5 -3
- 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 +4 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +4 -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 +5 -3
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +25 -23
- 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 +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +16 -1
- package/dist-types/packages/peach-globals/src/eventBridgeContract.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/skills/contrast/SKILL.md +3 -4
- package/src/expo-native-workspace.ts +18 -15
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2388 | (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;
|
|
@@ -11547,7 +11547,7 @@ var init_registry = __esm({
|
|
|
11547
11547
|
{
|
|
11548
11548
|
range: ">=4.0.0",
|
|
11549
11549
|
coverage: 0.7,
|
|
11550
|
-
note: "
|
|
11550
|
+
note: "Upstream JavaScript runs unchanged on both platforms. iOS compiles ExpoShareIntentModule.swift and receives shares through `peach defaults write` and `peach open <scheme>://dataUrl=<key>#<type>`. The Android seam implements the Kotlin activity listener, intent drain and event payloads.",
|
|
11551
11551
|
working: "module presence, getShareIntent/hasShareIntent/clearShareIntent shape and sync/async contract, iOS dataUrl store read per fragment with empty and invalid-type paths, no-plugin AppGroupIdentifier-nil onError, Android singleton drain and OnNewIntent live path with text/file ACTION_SEND payloads, task-root launch, reset lifecycle, hook/provider/context initial state, getScheme/getShareExtensionKey/parseShareIntent utils",
|
|
11552
11552
|
missing: "Android has no ACTION_SEND writer (Android native intake is paused), so an Android payload cannot arrive; iOS media shares need the share extension target Peach does not build, so file shares resolve only for paths the app container holds; photo-library identifiers never resolve (entries drop as upstream drops unresolvable assets); content-resolver metadata errors are unreachable"
|
|
11553
11553
|
}
|
|
@@ -68720,6 +68720,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
68720
68720
|
const file = import_node_path68.default.join(directory2, entry.name);
|
|
68721
68721
|
const relative6 = import_node_path68.default.relative(root, file);
|
|
68722
68722
|
if (excluded(relative6, entry.isDirectory())) continue;
|
|
68723
|
+
const firstStep = steps.length;
|
|
68723
68724
|
steps.push(() => hash.update(`${relative6}\0`));
|
|
68724
68725
|
if (entry.isSymbolicLink()) {
|
|
68725
68726
|
const link = `link\0${import_node_fs70.default.readlinkSync(file)}\0`;
|
|
@@ -68730,6 +68731,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
68730
68731
|
} else if (entry.isDirectory()) {
|
|
68731
68732
|
steps.push(() => hash.update("directory\0"));
|
|
68732
68733
|
walk3(file);
|
|
68734
|
+
if (sourceOnly && steps.length === firstStep + 2) steps.length = firstStep;
|
|
68733
68735
|
} else if (entry.isFile()) {
|
|
68734
68736
|
const posix2 = relative6.split(import_node_path68.default.sep).join("/");
|
|
68735
68737
|
if (NATIVE_CONFIG_FILE.test(posix2)) {
|
|
@@ -70442,7 +70444,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
70442
70444
|
servedExpoSwift: () => servedExpoSwift
|
|
70443
70445
|
});
|
|
70444
70446
|
function expoNativeCompilerDigestValue() {
|
|
70445
|
-
return true ? "
|
|
70447
|
+
return true ? "c0a9caa08d93ceace645e91aa241a482f2e38e14d7423cee7a2d4d92a65d1793" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
70446
70448
|
}
|
|
70447
70449
|
function readSources(value) {
|
|
70448
70450
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -93234,7 +93236,7 @@ var init_nitro_superset = __esm({
|
|
|
93234
93236
|
init_nitroContract();
|
|
93235
93237
|
init_swift_standin_digest();
|
|
93236
93238
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
93237
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
93239
|
+
NITRO_COMPILER_DIGEST = true ? "3850bd0ed6a53b6884a892f2931f95bce16c9ebfde267321be9b146a2e7b88e2" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
93238
93240
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
93239
93241
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
93240
93242
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -117264,8 +117266,8 @@ var init_meta = __esm({
|
|
|
117264
117266
|
slug: "record",
|
|
117265
117267
|
navTitle: "record",
|
|
117266
117268
|
title: "peach record",
|
|
117267
|
-
description: "
|
|
117268
|
-
summary: "Video recording captures the app scene during the take and renders a video after stop in an isolated viewer. The render subcommand exports a saved scene stream at 60 fps by default. Use atomic mode for a fixed duration or start and stop around interactions. GIF and PNG capture use atomic mode.
|
|
117269
|
+
description: "create a Recording, render webm/mp4, capture a gif, or sample N png frames",
|
|
117270
|
+
summary: "Video recording captures the app scene during the take and renders a video after stop in an isolated viewer. The render subcommand exports a saved scene stream at 60 fps by default. Use atomic mode for a fixed duration or start and stop around interactions. GIF and PNG capture use atomic mode. Upload a Recording with `peach record upload`; add --live-bundle to include Live. Combined recordings include events and upload automatically. Bundle-bearing `live` and `combined` uploads reuse the bundle-derived URL when the same app is recorded again. `--three` films a flow on the 3D device stage: the flow runs at full speed on the flat canvas while the screen is captured, then the capture plays back on the 3D phone under a camera script and the stage is saved as a clip; stage decor takes the same flags as `peach mode three configure`. Recording needs a signed-in account: `peach login` or PEACH_API_KEY.",
|
|
117269
117271
|
order: 60,
|
|
117270
117272
|
usage: [
|
|
117271
117273
|
"peach record [options]",
|
|
@@ -117285,7 +117287,7 @@ var init_meta = __esm({
|
|
|
117285
117287
|
),
|
|
117286
117288
|
option(
|
|
117287
117289
|
"--mode <kind>",
|
|
117288
|
-
"video | live | combined (default: video). live captures the event stream; combined captures both and uploads automatically.
|
|
117290
|
+
"video | live | combined (default: video). live captures the event stream; combined captures both and uploads automatically. live/combined upload to /preview/<id> whose id is bundle-derived, so re-recording the same app overwrites the previous Recording"
|
|
117289
117291
|
),
|
|
117290
117292
|
option(
|
|
117291
117293
|
"--duration <seconds>",
|
|
@@ -117330,7 +117332,7 @@ var init_meta = __esm({
|
|
|
117330
117332
|
option("--shell-only", "record only the shell chrome"),
|
|
117331
117333
|
option(
|
|
117332
117334
|
"--open",
|
|
117333
|
-
"open the uploaded
|
|
117335
|
+
"open the uploaded Recording in the browser after stop (live/combined)"
|
|
117334
117336
|
),
|
|
117335
117337
|
option("--sim <sim>", "target a specific sim"),
|
|
117336
117338
|
option(
|
|
@@ -117339,7 +117341,7 @@ var init_meta = __esm({
|
|
|
117339
117341
|
),
|
|
117340
117342
|
option(
|
|
117341
117343
|
"--owner <org>",
|
|
117342
|
-
"associate live/combined
|
|
117344
|
+
"associate live/combined Recordings with a linked org repo; pass with --repo"
|
|
117343
117345
|
),
|
|
117344
117346
|
option(
|
|
117345
117347
|
"--repo <repo>",
|
|
@@ -117360,7 +117362,7 @@ var init_meta = __esm({
|
|
|
117360
117362
|
example("peach record --frames 10 --output ./frames/"),
|
|
117361
117363
|
example(
|
|
117362
117364
|
"peach record --mode combined --duration 8 --open --owner my-org --repo my-app",
|
|
117363
|
-
"capture video + events and upload a repo-associated
|
|
117365
|
+
"capture video + events and upload a repo-associated Recording"
|
|
117364
117366
|
),
|
|
117365
117367
|
example(
|
|
117366
117368
|
"peach record start --format mp4",
|
|
@@ -117368,7 +117370,7 @@ var init_meta = __esm({
|
|
|
117368
117370
|
),
|
|
117369
117371
|
example(
|
|
117370
117372
|
"peach record start --mode combined",
|
|
117371
|
-
"start a
|
|
117373
|
+
"start a Recording with events and video"
|
|
117372
117374
|
),
|
|
117373
117375
|
example(
|
|
117374
117376
|
"peach record prelude-start",
|
|
@@ -118399,8 +118401,8 @@ var init_meta = __esm({
|
|
|
118399
118401
|
slug: "preview",
|
|
118400
118402
|
navTitle: "preview",
|
|
118401
118403
|
title: "peach preview",
|
|
118402
|
-
description: "publish an Expo export or bundle as a
|
|
118403
|
-
summary: "Uploads a prebuilt Metro or One Rolldown JavaScript bundle, including the output of `npx expo export --no-bytecode` (a dist directory or a single exported .js bundle with its hashed assets). Publishes an immutable
|
|
118404
|
+
description: "publish an Expo export or bundle as a Build",
|
|
118405
|
+
summary: "Uploads a prebuilt Metro or One Rolldown JavaScript bundle, including the output of `npx expo export --no-bytecode` (a dist directory or a single exported .js bundle with its hashed assets). Publishes an immutable Build using your account or API key and prints its link and artifact receipt. A Build starts private: only signed-in members of your account can open it until you turn on **Public link** in its share menu.",
|
|
118404
118406
|
order: 101,
|
|
118405
118407
|
usage: ["peach preview <dist|bundle> [--platform ios|android] [--open] [--json]"],
|
|
118406
118408
|
options: [
|
|
@@ -118408,8 +118410,8 @@ var init_meta = __esm({
|
|
|
118408
118410
|
"--platform ios|android",
|
|
118409
118411
|
"select the viewer device platform, defaults to ios"
|
|
118410
118412
|
),
|
|
118411
|
-
option("--open", "open the published
|
|
118412
|
-
option("--json", "print the
|
|
118413
|
+
option("--open", "open the published Build in a browser"),
|
|
118414
|
+
option("--json", "print the Build link and artifact receipt as JSON")
|
|
118413
118415
|
],
|
|
118414
118416
|
examples: [
|
|
118415
118417
|
example(
|
|
@@ -118567,7 +118569,7 @@ var init_meta = __esm({
|
|
|
118567
118569
|
slug: "box",
|
|
118568
118570
|
navTitle: "box",
|
|
118569
118571
|
title: "peach box",
|
|
118570
|
-
|
|
118572
|
+
hidden: true,
|
|
118571
118573
|
description: "start a local Box or create a cloud Box",
|
|
118572
118574
|
summary: "A Box is an environment holding the project filesystem, a shell, peach tools, a bundler, an app server, and a simulator. Bare `peach box` is intentionally local: it mounts the current checkout at /project and enters a shell with ls, cat, find, rg, sed, pipes and redirects, plus peach itself registered as a shell command. Writes go straight to the checkout, and the local Box never creates a second copy of the project. `peach box create` imports the Git-tracked checkout through the configured cloud Box service, prints the Box identity and available live URL, then enters its shell. Add `--json` to return the created identity without opening a shell. `peach box create --env-file <file>` hands the Box credentials such as an app login: every Box shell, the agent\u2019s included, starts with them as variables, and output shows `$NAME` in place of each value. `peach box create --bundle <file>` creates a Box from an app that is already built instead: the bundle is the whole project, the Box records that it holds one, and its page boots that bundle rather than building anything, so the simulator paints without waiting for a build. `peach box connect <id-or-name>` attaches to a Box that already exists, from any machine: your account resolves the name and hands back the Box\u2019s own reference, so the CLI never stores a Box token. `peach box open <id-or-name>` opens that Box in your browser, so you can watch its terminal and its simulator while an agent works in it. `peach box use <id-or-name>` targets a Box from every box command: connect, open, stop and delete act on it whenever you name none, and `peach box use` with no name prints the Box they target. `peach box ls` lists the cloud Boxes running on your account, and never starts one. `peach box stop <id-or-name>` ends a Box and its billing while keeping its files; `peach box delete <id-or-name>` also wipes them. `peach box send` sends the app running in your local dev server to a Box and prints the URL to watch it on.",
|
|
118573
118575
|
order: 97,
|
|
@@ -119392,8 +119394,8 @@ var init_meta = __esm({
|
|
|
119392
119394
|
"--test-output-dir <dir>",
|
|
119393
119395
|
"save flow artifacts and result JSON here; result JSON defaults to --out or /tmp/peach-recordings"
|
|
119394
119396
|
),
|
|
119395
|
-
option("--preview", "
|
|
119396
|
-
option("--preview-open", "open the uploaded
|
|
119397
|
+
option("--preview", "upload a Recording of events and video and print its link"),
|
|
119398
|
+
option("--preview-open", "open the uploaded Recording after a successful run"),
|
|
119397
119399
|
option("--slow <ms>", "delay between flow steps for natural pacing"),
|
|
119398
119400
|
option("--new", "force a fresh sim for this run"),
|
|
119399
119401
|
option("--headed", "watch the run in a fresh visible window"),
|
|
@@ -119410,7 +119412,7 @@ var init_meta = __esm({
|
|
|
119410
119412
|
"with init, scaffold a Detox config and sample test instead of a flow"
|
|
119411
119413
|
),
|
|
119412
119414
|
option("--list-compat", "print supported and unsupported Maestro verbs"),
|
|
119413
|
-
option("--cloud", "
|
|
119415
|
+
option("--cloud", "run the bundle and suite in the cloud and create a Recording"),
|
|
119414
119416
|
option("--origin <url>", "use a specific Peach API origin"),
|
|
119415
119417
|
option("--poll-interval <ms>", "set the hosted result polling interval"),
|
|
119416
119418
|
option(
|
|
@@ -119559,7 +119561,7 @@ var init_meta = __esm({
|
|
|
119559
119561
|
navTitle: "auth",
|
|
119560
119562
|
title: "peach auth",
|
|
119561
119563
|
description: "inspect active CLI auth",
|
|
119562
|
-
summary: "Print the auth source the CLI will use, and for a desktop session the account that remote simulators
|
|
119564
|
+
summary: "Print the auth source the CLI will use, and for a desktop session the account that remote simulators bill to. An API key comes from PEACH_API_KEY or the one `peach setup` saved. Use `peach login` and `peach logout` for the browser-backed desktop session.",
|
|
119563
119565
|
order: 190,
|
|
119564
119566
|
usage: ["peach auth", "peach auth key create [--label <name>]"],
|
|
119565
119567
|
options: [
|
|
@@ -119577,7 +119579,7 @@ var init_meta = __esm({
|
|
|
119577
119579
|
slug: "login",
|
|
119578
119580
|
navTitle: "login",
|
|
119579
119581
|
title: "peach login",
|
|
119580
|
-
description: "sign in
|
|
119582
|
+
description: "sign in to publish Builds and Recordings",
|
|
119581
119583
|
summary: "Sign in with the browser-backed desktop session so uploads and App Store screenshot capture can attach to your account. Local development origins use the dev-login fast path; CI should pass PEACH_API_KEY instead.",
|
|
119582
119584
|
order: 191,
|
|
119583
119585
|
usage: ["peach login [--origin <url>] [--account <name-or-id>]"],
|
|
@@ -119588,7 +119590,7 @@ var init_meta = __esm({
|
|
|
119588
119590
|
),
|
|
119589
119591
|
option(
|
|
119590
119592
|
"--account <name-or-id>",
|
|
119591
|
-
"the account remote simulators
|
|
119593
|
+
"the account remote simulators bill to. With one account it is chosen for you; with several, an interactive login asks and a non-interactive one needs this flag"
|
|
119592
119594
|
)
|
|
119593
119595
|
],
|
|
119594
119596
|
examples: [
|
|
@@ -123994,7 +123996,7 @@ async function runStreamCommand(args, opts = {}) {
|
|
|
123994
123996
|
});
|
|
123995
123997
|
writeSecureJsonAtomic(file, record5);
|
|
123996
123998
|
removeRecord = () => (0, import_node_fs148.rmSync)(file, { force: true });
|
|
123997
|
-
console.log(` ${record5.watchUrl}`);
|
|
123999
|
+
console.log(` simulator: ${record5.watchUrl}`);
|
|
123998
124000
|
console.log(" Press Ctrl+C to stop streaming.");
|
|
123999
124001
|
await new Promise((resolve14) => {
|
|
124000
124002
|
const finish = () => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2388 | (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.2388 | (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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2388 | (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.2388 | (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.2388 | (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.2388 | (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.2388 | (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/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2388 | (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.2388 | (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;
|
|
@@ -305,7 +305,7 @@ export declare function resolveNamedMetroAssetUri(assetName: string): {
|
|
|
305
305
|
height: number;
|
|
306
306
|
scale: number;
|
|
307
307
|
} | null;
|
|
308
|
-
export declare function initImageLoader(ck: CanvasKit, onImageLoaded: (uri: string | null, needsRender: boolean, node?: SootSimNode | null) => void, onLiveFrameConsumed?: (channelId: string) => void): void;
|
|
308
|
+
export declare function initImageLoader(ck: CanvasKit, onImageLoaded: (uri: string | null, needsRender: boolean, node?: SootSimNode | null) => void, onLiveFrameConsumed?: (channelId: string) => void, reachesWindow?: (node: SootSimNode, batch?: Map<SootSimNode, Set<SootSimNode>>) => boolean): void;
|
|
309
309
|
export declare function setImageLifecycleEventSink(sink: typeof _onImageLifecycleEvent): void;
|
|
310
310
|
export declare function getCachedImage(cacheKey: string): SkImage | null;
|
|
311
311
|
export declare function getCachedImageEntry(cacheKey: string): CachedImageEntry | null;
|
|
@@ -350,7 +350,7 @@ export declare const queuedImageLoads: Set<SootSimNode>;
|
|
|
350
350
|
export declare function queueImageLoad(node: SootSimNode): void;
|
|
351
351
|
export declare function kickQueuedImageLoads(): void;
|
|
352
352
|
export declare function hasImageLoadInFlight(root?: SootSimNode): boolean;
|
|
353
|
-
export declare function loadImageForNode(node: SootSimNode, ctx?: RenderContext): void;
|
|
353
|
+
export declare function loadImageForNode(node: SootSimNode, ctx?: RenderContext, windowNodes?: Map<SootSimNode, Set<SootSimNode>>): void;
|
|
354
354
|
export declare function drawsLiveImage(node: SootSimNode): boolean;
|
|
355
355
|
export declare function touchPaintedImage(node: SootSimNode, ctx: RenderContext): void;
|
|
356
356
|
export declare function releaseDetachedSubtreeImages(root: SootSimNode, releasePixels: boolean): void;
|
|
@@ -105,6 +105,7 @@ export type CanvasMapScreen = {
|
|
|
105
105
|
bg?: string;
|
|
106
106
|
deviceModel?: string;
|
|
107
107
|
statusBarHeight?: number;
|
|
108
|
+
subtleShadow?: boolean;
|
|
108
109
|
cornerRadius?: number;
|
|
109
110
|
dynamicIsland?: {
|
|
110
111
|
width: number;
|
|
@@ -125,13 +126,26 @@ export type CanvasMapSection = {
|
|
|
125
126
|
screenIds: string[];
|
|
126
127
|
sectionIds: string[];
|
|
127
128
|
};
|
|
129
|
+
outline?: 'bounds';
|
|
130
|
+
dragFromBody?: boolean;
|
|
131
|
+
fitInsets?: {
|
|
132
|
+
horizontal: number;
|
|
133
|
+
top: number;
|
|
134
|
+
bottom: number;
|
|
135
|
+
};
|
|
128
136
|
};
|
|
137
|
+
type CanvasMapRect = Pick<CanvasMapSection, 'x' | 'y' | 'width' | 'height'>;
|
|
138
|
+
export declare function expandCanvasMapBounds(bounds: CanvasMapRect, member: CanvasMapRect, insets: NonNullable<CanvasMapSection['fitInsets']>): CanvasMapRect;
|
|
139
|
+
export declare function canvasMapSectionBounds(section: CanvasMapSection, sections: readonly CanvasMapSection[], movingId?: string): CanvasMapRect;
|
|
129
140
|
export type CanvasMapGroupMove = {
|
|
130
141
|
sectionId: string;
|
|
131
142
|
x: number;
|
|
132
143
|
y: number;
|
|
133
144
|
rev?: number;
|
|
145
|
+
dragging?: true;
|
|
134
146
|
};
|
|
147
|
+
type SectionHitArea = Pick<CanvasMapSection, 'id' | 'title' | 'x' | 'y' | 'width' | 'height' | 'dragFromBody'>;
|
|
148
|
+
export declare function canvasMapSectionAt(sections: readonly SectionHitArea[], x: number, y: number, zoom: number, labelSize: number): SectionHitArea | undefined;
|
|
135
149
|
export type CanvasMapEdge = {
|
|
136
150
|
from: string;
|
|
137
151
|
to: string;
|
|
@@ -209,7 +223,7 @@ export type CanvasMapCommand = 'fit' | 'actual-size' | {
|
|
|
209
223
|
kind: 'enter';
|
|
210
224
|
screenId: string | null;
|
|
211
225
|
};
|
|
212
|
-
export declare function canvasMapEdgePath(from: CanvasMapScreen, to: CanvasMapScreen): string;
|
|
226
|
+
export declare function canvasMapEdgePath(from: Pick<CanvasMapScreen, 'x' | 'y' | 'width' | 'height'>, to: Pick<CanvasMapScreen, 'x' | 'y' | 'height'>): string;
|
|
213
227
|
export declare function getCanvasMapData(): CanvasMapData;
|
|
214
228
|
export declare function subscribeCanvasMapData(listener: () => void): () => void;
|
|
215
229
|
export declare function setCanvasMapData(next: CanvasMapData): void;
|
|
@@ -225,3 +239,4 @@ export declare function reportCanvasMapMove(move: {
|
|
|
225
239
|
}): void;
|
|
226
240
|
export declare function reportCanvasMapGroupMove(move: CanvasMapGroupMove): void;
|
|
227
241
|
export declare function reportCanvasMapEntered(screenId: string | null): void;
|
|
242
|
+
export {};
|
|
@@ -94,6 +94,7 @@ export type SootsimColorScheme = 'light' | 'dark' | 'auto';
|
|
|
94
94
|
export type SootsimTopOverlayKind = 'none' | 'notification-center' | 'control-center';
|
|
95
95
|
export interface SootsimEventMap {
|
|
96
96
|
'peach:device-frame-layout': void;
|
|
97
|
+
'peach:fit-device-screen': boolean;
|
|
97
98
|
'sootsim:goHome': null;
|
|
98
99
|
'sootsim:appSwitcher': null;
|
|
99
100
|
'sootsim:toggleLock': null;
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/node-runtime.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"archiveSha256":"
|
|
1
|
+
{"abi":1,"archiveSha256":"fa50b9798d2448d9685106ad899c0d7d66b014adf3250935d4fd0e1278fc1bb3","entrySha256":"40917e91e74473968dc8d74ea73ecdd5bf66fd21289b6ed10697bfa5acbdc318"}
|
package/package.json
CHANGED
package/skills/contrast/SKILL.md
CHANGED
|
@@ -21,7 +21,7 @@ automation, inspecting the render tree, and managing sims.
|
|
|
21
21
|
| --- | --- |
|
|
22
22
|
| `peach test` | run Maestro flows or Detox suites, author flows, and run them in the cloud |
|
|
23
23
|
| `peach cleanup` | inspect and reclaim local peach disk usage |
|
|
24
|
-
| `peach record` |
|
|
24
|
+
| `peach record` | create a Recording, render webm/mp4, capture a gif, or sample N png frames |
|
|
25
25
|
| `peach storage` | manage guest app storage and launch profiles |
|
|
26
26
|
| `peach permissions` | inspect and change simulated operating-system permissions |
|
|
27
27
|
| `peach location` | control the simulator's simulated device location |
|
|
@@ -46,13 +46,12 @@ automation, inspecting the render tree, and managing sims.
|
|
|
46
46
|
| `peach debug` | drive __sootsimDebug: channels, snapshots, and inspectors |
|
|
47
47
|
| `peach what-happened` | show recent semantic events: toasts, keyboards, screens, alerts, fetches, errors |
|
|
48
48
|
| `peach timeline` | control the semantic event timeline (enable opt-in kinds, clear, dump) |
|
|
49
|
-
| `peach box` | start a local Box or create a cloud Box |
|
|
50
49
|
| `peach ios` | start an iOS simulator |
|
|
51
50
|
| `peach android` | start an Android simulator |
|
|
52
51
|
| `peach stream` | stream an open simulator to your team |
|
|
53
52
|
| `peach remote` | run your app on a remote simulator |
|
|
54
53
|
| `peach open` | run a React Native, Swift or Android app in the simulator |
|
|
55
|
-
| `peach preview` | publish an Expo export or bundle as a
|
|
54
|
+
| `peach preview` | publish an Expo export or bundle as a Build |
|
|
56
55
|
| `peach package` | package one app as a standalone macOS app |
|
|
57
56
|
| `peach map` | capture screens tied to routes and publish the branch map |
|
|
58
57
|
| `peach canvas` | lay out live apps and maps of an app on one canvas |
|
|
@@ -74,7 +73,7 @@ automation, inspecting the render tree, and managing sims.
|
|
|
74
73
|
| `peach serve` | run the peach bridge in the foreground |
|
|
75
74
|
| `peach runtime` | manage engine runtimes under ~/.peach/runtimes/ |
|
|
76
75
|
| `peach auth` | inspect active CLI auth |
|
|
77
|
-
| `peach login` | sign in
|
|
76
|
+
| `peach login` | sign in to publish Builds and Recordings |
|
|
78
77
|
| `peach logout` | clear the local desktop auth session |
|
|
79
78
|
| `peach config` | manage local CLI preferences |
|
|
80
79
|
|
|
@@ -6,32 +6,32 @@ import { createRequire } from 'node:module'
|
|
|
6
6
|
import os from 'node:os'
|
|
7
7
|
import path from 'node:path'
|
|
8
8
|
import { promisify } from 'node:util'
|
|
9
|
-
import { detectPackageManager } from '../cli/commands/detect'
|
|
10
|
-
import { teamMachineInstalled } from './admitted-mac-build'
|
|
9
|
+
import { detectPackageManager } from '../cli/commands/detect.ts'
|
|
10
|
+
import { teamMachineInstalled } from './admitted-mac-build.ts'
|
|
11
11
|
import {
|
|
12
12
|
untrackedIgnored,
|
|
13
13
|
workspaceExclusion,
|
|
14
14
|
type WorkspaceExclusion,
|
|
15
|
-
} from './expo-workspace-exclusion'
|
|
16
|
-
import { withoutGitRepositoryEnv } from './git-repo-env'
|
|
17
|
-
import { cacheDir } from './home-paths'
|
|
18
|
-
import { failedOutputLine } from './native-failure-output'
|
|
19
|
-
import { requireNativeGit } from './native-git'
|
|
20
|
-
import { prepareOneSDKSources } from './one-sdk-preparation'
|
|
21
|
-
import { portableExpoWorkspace } from './portable-expo-workspace'
|
|
15
|
+
} from './expo-workspace-exclusion.ts'
|
|
16
|
+
import { withoutGitRepositoryEnv } from './git-repo-env.ts'
|
|
17
|
+
import { cacheDir } from './home-paths.ts'
|
|
18
|
+
import { failedOutputLine } from './native-failure-output.ts'
|
|
19
|
+
import { requireNativeGit } from './native-git.ts'
|
|
20
|
+
import { prepareOneSDKSources } from './one-sdk-preparation.ts'
|
|
21
|
+
import { portableExpoWorkspace } from './portable-expo-workspace.ts'
|
|
22
22
|
import {
|
|
23
23
|
reapRetiredCacheDirectory,
|
|
24
24
|
removeRetiredDirectory,
|
|
25
|
-
} from './retired-cache-directory'
|
|
26
|
-
import { compiledSwiftHelper } from './swift-helper'
|
|
25
|
+
} from './retired-cache-directory.ts'
|
|
26
|
+
import { compiledSwiftHelper } from './swift-helper.ts'
|
|
27
27
|
import {
|
|
28
28
|
withCocoaPodsCacheLock,
|
|
29
29
|
withSwiftRootLock,
|
|
30
30
|
type SwiftRootLease,
|
|
31
|
-
} from './swift-root-lock'
|
|
32
|
-
import { sharedCacheDir } from './swift-toolchain'
|
|
33
|
-
import { findWorkspaceRoot } from './workspace-root'
|
|
34
|
-
import { resolveXcodeSwiftPackages, selectXcodeWorkspace } from './xcode-project'
|
|
31
|
+
} from './swift-root-lock.ts'
|
|
32
|
+
import { sharedCacheDir } from './swift-toolchain.ts'
|
|
33
|
+
import { findWorkspaceRoot } from './workspace-root.ts'
|
|
34
|
+
import { resolveXcodeSwiftPackages, selectXcodeWorkspace } from './xcode-project.ts'
|
|
35
35
|
|
|
36
36
|
// install scripts that write git hooks must never reach the user's global hooks path
|
|
37
37
|
const isolatedGitEnv = {
|
|
@@ -338,6 +338,7 @@ async function walkWorkspaceInputs(
|
|
|
338
338
|
const file = path.join(directory, entry.name)
|
|
339
339
|
const relative = path.relative(root, file)
|
|
340
340
|
if (excluded(relative, entry.isDirectory())) continue
|
|
341
|
+
const firstStep = steps.length
|
|
341
342
|
steps.push(() => hash.update(`${relative}\0`))
|
|
342
343
|
if (entry.isSymbolicLink()) {
|
|
343
344
|
const link = `link\0${fs.readlinkSync(file)}\0`
|
|
@@ -348,6 +349,8 @@ async function walkWorkspaceInputs(
|
|
|
348
349
|
} else if (entry.isDirectory()) {
|
|
349
350
|
steps.push(() => hash.update('directory\0'))
|
|
350
351
|
walk(file)
|
|
352
|
+
// a podspec can need a working directory before the app has an ios project.
|
|
353
|
+
if (sourceOnly && steps.length === firstStep + 2) steps.length = firstStep
|
|
351
354
|
} else if (entry.isFile()) {
|
|
352
355
|
const posix = relative.split(path.sep).join('/')
|
|
353
356
|
if (NATIVE_CONFIG_FILE.test(posix)) {
|