peachsim 0.1.2200 → 0.1.2203

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 (87) 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 +10 -10
  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 +2 -2
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +5 -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 +10 -10
  31. package/dist-lib/host/fetch-proxy-handler.cjs +3 -4
  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 +3 -4
  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 +3 -4
  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 +13 -13
  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 +3 -3
  77. package/dist-lib/vite.cjs +3 -4
  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/native-layout.d.ts +2 -0
  81. package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +6 -0
  82. package/dist-types/packages/peach-engine/src/engine/types.d.ts +1 -0
  83. package/dist-types/packages/peach-engine/src/engine/yoga-layout.d.ts +2 -1
  84. package/package.json +1 -1
  85. package/runtime-companion.json +1 -1
  86. package/src/native-prebuilt.ts +1 -1
  87. package/src/turbo-compile.ts +4 -3
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2200 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2203 | (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;
@@ -30649,7 +30649,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
30649
30649
  return hash.digest("hex");
30650
30650
  }
30651
30651
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
30652
- var STANDIN_SOURCE_DIGEST = true ? "f645af113ec0277d6f260442290621337b4c73e3c3429a24104d2ef41e42c414" : standinSourceDigest();
30652
+ var STANDIN_SOURCE_DIGEST = true ? "fc51a249ab5b00720eab27b7d9e4945936878069347a86180f9c5efd7f063012" : standinSourceDigest();
30653
30653
 
30654
30654
  // src/swift-standins.ts
30655
30655
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -30739,7 +30739,7 @@ function installNativeEntry(kind, name3, key2, source) {
30739
30739
  `native prebuilt ${kind}/${name3}/${key2}: ${file.path} does not match its descriptor`
30740
30740
  );
30741
30741
  }
30742
- const dir = entryCache(kind, name3, key2);
30742
+ const dir = nativeEntryCache(kind, name3, key2);
30743
30743
  import_node_fs42.default.mkdirSync(import_node_path43.default.dirname(dir), { recursive: true });
30744
30744
  const staging = `${dir}.${process.pid}.partial`;
