Problem
Currently there are two separate "remote" concepts that confuse users:
access: 'local' | 'remote' - whether to use cloudflared tunnel for the bridge
deployed: boolean - whether the Cloudflare Worker (AI chat UI) is deployed
This leads to confusing states like access: 'remote' + deployed: false - the tunnel is set up but there's no UI to use it.
Current User Report
User selected remote access, deploy failed silently, ended up with:
- An orphan worker on their Cloudflare account (from
wrangler secret put)
deployed: false in config
- No working remote setup
Proposed Solution
Simplify to a single choice:
- Local: Everything on localhost, access from same machine only
- Remote: Deploy worker AND set up tunnel, access from anywhere
If they pick "remote" and deploy fails:
- Show clear error with actionable steps
- Fall back to local mode
- Explain what went wrong and how to retry
Acceptance Criteria
Problem
Currently there are two separate "remote" concepts that confuse users:
access: 'local' | 'remote'- whether to use cloudflared tunnel for the bridgedeployed: boolean- whether the Cloudflare Worker (AI chat UI) is deployedThis leads to confusing states like
access: 'remote'+deployed: false- the tunnel is set up but there's no UI to use it.Current User Report
User selected remote access, deploy failed silently, ended up with:
wrangler secret put)deployed: falsein configProposed Solution
Simplify to a single choice:
If they pick "remote" and deploy fails:
Acceptance Criteria