@@ -65,7 +65,7 @@ catty new --api http://127.0.0.1:4815
6565```
6666┌─────────────┐ ┌─────────────────────┐ ┌──────────────────────┐
6767│ catty │────▶│ catty-api │────▶│ Fly Machines API │
68- │ (CLI) │ │ (catty- api.fly .dev) │ │ (internal) │
68+ │ (CLI) │ │ ( api.catty .dev) │ │ (internal) │
6969└──────┬──────┘ └─────────────────────┘ └──────────────────────┘
7070 │
7171 │ HTTP (upload) + WebSocket (terminal)
@@ -159,7 +159,7 @@ catty/
159159** catty CLI:**
160160| Variable | Description | Default |
161161| ----------| -------------| ---------|
162- | ` CATTY_API_ADDR ` | Override API URL | ` https://catty- api.fly .dev ` |
162+ | ` CATTY_API_ADDR ` | Override API URL | ` https://api.catty .dev ` |
163163| ` ANTHROPIC_API_KEY ` | Passed to remote sessions | Required for Claude |
164164
165165** catty-api (hosted on Fly):**
@@ -168,6 +168,7 @@ catty/
168168| ` FLY_API_TOKEN ` | Fly.io API token | Required (set as secret) |
169169| ` FLY_MACHINES_API_BASE ` | Machines API URL | ` http://_api.internal:4280 ` |
170170| ` CATTY_EXEC_APP ` | Fly app name for executor | ` catty-exec ` |
171+ | ` CATTY_EXEC_HOST ` | Hostname for executor WebSocket connections | ` exec.catty.dev ` |
171172| ` CATTY_API_ADDR ` | API listen address | ` 0.0.0.0:8080 ` |
172173| ` ANTHROPIC_API_KEY ` | Passed to machines for Claude | Required (set as secret) |
173174| ` WORKOS_CLIENT_ID ` | WorkOS application client ID | Required (set as secret) |
@@ -517,7 +518,7 @@ Response:
517518{
518519 "session_id" : " uuid" ,
519520 "machine_id" : " ..." ,
520- "connect_url" : " wss://catty- exec.fly .dev/connect" ,
521+ "connect_url" : " wss://exec.catty .dev/connect" ,
521522 "connect_token" : " base64url" ,
522523 "headers" : {
523524 "fly-force-instance-id" : " ..."
@@ -625,12 +626,12 @@ fly secrets list -a catty-api
625626
626627## Roadmap
627628
628- ### Custom Domain
629- Move to own domain (e.g., ` api.catty.sh ` ) so no Fly URLs are exposed to users :
630- - Register domain
631- - Configure Fly custom domains for both ` catty-api ` and ` catty-exec `
632- - Update CLI default API URL
633- - Update WebSocket connect URLs returned by API
629+ ### Custom Domain ✓
630+ Custom domains configured :
631+ - ` api.catty.dev ` - API server
632+ - ` exec. catty.dev ` - Executor WebSocket connections
633+
634+ CLI default updated to use ` api.catty.dev ` . WebSocket URLs use ` CATTY_EXEC_HOST ` env var.
634635
635636### Usage Metering & Billing
636637Track per-user token usage and implement billing:
0 commit comments