peachsim 0.1.1962 → 0.1.1963
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/README.md +4 -7
- package/cli/commands/setup.ts +18 -11
- package/cli/commands/telemetry.ts +1 -2
- package/cli/main.ts +0 -18
- package/cli/outbound-endpoints.ts +6 -6
- package/cli/privacy.ts +1 -21
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.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 +37 -9
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +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/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +35 -7
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +4 -4
- package/dist-lib/host/bridge-host.cjs +37 -9
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +3 -3
- 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 +3 -3
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- 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/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.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/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.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 +42 -24
- 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 +7 -6
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/src/expo-swift-host.ts +37 -0
- package/src/home-paths.ts +4 -5
- package/src/settingsContract.ts +2 -2
- package/src/swift-cxx-reachable.ts +11 -2
- package/src/swift-objc-compile.ts +7 -2
- package/src/swift-packages.ts +3 -0
package/README.md
CHANGED
|
@@ -414,15 +414,12 @@ identity by default. An unsigned-in interactive run may request the runtime it
|
|
|
414
414
|
is about to execute and the stable standalone CLI version document. The latter
|
|
415
415
|
runs after the command in a detached process at most once every 20 hours and can
|
|
416
416
|
be disabled with `PEACH_UPDATE_CHECK=off`. Bounded diagnostics and automatic
|
|
417
|
-
crash reports are
|
|
418
|
-
|
|
419
|
-
browser and Electron telemetry senders are removed rather than being enabled by
|
|
420
|
-
this default.
|
|
417
|
+
crash reports are off by default. Guided setup offers to enable them, or use
|
|
418
|
+
`peach config telemetry on`. `DO_NOT_TRACK=1` disables them for one run.
|
|
421
419
|
|
|
422
420
|
Diagnostics are limited to package name/version/unsupported API, error class
|
|
423
|
-
and first-line message, and the command name with its exit code
|
|
424
|
-
|
|
425
|
-
identity, screenshots, or recordings as diagnostics. Cloud commands such as
|
|
421
|
+
and first-line message, and the command name with its exit code. Crash reports
|
|
422
|
+
can include redacted output or stack text. Cloud commands such as
|
|
426
423
|
login, upload, billing, issue reporting, generated flows, and screenshot decks
|
|
427
424
|
contact their documented service only when explicitly invoked. The complete
|
|
428
425
|
enforced network contract is in [`specs/peach/privacy.md`](../../specs/peach/privacy.md).
|
package/cli/commands/setup.ts
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
saveApiKey,
|
|
27
27
|
} from '../auth'
|
|
28
28
|
import { findDesktopCompanion, nativeDesktopIsDefault } from '../desktop-companion'
|
|
29
|
-
import { isCi,
|
|
29
|
+
import { canPromptForPrivacyChoice, isCi, PRIVACY_CONTENTS } from '../privacy'
|
|
30
30
|
import { askTerminal, confirm, select } from '../prompt'
|
|
31
31
|
import {
|
|
32
32
|
applyRepositorySetup,
|
|
@@ -181,8 +181,7 @@ export async function runSetup(
|
|
|
181
181
|
)
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
const productAnalytics = decidePrivacy(options, privacy)
|
|
185
|
-
const crashReports = productAnalytics
|
|
184
|
+
const productAnalytics = await decidePrivacy(options, privacy)
|
|
186
185
|
|
|
187
186
|
const repositoryPlan = await decideRepository(options, packageRoot, cliVersion)
|
|
188
187
|
const repository = repositoryPlan !== null
|
|
@@ -199,7 +198,9 @@ export async function runSetup(
|
|
|
199
198
|
}
|
|
200
199
|
|
|
201
200
|
if (!options.dryRun) {
|
|
202
|
-
|
|
201
|
+
if (productAnalytics !== undefined) {
|
|
202
|
+
writePrivacyPreferences({ productAnalytics, crashReports: productAnalytics })
|
|
203
|
+
}
|
|
203
204
|
writeOnboardingPreferences(simulatorDriver)
|
|
204
205
|
}
|
|
205
206
|
|
|
@@ -403,16 +404,22 @@ async function decideSimulatorDriver(
|
|
|
403
404
|
return choice === 0 ? 'playwright' : 'electron'
|
|
404
405
|
}
|
|
405
406
|
|
|
406
|
-
|
|
407
|
-
// and records the choice
|
|
408
|
-
function decidePrivacy(
|
|
407
|
+
async function decidePrivacy(
|
|
409
408
|
options: SetupOptions,
|
|
410
409
|
current: ReturnType<typeof readPrivacyPreferences>,
|
|
411
|
-
): boolean {
|
|
410
|
+
): Promise<boolean | undefined> {
|
|
412
411
|
if (options.productAnalytics !== undefined) return options.productAnalytics
|
|
413
|
-
if (
|
|
414
|
-
|
|
415
|
-
|
|
412
|
+
if (
|
|
413
|
+
current.configured ||
|
|
414
|
+
options.yes ||
|
|
415
|
+
options.ci ||
|
|
416
|
+
options.json ||
|
|
417
|
+
options.dryRun ||
|
|
418
|
+
!canPromptForPrivacyChoice()
|
|
419
|
+
)
|
|
420
|
+
return undefined
|
|
421
|
+
printPromptBlock('Diagnostics', PRIVACY_CONTENTS)
|
|
422
|
+
return confirm('Send anonymous diagnostics and crash reports?', false)
|
|
416
423
|
}
|
|
417
424
|
|
|
418
425
|
async function decideRepository(
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
// `peach config telemetry on|off` — the bounded diagnostics and automatic
|
|
2
|
-
// crash report preference shown by guided setup and Settings.
|
|
3
|
-
// turned off here.
|
|
2
|
+
// crash report preference shown by guided setup and Settings.
|
|
4
3
|
//
|
|
5
4
|
// this is the process-wide preference; `DO_NOT_TRACK=1` still forces opt-out
|
|
6
5
|
// for a single run regardless of the stored choice, including CI and agents.
|
package/cli/main.ts
CHANGED
|
@@ -134,15 +134,10 @@ if (redact) {
|
|
|
134
134
|
}
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
const isAutomaticCleanupWorker =
|
|
138
|
-
parsed.command === 'cleanup' &&
|
|
139
|
-
parsed.commandArgs.length === 1 &&
|
|
140
|
-
parsed.commandArgs[0] === '--automatic-worker'
|
|
141
137
|
const isCliUpdateWorker =
|
|
142
138
|
parsed.command === 'upgrade' &&
|
|
143
139
|
parsed.commandArgs.length === 1 &&
|
|
144
140
|
parsed.commandArgs[0] === '--check-worker'
|
|
145
|
-
const isBareWelcome = !parsed.command && parsed.commandArgs.length === 0
|
|
146
141
|
const isReadOnlyInvocation =
|
|
147
142
|
parsed.version ||
|
|
148
143
|
parsed.help ||
|
|
@@ -160,19 +155,6 @@ if (isCliUpdateWorker) {
|
|
|
160
155
|
await exitWithFlushedOutput(0)
|
|
161
156
|
}
|
|
162
157
|
|
|
163
|
-
if (
|
|
164
|
-
!isAutomaticCleanupWorker &&
|
|
165
|
-
!isBareWelcome &&
|
|
166
|
-
!parsed.help &&
|
|
167
|
-
!parsed.version &&
|
|
168
|
-
parsed.command !== 'config' &&
|
|
169
|
-
parsed.command !== 'setup' &&
|
|
170
|
-
parsed.command !== 'telemetry'
|
|
171
|
-
) {
|
|
172
|
-
const { noticePrivacyDefaults } = await import('./privacy')
|
|
173
|
-
noticePrivacyDefaults()
|
|
174
|
-
}
|
|
175
|
-
|
|
176
158
|
// one-shot "engine upgraded in the background" banner. the daemon's hourly
|
|
177
159
|
// auto-updater writes a notice file when it swaps the runtime; whichever
|
|
178
160
|
// interactive command runs next prints it once (stderr, so --json stdout
|
|
@@ -52,23 +52,23 @@ export const OUTBOUND_ENDPOINTS: Record<string, OutboundEndpointDeclaration> = {
|
|
|
52
52
|
category: 'bounded-diagnostics',
|
|
53
53
|
destination:
|
|
54
54
|
'configured analytics origin, /api/events (default https://peachsim.com/api/events)',
|
|
55
|
-
preConsent:
|
|
55
|
+
preConsent: false,
|
|
56
56
|
payload:
|
|
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;
|
|
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; only when enabled',
|
|
58
58
|
},
|
|
59
59
|
crash_report: {
|
|
60
60
|
category: 'bounded-diagnostics',
|
|
61
61
|
destination: 'configured product API origin, /api/sootsim/report-issue',
|
|
62
|
-
preConsent:
|
|
62
|
+
preConsent: false,
|
|
63
63
|
payload:
|
|
64
|
-
'an unexpected CLI crash: error class, bounded redacted first-line message and subprocess output tail or top stack frames, command name, CLI/runtime versions, OS/arch and a dedupe signature, at most once a day per signature;
|
|
64
|
+
'an unexpected CLI crash: error class, bounded redacted first-line message and subprocess output tail or top stack frames, command name, CLI/runtime versions, OS/arch and a dedupe signature, at most once a day per signature; only when enabled',
|
|
65
65
|
},
|
|
66
66
|
app_crash_report: {
|
|
67
67
|
category: 'bounded-diagnostics',
|
|
68
68
|
destination: 'configured product API origin, /api/sootsim/report-issue',
|
|
69
|
-
preConsent:
|
|
69
|
+
preConsent: false,
|
|
70
70
|
payload:
|
|
71
|
-
'a red screen in the running app: error kind, the first line of its message with paths cut to directories, the top 5 stack frames as function name plus directory (no file names or line numbers), runtime version and a fuzzy dedupe signature (kind and message words only), once per crash per load from a released runtime outside automation;
|
|
71
|
+
'a red screen in the running app: error kind, the first line of its message with paths cut to directories, the top 5 stack frames as function name plus directory (no file names or line numbers), runtime version and a fuzzy dedupe signature (kind and message words only), once per crash per load from a released runtime outside automation; only when enabled',
|
|
72
72
|
},
|
|
73
73
|
doctor_report: {
|
|
74
74
|
category: 'explicit-user-action',
|
package/cli/privacy.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
readPrivacyPreferences,
|
|
3
|
-
writePrivacyPreferences,
|
|
4
|
-
type PrivacyPreferences,
|
|
5
|
-
} from '../src/home-paths'
|
|
1
|
+
import { readPrivacyPreferences, type PrivacyPreferences } from '../src/home-paths'
|
|
6
2
|
import { isAgentEnv } from './commands/inspect/env'
|
|
7
3
|
|
|
8
4
|
export function isCi(): boolean {
|
|
@@ -40,19 +36,3 @@ export const PRIVACY_CONTENTS = [
|
|
|
40
36
|
'Anonymous diagnostics and crash reports send CLI/runtime versions, OS/arch, command name and exit code, a random install ID, package incompatibilities, and a redacted first-line error message.',
|
|
41
37
|
'Crash reports also include a short output tail or stack, with paths, URLs, known secrets and environment assignments redacted. Output can contain other app text.',
|
|
42
38
|
]
|
|
43
|
-
|
|
44
|
-
// shown before the choice is recorded, when both are on by default.
|
|
45
|
-
export const PRIVACY_NOTICE = [
|
|
46
|
-
'Anonymous diagnostics and crash reports are on.',
|
|
47
|
-
...PRIVACY_CONTENTS,
|
|
48
|
-
'Turn them off with `peach config telemetry off`, or DO_NOT_TRACK=1 for one run.',
|
|
49
|
-
]
|
|
50
|
-
|
|
51
|
-
// the first human run says once what is sent and how to turn it off, then
|
|
52
|
-
// records the defaults so the notice does not repeat. CI, pipes and agent runs
|
|
53
|
-
// print nothing and send under the same defaults.
|
|
54
|
-
export function noticePrivacyDefaults(): void {
|
|
55
|
-
if (readPrivacyPreferences().configured || !canPromptForPrivacyChoice()) return
|
|
56
|
-
process.stderr.write(`\n${PRIVACY_NOTICE.map((line) => ` ${line}`).join('\n')}\n\n`)
|
|
57
|
-
writePrivacyPreferences({ productAnalytics: true, crashReports: true })
|
|
58
|
-
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/beta.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -39,7 +39,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
39
39
|
var define_SWIFT_COVERAGE_SOURCE_DIGESTS_default;
|
|
40
40
|
var init_define_SWIFT_COVERAGE_SOURCE_DIGESTS = __esm({
|
|
41
41
|
"<define:__SWIFT_COVERAGE_SOURCE_DIGESTS__>"() {
|
|
42
|
-
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "
|
|
42
|
+
define_SWIFT_COVERAGE_SOURCE_DIGESTS_default = { "swift-coverage/indexdump.ts": "0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412", "swift-coverage/indexing.ts": "633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272", "swift-coverage/types.ts": "5bd72edc235189d69835155cb0367a1aee14332405896366af3be606dbe8cce8", "swift-coverage/source.ts": "8b398ceb60faf4a5729842cab60f49c2e601d6fc6bbbc1faec9023ecb8141990", "swift-coverage/package.ts": "1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b", "swift-coverage/xcode.ts": "65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa", "swift-coverage/xcode-assets.ts": "99e03b74c961d2449afd58c2cbc415ba91d1d469a4f89e461c137fd6c305b27c", "swift-coverage/xcode-asset-symbols.ts": "1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671", "swift-coverage/xcode-bridging.ts": "33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11", "swift-coverage/xcode-packages.ts": "8e6020d17d24474150a5a50d042aca6261819ef75c79680a287a66f395909915", "swift-coverage/xcode-strings.ts": "f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c", "swift-coverage/reader.ts": "da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c", "swift-coverage/provenance.ts": "eb3b41ae8b58b48f6758f084800f188dfb1edb227e483abdd6b80cde66e849b9", "swift-package-manifest.ts": "4b7d4a715cdaf57468ead23f2ff9dce76d02c6a888d73d144d4baa2ae571ba3c", "swift-package.ts": "0b82b3773f9c0b27636f277d9c123b3e631b9c9980995d67d67efa6b3176df4a", "swift-source-file.ts": "93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94", "swift-toolchain.ts": "450ee02b48bcdbbacbb4e94cd161308f1dac1bdb540ed5033c2433f717f738d2", "home-paths.ts": "af600a7f017474946ede726320a133d830e77e4e287b043d4fea026a945ce748", "xcode-header-search.ts": "f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1", "xcode-project.ts": "c126efdce870c1953833ec9c32d66b15bbe422ab2a31b7531be3e278edbc9737", "xcode-target-members.ts": "75a23a5fc54cc6f5e952d545f2f0f86241ff36525ab4e568c172e83c3bfb9da4", "xcode-json-project.ts": "41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6", "openstep-plist.ts": "74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3" };
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
|
|
@@ -38440,7 +38440,7 @@ var init_swift_standin_digest = __esm({
|
|
|
38440
38440
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
38441
38441
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
38442
38442
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
38443
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
38443
|
+
STANDIN_SOURCE_DIGEST = true ? "561a9a7ebdd507444399a3f8310b2de4592885f9acd0f1005a06c09111d0005b" : standinSourceDigest();
|
|
38444
38444
|
}
|
|
38445
38445
|
});
|
|
38446
38446
|
|
|
@@ -38930,7 +38930,7 @@ var init_expo_native_prebuilt = __esm({
|
|
|
38930
38930
|
init_swift_native_pin();
|
|
38931
38931
|
init_xcode_project();
|
|
38932
38932
|
EXPO_NATIVE_ENTRY_NAME = "ios";
|
|
38933
|
-
EXPO_NATIVE_COMPILER_DIGEST = true ? "
|
|
38933
|
+
EXPO_NATIVE_COMPILER_DIGEST = true ? "5f003ceebbd4d0d0acca4345d85445b96471f98fd61282e039812541edda3be2" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
38934
38934
|
IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
|
|
38935
38935
|
expoNativeEntryUrl = (key2, file) => `${NATIVE_PREBUILT_ORIGIN}/${nativeEntryPrefix("expo", EXPO_NATIVE_ENTRY_NAME, key2)}/${file}`;
|
|
38936
38936
|
isStringRecord = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
@@ -40056,7 +40056,7 @@ function resolveSwiftPackages(options) {
|
|
|
40056
40056
|
result.nativeProducts.push({ name: name3, packageDir: manifest.dir, source });
|
|
40057
40057
|
return result;
|
|
40058
40058
|
}
|
|
40059
|
-
var import_node_child_process33, import_node_crypto35, import_node_fs66, import_node_path66, import_promises7, import_node_util12, SWIFT_PLACEHOLDER_PACKAGES, placeholderPackage, UNSUPPORTED_NATIVE, BINARY, blockers, verified, execFileAsync2, checkoutKey;
|
|
40059
|
+
var import_node_child_process33, import_node_crypto35, import_node_fs66, import_node_path66, import_promises7, import_node_util12, swiftBinaryOnDisk, SWIFT_PLACEHOLDER_PACKAGES, placeholderPackage, UNSUPPORTED_NATIVE, BINARY, blockers, verified, execFileAsync2, checkoutKey;
|
|
40060
40060
|
var init_swift_packages = __esm({
|
|
40061
40061
|
"src/swift-packages.ts"() {
|
|
40062
40062
|
"use strict";
|
|
@@ -40072,6 +40072,7 @@ var init_swift_packages = __esm({
|
|
|
40072
40072
|
init_prepared_xcode_phases();
|
|
40073
40073
|
init_swift_package();
|
|
40074
40074
|
init_swift_package_manifest();
|
|
40075
|
+
swiftBinaryOnDisk = (binary2) => binary2.url !== null || import_node_fs66.default.existsSync(binary2.dir);
|
|
40075
40076
|
SWIFT_PLACEHOLDER_PACKAGES = /* @__PURE__ */ new Map();
|
|
40076
40077
|
placeholderPackage = (pkg) => SWIFT_PLACEHOLDER_PACKAGES.get(swiftPackageIdentity(pkg.manifest.dir));
|
|
40077
40078
|
UNSUPPORTED_NATIVE = /\.(s|S)$/;
|
|
@@ -42860,7 +42861,7 @@ function* xcodeObjCInputSteps(app, binaries, moduleRoot, products, sourceRoot =
|
|
|
42860
42861
|
clangModules.set(import_node_path70.default.resolve(binary2.dir, binary2.publicHeaders), binary2.target);
|
|
42861
42862
|
}
|
|
42862
42863
|
const frameworkBinaries = binaries.filter(
|
|
42863
|
-
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0
|
|
42864
|
+
(binary2) => binary2.reached && binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2)
|
|
42864
42865
|
);
|
|
42865
42866
|
const declaredFrameworks = moduleRoot && frameworkBinaries.length > 0 ? {
|
|
42866
42867
|
moduleRoot,
|
|
@@ -46295,7 +46296,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
46295
46296
|
return [...binaries];
|
|
46296
46297
|
const staged = remoteSwiftCheckouts(app.rootDir);
|
|
46297
46298
|
if (!binaries.some(
|
|
46298
|
-
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
46299
|
+
(binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2) && binaryHeaderSearchPaths(binary2, staged).headers.length === 1
|
|
46299
46300
|
))
|
|
46300
46301
|
return [...binaries];
|
|
46301
46302
|
const hash = (0, import_node_crypto38.createHash)("sha256");
|
|
@@ -46344,7 +46345,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
|
|
|
46344
46345
|
});
|
|
46345
46346
|
const checkouts = remoteSwiftCheckouts(app.rootDir);
|
|
46346
46347
|
const search = binaries.map((binary2) => {
|
|
46347
|
-
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0)
|
|
46348
|
+
if (binary2.publicHeaders !== void 0 || binary2.placeholder !== void 0 || !swiftBinaryOnDisk(binary2))
|
|
46348
46349
|
return null;
|
|
46349
46350
|
const headers = binaryHeaderSearchPaths(binary2, checkouts).headers;
|
|
46350
46351
|
if (headers.length !== 1) return null;
|
|
@@ -53369,6 +53370,29 @@ function cloneNativeTarget(target) {
|
|
|
53369
53370
|
sourceDirectories: { ...target.sourceDirectories }
|
|
53370
53371
|
};
|
|
53371
53372
|
}
|
|
53373
|
+
function podSupportsIOS(pod) {
|
|
53374
|
+
if (!isRecord(pod) || typeof pod.podName !== "string" || typeof pod.podspecDir !== "string")
|
|
53375
|
+
throw new Error("invalid Expo autolinking pod");
|
|
53376
|
+
const base = import_node_path80.default.join(pod.podspecDir, pod.podName);
|
|
53377
|
+
if (import_node_fs81.default.existsSync(`${base}.podspec.json`)) {
|
|
53378
|
+
const platforms2 = JSON.parse(
|
|
53379
|
+
import_node_fs81.default.readFileSync(`${base}.podspec.json`, "utf8")
|
|
53380
|
+
).platforms;
|
|
53381
|
+
return !isRecord(platforms2) || "ios" in platforms2;
|
|
53382
|
+
}
|
|
53383
|
+
if (!import_node_fs81.default.existsSync(`${base}.podspec`)) return true;
|
|
53384
|
+
const spec = import_node_fs81.default.readFileSync(`${base}.podspec`, "utf8");
|
|
53385
|
+
const names = /* @__PURE__ */ new Set();
|
|
53386
|
+
for (const [, hash] of spec.matchAll(/\.platforms\s*=\s*\{([^}]*)\}/g))
|
|
53387
|
+
for (const [, a, b, c] of hash.matchAll(
|
|
53388
|
+
/:(\w+)\s*=>|\b(\w+):\s|['"](\w+)['"]\s*=>/g
|
|
53389
|
+
))
|
|
53390
|
+
names.add(a ?? b ?? c);
|
|
53391
|
+
for (const [, name3] of spec.matchAll(/\.platform\s*=\s*:(\w+)/g)) names.add(name3);
|
|
53392
|
+
for (const [, name3] of spec.matchAll(/\.(\w+)\.deployment_target\s*=/g))
|
|
53393
|
+
names.add(name3);
|
|
53394
|
+
return names.size === 0 || names.has("ios");
|
|
53395
|
+
}
|
|
53372
53396
|
function synthesizedNativeTarget(name3, deploymentTarget) {
|
|
53373
53397
|
return {
|
|
53374
53398
|
name: name3,
|
|
@@ -53908,6 +53932,10 @@ async function collectExpoSwiftSourcesUncached(appRoot, signal, installedWorkspa
|
|
|
53908
53932
|
const namespaces = resolution && typeof resolution === "object" ? Reflect.get(resolution, "swiftModuleNames") : null;
|
|
53909
53933
|
const modules = resolution && typeof resolution === "object" ? Reflect.get(resolution, "modules") : null;
|
|
53910
53934
|
const pods = resolution && typeof resolution === "object" ? Reflect.get(resolution, "pods") : null;
|
|
53935
|
+
if (Array.isArray(pods) && pods.length > 0 && !pods.some(podSupportsIOS)) {
|
|
53936
|
+
report(`${packageName} was not linked: no pod supports iOS`);
|
|
53937
|
+
continue;
|
|
53938
|
+
}
|
|
53911
53939
|
const delegateNames = (key2) => {
|
|
53912
53940
|
const names = resolution && typeof resolution === "object" ? Reflect.get(resolution, key2) : null;
|
|
53913
53941
|
return Array.isArray(names) ? names : [];
|
|
@@ -56208,7 +56236,7 @@ var init_nitro_superset = __esm({
|
|
|
56208
56236
|
init_swift_standin_digest();
|
|
56209
56237
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
56210
56238
|
packageVersion = (root) => JSON.parse((0, import_node_fs86.readFileSync)((0, import_node_path85.join)(root, "package.json"), "utf8")).version;
|
|
56211
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
56239
|
+
NITRO_COMPILER_DIGEST = true ? "0edb88bf337167bdbf9f7201d129d9077a26c615463033664ec9d138b538e444" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
56212
56240
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
56213
56241
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
56214
56242
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (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
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/config.mjs
CHANGED
package/dist-lib/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -2493,7 +2493,7 @@ function isValidRuntimeVersion(value) {
|
|
|
2493
2493
|
}
|
|
2494
2494
|
|
|
2495
2495
|
// runtime-companion.json
|
|
2496
|
-
var runtime_companion_default = { abi: 1, sha256: "
|
|
2496
|
+
var runtime_companion_default = { abi: 1, sha256: "127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43", file: "node/cli-127deab9af03c4dbb7e43312af50fa1e0053c61d1cfe99395c38fbfef5bfab43.cjs" };
|
|
2497
2497
|
|
|
2498
2498
|
// src/answeredNativePackages.ts
|
|
2499
2499
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1963 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|