peachsim 0.1.2371 → 0.1.2376
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/canvas.ts +134 -1
- package/cli/commands/inspect/actions.ts +2 -0
- package/detox/index.ts +2 -3
- 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 +8 -8
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +3 -3
- 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 +6 -4
- 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 +5 -3
- package/dist-lib/sdk.mjs +5 -3
- 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/ios/apps/canvas-map-data.d.ts +11 -0
- package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +3 -0
- package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +0 -1
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/src/canvas-groups.ts +20 -0
- package/src/nitro-adapter.lock.json +268 -268
- package/src/nitro-superset.lock.json +4 -4
- package/src/swift-distribution.lock.json +8 -8
- package/src/turbo-runtime.lock.json +20 -20
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2376 | (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;
|
|
@@ -3244,7 +3244,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3244
3244
|
var init_swift_standin_digest = __esm({
|
|
3245
3245
|
"src/swift-standin-digest.ts"() {
|
|
3246
3246
|
"use strict";
|
|
3247
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3247
|
+
STANDIN_SOURCE_DIGEST = true ? "1a156181b1550b7c61389b36094a8e95b8f4e40dfc5a486a465b0716f12dafd8" : standinSourceDigest();
|
|
3248
3248
|
}
|
|
3249
3249
|
});
|
|
3250
3250
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2376 | (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;
|
|
@@ -121,6 +121,16 @@ export type CanvasMapSection = {
|
|
|
121
121
|
y: number;
|
|
122
122
|
width: number;
|
|
123
123
|
height: number;
|
|
124
|
+
members?: {
|
|
125
|
+
screenIds: string[];
|
|
126
|
+
sectionIds: string[];
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
export type CanvasMapGroupMove = {
|
|
130
|
+
sectionId: string;
|
|
131
|
+
x: number;
|
|
132
|
+
y: number;
|
|
133
|
+
rev?: number;
|
|
124
134
|
};
|
|
125
135
|
export type CanvasMapEdge = {
|
|
126
136
|
from: string;
|
|
@@ -213,4 +223,5 @@ export declare function reportCanvasMapMove(move: {
|
|
|
213
223
|
y: number;
|
|
214
224
|
rev: CanvasMapData['rev'];
|
|
215
225
|
}): void;
|
|
226
|
+
export declare function reportCanvasMapGroupMove(move: CanvasMapGroupMove): void;
|
|
216
227
|
export declare function reportCanvasMapEntered(screenId: string | null): void;
|
package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export declare const APP_CONTENT_READY_TEST_ID = "sootsim-app-content-ready";
|
|
|
2
2
|
export declare const APP_CONTENT_REPLACING_TEST_ID = "peach-app-content-replacing";
|
|
3
3
|
export declare const CONNECT_RN_LOADING_OVERLAY_TEST_ID = "connect-rn-loading-overlay";
|
|
4
4
|
export interface AppContentState {
|
|
5
|
-
readiness: 'empty' | 'pending-symbols' | 'ready';
|
|
5
|
+
readiness: 'empty' | 'loading' | 'pending-symbols' | 'ready';
|
|
6
6
|
replacing: boolean;
|
|
7
7
|
replacementReady: boolean;
|
|
8
8
|
}
|
|
@@ -155,7 +155,6 @@ export interface CompositorGpuBackend {
|
|
|
155
155
|
renderTree(display: CompositorGpuDisplay): RenderTree | null;
|
|
156
156
|
compositeSurface(display: CompositorGpuDisplay): ReturnType<RenderTree['composite']> | null;
|
|
157
157
|
readonly treesStale: boolean;
|
|
158
|
-
composeStaleTrees(): number;
|
|
159
158
|
createLayerTarget(display: CompositorGpuDisplay, generation: number, texture: GPUTexture, width: number, height: number): CompositorGpuTarget;
|
|
160
159
|
readonly programDevice: GPUDevice | null;
|
|
161
160
|
createProgramTarget(display: CompositorGpuDisplay, generation: number, width: number, height: number): CompositorGpuTarget;
|
|
@@ -514,7 +514,7 @@ export interface CompositorSurfacePaintStats {
|
|
|
514
514
|
treePaintAcks: SurfaceTreePaintAckState | null;
|
|
515
515
|
firstContent: {
|
|
516
516
|
appId: string;
|
|
517
|
-
readiness: '
|
|
517
|
+
readiness: import('./compositor-content-readyContract.d.ts').AppContentState['readiness'];
|
|
518
518
|
paintAwaitingGeneration: number | null;
|
|
519
519
|
layoutDirty: boolean;
|
|
520
520
|
textDataPending: boolean;
|
|
@@ -635,6 +635,9 @@ export type WorkerToHost = {
|
|
|
635
635
|
y: number;
|
|
636
636
|
rev?: number;
|
|
637
637
|
};
|
|
638
|
+
} | {
|
|
639
|
+
type: 'canvasMapGroupMove';
|
|
640
|
+
move: import('../ios/apps/canvas-map-data.d.ts').CanvasMapGroupMove;
|
|
638
641
|
} | {
|
|
639
642
|
type: 'canvasMapTap';
|
|
640
643
|
tap: import('../ios/apps/canvas-map-data.d.ts').CanvasMapTap;
|
|
@@ -13,7 +13,6 @@ export interface SootSimAuxCompositorStats {
|
|
|
13
13
|
trajectoryCancels: number;
|
|
14
14
|
sceneSyncs: number;
|
|
15
15
|
auxStylePasses: number;
|
|
16
|
-
browserCompositeFrames: number;
|
|
17
16
|
shellScene: SootSimShellSceneFanoutStats | null;
|
|
18
17
|
}
|
|
19
18
|
export type SootSimLiveCompositeFreshStage = 'readHeadlessFrames' | 'forceRenderAll' | 'paintNow';
|
|
@@ -137,6 +137,7 @@ export interface SootSimTestBridge {
|
|
|
137
137
|
inspectSetHandlerLogging(nodeId: number, handlerName: string, enabled: boolean): MaybeAsync<boolean>;
|
|
138
138
|
listInspectable(opts?: SootSimListInspectableOptions): MaybeAsync<SootSimInspectInfo[]>;
|
|
139
139
|
listSemanticInspectable(opts?: SootSimListInspectableOptions): MaybeAsync<PeachSemanticInspectInfo[]>;
|
|
140
|
+
listSemanticInspectableIfContent(opts?: SootSimListInspectableOptions): MaybeAsync<PeachSemanticInspectInfo[] | null>;
|
|
140
141
|
inspectTree(): MaybeAsync<SootSimInspectTreeNode[] | null>;
|
|
141
142
|
captureRenderTree?(options?: {
|
|
142
143
|
includeShell?: boolean;
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/node-runtime.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"archiveSha256":"
|
|
1
|
+
{"abi":1,"archiveSha256":"5aa1d3454c7e1a90aa8c764b431837ec78e9e0050eea82edab5347f72c1a1ade","entrySha256":"395e56a877841ae372a88412b84d511913728e333596679868cdd928b1de66e7"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type CanvasGrouping = 'project' | 'person' | 'agent' | 'machine' | 'label'
|
|
2
|
+
|
|
3
|
+
export type CanvasGroupFields = Partial<Record<CanvasGrouping, string | null>>
|
|
4
|
+
|
|
5
|
+
export function groupCanvasItems<T extends CanvasGroupFields>(
|
|
6
|
+
items: readonly T[],
|
|
7
|
+
by: CanvasGrouping,
|
|
8
|
+
): { key: string; name: string; items: T[] }[] {
|
|
9
|
+
const groups = new Map<string, { name: string; items: T[] }>()
|
|
10
|
+
for (const item of items) {
|
|
11
|
+
const value = item[by]?.trim()
|
|
12
|
+
const key = value ? `value:${value}` : 'missing'
|
|
13
|
+
const group = groups.get(key)
|
|
14
|
+
if (group) group.items.push(item)
|
|
15
|
+
else groups.set(key, { name: value || `No ${by}`, items: [item] })
|
|
16
|
+
}
|
|
17
|
+
return [...groups]
|
|
18
|
+
.sort(([, a], [, b]) => a.name.localeCompare(b.name, undefined, { numeric: true }))
|
|
19
|
+
.map(([key, group]) => ({ key, ...group }))
|
|
20
|
+
}
|