Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.
Rust agentai-agentapplecomputer-usecomputer-use-agentcontainerizationcuadesktop-automationhacktoberfestlumemacosmanusoperatorswiftvirtualizationvirtualization-frameworkwindowswindows-sandbox
Install.sh: Change github API calls from `tags` to `releases` (#867)
Taylor Brownc4d0911e434c
diff --git a/libs/lume/scripts/install.sh b/libs/lume/scripts/install.shindex 3343f6541a..8602b3c410 100755--- a/libs/lume/scripts/install.sh+++ b/libs/lume/scripts/install.sh@@ -171,9 +171,9 @@ get_latest_lume_tag() {while [ $page -le $max_pages ]; doecho "Checking page $page..." >&2- local response=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/tags?per_page=$per_page&page=$page")+ local response=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/releases?per_page=$per_page&page=$page")- if [ -z "$response" ] || [ "$(echo "$response" | grep -c '"name":')" -eq 0 ]; then+ if [ -z "$response" ] || [ "$(echo "$response" | grep -c '"tag_name"')" -eq 0 ]; thenif [ $page -eq 1 ]; thenecho "${RED}Error: Failed to fetch tags from GitHub API.${NORMAL}" >&2exit 1@@ -184,7 +184,7 @@ get_latest_lume_tag() {fiLUME_TAG=$(echo "$response" \- | grep '"name": "lume-' \+ | grep -oE '"tag_name":\s*"lume-[^"]*"' \| head -n 1 \| cut -d '"' -f 4)@@ -356,13 +356,13 @@ get_latest_tag() {local max_pages=5while [ $page -le $max_pages ]; do- local response=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/tags?per_page=$per_page&page=$page")+ local response=$(curl -s "https://api.github.com/repos/$GITHUB_REPO/releases?per_page=$per_page&page=$page")if [ -z "$response" ]; thenreturn 1fi- local tag=$(echo "$response" | grep '"name": "lume-' | head -n 1 | cut -d '"' -f 4)+ local tag=$(echo "$response" | grep -oE '"tag_name":\s*"lume-[^"]*"' | head -n 1 | cut -d '"' -f 4)if [ -n "$tag" ]; thenecho "$tag"