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
fix(lume): refresh local binary signatures safely
Francesco Bonacci0884aa9cc290
diff --git a/libs/lume/scripts/install-local.sh b/libs/lume/scripts/install-local.shindex 14954682d8..34e8e91fe6 100755--- a/libs/lume/scripts/install-local.sh+++ b/libs/lume/scripts/install-local.sh@@ -48,6 +48,12 @@ LUME_PORT=7777# Track whether we're using the .app bundle formatUSE_APP_BUNDLE=false+# Ad-hoc signatures can become invalid when stale provenance metadata is+# carried across rebuilds. Clear extended attributes before signing.+clear_signature_metadata() {+ xattr -c "$1" 2>/dev/null || true+}+# Parse command line argumentswhile [ "$#" -gt 0 ]; docase "$1" in@@ -164,6 +170,7 @@ build_lume() {fi# Sign the bundle+ clear_signature_metadata "$APP_BUNDLE/Contents/MacOS/lume"codesign --force --entitlements "$ENTITLEMENTS_FILE" --sign - "$APP_BUNDLE/Contents/MacOS/lume"codesign --force --sign - "$APP_BUNDLE"@@ -173,16 +180,19 @@ build_lume() {elseecho "${YELLOW}Warning: binary did not launch from .app bundle with bridged entitlement; falling back to standalone binary.${NORMAL}"ENTITLEMENTS_FILE="$LUME_DIR/resources/lume.local.entitlements"+ clear_signature_metadata "$BUILD_PATH/lume"codesign --force --entitlements "$ENTITLEMENTS_FILE" --sign - "$BUILD_PATH/lume"USE_APP_BUNDLE=falsefielse# Standard standalone binary (no .app bundle needed)+ clear_signature_metadata "$BUILD_PATH/lume"codesign --force --entitlements "$ENTITLEMENTS_FILE" --sign - "$BUILD_PATH/lume"# Verify the signed binary can launchif ! "$BUILD_PATH/lume" --version >/dev/null 2>&1; then- echo "${YELLOW}Warning: binary did not launch; this may indicate a signing issue.${NORMAL}"+ echo "${RED}Error: signed binary could not launch; refusing to install it.${NORMAL}"+ exit 1fiUSE_APP_BUNDLE=false@@ -222,6 +232,8 @@ WRAPPER_EOFecho "CLI available at ${BOLD}$INSTALL_DIR/lume${NORMAL}"else# Install as standalone binary+ # Replace the inode so taskgated does not reuse a stale signature cache.+ rm -f "$INSTALL_DIR/lume"cp -f "$BUILD_PATH/lume" "$INSTALL_DIR/lume"chmod +x "$INSTALL_DIR/lume"