@gethmy/mcp 2.1.2 → 2.1.3
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/dist/cli.js +6 -2
- package/dist/lib/tui/setup.js +8 -2
- package/package.json +1 -1
- package/src/tui/setup.ts +8 -2
package/dist/cli.js
CHANGED
|
@@ -33467,7 +33467,9 @@ async function runSetup(options = {}) {
|
|
|
33467
33467
|
console.log(` ${colors.bold("Project:")} ${selectedProjectName || selectedProjectId}`);
|
|
33468
33468
|
}
|
|
33469
33469
|
if (allFiles.length > 0) {
|
|
33470
|
-
const summary = getWriteSummary(allFiles, {
|
|
33470
|
+
const summary = getWriteSummary(allFiles, {
|
|
33471
|
+
force: options.force || needsSkills
|
|
33472
|
+
});
|
|
33471
33473
|
if (summary.toCreate.length > 0) {
|
|
33472
33474
|
console.log("");
|
|
33473
33475
|
console.log(` ${colors.success("Files to create:")}`);
|
|
@@ -33508,7 +33510,9 @@ async function runSetup(options = {}) {
|
|
|
33508
33510
|
}
|
|
33509
33511
|
console.log("");
|
|
33510
33512
|
if (allFiles.length > 0) {
|
|
33511
|
-
await writeFilesWithProgress(allFiles, {
|
|
33513
|
+
await writeFilesWithProgress(allFiles, {
|
|
33514
|
+
force: options.force || needsSkills
|
|
33515
|
+
});
|
|
33512
33516
|
}
|
|
33513
33517
|
if (allSymlinks.length > 0) {
|
|
33514
33518
|
for (const symlink of allSymlinks) {
|
package/dist/lib/tui/setup.js
CHANGED
|
@@ -626,7 +626,9 @@ export async function runSetup(options = {}) {
|
|
|
626
626
|
console.log(` ${colors.bold("Project:")} ${selectedProjectName || selectedProjectId}`);
|
|
627
627
|
}
|
|
628
628
|
if (allFiles.length > 0) {
|
|
629
|
-
const summary = getWriteSummary(allFiles, {
|
|
629
|
+
const summary = getWriteSummary(allFiles, {
|
|
630
|
+
force: options.force || needsSkills,
|
|
631
|
+
});
|
|
630
632
|
if (summary.toCreate.length > 0) {
|
|
631
633
|
console.log("");
|
|
632
634
|
console.log(` ${colors.success("Files to create:")}`);
|
|
@@ -668,8 +670,12 @@ export async function runSetup(options = {}) {
|
|
|
668
670
|
}
|
|
669
671
|
console.log("");
|
|
670
672
|
// Step 7: Write files
|
|
673
|
+
// Force-write when user chose to reinstall skills — skill files are
|
|
674
|
+
// package-generated content that should always match the installed version.
|
|
671
675
|
if (allFiles.length > 0) {
|
|
672
|
-
await writeFilesWithProgress(allFiles, {
|
|
676
|
+
await writeFilesWithProgress(allFiles, {
|
|
677
|
+
force: options.force || needsSkills,
|
|
678
|
+
});
|
|
673
679
|
}
|
|
674
680
|
// Step 8: Create symlinks
|
|
675
681
|
if (allSymlinks.length > 0) {
|
package/package.json
CHANGED
package/src/tui/setup.ts
CHANGED
|
@@ -797,7 +797,9 @@ export async function runSetup(options: SetupOptions = {}): Promise<void> {
|
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
if (allFiles.length > 0) {
|
|
800
|
-
const summary = getWriteSummary(allFiles, {
|
|
800
|
+
const summary = getWriteSummary(allFiles, {
|
|
801
|
+
force: options.force || needsSkills,
|
|
802
|
+
});
|
|
801
803
|
|
|
802
804
|
if (summary.toCreate.length > 0) {
|
|
803
805
|
console.log("");
|
|
@@ -850,8 +852,12 @@ export async function runSetup(options: SetupOptions = {}): Promise<void> {
|
|
|
850
852
|
console.log("");
|
|
851
853
|
|
|
852
854
|
// Step 7: Write files
|
|
855
|
+
// Force-write when user chose to reinstall skills — skill files are
|
|
856
|
+
// package-generated content that should always match the installed version.
|
|
853
857
|
if (allFiles.length > 0) {
|
|
854
|
-
await writeFilesWithProgress(allFiles, {
|
|
858
|
+
await writeFilesWithProgress(allFiles, {
|
|
859
|
+
force: options.force || needsSkills,
|
|
860
|
+
});
|
|
855
861
|
}
|
|
856
862
|
|
|
857
863
|
// Step 8: Create symlinks
|