cask "ghostex" do version "10.32.0" sha256 "1a054166c1466bec69615abafac073e02b63c637b2ce46e3b465005e7007ccff" url "https://github.com/maddada/Ghostex/releases/download/v#{version}/ghostex-#{version}-arm64.dmg" name "Ghostex" desc "Workspace for running and reviewing multiple CLI coding agents" homepage "https://ghostex.dev/" livecheck do url "https://raw.githubusercontent.com/maddada/Ghostex/main/appcast.xml" strategy :sparkle, &:short_version end auto_updates true depends_on arch: :arm64 depends_on macos: :ventura app "Ghostex.app" binary "#{appdir}/Ghostex.app/Contents/Resources/CLI/ghostex" uninstall launchctl: "com.madda.ghostex.gxserver", quit: "com.madda.ghostex.gpui" zap trash: [ "~/.cache/ghostex", "~/.config/ghostex", "~/.ghostex", "~/.local/share/ghostex", "~/.local/state/ghostex", "~/Library/Application Support/Ghostex", "~/Library/Caches/com.madda.ghostex.gpui", "~/Library/Caches/com.madda.ghostex.host.editor", "~/Library/HTTPStorages/com.madda.ghostex.gpui", "~/Library/LaunchAgents/com.madda.ghostex.gxserver.plist", "~/Library/Preferences/com.madda.ghostex.gpui.plist", "~/Library/Preferences/com.madda.ghostex.host.plist", "~/Library/Saved Application State/com.madda.ghostex.gpui.savedState", "~/Library/WebKit/com.madda.ghostex.host.editor", ] end