A desktop coding agent with free access to frontier models.
TypeScript
fix: build checks look for the new engine
ogsamrat330e8668c159
diff --git a/.github/workflows/build-electron-desktop.yml b/.github/workflows/build-electron-desktop.ymlindex 105aa9f0..efbbc663 100644--- a/.github/workflows/build-electron-desktop.yml+++ b/.github/workflows/build-electron-desktop.yml@@ -358,13 +358,13 @@ jobs:run: |set -euo pipefailapp=$(find apps/desktop/dist-electron -maxdepth 2 -name '*.app' -type d | head -n 1)- engine="$app/Contents/Resources/sidecars/opencode-aarch64-apple-darwin"+ engine="$app/Contents/Resources/sidecars/opencode2-aarch64-apple-darwin"codesign --verify --strict --verbose=2 "$engine"codesign -dv --verbose=4 "$engine" 2>&1 | grep -E '^(Authority|TeamIdentifier|Runtime|Identifier)'codesign -dv --verbose=4 "$engine" 2>&1 | grep -q '^Authority=Developer ID Application' || { echo "the bundled engine is not Developer ID signed" >&2; exit 1; }version=$("$engine" --version)echo "bundled engine: $version"- test "$version" = "$(node -p "require('./apps/desktop/scripts/engine-release.json').version")"+ test "$version" = "omnirush v$(node -p "require('./apps/desktop/scripts/engine-v2-release.json').version")"# The notarized app must accept and start its own bundled engine (signing rewrites the engine# after packaging records its sha256): the app's own checks with its own runtime, then a real start.diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.ymlindex 1d7416db..0533ecb6 100644--- a/.github/workflows/ci-tests.yml+++ b/.github/workflows/ci-tests.yml@@ -86,7 +86,7 @@ jobs:~/.cache/electron~/.cache/electron-builderapps/desktop/resources/sidecars- key: ${{ runner.os }}-${{ runner.arch }}-desktop-smoke-${{ hashFiles('constants.json', 'pnpm-lock.yaml', 'apps/desktop/scripts/prepare-sidecar.mjs', 'apps/desktop/scripts/engine-release.json') }}+ key: ${{ runner.os }}-${{ runner.arch }}-desktop-smoke-${{ hashFiles('constants.json', 'pnpm-lock.yaml', 'apps/desktop/scripts/prepare-sidecar.mjs', 'apps/desktop/scripts/engine-release.json', 'apps/desktop/scripts/engine-v2-release.json') }}- name: Setup testsid: setupuses: ./.github/actions/setup-testsdiff --git a/.github/workflows/linux-packages.yml b/.github/workflows/linux-packages.ymlindex 008a99f0..2e2fa095 100644--- a/.github/workflows/linux-packages.yml+++ b/.github/workflows/linux-packages.yml@@ -12,6 +12,7 @@ on:- apps/desktop/electron-builder*.yml- apps/desktop/scripts/prepare-sidecar.mjs- apps/desktop/scripts/engine-release.json+ - apps/desktop/scripts/engine-v2-release.json- packaging/aur/**- scripts/aur/**- .github/workflows/release-desktop.yml@@ -118,7 +119,7 @@ jobs:echo "launcher -> $(readlink -f /usr/bin/omnirush)"file -L /usr/bin/omnirush | tee /dev/stderr | grep -q "${{ matrix.file_arch }}"install_dir=$(dirname "$(readlink -f /usr/bin/omnirush)")- target_sidecar="$install_dir/resources/sidecars/opencode-${{ matrix.target }}"+ target_sidecar="$install_dir/resources/sidecars/opencode2-${{ matrix.target }}"file -L "$target_sidecar" | tee /dev/stderr | grep -q "${{ matrix.file_arch }}"test ! -e "$install_dir/resources/sidecars/opencode"# Still running when the timer fires (exit 124) = it started.