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 composite again (#857)
Neptune2507eb924a18
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.ymlindex 028b2ea20..50ad8cb94 100644--- a/.github/workflows/release-app.yml+++ b/.github/workflows/release-app.yml@@ -113,14 +113,17 @@ jobs:args: "--target aarch64-apple-darwin --features metal,beta"target: aarch64-apple-darwintauri-args: "--target aarch64-apple-darwin"+ shell: bash- platform: "macos-latest" # for Intel based macs.args: "--target x86_64-apple-darwin --features metal,beta"target: x86_64-apple-darwintauri-args: "--target x86_64-apple-darwin"+ shell: bash- platform: [self-hosted, Windows, X64] # Windows x86_64args: "--target x86_64-pc-windows-msvc --features mkl" # TODO CUDA --features "openblas"pre-build-args: "" # --openblastauri-args: "--target x86_64-pc-windows-msvc"+ shell: pwshruns-on: ${{ matrix.platform }}steps:@@ -129,7 +132,8 @@ jobs:ref: ${{ github.event.inputs.commit_hash || github.ref }}- name: Run steps- uses: ./.github/workflows/windows-steps+ uses: ./.github/workflows/steps+ secrets: inheritretry-win:needs: publish-tauri@@ -144,6 +148,7 @@ jobs:args: "--target x86_64-pc-windows-msvc --features mkl" # TODO CUDA --features "openblas"pre-build-args: "" # --openblastauri-args: "--target x86_64-pc-windows-msvc"+ shell: pwshruns-on: ${{ matrix.platform }}steps:@@ -152,4 +157,5 @@ jobs:ref: ${{ github.event.inputs.commit_hash || github.ref }}- name: Run steps- uses: ./.github/workflows/windows-steps+ uses: ./.github/workflows/steps+ secrets: inheritdiff --git a/.github/workflows/windows-steps/action.yml b/.github/workflows/steps/action.ymlsimilarity index 79%rename from .github/workflows/windows-steps/action.ymlrename to .github/workflows/steps/action.ymlindex 7fa3ad9c7..45b8150bb 100644--- a/.github/workflows/windows-steps/action.yml+++ b/.github/workflows/steps/action.yml@@ -13,6 +13,7 @@ runs:- name: Update version in Cargo.tomlif: github.event.inputs.commit_hash && github.event.inputs.version && matrix.platform == 'macos-latest'+ shell: bashrun: |sed -i '' 's/^version = ".*"/version = "${{ github.event.inputs.version }}"/' screenpipe-app-tauri/src-tauri/Cargo.toml@@ -33,6 +34,7 @@ runs:- name: Install Rustif: matrix.tauri-args == '--target x86_64-pc-windows-msvc'+ shell: pwshrun: |Invoke-WebRequest https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-gnu/rustup-init.exe -OutFile rustup-init.exe.\rustup-init.exe -y@@ -89,10 +91,12 @@ runs:- name: Install dependenciesif: matrix.platform == 'macos-latest'+ shell: bashrun: |brew install ffmpeg- name: Install frontend dependencies+ shell: ${{ matrix.shell }}working-directory: ./screenpipe-app-taurirun: bun install@@ -128,13 +132,15 @@ runs:directory: "C:\\Program Files\\LLVM"- name: Run pre_build.js+ shell: ${{ matrix.shell }}env:SKIP_SCREENPIPE_SETUP: true- run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}- working-directory: ./screenpipe-app-tauri+ run: bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}+ working-directory: ./screenpipe-app-tauri- name: Build CLIif: matrix.tauri-args != '--target x86_64-pc-windows-msvc'+ shell: bashrun: |if [[ "${{ matrix.platform }}" == "macos-latest" ]]; thenexport PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"@@ -145,14 +151,16 @@ runs:- name: Build CLI on Windowsif: matrix.tauri-args == '--target x86_64-pc-windows-msvc'+ shell: pwshenv:CARGO_PROFILE_RELEASE_STRIP: symbolsCARGO_PROFILE_RELEASE_PANIC: abortCARGO_PROFILE_RELEASE_INCREMENTAL: false- run: cargo build --release -p screenpipe-server ${{ matrix.args }}+ run: cargo build --release -p screenpipe-server ${{ matrix.args }}- # Run pre build again to copy the CLI into app+ # Run pre build again to copy the CLI into app- name: Run pre_build.js+ shell: ${{ matrix.shell }}run: |bun ./scripts/pre_build.js ${{ matrix.pre-build-args }}working-directory: ./screenpipe-app-tauri@@ -165,6 +173,7 @@ runs:- name: Copy library for MKLif: matrix.tauri-args == '--target x86_64-pc-windows-msvc'+ shell: pwshrun: |# Install pip firstInvoke-WebRequest -Uri https://bootstrap.pypa.io/get-pip.py -OutFile get-pip.py@@ -183,29 +192,29 @@ runs:TAURI_SIGNING_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}# for release- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- # for macos signing- APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}- APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}- APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}- APPLE_ID: ${{ secrets.APPLE_ID }}- APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}- APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}- # https://tauri.app/v1/guides/distribution/sign-macos- CI: true- # Optimize for build speed on Windows- CARGO_PROFILE_RELEASE_LTO: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'thin' || 'false' }}- CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '2' || '3' }}- CARGO_PROFILE_RELEASE_CODEGEN_UNITS: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '16' || '16' }}- # Enable incremental compilation for Windows- CARGO_INCREMENTAL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'true' || 'false' }}- # Windows specific optimizations (only applied when building for Windows)- CARGO_PROFILE_RELEASE_STRIP: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'symbols' || 'none' }}- CARGO_PROFILE_RELEASE_PANIC: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'abort' || 'unwind' }}- CARGO_PROFILE_RELEASE_INCREMENTAL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'false' || 'true' }}- RUSTFLAGS: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '-C target-feature=+crt-static -C link-arg=/LTCG' || '' }}- VCPKG_STATIC_LINKAGE: "true"- KNF_STATIC_CRT: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '1' || '' }}+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ # for macos signing+ APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}+ APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}+ APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}+ APPLE_ID: ${{ secrets.APPLE_ID }}+ APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}+ APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}+ # https://tauri.app/v1/guides/distribution/sign-macos+ CI: true+ # Optimize for build speed on Windows+ CARGO_PROFILE_RELEASE_LTO: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'thin' || 'false' }}+ CARGO_PROFILE_RELEASE_OPT_LEVEL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '2' || '3' }}+ CARGO_PROFILE_RELEASE_CODEGEN_UNITS: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '16' || '16' }}+ # Enable incremental compilation for Windows+ CARGO_INCREMENTAL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'true' || 'false' }}+ # Windows specific optimizations (only applied when building for Windows)+ CARGO_PROFILE_RELEASE_STRIP: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'symbols' || 'none' }}+ CARGO_PROFILE_RELEASE_PANIC: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'abort' || 'unwind' }}+ CARGO_PROFILE_RELEASE_INCREMENTAL: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && 'false' || 'true' }}+ RUSTFLAGS: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '-C target-feature=+crt-static -C link-arg=/LTCG' || '' }}+ VCPKG_STATIC_LINKAGE: "true"+ KNF_STATIC_CRT: ${{ matrix.tauri-args == '--target x86_64-pc-windows-msvc' && '1' || '' }}with:args: ${{ matrix.tauri-args }}projectPath: "./screenpipe-app-tauri"