@gravirei/reis 1.0.16 → 1.0.18

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.
@@ -19,8 +19,23 @@ module.exports = async function(args) {
19
19
  ██ ██ ███████ ██ ███████
20
20
  `));
21
21
 
22
- console.log(chalk.blue.bold(' REIS - Roadmap Execution & Implementation System'));
23
- console.log(chalk.gray(' Specially designed for Atlassian Rovo Dev\n'));
22
+ console.log(chalk.red.bold(' REIS - Uninstall'));
23
+ console.log(chalk.gray(' Remove REIS from your system\n'));
24
+
25
+ // Check if REIS is installed
26
+ const reisDir = path.join(os.homedir(), '.rovodev', 'reis');
27
+ const subagentsDir = path.join(os.homedir(), '.rovodev', 'subagents');
28
+ const subagents = ['reis_planner.md', 'reis_executor.md', 'reis_project_mapper.md'];
29
+
30
+ const reisExists = fs.existsSync(reisDir);
31
+ const subagentsExist = subagents.some(file => fs.existsSync(path.join(subagentsDir, file)));
32
+
33
+ if (!reisExists && !subagentsExist) {
34
+ console.log(chalk.yellow(' ⚠️ REIS is not installed\n'));
35
+ console.log(chalk.gray(' There is nothing to uninstall.'));
36
+ console.log(chalk.gray(' REIS files were not found in ~/.rovodev/\n'));
37
+ return;
38
+ }
24
39
 
25
40
  console.log(chalk.bold.red(' ⚠️ Uninstall REIS\n'));
26
41
  console.log(chalk.yellow(' This will remove:'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravirei/reis",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
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": {