feat: show names of user-modified skills in bundled skill sync summary
When 'hermes update' syncs bundled skills, the summary line only shows the count of user-modified skills that were kept (e.g. '3 user-modified (kept)'), but not *which* skills. Once the update finishes, the user has no way to know which skills need triage. Append the skill names to the summary line, truncated to 5 with a '+N more' suffix for long lists: Done: 12 new, 3 updated, 7 unchanged, 3 user-modified (kept): hermes-agent, debugging-hermes-tui-commands, system-health. 25 total bundled. Closes #28121
This commit is contained in:
@ -423,7 +423,12 @@ if __name__ == "__main__":
|
||||
f"{result['skipped']} unchanged",
|
||||
]
|
||||
if result["user_modified"]:
|
||||
parts.append(f"{len(result['user_modified'])} user-modified (kept)")
|
||||
names = result["user_modified"]
|
||||
MAX_SHOW = 5
|
||||
shown = ", ".join(names[:MAX_SHOW])
|
||||
if len(names) > MAX_SHOW:
|
||||
shown += f", +{len(names) - MAX_SHOW} more"
|
||||
parts.append(f"{len(names)} user-modified (kept): {shown}")
|
||||
if result["cleaned"]:
|
||||
parts.append(f"{len(result['cleaned'])} cleaned from manifest")
|
||||
print(f"\nDone: {', '.join(parts)}. {result['total_bundled']} total bundled.")
|
||||
|
||||
Reference in New Issue
Block a user