File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ download_skills_batch() {
459459
460460 # Download entire repo as tarball (single request)
461461 print_info " Downloading skills package..."
462- curl -fsSL " https://api. github.com/repos/ ReScienceLab/opc-skills/tarball " \
462+ curl -fsSL " https://github.com/ReScienceLab/opc-skills/archive/refs/heads/main.tar.gz " \
463463 -o " $temp_tar " 2> /dev/null || {
464464 print_error " Failed to download skills package"
465465 return 1
@@ -473,8 +473,8 @@ download_skills_batch() {
473473 return 1
474474 }
475475
476- # Find extracted directory (contains commit hash in name )
477- local extracted_dir=$( ls -d " $temp_dir " /ReScienceLab- opc-skills-* 2> /dev/null | head -1)
476+ # Find extracted directory (opc-skills-main for direct archive URL )
477+ local extracted_dir=$( ls -d " $temp_dir " /opc-skills-* 2> /dev/null | head -1)
478478
479479 if [ -z " $extracted_dir " ] || [ ! -d " $extracted_dir /skills" ]; then
480480 print_error " Invalid skills package structure"
You can’t perform that action at this time.
0 commit comments