@gravirei/reis 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/bin/reis.js +22 -2
  2. package/package.json +1 -1
package/bin/reis.js CHANGED
@@ -305,8 +305,10 @@ program.action(async () => {
305
305
  console.log(chalk.white(' 1) Install REIS'));
306
306
  console.log(chalk.white(' 2) Cancel\n'));
307
307
 
308
+ let choice = '1';
309
+
308
310
  try {
309
- const { choice } = await inquirer.prompt([
311
+ const result = await inquirer.prompt([
310
312
  {
311
313
  type: 'input',
312
314
  name: 'choice',
@@ -321,6 +323,7 @@ program.action(async () => {
321
323
  }
322
324
  ]);
323
325
 
326
+ choice = result.choice;
324
327
  console.log('');
325
328
 
326
329
  if (choice === '2') {
@@ -346,7 +349,24 @@ program.action(async () => {
346
349
  console.log(chalk.white('\n For help, run: ') + chalk.cyan('npx @gravirei/reis help\n'));
347
350
 
348
351
  } catch (err) {
349
- console.log(chalk.yellow(' Installation cancelled\n'));
352
+ // inquirer failed, auto-install as default (choice was '1')
353
+ console.log(chalk.gray(' Non-interactive mode - installing automatically...\n'));
354
+ console.log(chalk.cyan(' Installing to ~/.rovodev/reis/\n'));
355
+
356
+ // Show installation progress
357
+ console.log(chalk.green(' ✓ Installed documentation'));
358
+ console.log(chalk.green(' ✓ Installed templates'));
359
+ console.log(chalk.green(' ✓ Installed subagents'));
360
+ console.log(chalk.green(` ✓ Wrote VERSION (${packageJson.version})`));
361
+ console.log(chalk.green(' ✓ Configured REIS\n'));
362
+
363
+ // Actually run the install
364
+ const install = require('../lib/install.js');
365
+
366
+ // Show completion message
367
+ console.log(chalk.bold.green(' 🎉 Congratulations! ') + chalk.white('REIS is now in your system.'));
368
+ console.log(chalk.white(' Open Atlassian Rovo Dev and try: ') + chalk.cyan('use reis_planner') + chalk.white(' or ') + chalk.cyan('use reis_executor'));
369
+ console.log(chalk.white('\n For help, run: ') + chalk.cyan('npx @gravirei/reis help\n'));
350
370
  }
351
371
  }
352
372
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravirei/reis",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Roadmap Execution & Implementation System - Systematic development with parallel subagent execution for Atlassian Rovo Dev",
5
5
  "main": "lib/index.js",
6
6
  "bin": {