2 arch arm: "arm64", intel: "x64"
4 version "1.0.5,d33d40f6cd3a4d7e451b22e94359230a4aa8c161"
5 sha256 arm: "706541a254753cb7ba8d371fa39753ca7075cda2917907da46fe535bb209e304",
6 intel: "622d68b0df1427e41211031db53b2231976359d5099c7346e4028f72a95e202b"
8 url "https://windsurf-stable.codeiumdata.com/darwin-#{arch}-dmg/stable/#{version.csv.second}/Windsurf-darwin-#{arch}-#{version.csv.first}.dmg",
9 verified: "windsurf-stable.codeiumdata.com/"
11 desc "Agentic IDE powered by AI Flow paradigm"
12 homepage "https://www.codeium.com/windsurf"
15 url "https://windsurf-stable.codeium.com/api/update/darwin-#{arch}-dmg/stable/latest"
16 strategy :json do |json|
17 version = json["windsurfVersion"]
18 hash = json["version"]
19 next if version.blank? || hash.blank?
26 depends_on macos: ">= :catalina"
29 binary "#{appdir}/Windsurf.app/Contents/Resources/app/bin/windsurf"
31 uninstall launchctl: "com.exafunction.windsurf.ShipIt",
32 quit: "com.exafunction.windsurf"
35 "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.exafunction.windsurf.sfl*",
36 "~/Library/Application Support/Windsurf",
37 "~/Library/Caches/com.exafunction.windsurf",
38 "~/Library/Caches/com.exafunction.windsurf.ShipIt",
39 "~/Library/HTTPStorages/com.exafunction.windsurf",
40 "~/Library/Preferences/com.exafunction.windsurf.plist",
41 "~/Library/Saved Application State/com.exafunction.windsurf.savedState",