Skip to content

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.

build(desktop): sign local dev builds with the Codync team certificate

leepokai0d60d7c3b8a3
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index c30de884..b64cdf21 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -13,7 +13,7 @@
"typecheck": "tsc --noEmit -p tsconfig.json",
"test": "node --test --experimental-strip-types src/shared/*.test.ts src/renderer/views/thread/*.test.ts",
"icons": "swift tools/export-symbols.swift",
- "dist:mac:dev": "node tools/account-config.mjs dev && node tools/native-host.mjs dev && node tools/native-screen.mjs && electron-vite build && electron-builder --mac",
+ "dist:mac:dev": "node tools/account-config.mjs dev && node tools/native-host.mjs dev && node tools/native-screen.mjs && electron-vite build && CSC_NAME=\"Pokai Lee (6KFK5J2LB4)\" electron-builder --mac",
"dist:mac:main": "node tools/account-config.mjs main && node tools/native-host.mjs main && node tools/native-screen.mjs && electron-vite build && electron-builder --mac",
"dist:linux:dev": "node tools/account-config.mjs dev && electron-vite build && electron-builder --linux",
"dist:linux:main": "node tools/account-config.mjs main && electron-vite build && electron-builder --linux"
diff --git a/docs/architecture/desktop-app.md b/docs/architecture/desktop-app.md
index 7b32519f..325a8fea 100644
--- a/docs/architecture/desktop-app.md
+++ b/docs/architecture/desktop-app.md
@@ -74,6 +74,10 @@ one, so app and host always match, plus the Codync Screen helper (`tools/native-
Extra electron-builder flags go after `--` (`npm run dist:mac:dev -- --dir --arm64`). The speech
helper at the top of `electron-builder.yml` doesn't depend on the environment; place it first
(the release workflow, `.github/workflows/release-desktop.yml`, shows how).
+`dist:mac:dev` signs with the team 7FUM8A8H72 development certificate (`CSC_NAME` in
+`package.json`): the Screen launch agent only runs code from that team, and the keychain holds
+another team's certificate electron-builder would otherwise pick. Update the name when it is
+renewed.
Only one environment's host runs on a computer at a time (one `~/.codync`, port and service):
switching environments means installing the other build.