@@ -38,7 +38,7 @@ func DownloadPlugin(targetDir, ref string) (string, error) {
3838// downloadViaZip fetches the commit SHA first, downloads and extracts the ZIP archive,
3939// then promotes the plugins/auth0 subtree into targetDir.
4040func downloadViaZip (targetDir , ref string ) (string , error ) {
41- sha , err := fetchCommitSHA (ref )
41+ sha , err := FetchCommitSHA (ref )
4242 if err != nil {
4343 return "" , err
4444 }
@@ -63,7 +63,7 @@ func downloadViaZip(targetDir, ref string) (string, error) {
6363
6464 // GitHub flattens "/" in ref names to "-" in archive root directory names.
6565 archiveRef := strings .ReplaceAll (ref , "/" , "-" )
66- subtreeSrc := filepath .Join (tmpUnzipDir , "auth0- agent-skills-" + archiveRef , filepath .FromSlash (pluginSubtreePath ))
66+ subtreeSrc := filepath .Join (tmpUnzipDir , "agent-skills-" + archiveRef , filepath .FromSlash (pluginSubtreePath ))
6767
6868 if err := checkHasSkills (subtreeSrc ); err != nil {
6969 return "" , err
@@ -99,7 +99,7 @@ func checkHasSkills(dir string) error {
9999}
100100
101101// fetchCommitSHA fetches the latest commit SHA for ref from the GitHub API.
102- func fetchCommitSHA (ref string ) (string , error ) {
102+ func FetchCommitSHA (ref string ) (string , error ) {
103103 req , err := http .NewRequest (http .MethodGet , agentSkillsAPI + ref , nil )
104104 if err != nil {
105105 return "" , err
0 commit comments