@qubiit/lmagent 3.1.7 → 3.1.9

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.
@@ -1,6 +1,6 @@
1
1
  # 🚀 LMAgent Bootstrap — Instrucciones Iniciales
2
2
 
3
- > **Tipo**: `rule` | **Versión**: 3.1.7 | **Prioridad**: MÁXIMA
3
+ > **Tipo**: `rule` | **Versión**: 3.1.9 | **Prioridad**: MÁXIMA
4
4
  > Esta regla se aplica **SIEMPRE** como primer paso antes de cualquier tarea.
5
5
 
6
6
  ---
package/install.js CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
@@ -373,8 +373,6 @@ if (process.argv.length === 2) {
373
373
  program.parse();
374
374
  }
375
375
 
376
-
377
- // Helper for Windows-proof path comparison
378
376
  function arePathsEqual(p1, p2) {
379
377
  if (!p1 || !p2) return false;
380
378
  return path.resolve(p1).toLowerCase() === path.resolve(p2).toLowerCase();
@@ -1510,5 +1508,13 @@ function getAllItemsFlat(dir) {
1510
1508
  }
1511
1509
 
1512
1510
 
1513
- // Execute CLI
1514
- program.parse(process.argv);
1511
+ // Execute CLI only if run directly
1512
+ if (require.main === module) {
1513
+ if (process.argv.length === 2) {
1514
+ runInstall({});
1515
+ } else {
1516
+ program.parse(process.argv);
1517
+ }
1518
+ }
1519
+
1520
+ module.exports = { IDE_CONFIGS };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "3.1.7",
6
+ "version": "3.1.9",
7
7
  "files": [
8
8
  "install.js",
9
9
  "README.md",
@@ -75,7 +75,6 @@
75
75
  "author": "Leandro Martín Alvarez (QuBiit)",
76
76
  "license": "MIT",
77
77
  "dependencies": {
78
- "@qubiit/lmagent": "file:qubiit-lmagent-3.1.6.tgz",
79
78
  "boxen": "^8.0.1",
80
79
  "chalk": "^4.1.2",
81
80
  "commander": "^13.1.0",
@@ -75,7 +75,7 @@ function analyze(options = {}) {
75
75
  const projectRoot = process.cwd();
76
76
 
77
77
  // Detectar qué agentes están instalados
78
- const IDE_CONFIGS = require('../install.js'); // No disponible como export, usamos detección manual
78
+ // Detectar qué agentes están instalados
79
79
  const agentDirs = [
80
80
  { name: 'Cursor', rulesDir: '.cursor/rules', skillsDir: '.cursor/skills' },
81
81
  { name: 'Claude Code', rulesDir: '.claude/rules', skillsDir: '.claude/skills' },