peachsim 0.1.728 → 0.1.729

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.
Files changed (74) hide show
  1. package/cli/commands/preview.ts +236 -8
  2. package/cli/commands/skills.ts +41 -3
  3. package/cli/outbound-endpoints.ts +6 -0
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/agent-identity.cjs +1 -1
  7. package/dist-lib/agent-sessions.cjs +1 -1
  8. package/dist-lib/attached-projects.cjs +1 -1
  9. package/dist-lib/auth/shared-session.cjs +1 -1
  10. package/dist-lib/backend-origin.cjs +1 -1
  11. package/dist-lib/beta.cjs +1 -1
  12. package/dist-lib/beta.mjs +1 -1
  13. package/dist-lib/bridge-constants.cjs +1 -1
  14. package/dist-lib/bridge-contract-input.cjs +1 -1
  15. package/dist-lib/bridge-contract-input.mjs +1 -1
  16. package/dist-lib/bridge-contract.cjs +1 -1
  17. package/dist-lib/bridge-contract.mjs +1 -1
  18. package/dist-lib/capture-contract.cjs +1 -1
  19. package/dist-lib/capture-contract.mjs +1 -1
  20. package/dist-lib/cli-constants.cjs +1 -1
  21. package/dist-lib/cloud-contract.cjs +1 -1
  22. package/dist-lib/cloud-contract.mjs +1 -1
  23. package/dist-lib/cloud-test-args.cjs +1 -1
  24. package/dist-lib/cloud-test-args.mjs +1 -1
  25. package/dist-lib/cloud.cjs +1 -1
  26. package/dist-lib/cloud.mjs +1 -1
  27. package/dist-lib/config.cjs +1 -1
  28. package/dist-lib/detox/index.cjs +1 -1
  29. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  30. package/dist-lib/home-paths.cjs +1 -1
  31. package/dist-lib/host/bridge-host.cjs +2 -1
  32. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  34. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  35. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  36. package/dist-lib/host/websocket-proxy.cjs +1 -1
  37. package/dist-lib/index.cjs +1 -1
  38. package/dist-lib/jump-to-source-babel.cjs +1 -1
  39. package/dist-lib/jump-to-source-native.cjs +1 -1
  40. package/dist-lib/kotlin-host.cjs +1 -1
  41. package/dist-lib/menu.cjs +1 -1
  42. package/dist-lib/menu.mjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  45. package/dist-lib/metro-production-bundle.cjs +1 -1
  46. package/dist-lib/metro-production-bundle.mjs +1 -1
  47. package/dist-lib/metro.cjs +1 -1
  48. package/dist-lib/native-app-identity.cjs +1 -1
  49. package/dist-lib/native-app-identity.mjs +1 -1
  50. package/dist-lib/native-firebase-metadata.cjs +1 -1
  51. package/dist-lib/native-firebase-metadata.mjs +1 -1
  52. package/dist-lib/plist.cjs +1 -1
  53. package/dist-lib/plist.mjs +1 -1
  54. package/dist-lib/profiles.cjs +1 -1
  55. package/dist-lib/public-brand.cjs +1 -1
  56. package/dist-lib/react-native-host-modules.cjs +1 -1
  57. package/dist-lib/react-native-host-modules.mjs +1 -1
  58. package/dist-lib/render-mode.cjs +1 -1
  59. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  60. package/dist-lib/sdk.cjs +1 -1
  61. package/dist-lib/sdk.mjs +1 -1
  62. package/dist-lib/skills.cjs +88 -62
  63. package/dist-lib/swift-compile.cjs +2 -1
  64. package/dist-lib/swift-compile.mjs +2 -1
  65. package/dist-lib/swift-package.cjs +1 -1
  66. package/dist-lib/swift-package.mjs +1 -1
  67. package/dist-lib/swift-submit.cjs +1 -1
  68. package/dist-lib/swift-submit.mjs +1 -1
  69. package/dist-lib/swift-toolchain.cjs +1 -1
  70. package/dist-lib/swift.cjs +1 -1
  71. package/dist-lib/vite-swift.cjs +2 -1
  72. package/dist-lib/vite.cjs +1 -1
  73. package/package.json +1 -1
  74. package/src/swift-compile.ts +1 -0
@@ -1,12 +1,27 @@
1
+ import { spawn, type ChildProcess } from 'node:child_process'
1
2
  import { createHash } from 'node:crypto'
