peachsim 0.1.2215 → 0.1.2217

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 (96) hide show
  1. package/cli/commands/control.ts +1 -1
  2. package/cli/commands/inspect/list.ts +1 -1
  3. package/detox/index.ts +9 -1
  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 +2 -2
  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 +11 -3
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +1 -1
  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 +4 -2
  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 +4 -2
  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 +4 -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 +54 -54
  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 +1 -1
  69. package/dist-lib/sdk.mjs +1 -1
  70. package/dist-lib/skills.cjs +6 -4
  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 +1 -1
  80. package/dist-lib/vite.cjs +4 -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/engine/glass-material.d.ts +10 -0
  84. package/dist-types/packages/peach-engine/src/engine/liquid-glass.d.ts +0 -3
  85. package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +12 -2
  86. package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
  87. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +1 -1
  88. package/dist-types/packages/peach-engine/src/engine/shell-owned-values.d.ts +7 -1
  89. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +1 -1
  90. package/dist-types/packages/peach-engine/src/remote-stream/cloud-display.d.ts +2 -2
  91. package/dist-types/packages/peach-engine/src/render-worker/protocol.d.ts +4 -0
  92. package/dist-types/packages/peach-engine/src/settings/react-native-configuration.d.ts +2 -1
  93. package/kotlin/sdk.tar.gz +0 -0
  94. package/package.json +1 -1
  95. package/runtime-companion.json +1 -1
  96. package/src/agent-identity.ts +0 -26
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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;
@@ -29197,6 +29197,8 @@ var init_packs = __esm({
29197
29197
  "engine/kotlin/",
29198
29198
  "engine/material-symbols/",
29199
29199
  "engine/pdfjs/",
29200
+ "engine/sf-symbols/",
29201
+ "photos/",
29200
29202
  "three-mode/"
29201
29203
  ];
29202
29204
  RUNTIME_MERGE_PACK_DIR = "engine-tenant/";
@@ -87037,7 +87039,7 @@ var init_one_sdk_bundle = __esm({
87037
87039
  var runtime_companion_default;
87038
87040
  var init_runtime_companion = __esm({
87039
87041
  "runtime-companion.json"() {
87040
- runtime_companion_default = { abi: 1, sha256: "2e4d78c7cfb64a492abbe3734e69a59408c00041b36d1a05a2d7fdfcbf6adb7b", file: "node/cli-2e4d78c7cfb64a492abbe3734e69a59408c00041b36d1a05a2d7fdfcbf6adb7b.cjs" };
87042
+ runtime_companion_default = { abi: 1, sha256: "c3cfa87c38bca3be3b225d514efe1b9e2ab9119227137e7190dfa25eccf43fe7", file: "node/cli-c3cfa87c38bca3be3b225d514efe1b9e2ab9119227137e7190dfa25eccf43fe7.cjs" };
87041
87043
  }
87042
87044
  });
87043
87045
 
@@ -106712,7 +106714,7 @@ var init_ws_bridge = __esm({
106712
106714
  }
106713
106715
  });
106714
106716
 
106715
- // src/agent-identity.ts
106717
+ // ../peach-kit/src/agent-identity.ts
106716
106718
  function formatLockOwner(owner) {
106717
106719
  const colon = owner.indexOf(":");
106718
106720
  if (colon <= 0) return owner.length > 24 ? `${owner.slice(0, 21)}\u2026` : owner;
@@ -106726,7 +106728,7 @@ function formatLockOwner(owner) {
106726
106728
  return `${source} ${short}`;
106727
106729
  }
106728
106730
  var init_agent_identity = __esm({
106729
- "src/agent-identity.ts"() {
106731
+ "../peach-kit/src/agent-identity.ts"() {
106730
106732
  "use strict";
106731
106733
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
106732
106734
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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;
@@ -1873,6 +1873,8 @@ var RUNTIME_PACK_PREFIXES = [
1873
1873
  "engine/kotlin/",
1874
1874
  "engine/material-symbols/",
1875
1875
  "engine/pdfjs/",
1876
+ "engine/sf-symbols/",
1877
+ "photos/",
1876
1878
  "three-mode/"
1877
1879
  ];
1878
1880
  var RUNTIME_MERGE_PACK_DIR = "engine-tenant/";
@@ -2386,7 +2388,7 @@ async function runExtractor(command, args, signal, input) {
2386
2388
  }
2387
2389
 
2388
2390
  // runtime-companion.json
2389
- var runtime_companion_default = { abi: 1, sha256: "2e4d78c7cfb64a492abbe3734e69a59408c00041b36d1a05a2d7fdfcbf6adb7b", file: "node/cli-2e4d78c7cfb64a492abbe3734e69a59408c00041b36d1a05a2d7fdfcbf6adb7b.cjs" };
2391
+ var runtime_companion_default = { abi: 1, sha256: "c3cfa87c38bca3be3b225d514efe1b9e2ab9119227137e7190dfa25eccf43fe7", file: "node/cli-c3cfa87c38bca3be3b225d514efe1b9e2ab9119227137e7190dfa25eccf43fe7.cjs" };
2390
2392
 
2391
2393
  // src/answeredNativePackages.ts
2392
2394
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (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.2215 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2217 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -27,4 +27,14 @@ export interface GlassInteractionGlow {
27
27
  opacity: number;
28
28
  }
29
29
  export declare function glassMaterialOutset(style: GlassStyle, width: number, height: number, intensity?: number): number;
30
+ export declare function glassMaterialDraws<Config extends {
31
+ material?: GlassStyle;
32
+ glassTint?: unknown;
33
+ glassBodyTint?: unknown;
34
+ }>(config: Config): config is Config & {
35
+ material: GlassStyle;
36
+ };
37
+ export declare function glassColorScheme(config: {
38
+ colorScheme?: 'light' | 'dark' | 'auto';
39
+ }): 'light' | 'dark';
30
40
  export {};
@@ -9,9 +9,6 @@ import type { Canvas, Surface, RuntimeEffect, Image as SkImage, Shader } from 'c
9
9
  type LiquidGlassColorScheme = 'auto' | 'light' | 'dark';
10
10
  type ResolvedGlassColorScheme = 'light' | 'dark';
11
11
  export declare const DEFAULT_LIQUID_GLASS_CAPTURE_PADDING = 22;
12
- export declare function glassMaterialDraws<Config extends Pick<LiquidGlassConfig, 'material' | 'adaptiveForeground' | 'glassTint' | 'glassBodyTint'>>(config: Config): config is Config & {
13
- material: GlassStyle;
14
- };
15
12
  export declare function liquidGlassCapturePadding(config: Pick<LiquidGlassConfig, 'capturePadding' | 'material' | 'interactionIntensity'>, width: number, height: number): number;
16
13
  export interface LiquidGlassRimLighting {
17
14
  ambient: number;
@@ -1,12 +1,22 @@
1
1
  import type { CanvasKitRenderingApi as CanvasKit } from './canvaskit-api.d.ts';
2
2
  export interface NativeLayoutExports {
3
+ _peach_layout_dirty_mark(slot: number, mask: number): void;
4
+ _peach_layout_dirty_has(slot: number, mask: number): number;
5
+ _peach_layout_dirty_clear(slot: number): void;
6
+ _peach_layout_dirty_collect(root: number): number;
7
+ _peach_layout_dirty_records(): number;
8
+ _peach_layout_scope_input(count: number): number;
9
+ _peach_layout_scope_collect(root: number): number;
10
+ _peach_layout_scope_records(): number;
3
11
  _peach_layout_values(): number;
4
12
  _peach_layout_units(): number;
5
13
  _peach_layout_enums(): number;
6
14
  _peach_layout_scratch(): number;
7
- _peach_layout_node_new(pointScaleFactor: number, measured: number): number;
15
+ _peach_layout_node_new(slot: number, pointScaleFactor: number, measured: number): void;
8
16
  _peach_layout_node_free(slot: number): void;
9
- _peach_layout_bind(slot: number, sceneSlot: number, tag: number, observers: number, scale: number): void;
17
+ _peach_layout_subtree_free(root: number): number;
18
+ _peach_layout_freed_nodes(): number;
19
+ _peach_layout_bind(slot: number, tag: number, observers: number, scale: number): void;
10
20
  _peach_layout_apply(slot: number): void;
11
21
  _peach_layout_attach(parent: number, child: number, index: number): void;
12
22
  _peach_layout_detach(parent: number, child: number): void;
@@ -33,6 +33,7 @@ export declare function noteMetalEffects(style: {
33
33
  }): void;
34
34
  export declare function registerHoistUnlinker(unlinker: (node: SootSimNode) => void): void;
35
35
  export declare function registerBackdropGroupSyncer(syncer: (node: SootSimNode, style: Readonly<SootSimStyle> | null) => void): void;
36
+ export declare function registerLayoutNodeDisposer(disposer: (node: SootSimNode) => void): void;
36
37
  export declare function registerLottieNodeDisposer(disposer: (node: SootSimNode) => void): void;
37
38
  export declare const classicLayoutAnimations: Set<SootSimNode>;
38
39
  export declare function releaseDetachedNode(node: SootSimNode | SootSimTextNode): void;
@@ -173,7 +173,7 @@ export interface SceneNativeBinding {
173
173
  _peach_numeric_text_drop(handle: number): void;
174
174
  _peach_scene_set_image(slot: number, image: number, padLeft: number, padTop: number, padRight: number, padBottom: number, srcLeft: number, srcTop: number, srcRight: number, srcBottom: number, offsetX: number, adjustX: number, offsetY: number, adjustY: number, width: number, height: number, repeat: number, mipmaps: number, tintR: number, tintG: number, tintB: number, tintA: number, alpha: number, shape: number, sampling: number): void;
175
175
  _peach_scene_set_picture(slot: number, picture: number, fontGeneration: number, drawnNodes: number): void;
176
- _peach_scene_set_ink(slot: number, glass: number, id: number): void;
176
+ _peach_scene_set_ink(slot: number, glass: number, id: number, label: number): void;
177
177
  _peach_ink_draw_picture(canvas: number, picture: number, shader: number, text: number, left: number, top: number, right: number, bottom: number): void;
178
178
  pe(): RuntimeEffect | null;
179
179
  pf(dark: boolean): RuntimeEffect | null;
@@ -6,6 +6,8 @@ export declare const SHELL_CONTROL_PROP = "_shellControl";
6
6
  export declare const SHELL_SPLIT_PART_PROP = "_shellSplitPart";
7
7
  type InterpolationConfig = AnimatedInterpolation['_config'];
8
8
  export type ShellStyleNode = {
9
+ __ref: number;
10
+ } | {
9
11
  __slot: string;
10
12
  } | {
11
13
  __op: AnimatedArithmetic;
@@ -21,8 +23,12 @@ type ShellControlGraphListener = (value: AnimatedValue, graph: NativeAnimationGr
21
23
  export declare function subscribeShellControlGraphs(listener: ShellControlGraphListener): () => void;
22
24
  export declare function ownShellValues(values: Record<string, AnimatedValue>): string;
23
25
  export declare function releaseShellValues(id: string): void;
26
+ type ShellStyleGraph = {
27
+ root: ShellStyleNode;
28
+ nodes: ShellStyleNode[];
29
+ };
24
30
  export declare function shellStyleProps(style: object): {
25
- [SHELL_STYLE_PROP]: Record<string, ShellStyleNode>;
31
+ [SHELL_STYLE_PROP]: Record<string, ShellStyleGraph>;
26
32
  } | null;
27
33
  export declare function rebuildShellStyle(template: unknown, slotValue: (slot: string) => AnimatedValue | undefined): Record<string, unknown> | null;
28
34
  export type ShellControlEvent = {
@@ -60,5 +60,5 @@ export declare function layoutHookFrame(target: unknown): SootSimLayout | null;
60
60
  export declare function releaseYogaRoot(root: SootSimNode): void;
61
61
  export declare function nestsInParkedYogaTree(root: SootSimNode, owner: SootSimNode): boolean;
62
62
  export declare function parkYogaRoot(root: SootSimNode): boolean;
63
- export declare function freeYogaTree(node: SootSimNode, seen?: Set<SootSimNode>): void;
63
+ export declare function freeYogaTree(node: SootSimNode): void;
64
64
  export declare function measureText(text: string, sourceStyle: SootSimStyle, maxWidth: number, ctx: MeasureContext, props?: Record<string, any>, node?: SootSimNode, includeInk?: boolean): MeasuredTextResult;
@@ -1,7 +1,7 @@
1
1
  export declare const DISPLAY_SERVER_VERSION = 12;
2
2
  export declare const DISPLAY_SERVER_MAJOR = 2;
3
- export declare const DISPLAY_SERVER_MINOR = 29;
4
- export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire12.minor29";
3
+ export declare const DISPLAY_SERVER_MINOR = 30;
4
+ export declare const DISPLAY_SERVER_SUBPROTOCOL = "rnx.display-server.v2.wire12.minor30";
5
5
  export declare const DISPLAY_SERVER_TOKEN_SUBPROTOCOL_PREFIX = "rnx.sim-token.";
6
6
  export declare const RNX_CLOUD_DISPLAY_GRANT_TTL_MS: number;
7
7
  export declare const RNX_CLOUD_DISPLAY_CLOSE: {
@@ -665,6 +665,10 @@ export type WorkerToHost = {
665
665
  } | {
666
666
  type: 'remoteDisplay';
667
667
  connected: boolean;
668
+ } | {
669
+ type: 'remoteDeviceConfiguration';
670
+ configuration: ReactNativeConfigurationSnapshot;
671
+ systemColorScheme: 'light' | 'dark';
668
672
  } | {
669
673
  type: 'replayDevice';
670
674
  posture: DevicePosture | null;
@@ -1,9 +1,10 @@
1
1
  import type { ReactNativeConfigurationKey, ReactNativeConfigurationSnapshot } from '../../../../../src/reactNativeConfigurationContract.ts';
2
2
  export { type ReactNativeConfigurationKey, type ReactNativeConfigurationSnapshot, } from '../../../../../src/reactNativeConfigurationContract.ts';
3
- import type { SettingsValues } from '../../../../../src/settingsContract.ts';
3
+ import { type SettingsValues } from '../../../../../src/settingsContract.ts';
4
4
  declare const MUTABLE_KEYS: readonly ['fontSize', 'boldText', 'reduceMotion', 'largerAccessibilitySizes', 'glassTintAmount', 'reduceTransparency', 'increaseContrast', 'showBorders', 'onOffLabels', 'differentiateWithoutColor', 'smartInvert', 'preferCrossFadeTransitions'];
5
5
  type MutableKey = (typeof MUTABLE_KEYS)[number];
6
6
  export type ReactNativeConfigurationMutation = Partial<Pick<SettingsValues, MutableKey>>;
7
+ export declare function isReactNativeConfigurationSnapshot(value: unknown): value is ReactNativeConfigurationSnapshot;
7
8
  export declare function snapshotReactNativeConfiguration(): ReactNativeConfigurationSnapshot;
8
9
  export declare function changesLayout(changed: readonly ReactNativeConfigurationKey[]): boolean;
9
10
  export declare function applyReactNativeConfiguration(snapshot: ReactNativeConfigurationSnapshot): ReactNativeConfigurationKey[];
package/kotlin/sdk.tar.gz CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2215",
3
+ "version": "0.1.2217",
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",
@@ -1 +1 @@
1
- {"abi":1,"sha256":"2e4d78c7cfb64a492abbe3734e69a59408c00041b36d1a05a2d7fdfcbf6adb7b","file":"node/cli-2e4d78c7cfb64a492abbe3734e69a59408c00041b36d1a05a2d7fdfcbf6adb7b.cjs"}
1
+ {"abi":1,"sha256":"c3cfa87c38bca3be3b225d514efe1b9e2ab9119227137e7190dfa25eccf43fe7","file":"node/cli-c3cfa87c38bca3be3b225d514efe1b9e2ab9119227137e7190dfa25eccf43fe7.cjs"}
@@ -1,26 +0,0 @@
1
- export function agentSessionIdFromCliIdentity(identity: string | null): string | null {
2
- if (!identity) return null
3
- const colon = identity.indexOf(':')
4
- if (colon < 0) return identity.trim() || null
5
- const source = identity.slice(0, colon)
6
- const value = identity.slice(colon + 1).trim()
7
- return source === 'PEACH_CLI_IDENTITY' && value ? value : null
8
- }
9
-
10
- // a lock owner is either a friendly cli label ("active user") or a raw cli
11
- // identity key ("CLAUDE_CODE_SESSION_ID:<uuid>", "gppid-1234"). the cli's sim
12
- // list and the shell's agent indicator both show it, collapsed to a short form
13
- // that still says which agent holds it; an explicit PEACH_CLI_IDENTITY is a
14
- // name its caller chose, so it shows as given.
15
- export function formatLockOwner(owner: string): string {
16
- const colon = owner.indexOf(':')
17
- if (colon <= 0) return owner.length > 24 ? `${owner.slice(0, 21)}…` : owner
18
- const source = owner.slice(0, colon)
19
- const value = owner.slice(colon + 1)
20
- if (source === 'PEACH_CLI_IDENTITY' && value) return value
21
- const short = value.length > 12 ? `${value.slice(0, 8)}…` : value
22
- if (source === 'CLAUDE_CODE_SESSION_ID' || source === 'CODEX_THREAD_ID') {
23
- return `agent ${short}`
24
- }
25
- return `${source} ${short}`
26
- }