Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.
TypeScript adeagent-ideai-agentsautomationbotclaude-codecodexghosttygrok-bothermes-agentmobile-appmuseopenclawopencodeorchestrationpiruntimeterminalworktreesyc-backed
import Testing
@testable import OrcaComputerUseMacOSCore
@Suite("TrustedOrcaApplication")
struct TrustedOrcaApplicationTests {
@Test("trusts the packaged app, every dev build and stock Electron")
func trusted() {
#expect(TrustedOrcaApplication.isTrusted(bundleId: "com.stablyai.orca"))
// What `pnpm dev` launches as: DEV_BUNDLE_ID in dev-electron-bundle-identity.mjs (#26498).
#expect(TrustedOrcaApplication.isTrusted(bundleId: "com.stablyai.orca.dev"))
#expect(TrustedOrcaApplication.isTrusted(bundleId: "com.stablyai.orca.dev.worktree"))
#expect(TrustedOrcaApplication.isTrusted(bundleId: "com.github.Electron"))
}
@Test("rejects look-alike and unrelated bundle ids")
func untrusted() {
#expect(!TrustedOrcaApplication.isTrusted(bundleId: "com.stablyai.orca.devtools"))
#expect(!TrustedOrcaApplication.isTrusted(bundleId: "com.stablyai.orcax"))
#expect(!TrustedOrcaApplication.isTrusted(bundleId: "com.example.orca"))
#expect(!TrustedOrcaApplication.isTrusted(bundleId: ""))
}
}