peachsim 0.1.816 → 0.1.818

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 (79) hide show
  1. package/cli/outbound-endpoints.ts +4 -3
  2. package/cli/telemetry.ts +21 -7
  3. package/dist-lib/agent-daemon-client.cjs +1 -1
  4. package/dist-lib/agent-events.cjs +1 -1
  5. package/dist-lib/agent-identity.cjs +1 -1
  6. package/dist-lib/agent-sessions.cjs +1 -1
  7. package/dist-lib/attached-projects.cjs +1 -1
  8. package/dist-lib/auth/shared-session.cjs +1 -1
  9. package/dist-lib/backend-origin.cjs +1 -1
  10. package/dist-lib/beta.cjs +1 -1
  11. package/dist-lib/beta.mjs +1 -1
  12. package/dist-lib/bridge-constants.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.mjs +1 -1
  15. package/dist-lib/bridge-contract.cjs +1 -1
  16. package/dist-lib/bridge-contract.mjs +1 -1
  17. package/dist-lib/bundle-channel.cjs +7 -12
  18. package/dist-lib/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cli-constants.cjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/detox/index.cjs +114 -2
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/expo-swift-bundle.cjs +7 -12
  31. package/dist-lib/expo-swift-metadata.cjs +1 -1
  32. package/dist-lib/expo-swift-metadata.mjs +1 -1
  33. package/dist-lib/home-paths.cjs +1 -1
  34. package/dist-lib/host/bridge-host.cjs +7 -12
  35. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  37. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  38. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  39. package/dist-lib/host/websocket-proxy.cjs +1 -1
  40. package/dist-lib/index.cjs +1 -1
  41. package/dist-lib/jump-to-source-babel.cjs +1 -1
  42. package/dist-lib/jump-to-source-native.cjs +1 -1
  43. package/dist-lib/kotlin-host.cjs +1 -1
  44. package/dist-lib/menu.cjs +1 -1
  45. package/dist-lib/menu.mjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  47. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  48. package/dist-lib/metro-production-bundle.cjs +1 -1
  49. package/dist-lib/metro-production-bundle.mjs +1 -1
  50. package/dist-lib/metro.cjs +1 -1
  51. package/dist-lib/native-app-identity.cjs +1 -1
  52. package/dist-lib/native-app-identity.mjs +1 -1
  53. package/dist-lib/native-firebase-metadata.cjs +1 -1
  54. package/dist-lib/native-firebase-metadata.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/react-native-host-modules.cjs +1 -1
  60. package/dist-lib/react-native-host-modules.mjs +1 -1
  61. package/dist-lib/render-mode.cjs +1 -1
  62. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  63. package/dist-lib/sdk.cjs +1 -1
  64. package/dist-lib/sdk.mjs +1 -1
  65. package/dist-lib/skills.cjs +16 -15
  66. package/dist-lib/swift-compile.cjs +1 -1
  67. package/dist-lib/swift-compile.mjs +1 -1
  68. package/dist-lib/swift-package.cjs +1 -1
  69. package/dist-lib/swift-package.mjs +1 -1
  70. package/dist-lib/swift-submit.cjs +1 -1
  71. package/dist-lib/swift-submit.mjs +1 -1
  72. package/dist-lib/swift-toolchain.cjs +1 -1
  73. package/dist-lib/swift.cjs +1 -1
  74. package/dist-lib/vite-swift.cjs +7 -12
  75. package/dist-lib/vite.cjs +1 -1
  76. package/dist-lib/worklet-executable.cjs +1 -1
  77. package/dist-lib/worklet-executable.mjs +1 -1
  78. package/package.json +1 -1
  79. package/src/swift-standin-emit.ts +2 -7
@@ -50,10 +50,11 @@ export const OUTBOUND_ENDPOINTS: Record<string, OutboundEndpointDeclaration> = {
50
50
  },
