fix(install): audit 跳过 deprecated 技能,避免把不装的技能算成漂移
This commit is contained in:
@@ -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', '')
|
||||
|
||||
Reference in New Issue
Block a user