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.
Files changed (97) hide show
  1. package/cli/commands/canvas.ts +134 -1
  2. package/cli/commands/inspect/actions.ts +2 -0
  3. package/detox/index.ts +2 -3
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +8 -8
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +2 -2
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +3 -3
  30. package/dist-lib/expo-swift-metadata.cjs +1 -1
  31. package/dist-lib/expo-swift-metadata.mjs +1 -1
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +8 -8
  34. package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +6 -4
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +2 -2
  50. package/dist-lib/native-app-identity-project.cjs +1 -1
  51. package/dist-lib/native-app-identity-project.mjs +1 -1
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +53 -53
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +5 -3
  69. package/dist-lib/sdk.mjs +5 -3
  70. package/dist-lib/skills.cjs +8 -8
  71. package/dist-lib/swift-compile.cjs +1 -1
  72. package/dist-lib/swift-compile.mjs +1 -1
  73. package/dist-lib/swift-package.cjs +1 -1
  74. package/dist-lib/swift-package.mjs +1 -1
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +1 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +2 -2
  80. package/dist-lib/vite.cjs +2 -2
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +11 -0
  84. package/dist-types/packages/peach-engine/src/render-worker/compositor-content-readyContract.d.ts +1 -1
  85. package/dist-types/packages/peach-engine/src/render-worker/compositor-gpu.d.ts +0 -1
  86. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -1
  87. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +3 -0
  88. package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +0 -1
  89. package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +1 -0
  90. package/kotlin/sdk.tar.gz +0 -0
  91. package/node-runtime.json +1 -1
  92. package/package.json +1 -1
  93. package/src/canvas-groups.ts +20 -0
  94. package/src/nitro-adapter.lock.json +268 -268
  95. package/src/nitro-superset.lock.json +4 -4
  96. package/src/swift-distribution.lock.json +8 -8
  97. package/src/turbo-runtime.lock.json +20 -20
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2371 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
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 ? "28f94bd80124e52ab64394ba6f56176a69e00f86dab139561b97864d4fafbc8e" : standinSourceDigest();
3247
+ STANDIN_SOURCE_DIGEST = true ? "1a156181b1550b7c61389b36094a8e95b8f4e40dfc5a486a465b0716f12dafd8" : standinSourceDigest();
3248
3248
  }
3249
3249
  });
3250
3250
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2371 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
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;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2371 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -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;
@@ -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: 'empty' | 'pending-symbols' | 'ready';
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":"7240bc2f1f9016c623479828d1d2afc901e7e0c5f90f8c18a35b898fe43e6e19","entrySha256":"92bae02a45be17af89209375a11d326f3427e4f96d47bd262fb9ead2e0194a5b"}
1
+ {"abi":1,"archiveSha256":"5aa1d3454c7e1a90aa8c764b431837ec78e9e0050eea82edab5347f72c1a1ade","entrySha256":"395e56a877841ae372a88412b84d511913728e333596679868cdd928b1de66e7"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2371",
3
+ "version": "0.1.2376",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -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
+ }