@episoda/cli 0.2.148 → 0.2.149
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.
|
@@ -2913,7 +2913,7 @@ var require_package = __commonJS({
|
|
|
2913
2913
|
"package.json"(exports2, module2) {
|
|
2914
2914
|
module2.exports = {
|
|
2915
2915
|
name: "@episoda/cli",
|
|
2916
|
-
version: "0.2.
|
|
2916
|
+
version: "0.2.149",
|
|
2917
2917
|
description: "CLI tool for Episoda local development workflow orchestration",
|
|
2918
2918
|
main: "dist/index.js",
|
|
2919
2919
|
types: "dist/index.d.ts",
|
|
@@ -11655,9 +11655,9 @@ var Daemon = class _Daemon {
|
|
|
11655
11655
|
} else {
|
|
11656
11656
|
const serverUrlObj = new URL(serverUrl);
|
|
11657
11657
|
const wsProtocol = serverUrlObj.protocol === "https:" ? "wss:" : "ws:";
|
|
11658
|
-
const wsPort = process.env.EPISODA_WS_PORT || "3001";
|
|
11659
11658
|
const wsHostname = serverUrlObj.hostname === "episoda.dev" ? "ws.episoda.dev" : serverUrlObj.hostname;
|
|
11660
|
-
|
|
11659
|
+
const wsPort = process.env.EPISODA_WS_PORT;
|
|
11660
|
+
wsUrl = wsPort ? `${wsProtocol}//${wsHostname}:${wsPort}` : `${wsProtocol}//${wsHostname}`;
|
|
11661
11661
|
}
|
|
11662
11662
|
console.log(`[Daemon] Connecting to ${wsUrl} for project ${projectId}...`);
|
|
11663
11663
|
const client = new import_core14.EpisodaClient();
|