aboutsummaryrefslogtreecommitdiff
path: root/modules/ext
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ext')
-rw-r--r--modules/ext/skill-pack-core.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/ext/skill-pack-core.js b/modules/ext/skill-pack-core.js
index f204e70..5c317a4 100644
--- a/modules/ext/skill-pack-core.js
+++ b/modules/ext/skill-pack-core.js
@@ -1054,8 +1054,10 @@ class SkillPackCoreModule {
// 1. Stale check
const mg = this.terminal?.moduleManager?.modules?.['MemoryGraphModule'];
var staleSkills = [];
+ var untracked = [];
if (mg && typeof mg.getStaleSkills === 'function') {
staleSkills = mg.getStaleSkills();
+ untracked = (typeof mg.getUntrackedSkills === 'function') ? mg.getUntrackedSkills() : [];
}
for (var s of staleSkills) {
if (!index[s.name] || index[s.name].immune) continue;
@@ -1093,6 +1095,9 @@ class SkillPackCoreModule {
this.terminal.print('Total skills: ' + allNames.length, 'info');
this.terminal.print('Healthy: ' + healthy, 'success');
this.terminal.print('Stale: ' + stale.length + (stale.length > 0 ? ' (' + stale.join(', ') + ')' : ''), stale.length > 0 ? 'warning' : 'info');
+ if (untracked.length) {
+ this.terminal.print('Untracked: ' + untracked.length + ' (no usage telemetry — NOT stale)', 'info');
+ }
this.terminal.print('Duplicates: ' + duplicates.length + (duplicates.length > 0 ? ' (' + duplicates.join(', ') + ')' : ''), duplicates.length > 0 ? 'warning' : 'info');
this.terminal.print('Broken refs: ' + brokenRefs, brokenRefs > 0 ? 'error' : 'info');
this.terminal.print('', '');