peachsim 0.1.1673 → 0.1.1674

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 (111) hide show
  1. package/cli/commands/inspect/settling.ts +37 -4
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/attached-projects.cjs +1 -1
  5. package/dist-lib/auth/shared-session.cjs +1 -1
  6. package/dist-lib/backend-origin.cjs +1 -1
  7. package/dist-lib/beta.cjs +1 -1
  8. package/dist-lib/beta.mjs +1 -1
  9. package/dist-lib/bridge-constants.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.mjs +1 -1
  12. package/dist-lib/bridge-contract.cjs +1 -1
  13. package/dist-lib/bridge-contract.mjs +1 -1
  14. package/dist-lib/bundle-channel.cjs +32 -9
  15. package/dist-lib/capture-contract.cjs +1 -1
  16. package/dist-lib/capture-contract.mjs +1 -1
  17. package/dist-lib/cloud-contract.cjs +1 -1
  18. package/dist-lib/cloud-contract.mjs +1 -1
  19. package/dist-lib/cloud-test-args.cjs +1 -1
  20. package/dist-lib/cloud-test-args.mjs +1 -1
  21. package/dist-lib/cloud.cjs +1 -1
  22. package/dist-lib/cloud.mjs +1 -1
  23. package/dist-lib/config.cjs +1 -1
  24. package/dist-lib/config.mjs +1 -1
  25. package/dist-lib/detox/index.cjs +39 -6
  26. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  27. package/dist-lib/expo-swift-bundle.cjs +29 -6
  28. package/dist-lib/expo-swift-metadata.cjs +1 -1
  29. package/dist-lib/expo-swift-metadata.mjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +34 -8
  32. package/dist-lib/host/fetch-proxy-handler.cjs +6 -3
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +43 -7
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +1 -1
  48. package/dist-lib/native-app-identity-project.cjs +1 -1
  49. package/dist-lib/native-app-identity-project.mjs +1 -1
  50. package/dist-lib/native-app-identity.cjs +1 -1
  51. package/dist-lib/native-app-identity.mjs +1 -1
  52. package/dist-lib/native-firebase-metadata.cjs +1 -1
  53. package/dist-lib/native-firebase-metadata.mjs +1 -1
  54. package/dist-lib/plist.cjs +1 -1
  55. package/dist-lib/plist.mjs +1 -1
  56. package/dist-lib/profiles.cjs +1 -1
  57. package/dist-lib/public-brand.cjs +1 -1
  58. package/dist-lib/public-origins-lib-esm.json +23 -23
  59. package/dist-lib/public-origins-lib.json +52 -52
  60. package/dist-lib/react-native-host-modules.cjs +1 -1
  61. package/dist-lib/react-native-host-modules.mjs +1 -1
  62. package/dist-lib/reap-browser.cjs +1 -1
  63. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  64. package/dist-lib/sdk.cjs +38 -5
  65. package/dist-lib/sdk.mjs +38 -5
  66. package/dist-lib/skills.cjs +74 -15
  67. package/dist-lib/swift-compile.cjs +27 -5
  68. package/dist-lib/swift-compile.mjs +27 -5
  69. package/dist-lib/swift-package.cjs +23 -4
  70. package/dist-lib/swift-package.mjs +23 -4
  71. package/dist-lib/swift-submit.cjs +1 -1
  72. package/dist-lib/swift-submit.mjs +1 -1
  73. package/dist-lib/swift-toolchain.cjs +1 -1
  74. package/dist-lib/swift.cjs +1 -1
  75. package/dist-lib/vite-swift.cjs +29 -6
  76. package/dist-lib/vite.cjs +6 -3
  77. package/dist-lib/worklet-executable.cjs +1 -1
  78. package/dist-lib/worklet-executable.mjs +1 -1
  79. package/dist-types/packages/peach-engine/src/engine/paint-boundary.d.ts +1 -0
  80. package/dist-types/packages/peach-engine/src/rolldown-bundle-inventory.d.ts +1 -1
  81. package/dist-types/packages/peach-globals/src/compositorBridgeContract.d.ts +10 -1
  82. package/dist-types/packages/peach-globals/src/index.d.ts +1 -1
  83. package/package.json +1 -1
  84. package/runtime-companion.json +1 -1
  85. package/sdk/ios/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h +18 -0
  86. package/sdk/ios/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h +23 -4
  87. package/sdk/ios/usr/include/_ctype.h +388 -0
  88. package/sdk/ios/usr/include/_inttypes.h +296 -0
  89. package/sdk/ios/usr/include/_locale.h +83 -0
  90. package/sdk/ios/usr/include/_locale_posix2008.h +65 -0
  91. package/sdk/ios/usr/include/_time.h +207 -0
  92. package/sdk/ios/usr/include/ctype.h +70 -0
  93. package/sdk/ios/usr/include/dispatch/dispatch.h +69 -6
  94. package/sdk/ios/usr/include/inttypes.h +35 -0
  95. package/sdk/ios/usr/include/locale.h +59 -0
  96. package/sdk/ios/usr/include/runetype.h +118 -0
  97. package/sdk/ios/usr/include/setjmp.h +99 -0
  98. package/sdk/ios/usr/include/sys/_types/_clock_t.h +32 -0
  99. package/sdk/ios/usr/include/sys/_types/_ct_rune_t.h +33 -0
  100. package/sdk/ios/usr/include/sys/_types/_rune_t.h +32 -0
  101. package/sdk/ios/usr/include/sys/_types/_time_t.h +32 -0
  102. package/sdk/ios/usr/include/sys/_types/_wint_t.h +33 -0
  103. package/sdk/ios/usr/include/sys/cdefs.h +2 -0
  104. package/sdk/ios/usr/include/time.h +67 -2
  105. package/src/host/rolldown-bundle-forward.ts +4 -1
  106. package/src/swift-compile.ts +2 -1
  107. package/src/swift-objc-compile.ts +7 -3
  108. package/src/swift-objc-metadata.ts +2 -2
  109. package/src/swift-objc-standin.ts +5 -0
  110. package/src/swift-package.ts +26 -3
  111. package/src/swift-standins.ts +4 -1
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -32030,7 +32030,7 @@ function constantValue(node) {
32030
32030
  }
