Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.
Rust acpagent-client-protocolai-agentsai-assistantclaudeclaude-codecodexcoding-agentscursorgeminigemini-cligrok-bot-alternativeiosiphonelinuxmacosmcpopen-sourcerustself-hosted
Release plumbing, App Store listing and host housekeeping
leepokaiabfbc25a5b77
diff --git a/.github/workflows/host.yml b/.github/workflows/host.ymlindex fd8d7de0..a2aad38b 100644--- a/.github/workflows/host.yml+++ b/.github/workflows/host.yml@@ -4,7 +4,7 @@ on:push:branches: [main, v2]paths: ["host/**", "linux/**", ".github/workflows/host.yml"]- tags: ["host-v*"]+ tags: ["v*"] # one version tag ships the Mac app, the host and the Linux apppull_request:paths: ["host/**", "linux/**"]@@ -53,9 +53,9 @@ jobs:- run: cargo clippy -- -D warnings- run: cargo test- name: Package- if: startsWith(github.ref, 'refs/tags/host-v')+ if: startsWith(github.ref, 'refs/tags/v')run: |- VERSION=${GITHUB_REF_NAME#host-v}+ VERSION=${GITHUB_REF_NAME#v}NAME=codync-linux-$VERSION-${{ matrix.target }}cargo build --releasemkdir -p $NAME/share/applications $NAME/share/icons/hicolor/scalable/apps $NAME/bin@@ -64,12 +64,12 @@ jobs:cp data/com.pokai.Codync.svg $NAME/share/icons/hicolor/scalable/apps/tar czf ../$NAME.tar.gz $NAME- uses: softprops/action-gh-release@v2- if: startsWith(github.ref, 'refs/tags/host-v')+ if: startsWith(github.ref, 'refs/tags/v')with:files: codync-linux-*.tar.gzrelease:- if: startsWith(github.ref, 'refs/tags/host-v')+ if: startsWith(github.ref, 'refs/tags/v')needs: teststrategy:matrix:@@ -91,7 +91,7 @@ jobs:run: cargo build --release --target ${{ matrix.target }}- name: Packagerun: |- VERSION=${GITHUB_REF_NAME#host-v}+ VERSION=${GITHUB_REF_NAME#v}NAME=codync-host-$VERSION-${{ matrix.target }}mkdir $NAMEcp host/target/${{ matrix.target }}/release/codync-host $NAME/@@ -103,3 +103,31 @@ jobs:files: |codync-host-*.tar.gzcodync-host-*.tar.gz.sha256++ homebrew:+ # Keeps `brew install leepokai/codync/codync-host` (Linux, headless Macs) in step with releases.+ needs: release+ runs-on: ubuntu-latest+ steps:+ - uses: actions/checkout@v4+ - name: Update the tap's formula+ env:+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ run: |+ VERSION=${GITHUB_REF_NAME#v}+ gh release download "$GITHUB_REF_NAME" --pattern 'codync-host-*.sha256' --dir sums+ sha() { cut -d' ' -f1 "sums/codync-host-$VERSION-$1.tar.gz.sha256"; }+ sed -e "s/^ version .*/ version \"$VERSION\"/" \+ -e "0,/REPLACE_WITH_SHA256/s//$(sha aarch64-apple-darwin)/" \+ -e "0,/REPLACE_WITH_SHA256/s//$(sha x86_64-apple-darwin)/" \+ -e "0,/REPLACE_WITH_SHA256/s//$(sha aarch64-unknown-linux-gnu)/" \+ -e "0,/REPLACE_WITH_SHA256/s//$(sha x86_64-unknown-linux-gnu)/" \+ packaging/homebrew/codync-host.rb > codync-host.rb+ git clone https://x-access-token:${{ secrets.TAP_TOKEN }}@github.com/leepokai/homebrew-codync.git tap+ mkdir -p tap/Formula && cp codync-host.rb tap/Formula/+ cd tap+ git config user.name "github-actions[bot]"+ git config user.email "github-actions[bot]@users.noreply.github.com"+ git add -A+ git commit -m "codync-host $VERSION" || exit 0+ git pushdiff --git a/.github/workflows/release-macos.yml b/.github/workflows/release-macos.ymlindex 23bad794..187b3942 100644--- a/.github/workflows/release-macos.yml+++ b/.github/workflows/release-macos.yml@@ -100,10 +100,12 @@ jobs:- name: Create GitHub Releaserun: |+ # The host workflow may have created this release already (same tag).gh release create ${{ github.ref_name }} \build/Codync-macOS.dmg \--title "Codync ${{ github.ref_name }}" \- --generate-notes+ --generate-notes \+ || gh release upload ${{ github.ref_name }} build/Codync-macOS.dmg --clobberenv:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/Codync-iOS/PrivacyInfo.xcprivacy b/Codync-iOS/PrivacyInfo.xcprivacynew file mode 100644index 00000000..c9415a39--- /dev/null+++ b/Codync-iOS/PrivacyInfo.xcprivacy@@ -0,0 +1,24 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+<plist version="1.0">+<dict>+ <key>NSPrivacyTracking</key>+ <false/>+ <key>NSPrivacyTrackingDomains</key>+ <array/>+ <key>NSPrivacyCollectedDataTypes</key>+ <array/>+ <key>NSPrivacyAccessedAPITypes</key>+ <array>+ <dict>+ <key>NSPrivacyAccessedAPIType</key>+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>+ <key>NSPrivacyAccessedAPITypeReasons</key>+ <array>+ <!-- Pairing, usage and roster shared between the app and its widgets (App Group). -->+ <string>1C8F.1</string>+ </array>+ </dict>+ </array>+</dict>+</plist>diff --git a/CodyncWidgets/PrivacyInfo.xcprivacy b/CodyncWidgets/PrivacyInfo.xcprivacynew file mode 100644index 00000000..c9415a39--- /dev/null+++ b/CodyncWidgets/PrivacyInfo.xcprivacy@@ -0,0 +1,24 @@+<?xml version="1.0" encoding="UTF-8"?>+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">+<plist version="1.0">+<dict>+ <key>NSPrivacyTracking</key>+ <false/>+ <key>NSPrivacyTrackingDomains</key>+ <array/>+ <key>NSPrivacyCollectedDataTypes</key>+ <array/>+ <key>NSPrivacyAccessedAPITypes</key>+ <array>+ <dict>+ <key>NSPrivacyAccessedAPIType</key>+ <string>NSPrivacyAccessedAPICategoryUserDefaults</string>+ <key>NSPrivacyAccessedAPITypeReasons</key>+ <array>+ <!-- Pairing, usage and roster shared between the app and its widgets (App Group). -->+ <string>1C8F.1</string>+ </array>+ </dict>+ </array>+</dict>+</plist>diff --git a/host/src/main.rs b/host/src/main.rsindex 471fb720..a6ffc95e 100644--- a/host/src/main.rs+++ b/host/src/main.rs@@ -217,7 +217,19 @@ async fn main() -> Result<()> {}}+/// launchd appends to `host.log` forever. The service already holds it open as+/// stdout (append mode), so truncate in place rather than rotating.+fn cap_log() {+ let log = service::data_dir().join("host.log");+ if std::fs::metadata(&log).is_ok_and(|m| m.len() > 10 * 1024 * 1024)+ && let Ok(f) = std::fs::OpenOptions::new().write(true).open(&log)+ {+ let _ = f.set_len(0);+ }+}+async fn serve(bind: &str, port: u16) -> Result<()> {+ cap_log();tracing_subscriber::fmt().with_env_filter(tracing_subscriber::EnvFilter::try_from_default_env().unwrap_or_else(|_| "codync_host=info".into()),diff --git a/host/src/registry.rs b/host/src/registry.rsindex 2758d578..c0cb45d0 100644--- a/host/src/registry.rs+++ b/host/src/registry.rs@@ -220,6 +220,7 @@ async fn install_binary(agent: &Value, target: &Value, cmd: &Path, progress: &imstd::fs::write(&archive, &bytes)?;extract(&archive, &dir2, &cmd)?;std::fs::write(dir2.join(".installed"), "")?;+ remove_other_versions(&dir2);Ok(())}).await?@@ -227,6 +228,18 @@ async fn install_binary(agent: &Value, target: &Value, cmd: &Path, progress: &imOk(dir)}+/// Registry builds update often; keep only the version just installed.+fn remove_other_versions(installed: &Path) {+ let Some(parent) = installed.parent() else { return };+ let Ok(entries) = std::fs::read_dir(parent) else { return };+ for e in entries.flatten() {+ let p = e.path();+ if p != installed && p.is_dir() {+ let _ = std::fs::remove_dir_all(p);+ }+ }+}+/// Blocking: unpacks `archive` into `dir` and makes `cmd` executable.fn extract(archive: &Path, dir: &Path, cmd: &Path) -> Result<()> {let name = archive.file_name().map(|n| n.to_string_lossy().to_lowercase()).unwrap_or_default();@@ -283,6 +296,17 @@ mod tests {}}+ #[test]+ fn keeps_only_the_installed_version() {+ let root = std::env::temp_dir().join(format!("codync-ver-{}", uuid::Uuid::new_v4()));+ for v in ["1.0.0", "1.1.0"] {+ std::fs::create_dir_all(root.join(v)).unwrap();+ }+ remove_other_versions(&root.join("1.1.0"));+ assert!(!root.join("1.0.0").exists());+ assert!(root.join("1.1.0").exists());+ }+#[test]fn raw_binary_extract_marks_executable() {let dir = std::env::temp_dir().join(format!("codync-reg-{}", uuid::Uuid::new_v4()));diff --git a/host/tests/e2e.rs b/host/tests/e2e.rsnew file mode 100644index 00000000..6163d7ab--- /dev/null+++ b/host/tests/e2e.rs@@ -0,0 +1,141 @@+//! End to end: a real `codync-host serve` driving a scripted ACP agent+//! (`fake_agent.py`) through a full turn with an approval in the middle.++#![allow(clippy::unwrap_used, clippy::expect_used, clippy::panic)] // test code: failing loudly is the point++use serde_json::{Value, json};+use std::path::PathBuf;+use std::process::{Child, Command, Stdio};+use std::time::{Duration, Instant};++struct Host {+ child: Child,+ base: String,+ token: String,+ home: PathBuf,+}++impl Drop for Host {+ fn drop(&mut self) {+ let _ = self.child.kill();+ let _ = std::fs::remove_dir_all(&self.home);+ }+}++fn free_port() -> u16 {+ std::net::TcpListener::bind("127.0.0.1:0").unwrap().local_addr().unwrap().port()+}++async fn start_host() -> Host {+ let home = std::env::temp_dir().join(format!("codync-e2e-{}", uuid::Uuid::new_v4()));+ std::fs::create_dir_all(&home).unwrap();+ let port = free_port();+ let child = Command::new(env!("CARGO_BIN_EXE_codync-host"))+ .args(["serve", "--bind", "127.0.0.1", "--port", &port.to_string()])+ .env("CODYNC_HOME", &home)+ .stdout(Stdio::null())+ .stderr(Stdio::null())+ .spawn()+ .unwrap();+ let base = format!("http://127.0.0.1:{port}");+ let deadline = Instant::now() + Duration::from_secs(20);+ while reqwest::get(format!("{base}/health")).await.is_err() {+ assert!(Instant::now() < deadline, "host didn't start");+ tokio::time::sleep(Duration::from_millis(100)).await;+ }+ let token = std::fs::read_to_string(home.join("token")).unwrap().trim().to_owned();+ Host { child, base, token, home }+}++impl Host {+ async fn call(&self, method: &str, body: Value) -> Value {+ let res = reqwest::Client::new()+ .post(format!("{}/api/{method}", self.base))+ .bearer_auth(&self.token)+ .json(&body)+ .send()+ .await+ .unwrap();+ let status = res.status();+ let v: Value = res.json().await.unwrap();+ assert!(status.is_success(), "{method} failed: {v}");+ v+ }++ /// Polls the bot's history until `pred` matches an entry.+ async fn wait_for(&self, bot: &str, pred: impl Fn(&Value) -> bool) -> Value {+ let deadline = Instant::now() + Duration::from_secs(20);+ loop {+ let h = self.call("history", json!({"botId": bot})).await;+ if let Some(e) = h["entries"].as_array().unwrap().iter().rev().find(|e| pred(e)) {+ return e.clone();+ }+ assert!(Instant::now() < deadline, "timed out; history: {h}");+ tokio::time::sleep(Duration::from_millis(100)).await;+ }+ }+}++#[tokio::test]+async fn turn_with_approval_reaches_a_final_reply() {+ if Command::new("python3").arg("--version").output().is_err() {+ eprintln!("skipping: python3 not available");+ return;+ }+ let host = start_host().await;+ let agent = PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("tests/fake_agent.py");+ let bot = host+ .call(+ "createBot",+ json!({+ "name": "Tester", "backend": "custom", "command": format!("python3 '{}'", agent.display()),+ "cwd": host.home.to_string_lossy(), "permission": "ask",+ }),+ )+ .await["bot"]["id"]+ .as_str()+ .unwrap()+ .to_owned();++ host.call("send", json!({"botId": bot, "text": "go", "clientNonce": "n1"})).await;+ // Retrying with the same nonce must not queue a second turn.+ host.call("send", json!({"botId": bot, "text": "go", "clientNonce": "n1"})).await;++ let card = host.wait_for(&bot, |e| e["kind"] == "permission" && e["data"]["status"] == "pending").await;+ assert_eq!(card["data"]["title"], "Edit a.txt");+ let bots = host.call("sync", json!({"since": 0})).await;+ assert_eq!(bots["bots"][0]["status"], "needsInput");++ host.call("respondPermission", json!({"entryId": card["id"], "optionId": "allow"})).await;+ let reply = host.wait_for(&bot, |e| e["kind"] == "agent" && e["data"]["final"] == true).await;+ assert!(reply["data"]["text"].as_str().unwrap().contains("\"allow\""), "{reply}");++ // The narration before the tool call stays out of the chat.+ let history = host.call("history", json!({"botId": bot})).await;+ let entries = history["entries"].as_array().unwrap();+ let finals = entries.iter().filter(|e| e["kind"] == "agent" && e["data"]["final"] == true).count();+ assert_eq!(finals, 1);+ assert_eq!(entries.iter().filter(|e| e["kind"] == "user").count(), 1);+ let tool = entries.iter().find(|e| e["kind"] == "tool").unwrap();+ assert_eq!(tool["data"]["status"], "completed");+ assert_eq!(tool["data"]["diffs"][0]["added"], 1);++ let synced = host.call("sync", json!({"since": 0})).await;+ assert_eq!(synced["bots"][0]["status"], "idle");+ assert_eq!(synced["bots"][0]["unread"], 1);+}++#[tokio::test]+async fn rejects_requests_without_the_token() {+ let host = start_host().await;+ let res = reqwest::Client::new().post(format!("{}/api/hello", host.base)).json(&json!({})).send().await.unwrap();+ assert_eq!(res.status(), 401);+ let res = reqwest::Client::new()+ .post(format!("{}/api/hello", host.base))+ .bearer_auth("wrong")+ .json(&json!({}))+ .send()+ .await+ .unwrap();+ assert_eq!(res.status(), 401);+}diff --git a/host/tests/fake_agent.py b/host/tests/fake_agent.pynew file mode 100644index 00000000..df709f09--- /dev/null+++ b/host/tests/fake_agent.py@@ -0,0 +1,34 @@+# Minimal ACP agent for the end-to-end test: one text chunk, one tool call that+# needs permission, then a final reply echoing the permission outcome.+import json,sys,threading,time+def send(m): sys.stdout.write(json.dumps(m)+"\n"); sys.stdout.flush()+pending={}+nid=[100]+sid="s1"+def upd(u): send({"jsonrpc":"2.0","method":"session/update","params":{"sessionId":sid,"update":u}})+def turn(rid):+ upd({"sessionUpdate":"agent_message_chunk","content":{"type":"text","text":"Checking…"}})+ upd({"sessionUpdate":"tool_call","toolCallId":"t1","title":"Edit a.txt","kind":"edit","status":"pending","content":[{"type":"diff","path":"a.txt","oldText":"x\n","newText":"y\n"}]})+ nid[0]+=1; pid=nid[0]+ ev=threading.Event(); pending[pid]=ev+ send({"jsonrpc":"2.0","id":pid,"method":"session/request_permission","params":{"sessionId":sid,"toolCall":{"toolCallId":"t1","title":"Edit a.txt","kind":"edit","rawInput":{"command":"sed -i s/x/y/ a.txt"}},"options":[{"optionId":"allow","name":"Allow","kind":"allow_once"},{"optionId":"always","name":"Always","kind":"allow_always"},{"optionId":"no","name":"Reject","kind":"reject_once"}]}})+ ev.wait()+ ans=ev.answer+ if ans.get("outcome",{}).get("outcome")=="cancelled":+ send({"jsonrpc":"2.0","id":rid,"result":{"stopReason":"cancelled"}}); return+ upd({"sessionUpdate":"tool_call_update","toolCallId":"t1","status":"completed"})+ upd({"sessionUpdate":"plan","entries":[{"content":"edit","status":"completed","priority":"high"}]})+ upd({"sessionUpdate":"agent_message_chunk","content":{"type":"text","text":"Done: "+json.dumps(ans)}})+ send({"jsonrpc":"2.0","id":rid,"result":{"stopReason":"end_turn"}})+for line in sys.stdin:+ m=json.loads(line)+ if "method" not in m:+ ev=pending.pop(m["id"],None)+ if ev: ev.answer=m.get("result",{}); ev.set()+ continue+ meth=m["method"]+ if meth=="initialize": send({"jsonrpc":"2.0","id":m["id"],"result":{"protocolVersion":1,"agentCapabilities":{"loadSession":False}}})+ elif meth=="session/new": send({"jsonrpc":"2.0","id":m["id"],"result":{"sessionId":sid}})+ elif meth=="session/prompt": threading.Thread(target=turn,args=(m["id"],)).start()+ elif meth=="session/cancel":+ for k,ev in list(pending.items()): ev.answer={"outcome":{"outcome":"cancelled"}}; ev.set()diff --git a/metadata/app-info/en-US.json b/metadata/app-info/en-US.jsonnew file mode 100644index 00000000..f8e066cf--- /dev/null+++ b/metadata/app-info/en-US.json@@ -0,0 +1,5 @@+{+ "name": "Codync",+ "subtitle": "Your coding agents, as bots",+ "privacyPolicyUrl": "https://codync.dev/privacy"+}diff --git a/metadata/app-info/zh-Hant.json b/metadata/app-info/zh-Hant.jsonnew file mode 100644index 00000000..577a6487--- /dev/null+++ b/metadata/app-info/zh-Hant.json@@ -0,0 +1,5 @@+{+ "name": "Codync",+ "subtitle": "把寫程式的 AI 變成你的隊友",+ "privacyPolicyUrl": "https://codync.dev/privacy"+}diff --git a/metadata/version/en-US.json b/metadata/version/en-US.jsonnew file mode 100644index 00000000..5eaaada9--- /dev/null+++ b/metadata/version/en-US.json@@ -0,0 +1,7 @@+{+ "description": "Message your coding agents like teammates.\n\nCodync turns the coding agents on your computer — Claude Code, Codex, Cursor, Pi, OpenCode, Grok Build, Gemini, GitHub Copilot and dozens more — into persistent bots you delegate to from your iPhone. Pick who, say what, put the phone away.\n\nBOTS, NOT SESSIONS\nGive each bot a name, a character, standing instructions, an agent and a project folder. Each bot is one ongoing conversation, so there's no hunting for the right session or setting up an environment every time — just open the chat and type.\n\nAPPROVE FROM ANYWHERE\nWhen an agent wants to run a command or change files, an approval card arrives in the chat: Allow once, Always allow or Deny. You get a notification only when a bot needs you or finishes.\n\nA CALM CHAT\nThe conversation shows your messages and each final reply. Every command, file change, plan and thought is one tap away in Full conversation. While a bot works, you see what it's doing right now.\n\nUSAGE AT A GLANCE\nSee your Claude and Codex subscription limits in the app, in widgets and on the Lock Screen. Follow a working bot in a Live Activity and the Dynamic Island.\n\nYOUR COMPUTER, YOUR CODE\nYour phone talks straight to your Mac or Linux machine over Tailscale or local Wi-Fi. Agents run with your own logins. There's no Codync account and no cloud copy of your code or conversations.\n\nGET STARTED\nInstall Codync on your Mac (brew install --cask leepokai/codync/codync) or the host on Linux, then scan the pairing code. Open source: github.com/leepokai/Codync",+ "keywords": "claude code,codex,cursor,coding agent,ai,bot,remote,developer,approval,opencode",+ "promotionalText": "Delegate to Claude Code, Codex, Cursor and more from your iPhone. Each agent is a bot you message; approve actions and get notified when it's done.",+ "supportUrl": "https://github.com/leepokai/Codync/issues",+ "whatsNew": "Codync 2.0 is a new app: persistent bots for every coding agent on your computer, approvals from your phone, a native Mac window and a Linux app. It replaces the 1.x session monitor; update the Mac app to 2.0 too."+}diff --git a/metadata/version/zh-Hant.json b/metadata/version/zh-Hant.jsonnew file mode 100644index 00000000..50172948--- /dev/null+++ b/metadata/version/zh-Hant.json@@ -0,0 +1,7 @@+{+ "description": "像傳訊息給隊友一樣,指派工作給你的程式 AI。\n\nCodync 把你電腦上的程式開發 agent——Claude Code、Codex、Cursor、Pi、OpenCode、Grok Build、Gemini、GitHub Copilot 等數十種——變成可以從 iPhone 指派任務的常駐 bot。選好對象、交代工作、把手機收起來就好。\n\n是 bot,不是工作階段\n每個 bot 都有自己的名字、角色造型、長期指示、使用的 agent 和專案資料夾。每個 bot 就是一段持續的對話,不用再找哪個工作階段、也不用每次重設環境——打開聊天直接說。\n\n隨時隨地核准\nagent 要執行指令或修改檔案時,聊天裡會出現核准卡片:允許一次、一律允許或拒絕。只有在 bot 需要你、或完成工作時才會通知你。\n\n乾淨的對話\n對話只顯示你的訊息和每次的最終回覆。每個指令、檔案變更、計畫和思考過程,點一下就能在「完整對話」查看。bot 工作時,你能看到它當下在做什麼。\n\n用量一目了然\n在 app、小工具和鎖定畫面查看 Claude 與 Codex 的訂閱用量。透過即時動態和動態島追蹤正在工作的 bot。\n\n你的電腦、你的程式碼\n手機透過 Tailscale 或區域網路直接連到你的 Mac 或 Linux 電腦,agent 使用你自己的登入。沒有 Codync 帳號,也不會把程式碼或對話存到雲端。\n\n開始使用\n在 Mac 安裝 Codync(brew install --cask leepokai/codync/codync),或在 Linux 安裝 host,再掃描配對碼即可。開放原始碼:github.com/leepokai/Codync",+ "keywords": "claude code,codex,cursor,程式,ai,agent,bot,遠端,開發者,核准",+ "promotionalText": "從 iPhone 指派工作給 Claude Code、Codex、Cursor 等程式 AI。每個 agent 都是可以傳訊息的 bot,隨時核准動作,完成時通知你。",+ "supportUrl": "https://github.com/leepokai/Codync/issues",+ "whatsNew": "Codync 2.0 是全新的 app:為電腦上的每個程式 agent 建立常駐 bot、從手機核准動作、原生 Mac 視窗與 Linux app。它取代了 1.x 的工作階段監控,Mac app 也請一併更新到 2.0。"+}diff --git a/packaging/homebrew/codync-host.rb b/packaging/homebrew/codync-host.rbindex e54db07c..c2e805df 100644--- a/packaging/homebrew/codync-host.rb+++ b/packaging/homebrew/codync-host.rb@@ -1,13 +1,13 @@-# Homebrew formula for the leepokai/homebrew-codync tap.-# After tagging `host-vX.Y.Z`, update `version` and the four sha256 values from the-# release's *.sha256 files, then copy this file to Formula/codync-host.rb in the tap.+# Homebrew formula template for the leepokai/homebrew-codync tap.+# The `homebrew` job in .github/workflows/host.yml fills in the version and the four+# sha256 values (in this order: mac arm, mac intel, linux arm, linux intel) on every `v*` tag.class CodyncHost < Formuladesc "Runs your coding-agent bots (Claude Code, Codex, OpenCode…) for the Codync app"homepage "https://github.com/leepokai/Codync"version "2.0.0"license "MIT"- base = "https://github.com/leepokai/Codync/releases/download/host-v#{version}/codync-host-#{version}"+ base = "https://github.com/leepokai/Codync/releases/download/v#{version}/codync-host-#{version}"on_macos doon_arm dodiff --git a/project.yml b/project.ymlindex 09065903..9e5faa50 100644--- a/project.yml+++ b/project.yml@@ -16,6 +16,7 @@ settings:SWIFT_VERSION: "6.0"SWIFT_STRICT_CONCURRENCY: completeCODE_SIGN_STYLE: Automatic+ DEVELOPMENT_TEAM: 7FUM8A8H72DEAD_CODE_STRIPPING: YESENABLE_USER_SCRIPT_SANDBOXING: NOtargets: