fix(install): audit 跳过 deprecated 技能,避免把不装的技能算成漂移

This commit is contained in:
johnQ
2026-10-31 22:19:32 +08:00
parent a7a753b833
commit 7d47762303
+2
View File
@@ -478,6 +478,8 @@ for pj in sorted(root.glob('skills-*/*-plugin/.claude-plugin/plugin.json')):
name = meta.get('install_name')
if not name: continue
status = meta.get('status', 'promoted')
if status == 'deprecated':
continue
want = meta.get('version', '')
got = state.get(name, {}).get('version', '')
itype = state.get(name, {}).get('install_type', '')