genbox 1.0.112 → 1.0.113

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.
@@ -451,24 +451,10 @@ exports.statusCommand = new commander_1.Command('status')
451
451
  console.log(chalk_1.default.dim(' Fix the error and run: cd ~/goodpass/api && docker compose up -d'));
452
452
  }
453
453
  else {
454
- // No saved errors - check if there's a docker compose error
455
- console.log(chalk_1.default.dim(' Checking for build errors...'));
456
- const buildResult = sshExec(target.ipAddress, keyPath, 'cd ~/goodpass/api 2>/dev/null && docker compose build 2>&1 | tail -60 || echo ""', 120);
457
- if (buildResult && (buildResult.includes('ERROR') || buildResult.includes('TS2') ||
458
- buildResult.includes('failed') || buildResult.includes('ELIFECYCLE'))) {
459
- console.log(chalk_1.default.red('[ERROR] Docker build failed:'));
460
- const lines = buildResult.split('\n');
461
- const errorLines = lines.filter(line => line.includes('ERROR') || line.includes('TS2') || line.includes('TS1') ||
462
- line.includes('failed') || line.includes('exit code') ||
463
- line.includes('>') || line.includes('^') ||
464
- line.match(/^\s*\d+\s*\|/)).slice(-20);
465
- console.log(errorLines.length > 0 ? errorLines.join('\n') : lines.slice(-25).join('\n'));
466
- console.log('');
467
- console.log(chalk_1.default.dim(' Fix the error and run: cd ~/goodpass/api && docker compose up -d'));
468
- }
469
- else {
470
- console.log(chalk_1.default.dim(' Try: cd ~/goodpass/api && docker compose up -d'));
471
- }
454
+ // No saved errors - just show suggestion to start services
455
+ // Don't run docker compose build over SSH (takes too long)
456
+ console.log(chalk_1.default.dim(' No build errors found. Services may not have started.'));
457
+ console.log(chalk_1.default.dim(' Try: cd ~/goodpass/api && docker compose up -d'));
472
458
  }
473
459
  }
474
460
  console.log('');
package/dist/index.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.112",
3
+ "version": "1.0.113",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -10,17 +10,6 @@
10
10
  "files": [
11
11
  "dist/**/*"
12
12
  ],
13
- "scripts": {
14
- "build": "tsc",
15
- "start": "node dist/index.js",
16
- "dev": "ts-node src/index.ts",
17
- "prepublishOnly": "npm run build",
18
- "publish:patch": "./scripts/publish.sh patch",
19
- "publish:minor": "./scripts/publish.sh minor",
20
- "publish:major": "./scripts/publish.sh major",
21
- "release": "./scripts/publish.sh patch",
22
- "test": "echo \"Error: no test specified\" && exit 1"
23
- },
24
13
  "keywords": [
25
14
  "genbox",
26
15
  "ai",
@@ -65,5 +54,15 @@
65
54
  "inquirer": "^13.0.2",
66
55
  "js-yaml": "^4.1.1",
67
56
  "ora": "^9.0.0"
57
+ },
58
+ "scripts": {
59
+ "build": "tsc",
60
+ "start": "node dist/index.js",
61
+ "dev": "ts-node src/index.ts",
62
+ "publish:patch": "./scripts/publish.sh patch",
63
+ "publish:minor": "./scripts/publish.sh minor",
64
+ "publish:major": "./scripts/publish.sh major",
65
+ "release": "./scripts/publish.sh patch",
66
+ "test": "echo \"Error: no test specified\" && exit 1"
68
67
  }
69
- }
68
+ }