Skip to content

armgit / avibe

Public Imported from GitHub
0

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.

fix(remote-access): flag legacy nested hostnames

cyh713b08c5c9ae
diff --git a/ui/src/components/RemoteAccess.tsx b/ui/src/components/RemoteAccess.tsx
index c280e32b1..6847d26d5 100644
--- a/ui/src/components/RemoteAccess.tsx
+++ b/ui/src/components/RemoteAccess.tsx
@@ -113,6 +113,7 @@ export const RemoteAccess: React.FC = () => {
const paired = Boolean(status?.paired);
const running = Boolean(status?.running);
const showPairingForm = !paired || reconfiguring;
+ const legacyNestedHostname = typeof publicUrl === 'string' && publicUrl.includes('.remote.avibe.bot');
const connectorState = status?.pid_state === 'unknown'
? t('remoteAccess.stateNeedsAttention')
: running
@@ -218,6 +219,18 @@ export const RemoteAccess: React.FC = () => {
<li>{t('remoteAccess.flowStep3')}</li>
</ol>
</div>
+
+ {legacyNestedHostname && (
+ <div className="rounded-xl border border-amber-200 bg-amber-50 p-4 text-sm text-amber-950">
+ <div className="flex items-start gap-3">
+ <AlertTriangle className="mt-0.5 h-4 w-4 shrink-0" />
+ <div>
+ <div className="font-semibold">{t('remoteAccess.legacyHostnameTitle')}</div>
+ <div className="mt-1">{t('remoteAccess.legacyHostnameDesc')}</div>
+ </div>
+ </div>
+ </div>
+ )}
</section>
<section className="rounded-2xl border border-border bg-panel p-6 space-y-5">
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index 1f5e706bd..49c6429a4 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -55,6 +55,8 @@
"configuredDesc": "This machine has saved the remote-access credentials. The Pairing Key is a one-time code and is not stored; after restart, Vibe Remote uses the saved connection credentials.",
"configuredBadge": "Connected to Vibe Cloud",
"configuredHelp": "Use re-pair only when switching account, switching instance, or regenerating the Tunnel.",
+ "legacyHostnameTitle": "This remote address needs to be replaced",
+ "legacyHostnameDesc": "Older instances used *.remote.avibe.bot. That is a nested hostname and may fail TLS on Cloudflare Universal SSL. Create a new Vibe Bot in avibe.bot, then re-pair here to receive a *.avibe.bot address.",
"vibeCloudService": "Vibe Cloud service",
"backendUrl": "Vibe Cloud URL",
"pairingKey": "Pairing key",
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index ccee04de8..5685962c1 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -55,6 +55,8 @@
"configuredDesc": "本机已经保存了远程访问凭证。Pairing Key 是一次性兑换码,不会长期保存;重启后会使用已保存的连接凭证自动恢复。",
"configuredBadge": "已连接到 Vibe Cloud",
"configuredHelp": "如果要换账号、换实例或重新生成 Tunnel,再点击重新配对。",
+ "legacyHostnameTitle": "这个远程地址需要更换",
+ "legacyHostnameDesc": "旧实例使用的是 *.remote.avibe.bot,这属于多级子域名,Cloudflare 免费通用证书可能无法覆盖。请在 avibe.bot 重新创建 Vibe Bot,然后回到这里重新配对,拿到新的 *.avibe.bot 地址。",
"vibeCloudService": "Vibe Cloud 服务",
"backendUrl": "Vibe Cloud 地址",
"pairingKey": "Pairing Key",