From b16bae90438832c7c5fce38b0e0f3e50ec030a4f Mon Sep 17 00:00:00 2001 From: Brennan Benson <79079362+brennanb2025@users.noreply.github.com> Date: Thu, 23 Jul 2026 18:55:32 -0700 Subject: [PATCH] fix(macos): honor computer-use bundle id override in native orchestrator --- config/scripts/build-native-for-platform.mjs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/config/scripts/build-native-for-platform.mjs b/config/scripts/build-native-for-platform.mjs index a416fd99170..aa9e4b212b4 100755 --- a/config/scripts/build-native-for-platform.mjs +++ b/config/scripts/build-native-for-platform.mjs @@ -1,9 +1,15 @@ #!/usr/bin/env node import { spawnSync } from 'node:child_process' -import { resolveMacosPackageBundleIdentifiers } from './macos-package-bundle-identifiers.mjs' +import { + resolveMacosComputerUseBundleId, + resolveMacosPackageBundleIdentifiers +} from './macos-package-bundle-identifiers.mjs' -const { appBundleId, computerUseBundleId } = resolveMacosPackageBundleIdentifiers() +const { appBundleId } = resolveMacosPackageBundleIdentifiers() +// Why: resolves through the ORCA_COMPUTER_MACOS_BUNDLE_ID escape hatch so an +// explicit override still wins over the derived package identity. +const computerUseBundleId = resolveMacosComputerUseBundleId() if (process.platform === 'win32') { runNodeScript('config/scripts/build-windows-cli-launcher.mjs')