cassian-cli 0.1.0 → 0.1.1

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.
@@ -25,7 +25,7 @@ export async function ssh() {
25
25
  const connected = await connectWebSocket(instance, stopSync);
26
26
  if (!connected) {
27
27
  stopSync();
28
- fatal("Could not connect to instance.", "Try again or run: cassian down && cassian up");
28
+ fatal("Could not connect to instance.", "Wait a few seconds and try again. If it keeps failing: cassian down && cassian up");
29
29
  }
30
30
  }
31
31
  catch (err) {
@@ -68,7 +68,7 @@ async function connectWebSocket(instance, stopSync) {
68
68
  ws.terminate();
69
69
  resolve(false);
70
70
  }
71
- }, 5000);
71
+ }, 10000);
72
72
  ws.on("open", () => {
73
73
  connected = true;
74
74
  clearTimeout(timeout);
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ program
41
41
  .action(ssh);
42
42
  program
43
43
  .command("sync")
44
- .description("Pull output files from the remote instance to local")
44
+ .description("Sync workspace from instance to local")
45
45
  .action(sync);
46
46
  program
47
47
  .command("status")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cassian-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The Cassian GPU cloud CLI — provision GPUs, sync files, and run workloads from your terminal.",
5
5
  "type": "module",
6
6
  "bin": {