mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-01 07:01:41 +00:00
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:
parent
aedb8ac83b
commit
58591d9e34
1 changed files with 6 additions and 1 deletions
|
|
@ -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.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue