peachsim 0.1.816 → 0.1.817
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.
- package/cli/outbound-endpoints.ts +4 -3
- package/cli/telemetry.ts +21 -7
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/agent-identity.cjs +1 -1
- package/dist-lib/agent-sessions.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +1 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +114 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +1 -1
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +1 -1
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +1 -1
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/render-mode.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +10 -4
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +1 -1
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
|
@@ -50,10 +50,11 @@ export const OUTBOUND_ENDPOINTS: Record<string, OutboundEndpointDeclaration> = {
|
|
|
50
50
|
},
|
|
51
51
|
bounded_diagnostics: {
|
|
52
52
|
category: 'bounded-diagnostics',
|
|
53
|
-
destination:
|
|
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}/
|
|
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://
|
|
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(
|
|
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)))
|
|
142
|
-
|
|
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) =>
|
|
188
|
+
...diagnostics.map(({ diagnostic, uuid, timestamp }) =>
|
|
189
|
+
buildCliDiagnosticEvent(diagnostic, { uuid, timestamp }),
|
|
190
|
+
),
|
|
177
191
|
commandRunEvent(exitCode),
|
|
178
192
|
]
|
|
179
|
-
await fetch(`${config.host}/
|
|
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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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);
|
package/dist-lib/config.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/kotlin-host.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/plist.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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/plist.mjs
CHANGED
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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;
|
|
@@ -52718,14 +52718,20 @@ function trackCliDiagnostic(diagnostic) {
|
|
|
52718
52718
|
if (!diagnosticsAllowedForCurrentProcess()) return;
|
|
52719
52719
|
if (queue.length >= 50) return;
|
|
52720
52720
|
const entry = diagnostic.kind === "package_incompatibility" ? diagnostic : { ...diagnostic, message: sanitizeDiagnosticMessage(diagnostic.message) };
|
|
52721
|
-
if (queue.some((queued) => JSON.stringify(queued) === JSON.stringify(entry)))
|
|
52722
|
-
|
|
52721
|
+
if (queue.some((queued) => JSON.stringify(queued.diagnostic) === JSON.stringify(entry)))
|
|
52722
|
+
return;
|
|
52723
|
+
queue.push({
|
|
52724
|
+
diagnostic: entry,
|
|
52725
|
+
uuid: (0, import_event_identity.eventUuid)(),
|
|
52726
|
+
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
52727
|
+
});
|
|
52723
52728
|
}
|
|
52724
|
-
var import_node_os10, import_crash_fingerprint, observedRuntimeVersion, queue, CRASH_REPORT_EVERY_MS;
|
|
52729
|
+
var import_node_os10, import_event_identity, import_crash_fingerprint, observedRuntimeVersion, queue, CRASH_REPORT_EVERY_MS;
|
|
52725
52730
|
var init_telemetry = __esm({
|
|
52726
52731
|
"cli/telemetry.ts"() {
|
|
52727
52732
|
"use strict";
|
|
52728
52733
|
import_node_os10 = require("node:os");
|
|
52734
|
+
import_event_identity = require("@peach/globals/event-identity");
|
|
52729
52735
|
import_crash_fingerprint = require("peach-engine/crash-fingerprint");
|
|
52730
52736
|
init_cli_version();
|
|
52731
52737
|
init_home_paths();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.817 | (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.
|
|
1
|
+
/*! rnx v0.1.817 | (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;
|