@xaidenlabs/uso 1.1.57 → 1.1.59
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/package.json
CHANGED
package/src/commands/workflow.js
CHANGED
|
@@ -10,7 +10,10 @@ const runProxyCommand = async (command, args = [], binary = 'anchor') => {
|
|
|
10
10
|
const stealth = isStealthMode();
|
|
11
11
|
|
|
12
12
|
// --- STEALTH WSL MODE ---
|
|
13
|
-
if (
|
|
13
|
+
// Smart routing: prefer native binary if available (e.g. native Anchor on Windows
|
|
14
|
+
// connecting to WSL validator via localhost). Only WSL-route if native binary is missing.
|
|
15
|
+
const nativeAvailable = shell.which(binary);
|
|
16
|
+
if (stealth.enabled && !nativeAvailable) {
|
|
14
17
|
const fullCommand = `${binary} ${command} ${args.join(' ')}`;
|
|
15
18
|
log.header(`🚀 Running: ${fullCommand}`);
|
|
16
19
|
log.info(`🐧 Routing through Uso Engine...`);
|