fix/skills-loading-outside-home (default)
b12f215
fix(skills): follow symlinks in Discover()
Click to expand commit body
os.ReadDir returns DirEntry values whose IsDir() reports the symlink's own type, not the target's. When skill directories are symlinks (e.g. in ~/.config/agents/skills/), Discover() skipped them all. Use os.Stat on the resolved path to follow symlinks. References: https://github.com/boldsoftware/shelley/issues/83 Co-authored-by: Shelley <shelley@exe.dev>
Amolith and Shelley created