peachsim 0.1.2371 → 0.1.2375
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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 +5 -3
- 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 +5 -3
- package/dist-lib/sdk.mjs +5 -3
- package/dist-lib/skills.cjs +1 -1
- 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/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/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/src/canvas-groups.ts +20 -0
|
@@ -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';
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/node-runtime.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"archiveSha256":"
|
|
1
|
+
{"abi":1,"archiveSha256":"325e00aed7bc0d8e19a96bbad21d35119ef1ee63118f8853e7f20055d9979b17","entrySha256":"1c648b24476c7c73182753639b7ef5f91b634cce0f05c4dafbf3c272e6c7418f"}
|
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
|
+
}
|