spb/zyquo-cloud Public MIT
Native macOS AI chat client for 12 cloud providers — your keys, every cloud model, one beautiful chat.
Swift 97.4%
Shell 1.7%
Makefile 1%
1//2// main.swift3// Zyquo Cloud4//5// Author: Simon-Pierre Boucher6// Mail: contact@spboucher.ai7//8// zyquo-verify — thin launcher for the Phase 7 harness. The harness itself9// lives inside the ZyquoCloud binary (`--verify`) so it exercises the exact10// production provider clients; this target execs the sibling binary.11//1213import Foundation1415let selfURL = URL(fileURLWithPath: CommandLine.arguments[0]).resolvingSymlinksInPath()16let appBinary = selfURL.deletingLastPathComponent().appendingPathComponent("ZyquoCloud")1718guard FileManager.default.isExecutableFile(atPath: appBinary.path) else {19 FileHandle.standardError.write(Data(20 "error: ZyquoCloud binary not found next to zyquo-verify (build with `swift build`)\n".utf821 ))22 exit(1)23}2425let process = Process()26process.executableURL = appBinary27process.arguments = ["--verify"] + CommandLine.arguments.dropFirst()28process.environment = ProcessInfo.processInfo.environment29try process.run()30process.waitUntilExit()31exit(process.terminationStatus)32