buildwithnexus 0.3.3 → 0.3.4

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/bin.js CHANGED
@@ -671,7 +671,7 @@ function addSshConfig(port) {
671
671
  fs4.writeFileSync(sshConfigPath, block, { mode: 384 });
672
672
  }
673
673
  }
674
- async function waitForSsh(port, timeoutMs = 3e5) {
674
+ async function waitForSsh(port, timeoutMs = 6e5) {
675
675
  const start = Date.now();
676
676
  while (Date.now() - start < timeoutMs) {
677
677
  try {
@@ -1045,7 +1045,7 @@ async function checkHealth(port, vmRunning) {
1045
1045
  }
1046
1046
  return status;
1047
1047
  }
1048
- async function waitForServer(port, timeoutMs = 9e5) {
1048
+ async function waitForServer(port, timeoutMs = 36e5) {
1049
1049
  const start = Date.now();
1050
1050
  let lastLog = 0;
1051
1051
  while (Date.now() - start < timeoutMs) {
@@ -1069,7 +1069,7 @@ async function waitForServer(port, timeoutMs = 9e5) {
1069
1069
  }
1070
1070
  return false;
1071
1071
  }
1072
- async function waitForCloudInit(port, timeoutMs = 18e5) {
1072
+ async function waitForCloudInit(port, timeoutMs = 72e5) {
1073
1073
  const start = Date.now();
1074
1074
  let lastLog = 0;
1075
1075
  while (Date.now() - start < timeoutMs) {
@@ -1339,7 +1339,7 @@ var phases = [
1339
1339
  spinner.start();
1340
1340
  const cloudInitDone = await waitForCloudInit(config.sshPort);
1341
1341
  if (!cloudInitDone) {
1342
- fail(spinner, "Cloud-init timed out after 30 minutes");
1342
+ fail(spinner, "Cloud-init timed out after 2 hours");
1343
1343
  log.warn("Check progress: buildwithnexus ssh \u2192 tail -f /var/log/cloud-init-output.log");
1344
1344
  throw new Error("Cloud-init timed out");
1345
1345
  }
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buildwithnexus",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Launch an autonomous AI runtime with triple-nested VM isolation in one command",
5
5
  "type": "module",
6
6
  "bin": {