peachsim 0.1.871 → 0.1.873
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/swift.ts +39 -12
- 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 +10 -9
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +10 -9
- 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 +48 -14
- 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 +2 -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 +2 -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 +39 -6
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +55 -14
- 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 +10 -9
- 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
- package/scripts/dev-server-scanner.ts +38 -19
- package/src/swift-distribution.lock.json +8 -8
- package/src/swift-host.ts +65 -0
- package/src/swiftDiscoveryContract.ts +32 -0
- package/src/xcode-project.ts +2 -0
package/cli/commands/swift.ts
CHANGED
|
@@ -10,6 +10,12 @@ import {
|
|
|
10
10
|
type SwiftModule,
|
|
11
11
|
} from '../../src/swift-distribution'
|
|
12
12
|
import { SWIFT_HMR_PATH, SWIFT_PACKAGE_PATH } from '../../src/swift-submit'
|
|
13
|
+
import {
|
|
14
|
+
SWIFT_DISCOVERY_PATH,
|
|
15
|
+
SWIFT_GUEST_PATH,
|
|
16
|
+
SWIFT_ICON_PATH,
|
|
17
|
+
type SwiftHostDiscovery,
|
|
18
|
+
} from '../../src/swiftDiscoveryContract'
|
|
13
19
|
import { findXcodeProject } from '../../src/xcode-project'
|
|
14
20
|
import { authHeaderValue, resolveCliAuth } from '../auth'
|
|
15
21
|
import { PeachExit } from '../run-rnx'
|
|
@@ -19,12 +25,18 @@ import type { SwiftEntryModuleArgs } from '../../../sootsim-swift/src/entryModul
|
|
|
19
25
|
|
|
20
26
|
export async function runSwift(
|
|
21
27
|
args: string[],
|
|
22
|
-
opts: {
|
|
28
|
+
opts: {
|
|
29
|
+
port?: number
|
|
30
|
+
device?: string
|
|
31
|
+
driver?: string
|
|
32
|
+
headless?: boolean
|
|
33
|
+
} = {},
|
|
23
34
|
): Promise<number> {
|
|
24
35
|
const input = [...args]
|
|
25
36
|
const openArgs: string[] = []
|
|
26
37
|
let hostPort = 0
|
|
27
38
|
let uploadSource = false
|
|
39
|
+
let openPreview = true
|
|
28
40
|
let target: string | undefined
|
|
29
41
|
const valueFlags = new Set([
|
|
30
42
|
'--device',
|
|
@@ -44,7 +56,8 @@ export async function runSwift(
|
|
|
44
56
|
let packagePath = ''
|
|
45
57
|
for (let index = 0; index < input.length; index++) {
|
|
46
58
|
const arg = input[index]
|
|
47
|
-
if (arg === '--
|
|
59
|
+
if (arg === '--no-open') openPreview = false
|
|
60
|
+
else if (arg === '--upload-source') uploadSource = true
|
|
48
61
|
else if (arg === '--target') {
|
|
49
62
|
target = input[++index]
|
|
50
63
|
if (!target || target.startsWith('-')) throw new Error('--target requires a value')
|
|
@@ -119,6 +132,7 @@ export async function runSwift(
|
|
|
119
132
|
// collection preflights every input path before any source bytes are read.
|
|
120
133
|
host.swiftPackageWatchFiles(packagePath, undefined)
|
|
121
134
|
const packageName = path.basename(packagePath)
|
|
135
|
+
const appInfo = host.swiftProjectAppInfo(packagePath)
|
|
122
136
|
const guest = swiftGuestBundle(packageName)
|
|
123
137
|
const controller = new AbortController()
|
|
124
138
|
const resources: OpenCommandResources = {}
|
|
@@ -186,7 +200,19 @@ export async function runSwift(
|
|
|
186
200
|
return
|
|
187
201
|
}
|
|
188
202
|
const pathname = new URL(req.url ?? '/', origin).pathname
|
|
189
|
-
if (pathname ===
|
|
203
|
+
if (pathname === SWIFT_DISCOVERY_PATH) {
|
|
204
|
+
const discovery: SwiftHostDiscovery = {
|
|
205
|
+
framework: 'swift',
|
|
206
|
+
projectName: appInfo.name,
|
|
207
|
+
status: building ? 'compiling' : compileError ? 'error' : 'ready',
|
|
208
|
+
...(appInfo.icon ? { iconPath: SWIFT_ICON_PATH } : {}),
|
|
209
|
+
}
|
|
210
|
+
res.setHeader('content-type', 'application/json')
|
|
211
|
+
res.end(JSON.stringify(discovery))
|
|
212
|
+
} else if (pathname === SWIFT_ICON_PATH && appInfo.icon) {
|
|
213
|
+
res.setHeader('content-type', appInfo.icon.contentType)
|
|
214
|
+
res.end(appInfo.icon.bytes)
|
|
215
|
+
} else if (pathname === SWIFT_GUEST_PATH) {
|
|
190
216
|
res.setHeader('content-type', 'application/javascript')
|
|
191
217
|
res.end(guest)
|
|
192
218
|
} else if (pathname === `${SWIFT_PACKAGE_PATH}${encodeURIComponent(packageName)}`) {
|
|
@@ -281,15 +307,16 @@ export async function runSwift(
|
|
|
281
307
|
if (opts.device) openArgs.push('--device', opts.device)
|
|
282
308
|
if (opts.driver) openArgs.push('--driver', opts.driver)
|
|
283
309
|
if (opts.headless) openArgs.push('--headless')
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
310
|
+
if (openPreview)
|
|
311
|
+
await runOpenCommand(
|
|
312
|
+
[`${origin}${SWIFT_GUEST_PATH}`, '--new', '--no-hmr', ...openArgs],
|
|
313
|
+
{
|
|
314
|
+
port: opts.port,
|
|
315
|
+
resources,
|
|
316
|
+
signal: controller.signal,
|
|
317
|
+
ownerPid: process.pid,
|
|
318
|
+
},
|
|
319
|
+
)
|
|
293
320
|
await new Promise<void>((resolve) => {
|
|
294
321
|
if (controller.signal.aborted) resolve()
|
|
295
322
|
else controller.signal.addEventListener('abort', () => resolve(), { once: true })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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;
|
|
@@ -2369,24 +2369,24 @@ var swift_distribution_lock_default;
|
|
|
2369
2369
|
var init_swift_distribution_lock = __esm({
|
|
2370
2370
|
"src/swift-distribution.lock.json"() {
|
|
2371
2371
|
swift_distribution_lock_default = {
|
|
2372
|
-
id: "
|
|
2372
|
+
id: "cf49b84963eae4ec",
|
|
2373
2373
|
release: "swift-6.3-RELEASE",
|
|
2374
2374
|
wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-edd95e37",
|
|
2375
2375
|
wasmSdkUrl: "https://r2.rnxsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-edd95e37.artifactbundle.tar.gz",
|
|
2376
2376
|
wasmSdkChecksum: "e8b76a6b78c21e9e16a6943a691ea001aeb0a18518d775a26130520303eb5c6d",
|
|
2377
|
-
source: "
|
|
2377
|
+
source: "7b29f31b65a02aea2d28fd0518e0118f2337f2b7",
|
|
2378
2378
|
hosts: {
|
|
2379
2379
|
"darwin-arm64": {
|
|
2380
|
-
sha256: "
|
|
2381
|
-
size:
|
|
2380
|
+
sha256: "c120569e34e16edb81fe0fabe92a9d7c4c5f64b06363726b466f996cdb05588b",
|
|
2381
|
+
size: 43318901
|
|
2382
2382
|
},
|
|
2383
2383
|
"linux-x64": {
|
|
2384
|
-
sha256: "
|
|
2385
|
-
size:
|
|
2384
|
+
sha256: "d8a65a3f77d7302ed3547f525c4274a6c7aa2bdccdf9a41f4864ad305d0ae643",
|
|
2385
|
+
size: 43324299
|
|
2386
2386
|
},
|
|
2387
2387
|
"linux-arm64": {
|
|
2388
|
-
sha256: "
|
|
2389
|
-
size:
|
|
2388
|
+
sha256: "d47964d033ac59af2417939703335148993ea2d3e931a7db048a8080780c5de6",
|
|
2389
|
+
size: 43323284
|
|
2390
2390
|
}
|
|
2391
2391
|
}
|
|
2392
2392
|
};
|
|
@@ -7760,6 +7760,7 @@ function readXcodeAppTarget(input, targetName) {
|
|
|
7760
7760
|
].map((dir) => import_node_fs13.default.realpathSync(dir))
|
|
7761
7761
|
),
|
|
7762
7762
|
projectFiles: [...new Set(used.map((project) => project.projectFile))].sort(),
|
|
7763
|
+
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
7763
7764
|
infoPlist: import_plist.default.build(info),
|
|
7764
7765
|
infoPlistFile,
|
|
7765
7766
|
frameworks,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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;
|
|
@@ -3662,24 +3662,24 @@ var DAEMON_LOCKFILE_MAX_BYTES = 16 * 1024;
|
|
|
3662
3662
|
|
|
3663
3663
|
// src/swift-distribution.lock.json
|
|
3664
3664
|
var swift_distribution_lock_default = {
|
|
3665
|
-
id: "
|
|
3665
|
+
id: "cf49b84963eae4ec",
|
|
3666
3666
|
release: "swift-6.3-RELEASE",
|
|
3667
3667
|
wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-edd95e37",
|
|
3668
3668
|
wasmSdkUrl: "https://r2.rnxsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-edd95e37.artifactbundle.tar.gz",
|
|
3669
3669
|
wasmSdkChecksum: "e8b76a6b78c21e9e16a6943a691ea001aeb0a18518d775a26130520303eb5c6d",
|
|
3670
|
-
source: "
|
|
3670
|
+
source: "7b29f31b65a02aea2d28fd0518e0118f2337f2b7",
|
|
3671
3671
|
hosts: {
|
|
3672
3672
|
"darwin-arm64": {
|
|
3673
|
-
sha256: "
|
|
3674
|
-
size:
|
|
3673
|
+
sha256: "c120569e34e16edb81fe0fabe92a9d7c4c5f64b06363726b466f996cdb05588b",
|
|
3674
|
+
size: 43318901
|
|
3675
3675
|
},
|
|
3676
3676
|
"linux-x64": {
|
|
3677
|
-
sha256: "
|
|
3678
|
-
size:
|
|
3677
|
+
sha256: "d8a65a3f77d7302ed3547f525c4274a6c7aa2bdccdf9a41f4864ad305d0ae643",
|
|
3678
|
+
size: 43324299
|
|
3679
3679
|
},
|
|
3680
3680
|
"linux-arm64": {
|
|
3681
|
-
sha256: "
|
|
3682
|
-
size:
|
|
3681
|
+
sha256: "d47964d033ac59af2417939703335148993ea2d3e931a7db048a8080780c5de6",
|
|
3682
|
+
size: 43323284
|
|
3683
3683
|
}
|
|
3684
3684
|
}
|
|
3685
3685
|
};
|
|
@@ -7617,6 +7617,7 @@ function readXcodeAppTarget(input, targetName) {
|
|
|
7617
7617
|
].map((dir) => import_node_fs13.default.realpathSync(dir))
|
|
7618
7618
|
),
|
|
7619
7619
|
projectFiles: [...new Set(used.map((project) => project.projectFile))].sort(),
|
|
7620
|
+
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
7620
7621
|
infoPlist: import_plist.default.build(info),
|
|
7621
7622
|
infoPlistFile,
|
|
7622
7623
|
frameworks,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.873 | (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.873 | (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.873 | (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;
|
|
@@ -9704,6 +9704,22 @@ async function readAppSettingsBundle(projectRoot) {
|
|
|
9704
9704
|
return normalized;
|
|
9705
9705
|
}
|
|
9706
9706
|
|
|
9707
|
+
// src/swiftDiscoveryContract.ts
|
|
9708
|
+
var SWIFT_DISCOVERY_PATH = "/__peach/swift-host";
|
|
9709
|
+
var SWIFT_GUEST_PATH = "/__peach/swift-guest.js";
|
|
9710
|
+
var SWIFT_ICON_PATH = "/__peach/swift-icon";
|
|
9711
|
+
function parseSwiftHostDiscovery(value) {
|
|
9712
|
+
if (!value || typeof value !== "object") return null;
|
|
9713
|
+
if (!("framework" in value) || value.framework !== "swift" || !("projectName" in value) || typeof value.projectName !== "string" || !("status" in value) || value.status !== "compiling" && value.status !== "ready" && value.status !== "error")
|
|
9714
|
+
return null;
|
|
9715
|
+
return {
|
|
9716
|
+
framework: value.framework,
|
|
9717
|
+
projectName: value.projectName,
|
|
9718
|
+
status: value.status,
|
|
9719
|
+
..."iconPath" in value && value.iconPath === SWIFT_ICON_PATH ? { iconPath: SWIFT_ICON_PATH } : {}
|
|
9720
|
+
};
|
|
9721
|
+
}
|
|
9722
|
+
|
|
9707
9723
|
// scripts/dev-server-scanner.ts
|
|
9708
9724
|
init_optional_demo_registry();
|
|
9709
9725
|
function execGuarded(command, timeout, extra = {}) {
|
|
@@ -9878,7 +9894,7 @@ async function listListeners() {
|
|
|
9878
9894
|
let timedOut = false;
|
|
9879
9895
|
try {
|
|
9880
9896
|
const { stdout } = await execGuarded(
|
|
9881
|
-
`lsof -a -c node -c bun -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep -E '^(node|bun)'`,
|
|
9897
|
+
`lsof -a -c node -c bun -c peach -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep -E '^(node|bun|peach)'`,
|
|
9882
9898
|
LISTING_TIMEOUT_MS
|
|
9883
9899
|
);
|
|
9884
9900
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -9900,7 +9916,7 @@ async function listListeners() {
|
|
|
9900
9916
|
}
|
|
9901
9917
|
try {
|
|
9902
9918
|
const { stdout } = await execGuarded(
|
|
9903
|
-
`ss -tlnp 2>/dev/null | grep -E '"(node|bun)"'`,
|
|
9919
|
+
`ss -tlnp 2>/dev/null | grep -E '"(node|bun|peach)"'`,
|
|
9904
9920
|
LISTING_TIMEOUT_MS
|
|
9905
9921
|
);
|
|
9906
9922
|
const seen = /* @__PURE__ */ new Map();
|
|
@@ -10189,14 +10205,30 @@ async function probePort(port, buildIconProxyUrl, listeningProcess) {
|
|
|
10189
10205
|
...ownerCwd ? { cwd: ownerCwd } : {}
|
|
10190
10206
|
};
|
|
10191
10207
|
const onePath = `/node_modules/one/metro-entry.bundle?platform=ios&dev=true`;
|
|
10192
|
-
const [sootsimRes, statusRes, manifestRes, expoRes] = await Promise.all([
|
|
10208
|
+
const [sootsimRes, statusRes, manifestRes, expoRes, swiftRes] = await Promise.all([
|
|
10193
10209
|
knownNonPatched.has(port) ? Promise.resolve(null) : httpGet(probeHostname, port, "/__soot/"),
|
|
10194
10210
|
httpGet(probeHostname, port, "/status"),
|
|
10195
10211
|
knownOne.has(port) ? Promise.resolve(null) : httpGet(probeHostname, port, "/", "GET", MANIFEST_TIMEOUT_MS, {
|
|
10196
10212
|
"expo-platform": "ios"
|
|
10197
10213
|
}),
|
|
10198
|
-
knownNonExpo.has(port) ? Promise.resolve(null) : httpGet(probeHostname, port, "/_expo/status")
|
|
10214
|
+
knownNonExpo.has(port) ? Promise.resolve(null) : httpGet(probeHostname, port, "/_expo/status"),
|
|
10215
|
+
httpGet(probeHostname, port, SWIFT_DISCOVERY_PATH)
|
|
10199
10216
|
]);
|
|
10217
|
+
const swift = swiftRes?.statusCode === 200 ? parseSwiftHostDiscovery(safeParseManifest(swiftRes.body)) : null;
|
|
10218
|
+
if (swift) {
|
|
10219
|
+
const base = buildLoopbackProbeBaseUrl("http:", probeHostname, port);
|
|
10220
|
+
const iconUrl = swift.iconPath ? `${base}${swift.iconPath}` : void 0;
|
|
10221
|
+
return {
|
|
10222
|
+
port,
|
|
10223
|
+
framework: "swift",
|
|
10224
|
+
projectName: swift.projectName,
|
|
10225
|
+
status: swift.status,
|
|
10226
|
+
bundleUrl: `${base}${SWIFT_GUEST_PATH}`,
|
|
10227
|
+
iconUrl: iconUrl && buildIconProxyUrl ? buildIconProxyUrl(iconUrl) : iconUrl,
|
|
10228
|
+
lastSeen: Date.now(),
|
|
10229
|
+
...owner
|
|
10230
|
+
};
|
|
10231
|
+
}
|
|
10200
10232
|
if (expoRes && expoRes.statusCode === 200) {
|
|
10201
10233
|
knownNonExpo.delete(port);
|
|
10202
10234
|
} else if (!knownNonExpo.has(port)) {
|
|
@@ -10312,7 +10344,8 @@ var NEGATIVE_CACHE_TTL_MS = 3e4;
|
|
|
10312
10344
|
var WEAK_RESULT_CACHE_TTL_MS = 1500;
|
|
10313
10345
|
function isWeakCachedResult(result) {
|
|
10314
10346
|
if (!result) return true;
|
|
10315
|
-
if (result.framework === "metro" || result.framework === "unknown"
|
|
10347
|
+
if (result.framework === "metro" || result.framework === "unknown" || result.framework === "swift")
|
|
10348
|
+
return true;
|
|
10316
10349
|
return false;
|
|
10317
10350
|
}
|
|
10318
10351
|
function hasCurrentRuntimeConfig(result) {
|
|
@@ -13044,24 +13077,24 @@ init_home_paths();
|
|
|
13044
13077
|
|
|
13045
13078
|
// src/swift-distribution.lock.json
|
|
13046
13079
|
var swift_distribution_lock_default = {
|
|
13047
|
-
id: "
|
|
13080
|
+
id: "cf49b84963eae4ec",
|
|
13048
13081
|
release: "swift-6.3-RELEASE",
|
|
13049
13082
|
wasmSdkId: "swift-6.3-RELEASE_wasm-peach-41921598-peach-edd95e37",
|
|
13050
13083
|
wasmSdkUrl: "https://r2.rnxsim.com/swift-wasm-sdk/swift-6.3-RELEASE_wasm-peach-41921598-peach-edd95e37.artifactbundle.tar.gz",
|
|
13051
13084
|
wasmSdkChecksum: "e8b76a6b78c21e9e16a6943a691ea001aeb0a18518d775a26130520303eb5c6d",
|
|
13052
|
-
source: "
|
|
13085
|
+
source: "7b29f31b65a02aea2d28fd0518e0118f2337f2b7",
|
|
13053
13086
|
hosts: {
|
|
13054
13087
|
"darwin-arm64": {
|
|
13055
|
-
sha256: "
|
|
13056
|
-
size:
|
|
13088
|
+
sha256: "c120569e34e16edb81fe0fabe92a9d7c4c5f64b06363726b466f996cdb05588b",
|
|
13089
|
+
size: 43318901
|
|
13057
13090
|
},
|
|
13058
13091
|
"linux-x64": {
|
|
13059
|
-
sha256: "
|
|
13060
|
-
size:
|
|
13092
|
+
sha256: "d8a65a3f77d7302ed3547f525c4274a6c7aa2bdccdf9a41f4864ad305d0ae643",
|
|
13093
|
+
size: 43324299
|
|
13061
13094
|
},
|
|
13062
13095
|
"linux-arm64": {
|
|
13063
|
-
sha256: "
|
|
13064
|
-
size:
|
|
13096
|
+
sha256: "d47964d033ac59af2417939703335148993ea2d3e931a7db048a8080780c5de6",
|
|
13097
|
+
size: 43323284
|
|
13065
13098
|
}
|
|
13066
13099
|
}
|
|
13067
13100
|
};
|
|
@@ -16806,6 +16839,7 @@ function readXcodeAppTarget(input, targetName) {
|
|
|
16806
16839
|
].map((dir) => import_node_fs18.default.realpathSync(dir))
|
|
16807
16840
|
),
|
|
16808
16841
|
projectFiles: [...new Set(used.map((project) => project.projectFile))].sort(),
|
|
16842
|
+
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
16809
16843
|
infoPlist: import_plist3.default.build(info),
|
|
16810
16844
|
infoPlistFile,
|
|
16811
16845
|
frameworks,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.873 | (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.873 | (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.873 | (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.873 | (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.873 | (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;
|
|
@@ -10237,6 +10237,7 @@ function readXcodeAppTarget(input, targetName) {
|
|
|
10237
10237
|
].map((dir) => import_node_fs9.default.realpathSync(dir))
|
|
10238
10238
|
),
|
|
10239
10239
|
projectFiles: [...new Set(used.map((project) => project.projectFile))].sort(),
|
|
10240
|
+
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
10240
10241
|
infoPlist: import_plist2.default.build(info),
|
|
10241
10242
|
infoPlistFile,
|
|
10242
10243
|
frameworks,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.873 | (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.873 | (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.873 | (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.873 | (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