mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-19 02:17:09 +00:00
The Library lists disabled skills under Off, but the panel had no way to turn one back on or to turn one off: that meant leaving Herdr for the CLI or the dashboard. A skill's or agent's preview now offers Disable, or Enable when it is disabled. It asks first, then runs skillshare disable / enable with the entry's own path, the pattern the dashboard writes, so enable removes exactly what disable added. The next sync applies the change. Exit 0 only means the entry's own line was written or was not there. A glob, a folder pattern or a negation in the .local file can still decide the other way, so the panel reads the list afterwards and reports an entry that did not change instead of claiming success. The confirm dialog shares the hook dialog's branch under the role "able": "toggle" is already the tab-bar button's role, and an overlay opened with it draws that button.