peachsim 0.1.2385 → 0.1.2387
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/commands/flow.ts +5 -5
- package/cli/commands/maestro-generate.ts +1 -1
- package/cli/commands/maestro.ts +2 -2
- package/cli/commands/map.ts +1 -1
- package/cli/commands/preview.ts +2 -2
- package/cli/commands/record.ts +4 -4
- package/cli/commands/stream.ts +1 -1
- package/cli/commands/test.ts +3 -3
- package/cli/commands/upload.ts +3 -3
- package/detox/index.ts +7 -2
- 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 +44 -29
- 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 +4 -3
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +43 -28
- 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 +44 -29
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -4
- 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 +4 -4
- 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 +4 -4
- 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 +64 -49
- package/dist-lib/swift-compile.cjs +34 -22
- package/dist-lib/swift-compile.mjs +34 -22
- 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 +36 -24
- package/dist-lib/vite.cjs +4 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -2
- package/dist-types/packages/peach-engine/src/ios/apps/canvas-map-data.d.ts +16 -1
- package/dist-types/packages/peach-globals/src/eventBridgeContract.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/node-runtime.json +1 -1
- package/package.json +1 -1
- package/skills/contrast/SKILL.md +3 -4
- package/src/expo-native-workspace.ts +18 -15
- package/src/react-native-core-build.ts +2 -3
- package/src/swift-compile.ts +56 -30
package/cli/commands/flow.ts
CHANGED
|
@@ -319,8 +319,8 @@ options:
|
|
|
319
319
|
--sim <id> target a specific current sim
|
|
320
320
|
--validate replay the drafted flow before clearing it
|
|
321
321
|
--video replay and record the drafted flow before clearing it
|
|
322
|
-
--preview
|
|
323
|
-
--preview-open open the uploaded
|
|
322
|
+
--preview upload a Recording of events and video and print its link
|
|
323
|
+
--preview-open open the uploaded Recording after a successful run
|
|
324
324
|
--preview-origin <url>
|
|
325
325
|
upload target for --preview (default: auto)
|
|
326
326
|
--preview-public-origin <url>
|
|
@@ -329,7 +329,7 @@ options:
|
|
|
329
329
|
--billing-kind test_run
|
|
330
330
|
the chained upload is a hosted test job's recording,
|
|
331
331
|
covered by the job's minutes (set by the hosted recorder)
|
|
332
|
-
--owner <org> associate
|
|
332
|
+
--owner <org> associate the Recording with a linked org repo
|
|
333
333
|
--repo <repo> repo name for --owner; user must belong to the team
|
|
334
334
|
|
|
335
335
|
frontmatter (top of flow.yaml between --- markers):
|
|
@@ -1175,7 +1175,7 @@ flow extension:
|
|
|
1175
1175
|
if (previewBillingKind) {
|
|
1176
1176
|
uploadArgs.push('--billing-kind', previewBillingKind)
|
|
1177
1177
|
}
|
|
1178
|
-
console.log(`\n preparing
|
|
1178
|
+
console.log(`\n preparing Recording upload…`)
|
|
1179
1179
|
const flowTraceSteps = driver.getFlowTraceSteps()
|
|
1180
1180
|
if (flowTraceSteps.length > 0) {
|
|
1181
1181
|
uploadArgs.push(
|
|
@@ -1224,7 +1224,7 @@ flow extension:
|
|
|
1224
1224
|
err instanceof PeachExit && err.reason
|
|
1225
1225
|
? err.reason
|
|
1226
1226
|
: String(err?.message || err)
|
|
1227
|
-
console.error(`
|
|
1227
|
+
console.error(` Recording upload failed: ${lastPreviewUploadError}`)
|
|
1228
1228
|
exitCode = 1
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
@@ -560,7 +560,7 @@ export async function runMaestroGenerate(args: string[]): Promise<number> {
|
|
|
560
560
|
)
|
|
561
561
|
console.log(`\n result: ${status}`)
|
|
562
562
|
if (run) console.log(` run: ${run.id}`)
|
|
563
|
-
if (upload?.previewUrl) console.log(`
|
|
563
|
+
if (upload?.previewUrl) console.log(` recording: ${upload.previewUrl}`)
|
|
564
564
|
if (run?.traceUrl) console.log(` replay: ${run.traceUrl}`)
|
|
565
565
|
return exitCode
|
|
566
566
|
}
|
package/cli/commands/maestro.ts
CHANGED
|
@@ -110,8 +110,8 @@ options:
|
|
|
110
110
|
--headed force a fresh, VISIBLE window (implies --new,
|
|
111
111
|
overrides --headless) — watch the flow run live
|
|
112
112
|
--record record a webm while the flow runs
|
|
113
|
-
--preview
|
|
114
|
-
--preview-open open the uploaded
|
|
113
|
+
--preview upload a Recording of events and video and print its link
|
|
114
|
+
--preview-open open the uploaded Recording after a successful run
|
|
115
115
|
--preview-origin <url> upload target for --preview
|
|
116
116
|
--preview-public-origin <url>
|
|
117
117
|
public link origin for --preview
|
package/cli/commands/map.ts
CHANGED
|
@@ -594,6 +594,6 @@ async function publish(file: string, args: string[]): Promise<number> {
|
|
|
594
594
|
throw new Error(`publish failed (${res.status}): ${(await res.text()).slice(0, 300)}`)
|
|
595
595
|
}
|
|
596
596
|
const url = `${origin.replace(/\/$/, '')}/org/${owner}/${repo}/map?branch=${encodeURIComponent(body.branch)}&appearance=${body.appearance}`
|
|
597
|
-
console.log(`
|
|
597
|
+
console.log(` map: ${url} (${map.screens.length} screens)`)
|
|
598
598
|
return 0
|
|
599
599
|
}
|
package/cli/commands/preview.ts
CHANGED
|
@@ -129,7 +129,7 @@ export async function runPreview(args: string[]): Promise<number> {
|
|
|
129
129
|
)
|
|
130
130
|
if (json) console.log(JSON.stringify(receipt))
|
|
131
131
|
else {
|
|
132
|
-
console.log(`
|
|
132
|
+
console.log(` build: ${receipt.previewUrl}`)
|
|
133
133
|
console.log(` job: ${receipt.jobId}`)
|
|
134
134
|
console.log(` artifact: ${JSON.stringify(receipt.artifact)}`)
|
|
135
135
|
}
|
|
@@ -184,7 +184,7 @@ export async function runPreview(args: string[]): Promise<number> {
|
|
|
184
184
|
}),
|
|
185
185
|
)
|
|
186
186
|
else {
|
|
187
|
-
console.log(`
|
|
187
|
+
console.log(` build: ${url}`)
|
|
188
188
|
if (finalize.visibility === 'private') console.log(PRIVATE_PREVIEW_NOTE)
|
|
189
189
|
console.log(
|
|
190
190
|
` artifact: sha256:${artifact.sha256} (${artifact.bytes.byteLength} bytes)`,
|
package/cli/commands/record.ts
CHANGED
|
@@ -1196,7 +1196,7 @@ async function recordStart(args: string[], opts: RecordOptions) {
|
|
|
1196
1196
|
)
|
|
1197
1197
|
} else {
|
|
1198
1198
|
console.log(
|
|
1199
|
-
` recording ${mode} — run \`peach record stop\` when done (add --open to
|
|
1199
|
+
` recording ${mode} — run \`peach record stop\` when done (add --open to open the Recording)`,
|
|
1200
1200
|
)
|
|
1201
1201
|
}
|
|
1202
1202
|
} finally {
|
|
@@ -1847,11 +1847,11 @@ function handleStoreUploadResult(
|
|
|
1847
1847
|
peachExit(1)
|
|
1848
1848
|
}
|
|
1849
1849
|
if (!result.previewUrl) {
|
|
1850
|
-
console.error(' upload returned no
|
|
1850
|
+
console.error(' upload returned no Recording URL')
|
|
1851
1851
|
peachExit(1)
|
|
1852
1852
|
}
|
|
1853
|
-
console.log(`
|
|
1854
|
-
if (result.previewId) console.log(`
|
|
1853
|
+
console.log(` recording: ${result.previewUrl}`)
|
|
1854
|
+
if (result.previewId) console.log(` recording id: ${result.previewId}`)
|
|
1855
1855
|
if (result.visibility === 'private') console.log(PRIVATE_PREVIEW_NOTE)
|
|
1856
1856
|
if (result.phases?.length) {
|
|
1857
1857
|
console.log(
|
package/cli/commands/stream.ts
CHANGED
|
@@ -112,7 +112,7 @@ export async function runStreamCommand(
|
|
|
112
112
|
})
|
|
113
113
|
writeSecureJsonAtomic(file, record)
|
|
114
114
|
removeRecord = () => rmSync(file, { force: true })
|
|
115
|
-
console.log(` ${record.watchUrl}`)
|
|
115
|
+
console.log(` simulator: ${record.watchUrl}`)
|
|
116
116
|
console.log(' Press Ctrl+C to stop streaming.')
|
|
117
117
|
await new Promise<void>((resolve) => {
|
|
118
118
|
const finish = () => {
|
package/cli/commands/test.ts
CHANGED
|
@@ -1140,10 +1140,10 @@ export async function runCloudTest(
|
|
|
1140
1140
|
console.log(` status: ${jobState.status}`)
|
|
1141
1141
|
console.log(` exit code: ${exitCode}`)
|
|
1142
1142
|
if (result?.previewUrl) {
|
|
1143
|
-
console.log(`
|
|
1143
|
+
console.log(` recording: ${result.previewUrl}`)
|
|
1144
1144
|
} else if (result?.previewId) {
|
|
1145
1145
|
console.log(
|
|
1146
|
-
`
|
|
1146
|
+
` recording: ${origin.replace(/\/$/, '')}/preview/${result.previewId}`,
|
|
1147
1147
|
)
|
|
1148
1148
|
}
|
|
1149
1149
|
if (result?.runId) {
|
|
@@ -1152,7 +1152,7 @@ export async function runCloudTest(
|
|
|
1152
1152
|
if (result?.flows && (result.flows.length > 1 || jobs.length > 1)) {
|
|
1153
1153
|
result.flows.forEach((flow, flowIndex) => {
|
|
1154
1154
|
console.log(
|
|
1155
|
-
` flow ${flowIndex + 1}: ${flow.flow ?? job.label ?? '(unknown flow)'}
|
|
1155
|
+
` flow ${flowIndex + 1}: ${flow.flow ?? job.label ?? '(unknown flow)'} recording=${flow.previewUrl ?? flow.previewId ?? 'none'} run=${flow.runId ?? 'none'}`,
|
|
1156
1156
|
)
|
|
1157
1157
|
})
|
|
1158
1158
|
}
|
package/cli/commands/upload.ts
CHANGED
|
@@ -230,7 +230,7 @@ options:
|
|
|
230
230
|
the recording of a hosted test job, covered by the
|
|
231
231
|
job's minutes (set by the hosted recorder)
|
|
232
232
|
--sim <sim> target a specific sim (see: peach list)
|
|
233
|
-
--open open the resulting
|
|
233
|
+
--open open the resulting Recording in the browser
|
|
234
234
|
--assets-only drop API/JSON/HTML records before upload; keep images,
|
|
235
235
|
fonts, css, js, and binary blobs. live-data demos hit
|
|
236
236
|
the real network at replay time instead of serving
|
|
@@ -1332,8 +1332,8 @@ export async function runUpload(
|
|
|
1332
1332
|
|
|
1333
1333
|
const previewUrl = `${getCliRuntime().preview_presigned_upload.canonicalPublicPreviewOrigin(publicOrigin)}${finalize.shortUrl}`
|
|
1334
1334
|
console.log(`\n stored ${finalize.filesStored ?? 0} extra files`)
|
|
1335
|
-
console.log(`
|
|
1336
|
-
console.log(`
|
|
1335
|
+
console.log(` recording: ${previewUrl}`)
|
|
1336
|
+
console.log(` recording id: ${finalize.id}`)
|
|
1337
1337
|
|
|
1338
1338
|
if (openResult) {
|
|
1339
1339
|
await openUrl(previewUrl)
|
package/detox/index.ts
CHANGED
|
@@ -2179,16 +2179,21 @@ export const device = {
|
|
|
2179
2179
|
|
|
2180
2180
|
if (!_page || newInstance || opts?.delete || opts?.recordVideoDir) {
|
|
2181
2181
|
await closeContext(!opts?.delete)
|
|
2182
|
+
// leave room for an iPhone at its logical size before sampling browser layers.
|
|
2183
|
+
const viewport =
|
|
2184
|
+
DETOX_PLATFORM === 'ios' && process.env.CONFORMANCE_PROOF === '1'
|
|
2185
|
+
? { width: 601, height: 1101 }
|
|
2186
|
+
: { width: 500, height: 900 }
|
|
2182
2187
|
const contextOpts: Parameters<NonNullable<typeof _browser>['newContext']>[0] = {
|
|
2183
2188
|
hasTouch: true,
|
|
2184
|
-
viewport
|
|
2189
|
+
viewport,
|
|
2185
2190
|
storageState: _appStorageState,
|
|
2186
2191
|
}
|
|
2187
2192
|
if (opts?.recordVideoDir) {
|
|
2188
2193
|
fs.mkdirSync(opts.recordVideoDir, { recursive: true })
|
|
2189
2194
|
contextOpts.recordVideo = {
|
|
2190
2195
|
dir: opts.recordVideoDir,
|
|
2191
|
-
size:
|
|
2196
|
+
size: viewport,
|
|
2192
2197
|
}
|
|
2193
2198
|
}
|
|
2194
2199
|
const newContextIdentity = ++nextContextIdentity
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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;
|
|
@@ -35210,6 +35210,8 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35210
35210
|
const moduleRoot = import_node_path42.default.resolve(options.moduleRoot);
|
|
35211
35211
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
35212
35212
|
const guestGraph = distribution ? input.sourceLinkGraph : void 0;
|
|
35213
|
+
if (options.linkOnly && guestGraph)
|
|
35214
|
+
throw new Error("swift-compile: link-only builds do not support guest image graphs");
|
|
35213
35215
|
const layout2 = {
|
|
35214
35216
|
root,
|
|
35215
35217
|
sources: import_node_path42.default.join(root, "Sources", "App"),
|
|
@@ -35222,24 +35224,26 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35222
35224
|
console.error(`[swift-project ${hash.slice(0, 16)}] ${message}`);
|
|
35223
35225
|
options.onStage?.(message);
|
|
35224
35226
|
};
|
|
35225
|
-
report("checking verified artifacts");
|
|
35226
35227
|
return serialize(
|
|
35227
35228
|
root,
|
|
35228
35229
|
async () => {
|
|
35229
|
-
|
|
35230
|
-
|
|
35231
|
-
|
|
35232
|
-
|
|
35233
|
-
|
|
35234
|
-
|
|
35235
|
-
|
|
35236
|
-
|
|
35237
|
-
|
|
35238
|
-
|
|
35239
|
-
|
|
35240
|
-
|
|
35241
|
-
|
|
35242
|
-
|
|
35230
|
+
if (!options.intermediates) {
|
|
35231
|
+
report("checking verified artifacts");
|
|
35232
|
+
const retained = retainedArtifacts.get(root)?.find((old) => old.hash === hash);
|
|
35233
|
+
if (retained) {
|
|
35234
|
+
report("reusing memory artifact");
|
|
35235
|
+
return retain(root, retained);
|
|
35236
|
+
}
|
|
35237
|
+
const cached2 = readCompiledArtifact(import_node_path42.default.join(sharedRoot, "artifact"), hash);
|
|
35238
|
+
const previous = cached2 ?? (options.project ? null : readCompiledArtifact(import_node_path42.default.join(root, "artifact"), hash));
|
|
35239
|
+
if (previous) {
|
|
35240
|
+
if (cached2) renewSharedArtifact(sharedRoot);
|
|
35241
|
+
else saveSharedArtifact(sharedRoot, previous);
|
|
35242
|
+
report("reusing verified disk artifact");
|
|
35243
|
+
return retain(root, previous);
|
|
35244
|
+
}
|
|
35245
|
+
}
|
|
35246
|
+
if (!options.intermediates && process.platform === "darwin" && process.env.TM_SESSION && !windowAdmission() && process.env.CI !== "true" && moduleRoot === sourceSwiftCheckout() && !swiftDistributionAt(moduleRoot)) {
|
|
35243
35247
|
const requestRoot = (0, import_node_fs43.mkdtempSync)(`${root}.builder-request-`);
|
|
35244
35248
|
const output2 = import_node_path42.default.join(requestRoot, "output");
|
|
35245
35249
|
const request = import_node_path42.default.join(requestRoot, "request.json");
|
|
@@ -35296,10 +35300,12 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35296
35300
|
return withSwiftRootLock(
|
|
35297
35301
|
root,
|
|
35298
35302
|
async (lease) => {
|
|
35299
|
-
|
|
35300
|
-
|
|
35301
|
-
|
|
35302
|
-
|
|
35303
|
+
if (!options.intermediates) {
|
|
35304
|
+
const built2 = readCompiledArtifact(import_node_path42.default.join(sharedRoot, "artifact"), hash);
|
|
35305
|
+
if (built2) {
|
|
35306
|
+
report("reusing verified disk artifact");
|
|
35307
|
+
return retain(root, built2);
|
|
35308
|
+
}
|
|
35303
35309
|
}
|
|
35304
35310
|
const swift = import_node_path42.default.join(options.toolchainBin, "swift");
|
|
35305
35311
|
if (!(0, import_node_fs43.existsSync)(swift)) {
|
|
@@ -35329,7 +35335,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35329
35335
|
);
|
|
35330
35336
|
const macroPlugins = distribution ? await withSwiftRootLock(frameworkScratch, pluginsFor, budget.signal) : await pluginsFor(frameworkLease);
|
|
35331
35337
|
const sdk2 = swiftModuleSdk(frameworkRoot).wasmSdkId;
|
|
35332
|
-
const icu = swiftIcuAsset(options.toolchainBin, sdk2);
|
|
35338
|
+
const icu = options.linkOnly ? null : swiftIcuAsset(options.toolchainBin, sdk2);
|
|
35333
35339
|
const buildOptions = {
|
|
35334
35340
|
env: {
|
|
35335
35341
|
...options.project?.env ?? process.env,
|
|
@@ -35471,7 +35477,7 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35471
35477
|
];
|
|
35472
35478
|
const linked = builtArtifact(layout2);
|
|
35473
35479
|
(0, import_node_fs43.rmSync)(import_node_path42.default.join(root, ".peach-link.rsp"), { force: true });
|
|
35474
|
-
if ((0, import_node_fs43.existsSync)(linked) && (0, import_node_fs43.statSync)(linked).size <= 8)
|
|
35480
|
+
if (options.linkOnly || (0, import_node_fs43.existsSync)(linked) && (0, import_node_fs43.statSync)(linked).size <= 8)
|
|
35475
35481
|
(0, import_node_fs43.rmSync)(linked, { force: true });
|
|
35476
35482
|
report("compiling and linking Swift modules");
|
|
35477
35483
|
const frameworkInterfaces = /* @__PURE__ */ new Map();
|
|
@@ -35680,6 +35686,12 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
35680
35686
|
void 0,
|
|
35681
35687
|
resourceReferences
|
|
35682
35688
|
);
|
|
35689
|
+
if (options.linkOnly) {
|
|
35690
|
+
if ((0, import_node_fs43.statSync)(linked).size <= 8)
|
|
35691
|
+
throw new Error("swift-compile: deferred linker produced no executable");
|
|
35692
|
+
report("project link verified");
|
|
35693
|
+
return;
|
|
35694
|
+
}
|
|
35683
35695
|
const output2 = options.project ? projectOutputFile(root, linked, options.project) : linked;
|
|
35684
35696
|
const optimized = `${output2}.optimized`;
|
|
35685
35697
|
if (guestGraph)
|
|
@@ -35964,7 +35976,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
35964
35976
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
35965
35977
|
MULTI_MANIFEST_VERSION = 69;
|
|
35966
35978
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
35967
|
-
compilerSourceDigest = true ? "
|
|
35979
|
+
compilerSourceDigest = true ? "a8ef2b0211672814d4cff10c3aa4c1e77c8c8a87b90e00fe66a2e674c2e5f014" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
35968
35980
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
35969
35981
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
35970
35982
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -44150,6 +44162,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
44150
44162
|
const file = import_node_path63.default.join(directory2, entry.name);
|
|
44151
44163
|
const relative4 = import_node_path63.default.relative(root, file);
|
|
44152
44164
|
if (excluded(relative4, entry.isDirectory())) continue;
|
|
44165
|
+
const firstStep = steps.length;
|
|
44153
44166
|
steps.push(() => hash.update(`${relative4}\0`));
|
|
44154
44167
|
if (entry.isSymbolicLink()) {
|
|
44155
44168
|
const link = `link\0${import_node_fs63.default.readlinkSync(file)}\0`;
|
|
@@ -44160,6 +44173,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
|
|
|
44160
44173
|
} else if (entry.isDirectory()) {
|
|
44161
44174
|
steps.push(() => hash.update("directory\0"));
|
|
44162
44175
|
walk3(file);
|
|
44176
|
+
if (sourceOnly && steps.length === firstStep + 2) steps.length = firstStep;
|
|
44163
44177
|
} else if (entry.isFile()) {
|
|
44164
44178
|
const posix2 = relative4.split(import_node_path63.default.sep).join("/");
|
|
44165
44179
|
if (NATIVE_CONFIG_FILE.test(posix2)) {
|
|
@@ -50502,7 +50516,7 @@ var init_swift_standin_digest = __esm({
|
|
|
50502
50516
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
50503
50517
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
50504
50518
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
50505
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
50519
|
+
STANDIN_SOURCE_DIGEST = true ? "4a21735d60d5c3e629b478af2bb3e725e89a01e8291b31fcc4e4f3174d7c9b4f" : standinSourceDigest();
|
|
50506
50520
|
}
|
|
50507
50521
|
});
|
|
50508
50522
|
|
|
@@ -63269,7 +63283,7 @@ async function buildReactNativeCore(project2, reactNativeRoot, mode, moduleRoot)
|
|
|
63269
63283
|
producer.files["Sources/PeachCoreProducerHost/include/PeachCoreProducerHost.h"] = "#pragma once\n";
|
|
63270
63284
|
producer.files["Sources/PeachCoreProducerHost/Dispatch.m"] = "#import <dispatch/dispatch.h>\nvoid peachTurboDispatchAsync(dispatch_block_t block) { dispatch_async(dispatch_get_main_queue(), block); }\n";
|
|
63271
63285
|
}
|
|
63272
|
-
const input =
|
|
63286
|
+
const input = collectTurboCompileInput(producer, null, floor);
|
|
63273
63287
|
input.files[input.entry] = input.entry.endsWith(".swift") ? "@main struct PeachCoreProducer { static func main() {} }\n" : "int main() { return 0; }\n";
|
|
63274
63288
|
const { compiler: _compiler, recipe: _recipe, ...nativeInputs } = entry.inputs;
|
|
63275
63289
|
const buildRoot = import_node_path90.default.join(
|
|
@@ -63281,7 +63295,8 @@ async function buildReactNativeCore(project2, reactNativeRoot, mode, moduleRoot)
|
|
|
63281
63295
|
...module2,
|
|
63282
63296
|
moduleRoot: module2.root,
|
|
63283
63297
|
buildRoot,
|
|
63284
|
-
intermediates: true
|
|
63298
|
+
intermediates: true,
|
|
63299
|
+
linkOnly: true
|
|
63285
63300
|
});
|
|
63286
63301
|
const products = import_node_path90.default.join(buildRoot, ".build", WASM_TRIPLE, "release");
|
|
63287
63302
|
const emitted = swiftManifestTargets(
|
|
@@ -63553,7 +63568,7 @@ var init_react_native_core = __esm({
|
|
|
63553
63568
|
init_swift_distribution();
|
|
63554
63569
|
init_swift_package();
|
|
63555
63570
|
init_swiftContract();
|
|
63556
|
-
recipe = true ? "
|
|
63571
|
+
recipe = true ? "87bfef7f0e28d8a323a1069ee1002e9d9344e3b78b1f991164d392cacd10bde5" : reactNativeCoreDigest(__sootsim_import_meta_dirname);
|
|
63557
63572
|
strings3 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
63558
63573
|
building = /* @__PURE__ */ new Map();
|
|
63559
63574
|
}
|
|
@@ -64828,7 +64843,7 @@ var init_nitro_superset = __esm({
|
|
|
64828
64843
|
init_nitroContract();
|
|
64829
64844
|
init_swift_standin_digest();
|
|
64830
64845
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
64831
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
64846
|
+
NITRO_COMPILER_DIGEST = true ? "3850bd0ed6a53b6884a892f2931f95bce16c9ebfde267321be9b146a2e7b88e2" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
64832
64847
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
64833
64848
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
64834
64849
|
published = /* @__PURE__ */ new Map();
|
|
@@ -66067,7 +66082,7 @@ var init_expo_native_compiler_digest = __esm({
|
|
|
66067
66082
|
|
|
66068
66083
|
// src/expo-native-prebuilt.ts
|
|
66069
66084
|
function expoNativeCompilerDigestValue() {
|
|
66070
|
-
return true ? "
|
|
66085
|
+
return true ? "c0a9caa08d93ceace645e91aa241a482f2e38e14d7423cee7a2d4d92a65d1793" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
66071
66086
|
}
|
|
66072
66087
|
function readSources(value) {
|
|
66073
66088
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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.2387 | (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;
|
|
@@ -10046,16 +10046,17 @@ var device = {
|
|
|
10046
10046
|
}
|
|
10047
10047
|
if (!_page || newInstance || opts?.delete || opts?.recordVideoDir) {
|
|
10048
10048
|
await closeContext(!opts?.delete);
|
|
10049
|
+
const viewport = DETOX_PLATFORM === "ios" && process.env.CONFORMANCE_PROOF === "1" ? { width: 601, height: 1101 } : { width: 500, height: 900 };
|
|
10049
10050
|
const contextOpts = {
|
|
10050
10051
|
hasTouch: true,
|
|
10051
|
-
viewport
|
|
10052
|
+
viewport,
|
|
10052
10053
|
storageState: _appStorageState
|
|
10053
10054
|
};
|
|
10054
10055
|
if (opts?.recordVideoDir) {
|
|
10055
10056
|
fs4.mkdirSync(opts.recordVideoDir, { recursive: true });
|
|
10056
10057
|
contextOpts.recordVideo = {
|
|
10057
10058
|
dir: opts.recordVideoDir,
|
|
10058
|
-
size:
|
|
10059
|
+
size: viewport
|
|
10059
10060
|
};
|
|
10060
10061
|
}
|
|
10061
10062
|
const newContextIdentity = ++nextContextIdentity;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2387 | (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;
|