Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(remote-access): switch managed domain to avibe.bot
cyhd9720c5df0d3
diff --git a/config/v2_config.py b/config/v2_config.pyindex b1320d393..357ad536c 100644--- a/config/v2_config.py+++ b/config/v2_config.py@@ -188,7 +188,7 @@ class UiConfig:@dataclassclass VibeCloudRemoteAccessConfig:enabled: bool = False- backend_url: str = "https://vibe.io"+ backend_url: str = "https://avibe.bot"public_url: str = ""instance_id: str = ""client_id: str = ""diff --git a/docs/plans/vibe-cloud-remote-access.md b/docs/plans/vibe-cloud-remote-access.mdindex fbd9fe886..af9933970 100644--- a/docs/plans/vibe-cloud-remote-access.md+++ b/docs/plans/vibe-cloud-remote-access.md@@ -20,7 +20,7 @@ remote-access product.## Goals-- Let a user expose a local Vibe Remote admin UI at `https://<slug>.vibe.io`+- Let a user expose a local Vibe Remote admin UI at `https://<slug>.avibe.bot`without manually configuring Cloudflare.- Keep Vibe Cloud out of the data path after OAuth authorization.- Require authentication for every remotely accessed Web UI request.@@ -39,7 +39,7 @@ remote-access product.```textBrowser- -> https://<slug>.vibe.io+ -> https://<slug>.avibe.bot-> Cloudflare edge-> Cloudflare Tunnel-> cloudflared on the user's machine@@ -76,17 +76,17 @@ Vibe Remote local Web UI### 1. Instance Creation-1. The user signs in to `vibe.io`.+1. The user signs in to `avibe.bot`.2. The user creates a Remote Access instance.3. Vibe Cloud allocates:- `instance_id`- `client_id`- - a public hostname such as `alex-dev.vibe.io`+ - a public hostname such as `alex-dev.avibe.bot`- an internal tunnel hostname, if needed by the provisioning layer- a one-time pairing key4. Vibe Cloud provisions Cloudflare:- creates a remote-managed Tunnel- - creates a DNS route for `alex-dev.vibe.io`+ - creates a DNS route for `alex-dev.avibe.bot`- stores the tunnel token encrypted at rest5. The user configures an allow-list for the instance:- individual emails@@ -117,12 +117,12 @@ Content-Type: application/json{"instance_id": "inst_...","client_id": "vr_client_...",- "issuer": "https://vibe.io",- "authorization_endpoint": "https://vibe.io/oauth/authorize",- "token_endpoint": "https://vibe.io/oauth/token",- "jwks_uri": "https://vibe.io/oauth/jwks.json",- "public_url": "https://alex-dev.vibe.io",- "redirect_uri": "https://alex-dev.vibe.io/auth/callback",+ "issuer": "https://avibe.bot",+ "authorization_endpoint": "https://avibe.bot/oauth/authorize",+ "token_endpoint": "https://avibe.bot/oauth/token",+ "jwks_uri": "https://avibe.bot/oauth/jwks.json",+ "public_url": "https://alex-dev.avibe.bot",+ "redirect_uri": "https://alex-dev.avibe.bot/auth/callback","tunnel_token": "eyJh...","instance_secret": "vrs_..."}@@ -139,15 +139,15 @@ cloudflared tunnel --no-autoupdate run --token <tunnel_token>### 3. Browser Login-1. A browser opens `https://alex-dev.vibe.io`.+1. A browser opens `https://alex-dev.avibe.bot`.2. Traffic goes directly through Cloudflare Tunnel to the local Web UI.3. The local Web UI checks for a valid remote-access session cookie.4. If no valid cookie exists, it redirects to Vibe Cloud OAuth:```text-https://vibe.io/oauth/authorize+https://avibe.bot/oauth/authorize?client_id=vr_client_...- &redirect_uri=https%3A%2F%2Falex-dev.vibe.io%2Fauth%2Fcallback+ &redirect_uri=https%3A%2F%2Falex-dev.avibe.bot%2Fauth%2Fcallback&response_type=code&scope=openid%20email&state=<random>@@ -160,25 +160,25 @@ https://vibe.io/oauth/authorize6. If allowed, Vibe Cloud redirects back:```text-https://alex-dev.vibe.io/auth/callback?code=<code>&state=<state>+https://alex-dev.avibe.bot/auth/callback?code=<code>&state=<state>```7. The local Web UI exchanges the code:```http-POST https://vibe.io/oauth/token+POST https://avibe.bot/oauth/tokenContent-Type: application/x-www-form-urlencodedgrant_type=authorization_code&client_id=vr_client_...&code=<code>-&redirect_uri=https%3A%2F%2Falex-dev.vibe.io%2Fauth%2Fcallback+&redirect_uri=https%3A%2F%2Falex-dev.avibe.bot%2Fauth%2Fcallback&code_verifier=<pkce_verifier>```8. Vibe Cloud returns an ID token and optional access token.9. The local Web UI validates the ID token:- - `iss == https://vibe.io`+ - `iss == https://avibe.bot`- `aud == client_id`- `sub` is present- `email_verified == true`@@ -201,7 +201,7 @@ Set-Cookie: __Host-vibe_remote_session=<opaque>; Path=/; Secure; HttpOnly; SameS- Vibe Cloud is trusted for identity, allow-list decisions, tunnel provisioning,and signing OIDC ID tokens.- Cloudflare is trusted for Tunnel connectivity and TLS termination for- `*.vibe.io`.+ `*.avibe.bot`.- The local Vibe Remote instance is trusted to enforce admin UI sessions.- Browsers and arbitrary request headers are not trusted.@@ -211,7 +211,7 @@ Vibe Cloud owns the OIDC signing private keys. It publishes public keys throughJWKS:```text-GET https://vibe.io/oauth/jwks.json+GET https://avibe.bot/oauth/jwks.json```The local Vibe Remote instance must never store the Vibe Cloud OIDC private key.@@ -240,7 +240,7 @@ When managed remote access is enabled:they are explicitly part of the auth callback or health path- state-changing API calls require CSRF protection- the cookie must be `Secure`, `HttpOnly`, host-only, and `SameSite=Lax`-- the cookie must not use `Domain=.vibe.io`+- the cookie must not use `Domain=.avibe.bot`- disabling remote access clears active remote sessions### Revocation@@ -343,9 +343,9 @@ audit_events"enabled": true,"instance_id": "inst_...","client_id": "vr_client_...",- "issuer": "https://vibe.io",- "public_url": "https://alex-dev.vibe.io",- "redirect_uri": "https://alex-dev.vibe.io/auth/callback",+ "issuer": "https://avibe.bot",+ "public_url": "https://alex-dev.avibe.bot",+ "redirect_uri": "https://alex-dev.avibe.bot/auth/callback","tunnel_token": "<secret>","instance_secret": "<secret>","jwks_cache": {@@ -381,7 +381,7 @@ Response:```json{"instance_id": "inst_...",- "public_url": "https://alex-dev.vibe.io",+ "public_url": "https://alex-dev.avibe.bot","pairing_key": "vrp_...","status": "pending"}@@ -448,7 +448,7 @@ GET /oauth/jwks.json- Add Cloudflare API client.- Create remote-managed Tunnel.-- Create DNS CNAME route for `<slug>.vibe.io`.+- Create DNS CNAME route for `<slug>.avibe.bot`.- Store tunnel token encrypted at rest.- Add deletion, disable, and token rotation flows.@@ -479,4 +479,4 @@ GET /oauth/jwks.jsonasymmetric device credentials?- Should Vibe Cloud host all OAuth UI, or delegate login UI to a managed IdP andkeep only OIDC issuance and allow-list decisions?-- How should we bill and rate-limit `*.vibe.io` remote instances?+- How should we bill and rate-limit `*.avibe.bot` remote instances?diff --git a/tests/test_api_save_config_merge.py b/tests/test_api_save_config_merge.pyindex c22dde5fb..b8c64e023 100644--- a/tests/test_api_save_config_merge.py+++ b/tests/test_api_save_config_merge.py@@ -125,15 +125,15 @@ def test_config_to_payload_redacts_remote_access_secrets_and_save_preserves_them"provider": "vibe_cloud","vibe_cloud": {"enabled": True,- "backend_url": "https://vibe.io",- "public_url": "https://alex.vibe.io",+ "backend_url": "https://avibe.bot",+ "public_url": "https://alex.avibe.bot","instance_id": "inst_123","client_id": "vr_client_123",- "issuer": "https://vibe.io",- "authorization_endpoint": "https://vibe.io/oauth/authorize",- "token_endpoint": "https://vibe.io/oauth/token",- "jwks_uri": "https://vibe.io/oauth/jwks.json",- "redirect_uri": "https://alex.vibe.io/auth/callback",+ "issuer": "https://avibe.bot",+ "authorization_endpoint": "https://avibe.bot/oauth/authorize",+ "token_endpoint": "https://avibe.bot/oauth/token",+ "jwks_uri": "https://avibe.bot/oauth/jwks.json",+ "redirect_uri": "https://alex.avibe.bot/auth/callback","tunnel_token": "tunnel-token","instance_secret": "instance-secret","session_secret": "session-secret",diff --git a/tests/test_remote_access_vibe_cloud.py b/tests/test_remote_access_vibe_cloud.pyindex 54a1981a6..bd65dcb70 100644--- a/tests/test_remote_access_vibe_cloud.py+++ b/tests/test_remote_access_vibe_cloud.py@@ -24,7 +24,7 @@ def _config() -> V2Config:cloud.enabled = Truecloud.instance_id = "inst_123"cloud.client_id = "vr_client_123"- cloud.public_url = "https://alex.vibe.io"+ cloud.public_url = "https://alex.avibe.bot"cloud.session_secret = "session-secret"return config@@ -55,8 +55,8 @@ def test_pair_redeems_key_and_starts_connector(monkeypatch, tmp_path) -> None:"authorization_endpoint": "https://backend.test/oauth/authorize","token_endpoint": "https://backend.test/oauth/token","jwks_uri": "https://backend.test/oauth/jwks.json",- "public_url": "https://alex.vibe.io",- "redirect_uri": "https://alex.vibe.io/auth/callback",+ "public_url": "https://alex.avibe.bot",+ "redirect_uri": "https://alex.avibe.bot/auth/callback","tunnel_token": "tunnel-token","instance_secret": "instance-secret",}@@ -92,8 +92,8 @@ def test_pair_reports_success_when_connector_start_fails(monkeypatch, tmp_path)"authorization_endpoint": "https://backend.test/oauth/authorize","token_endpoint": "https://backend.test/oauth/token","jwks_uri": "https://backend.test/oauth/jwks.json",- "public_url": "https://alex.vibe.io",- "redirect_uri": "https://alex.vibe.io/auth/callback",+ "public_url": "https://alex.avibe.bot",+ "redirect_uri": "https://alex.avibe.bot/auth/callback","tunnel_token": "tunnel-token","instance_secret": "instance-secret",},@@ -201,7 +201,7 @@ def test_start_restarts_when_runtime_signature_changes(monkeypatch, tmp_path) ->"pid": old_pid,"provider": "vibe_cloud","binary_path": binary,- "public_url": "https://alex.vibe.io",+ "public_url": "https://alex.avibe.bot","tunnel_token_sha256": "old-token-hash",}),diff --git a/tests/test_ui_remote_access_auth.py b/tests/test_ui_remote_access_auth.pyindex 2582d8710..e8bbe134c 100644--- a/tests/test_ui_remote_access_auth.py+++ b/tests/test_ui_remote_access_auth.py@@ -22,12 +22,12 @@ def _save_config(tmp_path) -> V2Config:)cloud = config.remote_access.vibe_cloudcloud.enabled = True- cloud.public_url = "https://alex.vibe.io"+ cloud.public_url = "https://alex.avibe.bot"cloud.client_id = "vr_client_123"cloud.instance_id = "inst_123"cloud.session_secret = "session-secret"cloud.authorization_endpoint = "https://backend.test/oauth/authorize"- cloud.redirect_uri = "https://alex.vibe.io/auth/callback"+ cloud.redirect_uri = "https://alex.avibe.bot/auth/callback"config.save()return config@@ -36,7 +36,7 @@ def test_remote_host_redirects_to_vibe_cloud_login(monkeypatch, tmp_path):monkeypatch.setenv("VIBE_REMOTE_HOME", str(tmp_path))_save_config(tmp_path)- response = app.test_client().get("/dashboard", base_url="https://alex.vibe.io", follow_redirects=False)+ response = app.test_client().get("/dashboard", base_url="https://alex.avibe.bot", follow_redirects=False)assert response.status_code == 302assert response.headers["Location"].startswith("https://backend.test/oauth/authorize?")@@ -46,7 +46,7 @@ def test_remote_host_with_explicit_port_still_requires_login(monkeypatch, tmp_pamonkeypatch.setenv("VIBE_REMOTE_HOME", str(tmp_path))_save_config(tmp_path)- response = app.test_client().get("/dashboard", base_url="https://alex.vibe.io:443", follow_redirects=False)+ response = app.test_client().get("/dashboard", base_url="https://alex.avibe.bot:443", follow_redirects=False)assert response.status_code == 302assert response.headers["Location"].startswith("https://backend.test/oauth/authorize?")@@ -56,7 +56,7 @@ def test_remote_host_with_trailing_dot_still_requires_login(monkeypatch, tmp_patmonkeypatch.setenv("VIBE_REMOTE_HOME", str(tmp_path))_save_config(tmp_path)- response = app.test_client().get("/dashboard", base_url="https://alex.vibe.io.", follow_redirects=False)+ response = app.test_client().get("/dashboard", base_url="https://alex.avibe.bot.", follow_redirects=False)assert response.status_code == 302assert response.headers["Location"].startswith("https://backend.test/oauth/authorize?")@@ -75,9 +75,9 @@ def test_remote_host_allows_valid_remote_session(monkeypatch, tmp_path):monkeypatch.setenv("VIBE_REMOTE_HOME", str(tmp_path))config = _save_config(tmp_path)client = app.test_client()- client.set_cookie(remote_access.SESSION_COOKIE_NAME, remote_access.make_session_cookie(config, "[email protected]", "user-1"), domain="alex.vibe.io")+ client.set_cookie(remote_access.SESSION_COOKIE_NAME, remote_access.make_session_cookie(config, "[email protected]", "user-1"), domain="alex.avibe.bot")- response = client.get("/dashboard", base_url="https://alex.vibe.io", follow_redirects=False)+ response = client.get("/dashboard", base_url="https://alex.avibe.bot", follow_redirects=False)assert response.status_code != 302@@ -88,7 +88,7 @@ def test_remote_host_fails_closed_when_config_load_fails(monkeypatch):monkeypatch.setattr(ui_server.V2Config, "load", fail_load)- response = app.test_client().get("/dashboard", base_url="https://alex.vibe.io", follow_redirects=False)+ response = app.test_client().get("/dashboard", base_url="https://alex.avibe.bot", follow_redirects=False)assert response.status_code == 503assert response.get_json()["error"] == "remote_access_config_unavailable"@@ -100,7 +100,7 @@ def test_remote_host_fails_closed_when_disabled_but_hostname_still_matches(monkeconfig.remote_access.vibe_cloud.enabled = Falseconfig.save()- response = app.test_client().get("/dashboard", base_url="https://alex.vibe.io", follow_redirects=False)+ response = app.test_client().get("/dashboard", base_url="https://alex.avibe.bot", follow_redirects=False)assert response.status_code == 503assert response.get_json()["error"] == "remote_access_disabled"@@ -176,10 +176,10 @@ def test_remote_callback_rejects_nonce_mismatch(monkeypatch, tmp_path):config = _save_config(tmp_path)client = app.test_client()- with app.test_request_context("/dashboard", base_url="https://alex.vibe.io"):+ with app.test_request_context("/dashboard", base_url="https://alex.avibe.bot"):redirect = ui_server._redirect_to_vibe_cloud_login(config)oauth_cookie = redirect.headers["Set-Cookie"].split(";", 1)[0].split("=", 1)[1]- client.set_cookie(ui_server.REMOTE_OAUTH_COOKIE_NAME, oauth_cookie, domain="alex.vibe.io")+ client.set_cookie(ui_server.REMOTE_OAUTH_COOKIE_NAME, oauth_cookie, domain="alex.avibe.bot")monkeypatch.setattr(remote_access,@@ -194,7 +194,7 @@ def test_remote_callback_rejects_nonce_mismatch(monkeypatch, tmp_path):)state = ui_server._read_oauth_cookie(config.remote_access.vibe_cloud.session_secret, oauth_cookie)["state"]- response = client.get(f"/auth/callback?code=test-code&state={state}", base_url="https://alex.vibe.io")+ response = client.get(f"/auth/callback?code=test-code&state={state}", base_url="https://alex.avibe.bot")assert response.status_code == 400assert response.get_json()["error"] == "invalid_oauth_nonce"@@ -214,7 +214,7 @@ def test_remote_callback_sanitizes_protocol_relative_next(monkeypatch, tmp_path)"exp": int(ui_server.datetime.now().timestamp()) + 300,},)- client.set_cookie(ui_server.REMOTE_OAUTH_COOKIE_NAME, oauth_cookie, domain="alex.vibe.io")+ client.set_cookie(ui_server.REMOTE_OAUTH_COOKIE_NAME, oauth_cookie, domain="alex.avibe.bot")monkeypatch.setattr(remote_access,@@ -228,7 +228,7 @@ def test_remote_callback_sanitizes_protocol_relative_next(monkeypatch, tmp_path)},)- response = client.get("/auth/callback?code=test-code&state=state-1", base_url="https://alex.vibe.io")+ response = client.get("/auth/callback?code=test-code&state=state-1", base_url="https://alex.avibe.bot")assert response.status_code == 302assert response.headers["Location"] == "/"diff --git a/tests/test_v2_config_platform_registry.py b/tests/test_v2_config_platform_registry.pyindex e723abe15..54970b85d 100644--- a/tests/test_v2_config_platform_registry.py+++ b/tests/test_v2_config_platform_registry.py@@ -87,11 +87,11 @@ def test_config_payload_includes_platform_catalog_and_setup_state() -> None:def test_config_payload_includes_vibe_cloud_remote_access() -> None:config = _base_config()config.remote_access.vibe_cloud.enabled = True- config.remote_access.vibe_cloud.public_url = "https://alex.vibe.io"+ config.remote_access.vibe_cloud.public_url = "https://alex.avibe.bot"config.remote_access.vibe_cloud.instance_id = "inst_123"payload = api.config_to_payload(config)assert payload["remote_access"]["provider"] == "vibe_cloud"assert payload["remote_access"]["vibe_cloud"]["enabled"] is True- assert payload["remote_access"]["vibe_cloud"]["public_url"] == "https://alex.vibe.io"+ assert payload["remote_access"]["vibe_cloud"]["public_url"] == "https://alex.avibe.bot"diff --git a/ui/src/components/RemoteAccess.tsx b/ui/src/components/RemoteAccess.tsxindex 18c457fda..78a8e7cfe 100644--- a/ui/src/components/RemoteAccess.tsx+++ b/ui/src/components/RemoteAccess.tsx@@ -11,7 +11,7 @@ export const RemoteAccess: React.FC = () => {const [loading, setLoading] = useState(true);const [pairing, setPairing] = useState(false);const [status, setStatus] = useState<any>(null);- const [backendUrl, setBackendUrl] = useState('https://vibe.io');+ const [backendUrl, setBackendUrl] = useState('https://avibe.bot');const [pairingKey, setPairingKey] = useState('');const refresh = async () => {@@ -19,7 +19,7 @@ export const RemoteAccess: React.FC = () => {try {const [config, remoteStatus] = await Promise.all([api.getConfig(), api.remoteAccessStatus()]);setStatus(remoteStatus);- setBackendUrl(config?.remote_access?.vibe_cloud?.backend_url || 'https://vibe.io');+ setBackendUrl(config?.remote_access?.vibe_cloud?.backend_url || 'https://avibe.bot');} finally {setLoading(false);}@@ -92,7 +92,7 @@ export const RemoteAccess: React.FC = () => {className="w-full rounded-lg border border-border bg-bg px-3 py-2"value={backendUrl}onChange={(event) => setBackendUrl(event.target.value)}- placeholder="https://vibe.io"+ placeholder="https://avibe.bot"/></label>diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex 55bb4e275..11fbdd6a4 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -50,7 +50,7 @@"title": "Remote Access","subtitle": "Expose this local admin UI at your Vibe Cloud hostname. Vibe Cloud handles OAuth; traffic goes directly through Cloudflare Tunnel to this machine.","connectTitle": "Connect to Vibe Cloud",- "connectDesc": "Create an instance in vibe.io, copy the pairing key, then paste it here. Vibe Remote will save the OAuth metadata and start cloudflared.",+ "connectDesc": "Create an instance in avibe.bot, copy the pairing key, then paste it here. Vibe Remote will save the OAuth metadata and start cloudflared.","backendUrl": "Vibe Cloud URL","pairingKey": "Pairing key","pair": "Pair and start",diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex 22ec6000d..bf9675282 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -50,7 +50,7 @@"title": "远程访问","subtitle": "把本地管理后台发布到 Vibe Cloud 分配的访问地址。Vibe Cloud 只负责 OAuth 授权,业务流量通过 Cloudflare Tunnel 直达本机。","connectTitle": "连接 Vibe Cloud",- "connectDesc": "在 vibe.io 创建实例后复制 Pairing Key,粘贴到这里。Vibe Remote 会保存 OAuth 元数据并启动 cloudflared。",+ "connectDesc": "在 avibe.bot 创建实例后复制 Pairing Key,粘贴到这里。Vibe Remote 会保存 OAuth 元数据并启动 cloudflared。","backendUrl": "Vibe Cloud 地址","pairingKey": "Pairing Key","pair": "配对并启动",diff --git a/vibe/remote_access.py b/vibe/remote_access.pyindex 35038ec2e..4ea57ae02 100644--- a/vibe/remote_access.py+++ b/vibe/remote_access.py@@ -315,7 +315,7 @@ def _json_request(url: str, payload: dict[str, Any], timeout: float = 20.0) -> ddef pair(pairing_key: str, backend_url: str, device_name: str = "Vibe Remote") -> dict[str, Any]:pairing_key = (pairing_key or "").strip()- backend_url = (backend_url or "https://vibe.io").strip().rstrip("/")+ backend_url = (backend_url or "https://avibe.bot").strip().rstrip("/")if not pairing_key:return {"ok": False, "error": "missing_pairing_key"}try:diff --git a/vibe/ui_server.py b/vibe/ui_server.pyindex 3c1466d23..dfe61c7d8 100644--- a/vibe/ui_server.py+++ b/vibe/ui_server.py@@ -621,7 +621,7 @@ def remote_access_vibe_cloud_pair():payload = request.json or {}result = remote_access.pair(payload.get("pairing_key", ""),- payload.get("backend_url", "https://vibe.io"),+ payload.get("backend_url", "https://avibe.bot"),payload.get("device_name", "Vibe Remote"),)return jsonify(result), 200 if result.get("ok") else 400