peachsim 0.1.2608 → 0.1.2609
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-provisioning.ts +4 -1
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +2 -2
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-4QDEL7IO.mjs → acorn-P6Q3SN6U.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-JIW4PICV.mjs → chunk-2UJG76LY.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-H3QASOKR.mjs → chunk-3LX34QVB.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-3DUFAH5J.mjs → chunk-3MJN4KBR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-ZFI5OF6U.mjs → chunk-4HCHYS5S.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-YBMBAXAZ.mjs → chunk-5V7JOQMI.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-VICI67J5.mjs → chunk-62CUUMJF.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-NXG27NGU.mjs → chunk-7JYSTMRO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4C57RZXG.mjs → chunk-CJLXAXGU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-UHYHEJ3N.mjs → chunk-D44BCQPZ.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-X6CONUT6.mjs → chunk-DN4RY4ZO.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GPPOU5DO.mjs → chunk-FIUWBFDV.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-RTXAZMTP.mjs → chunk-FOM5H3FB.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-7KU5ROOE.mjs → chunk-GJZ2ROIK.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-F2FHFORX.mjs → chunk-IHK4FK5A.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-W5EHCHDD.mjs → chunk-L4ATOCRX.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-KNCWQQZG.mjs → chunk-LSNKOL3L.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-F724FZHJ.mjs → chunk-MF7HNQ5K.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-RZLGVWHK.mjs → chunk-PKXGC5OZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-R25MOOFS.mjs → chunk-T554RY2B.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IKFFQXJN.mjs → chunk-UMKSCALR.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-BEWJL2LY.mjs → chunk-VHBBOWKT.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-IJX7PBNG.mjs → chunk-ZUBTL7EH.mjs} +1 -1
- package/dist-lib/esm-chunks/{metro-layout-parser-YWPJI3L6.mjs → metro-layout-parser-7VIYXTX3.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-MWTLCMQD.mjs → swift-package-prebuilt-GNRGNGKJ.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-PF5QMK5X.mjs → swift-sdk-app-module-QMYD4WKD.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-5IMAACRF.mjs → swift-sdk-image-LUAWELUR.mjs} +14 -14
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-JPIJI25U.mjs → swift-sdk-image-producer-A4Y2EYPV.mjs} +4 -4
- 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 +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +72 -71
- 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 +2 -2
- 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/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +16 -16
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +81 -81
- package/dist-lib/public-origins-lib.json +64 -64
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +8 -8
- package/dist-lib/skills.cjs +73 -72
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +6 -6
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +13 -0
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +3 -0
- package/package.json +1 -1
- package/src/agent-prompt.ts +15 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2609 | (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
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __commonJS = (cb, mod) => function __require() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2609 | (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
|
|
|
4
4
|
// ../../node_modules/valibot/dist/index.cjs
|
package/dist-lib/vendor/ws.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2609 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
package/dist-lib/vendor/zod.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2609 | (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 __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2609 | (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,12 +1,12 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2609 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
parse
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-FIUWBFDV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
__privateAdd,
|
|
7
7
|
__privateGet,
|
|
8
8
|
__publicField
|
|
9
|
-
} from "./esm-chunks/chunk-
|
|
9
|
+
} from "./esm-chunks/chunk-4HCHYS5S.mjs";
|
|
10
10
|
|
|
11
11
|
// src/worklet-kernel.ts
|
|
12
12
|
var Unsupported = class extends Error {
|
|
@@ -52,6 +52,7 @@ export type CanvasMapTheme = {
|
|
|
52
52
|
label: string;
|
|
53
53
|
textMuted: string;
|
|
54
54
|
accent: string;
|
|
55
|
+
brand: string;
|
|
55
56
|
danger: string;
|
|
56
57
|
};
|
|
57
58
|
export type CanvasMapScreenStatus = 'ready' | 'pending' | 'live-render' | 'error';
|
|
@@ -227,6 +228,7 @@ export type CanvasMapCommentAction = {
|
|
|
227
228
|
export type CanvasMapData = {
|
|
228
229
|
agents?: CanvasMapAgent[];
|
|
229
230
|
author?: CanvasMapPerson;
|
|
231
|
+
comments?: CanvasMapComment[];
|
|
230
232
|
rev?: number;
|
|
231
233
|
acknowledgeOnCommit?: boolean;
|
|
232
234
|
screens: CanvasMapScreen[];
|
|
@@ -338,6 +340,13 @@ export type CanvasMapCommand = 'fit' | 'actual-size' | 'zoom-in' | 'zoom-out' |
|
|
|
338
340
|
} | {
|
|
339
341
|
kind: 'drive';
|
|
340
342
|
screenId: string | null;
|
|
343
|
+
} | {
|
|
344
|
+
kind: 'note-saved';
|
|
345
|
+
localId: string;
|
|
346
|
+
commentId: string;
|
|
347
|
+
} | {
|
|
348
|
+
kind: 'open-comment';
|
|
349
|
+
commentId: string;
|
|
341
350
|
} | {
|
|
342
351
|
kind: 'note-sent';
|
|
343
352
|
localId: string;
|
|
@@ -381,6 +390,7 @@ export type CanvasNoteElement = {
|
|
|
381
390
|
frame: CanvasNoteRect;
|
|
382
391
|
name: string;
|
|
383
392
|
summary: string;
|
|
393
|
+
anchor: CanvasNoteAnchor | null;
|
|
384
394
|
};
|
|
385
395
|
export type CanvasMapNotePick = {
|
|
386
396
|
requestId: number;
|
|
@@ -394,6 +404,8 @@ export type CanvasMapNotePick = {
|
|
|
394
404
|
export type CanvasMapNote = {
|
|
395
405
|
localId: string;
|
|
396
406
|
screenId: string;
|
|
407
|
+
mark: CanvasNoteMark;
|
|
408
|
+
anchor: CanvasNoteAnchor | null;
|
|
397
409
|
note: CanvasAgentNote;
|
|
398
410
|
};
|
|
399
411
|
export declare function canvasMapEdgePath(from: Pick<CanvasMapScreen, 'x' | 'y' | 'width' | 'height'>, to: Pick<CanvasMapScreen, 'x' | 'y' | 'height'>): string;
|
|
@@ -441,6 +453,7 @@ export declare function reportCanvasMapDriven(screenId: string | null, instanceI
|
|
|
441
453
|
export declare function reportCanvasMapEntered(screenId: string | null, instanceId: string | null): void;
|
|
442
454
|
export declare function reportCanvasMapNotePick(pick: CanvasMapNotePick): void;
|
|
443
455
|
export declare function reportCanvasMapNote(note: CanvasMapNote): void;
|
|
456
|
+
export declare function reportCanvasMapComment(comment: CanvasMapCommentAction): void;
|
|
444
457
|
export type CanvasMapStroke = {
|
|
445
458
|
points: {
|
|
446
459
|
x: number;
|
|
@@ -724,6 +724,9 @@ export type WorkerToHost = {
|
|
|
724
724
|
} | {
|
|
725
725
|
type: 'canvasMapNote';
|
|
726
726
|
note: import('../ios/apps/canvas-map-data.d.ts').CanvasMapNote;
|
|
727
|
+
} | {
|
|
728
|
+
type: 'canvasMapComment';
|
|
729
|
+
comment: import('../ios/apps/canvas-map-data.d.ts').CanvasMapCommentAction;
|
|
727
730
|
} | {
|
|
728
731
|
type: 'canvasMapStroke';
|
|
729
732
|
stroke: import('../ios/apps/canvas-map-data.d.ts').CanvasMapStroke;
|
package/package.json
CHANGED
package/src/agent-prompt.ts
CHANGED
|
@@ -7,7 +7,12 @@ import type {
|
|
|
7
7
|
type InspectRect = { x: number; y: number; width: number; height: number }
|
|
8
8
|
|
|
9
9
|
/** an inspected element as note lines, read alike from a canvas pick and an agent's own lookup */
|
|
10
|
-
export type InspectElement = {
|
|
10
|
+
export type InspectElement = {
|
|
11
|
+
frame: InspectRect
|
|
12
|
+
name: string
|
|
13
|
+
summary: string
|
|
14
|
+
anchor: CanvasNoteAnchor | null
|
|
15
|
+
}
|
|
11
16
|
|
|
12
17
|
const round = Math.round
|
|
13
18
|
|
|
@@ -63,7 +68,15 @@ export function inspectElement(info: SootSimInspectInfo): InspectElement {
|
|
|
63
68
|
if (info.role) lines.push(`# role: ${info.role}`)
|
|
64
69
|
if (label) lines.push(`# label: ${label}`)
|
|
65
70
|
if (testID) lines.push(`# testID: ${testID}`)
|
|
66
|
-
|
|
71
|
+
const anchor: CanvasNoteAnchor = {
|
|
72
|
+
name,
|
|
73
|
+
sourceChain: (info.sourceChain ?? (info.srcloc ? [info.srcloc] : [])).slice(0, 3),
|
|
74
|
+
}
|
|
75
|
+
if (text) anchor.text = text
|
|
76
|
+
if (label) anchor.label = label
|
|
77
|
+
if (testID) anchor.testID = testID
|
|
78
|
+
if (info.role) anchor.role = info.role
|
|
79
|
+
return { frame, name, summary: lines.join('\n'), anchor }
|
|
67
80
|
}
|
|
68
81
|
|
|
69
82
|
/** the element at the center of a drawn mark */
|