YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(cli): download mlx.metallib from GitHub releases for CLI bundle
Louis Beaumont8ffb73f8eee8
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex bd512ee6d..a1b33726a 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -204,15 +204,13 @@ jobs:cp target/${{ matrix.target }}/release/screenpipe screenpipe-${{ env.VERSION }}-${{ matrix.target }}/bin/# Bundle mlx.metallib next to CLI binary (macOS aarch64 only)- # MLX searches for mlx.metallib next to the binary at runtime+ # MLX searches for mlx.metallib next to the binary at runtime.+ # CI cmake uses JIT mode so metallib isn't compiled — download pre-built from GitHub releases.if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then- METALLIB=$(find "target/${{ matrix.target }}/release/build" -path "*/mlx-sys-*/mlx.metallib" -print -quit 2>/dev/null)- if [ -n "$METALLIB" ]; then- cp "$METALLIB" screenpipe-${{ env.VERSION }}-${{ matrix.target }}/bin/mlx.metallib- echo "✅ Bundled mlx.metallib for CLI"- else- echo "⚠️ mlx.metallib not found in build artifacts"- fi+ curl -L -f -o screenpipe-${{ env.VERSION }}-${{ matrix.target }}/bin/mlx.metallib \+ "https://github.com/screenpipe/screenpipe/releases/download/mlx-metallib-v0.2.0/mlx.metallib" \+ && echo "✅ Bundled mlx.metallib for CLI ($(du -h screenpipe-${{ env.VERSION }}-${{ matrix.target }}/bin/mlx.metallib | cut -f1))" \+ || echo "⚠️ Failed to download mlx.metallib"fitar -czf screenpipe-${{ env.VERSION }}-${{ matrix.target }}.tar.gz -C screenpipe-${{ env.VERSION }}-${{ matrix.target }} .