51
51
  bounded_diagnostics: {
52
52
  category: 'bounded-diagnostics',
53
- destination: 'configured PostHog ingestion host',
53
+ destination:
54
+ 'configured analytics origin, /api/events (default https://contrast.dev/api/events)',
54
55
  preConsent: true,
55
56
  payload:
56
- 'anonymous install id, CLI/runtime versions, OS/arch, command name, exit code and duration bucket, package compatibility fields, error class and bounded path-redacted first-line error/warning messages; on until `peach config telemetry off` or DO_NOT_TRACK',
57
+ 'anonymous install id, CLI/runtime versions, OS/arch, command name, occurrence uuid and timestamp, exit code and duration bucket, package compatibility fields, error class and bounded path-redacted first-line error/warning messages; on until `peach config telemetry off` or DO_NOT_TRACK',
57
58
  },
58
59
  crash_report: {
59
60
  category: 'bounded-diagnostics',
@@ -657,7 +658,7 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
657
658
  },
658
659
  'packages/peachsim/cli/telemetry.ts :: fetch :: `${endpoint.origin}/api/sootsim/report-issue`':
659
660
  { category: 'crash_report', count: 1 },
660
- 'packages/peachsim/cli/telemetry.ts :: fetch :: `${config.host}/batch/`': {
661
+ 'packages/peachsim/cli/telemetry.ts :: fetch :: `${config.host}/api/events`': {
661
662
  category: 'bounded_diagnostics',
662
663
  count: 1,
663
664
  },
package/cli/telemetry.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createHash } from 'node:crypto'
2
2
  import { homedir } from 'node:os'
3
+ import { eventUuid } from '@peach/globals/event-identity'
3
4
  import { crashFingerprint } from 'peach-engine/crash-fingerprint'
4
5
  import { getCliVersion } from '../src/cli-version'
