mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
The site now lives at orca.dev; the old onorca.dev and www.onorca.dev hosts redirect there. Linking to orca.dev directly skips that redirect. Only page links change. Service hosts, sign-in and relay endpoints stay as they are.
48 lines
1.6 KiB
Ruby
48 lines
1.6 KiB
Ruby
cask "orca" do
|
|
arch arm: "arm64", intel: "x64"
|
|
|
|
version "1.3.24"
|
|
sha256 arm: "fc707f290ff3b631b7b7947bf339885b61a43d2e89475997c125b61268ed4966",
|
|
intel: "5f677c13a08f7a5740442e29d388285a86488c8c1f7aa5f10a8721a2c6ede8e4"
|
|
|
|
url "https://github.com/stablyai/orca/releases/download/v#{version}/orca-macos-#{arch}.dmg"
|
|
name "Orca"
|
|
desc "IDE for orchestrating AI coding agents across terminals and worktrees"
|
|
homepage "https://orca.dev/"
|
|
|
|
livecheck do
|
|
url :url
|
|
strategy :github_latest
|
|
end
|
|
|
|
# Let the in-app updater own updates between brew upgrades.
|
|
auto_updates true
|
|
conflicts_with cask: "orca@rc"
|
|
depends_on macos: :ventura
|
|
|
|
app "Orca.app"
|
|
|
|
# Expose the symlink-resolving bundled CLI on PATH so headless hosts can use orca serve without the in-app installer.
|
|
binary "#{appdir}/Orca.app/Contents/Resources/bin/orca"
|
|
|
|
# depends_on can't say 13.4, and Homebrew upgrades auto_updates casks past the in-app updater's macOS gate.
|
|
preflight_steps do
|
|
run "/bin/sh", args: [
|
|
"-c",
|
|
'case "$(/usr/bin/sw_vers -productVersion)" in 13|13.[0-3]|13.[0-3].*) ' \
|
|
'echo "Orca needs macOS 13.4 or later. Update macOS to upgrade Orca." >&2; exit 1;; esac',
|
|
]
|
|
end
|
|
|
|
# Zap app-created ~/.orca and Electron userData for a clean uninstall.
|
|
zap trash: [
|
|
"~/.orca",
|
|
"~/Library/Application Support/Orca",
|
|
"~/Library/Caches/com.stablyai.orca",
|
|
"~/Library/Caches/com.stablyai.orca.ShipIt",
|
|
"~/Library/HTTPStorages/com.stablyai.orca",
|
|
"~/Library/Preferences/com.stablyai.orca.plist",
|
|
"~/Library/Saved Application State/com.stablyai.orca.savedState",
|
|
]
|
|
end
|