genbox 1.0.127 → 1.0.129

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.
@@ -153,7 +153,17 @@ exports.listCommand = new commander_1.Command('list')
153
153
  }
154
154
  }
155
155
  else {
156
- protectedInfo = chalk_1.default.dim(' [auto-destroy]');
156
+ // Check if auto-destroy is paused due to recent activity
157
+ const now = new Date();
158
+ const minutesInactive = genbox.lastActivityAt
159
+ ? Math.floor((now.getTime() - new Date(genbox.lastActivityAt).getTime()) / (60 * 1000))
160
+ : 999; // Assume inactive if no activity data
161
+ if (minutesInactive < 5) {
162
+ protectedInfo = chalk_1.default.green(' [auto-destroy paused]');
163
+ }
164
+ else {
165
+ protectedInfo = chalk_1.default.dim(' [auto-destroy]');
166
+ }
157
167
  }
158
168
  const namePart = chalk_1.default.cyan(nameWithProject.padEnd(nameWidth));
159
169
  const statusPart = statusColor(genbox.status.padEnd(statusWidth));
@@ -90,6 +90,7 @@ function handleStreamMessage(msg, options) {
90
90
  }
91
91
  }
92
92
  exports.runPromptCommand = new commander_1.Command('run-prompt')
93
+ .alias('run')
93
94
  .description('Run a Claude Code prompt on a remote genbox')
94
95
  .argument('<prompt>', 'The prompt to execute')
95
96
  .argument('[name]', 'Name of the genbox (optional - will prompt if not provided)')
@@ -344,7 +344,7 @@ exports.statusCommand = new commander_1.Command('status')
344
344
  console.log(chalk_1.default.green(` Protected from auto-destroy for: ${timeStr}`));
345
345
  }
346
346
  }
347
- // Auto-destroy warning (only show if NOT protected and inactive)
347
+ // Auto-destroy status (only show if NOT protected)
348
348
  if (billing.currentHourEnd) {
349
349
  const isProtected = billing.protectedUntil && new Date(billing.protectedUntil).getTime() > now.getTime();
350
350
  if (!isProtected) {
@@ -355,6 +355,9 @@ exports.statusCommand = new commander_1.Command('status')
355
355
  if (minutesInactive >= 5) {
356
356
  console.log(chalk_1.default.yellow(` Auto-destroy in: ${minutesUntilDestroy} min (inactive)`));
357
357
  }
358
+ else {
359
+ console.log(chalk_1.default.green(` Auto-destroy: paused (activity detected)`));
360
+ }
358
361
  }
359
362
  }
360
363
  }
@@ -9,11 +9,11 @@ const chalk_1 = __importDefault(require("chalk"));
9
9
  const GENBOX_SMALL_LOGO = `
10
10
  XXX
11
11
  XXX
12
- XXXXXXXXXXXX XXXXXXXXXX XXX XXXX XXX XXXXX XXXXXXXXXX XXXX XXXX
13
- XXXXXX XXXX XXXX XXX XXXXXX XXX XXXXXX XXXXXXXXXX XXXX XXXX
14
- XXXX XXXX XXXXXXXXXX XXXXXX XXXX XXXXX XXX XXX XXX XXXXX
15
- XXXX XX XXXX XXXX XXXXX XXXX XXXX XXX XXXXXXXXXX XXXX XXXX
16
- XXXX XXXXXXXXXX XXXX XXXX XXXXXXXXXXX XXXXXXXXXX XXXX XXXX
12
+ XXXXXXXXXXXX XXXXXXXXXX XXX XXXX XXX XXXXX XXXXXXXXXX XXXX XXXX
13
+ XXXXXX XXXX XXXX XXX XXXXXX XXX XXXXXX XXXXXXXXXX XXXX XXXX
14
+ XXXX XXXX XXXXXXXXXX XXXXXX XXXX XXXXX XXX XXX XXX XXXXXX
15
+ XXXX XX XXXX XXXX XXXXX XXXX XXXX XXX XXXXXXXXXX XXXX XXXX
16
+ XXXX XXXXXXXXXX XXXX XXXX XXXXXXXXXXX XXXXXXXXXX XXXX XXXX
17
17
  XXXXXXXXXXXX
18
18
  XXXXXXXXXXXX
19
19
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "genbox",
3
- "version": "1.0.127",
3
+ "version": "1.0.129",
4
4
  "description": "Genbox CLI - AI-Powered Development Environments",
5
5
  "main": "dist/index.js",
6
6
  "bin": {