openkbs 0.0.77 → 0.0.78
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/package.json +1 -1
- package/src/actions.js +12 -12
- package/version.json +2 -2
package/package.json
CHANGED
package/src/actions.js
CHANGED
|
@@ -800,18 +800,7 @@ async function updateSkillsAction(silent = false) {
|
|
|
800
800
|
return;
|
|
801
801
|
}
|
|
802
802
|
|
|
803
|
-
//
|
|
804
|
-
if (localVersion === remoteVersion) {
|
|
805
|
-
console.green('OpenKBS skill is already up to date.');
|
|
806
|
-
return;
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
console.log(`Updating OpenKBS skill from version ${localVersion || 'not installed'} to ${remoteVersion}...`);
|
|
810
|
-
|
|
811
|
-
// Download updated skill files from S3
|
|
812
|
-
await downloadSkillsFromS3(skillsDir);
|
|
813
|
-
|
|
814
|
-
// Also download the root CLAUDE.md file
|
|
803
|
+
// Always download the root CLAUDE.md file (even if skills are up to date)
|
|
815
804
|
const claudeDir = path.join(process.cwd(), '.claude');
|
|
816
805
|
await fs.ensureDir(claudeDir);
|
|
817
806
|
|
|
@@ -840,6 +829,17 @@ async function updateSkillsAction(silent = false) {
|
|
|
840
829
|
}
|
|
841
830
|
}
|
|
842
831
|
|
|
832
|
+
// Compare versions
|
|
833
|
+
if (localVersion === remoteVersion) {
|
|
834
|
+
console.green('OpenKBS skill is already up to date.');
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
console.log(`Updating OpenKBS skill from version ${localVersion || 'not installed'} to ${remoteVersion}...`);
|
|
839
|
+
|
|
840
|
+
// Download updated skill files from S3
|
|
841
|
+
await downloadSkillsFromS3(skillsDir);
|
|
842
|
+
|
|
843
843
|
console.green('OpenKBS skill updated successfully!');
|
|
844
844
|
|
|
845
845
|
} catch (error) {
|
package/version.json
CHANGED