30745
30745
  import_node_fs42.default.rmSync(staging, { recursive: true, force: true });
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2200 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2203 | (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;
@@ -1416,7 +1416,7 @@ function isValidRuntimeVersion(value) {
1416
1416
  }
1417
1417
 
1418
1418
  // runtime-companion.json
1419
- var runtime_companion_default = { abi: 1, sha256: "5aec79ac0fcea933862e7e373e0d167401e0d891c835d195b7f48039c87add60", file: "node/cli-5aec79ac0fcea933862e7e373e0d167401e0d891c835d195b7f48039c87add60.cjs" };
1419
+ var runtime_companion_default = { abi: 1, sha256: "0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480", file: "node/cli-0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480.cjs" };
1420
1420
 
1421
1421
  // src/answeredNativePackages.ts
1422
1422
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -1909,7 +1909,7 @@ function readIosSdkTree(root) {
1909
1909
 
1910
1910
  // src/swift-standin-digest.ts
1911
1911
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
1912
- var STANDIN_SOURCE_DIGEST = true ? "f645af113ec0277d6f260442290621337b4c73e3c3429a24104d2ef41e42c414" : standinSourceDigest();
1912
+ var STANDIN_SOURCE_DIGEST = true ? "fc51a249ab5b00720eab27b7d9e4945936878069347a86180f9c5efd7f063012" : standinSourceDigest();
1913
1913
 
1914
1914
  // src/expo-native-workspace.ts
1915
1915
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
@@ -7809,7 +7809,6 @@ var LAZY_STUB_PATTERNS = [
7809
7809
  "scandit-react-native-datacapture-barcode",
7810
7810
  "scandit-react-native-datacapture-core",
7811
7811
  "sp-react-native-in-app-updates",
7812
- "stream-chat-react-native",
7813
7812
  "voltra"
7814
7813
  ];
7815
7814
 
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2200 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2203 | (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.2200 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2203 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -10,6 +10,8 @@ export interface NativeLayoutExports {
10
10
  _peach_layout_apply(slot: number): void;
11
11
  _peach_layout_attach(parent: number, child: number, index: number): void;
12
12
  _peach_layout_detach(parent: number, child: number): void;
13
+ _peach_layout_split_hide(slot: number): void;
14
+ _peach_layout_split_show(slot: number): void;
13
15
  _peach_layout_owner(slot: number): number;
14
16
  _peach_layout_child_count(slot: number): number;
15
17
  _peach_layout_mark_dirty(slot: number): void;
@@ -16,6 +16,12 @@ export interface ScrollDragOrigin {
16
16
  export declare function scrollDragAdmission(platform: string | undefined, primaryDelta: number, crossDelta: number): 'pending' | 'reject' | 'begin';
17
17
  export declare function scrollDragDelta(platform: string | undefined, pointerDelta: number, slop: number, beganDrag: boolean): number;
18
18
  export declare function scrollDragMatchesAxis(platform: string | undefined, primaryDelta: number, crossDelta: number): boolean;
19
+ export declare function bouncesAlongAxis(opts: {
20
+ props: Record<string, unknown> | null | undefined;
21
+ horizontal: boolean;
22
+ contentSize: number;
23
+ viewportSize: number;
24
+ }): boolean;
19
25
  export declare function allowsRubberBandScroll(opts: {
20
26
  platform?: string;
21
27
  bounces?: unknown;
@@ -461,6 +461,7 @@ export interface SootSimStyle {
461
461
  _androidTextView?: true;
462
462
  _androidTextSize?: 'dimension' | 'sp';
463
463
  _swiftUILayout?: boolean;
464
+ _swiftUIFrame?: true;
464
465
  _pixelSnapped?: true;
465
466
  _swiftUIVerticalGuide?: 'firstTextLineCenter' | 'firstTextBaseline' | 'lastTextBaseline';
466
467
  _swiftUIPlatformView?: true;
@@ -58,6 +58,7 @@ export declare function invalidateLayoutHook(target: unknown): void;
58
58
  export declare function placeFromLayoutHook(target: unknown, placement: LayoutHookPlacement | null): void;
59
59
  export declare function layoutHookFrame(target: unknown): SootSimLayout | null;
60
60
  export declare function releaseYogaRoot(root: SootSimNode): void;
61
- export declare function parkYogaRoot(root: SootSimNode): void;
61
+ export declare function nestsInParkedYogaTree(root: SootSimNode, owner: SootSimNode): boolean;
62
+ export declare function parkYogaRoot(root: SootSimNode): boolean;
62
63
  export declare function freeYogaTree(node: SootSimNode, seen?: Set<SootSimNode>): void;
63
64
  export declare function measureText(text: string, sourceStyle: SootSimStyle, maxWidth: number, ctx: MeasureContext, props?: Record<string, any>, node?: SootSimNode, includeInk?: boolean): MeasuredTextResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2200",
3
+ "version": "0.1.2203",
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":"5aec79ac0fcea933862e7e373e0d167401e0d891c835d195b7f48039c87add60","file":"node/cli-5aec79ac0fcea933862e7e373e0d167401e0d891c835d195b7f48039c87add60.cjs"}
1
+ {"abi":1,"sha256":"0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480","file":"node/cli-0f2a6724c94613e57bcfb14019eaeebdc02f3df896e4cea1f5e3a8dc3b2a6480.cjs"}
@@ -170,7 +170,7 @@ export function installNativeEntry(
170
170
  `native prebuilt ${kind}/${name}/${key}: ${file.path} does not match its descriptor`,
171
171
  )
172
172
  }
173
- const dir = entryCache(kind, name, key)
173
+ const dir = nativeEntryCache(kind, name, key)
174
174
  fs.mkdirSync(path.dirname(dir), { recursive: true })
175
175
  const staging = `${dir}.${process.pid}.partial`
176
176
  fs.rmSync(staging, { recursive: true, force: true })
@@ -225,13 +225,14 @@ export async function compileTurboModule(options: {
225
225
  .update(fs.realpathSync(options.moduleRoot))
226
226
  .digest('hex')
227
227
  const scratch = path.join(os.tmpdir(), 'peach-turbo-swift', key)
228
- // the codegen intake writes only into a new or empty directory
229
- fs.rmSync(path.join(scratch, 'codegen'), { recursive: true, force: true })
228
+ // the codegen intake writes only into a new or empty directory, and parallel compiles share this scratch key
229
+ fs.mkdirSync(scratch, { recursive: true })
230
+ const codegenDir = fs.mkdtempSync(path.join(scratch, 'codegen-'))
230
231
  const collection = await collectTurboSources({
231
232
  appRoot: options.appRoot,
232
233
  reactNativeRoot: options.reactNativeRoot,
233
234
  providers: options.providers,
234
- codegenDir: path.join(scratch, 'codegen'),
235
+ codegenDir,
235
236
  installedPods: options.installedPods,
236
237
  projectRoot: options.projectRoot,
237
238
  })