@episoda/cli 0.2.161 → 0.2.162
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.
|
@@ -2141,7 +2141,7 @@ var require_websocket_client = __commonJS({
|
|
|
2141
2141
|
* @param url - WebSocket URL (wss://episoda.dev/cli)
|
|
2142
2142
|
* @param token - OAuth access token
|
|
2143
2143
|
* @param machineId - Optional machine identifier for multi-machine support
|
|
2144
|
-
* @param deviceInfo - Optional device information (hostname, OS, daemonPid)
|
|
2144
|
+
* @param deviceInfo - Optional device information (hostname, OS, daemonPid, cliVersion)
|
|
2145
2145
|
* EP1119: Added environment and containerId for cloud routing
|
|
2146
2146
|
*/
|
|
2147
2147
|
async connect(url, token, machineId, deviceInfo) {
|
|
@@ -2152,6 +2152,7 @@ var require_websocket_client = __commonJS({
|
|
|
2152
2152
|
this.osPlatform = deviceInfo?.osPlatform;
|
|
2153
2153
|
this.osArch = deviceInfo?.osArch;
|
|
2154
2154
|
this.daemonPid = deviceInfo?.daemonPid;
|
|
2155
|
+
this.cliVersion = deviceInfo?.cliVersion;
|
|
2155
2156
|
this.environment = deviceInfo?.environment;
|
|
2156
2157
|
this.containerId = deviceInfo?.containerId;
|
|
2157
2158
|
this.isDisconnecting = false;
|
|
@@ -2190,7 +2191,7 @@ var require_websocket_client = __commonJS({
|
|
|
2190
2191
|
this.send({
|
|
2191
2192
|
type: "auth",
|
|
2192
2193
|
token,
|
|
2193
|
-
version: version_1.VERSION,
|
|
2194
|
+
version: this.cliVersion || version_1.VERSION,
|
|
2194
2195
|
environment: this.environment,
|
|
2195
2196
|
machineId,
|
|
2196
2197
|
containerId: this.containerId,
|
|
@@ -2509,6 +2510,7 @@ var require_websocket_client = __commonJS({
|
|
|
2509
2510
|
osPlatform: this.osPlatform,
|
|
2510
2511
|
osArch: this.osArch,
|
|
2511
2512
|
daemonPid: this.daemonPid,
|
|
2513
|
+
cliVersion: this.cliVersion,
|
|
2512
2514
|
environment: this.environment,
|
|
2513
2515
|
containerId: this.containerId
|
|
2514
2516
|
}).then(() => {
|
|
@@ -2909,7 +2911,7 @@ var require_package = __commonJS({
|
|
|
2909
2911
|
"package.json"(exports2, module2) {
|
|
2910
2912
|
module2.exports = {
|
|
2911
2913
|
name: "@episoda/cli",
|
|
2912
|
-
version: "0.2.
|
|
2914
|
+
version: "0.2.162",
|
|
2913
2915
|
description: "CLI tool for Episoda local development workflow orchestration",
|
|
2914
2916
|
main: "dist/index.js",
|
|
2915
2917
|
types: "dist/index.d.ts",
|
|
@@ -15009,6 +15011,7 @@ var Daemon = class _Daemon {
|
|
|
15009
15011
|
osPlatform: os12.platform(),
|
|
15010
15012
|
osArch: os12.arch(),
|
|
15011
15013
|
daemonPid,
|
|
15014
|
+
cliVersion: packageJson.version,
|
|
15012
15015
|
environment,
|
|
15013
15016
|
containerId
|
|
15014
15017
|
});
|