32031
32031
  return null;
32032
32032
  }
32033
- var import_node_child_process9, import_node_crypto9, import_node_fs12, import_node_path11, OBJC_IMPORT_VERSION, NATIVE_GRAPH_SDK_VERSION, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, ROUNDS, IOS_SDK_ID, headerFiles, MISSING_IMPORT;
32033
+ var import_node_child_process9, import_node_crypto9, import_node_fs12, import_node_path11, OBJC_IMPORT_VERSION, NATIVE_GRAPH_SDK_VERSION, WASI_EMULATION, WASI_EMULATION_FLAGS, NATIVE_GRAPH_INPUTS, NATIVE_GRAPH_ID, ROUNDS, IOS_SDK_ID, headerFiles, MISSING_IMPORT;
32034
32034
  var init_swift_objc_standin = __esm({
32035
32035
  "src/swift-objc-standin.ts"() {
32036
32036
  "use strict";
@@ -32043,6 +32043,8 @@ var init_swift_objc_standin = __esm({
32043
32043
  init_swift_toolchain();
32044
32044
  OBJC_IMPORT_VERSION = "4";
32045
32045
  NATIVE_GRAPH_SDK_VERSION = "27.1";
32046
+ WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
32047
+ WASI_EMULATION_FLAGS = WASI_EMULATION.map((name3) => `-D${name3}`);
32046
32048
  NATIVE_GRAPH_INPUTS = {
32047
32049
  sdk: NATIVE_GRAPH_SDK_VERSION,
32048
32050
  settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
@@ -32296,9 +32298,20 @@ function settingDefines(call, tool) {
32296
32298
  }
32297
32299
  const body = call.slice(start, index - 1);
32298
32300
  for (const match of body.matchAll(
32299
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
32300
- ))
32301
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
32301
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
32302
+ )) {
32303
+ const name3 = match[1];
32304
+ defines.push(
32305
+ match[2] === void 0 ? name3 : `${name3}=${match[2].replace(/\\(.)/g, (_, escape) => {
32306
+ const value = swiftEscapes[escape];
32307
+ if (value === void 0)
32308
+ throw new Error(
32309
+ `Unsupported escape \\${escape} in the value of macro ${name3}`
32310
+ );
32311
+ return value;
32312
+ })}`
32313
+ );
32314
+ }
32302
32315
  }
32303
32316
  return defines;
32304
32317
  }
@@ -32509,7 +32522,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
32509
32522
  const targets = swiftManifestTargets(manifest, resourcePaths);
32510
32523
  return targets.length === 1 && targets[0].executable && targets[0].path === "." && targets[0].languageMode === 5 && !targets[0].mainActorIsolation && !targets[0].defines?.length && !targets[0].linkedLibraries?.length && !targets[0].cxxInterop && !swiftManifestCxxLanguageStandard(manifest) ? [] : targets;
32511
32524
  }
32512
- var MANIFEST_DECLARATIONS, SWIFT_NATIVE_SOURCE_EXTENSIONS, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
32525
+ var MANIFEST_DECLARATIONS, SWIFT_NATIVE_SOURCE_EXTENSIONS, swiftEscapes, OBJC_RESOURCE_ACCESSOR_HEADER, OBJC_RESOURCE_ACCESSOR_BODY;
32513
32526
  var init_swift_package = __esm({
32514
32527
  "src/swift-package.ts"() {
32515
32528
  "use strict";
@@ -32542,6 +32555,14 @@ var init_swift_package = __esm({
32542
32555
  ".inl",
32543
32556
  ".modulemap"
32544
32557
  ];
32558
+ swiftEscapes = {
32559
+ "\\": "\\",
32560
+ '"': '"',
32561
+ "'": "'",
32562
+ n: "\n",
32563
+ r: "\r",
32564
+ t: " "
32565
+ };
32545
32566
  OBJC_RESOURCE_ACCESSOR_HEADER = "resource_bundle_accessor.h";
32546
32567
  OBJC_RESOURCE_ACCESSOR_BODY = "resource_bundle_accessor.m";
32547
32568
  }
@@ -36025,6 +36046,7 @@ ${[
36025
36046
  "-fobjc-exceptions",
36026
36047
  "-fexceptions",
36027
36048
  "-fwasm-exceptions",
36049
+ ...WASI_EMULATION_FLAGS,
36028
36050
  "-fobjc-arc",
36029
36051
  "-fblocks",
36030
36052
  "-F",
@@ -36816,7 +36838,7 @@ var init_swift_compile = __esm({
36816
36838
  `;
36817
36839
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
36818
36840
  MULTI_MANIFEST_VERSION = 40;
36819
- compilerSourceDigest = true ? "6ea8d8a06ae707693b5fbb43a21e9d705ee8a19779051d47b05c4bbaeb39fb6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
36841
+ compilerSourceDigest = true ? "9c8bf514e9d972c32ef441bda4effae79610e2c5add1faca769349803321528f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
36820
36842
  DIRECTIVE = /^[ \t]*#(?:if|elseif)\b/;
36821
36843
  OS_IOS = /\b(?:os\(\s*iOS\s*\)|targetEnvironment\(\s*simulator\s*\))/g;
36822
36844
  OBJC_ATTRIBUTE = /^@(?:objcMembers\b|objc\b(?:(\s*)\(([^()]*)\))?|IBAction\b)/;
@@ -47215,6 +47237,7 @@ ${roots.map((file) => ` header "${file}"
47215
47237
  TRIPLE,
47216
47238
  "--sysroot",
47217
47239
  sysroot,
47240
+ ...WASI_EMULATION_FLAGS,
47218
47241
  "-fsyntax-only",
47219
47242
  "-I",
47220
47243
  include,
@@ -47281,6 +47304,7 @@ ${roots.map((file) => ` header "${file}"
47281
47304
  TRIPLE,
47282
47305
  "--sysroot",
47283
47306
  sysroot,
47307
+ ...WASI_EMULATION_FLAGS,
47284
47308
  "-fsyntax-only",
47285
47309
  "-I",
47286
47310
  include,
@@ -47896,7 +47920,7 @@ function swiftStandins(binaries, toolchain, provided = /* @__PURE__ */ new Set()
47896
47920
  import_node_fs27.default.rmSync(modules, { recursive: true, force: true });
47897
47921
  }
47898
47922
  }
47899
- var import_node_child_process15, import_node_crypto16, import_node_fs27, import_node_path26, TRIPLE, WASI_EMULATION, cacheDir4, SWIFT_STANDINS_DIR, key, digests, files, OBJC, identChar, RUST_TARGET, UNSEARCHED, built;
47923
+ var import_node_child_process15, import_node_crypto16, import_node_fs27, import_node_path26, TRIPLE, cacheDir4, SWIFT_STANDINS_DIR, key, digests, files, OBJC, identChar, RUST_TARGET, UNSEARCHED, built;
47900
47924
  var init_swift_standins = __esm({
47901
47925
  "src/swift-standins.ts"() {
47902
47926
  "use strict";
@@ -47916,7 +47940,6 @@ var init_swift_standins = __esm({
47916
47940
  init_swift_standin_emit();
47917
47941
  init_swift_toolchain();
47918
47942
  TRIPLE = "wasm32-unknown-wasip1";
47919
- WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
47920
47943
  cacheDir4 = import_node_path26.default.join(cacheDir(), "swift-standins");
47921
47944
  SWIFT_STANDINS_DIR = "__standins__";
47922
47945
  key = (...parts) => (0, import_node_crypto16.createHash)("sha256").update(parts.join("\0")).digest("hex").slice(0, 32);
@@ -50265,7 +50288,7 @@ var init_runtime_assets = __esm({
50265
50288
  var runtime_companion_default;
50266
50289
  var init_runtime_companion = __esm({
50267
50290
  "runtime-companion.json"() {
50268
- runtime_companion_default = { abi: 1, sha256: "64b30b73101e38ea8d4aaa3e07f22bdedd2736a7d1f0f21f9229f2f4daf45756", file: "node/cli-64b30b73101e38ea8d4aaa3e07f22bdedd2736a7d1f0f21f9229f2f4daf45756.cjs" };
50291
+ runtime_companion_default = { abi: 1, sha256: "24766e3afc21d3c7b319b6d6db0422d93f64ecd0af7147a8ef16d16b5cb4e9a8", file: "node/cli-24766e3afc21d3c7b319b6d6db0422d93f64ecd0af7147a8ef16d16b5cb4e9a8.cjs" };
50269
50292
  }
50270
50293
  });
50271
50294
 
@@ -56591,7 +56614,10 @@ async function forwardRolldownBundleResponse(upstream, res) {
56591
56614
  const message = `could not attach the rolldown bundle inventory: ${error instanceof Error ? error.message : String(error)}`;
56592
56615
  console.error(`[peach] ${message}`);
56593
56616
  if (contentType2.toLowerCase().includes("multipart/mixed")) {
56594
- yield Buffer.from(inventory.multipartFailurePart(contentType2, message), "utf8");
56617
+ yield Buffer.from(
56618
+ inventory.multipartFailurePart(contentType2, message, payload.slice(0, sent)),
56619
+ "utf8"
56620
+ );
56595
56621
  return;
56596
56622
  }
56597
56623
  res.statusCode = 500;
@@ -77304,6 +77330,9 @@ async function waitForSootsimIdle({
77304
77330
  hierarchy = null
77305
77331
  }
77306
77332
  const nodes = []
77333
+ // identity beside each geometry entry, from the rows already read,
77334
+ // so a changed layout can name the nodes that moved.
77335
+ const nodeRows = []
77307
77336
  const LOADING_TEXT_REGEX = /^(creating webview|loading html|fetching bundle|waiting for first render|starting preview|loading simulator|fetching app code|waiting for native preview|starting design|loading canvas|fetching screens|painting the canvas|waiting for webview|waiting for preview|waiting for canvas|preview stalled)/i
77308
77337
  const noteLoading = (state, text) => {
77309
77338
  if (state?.busy === true) {
@@ -77324,7 +77353,9 @@ async function waitForSootsimIdle({
77324
77353
  // subtree count by their own layout; the rest of the screen
77325
77354
  // still catches the fling.
77326
77355
  const abs = n.backgroundPlayback ? layout : n.absolute || n.absolutePosition || layout
77327
- nodes.push(Math.round(abs.x) + ',' + Math.round(abs.y) + ',' + Math.round(layout.width))
77356
+ const geometry = Math.round(abs.x) + ',' + Math.round(abs.y) + ',' + Math.round(layout.width)
77357
+ nodes.push(geometry)
77358
+ nodeRows.push([String(n.nodeId ?? nodes.length - 1), (n.type || '?') + (n.testId ? '#' + n.testId : ''), geometry])
77328
77359
  }
77329
77360
  noteLoading(
77330
77361
  n.accessibilityState,
@@ -77336,7 +77367,9 @@ async function waitForSootsimIdle({
77336
77367
  if (root) {
77337
77368
  const walk = (n) => {
77338
77369
  if (n.layout && n.layout.width > 0) {
77339
- nodes.push(Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width))
77370
+ const geometry = Math.round(n.layout.x) + ',' + Math.round(n.layout.y) + ',' + Math.round(n.layout.width)
77371
+ nodes.push(geometry)
77372
+ nodeRows.push([String(n.id ?? nodes.length - 1), (n.type || '?') + (n.props?.testID ? '#' + n.props.testID : ''), geometry])
77340
77373
  }
77341
77374
  noteLoading(
77342
77375
  n.props?.accessibilityState,
@@ -77385,7 +77418,7 @@ async function waitForSootsimIdle({
77385
77418
  pixelFrameToken = token
77386
77419
  }
77387
77420
  }
77388
- return { layout: nodes.join(';'), nativeHierarchy, screenPixels, animating, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
77421
+ return { layout: nodes.join(';'), nodeRows, nativeHierarchy, screenPixels, animating, shellAnimating, shellBlockers, layoutDirty, pendingFetches, workerBusy, webViewStarting, webViewBlocker, renderStatsAvailable, requestTotal, requestInFlight, appCommits, nodeCount }
77389
77422
  }
77390
77423
 
77391
77424
  // how long generic background network is allowed to keep us waiting AFTER
@@ -77401,6 +77434,27 @@ async function waitForSootsimIdle({
77401
77434
  const networkQuietGraceMs = 1200
77402
77435
  let lastNativeHierarchy = null
77403
77436
  let lastLayout = ''
77437
+ let lastNodeRows = []
77438
+ // what moved between the last two differing polls, bounded; names the
77439
+ // nodes behind "layout changed" without keeping any poll history.
77440
+ let lastLayoutChange = null
77441
+ const describeLayoutChange = (before, after) => {
77442
+ const previous = new Map(before.map(([key, label, geometry]) => [key, [label, geometry]]))
77443
+ const moved = []
77444
+ const added = []
77445
+ const short = (label, key) => String(label).slice(0, 48) + ' [' + String(key).slice(0, 24) + ']'
77446
+ for (const [key, label, geometry] of after) {
77447
+ const was = previous.get(key)
77448
+ previous.delete(key)
77449
+ if (!was) added.push(short(label, key) + ' ' + geometry)
77450
+ else if (was[1] !== geometry) moved.push(short(label, key) + ' ' + was[1] + '->' + geometry)
77451
+ }
77452
+ const removed = [...previous].map(([key, [label, geometry]]) => short(label, key) + ' ' + geometry)
77453
+ return {
77454
+ moved: moved.length, added: added.length, removed: removed.length,
77455
+ movedSample: moved.slice(0, 3), addedSample: added.slice(0, 3), removedSample: removed.slice(0, 3),
77456
+ }
77457
+ }
77404
77458
  let lastScreenPixels = null
77405
77459
  let screenChangedPolls = 0
77406
77460
  let lastRequestTotal = -1
@@ -77479,7 +77533,10 @@ async function waitForSootsimIdle({
77479
77533
  if (snapshot.layoutDirty) dirtyPolls++
77480
77534
  if (snapshot.animating || snapshot.shellAnimating) animatingPolls++
77481
77535
  if (snapshot.webViewStarting) webViewStartingPolls++
77482
- if (polls > 1 && snapshot.layout !== lastLayout) layoutChangedPolls++
77536
+ if (polls > 1 && snapshot.layout !== lastLayout) {
77537
+ layoutChangedPolls++
77538
+ lastLayoutChange = describeLayoutChange(lastNodeRows, snapshot.nodeRows)
77539
+ }
77483
77540
  const screenChanged = paintStill && !screenUnchanged(snapshot.screenPixels, lastScreenPixels)
77484
77541
  if (polls > 1 && screenChanged) screenChangedPolls++
77485
77542
  const strictOk =
@@ -77546,6 +77603,7 @@ async function waitForSootsimIdle({
77546
77603
  }
77547
77604
  lastNativeHierarchy = snapshot.nativeHierarchy
77548
77605
  lastLayout = snapshot.layout
77606
+ lastNodeRows = snapshot.nodeRows
77549
77607
  lastScreenPixels = snapshot.screenPixels
77550
77608
  lastRequestTotal = snapshot.requestTotal
77551
77609
  lastAppCommits = snapshot.appCommits
@@ -77592,6 +77650,7 @@ async function waitForSootsimIdle({
77592
77650
  blockedBy:
77593
77651
  blockers.join(', ') + ' over ' + polls + ' polls (layout changed ' + layoutChangedPolls +
77594
77652
  'x, layoutDirty ' + dirtyPolls + 'x, animating ' + animatingPolls + 'x, webViewStarting ' + webViewStartingPolls + 'x, screen changed ' + screenChangedPolls + 'x)' +
77653
+ (lastLayoutChange ? '; last layout change ' + JSON.stringify(lastLayoutChange) : '') +
77595
77654
  (activityHost ? '; tenant activity ' + JSON.stringify({ initial: initialActivity, current: activityHost.getRenderActivity?.(), busySeen, idleSince, transitionEndedAt, startedAt: start }) : ''),
77596
77655
  }
77597
77656
  } finally {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -9121,6 +9121,8 @@ var import_node_crypto5 = require("node:crypto");
9121
9121
  var import_node_fs5 = __toESM(require("node:fs"), 1);
9122
9122
  var import_node_path7 = __toESM(require("node:path"), 1);
9123
9123
  var NATIVE_GRAPH_SDK_VERSION = "27.1";
9124
+ var WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
9125
+ var WASI_EMULATION_FLAGS = WASI_EMULATION.map((name2) => `-D${name2}`);
9124
9126
  var NATIVE_GRAPH_INPUTS = {
9125
9127
  sdk: NATIVE_GRAPH_SDK_VERSION,
9126
9128
  settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
@@ -9829,6 +9831,14 @@ function clangMacroSetting(macro) {
9829
9831
  const [name2, ...value] = macro.split("=");
9830
9832
  return value.length === 0 ? `.define(${JSON.stringify(name2)})` : `.define(${JSON.stringify(name2)}, to: ${JSON.stringify(value.join("="))})`;
9831
9833
  }
9834
+ var swiftEscapes = {
9835
+ "\\": "\\",
9836
+ '"': '"',
9837
+ "'": "'",
9838
+ n: "\n",
9839
+ r: "\r",
9840
+ t: " "
9841
+ };
9832
9842
  function settingDefines(call, tool) {
9833
9843
  const defines = [];
9834
9844
  for (const open of call.matchAll(new RegExp(`\\b${tool}Settings\\s*:\\s*\\[`, "g"))) {
@@ -9845,9 +9855,20 @@ function settingDefines(call, tool) {
9845
9855
  }
9846
9856
  const body = call.slice(start, index - 1);
9847
9857
  for (const match of body.matchAll(
9848
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
9849
- ))
9850
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
9858
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
9859
+ )) {
9860
+ const name2 = match[1];
9861
+ defines.push(
9862
+ match[2] === void 0 ? name2 : `${name2}=${match[2].replace(/\\(.)/g, (_, escape) => {
9863
+ const value = swiftEscapes[escape];
9864
+ if (value === void 0)
9865
+ throw new Error(
9866
+ `Unsupported escape \\${escape} in the value of macro ${name2}`
9867
+ );
9868
+ return value;
9869
+ })}`
9870
+ );
9871
+ }
9851
9872
  }
9852
9873
  return defines;
9853
9874
  }
@@ -10833,7 +10854,7 @@ var EXECUTABLE_LINK_FLAGS = ` "-Xclang-linker", "-O0",
10833
10854
  `;
10834
10855
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
10835
10856
  var MULTI_MANIFEST_VERSION = 40;
10836
- var compilerSourceDigest = true ? "6ea8d8a06ae707693b5fbb43a21e9d705ee8a19779051d47b05c4bbaeb39fb6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
10857
+ var compilerSourceDigest = true ? "9c8bf514e9d972c32ef441bda4effae79610e2c5add1faca769349803321528f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
10837
10858
  function swiftArtifactHash(input, release, moduleRoot) {
10838
10859
  const hash2 = (0, import_node_crypto7.createHash)("sha256");
10839
10860
  hash2.update(`swift-compile
@@ -15796,6 +15817,7 @@ ${[
15796
15817
  "-fobjc-exceptions",
15797
15818
  "-fexceptions",
15798
15819
  "-fwasm-exceptions",
15820
+ ...WASI_EMULATION_FLAGS,
15799
15821
  "-fobjc-arc",
15800
15822
  "-fblocks",
15801
15823
  "-F",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __export = (target, all) => {
4
4
  for (var name2 in all)
@@ -9094,6 +9094,8 @@ import { createHash as createHash6 } from "node:crypto";
9094
9094
  import fs3 from "node:fs";
9095
9095
  import path7 from "node:path";
9096
9096
  var NATIVE_GRAPH_SDK_VERSION = "27.1";
9097
+ var WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
9098
+ var WASI_EMULATION_FLAGS = WASI_EMULATION.map((name2) => `-D${name2}`);
9097
9099
  var NATIVE_GRAPH_INPUTS = {
9098
9100
  sdk: NATIVE_GRAPH_SDK_VERSION,
9099
9101
  settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
@@ -9802,6 +9804,14 @@ function clangMacroSetting(macro) {
9802
9804
  const [name2, ...value] = macro.split("=");
9803
9805
  return value.length === 0 ? `.define(${JSON.stringify(name2)})` : `.define(${JSON.stringify(name2)}, to: ${JSON.stringify(value.join("="))})`;
9804
9806
  }
9807
+ var swiftEscapes = {
9808
+ "\\": "\\",
9809
+ '"': '"',
9810
+ "'": "'",
9811
+ n: "\n",
9812
+ r: "\r",
9813
+ t: " "
9814
+ };
9805
9815
  function settingDefines(call, tool) {
9806
9816
  const defines = [];
9807
9817
  for (const open of call.matchAll(new RegExp(`\\b${tool}Settings\\s*:\\s*\\[`, "g"))) {
@@ -9818,9 +9828,20 @@ function settingDefines(call, tool) {
9818
9828
  }
9819
9829
  const body = call.slice(start, index - 1);
9820
9830
  for (const match of body.matchAll(
9821
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
9822
- ))
9823
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
9831
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
9832
+ )) {
9833
+ const name2 = match[1];
9834
+ defines.push(
9835
+ match[2] === void 0 ? name2 : `${name2}=${match[2].replace(/\\(.)/g, (_, escape) => {
9836
+ const value = swiftEscapes[escape];
9837
+ if (value === void 0)
9838
+ throw new Error(
9839
+ `Unsupported escape \\${escape} in the value of macro ${name2}`
9840
+ );
9841
+ return value;
9842
+ })}`
9843
+ );
9844
+ }
9824
9845
  }
9825
9846
  return defines;
9826
9847
  }
@@ -10816,7 +10837,7 @@ var EXECUTABLE_LINK_FLAGS = ` "-Xclang-linker", "-O0",
10816
10837
  `;
10817
10838
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
10818
10839
  var MULTI_MANIFEST_VERSION = 40;
10819
- var compilerSourceDigest = true ? "6ea8d8a06ae707693b5fbb43a21e9d705ee8a19779051d47b05c4bbaeb39fb6c" : swiftCompilerSourceDigest(import.meta.dirname);
10840
+ var compilerSourceDigest = true ? "9c8bf514e9d972c32ef441bda4effae79610e2c5add1faca769349803321528f" : swiftCompilerSourceDigest(import.meta.dirname);
10820
10841
  function swiftArtifactHash(input, release, moduleRoot) {
10821
10842
  const hash2 = createHash9("sha256");
10822
10843
  hash2.update(`swift-compile
@@ -15779,6 +15800,7 @@ ${[
15779
15800
  "-fobjc-exceptions",
15780
15801
  "-fexceptions",
15781
15802
  "-fwasm-exceptions",
15803
+ ...WASI_EMULATION_FLAGS,
15782
15804
  "-fobjc-arc",
15783
15805
  "-fblocks",
15784
15806
  "-F",
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -165,6 +165,14 @@ function clangMacroSetting(macro) {
165
165
  const [name, ...value] = macro.split("=");
166
166
  return value.length === 0 ? `.define(${JSON.stringify(name)})` : `.define(${JSON.stringify(name)}, to: ${JSON.stringify(value.join("="))})`;
167
167
  }
168
+ var swiftEscapes = {
169
+ "\\": "\\",
170
+ '"': '"',
171
+ "'": "'",
172
+ n: "\n",
173
+ r: "\r",
174
+ t: " "
175
+ };
168
176
  function settingDefines(call, tool) {
169
177
  const defines = [];
170
178
  for (const open of call.matchAll(new RegExp(`\\b${tool}Settings\\s*:\\s*\\[`, "g"))) {
@@ -181,9 +189,20 @@ function settingDefines(call, tool) {
181
189
  }
182
190
  const body = call.slice(start, index - 1);
183
191
  for (const match of body.matchAll(
184
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
185
- ))
186
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
192
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
193
+ )) {
194
+ const name = match[1];
195
+ defines.push(
196
+ match[2] === void 0 ? name : `${name}=${match[2].replace(/\\(.)/g, (_, escape) => {
197
+ const value = swiftEscapes[escape];
198
+ if (value === void 0)
199
+ throw new Error(
200
+ `Unsupported escape \\${escape} in the value of macro ${name}`
201
+ );
202
+ return value;
203
+ })}`
204
+ );
205
+ }
187
206
  }
188
207
  return defines;
189
208
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -125,6 +125,14 @@ function clangMacroSetting(macro) {
125
125
  const [name, ...value] = macro.split("=");
126
126
  return value.length === 0 ? `.define(${JSON.stringify(name)})` : `.define(${JSON.stringify(name)}, to: ${JSON.stringify(value.join("="))})`;
127
127
  }
128
+ var swiftEscapes = {
129
+ "\\": "\\",
130
+ '"': '"',
131
+ "'": "'",
132
+ n: "\n",
133
+ r: "\r",
134
+ t: " "
135
+ };
128
136
  function settingDefines(call, tool) {
129
137
  const defines = [];
130
138
  for (const open of call.matchAll(new RegExp(`\\b${tool}Settings\\s*:\\s*\\[`, "g"))) {
@@ -141,9 +149,20 @@ function settingDefines(call, tool) {
141
149
  }
142
150
  const body = call.slice(start, index - 1);
143
151
  for (const match of body.matchAll(
144
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
145
- ))
146
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
152
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
153
+ )) {
154
+ const name = match[1];
155
+ defines.push(
156
+ match[2] === void 0 ? name : `${name}=${match[2].replace(/\\(.)/g, (_, escape) => {
157
+ const value = swiftEscapes[escape];
158
+ if (value === void 0)
159
+ throw new Error(
160
+ `Unsupported escape \\${escape} in the value of macro ${name}`
161
+ );
162
+ return value;
163
+ })}`
164
+ );
165
+ }
147
166
  }
148
167
  return defines;
149
168
  }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (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.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -11162,6 +11162,8 @@ var import_node_fs5 = __toESM(require("node:fs"), 1);
11162
11162
  var import_node_path7 = __toESM(require("node:path"), 1);
11163
11163
  var OBJC_IMPORT_VERSION = "4";
11164
11164
  var NATIVE_GRAPH_SDK_VERSION = "27.1";
11165
+ var WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
11166
+ var WASI_EMULATION_FLAGS = WASI_EMULATION.map((name3) => `-D${name3}`);
11165
11167
  var NATIVE_GRAPH_INPUTS = {
11166
11168
  sdk: NATIVE_GRAPH_SDK_VERSION,
11167
11169
  settings: "e68503e5e534e9194af5efe8c636ca8b824e2d8237c5f38ec84aa4d155bc8418",
@@ -11952,6 +11954,14 @@ function clangMacroSetting(macro) {
11952
11954
  const [name3, ...value] = macro.split("=");
11953
11955
  return value.length === 0 ? `.define(${JSON.stringify(name3)})` : `.define(${JSON.stringify(name3)}, to: ${JSON.stringify(value.join("="))})`;
11954
11956
  }
11957
+ var swiftEscapes = {
11958
+ "\\": "\\",
11959
+ '"': '"',
11960
+ "'": "'",
11961
+ n: "\n",
11962
+ r: "\r",
11963
+ t: " "
11964
+ };
11955
11965
  function settingDefines(call, tool) {
11956
11966
  const defines = [];
11957
11967
  for (const open of call.matchAll(new RegExp(`\\b${tool}Settings\\s*:\\s*\\[`, "g"))) {
@@ -11968,9 +11978,20 @@ function settingDefines(call, tool) {
11968
11978
  }
11969
11979
  const body = call.slice(start, index - 1);
11970
11980
  for (const match of body.matchAll(
11971
- /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"([^"]*)"\s*)?\)/g
11972
- ))
11973
- defines.push(match[2] === void 0 ? match[1] : `${match[1]}=${match[2]}`);
11981
+ /\.define\(\s*"([A-Za-z_][A-Za-z0-9_]*)"\s*(?:,\s*to:\s*"((?:[^"\\]|\\.)*)"\s*)?\)/g
11982
+ )) {
11983
+ const name3 = match[1];
11984
+ defines.push(
11985
+ match[2] === void 0 ? name3 : `${name3}=${match[2].replace(/\\(.)/g, (_, escape) => {
11986
+ const value = swiftEscapes[escape];
11987
+ if (value === void 0)
11988
+ throw new Error(
11989
+ `Unsupported escape \\${escape} in the value of macro ${name3}`
11990
+ );
11991
+ return value;
11992
+ })}`
11993
+ );
11994
+ }
11974
11995
  }
11975
11996
  return defines;
11976
11997
  }
@@ -12954,7 +12975,7 @@ var EXECUTABLE_LINK_FLAGS = ` "-Xclang-linker", "-O0",
12954
12975
  `;
12955
12976
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12956
12977
  var MULTI_MANIFEST_VERSION = 40;
12957
- var compilerSourceDigest = true ? "6ea8d8a06ae707693b5fbb43a21e9d705ee8a19779051d47b05c4bbaeb39fb6c" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12978
+ var compilerSourceDigest = true ? "9c8bf514e9d972c32ef441bda4effae79610e2c5add1faca769349803321528f" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
12958
12979
  function swiftArtifactHash(input, release, moduleRoot) {
12959
12980
  const hash2 = (0, import_node_crypto7.createHash)("sha256");
12960
12981
  hash2.update(`swift-compile
@@ -17842,6 +17863,7 @@ ${[
17842
17863
  "-fobjc-exceptions",
17843
17864
  "-fexceptions",
17844
17865
  "-fwasm-exceptions",
17866
+ ...WASI_EMULATION_FLAGS,
17845
17867
  "-fobjc-arc",
17846
17868
  "-fblocks",
17847
17869
  "-F",
@@ -22966,7 +22988,6 @@ function stripDefaults(decl) {
22966
22988
 
22967
22989
  // src/swift-standins.ts
22968
22990
  var TRIPLE = "wasm32-unknown-wasip1";
22969
- var WASI_EMULATION = ["_WASI_EMULATED_SIGNAL", "_WASI_EMULATED_MMAN"];
22970
22991
  var cacheDir4 = import_node_path21.default.join(cacheDir(), "swift-standins");
22971
22992
  var SWIFT_STANDINS_DIR = "__standins__";
22972
22993
  function exec(file, args, cwd) {
@@ -23528,6 +23549,7 @@ ${roots.map((file) => ` header "${file}"
23528
23549
  TRIPLE,
23529
23550
  "--sysroot",
23530
23551
  sysroot,
23552
+ ...WASI_EMULATION_FLAGS,
23531
23553
  "-fsyntax-only",
23532
23554
  "-I",
23533
23555
  include,
@@ -23594,6 +23616,7 @@ ${roots.map((file) => ` header "${file}"
23594
23616
  TRIPLE,
23595
23617
  "--sysroot",
23596
23618
  sysroot,
23619
+ ...WASI_EMULATION_FLAGS,
23597
23620
  "-fsyntax-only",
23598
23621
  "-I",
23599
23622
  include,
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -42,7 +42,7 @@ var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
42
42
  var runtime_companion_default;
43
43
  var init_runtime_companion = __esm({
44
44
  "runtime-companion.json"() {
45
- runtime_companion_default = { abi: 1, sha256: "64b30b73101e38ea8d4aaa3e07f22bdedd2736a7d1f0f21f9229f2f4daf45756", file: "node/cli-64b30b73101e38ea8d4aaa3e07f22bdedd2736a7d1f0f21f9229f2f4daf45756.cjs" };
45
+ runtime_companion_default = { abi: 1, sha256: "24766e3afc21d3c7b319b6d6db0422d93f64ecd0af7147a8ef16d16b5cb4e9a8", file: "node/cli-24766e3afc21d3c7b319b6d6db0422d93f64ecd0af7147a8ef16d16b5cb4e9a8.cjs" };
46
46
  }
47
47
  });
48
48
 
@@ -1024,7 +1024,10 @@ async function forwardRolldownBundleResponse(upstream, res) {
1024
1024
  const message = `could not attach the rolldown bundle inventory: ${error instanceof Error ? error.message : String(error)}`;
1025
1025
  console.error(`[peach] ${message}`);
1026
1026
  if (contentType.toLowerCase().includes("multipart/mixed")) {
1027
- yield Buffer.from(inventory.multipartFailurePart(contentType, message), "utf8");
1027
+ yield Buffer.from(
1028
+ inventory.multipartFailurePart(contentType, message, payload.slice(0, sent)),
1029
+ "utf8"
1030
+ );
1028
1031
  return;
1029
1032
  }
1030
1033
  res.statusCode = 500;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1673 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1674 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -26,6 +26,7 @@ export declare function adaptiveForegroundGlassAncestor<T extends {
26
26
  export declare function subtreeSamplesLiveBackdrop(node: PaintBoundaryNode): boolean;
27
27
  export declare function subtreeReadsLayerBackdrop(node: PaintBoundaryNode): boolean;
28
28
  export declare function subtreeContainsTextInputHost(node: PaintBoundaryNode): boolean;
29
+ export declare function subtreeContainsMetalEffect(node: PaintBoundaryNode): boolean;
29
30
  export declare function subtreeContainsLivePresentation(node: PaintBoundaryNode): boolean;
30
31
  export declare function invalidateTextPresentationBoundary(node: PaintBoundaryNode): void;
31
32
  export declare function invalidateSubtreeLivePresentationCache(node: PaintBoundaryNode): void;
@@ -88,7 +88,7 @@ export declare function releasableMultipartPrefix(payload: string, contentType:
88
88
  length: number;
89
89
  bundleStarted: boolean;
90
90
  };
91
- export declare function multipartFailurePart(contentType: string, message: string): string;
91
+ export declare function multipartFailurePart(contentType: string, message: string, sentPrefix: string): string;
92
92
  export declare function attachRolldownBundleHttpPayload(payload: string, contentType: string | undefined): Promise<string>;
93
93
  export declare function readRolldownBundleInventory(source: string): Promise<RolldownBundleInventory>;
94
94
  export {};