@qubiit/lmagent 2.5.6 → 2.5.7
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.
- package/install.js +5 -1
- package/package.json +2 -2
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.
|
|
340
|
+
.version('2.5.7'); // Version bump
|
|
341
341
|
|
|
342
342
|
program.command('install')
|
|
343
343
|
.description('Instalar skills, rules y workflows en el IDE del proyecto')
|
|
@@ -658,6 +658,10 @@ 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)`));
|
|
663
|
+
return;
|
|
664
|
+
}
|
|
661
665
|
if (fs.existsSync(dest) || (fs.existsSync(path.dirname(dest)) && fs.readdirSync(path.dirname(dest)).includes(path.basename(dest)))) {
|
|
662
666
|
try {
|
|
663
667
|
const stat = fs.statSync(dest);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "2.5.
|
|
6
|
+
"version": "2.5.7",
|
|
7
7
|
"description": "CLI to install LMAgent skills and rules into your IDE",
|
|
8
8
|
"main": "install.js",
|
|
9
9
|
"bin": {
|
|
@@ -32,4 +32,4 @@
|
|
|
32
32
|
"gradient-string": "^3.0.0",
|
|
33
33
|
"inquirer": "^8.2.6"
|
|
34
34
|
}
|
|
35
|
-
}
|
|
35
|
+
}
|