@rigstate/cli 0.7.11 → 0.7.13
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/dist/index.cjs +8 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/daemon/core.ts +6 -1
- package/src/utils/config.ts +2 -2
package/dist/index.cjs
CHANGED
|
@@ -121,8 +121,8 @@ async function discoverApiUrl() {
|
|
|
121
121
|
continue;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
console.log(chalk34.yellow(` \u274C No local Rigstate API found on scanned ports. Falling back to
|
|
125
|
-
return
|
|
124
|
+
console.log(chalk34.yellow(` \u274C No local Rigstate API found on scanned ports. Falling back to Rigstate Cloud.`));
|
|
125
|
+
return "https://app.rigstate.com";
|
|
126
126
|
}
|
|
127
127
|
function setApiUrl(url) {
|
|
128
128
|
config.set("apiUrl", url);
|
|
@@ -3799,7 +3799,12 @@ var GuardianDaemon = class extends import_events3.EventEmitter {
|
|
|
3799
3799
|
this.setupFileWatcher();
|
|
3800
3800
|
}
|
|
3801
3801
|
if (this.config.bridgeEnabled) {
|
|
3802
|
-
|
|
3802
|
+
try {
|
|
3803
|
+
await this.setupBridge();
|
|
3804
|
+
} catch (e) {
|
|
3805
|
+
console.error(import_chalk18.default.yellow(` \u26A0\uFE0F Agent Bridge connection failed: ${e.message}`));
|
|
3806
|
+
console.log(import_chalk18.default.dim(" (Daemon will continue with local monitoring only)"));
|
|
3807
|
+
}
|
|
3803
3808
|
}
|
|
3804
3809
|
this.printActive();
|
|
3805
3810
|
this.emit("started", this.state);
|