@qubiit/lmagent 3.1.8 → 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.8 | **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
@@ -1508,9 +1508,13 @@ function getAllItemsFlat(dir) {
1508
1508
  }
1509
1509
 
1510
1510
 
1511
- // Execute CLI
1512
- if (process.argv.length === 2) {
1513
- runInstall({});
1514
- } else {
1515
- 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
+ }
1516
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.8",
6
+ "version": "3.1.9",
7
7
  "files": [
8
8
  "install.js",
9
9
  "README.md",
@@ -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' },