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.

feat(cloud): point release builds at the production cloud

leepokaic455c44be3d8
diff --git a/apps/shared/Config/main.plist b/apps/shared/Config/main.plist
index 1b02a0b9..5de078c3 100644
--- a/apps/shared/Config/main.plist
+++ b/apps/shared/Config/main.plist
@@ -2,10 +2,9 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
- <!-- Filled in when the production Clerk instance and api.codync.dev go live; empty keeps accounts and the cloud off. -->
<key>clerkPublishableKey</key>
- <string></string>
+ <string>pk_live_Y2xlcmsuY29keW5jLmRldiQ</string>
<key>cloudURL</key>
- <string></string>
+ <string>https://api.codync.dev</string>
</dict>
</plist>
diff --git a/cloud/wrangler.toml b/cloud/wrangler.toml
index c259d21a..8d47c5dd 100644
--- a/cloud/wrangler.toml
+++ b/cloud/wrangler.toml
@@ -11,7 +11,7 @@ tag = "v1"
new_sqlite_classes = ["ComputerRelay"]
[vars]
-CLERK_ISSUER = "<production Clerk Frontend API URL>"
+CLERK_ISSUER = "https://clerk.codync.dev"
[[d1_databases]]
binding = "DB"
diff --git a/docs/guides/environments-and-deployment.md b/docs/guides/environments-and-deployment.md
index 0f676ede..3ed9d49f 100644
--- a/docs/guides/environments-and-deployment.md
+++ b/docs/guides/environments-and-deployment.md
@@ -17,7 +17,7 @@ The host currently has no compiled cloud URL default. Use the Mac's **Reach from
## Checked-in readiness
- **Development:** app configuration and Worker configuration target `https://dev-api.codync.dev`; dev Clerk issuer and D1 binding are configured in source. Exercise the live path before claiming readiness.
-- **Production:** D1 `codync` exists with migrations applied and the root Worker routes `api.codync.dev`. Still missing: the production Clerk instance (issuer in `cloud/wrangler.toml`, `CLERK_SECRET_KEY` / `CLERK_WEBHOOK_SECRET` secrets, publishable key in `apps/shared/Config/main.plist`), `cloudURL` in `main.plist`, and the first `npm run deploy:main`. Release remote access is not ready until then.
+- **Production:** `main.plist` targets `https://api.codync.dev` with the Clerk production instance (`clerk.codync.dev`, Google sign-in through the `codync-auth` Google Cloud project, published). The root Worker is deployed with D1 `codync`, `CLERK_SECRET_KEY` and `CLERK_WEBHOOK_SECRET` (Clerk webhook endpoint `https://api.codync.dev/v1/webhooks/clerk`, `user.deleted`).
- **Local:** Wrangler's `local` environment supports the isolated integration test and its test issuer. It is not a real Google sign-in test.
## Deployment procedure
diff --git a/docs/reference/remote-relay.md b/docs/reference/remote-relay.md
index abee0dc2..278fd2d3 100644
--- a/docs/reference/remote-relay.md
+++ b/docs/reference/remote-relay.md
@@ -512,7 +512,7 @@ Verify pairing and approval, same-computer direct/relay connectivity, encrypted
## 14. Environments and deployment
-See [environments and deployment](../guides/environments-and-deployment.md) and [cloud setup](../../cloud/README.md). Debug targets development. Main app configuration is empty and production Worker bindings include placeholders; production readiness must be established separately.
+See [environments and deployment](../guides/environments-and-deployment.md) and [cloud setup](../../cloud/README.md). Debug builds target development (`dev-api.codync.dev`); Release builds target production (`api.codync.dev`).
## Implementation clarifications