mirror of
https://github.com/runkids/skillshare.git
synced 2026-11-20 12:23:22 +00:00
reinstallAgent previously called install.Install() which expects directory-based skill installation. Agent sources point to .md files, so the subdir resolver rejected them. Now uses DiscoverFromGit/DiscoverFromGitSubdir + InstallAgentFromDiscovery which correctly handles single-file agent copies. Also preserves the original repo subdir scope for monorepo installs and reconstructs the correct destination subdirectory for grouped agents.