peachsim 0.1.1865 → 0.1.1867

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 (83) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +7 -6
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +6 -5
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +7 -6
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +1 -1
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +1 -1
  47. package/dist-lib/native-app-identity-project.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.mjs +1 -1
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +7 -6
  68. package/dist-lib/swift-compile.cjs +1 -1
  69. package/dist-lib/swift-compile.mjs +1 -1
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +5 -4
  77. package/dist-lib/vite.cjs +1 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
  81. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +2 -1
  82. package/package.json +1 -1
  83. package/src/swift-standin-emit.ts +3 -2
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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;
@@ -41516,7 +41516,8 @@ function synthesizedInterfaceEnums(interfaceText, module2, graphs) {
41516
41516
  });
41517
41517
  for (const kase of cases) {
41518
41518
  const memberId = `${id}-${kase.leaf}`;
41519
- const rest = kase.text.replace(/^`?[A-Za-z_]\w*`?/, "");
41519
+ const written = /^`?[A-Za-z_]\w*`?/.exec(kase.text)[0];
41520
+ const rest = kase.text.slice(written.length);
41520
41521
  symbols.push({
41521
41522
  kind: { identifier: "swift.enum.case" },
41522
41523
  identifier: { precise: memberId },
@@ -41524,7 +41525,7 @@ function synthesizedInterfaceEnums(interfaceText, module2, graphs) {
41524
41525
  declarationFragments: [
41525
41526
  { kind: "keyword", spelling: "case" },
41526
41527
  { kind: "text", spelling: " " },
41527
- { kind: "identifier", spelling: kase.leaf },
41528
+ { kind: "identifier", spelling: written },
41528
41529
  ...rest ? [{ kind: "text", spelling: rest }] : []
41529
41530
  ],
41530
41531
  accessLevel: "public"
@@ -58551,7 +58552,7 @@ var init_swift_standin_digest = __esm({
58551
58552
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
58552
58553
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
58553
58554
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
58554
- STANDIN_SOURCE_DIGEST = true ? "8813103bd2b0fe030d5459523439650b9ce9be80f96873b1836911a61631b4a2" : standinSourceDigest();
58555
+ STANDIN_SOURCE_DIGEST = true ? "465652fca6da92d6cc515592df22e2be806c1dac3eedbda9ad005f9e644c5c4f" : standinSourceDigest();
58555
58556
  }
58556
58557
  });
58557
58558
 
@@ -59262,7 +59263,7 @@ var init_expo_native_prebuilt = __esm({
59262
59263
  init_swift_native_pin();
59263
59264
  init_xcode_project();
59264
59265
  EXPO_NATIVE_ENTRY_NAME = "ios";
59265
- EXPO_NATIVE_COMPILER_DIGEST = true ? "ad3ebc162be94b39f7600383cf362da60c50b48b07c7db35fb4871d073860935" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
59266
+ EXPO_NATIVE_COMPILER_DIGEST = true ? "db58f087551ed274fa419b2e34fb464115a58c5ec651b325079f5e7f3aadc7f7" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
59266
59267
  IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
59267
59268
  expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
59268
59269
  isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
@@ -77029,7 +77030,7 @@ var init_nitro_superset = __esm({
77029
77030
  init_swift_standin_digest();
77030
77031
  NITRO_SUPERSET_ENTRY_NAME = "superset";
77031
77032
  packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path83.join)(root, "package.json"), "utf8")).version;
77032
- NITRO_COMPILER_DIGEST = true ? "1eef5bf27a0b77cc392dbd256dd51cac86a1f8e8ba8984578a49adf425920c00" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
77033
+ NITRO_COMPILER_DIGEST = true ? "9e8f2e869315f2a7a16dab926557389374f4eb889f211cba1e99904208de6df8" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
77033
77034
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
77034
77035
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
77035
77036
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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;
@@ -6083,7 +6083,8 @@ function synthesizedInterfaceEnums(interfaceText, module2, graphs) {
6083
6083
  });
6084
6084
  for (const kase of cases) {
6085
6085
  const memberId = `${id}-${kase.leaf}`;
6086
- const rest = kase.text.replace(/^`?[A-Za-z_]\w*`?/, "");
6086
+ const written = /^`?[A-Za-z_]\w*`?/.exec(kase.text)[0];
6087
+ const rest = kase.text.slice(written.length);
6087
6088
  symbols.push({
6088
6089
  kind: { identifier: "swift.enum.case" },
6089
6090
  identifier: { precise: memberId },
@@ -6091,7 +6092,7 @@ function synthesizedInterfaceEnums(interfaceText, module2, graphs) {
6091
6092
  declarationFragments: [
6092
6093
  { kind: "keyword", spelling: "case" },
6093
6094
  { kind: "text", spelling: " " },
6094
- { kind: "identifier", spelling: kase.leaf },
6095
+ { kind: "identifier", spelling: written },
6095
6096
  ...rest ? [{ kind: "text", spelling: rest }] : []
6096
6097
  ],
6097
6098
  accessLevel: "public"
@@ -24892,7 +24893,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
24892
24893
  return hash.digest("hex");
24893
24894
  }
24894
24895
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
24895
- var STANDIN_SOURCE_DIGEST = true ? "8813103bd2b0fe030d5459523439650b9ce9be80f96873b1836911a61631b4a2" : standinSourceDigest();
24896
+ var STANDIN_SOURCE_DIGEST = true ? "465652fca6da92d6cc515592df22e2be806c1dac3eedbda9ad005f9e644c5c4f" : standinSourceDigest();
24896
24897
 
24897
24898
  // src/swift-standins.ts
24898
24899
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (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.1865 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1867 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -74,6 +74,7 @@ export declare function markWireNodeChanged(node?: SootSimNode | SootSimTextNode
74
74
  export declare function setStyleChangeListener(listener: (node: SootSimNode) => void): void;
75
75
  export declare function hasUnownedLiveAnimatedStyle(node: SootSimNode): boolean;
76
76
  export declare function refreshLiveAnimatedSceneGeometry(node: SootSimNode): void;
77
+ export declare function propsPaintChange(previous: Record<string, unknown>, next: Record<string, unknown>): PaintChange;
77
78
  export declare function batchStyleWrites(node: object, write: () => void): void;
78
79
  export declare function markWireStyleChanged(node: SootSimNode, paintChange?: PaintChange): void;
79
80
  export declare function hasInterfaceStyleNodes(root: SootSimNode): boolean;
@@ -184,7 +184,8 @@ export interface SceneNativeBinding {
184
184
  p7(surface: number, key: string, compositeKey: string, image: number): boolean;
185
185
  _peach_scene_drop_leaf(slot: number): void;
186
186
  _peach_scene_shadow_input(): number;
187
- _peach_scene_set_shadows(slot: number, count: number): void;
187
+ _peach_scene_silhouette_input(): number;
188
+ _peach_scene_set_shadows(slot: number, count: number, links: number): void;
188
189
  _peach_scene_gradient_input(count: number): number;
189
190
  _peach_scene_set_gradient(slot: number, count: number): void;
190
191
  _peach_scene_material_input(): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1865",
3
+ "version": "0.1.1867",
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",
@@ -562,7 +562,8 @@ export function synthesizedInterfaceEnums(
562
562
  for (const kase of cases) {
563
563
  const memberId = `${id}-${kase.leaf}`
564
564
  // the leaf is a prefix; the rest rides verbatim.
565
- const rest = kase.text.replace(/^`?[A-Za-z_]\w*`?/, '')
565
+ const written = /^`?[A-Za-z_]\w*`?/.exec(kase.text)![0]
566
+ const rest = kase.text.slice(written.length)
566
567
  symbols.push({
567
568
  kind: { identifier: 'swift.enum.case' },
568
569
  identifier: { precise: memberId },
@@ -570,7 +571,7 @@ export function synthesizedInterfaceEnums(
570
571
  declarationFragments: [
571
572
  { kind: 'keyword', spelling: 'case' },
572
573
  { kind: 'text', spelling: ' ' },
573
- { kind: 'identifier', spelling: kase.leaf },
574
+ { kind: 'identifier', spelling: written },
574
575
  ...(rest ? [{ kind: 'text', spelling: rest }] : []),
575
576
  ],
576
577
  accessLevel: 'public',