peachsim 0.1.723 → 0.1.725
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 +245 -3
- 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 +244 -2
- 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 +244 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/plist.cjs +244 -2
- 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 +244 -2
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +290 -8
- 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 +1 -1
- 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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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.725 | (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;
|
|
@@ -10,6 +10,9 @@ var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
|
10
10
|
var __esm = (fn, res) => function __init() {
|
|
11
11
|
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
12
12
|
};
|
|
13
|
+
var __commonJS = (cb, mod) => function __require() {
|
|
14
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
15
|
+
};
|
|
13
16
|
var __export = (target, all) => {
|
|
14
17
|
for (var name2 in all)
|
|
15
18
|
__defProp(target, name2, { get: all[name2], enumerable: true });
|
|
@@ -74,6 +77,245 @@ var init_backend_origin = __esm({
|
|
|
74
77
|
}
|
|
75
78
|
});
|
|
76
79
|
|
|
80
|
+
// ../../node_modules/plist/lib/parse.js
|
|
81
|
+
var require_parse = __commonJS({
|
|
82
|
+
"../../node_modules/plist/lib/parse.js"(exports2) {
|
|
83
|
+
var { DOMParser } = require("@xmldom/xmldom");
|
|
84
|
+
exports2.parse = parse2;
|
|
85
|
+
var TEXT_NODE = 3;
|
|
86
|
+
var CDATA_NODE = 4;
|
|
87
|
+
var COMMENT_NODE = 8;
|
|
88
|
+
function shouldIgnoreNode(node) {
|
|
89
|
+
return node.nodeType === TEXT_NODE || node.nodeType === COMMENT_NODE || node.nodeType === CDATA_NODE;
|
|
90
|
+
}
|
|
91
|
+
function isEmptyNode(node) {
|
|
92
|
+
if (!node.childNodes || node.childNodes.length === 0) {
|
|
93
|
+
return true;
|
|
94
|
+
} else {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
function invariant(test, message) {
|
|
99
|
+
if (!test) {
|
|
100
|
+
throw new Error(message);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
function parse2(xml) {
|
|
104
|
+
var doc = new DOMParser().parseFromString(xml, "text/xml");
|
|
105
|
+
invariant(
|
|
106
|
+
doc.documentElement.nodeName === "plist",
|
|
107
|
+
"malformed document. First element should be <plist>"
|
|
108
|
+
);
|
|
109
|
+
var plist2 = parsePlistXML(doc.documentElement);
|
|
110
|
+
if (plist2.length == 1) plist2 = plist2[0];
|
|
111
|
+
return plist2;
|
|
112
|
+
}
|
|
113
|
+
function parsePlistXML(node) {
|
|
114
|
+
var i, new_obj, key, val, new_arr, res, counter, type;
|
|
115
|
+
if (!node) return null;
|
|
116
|
+
if (node.nodeName === "plist") {
|
|
117
|
+
new_arr = [];
|
|
118
|
+
if (isEmptyNode(node)) {
|
|
119
|
+
return new_arr;
|
|
120
|
+
}
|
|
121
|
+
for (i = 0; i < node.childNodes.length; i++) {
|
|
122
|
+
if (!shouldIgnoreNode(node.childNodes[i])) {
|
|
123
|
+
new_arr.push(parsePlistXML(node.childNodes[i]));
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
return new_arr;
|
|
127
|
+
} else if (node.nodeName === "dict") {
|
|
128
|
+
new_obj = {};
|
|
129
|
+
key = null;
|
|
130
|
+
counter = 0;
|
|
131
|
+
if (isEmptyNode(node)) {
|
|
132
|
+
return new_obj;
|
|
133
|
+
}
|
|
134
|
+
for (i = 0; i < node.childNodes.length; i++) {
|
|
135
|
+
if (shouldIgnoreNode(node.childNodes[i])) continue;
|
|
136
|
+
if (counter % 2 === 0) {
|
|
137
|
+
invariant(
|
|
138
|
+
node.childNodes[i].nodeName === "key",
|
|
139
|
+
"Missing key while parsing <dict/>."
|
|
140
|
+
);
|
|
141
|
+
key = parsePlistXML(node.childNodes[i]);
|
|
142
|
+
} else {
|
|
143
|
+
invariant(
|
|
144
|
+
node.childNodes[i].nodeName !== "key",
|
|
145
|
+
'Unexpected key "' + parsePlistXML(node.childNodes[i]) + '" while parsing <dict/>.'
|
|
146
|
+
);
|
|
147
|
+
new_obj[key] = parsePlistXML(node.childNodes[i]);
|
|
148
|
+
}
|
|
149
|
+
counter += 1;
|
|
150
|
+
}
|
|
151
|
+
if (counter % 2 === 1) {
|
|
152
|
+
new_obj[key] = "";
|
|
153
|
+
}
|
|
154
|
+
return new_obj;
|
|
155
|
+
} else if (node.nodeName === "array") {
|
|
156
|
+
new_arr = [];
|
|
157
|
+
if (isEmptyNode(node)) {
|
|
158
|
+
return new_arr;
|
|
159
|
+
}
|
|
160
|
+
for (i = 0; i < node.childNodes.length; i++) {
|
|
161
|
+
if (!shouldIgnoreNode(node.childNodes[i])) {
|
|
162
|
+
res = parsePlistXML(node.childNodes[i]);
|
|
163
|
+
if (null != res) new_arr.push(res);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
return new_arr;
|
|
167
|
+
} else if (node.nodeName === "#text") {
|
|
168
|
+
} else if (node.nodeName === "key") {
|
|
169
|
+
if (isEmptyNode(node)) {
|
|
170
|
+
return "";
|
|
171
|
+
}
|
|
172
|
+
invariant(
|
|
173
|
+
node.childNodes[0].nodeValue !== "__proto__",
|
|
174
|
+
"__proto__ keys can lead to prototype pollution. More details on CVE-2022-22912"
|
|
175
|
+
);
|
|
176
|
+
return node.childNodes[0].nodeValue;
|
|
177
|
+
} else if (node.nodeName === "string") {
|
|
178
|
+
res = "";
|
|
179
|
+
if (isEmptyNode(node)) {
|
|
180
|
+
return res;
|
|
181
|
+
}
|
|
182
|
+
for (i = 0; i < node.childNodes.length; i++) {
|
|
183
|
+
var type = node.childNodes[i].nodeType;
|
|
184
|
+
if (type === TEXT_NODE || type === CDATA_NODE) {
|
|
185
|
+
res += node.childNodes[i].nodeValue;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
return res;
|
|
189
|
+
} else if (node.nodeName === "integer") {
|
|
190
|
+
invariant(!isEmptyNode(node), 'Cannot parse "" as integer.');
|
|
191
|
+
return parseInt(node.childNodes[0].nodeValue, 10);
|
|
192
|
+
} else if (node.nodeName === "real") {
|
|
193
|
+
invariant(!isEmptyNode(node), 'Cannot parse "" as real.');
|
|
194
|
+
res = "";
|
|
195
|
+
for (i = 0; i < node.childNodes.length; i++) {
|
|
196
|
+
if (node.childNodes[i].nodeType === TEXT_NODE) {
|
|
197
|
+
res += node.childNodes[i].nodeValue;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
return parseFloat(res);
|
|
201
|
+
} else if (node.nodeName === "data") {
|
|
202
|
+
res = "";
|
|
203
|
+
if (isEmptyNode(node)) {
|
|
204
|
+
return Buffer.from(res, "base64");
|
|
205
|
+
}
|
|
206
|
+
for (i = 0; i < node.childNodes.length; i++) {
|
|
207
|
+
if (node.childNodes[i].nodeType === TEXT_NODE) {
|
|
208
|
+
res += node.childNodes[i].nodeValue.replace(/\s+/g, "");
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
return Buffer.from(res, "base64");
|
|
212
|
+
} else if (node.nodeName === "date") {
|
|
213
|
+
invariant(!isEmptyNode(node), 'Cannot parse "" as Date.');
|
|
214
|
+
return new Date(node.childNodes[0].nodeValue);
|
|
215
|
+
} else if (node.nodeName === "null") {
|
|
216
|
+
return null;
|
|
217
|
+
} else if (node.nodeName === "true") {
|
|
218
|
+
return true;
|
|
219
|
+
} else if (node.nodeName === "false") {
|
|
220
|
+
return false;
|
|
221
|
+
} else {
|
|
222
|
+
throw new Error("Invalid PLIST tag " + node.nodeName);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
|
|
228
|
+
// ../../node_modules/plist/lib/build.js
|
|
229
|
+
var require_build = __commonJS({
|
|
230
|
+
"../../node_modules/plist/lib/build.js"(exports2) {
|
|
231
|
+
var base64 = require("base64-js");
|
|
232
|
+
var xmlbuilder = require("xmlbuilder");
|
|
233
|
+
exports2.build = build;
|
|
234
|
+
function ISODateString(d) {
|
|
235
|
+
function pad(n) {
|
|
236
|
+
return n < 10 ? "0" + n : n;
|
|
237
|
+
}
|
|
238
|
+
return d.getUTCFullYear() + "-" + pad(d.getUTCMonth() + 1) + "-" + pad(d.getUTCDate()) + "T" + pad(d.getUTCHours()) + ":" + pad(d.getUTCMinutes()) + ":" + pad(d.getUTCSeconds()) + "Z";
|
|
239
|
+
}
|
|
240
|
+
var toString = Object.prototype.toString;
|
|
241
|
+
function type(obj) {
|
|
242
|
+
var m = toString.call(obj).match(/\[object (.*)\]/);
|
|
243
|
+
return m ? m[1] : m;
|
|
244
|
+
}
|
|
245
|
+
function build(obj, opts) {
|
|
246
|
+
var XMLHDR = {
|
|
247
|
+
version: "1.0",
|
|
248
|
+
encoding: "UTF-8"
|
|
249
|
+
};
|
|
250
|
+
var XMLDTD = {
|
|
251
|
+
pubid: "-//Apple//DTD PLIST 1.0//EN",
|
|
252
|
+
sysid: "http://www.apple.com/DTDs/PropertyList-1.0.dtd"
|
|
253
|
+
};
|
|
254
|
+
var doc = xmlbuilder.create("plist");
|
|
255
|
+
doc.dec(XMLHDR.version, XMLHDR.encoding, XMLHDR.standalone);
|
|
256
|
+
doc.dtd(XMLDTD.pubid, XMLDTD.sysid);
|
|
257
|
+
doc.att("version", "1.0");
|
|
258
|
+
walk_obj(obj, doc);
|
|
259
|
+
if (!opts) opts = {};
|
|
260
|
+
opts.pretty = opts.pretty !== false;
|
|
261
|
+
return doc.end(opts);
|
|
262
|
+
}
|
|
263
|
+
function walk_obj(next, next_child) {
|
|
264
|
+
var tag_type, i, prop;
|
|
265
|
+
var name2 = type(next);
|
|
266
|
+
if ("Undefined" == name2) {
|
|
267
|
+
return;
|
|
268
|
+
} else if (Array.isArray(next)) {
|
|
269
|
+
next_child = next_child.ele("array");
|
|
270
|
+
for (i = 0; i < next.length; i++) {
|
|
271
|
+
walk_obj(next[i], next_child);
|
|
272
|
+
}
|
|
273
|
+
} else if (Buffer.isBuffer(next)) {
|
|
274
|
+
next_child.ele("data").raw(next.toString("base64"));
|
|
275
|
+
} else if ("Object" == name2) {
|
|
276
|
+
next_child = next_child.ele("dict");
|
|
277
|
+
for (prop in next) {
|
|
278
|
+
if (next.hasOwnProperty(prop)) {
|
|
279
|
+
next_child.ele("key").txt(prop);
|
|
280
|
+
walk_obj(next[prop], next_child);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
} else if ("Number" == name2) {
|
|
284
|
+
tag_type = next % 1 === 0 ? "integer" : "real";
|
|
285
|
+
next_child.ele(tag_type).txt(next.toString());
|
|
286
|
+
} else if ("BigInt" == name2) {
|
|
287
|
+
next_child.ele("integer").txt(next);
|
|
288
|
+
} else if ("Date" == name2) {
|
|
289
|
+
next_child.ele("date").txt(ISODateString(new Date(next)));
|
|
290
|
+
} else if ("Boolean" == name2) {
|
|
291
|
+
next_child.ele(next ? "true" : "false");
|
|
292
|
+
} else if ("String" == name2) {
|
|
293
|
+
next_child.ele("string").txt(next);
|
|
294
|
+
} else if ("ArrayBuffer" == name2) {
|
|
295
|
+
next_child.ele("data").raw(base64.fromByteArray(next));
|
|
296
|
+
} else if (next && next.buffer && "ArrayBuffer" == type(next.buffer)) {
|
|
297
|
+
next_child.ele("data").raw(base64.fromByteArray(new Uint8Array(next.buffer), next_child));
|
|
298
|
+
} else if ("Null" === name2) {
|
|
299
|
+
next_child.ele("null").txt("");
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
// ../../node_modules/plist/index.js
|
|
306
|
+
var require_plist = __commonJS({
|
|
307
|
+
"../../node_modules/plist/index.js"(exports2) {
|
|
308
|
+
var parserFunctions = require_parse();
|
|
309
|
+
Object.keys(parserFunctions).forEach(function(k) {
|
|
310
|
+
exports2[k] = parserFunctions[k];
|
|
311
|
+
});
|
|
312
|
+
var builderFunctions = require_build();
|
|
313
|
+
Object.keys(builderFunctions).forEach(function(k) {
|
|
314
|
+
exports2[k] = builderFunctions[k];
|
|
315
|
+
});
|
|
316
|
+
}
|
|
317
|
+
});
|
|
318
|
+
|
|
77
319
|
// scripts/optional-demo-registry.ts
|
|
78
320
|
var optional_demo_registry_exports = {};
|
|
79
321
|
__export(optional_demo_registry_exports, {
|
|
@@ -4986,7 +5228,7 @@ var import_promises = require("node:fs/promises");
|
|
|
4986
5228
|
var import_node_path = require("node:path");
|
|
4987
5229
|
|
|
4988
5230
|
// src/plist.ts
|
|
4989
|
-
var import_plist = __toESM(
|
|
5231
|
+
var import_plist = __toESM(require_plist(), 1);
|
|
4990
5232
|
function parsePlistSource(source) {
|
|
4991
5233
|
return import_plist.default.parse(source);
|
|
4992
5234
|
}
|
|
@@ -8089,7 +8331,7 @@ var MAX_SWIFT_COMPILE_RESOURCE_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
8089
8331
|
var MAX_SWIFT_COMPILE_IMAGES = 128;
|
|
8090
8332
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
8091
8333
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
8092
|
-
var SWIFT_HOST_ABI =
|
|
8334
|
+
var SWIFT_HOST_ABI = 20;
|
|
8093
8335
|
var POLL_INTERVAL_MS = 1500;
|
|
8094
8336
|
function httpSwiftCompileSubmit(context) {
|
|
8095
8337
|
const { assetReadToken, authorization, endpoint } = context;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.725 | (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.725 | (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.725 | (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;
|