Files
skillshare/internal
Willie ac1d4b4387 fix(list): show every target sync placed a skill or agent in (#562)
* fix(list): show every target sync placed a skill or agent in

The Targets row of the list detail panel only looked for a symlink named
after the skill's flat name in the target's skills folder. It therefore
left out targets that sync fills in copy mode, targets linked whole in
symlink mode, targets using standard or prefixed naming, and every agent
target (agents were looked up in the skills folder). Targets with skills
turned off were still listed.

The row now asks sync's own name resolution and manifest which entry a
target holds for the skill, and checks agents in their resolved agents
folder by mode or extension output. Each target is resolved once per load
so moving through a large source under standard naming stays fast.

* fix(list): drop a skill's targets as soon as it is disabled in the TUI

Pressing t updated the row's disabled flag but not the discovered skills
that sync's name resolution reads, so the open list kept showing the
skill's targets while a reopened list, which rediscovers it as disabled,
showed none. The toggle now updates that flag too, so both agree: a
disabled skill lists no target, since the next sync removes its entries.
2026-10-14 01:47:30 +08:00
..