@qubiit/lmagent 2.5.7 → 2.5.8

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/install.js +7 -3
  2. package/package.json +1 -1
package/install.js CHANGED
@@ -337,7 +337,7 @@ const IDE_CONFIGS = [
337
337
  program
338
338
  .name('lmagent')
339
339
  .description('CLI para instalar skills y reglas de LMAgent')
340
- .version('2.5.7'); // Version bump
340
+ .version('2.5.8'); // Version bump
341
341
 
342
342
  program.command('install')
343
343
  .description('Instalar skills, rules y workflows en el IDE del proyecto')
@@ -658,8 +658,12 @@ async function runInstall(options) {
658
658
  }
659
659
 
660
660
  async function applyFile(source, dest, method) {
661
- if (path.resolve(source) === path.resolve(dest)) {
662
- // console.log(chalk.gray(` (Skipping: Source and destination are the same)`));
661
+ const srcPath = path.resolve(source);
662
+ const destPath = path.resolve(dest);
663
+
664
+ // Case-insensitive check for Windows compatibility
665
+ if (srcPath.toLowerCase() === destPath.toLowerCase()) {
666
+ // console.log(chalk.gray(` (Skipping self-install: ${path.basename(source)})`));
663
667
  return;
664
668
  }
665
669
  if (fs.existsSync(dest) || (fs.existsSync(path.dirname(dest)) && fs.readdirSync(path.dirname(dest)).includes(path.basename(dest)))) {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.5.7",
6
+ "version": "2.5.8",
7
7
  "description": "CLI to install LMAgent skills and rules into your IDE",
8
8
  "main": "install.js",
9
9
  "bin": {