peachsim 0.1.2701 → 0.1.2703

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 (129) hide show
  1. package/cli/commands/package.ts +5 -5
  2. package/cli/commands/perf-native.ts +100 -58
  3. package/cli/package-duo-device.ts +24 -0
  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 +2 -2
  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 +5 -5
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +3 -3
  16. package/dist-lib/bundle-channel.cjs +117 -10
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +3 -3
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +3 -3
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +2 -2
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +7 -7
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +5 -5
  27. package/dist-lib/detox/index.cjs +1 -1
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/esm-chunks/{acorn-XYDEAJWX.mjs → acorn-43Q5KRLL.mjs} +3 -3
  30. package/dist-lib/esm-chunks/{chunk-JAQLYGVS.mjs → chunk-3XOKPZGS.mjs} +4 -4
  31. package/dist-lib/esm-chunks/{chunk-43X64A24.mjs → chunk-42K537BB.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-KXQ6YPZJ.mjs → chunk-4BMF44KC.mjs} +1 -1
  33. package/dist-lib/esm-chunks/{chunk-2GFDQ2RY.mjs → chunk-4N7DHUC6.mjs} +1 -1
  34. package/dist-lib/esm-chunks/{chunk-LGFEIKDM.mjs → chunk-B3AGCWOJ.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-YLVJRH27.mjs → chunk-DMHSTMXP.mjs} +6 -6
  36. package/dist-lib/esm-chunks/{chunk-BGLOJMLA.mjs → chunk-F3RRYYLF.mjs} +1 -1
  37. package/dist-lib/esm-chunks/{chunk-CMBYCFEF.mjs → chunk-GUR2WE4P.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-WWK6GMXB.mjs → chunk-H5ELVRKG.mjs} +5 -5
  39. package/dist-lib/esm-chunks/{chunk-EBM3VDWK.mjs → chunk-HFPHOP7B.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-FW52XLFO.mjs → chunk-HXDBQN66.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-A5WFZ2XX.mjs → chunk-JZ5XJAXQ.mjs} +2 -2
  42. package/dist-lib/esm-chunks/{chunk-JYSDQDL2.mjs → chunk-K2OOA65C.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-Q5DBRTKN.mjs → chunk-KP2NMWWX.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-NFVR346F.mjs → chunk-NFKOUEBN.mjs} +6 -6
  45. package/dist-lib/esm-chunks/{chunk-OGJEDE5E.mjs → chunk-NNWFER2D.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-OPTGHXWZ.mjs → chunk-ODCTJTKL.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-DLRANZB6.mjs → chunk-SG3PGG3S.mjs} +1 -1
  48. package/dist-lib/esm-chunks/{chunk-W6TXFCRI.mjs → chunk-SMBH32NF.mjs} +1 -1
  49. package/dist-lib/esm-chunks/{chunk-SSR5S6R3.mjs → chunk-SOAH7CMP.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-STBRFFEL.mjs → chunk-TT3PYTWA.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{chunk-KGCR7O7F.mjs → chunk-UJSEYJ2F.mjs} +1 -1
  52. package/dist-lib/esm-chunks/{chunk-DDGDFU4G.mjs → chunk-VSD7SG36.mjs} +3 -3
  53. package/dist-lib/esm-chunks/{chunk-5FIKQ7F4.mjs → chunk-YF5O3ABY.mjs} +128 -18
  54. package/dist-lib/esm-chunks/{metro-layout-parser-NP3MSVX4.mjs → metro-layout-parser-UY33H5NJ.mjs} +3 -3
  55. package/dist-lib/esm-chunks/{swift-package-prebuilt-SVIMOFLA.mjs → swift-package-prebuilt-H3JZE3QC.mjs} +12 -12
  56. package/dist-lib/esm-chunks/{swift-sdk-app-module-A6YJ4KNJ.mjs → swift-sdk-app-module-FZWIOWZN.mjs} +16 -16
  57. package/dist-lib/esm-chunks/{swift-sdk-image-UYJ3VFF6.mjs → swift-sdk-image-7WNTYEJX.mjs} +16 -16
  58. package/dist-lib/esm-chunks/{swift-sdk-image-producer-7EWPBKNW.mjs → swift-sdk-image-producer-MJD3U6GW.mjs} +5 -5
  59. package/dist-lib/expo-swift-bundle.cjs +117 -10
  60. package/dist-lib/expo-swift-metadata.cjs +1 -1
  61. package/dist-lib/expo-swift-metadata.mjs +7 -7
  62. package/dist-lib/home-paths.cjs +1 -1
  63. package/dist-lib/host/bridge-host.cjs +392 -14
  64. package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
  65. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  66. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  67. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  68. package/dist-lib/host/websocket-proxy.cjs +1 -1
  69. package/dist-lib/index.cjs +1 -1
  70. package/dist-lib/kotlin-host.cjs +1 -1
  71. package/dist-lib/menu.cjs +1 -1
  72. package/dist-lib/menu.mjs +3 -3
  73. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  74. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  75. package/dist-lib/metro-production-bundle.cjs +1 -1
  76. package/dist-lib/metro-production-bundle.mjs +4 -4
  77. package/dist-lib/native-app-identity-project.cjs +1 -1
  78. package/dist-lib/native-app-identity-project.mjs +15 -15
  79. package/dist-lib/native-app-identity.cjs +1 -1
  80. package/dist-lib/native-app-identity.mjs +6 -6
  81. package/dist-lib/native-firebase-metadata.cjs +1 -1
  82. package/dist-lib/native-firebase-metadata.mjs +3 -3
  83. package/dist-lib/pdfium-raster.cjs +1 -1
  84. package/dist-lib/pdfium-raster.mjs +2 -2
  85. package/dist-lib/plist.cjs +1 -1
  86. package/dist-lib/plist.mjs +3 -3
  87. package/dist-lib/profiles.cjs +1 -1
  88. package/dist-lib/public-brand.cjs +1 -1
  89. package/dist-lib/public-origins-lib-esm.json +85 -85
  90. package/dist-lib/public-origins-lib.json +64 -64
  91. package/dist-lib/react-native-host-modules.cjs +1 -1
  92. package/dist-lib/react-native-host-modules.mjs +2 -2
  93. package/dist-lib/reap-browser.cjs +1 -1
  94. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  95. package/dist-lib/sdk.cjs +1 -1
  96. package/dist-lib/sdk.mjs +8 -8
  97. package/dist-lib/skills.cjs +392 -14
  98. package/dist-lib/swift-compile.cjs +111 -4
  99. package/dist-lib/swift-compile.mjs +12 -12
  100. package/dist-lib/swift-package.cjs +1 -1
  101. package/dist-lib/swift-package.mjs +3 -3
  102. package/dist-lib/swift-submit.cjs +1 -1
  103. package/dist-lib/swift-submit.mjs +6 -6
  104. package/dist-lib/swift-svg-raster.cjs +1 -1
  105. package/dist-lib/swift-svg-raster.mjs +2 -2
  106. package/dist-lib/swift-toolchain.cjs +1 -1
  107. package/dist-lib/swift.cjs +1 -1
  108. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  109. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  110. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  111. package/dist-lib/vendor/acorn.cjs +1 -1
  112. package/dist-lib/vendor/magic-string.cjs +1 -1
  113. package/dist-lib/vendor/stream-json.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  116. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  117. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  118. package/dist-lib/vendor/sucrase.cjs +1 -1
  119. package/dist-lib/vendor/terser.cjs +1 -1
  120. package/dist-lib/vendor/valibot.cjs +1 -1
  121. package/dist-lib/vendor/ws.cjs +1 -1
  122. package/dist-lib/vendor/zod.cjs +1 -1
  123. package/dist-lib/worklet-executable.cjs +1 -1
  124. package/dist-lib/worklet-executable.mjs +3 -3
  125. package/dist-types/packages/peach-engine/{core-abi → shared}/value/kernel-client.d.ts +2 -2
  126. package/dist-types/packages/peach-engine/src/kernel/kernel.d.ts +1 -1
  127. package/package.json +1 -1
  128. package/src/one-native-controls-package.ts +306 -5
  129. package/src/swift-compile.ts +147 -9
@@ -464,10 +464,10 @@ export async function runPackage(args: string[]): Promise<void> {
464
464
  import.meta.dirname,
465
465
  '../../../peach-engine/core-abi/macos/duo',
466
466
  )
467
- const deviceModule = pathToFileURL(path.join(builder, 'package-device.ts')).href
468
- const {
469
- writePackagedDuoDevice,
470
- }: typeof import('../../../peach-engine/core-abi/macos/duo/package-device') =
467
+ const deviceModule = pathToFileURL(
468
+ path.resolve(builder, '../../../../peachsim/cli/package-duo-device.ts'),
469
+ ).href
470
+ const { writePackagedDuoDevice }: typeof import('../package-duo-device') =
471
471
  await import(deviceModule)
472
472
  fs.mkdirSync(path.dirname(output), { recursive: true })
473
473
  const scratch = fs.mkdtempSync(`${staging}.build-`)
@@ -504,7 +504,7 @@ export async function runPackage(args: string[]): Promise<void> {
504
504
  const contents = path.join(app, 'Contents')
505
505
  const resources = path.join(contents, 'Resources')
506
506
  const plist = path.join(contents, 'Info.plist')
507
- writePackagedDuoDevice(resources, defaults)
507
+ await writePackagedDuoDevice(resources, defaults)
508
508
  if (Object.keys(launchEnvironmentFiles).length)
509
509
  execFileSync('/usr/bin/plutil', [
510
510
  '-insert',
@@ -259,6 +259,16 @@ function loadSourceMapsBundle(
259
259
  empty.directory = dirname(targetFile)
260
260
  const parsed: unknown = JSON.parse(readFileSync(targetFile, 'utf8'))
261
261
  if (!parsed || typeof parsed !== 'object') return empty
262
+ const imageUUID = Reflect.get(parsed, 'imageUUID')
263
+ if (
264
+ executableUUID &&
265
+ typeof imageUUID === 'string' &&
266
+ imageUUID.toLowerCase() !== executableUUID.toLowerCase()
267
+ ) {
268
+ throw new Error(
269
+ `Source map UUID ${imageUUID} does not match executable ${executableUUID}`,
270
+ )
271
+ }
262
272
  const mapsObj = Reflect.get(parsed, 'maps')
263
273
  if (mapsObj && typeof mapsObj === 'object') {
264
274
  for (const [key, value] of Object.entries(mapsObj)) {
@@ -585,6 +595,7 @@ class AppImageSymbols {
585
595
  const source = location ? formatLocation(location.url, location.line) : ''
586
596
  return { layer: 'JS', name: source ? `${fn} (${source})` : fn }
587
597
  }
598
+ if (entry?.name.includes(' /$bun/js/')) return { layer: 'JS', name: entry.name }
588
599
  name = entry ? `${this.image}\`${entry.name}` : (this.names.get(offset) ?? frame)
589
600
  }
590
601
  if (bridgeFrame.test(name)) return { layer: 'Bridge', name }
@@ -737,14 +748,15 @@ export function symbolicateDiagnosticReports(
737
748
  return symbolicateNativeFrames(stacks, maps, uuid, directories, false)
738
749
  }
739
750
 
740
- function symbolicateTelemetry(input: string, mapsPath: string): string {
751
+ function symbolicateTelemetry(
752
+ input: string,
753
+ mapsPath: string,
754
+ filter: SpanFilter,
755
+ ): string {
741
756
  const mapDirectory = statSync(mapsPath).isDirectory()
742
757
  const snapshots: Record<string, unknown>[] = []
743
- let current:
744
- | { uuid: string; bundle: SourceMapBundle; reports: Record<string, unknown>[] }
745
- | undefined
746
- const finish = () =>
747
- current && symbolicateNativeFrames(current.reports, current.bundle, current.uuid)
758
+ const byUUID = new Map<string, Record<string, unknown>[]>()
759
+ const filterSpans = filter.kinds.length > 0 || filter.route || filter.target
748
760
  for (const line of readFileSync(input, 'utf8').split('\n')) {
749
761
  if (!line.trim()) continue
750
762
  const row: unknown = JSON.parse(line)
@@ -759,45 +771,55 @@ function symbolicateTelemetry(input: string, mapsPath: string): string {
759
771
  )
760
772
  continue
761
773
 
762
- if (current?.uuid !== executableUUID) {
763
- finish()
764
- const expected = `OneJavaScriptSourceMaps-${executableUUID}.json`
765
- const mapFile = mapDirectory ? join(mapsPath, expected) : mapsPath
766
- if (basename(mapFile) !== expected || !existsSync(mapFile)) {
767
- throw new Error(`Missing exact source map ${expected}`)
768
- }
769
- const bundle = loadSourceMapsBundle(mapFile, executableUUID)
770
- if (!Object.keys(bundle.rawMaps).length)
771
- throw new Error(`No source maps in ${mapFile}`)
772
- current = { uuid: executableUUID, bundle, reports: [] }
774
+ if (filterSpans) {
775
+ const spans = records(snapshot.spans).filter(
776
+ (span) => spanGroupKey(span, filter) !== undefined,
777
+ )
778
+ if (!spans.length) continue
779
+ snapshot.spans = spans
773
780
  }
774
-
775
- const toLocations = (list: unknown): ProfileLocation[] =>
776
- Array.isArray(list)
777
- ? list.filter(
778
- (entry: unknown): entry is ProfileLocation =>
779
- isRecord(entry) &&
780
- typeof entry.name === 'string' &&
781
- typeof entry.url === 'string' &&
782
- typeof entry.line === 'number' &&
783
- typeof entry.column === 'number',
784
- )
785
- : []
786
- const jsFunctions = toLocations(topJsFunctions)
787
- const interpretedJsFunctions = toLocations(snapshot.topInterpretedJsFunctions)
788
- const components = topReactComponents.filter(
789
- (entry: unknown): entry is { name: string } =>
790
- isRecord(entry) && typeof entry.name === 'string',
791
- )
792
- symbolicateFnList(jsFunctions, current.bundle)
793
- if (interpretedJsFunctions.length)
794
- symbolicateFnList(interpretedJsFunctions, current.bundle)
795
- symbolicateReactNames(components, current.bundle)
796
- current.reports.push(snapshot)
797
781
  snapshots.push(row)
782
+ const reports = byUUID.get(executableUUID)
783
+ if (reports) reports.push(snapshot)
784
+ else byUUID.set(executableUUID, [snapshot])
785
+ }
786
+ if (!snapshots.length && !filterSpans)
787
+ throw new Error(`No profiler telemetry snapshots in ${input}`)
788
+
789
+ const toLocations = (list: unknown): ProfileLocation[] =>
790
+ Array.isArray(list)
791
+ ? list.filter(
792
+ (entry: unknown): entry is ProfileLocation =>
793
+ isRecord(entry) &&
794
+ typeof entry.name === 'string' &&
795
+ typeof entry.url === 'string' &&
796
+ typeof entry.line === 'number' &&
797
+ typeof entry.column === 'number',
798
+ )
799
+ : []
800
+ for (const [uuid, reports] of byUUID) {
801
+ const expected = `OneJavaScriptSourceMaps-${uuid}.json`
802
+ const mapFile = mapDirectory ? join(mapsPath, expected) : mapsPath
803
+ if (basename(mapFile) !== expected || !existsSync(mapFile)) {
804
+ if (!mapDirectory) throw new Error(`Missing exact source map ${expected}`)
805
+ console.error(`Missing ${expected}; leaving its telemetry unsymbolicated`)
806
+ continue
807
+ }
808
+ const bundle = loadSourceMapsBundle(mapFile, uuid)
809
+ if (!Object.keys(bundle.rawMaps).length)
810
+ throw new Error(`No source maps in ${mapFile}`)
811
+ for (const snapshot of reports) {
812
+ const jsFunctions = toLocations(snapshot.topJsFunctions)
813
+ const interpretedJsFunctions = toLocations(snapshot.topInterpretedJsFunctions)
814
+ const components = records(snapshot.topReactComponents).filter(
815
+ (entry): entry is { name: string } => typeof entry.name === 'string',
816
+ )
817
+ symbolicateFnList(jsFunctions, bundle)
818
+ if (interpretedJsFunctions.length) symbolicateFnList(interpretedJsFunctions, bundle)
819
+ symbolicateReactNames(components, bundle)
820
+ }
821
+ symbolicateNativeFrames(reports, bundle, uuid)
798
822
  }
799
- finish()
800
- if (!snapshots.length) throw new Error(`No profiler telemetry snapshots in ${input}`)
801
823
  return `${JSON.stringify(snapshots, null, 2)}\n`
802
824
  }
803
825
 
@@ -1001,7 +1023,10 @@ function printSummary(
1001
1023
  }
1002
1024
  if (report.slowBridgeCalls.length) {
1003
1025
  console.log(`\nSlow bridge calls (${report.slowBridgeTotal} over 256 KB or 4 ms):`)
1004
- for (const call of report.slowBridgeCalls.slice(-5)) {
1026
+ const slowest = [...report.slowBridgeCalls]
1027
+ .sort((left, right) => asNum(right.durationMs) - asNum(left.durationMs))
1028
+ .slice(0, 5)
1029
+ for (const call of slowest) {
1005
1030
  console.log(
1006
1031
  ` ${asStr(call.op)}: ${(asNum(call.bytes) / 1024).toFixed(0)} KB in ${asNum(call.durationMs).toFixed(1)} ms`,
1007
1032
  )
@@ -1043,30 +1068,46 @@ type SpanGroup = {
1043
1068
  }
1044
1069
 
1045
1070
  // the value that share of spans reached or beat, so fps p95 is the slow tail
1046
- function percentileFloor(values: number[], share: number): number {
1047
- const sorted = [...values].sort((a, b) => b - a)
1071
+ function percentileFloor(sorted: number[], share: number): number {
1048
1072
  return sorted[Math.min(sorted.length - 1, Math.ceil(share * sorted.length) - 1)] ?? 0
1049
1073
  }
1050
1074
 
1075
+ function spanGroupKey(
1076
+ span: Record<string, unknown>,
1077
+ filter: SpanFilter,
1078
+ ): string | undefined {
1079
+ const kind = asStr(span.kind)
1080
+ const route = asStr(span.route)
1081
+ const target = kind === 'idle' ? route : asStr(span.target) || route
1082
+ if (filter.kinds.length && !filter.kinds.includes(kind)) return
1083
+ if (filter.route && !route.includes(filter.route)) return
1084
+ if (filter.target && !target.includes(filter.target)) return
1085
+ return `${kind}\u0000${target}`
1086
+ }
1087
+
1051
1088
  // groups interaction spans by kind and target; idle windows group by route
1052
1089
  function groupSpans(spans: Record<string, unknown>[], filter: SpanFilter): SpanGroup[] {
1053
1090
  const groups = new Map<string, Record<string, unknown>[]>()
1054
1091
  for (const span of spans) {
1055
- const kind = asStr(span.kind)
1056
- const route = asStr(span.route)
1057
- const target = kind === 'idle' ? route : asStr(span.target) || route
1058
- if (filter.kinds.length && !filter.kinds.includes(kind)) continue
1059
- if (filter.route && !route.includes(filter.route)) continue
1060
- if (filter.target && !target.includes(filter.target)) continue
1061
- const key = `${kind}\u0000${target}`
1062
- groups.set(key, [...(groups.get(key) ?? []), span])
1092
+ const key = spanGroupKey(span, filter)
1093
+ if (key === undefined) continue
1094
+ const group = groups.get(key)
1095
+ if (group) group.push(span)
1096
+ else groups.set(key, [span])
1063
1097
  }
1064
1098
  return [...groups.entries()]
1065
1099
  .map(([key, rows]) => {
1066
1100
  const [kind = '', target = ''] = key.split('\u0000')
1067
- const fps = rows.map((row) => asNum(row.fps))
1101
+ const fps: number[] = []
1102
+ let durationMs = 0
1103
+ let droppedFrames = 0
1104
+ let longestFrameMs = 0
1068
1105
  let worstStall: SpanGroup['worstStall'] = null
1069
1106
  for (const row of rows) {
1107
+ fps.push(asNum(row.fps))
1108
+ durationMs += asNum(row.durationMs)
1109
+ droppedFrames += asNum(row.droppedFrames)
1110
+ longestFrameMs = Math.max(longestFrameMs, asNum(row.longestFrameMs))
1070
1111
  const stall = isRecord(row.worstStall) ? row.worstStall : null
1071
1112
  if (stall && asNum(stall.durationMs) > (worstStall?.durationMs ?? 0))
1072
1113
  worstStall = {
@@ -1075,15 +1116,16 @@ function groupSpans(spans: Record<string, unknown>[], filter: SpanFilter): SpanG
1075
1116
  route: asStr(row.route),
1076
1117
  }
1077
1118
  }
1119
+ fps.sort((left, right) => right - left)
1078
1120
  return {
1079
1121
  kind,
1080
1122
  target,
1081
1123
  spans: rows.length,
1082
- durationMs: rows.reduce((sum, row) => sum + asNum(row.durationMs), 0),
1124
+ durationMs,
1083
1125
  fpsP50: percentileFloor(fps, 0.5),
1084
1126
  fpsP95: percentileFloor(fps, 0.95),
1085
- droppedFrames: rows.reduce((sum, row) => sum + asNum(row.droppedFrames), 0),
1086
- longestFrameMs: Math.max(0, ...rows.map((row) => asNum(row.longestFrameMs))),
1127
+ droppedFrames,
1128
+ longestFrameMs,
1087
1129
  worstStall,
1088
1130
  }
1089
1131
  })
@@ -1313,7 +1355,7 @@ export async function runPerfNative(args: string[]): Promise<number> {
1313
1355
  return 0
1314
1356
  }
1315
1357
  if (values.telemetry && values['source-maps']) {
1316
- const named = symbolicateTelemetry(values.telemetry, values['source-maps'])
1358
+ const named = symbolicateTelemetry(values.telemetry, values['source-maps'], filter)
1317
1359
  if (values.output) writeFileSync(values.output, named, { mode: 0o600 })
1318
1360
  else process.stdout.write(named)
1319
1361
  return 0
@@ -0,0 +1,24 @@
1
+ import { join } from 'node:path'
2
+ import { writeDuoDeviceProfile } from '../../peach-engine/core-abi/macos/duo/package-device'
3
+ import { launchProvisionedPlaywright } from './drivers/playwright-provisioning'
4
+
5
+ export async function writePackagedDuoDevice(
6
+ ...args: Parameters<typeof writeDuoDeviceProfile>
7
+ ) {
8
+ const art = writeDuoDeviceProfile(...args)
9
+ if (!art) return
10
+ const browser = await launchProvisionedPlaywright()
11
+ try {
12
+ const page = await browser.newPage({
13
+ viewport: { width: art.width, height: art.height },
14
+ deviceScaleFactor: art.scale,
15
+ })
16
+ await page.setContent(art.html)
17
+ await page.screenshot({
18
+ path: join(args[0], 'device-housing.png'),
19
+ omitBackground: true,
20
+ })
21
+ } finally {
22
+ await browser.close()
23
+ }
24
+ }
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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/beta.mjs CHANGED
@@ -1,5 +1,5 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
- import "./esm-chunks/chunk-EBM3VDWK.mjs";
1
+ /*! peach v0.1.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
+ import "./esm-chunks/chunk-HFPHOP7B.mjs";
3
3
 
4
4
  // src/beta.ts
5
5
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  BridgeInputError,
4
4
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -17,10 +17,10 @@ import {
17
17
  parseSemanticWaitOptions,
18
18
  parseStateOptions,
19
19
  parseTapTarget
20
- } from "./esm-chunks/chunk-DDGDFU4G.mjs";
21
- import "./esm-chunks/chunk-BGLOJMLA.mjs";
22
- import "./esm-chunks/chunk-W6TXFCRI.mjs";
23
- import "./esm-chunks/chunk-EBM3VDWK.mjs";
20
+ } from "./esm-chunks/chunk-VSD7SG36.mjs";
21
+ import "./esm-chunks/chunk-F3RRYYLF.mjs";
22
+ import "./esm-chunks/chunk-SMBH32NF.mjs";
23
+ import "./esm-chunks/chunk-HFPHOP7B.mjs";
24
24
  export {
25
25
  BridgeInputError,
26
26
  SEMANTIC_WAIT_MAX_TIMEOUT_MS,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
4
4
  REFUSED_PERFORM_STEP_TYPES,
@@ -13,8 +13,8 @@ import {
13
13
  readyProbeHasContent,
14
14
  readyProbeIsReady,
15
15
  refusedPerformStepReason
16
- } from "./esm-chunks/chunk-BGLOJMLA.mjs";
17
- import "./esm-chunks/chunk-EBM3VDWK.mjs";
16
+ } from "./esm-chunks/chunk-F3RRYYLF.mjs";
17
+ import "./esm-chunks/chunk-HFPHOP7B.mjs";
18
18
  export {
19
19
  HEADLESS_TENANT_FETCH_HUNG_MARKER,
20
20
  REFUSED_PERFORM_STEP_TYPES,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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;
@@ -10105,7 +10105,7 @@ var init_swift_objc_sdk_tree = __esm({
10105
10105
 
10106
10106
  // src/swift-compiler-digest.ts
10107
10107
  function swiftArchiveCompilerDigestValue() {
10108
- return true ? "2ccb944d5c0397eaf9bd9ec9cf326ec9d8752cb10f21cdf33b99e424a631f2fe" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10108
+ return true ? "10a1dc09394bc0196745c5277f51cf1355975d7ad316a0844781a3da3c3d2793" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname, "archive");
10109
10109
  }
10110
10110
  var import_node_crypto9, import_node_fs20, import_node_path16, SWIFT_DIGEST_SOURCES, LINKED_IMAGE_SOURCES, SWIFT_ARCHIVE_DIGEST_SOURCES;
10111
10111
  var init_swift_compiler_digest = __esm({
@@ -39838,6 +39838,93 @@ function readFrameworkProductsReceipt(scratch2, receiptKey) {
39838
39838
  objcHeaders: new Map(parsed2.objcHeaders)
39839
39839
  };
39840
39840
  }
39841
+ function resolveBunBinary() {
39842
+ if (import_node_path55.default.basename(process.execPath).startsWith("bun")) return process.execPath;
39843
+ for (const candidate of [
39844
+ import_node_path55.default.join(import_node_os14.default.homedir(), "builders/bun/bin/bun"),
39845
+ import_node_path55.default.join(import_node_os14.default.homedir(), ".bun/bin/bun"),
39846
+ "/opt/homebrew/bin/bun",
39847
+ "/usr/local/bin/bun",
39848
+ "bun"
39849
+ ]) {
39850
+ const probe = (0, import_node_child_process35.spawnSync)(candidate, ["--version"], { stdio: "ignore" });
39851
+ if (probe.status === 0) return candidate;
39852
+ }
39853
+ return null;
39854
+ }
39855
+ function frameworkHeaderContext(moduleRoot, products) {
39856
+ const sources = import_node_path55.default.join(moduleRoot, "Sources");
39857
+ const files2 = [];
39858
+ if ((0, import_node_fs55.existsSync)(sources)) {
39859
+ for (const entry of (0, import_node_fs55.readdirSync)(sources, { recursive: true, withFileTypes: true })) {
39860
+ if (!entry.isFile()) continue;
39861
+ const rel = import_node_path55.default.relative(sources, import_node_path55.default.join(entry.parentPath, entry.name));
39862
+ if (/\.(?:h|hh|hpp|hxx|inc|def|modulemap|apinotes)$/.test(rel)) files2.push(rel);
39863
+ }
39864
+ }
39865
+ return (0, import_node_crypto35.createHash)("sha256").update(JSON.stringify([[...products].sort(), files2.sort()])).digest("hex");
39866
+ }
39867
+ function shellQuote(value) {
39868
+ return `'${value.replaceAll("'", "'\\''")}'`;
39869
+ }
39870
+ function prepareFrameworkCompileCache(scratch2, moduleRoot, toolchainBin, sdkOptions, products) {
39871
+ const launcher2 = import_node_path55.default.join(moduleRoot, "scripts/build-cache-launcher.ts");
39872
+ if (!(0, import_node_fs55.existsSync)(launcher2)) return null;
39873
+ const bunBin = resolveBunBinary();
39874
+ if (!bunBin) return null;
39875
+ const cacheRoot = import_node_path55.default.join(swiftCacheDir(), "swift-distribution-compile-cache");
39876
+ (0, import_node_fs55.mkdirSync)(cacheRoot, { recursive: true });
39877
+ const wrapperDir = import_node_path55.default.join(scratch2, "launch");
39878
+ (0, import_node_fs55.mkdirSync)(wrapperDir, { recursive: true });
39879
+ const wrapper = import_node_path55.default.join(wrapperDir, "swift-frontend");
39880
+ const statsFile = import_node_path55.default.join(scratch2, `compile-cache-stats-${process.pid}.jsonl`);
39881
+ (0, import_node_fs55.rmSync)(statsFile, { force: true });
39882
+ const sdkFlagIndex = sdkOptions.indexOf("--swift-sdks-path");
39883
+ const sdkViewDir = sdkFlagIndex >= 0 && sdkFlagIndex + 1 < sdkOptions.length ? sdkOptions[sdkFlagIndex + 1] : void 0;
39884
+ const pathMapEntries = [["$SLOT_ROOT", scratch2]];
39885
+ if (sdkViewDir) pathMapEntries.push(["$SDK_VIEW", sdkViewDir]);
39886
+ const pathMap = JSON.stringify(pathMapEntries);
39887
+ const context = frameworkHeaderContext(moduleRoot, products);
39888
+ const script = [
39889
+ "#!/bin/sh",
39890
+ `export SWIFT_SDK_COMPILE_CACHE=${shellQuote(cacheRoot)}`,
39891
+ "export SWIFT_SDK_COMPILE_CACHE_REUSE=1",
39892
+ `export SWIFT_SDK_COMPILE_CACHE_PATH_MAP=${shellQuote(pathMap)}`,
39893
+ `export SWIFT_SDK_COMPILE_CACHE_CONTEXT=${shellQuote(context)}`,
39894
+ `export SWIFT_SDK_COMPILE_CACHE_STATS=${shellQuote(statsFile)}`,
39895
+ `exec ${shellQuote(bunBin)} ${shellQuote(launcher2)} ${shellQuote(import_node_path55.default.join(toolchainBin, "swift-frontend"))} "$@"`,
39896
+ ""
39897
+ ].join("\n");
39898
+ const partial = `${wrapper}.${process.pid}.${(0, import_node_crypto35.randomUUID)()}.partial`;
39899
+ (0, import_node_fs55.writeFileSync)(partial, script, { mode: 493 });
39900
+ (0, import_node_fs55.chmodSync)(partial, 493);
39901
+ (0, import_node_fs55.renameSync)(partial, wrapper);
39902
+ return { wrapper, statsFile };
39903
+ }
39904
+ function reportFrameworkCompileCacheStats(scratch2, statsFile) {
39905
+ if (!(0, import_node_fs55.existsSync)(statsFile)) return;
39906
+ let hits = 0;
39907
+ let misses = 0;
39908
+ let savedMs = 0;
39909
+ try {
39910
+ for (const line of (0, import_node_fs55.readFileSync)(statsFile, "utf8").split("\n").filter(Boolean)) {
39911
+ const entry = JSON.parse(line);
39912
+ hits += entry.hits ?? 0;
39913
+ misses += entry.misses ?? 0;
39914
+ savedMs += entry.savedMs ?? 0;
39915
+ }
39916
+ } catch (error) {
39917
+ if (error instanceof SyntaxError) return;
39918
+ throw error;
39919
+ } finally {
39920
+ (0, import_node_fs55.rmSync)(statsFile, { force: true });
39921
+ }
39922
+ if (hits > 0 || misses > 0) {
39923
+ console.error(
39924
+ `[swift-framework-compile-cache] ${import_node_path55.default.basename(scratch2)} hits=${hits} misses=${misses} saved=${(savedMs / 1e3).toFixed(1)}s`
39925
+ );
39926
+ }
39927
+ }
39841
39928
  async function buildFrameworkProducts(scratch2, args, allowWrite) {
39842
39929
  const linkedTargets = linkedFrameworkTargets(args.moduleRoot, args.input);
39843
39930
  const unoptimized = args.input.unoptimized === true;
@@ -39867,6 +39954,13 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
39867
39954
  const jobs = swiftCompilerJobs();
39868
39955
  const targetJobs = jobs >= 4 ? 2 : 1;
39869
39956
  const driverJobs = Math.max(1, Math.floor(jobs / targetJobs));
39957
+ const cache = unoptimized ? null : prepareFrameworkCompileCache(
39958
+ scratch2,
39959
+ args.moduleRoot,
39960
+ args.toolchainBin,
39961
+ sdkOptions,
39962
+ linkedTargets.products
39963
+ );
39870
39964
  await runCompiler(
39871
39965
  args.swift,
39872
39966
  [
@@ -39888,6 +39982,7 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
39888
39982
  args.sdk,
39889
39983
  "-c",
39890
39984
  "release",
39985
+ ...cache ? ["-Xswiftc", "-driver-use-frontend-path", "-Xswiftc", cache.wrapper] : [],
39891
39986
  "-Xswiftc",
39892
39987
  unoptimized ? "-Onone" : "-Osize",
39893
39988
  "-Xswiftc",
@@ -39943,6 +40038,8 @@ async function buildFrameworkProducts(scratch2, args, allowWrite) {
39943
40038
  SWIFTPM_NOISE
39944
40039
  ).catch((error) => {
39945
40040
  throw new Error(outputOf(error), { cause: error });
40041
+ }).finally(() => {
40042
+ if (cache) reportFrameworkCompileCacheStats(scratch2, cache.statsFile);
39946
40043
  });
39947
40044
  const release = import_node_path55.default.join(scratch2, WASM_TRIPLE, "release");
39948
40045
  const linked = frameworkLinkClosure(scratch2, linkedTargets.targets);
@@ -40070,6 +40167,16 @@ ${args.frameworkKey}`,
40070
40167
  (0, import_node_fs55.renameSync)(partialReceipt, receiptFile2);
40071
40168
  return result;
40072
40169
  }
40170
+ function swiftFrameworkSlotCount(unoptimized) {
40171
+ const base2 = unoptimized ? SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS : SWIFT_FRAMEWORK_SLOTS;
40172
+ if (process.platform !== "linux") return base2;
40173
+ const cores = import_node_os14.default.availableParallelism();
40174
+ return unoptimized ? Math.min(8, Math.max(base2, Math.floor(cores / 16))) : Math.min(16, Math.max(base2, Math.floor(cores / 8)));
40175
+ }
40176
+ function swiftBuildRootSlotCount() {
40177
+ if (process.platform !== "linux") return SWIFT_BUILD_ROOT_SLOTS;
40178
+ return import_node_os14.default.availableParallelism() >= 64 ? 8 : SWIFT_BUILD_ROOT_SLOTS;
40179
+ }
40073
40180
  function swiftFrameworksDir(unoptimized = false) {
40074
40181
  return import_node_path55.default.join(
40075
40182
  swiftCacheDir(),
@@ -40091,7 +40198,7 @@ function swiftFrameworkSlotRelease(slot) {
40091
40198
  return swiftFrameworkSlotRecord(slot, SWIFT_FRAMEWORK_SLOT_RELEASE);
40092
40199
  }
40093
40200
  async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal, work, unoptimized = false) {
40094
- const slotCount = unoptimized ? SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS : SWIFT_FRAMEWORK_SLOTS;
40201
+ const slotCount = swiftFrameworkSlotCount(unoptimized);
40095
40202
  const slotsDir = swiftFrameworksDir(unoptimized);
40096
40203
  const slots = Array.from({ length: slotCount }, (_, index) => {
40097
40204
  const slot = import_node_path55.default.join(slotsDir, `slot-${index}`);
@@ -40185,7 +40292,7 @@ async function withSwiftFrameworkSlot(frameworkKey, release, moduleRoot, signal,
40185
40292
  }
40186
40293
  }
40187
40294
  async function withSwiftBuildRootSlot(baseRoot, exactShape, compatShape, signal, work) {
40188
- const slots = Array.from({ length: SWIFT_BUILD_ROOT_SLOTS }, (_, index) => {
40295
+ const slots = Array.from({ length: swiftBuildRootSlotCount() }, (_, index) => {
40189
40296
  const slot = index === 0 ? baseRoot : `${baseRoot}-s${index}`;
40190
40297
  (0, import_node_fs55.mkdirSync)(slot, { recursive: true });
40191
40298
  return slot;
@@ -41421,7 +41528,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
41421
41528
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
41422
41529
  MULTI_MANIFEST_VERSION = 76;
41423
41530
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
41424
- compilerSourceDigest = true ? "5405a15ee2e958619090c720ff4ed5353b64cfacbdc81e773dae4300cdc6b692" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41531
+ compilerSourceDigest = true ? "f8823b39a6f101e159cffdd4e1598d7edb8645267453be7613ef42f7c3ee4154" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
41425
41532
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
41426
41533
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
41427
41534
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -88459,16 +88566,16 @@ if (result.error) throw result.error;
88459
88566
  process.exit(result.status ?? 1);
88460
88567
  `
88461
88568
  );
88462
- const shellQuote = (value) => `'${value.replaceAll("'", "'\\''")}'`;
88569
+ const shellQuote2 = (value) => `'${value.replaceAll("'", "'\\''")}'`;
88463
88570
  import_node_fs101.default.writeFileSync(
88464
88571
  file,
88465
88572
  `#!/bin/sh
88466
88573
  for arg in "$@"; do
88467
88574
  case "$arg" in
88468
- -framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${shellQuote(script)} "$@" ;;
88575
+ -framework|-weak_framework|-Wl,-framework,*|-Wl,-weak_framework,*) exec node ${shellQuote2(script)} "$@" ;;
88469
88576
  esac
88470
88577
  done
88471
- exec ${shellQuote(configuration.compiler)} "$@"
88578
+ exec ${shellQuote2(configuration.compiler)} "$@"
88472
88579
  `,
88473
88580
  { mode: 493 }
88474
88581
  );
@@ -106355,7 +106462,7 @@ var init_nitro_superset = __esm({
106355
106462
  init_nitroContract();
106356
106463
  init_swift_standin_digest();
106357
106464
  NITRO_SUPERSET_ENTRY_NAME = "superset";
106358
- NITRO_COMPILER_DIGEST = true ? "dcf5640ec2f21e304683265354409cc78661f2324bf2e9809d3d09bcb23b39f4" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106465
+ NITRO_COMPILER_DIGEST = true ? "feb0b5221554104f81d7bdc24e12aa9338b9c204bb8d00be16850a92c5a80330" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
106359
106466
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
106360
106467
  nitroSupersetKey = (inputs2) => nativeEntryKey({ ...inputs2, compiler: NITRO_COMPILER_DIGEST });
106361
106468
  published = /* @__PURE__ */ new Map();
@@ -107335,7 +107442,7 @@ var init_expo_eager_seam_contract = __esm({
107335
107442
 
107336
107443
  // src/expo-native-compiler-digest.ts
107337
107444
  function expoNativeCompilerDigestValue() {
107338
- return true ? "d5919f7a93064a145d71abbe591877e4031ecad69d7602f0f7a9d33e630530da" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107445
+ return true ? "6fd4ab24d79c8c63d4ebc87630e9d6bb5d9d51c189783ea4af28911a52e01ead" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
107339
107446
  }
107340
107447
  var import_node_crypto81;
107341
107448
  var init_expo_native_compiler_digest = __esm({
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  import {
3
3
  RNX_SCREEN_CAPTURE_VERSION,
4
4
  describeInvalidScreenCapture,
@@ -10,8 +10,8 @@ import {
10
10
  rnxRasterFrames,
11
11
  rnxRasterRegionRequests,
12
12
  selectRnxRasterNodeIds
13
- } from "./esm-chunks/chunk-CMBYCFEF.mjs";
14
- import "./esm-chunks/chunk-EBM3VDWK.mjs";
13
+ } from "./esm-chunks/chunk-GUR2WE4P.mjs";
14
+ import "./esm-chunks/chunk-HFPHOP7B.mjs";
15
15
  export {
16
16
  RNX_SCREEN_CAPTURE_VERSION,
17
17
  describeInvalidScreenCapture,
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2701 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2703 | (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;