peachsim 0.1.872 → 0.1.875
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/inspect.ts +3 -2
- 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 +2 -1
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cli-constants.cjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/detox/index.cjs +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +2 -1
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +40 -6
- 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 +47 -6
- 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 +2 -1
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/scripts/dev-server-scanner.ts +38 -19
- package/src/swift-host.ts +65 -0
- package/src/swiftDiscoveryContract.ts +32 -0
- package/src/xcode-project.ts +2 -0
package/cli/commands/inspect.ts
CHANGED
|
@@ -2968,8 +2968,9 @@ export async function runInspect(args: string[], opts: InspectOptions) {
|
|
|
2968
2968
|
break
|
|
2969
2969
|
case 'swipe-from-bottom-edge':
|
|
2970
2970
|
fromX = centerX
|
|
2971
|
-
|
|
2972
|
-
|
|
2971
|
+
// start inside the shell's home-indicator region at the screen edge.
|
|
2972
|
+
fromY = height - edgeInset
|
|
2973
|
+
toY = Math.max(topInset, fromY - travelY)
|
|
2973
2974
|
break
|
|
2974
2975
|
// no default — `preset` is validated against GESTURE_PRESETS above.
|
|
2975
2976
|
}
|
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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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;
|
|
@@ -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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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;
|
|
@@ -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.875 | (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.875 | (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.875 | (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) {
|
|
@@ -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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (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.875 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.875 | (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.875 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __defProp = Object.defineProperty;
|
package/dist-lib/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.875 | (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;
|
|
@@ -3578,6 +3578,7 @@ function readXcodeAppTarget(input, targetName) {
|
|
|
3578
3578
|
].map((dir) => import_node_fs4.default.realpathSync(dir))
|
|
3579
3579
|
),
|
|
3580
3580
|
projectFiles: [...new Set(used.map((project) => project.projectFile))].sort(),
|
|
3581
|
+
appIconName: settings("ASSETCATALOG_COMPILER_APPICON_NAME"),
|
|
3581
3582
|
infoPlist: import_plist2.default.build(info),
|
|
3582
3583
|
infoPlistFile,
|
|
3583
3584
|
frameworks,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.875 | (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.875 | (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;
|