3
+ import { closeSync, mkdtempSync, openSync, readFileSync, rmSync, statSync } from 'node:fs'
4
+ import { createRequire } from 'node:module'
5
+ import { createServer } from 'node:net'
6
+ import { tmpdir } from 'node:os'
7
+ import { dirname, join, resolve } from 'node:path'
2
8
  import { brotliBundle } from 'peach-engine/preview/compress-node'
3
9
  import {
4
10
  runPresignedUpload,
5
11
  type InitRequestBody,
6
12
  } from 'peach-engine/preview/presigned-upload'
13
+ import { warmNativeBundle } from '../../../contrast-runner/src/bundleWarm'
14
+ import {
15
+ readPreviewBuildReceipt,
16
+ type PreviewBuildReceipt,
17
+ } from '../../../contrast-runner/src/previewBuildContract'
18
+ import { terminateProcessGroup } from '../../../contrast/src/runtime/process-group'
19
+ import { isRecord } from '../../src/is-record'
7
20
  import { authHeaderValue, cloudAccountIdOrExit, resolveCliAuth } from '../auth'
8
21
  import { producePreviewArtifact } from '../cloud-client'
22
+ import { publishLiveDevStack, type PublishedLiveDevStack } from '../cloud-test-tunnel'
9
23
  import { openUrl } from '../open-url'
24
+ import { detectProject } from './detect'
10
25
  import { resolveDefaultUploadOrigin, resolvePublicPreviewOrigin } from './upload'
11
26
 
