genbox 1.0.85 → 1.0.86

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.
@@ -391,21 +391,19 @@ exports.statusCommand = new commander_1.Command('status')
391
391
  sshAvailable = true;
392
392
  // Check if cloud-init is still running
393
393
  if (status.includes('running')) {
394
- // Get timing breakdown
395
- const timing = getTimingBreakdown(target.ipAddress, keyPath);
396
- if (timing.total !== null) {
397
- console.log(chalk_1.default.yellow(`[INFO] Setup in progress... (elapsed: ${formatDuration(timing.total)})`));
398
- }
399
- else {
400
- console.log(chalk_1.default.yellow('[INFO] Setup in progress...'));
401
- }
394
+ // Use the total wait time from CLI's perspective (includes SSH wait)
395
+ const totalWaitSecs = Math.floor((Date.now() - startTime) / 1000);
396
+ console.log(chalk_1.default.yellow(`[INFO] Setup in progress... (elapsed: ${formatDuration(totalWaitSecs)})`));
402
397
  console.log('');
403
- // Show timing breakdown so far
404
- if (timing.sshReady !== null) {
405
- console.log(chalk_1.default.blue('[INFO] === Timing So Far ==='));
406
- console.log(` SSH Ready: ${formatDuration(timing.sshReady)}`);
398
+ // Show timing breakdown so far (from server's perspective)
399
+ const timing = getTimingBreakdown(target.ipAddress, keyPath);
400
+ if (timing.sshReady !== null || timing.total !== null) {
401
+ console.log(chalk_1.default.blue('[INFO] === Server Timing ==='));
402
+ if (timing.sshReady !== null) {
403
+ console.log(` SSH Ready: ${formatDuration(timing.sshReady)} (from boot)`);
404
+ }
407
405
  if (timing.total !== null) {
408
- console.log(` Elapsed: ${formatDuration(timing.total)}`);
406
+ console.log(` Server Uptime: ${formatDuration(timing.total)}`);
409
407
  }
410
408
  console.log('');
411
409
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.85",
3
+ "version": "1.0.86",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {