mdk-skills 2.2.6 → 2.2.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/package.json
CHANGED
package/scripts/web-ui/server.js
CHANGED
|
@@ -313,6 +313,7 @@ async function handleApi(req, res) {
|
|
|
313
313
|
if (method === "GET" && pathname === "/api/status") {
|
|
314
314
|
const settings = readSettings();
|
|
315
315
|
const userSkills = core.getUserSkills(claudeDest);
|
|
316
|
+
const pkgSkills = core.getPackageSkills(skillsSource);
|
|
316
317
|
const profiles = loadProfiles();
|
|
317
318
|
const activeProfile = profiles?.find(
|
|
318
319
|
(p) => p.id === settings._active_profile,
|
|
@@ -321,7 +322,7 @@ async function handleApi(req, res) {
|
|
|
321
322
|
const mdExists = fs.existsSync(path.join(projectRoot, "CLAUDE.md"));
|
|
322
323
|
return sendJSON(res, {
|
|
323
324
|
enabledCount,
|
|
324
|
-
totalCount:
|
|
325
|
+
totalCount: pkgSkills.length,
|
|
325
326
|
activeProfile: activeProfile
|
|
326
327
|
? { id: activeProfile.id, name: activeProfile.name }
|
|
327
328
|
: null,
|