12
27
  function takeValue(args: string[], flag: string): string | null {
@@ -21,10 +36,10 @@ function takeValue(args: string[], flag: string): string | null {
21
36
  export async function runPreview(args: string[]): Promise<number> {
22
37
  if (args.includes('--help') || args.includes('-h')) {
23
38
  console.log(`
24
- peach preview — publish a prebuilt React Native bundle as a standalone share
39
+ peach preview: publish a React Native project or bundle as a standalone share
25
40
 
26
41
  usage:
27
- peach preview <bundle.js|https://bundle-url> [--platform ios|android] [--open]
42
+ peach preview <project-or-bundle> [--platform ios|android] [--open] [--json]
28
43
 
29
44
  The share contains the immutable build and its automatically discovered Metro assets. It is not a recorded replay.
30
45
  `)
@@ -40,6 +55,9 @@ The share contains the immutable build and its automatically discovered Metro as
40
55
  takeValue(input, '--public-origin') ?? undefined,
41
56
  )
42
57
  const platform = takeValue(input, '--platform') ?? 'ios'
58
+ const jsonIndex = input.indexOf('--json')
59
+ const json = jsonIndex >= 0
60
+ if (json) input.splice(jsonIndex, 1)
43
61
  const openIndex = input.indexOf('--open')
44
62
  const open = openIndex >= 0
45
63
  if (open) input.splice(openIndex, 1)
@@ -47,13 +65,32 @@ The share contains the immutable build and its automatically discovered Metro as
47
65
  throw new Error('--platform must be ios or android')
48
66
  }
49
67
  if (input.length !== 1 || input[0]?.startsWith('-')) {
50
- throw new Error('usage: peach preview <bundle.js|https://bundle-url>')
68
+ throw new Error('usage: peach preview <project-or-bundle>')
51
69
  }
52
70
  const auth = resolveCliAuth()
53
71
  if (!auth) throw new Error('peach preview needs `peach login` or PEACH_API_KEY')
54
72
  const accountId = cloudAccountIdOrExit(auth)
55
73
 
56
- const artifact = await producePreviewArtifact(input[0])
74
+ const target = input[0]
75
+ const projectPath = resolve(target)
76
+ if (!/^https?:/.test(target) && statSync(projectPath).isDirectory()) {
77
+ const receipt = await publishProjectPreview(
78
+ projectPath,
79
+ platform,
80
+ origin,
81
+ authHeaderValue(auth),
82
+ accountId,
83
+ )
84
+ if (json) console.log(JSON.stringify(receipt))
85
+ else {
86
+ console.log(` preview: ${receipt.previewUrl}`)
87
+ console.log(` job: ${receipt.jobId}`)
88
+ console.log(` artifact: ${JSON.stringify(receipt.artifact)}`)
89
+ }
90
+ if (open) await openUrl(receipt.previewUrl)
91
+ return 0
92
+ }
93
+ const artifact = await producePreviewArtifact(target)
57
94
  const bundle = brotliBundle(artifact.bytes)
58
95
  const initBody: InitRequestBody = {
59
96
  kind: 'build',
@@ -87,10 +124,21 @@ The share contains the immutable build and its automatically discovered Metro as
87
124
  const url = finalize.url.startsWith('http')
88
125
  ? finalize.url
89
126
  : `${publicOrigin}${finalize.url}`
90
- console.log(` preview: ${url}`)
91
- console.log(
92
- ` artifact: sha256:${artifact.sha256} (${artifact.bytes.byteLength} bytes)`,
93
- )
127
+ if (json)
128
+ console.log(
129
+ JSON.stringify({
130
+ previewId: finalize.id,
131
+ previewUrl: url,
132
+ platform,
133
+ artifact: artifact.receipt,
134
+ }),
135
+ )
136
+ else {
137
+ console.log(` preview: ${url}`)
138
+ console.log(
139
+ ` artifact: sha256:${artifact.sha256} (${artifact.bytes.byteLength} bytes)`,
140
+ )
141
+ }
94
142
  for (const warning of artifact.warnings) console.warn(` warning: ${warning}`)
95
143
  if (open) await openUrl(url)
96
144
  return 0
@@ -101,3 +149,183 @@ The share contains the immutable build and its automatically discovered Metro as
101
149
  return 1
102
150
  }
103
151
  }
152
+
153
+ async function publishProjectPreview(
154
+ projectPath: string,
155
+ platform: 'ios' | 'android',
156
+ origin: string,
157
+ authorization: string,
158
+ accountId: string | null,
159
+ ): Promise<{
160
+ jobId: string
161
+ previewUrl: string
162
+ artifact: PreviewBuildReceipt['artifact']
163
+ result: PreviewBuildReceipt
164
+ }> {
165
+ const project = detectProject(projectPath)
166
+ if (!project || project.framework !== 'expo') {
167
+ throw new Error(
168
+ 'project input requires an Expo project; provide a Metro bundle for other frameworks',
169
+ )
170
+ }
171
+ const requestHeaders = {
172
+ authorization,
173
+ 'content-type': 'application/json',
174
+ ...(accountId ? { 'x-rnx-account-id': accountId } : {}),
175
+ }
176
+ const endpoint = `${origin}/api/sootsim/runner/jobs`
177
+ const preflight = await fetch(endpoint, {
178
+ method: 'POST',
179
+ headers: requestHeaders,
180
+ body: JSON.stringify({ kind: 'build', preflight: true }),
181
+ signal: AbortSignal.timeout(30_000),
182
+ })
183
+ if (!preflight.ok)
184
+ throw new Error(
185
+ `hosted build preflight ${preflight.status}: ${await preflight.text()}`,
186
+ )
187
+ const expoRoot = dirname(
188
+ createRequire(join(projectPath, 'package.json')).resolve('expo/package.json'),
189
+ )
190
+ const workDir = mkdtempSync(join(tmpdir(), 'peach-preview-'))
191
+ let packager: ChildProcess | null = null
192
+ let tunnel: PublishedLiveDevStack | null = null
193
+ let jobId: string | null = null
194
+ let completed = false
195
+ const interrupt = new AbortController()
196
+ const onSignal = () => interrupt.abort(new Error('preview interrupted'))
197
+ process.on('SIGINT', onSignal)
198
+ process.on('SIGTERM', onSignal)
199
+ try {
200
+ const port = await new Promise<number>((resolvePort, reject) => {
201
+ const probe = createServer()
202
+ probe.once('error', reject)
203
+ probe.listen(0, '127.0.0.1', () => {
204
+ const address = probe.address()
205
+ const port = address && typeof address === 'object' ? address.port : 0
206
+ probe.close(() => resolvePort(port))
207
+ })
208
+ })
209
+ if (!port) throw new Error('could not allocate an Expo packager port')
210
+ const logPath = join(workDir, 'expo.log')
211
+ const logFd = openSync(logPath, 'w')
212
+ packager = spawn(
213
+ 'node',
214
+ [join(expoRoot, 'bin/cli'), 'start', '--localhost', '--port', String(port)],
215
+ {
216
+ cwd: projectPath,
217
+ detached: true,
218
+ stdio: ['ignore', logFd, logFd],
219
+ env: { ...process.env, CI: '1', EXPO_NO_TELEMETRY: '1' },
220
+ },
221
+ )
222
+ closeSync(logFd)
223
+ packager.on('error', (error) => interrupt.abort(error))
224
+ packager.on('exit', (code) =>
225
+ interrupt.abort(
226
+ new Error(
227
+ `Expo packager exited ${code}: ${readFileSync(logPath, 'utf8').slice(-2000)}`,
228
+ ),
229
+ ),
230
+ )
231
+ const warm = await warmNativeBundle(workDir, {
232
+ devPort: String(port),
233
+ platform,
234
+ devMode: true,
235
+ maxMs: 600_000,
236
+ signal: interrupt.signal,
237
+ })
238
+ interrupt.signal.throwIfAborted()
239
+ if (!warm.ok)
240
+ throw new Error(
241
+ `Expo bundle preparation failed: ${readFileSync(logPath, 'utf8').slice(-2000)}`,
242
+ )
243
+ tunnel = await publishLiveDevStack({ devPort: port, sidecarPorts: [] })
244
+ interrupt.signal.throwIfAborted()
245
+ const submission = await fetch(endpoint, {
246
+ method: 'POST',
247
+ headers: requestHeaders,
248
+ body: JSON.stringify({
249
+ kind: 'build',
250
+ platform,
251
+ targetUrl: tunnel.targetUrl,
252
+ hostHeader: tunnel.hostHeader,
253
+ jobToken: tunnel.jobToken,
254
+ }),
255
+ signal: AbortSignal.timeout(30_000),
256
+ })
257
+ if (!submission.ok)
258
+ throw new Error(
259
+ `hosted build submission ${submission.status}: ${await submission.text()}`,
260
+ )
261
+ const submitted: unknown = await submission.json()
262
+ if (!isRecord(submitted) || typeof submitted.id !== 'string' || !submitted.id) {
263
+ throw new Error('hosted build returned no job id')
264
+ }
265
+ const acceptedJobId = submitted.id
266
+ jobId = acceptedJobId
267
+ const deadline = Date.now() + 45 * 60_000
268
+ while (Date.now() < deadline) {
269
+ interrupt.signal.throwIfAborted()
270
+ const response = await fetch(
271
+ `${endpoint}?id=${encodeURIComponent(acceptedJobId)}`,
272
+ {
273
+ headers: requestHeaders,
274
+ signal: AbortSignal.any([interrupt.signal, AbortSignal.timeout(30_000)]),
275
+ },
276
+ )
277
+ if (!response.ok)
278
+ throw new Error(
279
+ `hosted build status ${response.status}: ${await response.text()}`,
280
+ )
281
+ const state: unknown = await response.json()
282
+ if (!isRecord(state)) throw new Error('invalid hosted build status')
283
+ const status = state.status
284
+ const result: unknown = state.result
285
+ if (status === 'done') {
286
+ const receipt = readPreviewBuildReceipt(result)
287
+ completed = true
288
+ return {
289
+ jobId: acceptedJobId,
290
+ previewUrl: receipt.previewUrl,
291
+ artifact: receipt.artifact,
292
+ result: receipt,
293
+ }
294
+ }
295
+ if (status === 'failed' || status === 'expired' || status === 'cancelled') {
296
+ completed = true
297
+ throw new Error(`hosted build ${status}: ${JSON.stringify(result)}`)
298
+ }
299
+ await new Promise<void>((resolveWait, reject) => {
300
+ const aborted = () => {
301
+ clearTimeout(timer)
302
+ reject(new Error('preview interrupted', { cause: interrupt.signal.reason }))
303
+ }
304
+ const timer = setTimeout(() => {
305
+ interrupt.signal.removeEventListener('abort', aborted)
306
+ resolveWait()
307
+ }, 5000)
308
+ interrupt.signal.addEventListener('abort', aborted, { once: true })
309
+ })
310
+ }
311
+ throw new Error('hosted build did not finish within 45 minutes')
312
+ } finally {
313
+ try {
314
+ if (jobId && !completed) {
315
+ const cancel = await fetch(`${endpoint}?id=${encodeURIComponent(jobId)}`, {
316
+ method: 'DELETE',
317
+ headers: requestHeaders,
318
+ signal: AbortSignal.timeout(30_000),
319
+ })
320
+ if (!cancel.ok)
321
+ console.error(`could not cancel hosted build ${jobId}: HTTP ${cancel.status}`)
322
+ }
323
+ } finally {
324
+ tunnel?.close()
325
+ if (packager) await terminateProcessGroup(packager)
326
+ process.off('SIGINT', onSignal)
327
+ process.off('SIGTERM', onSignal)
328
+ rmSync(workDir, { recursive: true, force: true })
329
+ }
330
+ }
331
+ }
@@ -5,6 +5,7 @@
5
5
  // peach skill install codex debug install specific skills to Codex only
6
6
  // peach skill show [name] list skills or print one skill
7
7
 
8
+ import { execFileSync } from 'child_process'
8
9
  import * as fs from 'fs'
9
10
  import * as os from 'os'
10
11
  import * as path from 'path'
@@ -33,13 +34,41 @@ function getSkillsDir(): string {
33
34
  const pkgPath = fileURLToPath(
34
35
  import.meta.resolve(`${rnxPublicBrand.packageName}/package.json`),
35
36
  )
36
- return path.join(path.dirname(pkgPath), 'skills')
37
+ return primaryCheckoutPath(path.join(path.dirname(pkgPath), 'skills'))
37
38
  } catch {
38
39
  const __dirname = path.dirname(fileURLToPath(import.meta.url))
39
- return path.resolve(__dirname, '../../skills')
40
+ return primaryCheckoutPath(path.resolve(__dirname, '../../skills'))
40
41
  }
41
42
  }
