rnxsim 0.1.451 → 0.1.452
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/debug.ts +42 -11
- package/cli/commands/inspect/core.ts +33 -13
- 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.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 +1 -1
- 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 +1 -1
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.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 +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 +1 -1
- package/dist-lib/sdk.cjs +25 -8
- package/dist-lib/sdk.mjs +24 -8
- package/dist-lib/skills.cjs +2160 -241
- package/dist-lib/vite.cjs +1 -1
- package/package.json +1 -1
package/cli/commands/debug.ts
CHANGED
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
type WsBridge,
|
|
29
29
|
} from '../ws-bridge'
|
|
30
30
|
import {
|
|
31
|
+
callDebugBridge,
|
|
31
32
|
inspectDebugFind,
|
|
32
33
|
inspectDebugFlags,
|
|
33
34
|
inspectDebugRecent,
|
|
@@ -63,15 +64,19 @@ rnx debug — drive __sootsimDebug from the terminal
|
|
|
63
64
|
usage:
|
|
64
65
|
rnx debug <subcommand> [args]
|
|
65
66
|
|
|
67
|
+
record, recent, and clear-events target the tenant; --host selects the page buffer.
|
|
68
|
+
enable/disable/toggle also update the tenant unless --host is passed.
|
|
69
|
+
shell event buffers are separate; shell console logs are forwarded to the host.
|
|
70
|
+
|
|
66
71
|
subcommands:
|
|
67
|
-
enable <channels> turn on
|
|
72
|
+
enable <channels> turn on host, shell/compositor, and tenant channels
|
|
68
73
|
channels: ${KNOWN_CHANNELS.slice(0, -1).join(', ')}
|
|
69
74
|
or 'all' for every channel
|
|
70
75
|
disable <channels> turn off one or more debug channels (or 'all')
|
|
71
76
|
toggle <channel> flip a single channel
|
|
72
|
-
status list
|
|
77
|
+
status list host channels forwarded to shell/compositor
|
|
73
78
|
channels list every known channel name
|
|
74
|
-
flags print the
|
|
79
|
+
flags print the host DEBUG flag object
|
|
75
80
|
|
|
76
81
|
state <kind> ... dump raw runtime state (diagnostic — not a getter)
|
|
77
82
|
kinds: shell, worker, keyboard, node <id>,
|
|
@@ -393,7 +398,7 @@ function printImageAudit(
|
|
|
393
398
|
export async function runDebug(args: string[], opts: DebugOptions) {
|
|
394
399
|
const parsed = parseBridgeCliArgs(args, {
|
|
395
400
|
port: opts.port,
|
|
396
|
-
stripBooleanFlags: ['--pretty', '--json', '--help', '-h'],
|
|
401
|
+
stripBooleanFlags: ['--pretty', '--json', '--help', '-h', '--host'],
|
|
397
402
|
})
|
|
398
403
|
const positional = parsed.positional
|
|
399
404
|
const subcommand = positional[0]
|
|
@@ -441,14 +446,24 @@ export async function runDebug(args: string[], opts: DebugOptions) {
|
|
|
441
446
|
)
|
|
442
447
|
rnxExit(1)
|
|
443
448
|
}
|
|
444
|
-
const active = await setDebugChannels(
|
|
449
|
+
const active = await setDebugChannels(
|
|
450
|
+
bridge,
|
|
451
|
+
'enable',
|
|
452
|
+
channels,
|
|
453
|
+
args.includes('--host'),
|
|
454
|
+
)
|
|
445
455
|
console.log(fmt({ active }, pretty))
|
|
446
456
|
break
|
|
447
457
|
}
|
|
448
458
|
|
|
449
459
|
case 'disable': {
|
|
450
460
|
const channels = parseChannelList(rest[0])
|
|
451
|
-
const active = await setDebugChannels(
|
|
461
|
+
const active = await setDebugChannels(
|
|
462
|
+
bridge,
|
|
463
|
+
'disable',
|
|
464
|
+
channels,
|
|
465
|
+
args.includes('--host'),
|
|
466
|
+
)
|
|
452
467
|
console.log(fmt({ active }, pretty))
|
|
453
468
|
break
|
|
454
469
|
}
|
|
@@ -459,10 +474,17 @@ export async function runDebug(args: string[], opts: DebugOptions) {
|
|
|
459
474
|
console.error(' usage: rnx debug toggle <channel>')
|
|
460
475
|
rnxExit(1)
|
|
461
476
|
}
|
|
462
|
-
const result = await
|
|
477
|
+
const result = await callDebugBridge(
|
|
463
478
|
bridge,
|
|
464
|
-
`
|
|
479
|
+
`toggle(${JSON.stringify(channel)})`,
|
|
480
|
+
true,
|
|
465
481
|
)
|
|
482
|
+
if (!args.includes('--host')) {
|
|
483
|
+
await callDebugBridge(
|
|
484
|
+
bridge,
|
|
485
|
+
`${result ? 'enable' : 'disable'}(${JSON.stringify(channel)})`,
|
|
486
|
+
)
|
|
487
|
+
}
|
|
466
488
|
console.log(fmt({ [channel]: result }, pretty))
|
|
467
489
|
break
|
|
468
490
|
}
|
|
@@ -681,7 +703,11 @@ export async function runDebug(args: string[], opts: DebugOptions) {
|
|
|
681
703
|
case 'record': {
|
|
682
704
|
const target = rest[0]
|
|
683
705
|
const on = target === 'on' ? 'true' : target === 'off' ? 'false' : 'undefined'
|
|
684
|
-
const result = await
|
|
706
|
+
const result = await callDebugBridge(
|
|
707
|
+
bridge,
|
|
708
|
+
`record(${on})`,
|
|
709
|
+
args.includes('--host'),
|
|
710
|
+
)
|
|
685
711
|
console.log(fmt({ recording: result }, pretty))
|
|
686
712
|
break
|
|
687
713
|
}
|
|
@@ -689,13 +715,18 @@ export async function runDebug(args: string[], opts: DebugOptions) {
|
|
|
689
715
|
case 'recent': {
|
|
690
716
|
const channel = rest[0]
|
|
691
717
|
const limit = rest[1] ? Number(rest[1]) : 50
|
|
692
|
-
const result = await inspectDebugRecent(
|
|
718
|
+
const result = await inspectDebugRecent(
|
|
719
|
+
bridge,
|
|
720
|
+
channel,
|
|
721
|
+
limit,
|
|
722
|
+
args.includes('--host'),
|
|
723
|
+
)
|
|
693
724
|
console.log(fmt(result, pretty))
|
|
694
725
|
break
|
|
695
726
|
}
|
|
696
727
|
|
|
697
728
|
case 'clear-events': {
|
|
698
|
-
await
|
|
729
|
+
await callDebugBridge(bridge, 'clearEvents()', args.includes('--host'))
|
|
699
730
|
console.log(fmt({ cleared: true }, pretty))
|
|
700
731
|
break
|
|
701
732
|
}
|
|
@@ -1767,26 +1767,46 @@ export async function inspectDebugFind(
|
|
|
1767
1767
|
})
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
|
-
//
|
|
1771
|
-
//
|
|
1770
|
+
// debug buffers belong to their execution context. tenant calls use the
|
|
1771
|
+
// existing test bridge; host calls keep shell/compositor flag forwarding intact.
|
|
1772
|
+
export async function callDebugBridge(
|
|
1773
|
+
bridge: InspectBridge,
|
|
1774
|
+
expression: string,
|
|
1775
|
+
host = false,
|
|
1776
|
+
): Promise<unknown> {
|
|
1777
|
+
const code = `globalThis.__sootsimDebug.${expression}`
|
|
1778
|
+
if (host) return bridge.send({ type: 'evaluate', code })
|
|
1779
|
+
return bridge.send({
|
|
1780
|
+
type: 'evaluate',
|
|
1781
|
+
code: `(async () => {
|
|
1782
|
+
const result = await window.__sootsimTest.evalInTenant(${JSON.stringify(code)})
|
|
1783
|
+
if (!result.ok) throw new Error(result.error)
|
|
1784
|
+
return result.value
|
|
1785
|
+
})()`,
|
|
1786
|
+
})
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
// `debug recent` reads tenant events; --host explicitly selects the page buffer.
|
|
1772
1790
|
export async function inspectDebugRecent(
|
|
1773
1791
|
bridge: InspectBridge,
|
|
1774
1792
|
channel?: string,
|
|
1775
1793
|
limit = 50,
|
|
1794
|
+
host = false,
|
|
1776
1795
|
): Promise<unknown> {
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1796
|
+
return callDebugBridge(
|
|
1797
|
+
bridge,
|
|
1798
|
+
`recent(${channel && channel !== 'all' ? JSON.stringify(channel) : 'undefined'}, ${limit})`,
|
|
1799
|
+
host,
|
|
1800
|
+
)
|
|
1782
1801
|
}
|
|
1783
1802
|
|
|
1784
|
-
//
|
|
1785
|
-
// the
|
|
1803
|
+
// channel controls reach the host (and its shell/compositor subscribers) plus
|
|
1804
|
+
// the active tenant. await the tenant reply before reporting success.
|
|
1786
1805
|
export async function setDebugChannels(
|
|
1787
1806
|
bridge: InspectBridge,
|
|
1788
1807
|
action: 'enable' | 'disable',
|
|
1789
1808
|
channels: string[],
|
|
1809
|
+
host = false,
|
|
1790
1810
|
): Promise<unknown> {
|
|
1791
1811
|
const args =
|
|
1792
1812
|
channels.length > 0
|
|
@@ -1794,10 +1814,10 @@ export async function setDebugChannels(
|
|
|
1794
1814
|
: action === 'disable'
|
|
1795
1815
|
? "'all'"
|
|
1796
1816
|
: ''
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1817
|
+
const expression = `${action}(${args})`
|
|
1818
|
+
const active = await callDebugBridge(bridge, expression, true)
|
|
1819
|
+
if (host) return active
|
|
1820
|
+
return callDebugBridge(bridge, expression)
|
|
1801
1821
|
}
|
|
1802
1822
|
|
|
1803
1823
|
// ─── memory ───
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (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.452 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/host/fetch-proxy-overrides.ts
|
|
4
4
|
var FETCH_PROXY_BROWSER_USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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.452 | (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/index.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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.452 | (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.452 | (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;
|
package/dist-lib/menu.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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/menu.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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.452 | (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/metro.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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;
|
package/dist-lib/profiles.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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.452 | (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.452 | (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/render-mode.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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.452 | (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;
|
package/dist-lib/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! rnx v0.1.
|
|
1
|
+
/*! rnx v0.1.452 | (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;
|
|
@@ -35,6 +35,7 @@ __export(sdk_exports, {
|
|
|
35
35
|
SimResetError: () => SimResetError,
|
|
36
36
|
SimTapError: () => SimTapError,
|
|
37
37
|
buildSimOpenUrl: () => buildSimOpenUrl,
|
|
38
|
+
callDebugBridge: () => callDebugBridge,
|
|
38
39
|
clearConsole: () => clearConsole,
|
|
39
40
|
clearLogs: () => clearLogs,
|
|
40
41
|
clearRequests: () => clearRequests,
|
|
@@ -1128,17 +1129,32 @@ async function inspectDebugFind(bridge, target) {
|
|
|
1128
1129
|
code: `window.__sootsimTest.debugFind(${JSON.stringify(target)})`
|
|
1129
1130
|
});
|
|
1130
1131
|
}
|
|
1131
|
-
async function
|
|
1132
|
-
const code =
|
|
1133
|
-
return bridge.send({ type: "evaluate", code });
|
|
1134
|
-
}
|
|
1135
|
-
async function setDebugChannels(bridge, action, channels) {
|
|
1136
|
-
const args = channels.length > 0 ? channels.map((c) => JSON.stringify(c)).join(", ") : action === "disable" ? "'all'" : "";
|
|
1132
|
+
async function callDebugBridge(bridge, expression, host = false) {
|
|
1133
|
+
const code = `globalThis.__sootsimDebug.${expression}`;
|
|
1134
|
+
if (host) return bridge.send({ type: "evaluate", code });
|
|
1137
1135
|
return bridge.send({
|
|
1138
1136
|
type: "evaluate",
|
|
1139
|
-
code: `
|
|
1137
|
+
code: `(async () => {
|
|
1138
|
+
const result = await window.__sootsimTest.evalInTenant(${JSON.stringify(code)})
|
|
1139
|
+
if (!result.ok) throw new Error(result.error)
|
|
1140
|
+
return result.value
|
|
1141
|
+
})()`
|
|
1140
1142
|
});
|
|
1141
1143
|
}
|
|
1144
|
+
async function inspectDebugRecent(bridge, channel, limit = 50, host = false) {
|
|
1145
|
+
return callDebugBridge(
|
|
1146
|
+
bridge,
|
|
1147
|
+
`recent(${channel && channel !== "all" ? JSON.stringify(channel) : "undefined"}, ${limit})`,
|
|
1148
|
+
host
|
|
1149
|
+
);
|
|
1150
|
+
}
|
|
1151
|
+
async function setDebugChannels(bridge, action, channels, host = false) {
|
|
1152
|
+
const args = channels.length > 0 ? channels.map((c) => JSON.stringify(c)).join(", ") : action === "disable" ? "'all'" : "";
|
|
1153
|
+
const expression = `${action}(${args})`;
|
|
1154
|
+
const active = await callDebugBridge(bridge, expression, true);
|
|
1155
|
+
if (host) return active;
|
|
1156
|
+
return callDebugBridge(bridge, expression);
|
|
1157
|
+
}
|
|
1142
1158
|
async function inspectMemory(bridge) {
|
|
1143
1159
|
if (bridge.plane === "cloud") {
|
|
1144
1160
|
const value = await bridge.send({ type: "memory" });
|
|
@@ -2336,6 +2352,7 @@ var SimClient = class {
|
|
|
2336
2352
|
SimResetError,
|
|
2337
2353
|
SimTapError,
|
|
2338
2354
|
buildSimOpenUrl,
|
|
2355
|
+
callDebugBridge,
|
|
2339
2356
|
clearConsole,
|
|
2340
2357
|
clearLogs,
|
|
2341
2358
|
clearRequests,
|