peachsim 0.1.722 → 0.1.724
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/outbound-endpoints.ts +60 -28
- 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/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/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +31 -44
- 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 +16 -28
- 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 +16 -28
- 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 +3 -22
- package/dist-lib/plist.mjs +3 -22
- 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 +6 -25
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +126 -96
- 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 +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +2 -2
- package/dist-lib/vite.cjs +1 -1
- package/package.json +3 -2
- package/src/plist.ts +2 -21
- package/src/swift-submit.ts +2 -1
|
@@ -186,20 +186,24 @@ export const OUTBOUND_ENDPOINTS: Record<string, OutboundEndpointDeclaration> = {
|
|
|
186
186
|
},
|
|
187
187
|
linux_browser_libs_download: {
|
|
188
188
|
category: 'runtime-delivery',
|
|
189
|
-
destination:
|
|
189
|
+
destination:
|
|
190
|
+
'https://r2.rnxsim.com/rnx-cli/ linux browser library tarball and its .sha256',
|
|
190
191
|
preConsent: true,
|
|
191
192
|
payload:
|
|
192
193
|
'lock id and architecture only, carried in the object key; fires on Linux when the browser lacks shared libraries, with a notice on stderr',
|
|
193
194
|
},
|
|
194
195
|
linux_browser_libs_publish: {
|
|
195
196
|
category: 'release-delivery',
|
|
196
|
-
destination:
|
|
197
|
+
destination:
|
|
198
|
+
'https://archive.ubuntu.com/ubuntu and https://ports.ubuntu.com/ubuntu-ports',
|
|
197
199
|
preConsent: false,
|
|
198
|
-
payload:
|
|
200
|
+
payload:
|
|
201
|
+
'HTTP GET of Ubuntu 20.04 package indexes and packages, run only by the maintainer publish script',
|
|
199
202
|
},
|
|
200
203
|
unlisted_site_report: {
|
|
201
204
|
category: 'bounded-diagnostics',
|
|
202
|
-
destination:
|
|
205
|
+
destination:
|
|
206
|
+
'PostHog capture endpoint (VITE_POSTHOG_HOST, default https://us.i.posthog.com)',
|
|
203
207
|
preConsent: true,
|
|
204
208
|
payload:
|
|
205
209
|
'one peach_unlisted_site event with the page hostname, site-gate mode and runtime version, sent once per page from a runtime on a host that is neither Peach-hosted nor private, and only where browser analytics are allowed',
|
|
@@ -441,6 +445,10 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
|
|
|
441
445
|
category: 'guest_app_network',
|
|
442
446
|
count: 1,
|
|
443
447
|
},
|
|
448
|
+
'packages/peach-engine/src/engine/swift-codec-host.ts :: fetch :: url': {
|
|
449
|
+
category: 'same_origin_runtime',
|
|
450
|
+
count: 1,
|
|
451
|
+
},
|
|
444
452
|
'packages/peach-engine/src-electron/tray.ts :: client.get :: parsed': {
|
|
445
453
|
category: 'guest_app_network',
|
|
446
454
|
count: 1,
|
|
@@ -680,46 +688,70 @@ export const DECLARED_OUTBOUND_CALLS: Record<string, OutboundCallDeclaration> =
|
|
|
680
688
|
category: 'contrast_user_action',
|
|
681
689
|
count: 1,
|
|
682
690
|
},
|
|
683
|
-
'packages/peach-engine/src/components/native-ui/ShellWebViewHost.tsx :: fetch :: url':
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
691
|
+
'packages/peach-engine/src/components/native-ui/ShellWebViewHost.tsx :: fetch :: url': {
|
|
692
|
+
category: 'guest_app_network',
|
|
693
|
+
count: 1,
|
|
694
|
+
},
|
|
695
|
+
'packages/peach-engine/src/engine/android-roboto-font.ts :: fetch :: url': {
|
|
696
|
+
category: 'same_origin_runtime',
|
|
697
|
+
count: 1,
|
|
698
|
+
},
|
|
687
699
|
'packages/peach-engine/src/engine/expo-app-config.ts :: fetch :: `${metroOrigin}/__peach-native-firebase-config`':
|
|
688
700
|
{ category: 'local_development', count: 1 },
|
|
689
701
|
'packages/peach-engine/src/engine/inspect-source-chain.ts :: fetch :: `${origin}/symbolicate`':
|
|
690
702
|
{ category: 'local_development', count: 1 },
|
|
691
|
-
'packages/peach-engine/src/engine/ios-cascade.ts :: fetch :: url':
|
|
692
|
-
|
|
703
|
+
'packages/peach-engine/src/engine/ios-cascade.ts :: fetch :: url': {
|
|
704
|
+
category: 'same_origin_runtime',
|
|
705
|
+
count: 1,
|
|
706
|
+
},
|
|
693
707
|
'packages/peach-engine/src/engine/text-hyphenation-en-us.ts :: xml-http-request :: <none>':
|
|
694
708
|
{ category: 'same_origin_runtime', count: 1 },
|
|
695
|
-
'packages/peach-engine/src/expo-swift-modules.tsx :: fetch :: address':
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
709
|
+
'packages/peach-engine/src/expo-swift-modules.tsx :: fetch :: address': {
|
|
710
|
+
category: 'local_development',
|
|
711
|
+
count: 1,
|
|
712
|
+
},
|
|
713
|
+
'packages/peach-engine/src/ios/apps/PhotosApp.tsx :: fetch :: currentImage.uri': {
|
|
714
|
+
category: 'same_origin_runtime',
|
|
715
|
+
count: 1,
|
|
716
|
+
},
|
|
699
717
|
'packages/peach-engine/src/ios/sf-symbol-catalog.ts :: fetch :: `${SF_SYMBOL_CATALOG_URL}${asset}.json`':
|
|
700
718
|
{ category: 'symbol_catalog_delivery', count: 1 },
|
|
701
|
-
'packages/peach-engine/src/render-worker/audio-host.ts :: fetch :: session.src!':
|
|
702
|
-
|
|
719
|
+
'packages/peach-engine/src/render-worker/audio-host.ts :: fetch :: session.src!': {
|
|
720
|
+
category: 'guest_app_network',
|
|
721
|
+
count: 1,
|
|
722
|
+
},
|
|
703
723
|
'packages/peach-engine/src/render-worker/native-resource-demand-host.ts :: fetch :: url':
|
|
704
724
|
{ category: 'same_origin_runtime', count: 1 },
|
|
705
725
|
"packages/peach-engine/src/render-worker/site-gate.ts :: fetch :: `${posthogHost.replace(/\\/+$/, '')}/capture/`":
|
|
706
726
|
{ category: 'unlisted_site_report', count: 1 },
|
|
707
|
-
'packages/peach-engine/src/render-worker/video-thumbnail-host.ts :: fetch :: uri':
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
'packages/peachsim/cli/app-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
'packages/peachsim/
|
|
716
|
-
|
|
727
|
+
'packages/peach-engine/src/render-worker/video-thumbnail-host.ts :: fetch :: uri': {
|
|
728
|
+
category: 'guest_app_network',
|
|
729
|
+
count: 1,
|
|
730
|
+
},
|
|
731
|
+
'packages/peachsim/cli/app-fonts.ts :: fetch :: `${origin}/status`': {
|
|
732
|
+
category: 'local_development',
|
|
733
|
+
count: 1,
|
|
734
|
+
},
|
|
735
|
+
'packages/peachsim/cli/app-splash.ts :: fetch :: `${origin}/manifest`': {
|
|
736
|
+
category: 'local_development',
|
|
737
|
+
count: 1,
|
|
738
|
+
},
|
|
739
|
+
'packages/peachsim/cli/drivers/linux-browser-libs.ts :: fetch :: `${url}.sha256`': {
|
|
740
|
+
category: 'linux_browser_libs_download',
|
|
741
|
+
count: 1,
|
|
742
|
+
},
|
|
743
|
+
'packages/peachsim/scripts/linux-browser-libs.ts :: fetch :: url': {
|
|
744
|
+
category: 'linux_browser_libs_publish',
|
|
745
|
+
count: 1,
|
|
746
|
+
},
|
|
717
747
|
"packages/peachsim/src/host/fetch-proxy-handler.ts :: transport.request :: { hostname: normalizeHostname(targetUrl.hostname), port: targetUrl.port || (targetUrl.protocol === 'https:' ? 443 : 80), path: targetUrl.pathname + targetUrl.search, method, headers: targetHeaders, agent: fetchProxyAgentFor(targetUrl), ...loopbackTlsOptions(targetUrl), }":
|
|
718
748
|
{ category: 'guest_app_network', count: 1 },
|
|
719
749
|
"packages/peachsim/src/host/fetch-proxy-handler.ts :: transport.request :: { hostname: normalizeHostname(targetUrl.hostname), port: targetUrl.port || (targetUrl.protocol === 'https:' ? 443 : 80), path: targetUrl.pathname + targetUrl.search, method: req.method, headers: fwdHeaders, agent: fetchProxyAgentFor(targetUrl), ...loopbackTlsOptions(targetUrl), }":
|
|
720
750
|
{ category: 'guest_app_network', count: 1 },
|
|
721
|
-
'packages/peachsim/src/kotlin-host.ts :: fetch :: download.url':
|
|
722
|
-
|
|
751
|
+
'packages/peachsim/src/kotlin-host.ts :: fetch :: download.url': {
|
|
752
|
+
category: 'kotlin_toolchain_download',
|
|
753
|
+
count: 1,
|
|
754
|
+
},
|
|
723
755
|
}
|
|
724
756
|
|
|
725
757
|
interface DetectedOutboundCall {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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/cloud.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.724 | (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/cloud.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.724 | (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.724 | (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/detox/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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;
|
|
@@ -74,16 +74,6 @@ var init_backend_origin = __esm({
|
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
|
|
77
|
-
// src/is-record.ts
|
|
78
|
-
function isRecord(value) {
|
|
79
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
80
|
-
}
|
|
81
|
-
var init_is_record = __esm({
|
|
82
|
-
"src/is-record.ts"() {
|
|
83
|
-
"use strict";
|
|
84
|
-
}
|
|
85
|
-
});
|
|
86
|
-
|
|
87
77
|
// scripts/optional-demo-registry.ts
|
|
88
78
|
var optional_demo_registry_exports = {};
|
|
89
79
|
__export(optional_demo_registry_exports, {
|
|
@@ -521,6 +511,16 @@ var init_public_brand = __esm({
|
|
|
521
511
|
}
|
|
522
512
|
});
|
|
523
513
|
|
|
514
|
+
// src/is-record.ts
|
|
515
|
+
function isRecord2(value) {
|
|
516
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
517
|
+
}
|
|
518
|
+
var init_is_record = __esm({
|
|
519
|
+
"src/is-record.ts"() {
|
|
520
|
+
"use strict";
|
|
521
|
+
}
|
|
522
|
+
});
|
|
523
|
+
|
|
524
524
|
// src/auth/shared-session.ts
|
|
525
525
|
function sharedDesktopAuthAccounts(user) {
|
|
526
526
|
return [
|
|
@@ -4104,8 +4104,8 @@ function failureSentence(text) {
|
|
|
4104
4104
|
} catch {
|
|
4105
4105
|
return null;
|
|
4106
4106
|
}
|
|
4107
|
-
if (!
|
|
4108
|
-
if (
|
|
4107
|
+
if (!isRecord2(parsed)) return null;
|
|
4108
|
+
if (isRecord2(parsed.error) && typeof parsed.error.message === "string") {
|
|
4109
4109
|
const code = typeof parsed.error.code === "string" && parsed.error.code ? ` [${parsed.error.code}]` : "";
|
|
4110
4110
|
return `${parsed.error.message}${code}`;
|
|
4111
4111
|
}
|
|
@@ -4537,16 +4537,16 @@ async function produceArtifact(bundlePath, maxBytes, command, assetPolicy) {
|
|
|
4537
4537
|
};
|
|
4538
4538
|
}
|
|
4539
4539
|
function readCreateResponse(value, expectedBytes, expectedSha256) {
|
|
4540
|
-
if (!
|
|
4540
|
+
if (!isRecord2(value)) throw new Error("remote simulator create returned invalid JSON");
|
|
4541
4541
|
const artifactId = `sha256:${expectedSha256}`;
|
|
4542
|
-
const isExpectedArtifact = (artifact) =>
|
|
4542
|
+
const isExpectedArtifact = (artifact) => isRecord2(artifact) && artifact.id === artifactId && typeof artifact.bytes === "number" && Number.isInteger(artifact.bytes) && artifact.bytes === expectedBytes;
|
|
4543
4543
|
const boxId = value.boxId;
|
|
4544
4544
|
const boxToken = value.token;
|
|
4545
4545
|
const simulator = value.simulator;
|
|
4546
|
-
const simId =
|
|
4547
|
-
const claim =
|
|
4548
|
-
const simulatorToken =
|
|
4549
|
-
if (typeof boxId !== "string" || !boxId || value.size !== "nano" || typeof boxToken !== "string" || !boxToken || !isExpectedArtifact(value.artifact) || !
|
|
4546
|
+
const simId = isRecord2(simulator) ? simulator.simId : null;
|
|
4547
|
+
const claim = isRecord2(simulator) ? simulator.claim : null;
|
|
4548
|
+
const simulatorToken = isRecord2(simulator) ? simulator.token : null;
|
|
4549
|
+
if (typeof boxId !== "string" || !boxId || value.size !== "nano" || typeof boxToken !== "string" || !boxToken || !isExpectedArtifact(value.artifact) || !isRecord2(simulator) || typeof simId !== "string" || !simId || !isExpectedArtifact(simulator.artifact) || !isRecord2(claim) || typeof claim.id !== "string" || !claim.id || typeof claim.expiresAt !== "number" || typeof simulatorToken !== "string" || !simulatorToken) {
|
|
4550
4550
|
throw new Error("remote simulator create returned an invalid receipt");
|
|
4551
4551
|
}
|
|
4552
4552
|
return {
|
|
@@ -4692,8 +4692,8 @@ async function sendToBox(options) {
|
|
|
4692
4692
|
simId: options.simId,
|
|
4693
4693
|
code: '(typeof window.__sootsimCaptureBundle === "function") ? window.__sootsimCaptureBundle() : null'
|
|
4694
4694
|
});
|
|
4695
|
-
const bundleUrl =
|
|
4696
|
-
if (!
|
|
4695
|
+
const bundleUrl = isRecord2(captured) ? captured.bundleUrl : null;
|
|
4696
|
+
if (!isRecord2(captured) || typeof bundleUrl !== "string" || !bundleUrl) {
|
|
4697
4697
|
throw new Error(
|
|
4698
4698
|
"send to box needs a simulator running an app: this one has no bundle loaded"
|
|
4699
4699
|
);
|
|
@@ -4709,7 +4709,7 @@ async function sendToBox(options) {
|
|
|
4709
4709
|
const storage = dumped;
|
|
4710
4710
|
const created = await createCloudBox({
|
|
4711
4711
|
bundlePath: toRNXProductionBundleUrl(bundleUrl),
|
|
4712
|
-
device: options.device ?? cloudDevice(
|
|
4712
|
+
device: options.device ?? cloudDevice(isRecord2(captured.deviceSpec) ? captured.deviceSpec.model : null),
|
|
4713
4713
|
authorization: options.authorization,
|
|
4714
4714
|
accountId: options.accountId,
|
|
4715
4715
|
apiOrigin: options.apiOrigin,
|
|
@@ -4986,22 +4986,9 @@ var import_promises = require("node:fs/promises");
|
|
|
4986
4986
|
var import_node_path = require("node:path");
|
|
4987
4987
|
|
|
4988
4988
|
// src/plist.ts
|
|
4989
|
-
var import_plist = __toESM(require("
|
|
4990
|
-
init_is_record();
|
|
4991
|
-
function resolvePlistParser(value) {
|
|
4992
|
-
if (!isRecord(value)) return null;
|
|
4993
|
-
const direct = value.parse;
|
|
4994
|
-
if (typeof direct === "function") {
|
|
4995
|
-
return (source) => Reflect.apply(direct, value, [source]);
|
|
4996
|
-
}
|
|
4997
|
-
const nested = value.default;
|
|
4998
|
-
if (!isRecord(nested)) return null;
|
|
4999
|
-
const nestedParse = nested.parse;
|
|
5000
|
-
return typeof nestedParse === "function" ? (source) => Reflect.apply(nestedParse, nested, [source]) : null;
|
|
5001
|
-
}
|
|
5002
|
-
var parsePlist = resolvePlistParser(import_plist.default);
|
|
4989
|
+
var import_plist = __toESM(require("plist"), 1);
|
|
5003
4990
|
function parsePlistSource(source) {
|
|
5004
|
-
return
|
|
4991
|
+
return import_plist.default.parse(source);
|
|
5005
4992
|
}
|
|
5006
4993
|
|
|
5007
4994
|
// src/settings-bundle.ts
|
|
@@ -5010,7 +4997,7 @@ var MAX_CHILD_DEPTH = 8;
|
|
|
5010
4997
|
var MAX_PLIST_FILES = 32;
|
|
5011
4998
|
var MAX_SPECIFIERS = 512;
|
|
5012
4999
|
var settingsBundleCache = /* @__PURE__ */ new Map();
|
|
5013
|
-
function
|
|
5000
|
+
function isRecord(value) {
|
|
5014
5001
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5015
5002
|
}
|
|
5016
5003
|
function optionalString(value) {
|
|
@@ -5139,7 +5126,7 @@ async function parsePlistRecord(path18) {
|
|
|
5139
5126
|
if (!metadata.isFile() || metadata.size > MAX_PLIST_BYTES) return null;
|
|
5140
5127
|
const source = await (0, import_promises.readFile)(path18, "utf8");
|
|
5141
5128
|
const parsed = parsePlistSource(source);
|
|
5142
|
-
return
|
|
5129
|
+
return isRecord(parsed) ? parsed : null;
|
|
5143
5130
|
} catch {
|
|
5144
5131
|
return null;
|
|
5145
5132
|
}
|
|
@@ -5175,7 +5162,7 @@ function normalizeMultiValue(raw2, key, title) {
|
|
|
5175
5162
|
};
|
|
5176
5163
|
}
|
|
5177
5164
|
async function normalizeSpecifier(raw2, context) {
|
|
5178
|
-
if (!
|
|
5165
|
+
if (!isRecord(raw2)) return null;
|
|
5179
5166
|
if (context.budget.specifiers >= MAX_SPECIFIERS) return null;
|
|
5180
5167
|
const type = requiredString(raw2.Type);
|
|
5181
5168
|
if (!type) return null;
|
|
@@ -6123,7 +6110,7 @@ function swiftDistributionHost(platform, arch) {
|
|
|
6123
6110
|
}
|
|
6124
6111
|
var isStrings = (value) => Array.isArray(value) && value.every((item) => typeof item === "string");
|
|
6125
6112
|
function parseSwiftDistributionManifest(value) {
|
|
6126
|
-
if (!
|
|
6113
|
+
if (!isRecord2(value) || typeof value.id !== "string" || typeof value.release !== "string" || typeof value.wasmSdkId !== "string" || typeof value.wasmSdkUrl !== "string" || typeof value.wasmSdkChecksum !== "string" || !isStrings(value.modules) || !isStrings(value.objects) || !isStrings(value.link) || !isRecord2(value.files) || !Object.values(value.files).every((sha) => typeof sha === "string") || typeof value.host !== "string" || !isStrings(value.plugins)) {
|
|
6127
6114
|
throw new Error(`invalid Swift distribution ${SWIFT_DISTRIBUTION_MANIFEST}`);
|
|
6128
6115
|
}
|
|
6129
6116
|
const host2 = SWIFT_DISTRIBUTION_HOSTS.find((candidate) => candidate === value.host);
|
|
@@ -6145,13 +6132,13 @@ function parseSwiftDistributionManifest(value) {
|
|
|
6145
6132
|
};
|
|
6146
6133
|
}
|
|
6147
6134
|
function parseSwiftDistributionLock(value) {
|
|
6148
|
-
if (!
|
|
6135
|
+
if (!isRecord2(value) || typeof value.id !== "string" || !/^[a-f0-9]{16}$/.test(value.id) || typeof value.release !== "string" || typeof value.wasmSdkId !== "string" || typeof value.wasmSdkUrl !== "string" || typeof value.wasmSdkChecksum !== "string" || typeof value.source !== "string" || !isRecord2(value.hosts)) {
|
|
6149
6136
|
throw new Error("invalid Swift distribution lock");
|
|
6150
6137
|
}
|
|
6151
6138
|
const hosts = value.hosts;
|
|
6152
6139
|
const entry = (host2) => {
|
|
6153
6140
|
const item = hosts[host2];
|
|
6154
|
-
if (!
|
|
6141
|
+
if (!isRecord2(item) || typeof item.sha256 !== "string" || !/^[a-f0-9]{64}$/.test(item.sha256) || typeof item.size !== "number") {
|
|
6155
6142
|
throw new Error(`invalid Swift distribution lock entry for ${host2}`);
|
|
6156
6143
|
}
|
|
6157
6144
|
return { sha256: item.sha256, size: item.size };
|
|
@@ -8102,7 +8089,7 @@ var MAX_SWIFT_COMPILE_RESOURCE_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
8102
8089
|
var MAX_SWIFT_COMPILE_IMAGES = 128;
|
|
8103
8090
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
8104
8091
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
8105
|
-
var SWIFT_HOST_ABI =
|
|
8092
|
+
var SWIFT_HOST_ABI = 20;
|
|
8106
8093
|
var POLL_INTERVAL_MS = 1500;
|
|
8107
8094
|
function httpSwiftCompileSubmit(context) {
|
|
8108
8095
|
const { assetReadToken, authorization, endpoint } = context;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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.
|
|
1
|
+
/*! rnx v0.1.724 | (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;
|