42
43
 
44
+ // an install run from a linked worktree links into the primary checkout, since
45
+ // links into the worktree dangle once it is removed and then every agent
46
+ // loses the skill.
47
+ function primaryCheckoutPath(dir: string): string {
48
+ let top: string
49
+ let common: string
50
+ try {
51
+ const out = execFileSync(
52
+ 'git',
53
+ [
54
+ '-C',
55
+ dir,
56
+ 'rev-parse',
57
+ '--path-format=absolute',
58
+ '--show-toplevel',
59
+ '--git-common-dir',
60
+ ],
61
+ { encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore'] },
62
+ )
63
+ ;[top, common] = out.trim().split('\n') as [string, string]
64
+ } catch {
65
+ return dir
66
+ }
67
+ if (path.basename(common) !== '.git') return dir
68
+ const primary = path.join(path.dirname(common), path.relative(top, dir))
69
+ return fs.existsSync(primary) ? primary : dir
70
+ }
71
+
43
72
  // resolved on first use: the standalone binary writes its skills when the
44
73
  // directory is resolved, and importing this module must never touch disk.
45
74
  let skillsDirPath: string | undefined
@@ -260,7 +289,16 @@ function symlinkPointsTo(dest: string, src: string): boolean {
260
289
  // holding a byte-identical copy of the skill. only our installer creates
261
290
  // those shapes, so replacing them can't lose user work.
262
291
  function isOwnLegacyInstall(stat: fs.Stats, dest: string, srcDir: string): boolean {
263
- if (stat.isSymbolicLink() || !stat.isDirectory()) return false
292
+ // a dangling link into a removed checkout's skills dir is our own install too
293
+ if (stat.isSymbolicLink()) {
294
+ return (
295
+ !fs.existsSync(dest) &&
296
+ fs
297
+ .readlinkSync(dest)
298
+ .endsWith(`${path.sep}skills${path.sep}${path.basename(srcDir)}`)
299
+ )
300
+ }
301
+ if (!stat.isDirectory()) return false
264
302
  let entries: string[]
265
303
  try {
266
304
  entries = fs.readdirSync(dest)
@@ -285,6 +285,12 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
285
285
  category: 'contrast_user_action',
286
286
  count: 1,
287
287
  },
288
+ 'packages/peachsim/cli/commands/preview.ts :: fetch :: endpoint': {
289
+ category: 'contrast_user_action',
290
+ count: 2,
291
+ },
292
+ 'packages/peachsim/cli/commands/preview.ts :: fetch :: `${endpoint}?id=${encodeURIComponent()}`':
293
+ { category: 'contrast_user_action', count: 2 },
288
294
  // the live-dev-stack publisher fetches a cloudflared binary only when none
289
295
  // is installed; the token proxy below it forwards to the user's own
290
296
  // loopback dev server and sidecars, never anywhere remote.
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } 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.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } 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.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/beta.ts
4
4
  var IS_BETA = true;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var SIM_LONG_PRESS_MAX_MS = 5e3;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/bridge-contract.ts
4
4
  var REFUSED_PERFORM_STEP_TYPES = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/capture-contract.ts
4
4
  var RNX_SCREEN_CAPTURE_VERSION = 1;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-contract.ts
4
4
  var RNX_CLOUD_MAX_ARTIFACT_BYTES = 20 * 1024 * 1024;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/cloud-test-args.ts
4
4
  var CLOUD_TEST_ARGS_MAX_COUNT = 32;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (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);
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -6697,6 +6697,7 @@ var OPTIONAL_FRAMEWORK_DEPENDENCIES = {
6697
6697
  Accelerate: [],
6698
6698
  CryptoKit: [],
6699
6699
  CommonCrypto: [],
6700
+ CoreText: [],
6700
6701
  Security: [],
6701
6702
  TikTokBusinessSDK: [],
6702
6703
  nSure: [],
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/host/fetch-proxy-overrides.ts
4
4
  var FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.728 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.729 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;