5
6
  import {
@@ -44,7 +45,7 @@ function loadConfig(): Config | null {
44
45
  const host =
45
46
  process.env.CONTRAST_POSTHOG_HOST ||
46
47
  process.env.VITE_POSTHOG_HOST ||
47
- 'https://us.i.posthog.com'
48
+ 'https://contrast.dev'
48
49
  return { apiKey, host: host.replace(/\/+$/, '') }
49
50
  }
50
51
 
@@ -94,7 +95,10 @@ export function setDiagnosticRuntimeVersion(version: string): void {
94
95
  observedRuntimeVersion = diagnosticVersion(version)
95
96
  }
96
97
 
97
- export function buildCliDiagnosticEvent(diagnostic: CliDiagnostic) {
98
+ export function buildCliDiagnosticEvent(
99
+ diagnostic: CliDiagnostic,
100
+ identity = { uuid: eventUuid(), timestamp: new Date().toISOString() },
101
+ ) {
98
102
  const properties =
99
103
  diagnostic.kind === 'package_incompatibility'
100
104
  ? {
@@ -112,6 +116,7 @@ export function buildCliDiagnosticEvent(diagnostic: CliDiagnostic) {
112
116
  : { message: sanitizeDiagnosticMessage(diagnostic.message) }
113
117
 
114
118
  return {
119
+ ...identity,
115
120
  event: diagnostic.kind,
116
121
  distinct_id: readOrCreateAnonymousId(),
117
122
  properties: { ...environmentProperties(), ...properties },
@@ -129,7 +134,7 @@ function environmentProperties() {
129
134
  }
130
135
  }
131
136
 
132
- const queue: CliDiagnostic[] = []
137
+ const queue: { diagnostic: CliDiagnostic; uuid: string; timestamp: string }[] = []
133
138
 
134
139
  export function trackCliDiagnostic(diagnostic: CliDiagnostic): void {
135
140
  if (!diagnosticsAllowedForCurrentProcess()) return
@@ -138,8 +143,13 @@ export function trackCliDiagnostic(diagnostic: CliDiagnostic): void {
138
143
  diagnostic.kind === 'package_incompatibility'
139
144
  ? diagnostic
140
145
  : { ...diagnostic, message: sanitizeDiagnosticMessage(diagnostic.message) }
141
- if (queue.some((queued) => JSON.stringify(queued) === JSON.stringify(entry))) return
142
- queue.push(entry)
146
+ if (queue.some((queued) => JSON.stringify(queued.diagnostic) === JSON.stringify(entry)))
147
+ return
148
+ queue.push({
149
+ diagnostic: entry,
150
+ uuid: eventUuid(),
151
+ timestamp: new Date().toISOString(),
152
+ })
143
153
  }
144
154
 
145
155
  export function trackCliError(error: unknown): void {
@@ -154,6 +164,8 @@ export function trackCliError(error: unknown): void {
154
164
  function commandRunEvent(exitCode: number) {
155
165
  const ms = Math.max(1, Math.round(process.uptime() * 1000))
156
166
  return {
167
+ uuid: eventUuid(),
168
+ timestamp: new Date().toISOString(),
157
169
  event: 'command_run',
158
170
  distinct_id: readOrCreateAnonymousId(),
159
171
  properties: {
@@ -173,10 +185,12 @@ export async function flushCliTelemetry(exitCode: number): Promise<void> {
173
185
  const diagnostics = queue.splice(0, queue.length)
174
186
  try {
175
187
  const batch = [
176
- ...diagnostics.map((diagnostic) => buildCliDiagnosticEvent(diagnostic)),
188
+ ...diagnostics.map(({ diagnostic, uuid, timestamp }) =>
189
+ buildCliDiagnosticEvent(diagnostic, { uuid, timestamp }),
190
+ ),
177
191
  commandRunEvent(exitCode),
178
192
  ]
179
- await fetch(`${config.host}/batch/`, {
193
+ await fetch(`${config.host}/api/events`, {
180
194
  method: 'POST',
181
195
  headers: { 'content-type': 'application/json' },
182
196
  body: JSON.stringify({ api_key: config.apiKey, batch }),
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
package/dist-lib/beta.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
package/dist-lib/beta.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
@@ -4126,8 +4126,7 @@ function emitSwiftStandin(graphs, options) {
4126
4126
  for (const member of members)
4127
4127
  emitMember(member, inner, {
4128
4128
  openOwner: open,
4129
- inClass: true,
4130
- ownerName: shape.name
4129
+ inClass: true
4131
4130
  });
4132
4131
  const designated = members.some(
4133
4132
  (member) => member.kind.identifier === "swift.init" && !text(member).startsWith("convenience")
@@ -4210,8 +4209,7 @@ function emitSwiftStandin(graphs, options) {
4210
4209
  }
4211
4210
  emitMember(member, inner, {
4212
4211
  openOwner: false,
4213
- inClass: false,
4214
- ownerName: shape.name
4212
+ inClass: false
4215
4213
  });
4216
4214
  }
4217
4215
  emit(`${indent}}`);
@@ -4259,8 +4257,7 @@ function emitSwiftStandin(graphs, options) {
4259
4257
  if (payloadFree && synthesizedEquality(member, list2)) continue;
4260
4258
  emitMember(member, inner, {
4261
4259
  openOwner: false,
4262
- inClass: false,
4263
- ownerName: shape.name
4260
+ inClass: false
4264
4261
  });
4265
4262
  }
4266
4263
  emit(`${indent}}`);
@@ -4303,8 +4300,7 @@ function emitSwiftStandin(graphs, options) {
4303
4300
  else
4304
4301
  emitMember(member, inner, {
4305
4302
  openOwner: false,
4306
- inClass: false,
4307
- ownerName: shape.name
4303
+ inClass: false
4308
4304
  });
4309
4305
  }
4310
4306
  emit(`${indent}}`);
@@ -4389,11 +4385,10 @@ function emitSwiftStandin(graphs, options) {
4389
4385
  " ",
4390
4386
  {
4391
4387
  openOwner: false,
4392
- inClass: true,
4393
- ownerName: name2
4388
+ inClass: true
4394
4389
  }
4395
4390
  );
4396
- else emitMember(member, " ", { openOwner: false, inClass: false, ownerName: name2 });
4391
+ else emitMember(member, " ", { openOwner: false, inClass: false });
4397
4392
  emit(`}`);
4398
4393
  }
4399
4394
  const imports = ["Foundation", "UIKit", ...options.imports ?? []];
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 20 * 1024 * 1024;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
@@ -2923,6 +2923,113 @@ async function automateWebViewFrames(context, names, helpers) {
2923
2923
  });
2924
2924
  }
2925
2925
 
2926
+ // ../peach-engine/src/components/native-ui/webview-frame-color-scheme.ts
2927
+ var WEBVIEW_FRAME_COLOR_SCHEME_SOURCE = `
2928
+ var colorScheme = config.colorScheme;
2929
+ var schemeQueryPattern = /\\(\\s*prefers-color-scheme\\s*:\\s*(light|dark)\\s*\\)/gi;
2930
+ function schemeQuery(query) {
2931
+ return String(query).replace(schemeQueryPattern, function(_, value) {
2932
+ return value.toLowerCase() === colorScheme ? '(min-width: 0px)' : '(max-width: -1px)';
2933
+ });
2934
+ }
2935
+ var originalMedia = new WeakMap();
2936
+ function rewriteMedia(list) {
2937
+ var original = originalMedia.get(list);
2938
+ if (original === undefined) {
2939
+ if (!/prefers-color-scheme/i.test(list.mediaText)) return;
2940
+ original = list.mediaText;
2941
+ originalMedia.set(list, original);
2942
+ }
2943
+ var next = schemeQuery(original);
2944
+ if (list.mediaText !== next) list.mediaText = next;
2945
+ }
2946
+ function rewriteRules(rules) {
2947
+ for (var index = 0; index < rules.length; index++) {
2948
+ var rule = rules[index];
2949
+ if (rule.media) rewriteMedia(rule.media);
2950
+ if (rule.styleSheet) rewriteSheet(rule.styleSheet);
2951
+ if (rule.cssRules) rewriteRules(rule.cssRules);
2952
+ }
2953
+ }
2954
+ function rewriteSheet(sheet) {
2955
+ rewriteMedia(sheet.media);
2956
+ var rules;
2957
+ try {
2958
+ rules = sheet.cssRules;
2959
+ } catch (_) {
2960
+ return;
2961
+ }
2962
+ rewriteRules(rules);
2963
+ }
2964
+ function rewriteDocument() {
2965
+ for (var index = 0; index < document.styleSheets.length; index++) rewriteSheet(document.styleSheets[index]);
2966
+ for (var adopted = 0; adopted < document.adoptedStyleSheets.length; adopted++) rewriteSheet(document.adoptedStyleSheets[adopted]);
2967
+ }
2968
+ ['insertRule', 'replaceSync'].forEach(function(name) {
2969
+ var native = CSSStyleSheet.prototype[name];
2970
+ CSSStyleSheet.prototype[name] = function() {
2971
+ var result = native.apply(this, arguments);
2972
+ rewriteSheet(this);
2973
+ return result;
2974
+ };
2975
+ });
2976
+ var nativeReplace = CSSStyleSheet.prototype.replace;
2977
+ CSSStyleSheet.prototype.replace = function() {
2978
+ var sheet = this;
2979
+ return nativeReplace.apply(sheet, arguments).then(function(result) {
2980
+ rewriteSheet(sheet);
2981
+ return result;
2982
+ });
2983
+ };
2984
+ new MutationObserver(rewriteDocument).observe(document, { childList: true, subtree: true, characterData: true });
2985
+ document.addEventListener('load', rewriteDocument, true);
2986
+ rewriteDocument();
2987
+ var nativeMatchMedia = window.matchMedia;
2988
+ var schemeLists = new Set();
2989
+ window.matchMedia = function(query) {
2990
+ var list = nativeMatchMedia.call(window, schemeQuery(query));
2991
+ if (!/prefers-color-scheme/i.test(query)) return list;
2992
+ var source = String(query);
2993
+ var proxy = Object.create(list, {
2994
+ media: { value: source },
2995
+ onchange: { value: null, writable: true },
2996
+ matches: { get: function() { return nativeMatchMedia.call(window, schemeQuery(source)).matches; } }
2997
+ });
2998
+ var listeners = new Map();
2999
+ var state = { source: source, matches: list.matches, listeners: listeners, proxy: proxy };
3000
+ function addListener(callback) {
3001
+ if (typeof callback === 'function' || (callback && typeof callback.handleEvent === 'function')) listeners.set(callback, true);
3002
+ }
3003
+ proxy.addEventListener = function(type, callback) { if (type === 'change') addListener(callback); };
3004
+ proxy.removeEventListener = function(type, callback) { if (type === 'change') listeners.delete(callback); };
3005
+ proxy.addListener = addListener;
3006
+ proxy.removeListener = function(callback) { listeners.delete(callback); };
3007
+ schemeLists.add(new WeakRef(state));
3008
+ return proxy;
3009
+ };
3010
+ function setColorScheme(next) {
3011
+ if (next === colorScheme) return;
3012
+ colorScheme = next;
3013
+ rewriteDocument();
3014
+ schemeLists.forEach(function(ref) {
3015
+ var state = ref.deref();
3016
+ if (!state) {
3017
+ schemeLists.delete(ref);
3018
+ return;
3019
+ }
3020
+ var matches = nativeMatchMedia.call(window, schemeQuery(state.source)).matches;
3021
+ if (matches === state.matches) return;
3022
+ state.matches = matches;
3023
+ var event = { type: 'change', matches: matches, media: state.source, target: state.proxy, currentTarget: state.proxy };
3024
+ if (typeof state.proxy.onchange === 'function') state.proxy.onchange(event);
3025
+ state.listeners.forEach(function(_, callback) {
3026
+ if (typeof callback === 'function') callback.call(state.proxy, event);
3027
+ else callback.handleEvent(event);
3028
+ });
3029
+ });
3030
+ }
3031
+ `;
3032
+
2926
3033
  // ../peach-engine/src/components/native-ui/webview-frame-bridge.ts
2927
3034
  var WEBVIEW_FRAME_CONFIG_ATTRIBUTE = "data-peach-webview-config";
2928
3035
  var WEBVIEW_FRAME_HOOK = "peach.webview";
@@ -2934,7 +3041,7 @@ var WEBVIEW_FRAME_BRIDGE_SOURCE = `function (config) {
2934
3041
  // originWhitelist and Linking handling) has to speak that url, so map the
2935
3042
  // frame's own search and hash onto it.
2936
3043
  var documentUrl = config.documentUrl;
2937
- var webKit = config.webKit || null;
3044
+ ${WEBVIEW_FRAME_COLOR_SCHEME_SOURCE} var webKit = config.webKit || null;
2938
3045
  function nativeValue(value, seen) {
2939
3046
  if (value === null) return { type: 'null' };
2940
3047
  if (typeof value === 'string' || typeof value === 'boolean') return { type: typeof value, value: value };
@@ -3476,6 +3583,11 @@ var WEBVIEW_FRAME_BRIDGE_SOURCE = `function (config) {
3476
3583
  else throw new Error('WKWebView script reply is invalid');
3477
3584
  return;
3478
3585
  }
3586
+ if (payload.__sootsimWebViewKind === 'setColorScheme') {
3587
+ event.stopImmediatePropagation();
3588
+ setColorScheme(payload.scheme === 'dark' ? 'dark' : 'light');
3589
+ return;
3590
+ }
3479
3591
  if (payload.__sootsimWebViewKind === 'setMessageHandlers') {
3480
3592
  event.stopImmediatePropagation();
3481
3593
  if (!webKit || !Array.isArray(payload.names) || payload.names.some(function(name) { return typeof name !== 'string'; })) throw new Error('WKWebView handler update is invalid');
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
@@ -5388,8 +5388,7 @@ function emitSwiftStandin(graphs, options) {
5388
5388
  for (const member of members)
5389
5389
  emitMember(member, inner, {
5390
5390
  openOwner: open,
5391
- inClass: true,
5392
- ownerName: shape.name
5391
+ inClass: true
5393
5392
  });
5394
5393
  const designated = members.some(
5395
5394
  (member) => member.kind.identifier === "swift.init" && !text(member).startsWith("convenience")
@@ -5472,8 +5471,7 @@ function emitSwiftStandin(graphs, options) {
5472
5471
  }
5473
5472
  emitMember(member, inner, {
5474
5473
  openOwner: false,
5475
- inClass: false,
5476
- ownerName: shape.name
5474
+ inClass: false
5477
5475
  });
5478
5476
  }
5479
5477
  emit(`${indent}}`);
@@ -5521,8 +5519,7 @@ function emitSwiftStandin(graphs, options) {
5521
5519
  if (payloadFree && synthesizedEquality(member, list2)) continue;
5522
5520
  emitMember(member, inner, {
5523
5521
  openOwner: false,
5524
- inClass: false,
5525
- ownerName: shape.name
5522
+ inClass: false
5526
5523
  });
5527
5524
  }
5528
5525
  emit(`${indent}}`);
@@ -5565,8 +5562,7 @@ function emitSwiftStandin(graphs, options) {
5565
5562
  else
5566
5563
  emitMember(member, inner, {
5567
5564
  openOwner: false,
5568
- inClass: false,
5569
- ownerName: shape.name
5565
+ inClass: false
5570
5566
  });
5571
5567
  }
5572
5568
  emit(`${indent}}`);
@@ -5651,11 +5647,10 @@ function emitSwiftStandin(graphs, options) {
5651
5647
  " ",
5652
5648
  {
5653
5649
  openOwner: false,
5654
- inClass: true,
5655
- ownerName: name2
5650
+ inClass: true
5656
5651
  }
5657
5652
  );
5658
- else emitMember(member, " ", { openOwner: false, inClass: false, ownerName: name2 });
5653
+ else emitMember(member, " ", { openOwner: false, inClass: false });
5659
5654
  emit(`}`);
5660
5655
  }
5661
5656
  const imports = ["Foundation", "UIKit", ...options.imports ?? []];
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/expoSwiftContract.ts
4
4
  function record(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
@@ -14561,8 +14561,7 @@ function emitSwiftStandin(graphs, options) {
14561
14561
  for (const member of members)
14562
14562
  emitMember(member, inner, {
14563
14563
  openOwner: open,
14564
- inClass: true,
14565
- ownerName: shape.name
14564
+ inClass: true
14566
14565
  });
14567
14566
  const designated = members.some(
14568
14567
  (member) => member.kind.identifier === "swift.init" && !text(member).startsWith("convenience")
@@ -14645,8 +14644,7 @@ function emitSwiftStandin(graphs, options) {
14645
14644
  }
14646
14645
  emitMember(member, inner, {
14647
14646
  openOwner: false,
14648
- inClass: false,
14649
- ownerName: shape.name
14647
+ inClass: false
14650
14648
  });
14651
14649
  }
14652
14650
  emit(`${indent}}`);
@@ -14694,8 +14692,7 @@ function emitSwiftStandin(graphs, options) {
14694
14692
  if (payloadFree && synthesizedEquality(member, list2)) continue;
14695
14693
  emitMember(member, inner, {
14696
14694
  openOwner: false,
14697
- inClass: false,
14698
- ownerName: shape.name
14695
+ inClass: false
14699
14696
  });
14700
14697
  }
14701
14698
  emit(`${indent}}`);
@@ -14738,8 +14735,7 @@ function emitSwiftStandin(graphs, options) {
14738
14735
  else
14739
14736
  emitMember(member, inner, {
14740
14737
  openOwner: false,
14741
- inClass: false,
14742
- ownerName: shape.name
14738
+ inClass: false
14743
14739
  });
14744
14740
  }
14745
14741
  emit(`${indent}}`);
@@ -14824,11 +14820,10 @@ function emitSwiftStandin(graphs, options) {
14824
14820
  " ",
14825
14821
  {
14826
14822
  openOwner: false,
14827
- inClass: true,
14828
- ownerName: name2
14823
+ inClass: true
14829
14824
  }
14830
14825
  );
14831
- else emitMember(member, " ", { openOwner: false, inClass: false, ownerName: name2 });
14826
+ else emitMember(member, " ", { openOwner: false, inClass: false });
14832
14827
  emit(`}`);
14833
14828
  }
14834
14829
  const imports = ["Foundation", "UIKit", ...options.imports ?? []];
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/metro-production-bundle.ts
4
4
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-app-identity.ts
4
4
  var NATIVE_APP_IDENTITY_PREFIX = "globalThis.__sootsimNativeAppIdentity=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-firebase-metadata.ts
4
4
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  import plist from "plist";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/react-native-host-modules.ts
4
4
  var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
@@ -33231,8 +33231,7 @@ function emitSwiftStandin(graphs, options) {
33231
33231
  for (const member of members)
33232
33232
  emitMember(member, inner, {
33233
33233
  openOwner: open,
33234
- inClass: true,
33235
- ownerName: shape.name
33234
+ inClass: true
33236
33235
  });
33237
33236
  const designated = members.some(
33238
33237
  (member) => member.kind.identifier === "swift.init" && !text(member).startsWith("convenience")
@@ -33315,8 +33314,7 @@ function emitSwiftStandin(graphs, options) {
33315
33314
  }
33316
33315
  emitMember(member, inner, {
33317
33316
  openOwner: false,
33318
- inClass: false,
33319
- ownerName: shape.name
33317
+ inClass: false
33320
33318
  });
33321
33319
  }
33322
33320
  emit(`${indent}}`);
@@ -33364,8 +33362,7 @@ function emitSwiftStandin(graphs, options) {
33364
33362
  if (payloadFree && synthesizedEquality(member, list2)) continue;
33365
33363
  emitMember(member, inner, {
33366
33364
  openOwner: false,
33367
- inClass: false,
33368
- ownerName: shape.name
33365
+ inClass: false
33369
33366
  });
33370
33367
  }
33371
33368
  emit(`${indent}}`);
@@ -33408,8 +33405,7 @@ function emitSwiftStandin(graphs, options) {
33408
33405
  else
33409
33406
  emitMember(member, inner, {
33410
33407
  openOwner: false,
33411
- inClass: false,
33412
- ownerName: shape.name
33408
+ inClass: false
33413
33409
  });
33414
33410
  }
33415
33411
  emit(`${indent}}`);
@@ -33494,11 +33490,10 @@ function emitSwiftStandin(graphs, options) {
33494
33490
  " ",
33495
33491
  {
33496
33492
  openOwner: false,
33497
- inClass: true,
33498
- ownerName: name2
33493
+ inClass: true
33499
33494
  }
33500
33495
  );
33501
- else emitMember(member, " ", { openOwner: false, inClass: false, ownerName: name2 });
33496
+ else emitMember(member, " ", { openOwner: false, inClass: false });
33502
33497
  emit(`}`);
33503
33498
  }
33504
33499
  const imports = ["Foundation", "UIKit", ...options.imports ?? []];
@@ -52718,14 +52713,20 @@ function trackCliDiagnostic(diagnostic) {
52718
52713
  if (!diagnosticsAllowedForCurrentProcess()) return;
52719
52714
  if (queue.length >= 50) return;
52720
52715
  const entry = diagnostic.kind === "package_incompatibility" ? diagnostic : { ...diagnostic, message: sanitizeDiagnosticMessage(diagnostic.message) };
52721
- if (queue.some((queued) => JSON.stringify(queued) === JSON.stringify(entry))) return;
52722
- queue.push(entry);
52716
+ if (queue.some((queued) => JSON.stringify(queued.diagnostic) === JSON.stringify(entry)))
52717
+ return;
52718
+ queue.push({
52719
+ diagnostic: entry,
52720
+ uuid: (0, import_event_identity.eventUuid)(),
52721
+ timestamp: (/* @__PURE__ */ new Date()).toISOString()
52722
+ });
52723
52723
  }
52724
- var import_node_os10, import_crash_fingerprint, observedRuntimeVersion, queue, CRASH_REPORT_EVERY_MS;
52724
+ var import_node_os10, import_event_identity, import_crash_fingerprint, observedRuntimeVersion, queue, CRASH_REPORT_EVERY_MS;
52725
52725
  var init_telemetry = __esm({
52726
52726
  "cli/telemetry.ts"() {
52727
52727
  "use strict";
52728
52728
  import_node_os10 = require("node:os");
52729
+ import_event_identity = require("@peach/globals/event-identity");
52729
52730
  import_crash_fingerprint = require("peach-engine/crash-fingerprint");
52730
52731
  init_cli_version();
52731
52732
  init_home_paths();
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2, execFileSync } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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;
@@ -5371,8 +5371,7 @@ function emitSwiftStandin(graphs, options) {
5371
5371
  for (const member of members)
5372
5372
  emitMember(member, inner, {
5373
5373
  openOwner: open,
5374
- inClass: true,
5375
- ownerName: shape.name
5374
+ inClass: true
5376
5375
  });
5377
5376
  const designated = members.some(
5378
5377
  (member) => member.kind.identifier === "swift.init" && !text(member).startsWith("convenience")
@@ -5455,8 +5454,7 @@ function emitSwiftStandin(graphs, options) {
5455
5454
  }
5456
5455
  emitMember(member, inner, {
5457
5456
  openOwner: false,
5458
- inClass: false,
5459
- ownerName: shape.name
5457
+ inClass: false
5460
5458
  });
5461
5459
  }
5462
5460
  emit(`${indent}}`);
@@ -5504,8 +5502,7 @@ function emitSwiftStandin(graphs, options) {
5504
5502
  if (payloadFree && synthesizedEquality(member, list2)) continue;
5505
5503
  emitMember(member, inner, {
5506
5504
  openOwner: false,
5507
- inClass: false,
5508
- ownerName: shape.name
5505
+ inClass: false
5509
5506
  });
5510
5507
  }
5511
5508
  emit(`${indent}}`);
@@ -5548,8 +5545,7 @@ function emitSwiftStandin(graphs, options) {
5548
5545
  else
5549
5546
  emitMember(member, inner, {
5550
5547
  openOwner: false,
5551
- inClass: false,
5552
- ownerName: shape.name
5548
+ inClass: false
5553
5549
  });
5554
5550
  }
5555
5551
  emit(`${indent}}`);
@@ -5634,11 +5630,10 @@ function emitSwiftStandin(graphs, options) {
5634
5630
  " ",
5635
5631
  {
5636
5632
  openOwner: false,
5637
- inClass: true,
5638
- ownerName: name2
5633
+ inClass: true
5639
5634
  }
5640
5635
  );
5641
- else emitMember(member, " ", { openOwner: false, inClass: false, ownerName: name2 });
5636
+ else emitMember(member, " ", { openOwner: false, inClass: false });
5642
5637
  emit(`}`);
5643
5638
  }
5644
5639
  const imports = ["Foundation", "UIKit", ...options.imports ?? []];
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (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
- /*! rnx v0.1.816 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.818 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.816",
3
+ "version": "0.1.818",
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",
@@ -370,7 +370,7 @@ export function emitSwiftStandin(
370
370
  (
371
371
  member: GraphSymbol,
372
372
  indent: string,
373
- context: { openOwner: boolean; inClass: boolean; ownerName: string },
373
+ context: { openOwner: boolean; inClass: boolean },
374
374
  ) => {
375
375
  const path = pathOf(member)
376
376
  if (TYPE_KINDS.has(member.kind.identifier)) {
@@ -568,7 +568,6 @@ export function emitSwiftStandin(
568
568
  emitMember(member, inner, {
569
569
  openOwner: open,
570
570
  inClass: true,
571
- ownerName: shape.name,
572
571
  })
573
572
  // a class that declares any designated init loses the inherited
574
573
  // ones, and a coder-requiring superclass then needs its own.
@@ -680,7 +679,6 @@ export function emitSwiftStandin(
680
679
  emitMember(member, inner, {
681
680
  openOwner: false,
682
681
  inClass: false,
683
- ownerName: shape.name,
684
682
  })
685
683
  }
686
684
  emit(`${indent}}`)
@@ -738,7 +736,6 @@ export function emitSwiftStandin(
738
736
  emitMember(member, inner, {
739
737
  openOwner: false,
740
738
  inClass: false,
741
- ownerName: shape.name,
742
739
  })
743
740
  }
744
741
  emit(`${indent}}`)
@@ -796,7 +793,6 @@ export function emitSwiftStandin(
796
793
  emitMember(member, inner, {
797
794
  openOwner: false,
798
795
  inClass: false,
799
- ownerName: shape.name,
800
796
  })
801
797
  }
802
798
  emit(`${indent}}`)
@@ -910,10 +906,9 @@ export function emitSwiftStandin(
910
906
  {
911
907
  openOwner: false,
912
908
  inClass: true,
913
- ownerName: name,
914
909
  },
915
910
  )
916
- else emitMember(member, ' ', { openOwner: false, inClass: false, ownerName: name })
911
+ else emitMember(member, ' ', { openOwner: false, inClass: false })
917
912
  emit(`}`)
918
913
  }
919
914