From cefc55021d03ef3a4fd97500a72b2ead52b5d850 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 08:25:34 +0000 Subject: [PATCH 1/2] Initial plan From d6c99596a0f6051a34649a3b56db9eafed1bc1be Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 08:29:12 +0000 Subject: [PATCH 2/2] Include src/ scripts in ui-bundle release zips alongside Python app build Agent-Logs-Url: https://github.com/axgd-code/ok_computer/sessions/88d6b3a0-a42e-4790-befb-abb10326514f Co-authored-by: axgd-code <1721781+axgd-code@users.noreply.github.com> --- .github/workflows/release.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b9eef11..e468ef6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -107,22 +107,28 @@ jobs: - name: Archive macOS app if: matrix.os == 'macos-latest' run: | - mkdir -p release - ditto -c -k --sequesterRsrc --keepParent ui/dist/ok_computer_ui.app release/ok_computer-ui-${{ matrix.asset_suffix }}-${{ steps.vars.outputs.tag }}.zip + mkdir -p release staging + cp -R ui/dist/ok_computer_ui.app staging/ + cp -R src staging/src + ditto -c -k --sequesterRsrc staging release/ok_computer-ui-${{ matrix.asset_suffix }}-${{ steps.vars.outputs.tag }}.zip - name: Archive Linux bundle if: matrix.os == 'ubuntu-latest' run: | - mkdir -p release - cd ui/dist - zip -qr ../../release/ok_computer-ui-${{ matrix.asset_suffix }}-${{ steps.vars.outputs.tag }}.zip ok_computer_ui + mkdir -p release staging + cp -R ui/dist/ok_computer_ui staging/ + cp -R src staging/src + cd staging + zip -qr ../release/ok_computer-ui-${{ matrix.asset_suffix }}-${{ steps.vars.outputs.tag }}.zip . - name: Archive Windows bundle if: matrix.os == 'windows-latest' shell: pwsh run: | - New-Item -ItemType Directory -Force -Path release | Out-Null - Compress-Archive -Path ui/dist/ok_computer_ui/* -DestinationPath release/ok_computer-ui-${{ matrix.asset_suffix }}-${{ steps.vars.outputs.tag }}.zip -Force + New-Item -ItemType Directory -Force -Path release, staging | Out-Null + Copy-Item -Recurse ui/dist/ok_computer_ui staging/ok_computer_ui + Copy-Item -Recurse src staging/src + Compress-Archive -Path staging/* -DestinationPath release/ok_computer-ui-${{ matrix.asset_suffix }}-${{ steps.vars.outputs.tag }}.zip -Force - name: Upload UI bundle to release uses: softprops/action-gh-release@v2